:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #17212b;
  --muted: #5f6b76;
  --line: #dbe3ea;
  --brand: #e74020;
  --brand-dark: #0a5751;
  --shadow: 0 12px 32px rgba(23, 33, 43, 0.08);
  --radius: 18px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(245, 247, 250, 0.9);
  border-bottom: 1px solid rgba(219, 227, 234, 0.8);
}
.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
}
.brand-text { font-size: 1.05rem; }

.hero {
  padding: 56px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
}
h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
}
.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}
.search-box { margin-top: 26px; }
.search-box input {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 18px;
  font-size: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.search-box input:focus {
  outline: 2px solid rgba(15, 118, 110, 0.18);
  border-color: var(--brand);
}
.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.tag-button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: .2s ease;
}
.tag-button:hover,
.tag-button.active {
  border-color: var(--brand);
  background: rgba(15, 118, 110, 0.08);
  color: var(--brand-dark);
}
.hero-card,
.model-card,
.manual-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 24px;
}
.hero-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.hero-card p,
.hero-card li,
.section-head p,
.model-meta,
.empty-state p,
.manual-description,
.manual-links a.secondary,
.footer-inner p { color: var(--muted); }
.hero-card ul { padding-left: 18px; margin-bottom: 0; }

.models-section { padding: 10px 0 64px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head h2 { margin: 0; font-size: 1.6rem; }
.section-head p { margin: 0; }
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.model-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.model-card h3 { margin: 0; font-size: 1.2rem; }
.model-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--brand-dark);
  font-size: .85rem;
  font-weight: 600;
}
.model-meta { margin: 0; }
.card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.button,
.manual-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
}
.button-primary,
.manual-links a.primary {
  background: var(--brand);
  color: #fff;
}
.button-primary:hover,
.manual-links a.primary:hover { background: var(--brand-dark); }
.button-secondary,
.manual-links a.secondary {
  background: #fff;
  border-color: var(--line);
}
.empty-state {
  text-align: center;
  padding: 48px 18px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* Modelo */
.manual-wrapper {
  padding: 48px 0 64px;
}
.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .95rem;
}
.manual-card {
  padding: 28px;
}
.manual-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}
.manual-title h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 8px;
}
.manual-description {
  margin: 0;
  max-width: 70ch;
}
.manual-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.documents-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.document-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.document-item strong {
  display: block;
  margin-bottom: 6px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 920px) {
  .hero-grid,
  .models-grid {
    grid-template-columns: 1fr;
  }
  .manual-header,
  .header-inner,
  .footer-inner,
  .section-head {
    flex-direction: column;
    align-items: start;
  }
}
