/* ==========================================================================
   Crece Rápido — token system
   ink     #12211B  deep forest ink (text, dark surfaces)
   paper   #F6F4EE  warm neutral paper (light surfaces)
   sage    #E4EBDF  pale sage (cards, wallpaper)
   growth  #1F7A5C  primary brand green
   signal  #FFB020  warm amber accent (CTAs, highlights)
   ========================================================================== */

:root {
  --ink: #12211B;
  --ink-soft: #3C4A43;
  --paper: #F6F4EE;
  --sage: #E4EBDF;
  --sage-line: #CBD8C4;
  --growth: #1F7A5C;
  --growth-deep: #14523E;
  --signal: #FFB020;
  --signal-deep: #E0980D;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }

.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;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; }
h1 .hl { color: var(--growth); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--growth-deep);
  margin: 0 0 0.9em;
}

.section-sub {
  max-width: 42ch;
  font-size: 1.05rem;
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--growth);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--growth);
  color: var(--paper);
}
.btn-primary:hover { background: var(--growth-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--sage-line);
}
.btn-ghost:hover { border-color: var(--growth); }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 238, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; }
.logo-mark-img { width: 36px; height: 36px; object-fit: contain; }
.logo-word { font-size: 1.05rem; }
.main-nav { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 0.95rem; }
.main-nav a { color: var(--ink-soft); }
.main-nav a:hover { color: var(--growth-deep); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

.header-minimal .main-nav,
.header-minimal .nav-toggle { display: none; }

/* ==========================================================================
   Hero + chat-bubble signature
   ========================================================================== */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-sub { font-size: 1.14rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-note { font-size: 0.88rem; color: var(--ink-soft); opacity: 0.85; max-width: 40ch; }

.hero-visual { display: flex; justify-content: center; }
.demo-figure { width: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; }
.demo-caption {
  max-width: 320px;
  margin-top: 22px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
}
.demo-caption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--growth-deep);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-actions-explained { align-items: flex-start; }
.hero-action-group { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hero-action-group small { max-width: 30ch; color: var(--ink-soft); font-size: 0.78rem; line-height: 1.45; }
.phone {
  position: relative;
  width: 320px;
  max-width: 100%;
  background: linear-gradient(180deg, #FFFFFF, var(--sage));
  border-radius: var(--radius-lg);
  border: 1px solid var(--sage-line);
  box-shadow: 0 30px 60px -20px rgba(18, 33, 27, 0.28);
  padding: 22px 16px 26px;
  min-height: 420px;
}
.phone-notch {
  width: 60px; height: 6px;
  background: var(--sage-line);
  border-radius: 4px;
  margin: 0 auto 20px;
}
.chat-thread { display: flex; flex-direction: column; gap: 10px; }
.bubble {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  animation: bubble-in 0.5s ease forwards;
}
.bubble-in {
  align-self: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--sage-line);
  border-bottom-left-radius: 4px;
}
.bubble-out {
  align-self: flex-end;
  background: var(--growth);
  color: var(--paper);
  border-bottom-right-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bubble-result { background: var(--growth-deep); }
.tick { align-self: flex-end; font-size: 0.72rem; opacity: 0.85; }

.bubble:nth-child(1) { animation-delay: 0.15s; }
.bubble:nth-child(2) { animation-delay: 0.65s; }
.bubble:nth-child(3) { animation-delay: 1.15s; }
.bubble:nth-child(4) { animation-delay: 1.85s; }
.bubble:nth-child(5) { animation-delay: 2.35s; }

@keyframes bubble-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 88px 0; }

.problema { background: var(--sage); }
.problema h2 { max-width: 20ch; }
.problema-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--sage-line);
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.problema-item {
  background: var(--paper);
  padding: 28px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.problema-item .tag {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--growth);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.problema-item p { margin: 0; color: var(--ink); font-size: 1rem; }

.pilares-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pilar-card {
  background: var(--paper);
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.pilar-card p { font-size: 0.96rem; margin: 0; }

.catalogo { background: var(--ink); color: var(--paper); }
.catalogo .eyebrow { color: var(--signal); }
.catalogo h2 { color: var(--paper); }
.catalogo .section-sub { color: #C7D2CB; margin-bottom: 8px; }
.bundle-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bundle-card {
  background: rgba(246, 244, 238, 0.06);
  border: 1px solid rgba(246, 244, 238, 0.14);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.bundle-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 10px;
}
.bundle-card h3 { color: var(--paper); font-size: 1.08rem; }
.bundle-card p { color: #C7D2CB; font-size: 0.92rem; margin: 0; }

.equipo-inner { }
.equipo-copy { max-width: 60ch; margin-bottom: 40px; }
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.persona-card {
  background: var(--sage);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.persona-initial {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--growth);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
}
.persona-card p { margin: 0; font-size: 0.96rem; }

.cta-final { background: var(--growth-deep); color: var(--paper); text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-final h2 { color: var(--paper); }
.cta-final p { color: #D7E6DD; }
.cta-final .hero-actions { justify-content: center; margin-top: 26px; }
.cta-final .btn-ghost { color: var(--paper); border-color: rgba(246,244,238,0.35); }
.cta-final .btn-ghost:hover { border-color: var(--paper); }
.cta-final .btn-primary { background: var(--signal); color: var(--ink); }
.cta-final .btn-primary:hover { background: var(--signal-deep); }

.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--sage-line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.footer-col a, .footer-col p { display: block; font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 10px; }
.footer-col a:hover { color: var(--growth-deep); }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 10px; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--sage-line);
  padding-top: 22px;
  font-family: var(--font-mono);
}
.footer-legal a:hover { color: var(--growth-deep); }

/* ==========================================================================
   Page hero (internal pages, no chat mockup)
   ========================================================================== */
.page-hero { padding: 72px 0 40px; }
.page-hero-inner { max-width: 760px; }
.page-hero-visual { max-width: 920px; }
.page-hero .hero-sub { max-width: 58ch; }
.page-hero-landing { padding: 56px 0 48px; }
.legal-content h2 { margin-top: 1.7em; font-size: 1.35rem; }

/* ==========================================================================
   Editorial imagery
   ========================================================================== */
.editorial-visual {
  max-width: 920px;
  margin: 40px 0 44px;
  overflow: hidden;
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-lg);
  background: #F4F0E6;
  box-shadow: 0 22px 54px rgba(18, 55, 42, 0.1);
}
.editorial-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.editorial-visual figcaption {
  padding: 14px 20px 16px;
  border-top: 1px solid var(--sage-line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}
.page-hero-media { margin-bottom: 8px; }

/* ==========================================================================
   Callouts
   ========================================================================== */
.callout {
  background: var(--sage);
  border-left: 4px solid var(--growth);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 26px 28px;
  margin: 32px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-dark { background: var(--ink); color: var(--paper); border-left-color: var(--signal); }
.callout-dark p { color: #C7D2CB; }

/* ==========================================================================
   Generic responsive table
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  margin: 40px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--sage-line);
  background: var(--paper);
}
.table-wrap:focus-visible { outline: 2px solid var(--growth); outline-offset: 3px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--sage-line); vertical-align: top; }
.table-wrap thead th { background: var(--sage); font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap .highlight-row { background: rgba(31, 122, 92, 0.07); font-weight: 600; }

/* ==========================================================================
   Antes / Después
   ========================================================================== */
.before-after-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
.before-after-card { min-width: 0; background: var(--sage); border-radius: var(--radius-md); padding: 30px 26px 8px; }
.before-after-card .eyebrow-small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--growth-deep);
  margin-bottom: 8px;
}
.before-after-card .table-wrap { background: var(--paper); margin: 16px 0 24px; }

/* ==========================================================================
   Dos formas de trabajar
   ========================================================================== */
.formas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
.forma-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.forma-card.forma-highlight { background: var(--ink); border-color: var(--ink); }
.forma-card.forma-highlight h3, .forma-card.forma-highlight p { color: var(--paper); }
.forma-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--growth-deep);
  margin-bottom: 10px;
}
.forma-card.forma-highlight .forma-label { color: var(--signal); }
.forma-card h3 { font-size: 1.35rem; }
.forma-list { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.forma-list li { padding-left: 22px; position: relative; font-size: 0.94rem; color: var(--ink-soft); }
.forma-list li::before { content: "→"; position: absolute; left: 0; color: var(--growth); font-weight: 600; }
.forma-card.forma-highlight .forma-list li { color: #C7D2CB; }
.forma-card.forma-highlight .forma-list li::before { color: var(--signal); }
.forma-note { font-size: 0.86rem; opacity: 0.8; margin-top: auto; padding-top: 14px; }
.forma-card .btn { margin-top: 22px; align-self: flex-start; }

/* ==========================================================================
   Check / cross lists (qué hace / qué no hace)
   ========================================================================== */
.check-list, .cross-list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li, .cross-list li { padding-left: 30px; position: relative; font-size: 0.98rem; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--growth); font-weight: 700; }
.cross-list li::before { content: "✕"; position: absolute; left: 0; top: 0; color: #A34A3C; font-weight: 700; }
.check-list li strong, .cross-list li strong { color: var(--ink); }

/* ==========================================================================
   Qué construimos
   ========================================================================== */
.build-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.build-card { background: var(--paper); border: 1px solid var(--sage-line); border-radius: var(--radius-md); padding: 28px 26px; }
.build-card .build-condition { display: block; margin-top: 12px; font-size: 0.86rem; color: var(--growth-deep); font-style: italic; }

/* ==========================================================================
   Cómo trabajamos — timeline
   ========================================================================== */
.timeline { margin-top: 44px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.timeline-step { position: relative; padding-top: 46px; }
.timeline-step .step-num {
  position: absolute; top: 0; left: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--growth);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem;
}
.timeline-step h3 { font-size: 1.02rem; }
.timeline-step p { font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Para quién sí / para quién no
   ========================================================================== */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--sage-line);
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 40px;
}
.fit-col { background: var(--paper); padding: 32px 30px; }
.fit-col.fit-no { background: var(--sage); }
.fit-col h3 { font-size: 1.05rem; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { margin-top: 36px; border-top: 1px solid var(--sage-line); }
.faq-item { border-bottom: 1px solid var(--sage-line); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
}
.faq-question .faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-question .faq-icon::before, .faq-question .faq-icon::after {
  content: ""; position: absolute; background: var(--growth); border-radius: 2px;
}
.faq-question .faq-icon::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-question .faq-icon::after { width: 2px; height: 14px; top: 4px; left: 10px; transition: transform 0.2s ease; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding: 0 2px 22px; margin: 0; font-size: 0.96rem; }
.faq-pending { color: var(--signal-deep); font-weight: 600; }

/* ==========================================================================
   Formularios
   ========================================================================== */
.form-card { background: var(--sage); border-radius: var(--radius-lg); padding: 40px; max-width: 640px; margin: 40px auto 0; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; color: var(--ink); }
.field .field-hint { display: block; font-weight: 400; font-size: 0.82rem; color: var(--ink-soft); margin-top: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--sage-line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid transparent;
  border-color: var(--growth);
  box-shadow: 0 0 0 3px rgba(31, 122, 92, 0.18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #A33F32; }
.field textarea { resize: vertical; min-height: 100px; }
.form-privacy { font-size: 0.82rem; color: var(--ink-soft); margin-top: 18px; }
.privacy-link { color: var(--growth-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.required-marker { color: #8F3328; }
.consent-field {
  position: relative;
  margin: 20px 0 14px;
  padding-left: 30px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.consent-field input {
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--growth);
}
.consent-field label { cursor: pointer; }
.field-error {
  display: block;
  margin-top: 7px;
  color: #8F3328;
  font-size: 0.82rem;
  font-weight: 600;
}
.field-error:empty { display: none; }
.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(31, 122, 92, 0.1);
  color: var(--growth-deep);
  font-size: 0.88rem;
  font-weight: 600;
}
.form-status[data-state="error"] { background: rgba(163, 63, 50, 0.1); color: #7D3027; }
.form-status[hidden] { display: none; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-submit { width: 100%; justify-content: center; margin-top: 6px; border: none; cursor: pointer; }
.form-submit:disabled { cursor: wait; opacity: 0.72; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone { width: 280px; min-height: 380px; margin: 0 auto; }
  .problema-grid { grid-template-columns: 1fr; }
  .pilares-grid { grid-template-columns: 1fr; }
  .bundle-grid { grid-template-columns: repeat(2, 1fr); }
  .equipo-grid { grid-template-columns: 1fr; }
  .before-after-grid { grid-template-columns: 1fr; }
  .formas-grid { grid-template-columns: 1fr; }
  .build-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header-inner { position: relative; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--sage-line);
    flex-direction: column;
    gap: 18px;
    padding: 22px 28px;
  }
  body.nav-open .main-nav { display: flex; }
  .nav-toggle { display: flex; }
  .header-inner .btn-small { margin-left: auto; }
  .bundle-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-visual { order: initial; }
  .timeline { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { flex-direction: column; text-align: center; }
  .form-card { padding: 28px 22px; }
  .editorial-visual {
    margin: 30px 0 34px;
    border-radius: var(--radius-md);
    box-shadow: 0 14px 34px rgba(18, 55, 42, 0.09);
  }
  .editorial-visual img {
    aspect-ratio: 4 / 3;
    object-position: center;
  }
  .editorial-visual figcaption { padding: 12px 16px 14px; }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .header-inner:has(.btn-small) .logo-word { display: none; }
  .header-inner .btn-small { padding: 10px 14px; font-size: 0.82rem; }
  .nav-toggle { width: 30px; height: 30px; flex: 0 0 30px; }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
  .hero-action-group { width: 100%; align-items: stretch; }
  .hero-action-group small { max-width: none; }
}
