/* ==========================================================================
   Abos Advisors — hoja de estilos de producción
   Orden: 1. Tokens · 2. Reset y base · 3. Utilidades · 4. Nav · 5. Hero
          6. Secciones · 7. Componentes home · 8. Contacto · 9. Gracias
          10. Legal · 11. Footer · 12. Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --navy-deep: #232C4A;
  --navy: #3A4875;
  --navy-mid: #4E5C8A;
  --navy-soft: #465581;
  --footer: #171C33;

  --ink: #14172A;
  --ink-body: #4B4F6B;
  --ink-muted: #8A8DA0;
  --ink-quote: #262B44;

  --paper: #F8F8F5;
  --paper-2: #F1F0E9;
  --border: #E2DFD3;
  --border-num: #C9C5B8;
  --white: #FFFFFF;

  --gold: #C8A867;
  --gold-light: #D9BE86;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --nav-h: 84px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 1100px;
}

/* 2. RESET Y BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--navy); }
a:hover { color: var(--navy-mid); }

p { text-wrap: pretty; }

h1, h2, h3 { font-family: var(--font-display); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* los anchors internos no quedan bajo el nav fijo */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* 3. UTILIDADES ------------------------------------------------------------ */
.container { max-width: var(--maxw); margin: 0 auto; }

.skip-link {
  position: absolute;
  top: 8px; left: 16px;
  background: var(--navy-deep);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  z-index: 200;
  transform: translateY(-200%);
  transition: transform 0.15s;
}
.skip-link:focus { transform: translateY(0); color: var(--paper); }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 1.25rem;
}
.label--gold { color: var(--gold); }
.label--rule { display: flex; align-items: center; gap: 14px; letter-spacing: 0.25em; margin-bottom: 2rem; }
.label--rule::before { content: ''; display: block; width: 28px; height: 1px; background: currentColor; }
.label--center { display: flex; justify-content: center; }

.h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.h2 strong { font-weight: 700; }
.h2 em { font-style: italic; font-weight: 300; }
.h2--light { color: var(--white); }
.h2--light em { color: var(--gold); }

.lead {
  font-size: 18px;
  color: var(--ink-body);
  line-height: 1.7;
  font-weight: 400;
  max-width: 62ch;
  margin: 0;
}
.lead--light { color: rgba(255,255,255,0.8); }
.lead + .lead { margin-top: 1.25rem; }
.lead strong { color: var(--ink); font-weight: 700; }

/* Botones */
.btn {
  display: inline-block;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); padding: 16px 36px; font-size: 14px; border: none; }
.btn--gold:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn--gold:focus-visible { outline-color: var(--white); }

.btn--navy { background: var(--navy); color: var(--paper); padding: 11px 26px; font-size: 14px; }
.btn--navy:hover { background: var(--navy-mid); color: var(--paper); }

.btn--ghost {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 600;
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* 4. NAV ------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,248,245,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { text-decoration: none; display: flex; align-items: center; min-width: 120px; }
.nav__logo img { height: 60px; width: auto; display: block; border-radius: 6px; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-body);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--navy); }

.nav__mobile { display: none; align-items: center; gap: 12px; }
.nav__mobile .btn--navy { padding: 10px 18px; font-size: 13px; letter-spacing: 0.05em; }

.nav__toggle {
  width: 44px; height: 44px; min-width: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--navy-deep); }

.mobile-panel {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(20,23,42,0.12);
  z-index: 99;
}
.mobile-panel.is-open { display: flex; }
.mobile-panel a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-deep);
  text-decoration: none;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--border);
}
.mobile-panel a:last-child { border-bottom: none; }

/* 5. HERO ------------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(134px, 22vw, 164px) var(--gutter) clamp(56px, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero__mesh {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; width: 100%; position: relative; }
.hero__title {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 2rem;
  max-width: 900px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--gold); font-weight: 300; }
.hero__sub {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  line-height: 1.7;
  margin: 0 0 3rem;
}
.hero__sub strong { color: var(--white); font-weight: 700; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 5rem; }
.hero__foot {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 2.5rem;
  display: flex;
  gap: clamp(1.5rem, 6vw, 4rem);
  flex-wrap: wrap;
}
.hero__foot-label {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.hero__foot-val { font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.75); }
.hero__foot-val strong { color: var(--white); font-weight: 700; }

/* 6. SECCIONES ------------------------------------------------------------- */
.section { padding: 100px var(--gutter); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-deep); }
.section--band { background: var(--navy); padding: 60px var(--gutter); }

.split {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--wide-gap { gap: clamp(2rem, 6vw, 6rem); }
.split--top { align-items: start; margin-top: 3rem; }

/* 7. COMPONENTES HOME ------------------------------------------------------ */

/* 7.1 Valores (flex-wrap a propósito: con grid las filas se acoplan
   y el texto más largo se recorta) */
.valores {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.valor { background: var(--white); padding: 2rem 1.75rem; flex: 1 1 220px; }
.valor__icon {
  width: 34px; height: 34px;
  border-radius: 4px;
  background: var(--navy);
  margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.valor__title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.valor__desc { font-size: 16px; color: var(--ink-body); font-weight: 400; line-height: 1.6; }

/* 7.2 Perfiles de cliente */
.clientes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  align-items: stretch;
}
.cliente {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.cliente:last-child { border-right: none; }
.cliente__num {
  font-family: var(--font-mono);
  font-size: 2.4rem; font-weight: 500;
  color: var(--border-num);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.cliente h3 {
  font-size: 24px; font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.cliente p {
  font-size: 16px; color: var(--ink-body);
  line-height: 1.7; margin: 0;
  padding-bottom: 1.5rem; font-weight: 400; flex: 1;
}
.cliente__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy);
  padding: 8px 0 0;
  border-top: 2px solid var(--navy);
}

/* 7.3 Servicios */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.srv-grid--top { margin-top: 3rem; }
.srv-top {
  background: var(--paper);
  padding: 2.25rem 2rem 1.5rem;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}
.srv-bottom {
  background: var(--paper);
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
}
.srv-num {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-body);
  margin-bottom: 1.5rem;
}
.srv-h3 {
  font-size: 24px; font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.85rem;
  line-height: 1.3;
}
.srv-p { font-size: 18px; color: var(--ink-body); line-height: 1.7; font-weight: 400; margin: 0; }
.srv-list { list-style: none; margin: 0; padding: 0; }
.srv-list li {
  font-size: 16px; color: var(--ink-body); font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.6;
}
.srv-list li:last-child { border-bottom: none; }
.srv-list li::before {
  content: '·';
  color: var(--navy);
  font-size: 18px; font-weight: 700;
  flex-shrink: 0; width: 14px;
}

/* 7.4 Banda CTA intermedia */
.cta-band {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.cta-band p { font-size: 18px; font-weight: 400; color: var(--white); line-height: 1.6; margin: 0; max-width: 560px; }
.cta-band .btn--gold { font-size: 13px; letter-spacing: 0.08em; flex-shrink: 0; }

/* 7.5 Proceso */
.proceso-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.paso { padding: 2.5rem 1.5rem 2.5rem 0; border-right: 1px solid rgba(255,255,255,0.08); }
.paso:last-child { border-right: none; }
.paso__num {
  font-family: var(--font-mono);
  font-size: 2.5rem; font-weight: 500;
  color: rgba(255,255,255,0.35);
  line-height: 1; margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.paso__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-bottom: 1rem; }
.paso__title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.paso__desc { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.6; font-weight: 400; }

/* 7.6 Modelo de trabajo */
.modelo-list { list-style: none; margin: 0; padding: 0; }
.modelo-list li {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.modelo-list li:last-child { border-bottom: none; }
.modelo-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}
.modelo-item__title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.modelo-item__desc { font-size: 16px; color: var(--ink-body); font-weight: 400; line-height: 1.6; }

/* 7.7 Equipo */
.quote {
  background: var(--paper-2);
  border-left: 3px solid var(--navy);
  padding: 1.5rem 1.75rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}
.quote p { font-size: 18px; font-style: italic; color: var(--ink-quote); font-weight: 400; line-height: 1.6; margin: 0; }

.founder-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.founder-photo { width: 100%; aspect-ratio: 4 / 5; background: var(--border); }
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.founder-body { padding: 1.75rem; }
.founder-name {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.founder-role {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--ink-muted);
  font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.founder-bio { font-size: 16px; color: var(--ink-body); font-weight: 400; line-height: 1.65; margin-bottom: 1.25rem; }
.founder-li {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 13px; color: var(--navy);
  font-weight: 700; text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.founder-li:hover { color: var(--navy-mid); }

/* 7.8 Contenido LinkedIn */
.contenido-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.li-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--navy); font-weight: 500;
  padding: 7px 14px;
  background: var(--paper-2);
  border-radius: 99px;
  letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--border);
}
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}
.post-card:hover { border-color: var(--navy-mid); color: inherit; }
.post-date { font-family: var(--font-mono); font-size: 12px; color: var(--ink-body); font-weight: 500; display: block; margin-bottom: 1rem; }
.post-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--ink);
  line-height: 1.5; margin-bottom: 0.75rem;
}
.post-desc { font-size: 16px; color: var(--ink-body); font-weight: 400; line-height: 1.6; flex: 1; }
.post-cta {
  background: var(--navy-deep);
  border-radius: 8px;
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.post-cta p { font-size: 16px; color: rgba(255,255,255,0.8); font-weight: 400; line-height: 1.7; margin: 0 0 1.5rem; }
.post-cta strong { color: var(--white); font-weight: 700; }
.btn--li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy-deep);
  padding: 12px 22px; border-radius: 99px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; text-decoration: none;
  letter-spacing: 0.08em; text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.2s;
}
.btn--li:hover { background: var(--gold-light); color: var(--navy-deep); }

/* 7.9 CTA final */
.cta-final { background: var(--navy-deep); text-align: center; padding: clamp(80px, 15vw, 130px) var(--gutter); }
.cta-final .h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-final .btn--gold { margin-top: 2.5rem; }
.cta-final__email {
  display: block; margin-top: 1.5rem;
  font-size: 18px; color: rgba(255,255,255,0.75);
  text-decoration: none; font-weight: 400;
  transition: color 0.2s;
}
.cta-final__email:hover { color: rgba(255,255,255,0.95); }
.cta-final__markets {
  margin-top: 3rem;
  font-family: var(--font-mono);
  font-size: 12px; color: rgba(255,255,255,0.5);
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}

/* 8. CONTACTO -------------------------------------------------------------- */
.contact-wrap {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  padding-top: var(--nav-h);
}
.contact-left {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: clamp(48px, 8vw, 80px) clamp(1.5rem, 5vw, 60px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.contact-left__mesh {
  position: absolute; inset: 0;
  pointer-events: none; opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.contact-left__inner { position: relative; }
.contact-left h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.2;
  color: var(--white);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}
.contact-left h1 em { font-style: italic; color: var(--gold); }
.contact-left > .contact-left__inner > p {
  font-size: 18px; color: rgba(255,255,255,0.85);
  line-height: 1.7; font-weight: 400;
  max-width: 380px; margin: 0 0 3rem;
}
.contact-data { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-data__label {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 4px;
}
.contact-data__val { font-size: 16px; color: rgba(255,255,255,0.85); font-weight: 400; }
.contact-data__val a { color: var(--gold); text-decoration: none; }
.contact-data__val a:hover { color: var(--gold-light); }
.contact-data__val--muted { color: rgba(255,255,255,0.55); }

.contact-right {
  background: var(--white);
  padding: clamp(48px, 8vw, 80px) clamp(1.5rem, 5vw, 60px);
  display: flex; flex-direction: column; justify-content: center;
}
.contact-right h2 { font-size: 26px; font-weight: 600; color: var(--ink); margin: 0 0 0.5rem; }
.contact-right > p { font-size: 16px; color: var(--ink-body); font-weight: 400; margin: 0 0 2.5rem; line-height: 1.6; }

/* honeypot: no usar type="hidden" — Netlify necesita un campo real oculto */
.hidden { display: none; }

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 12px; font-weight: 700;
  color: var(--ink-body);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form-select { appearance: none; cursor: pointer; }
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.form-consent { margin-bottom: 1.5rem; display: flex; gap: 10px; align-items: flex-start; }
.form-consent input {
  width: 20px; height: 20px; min-width: 20px;
  margin-top: 2px;
  accent-color: var(--navy);
}
.form-consent label { font-size: 14px; color: var(--ink-body); font-weight: 400; line-height: 1.5; }
.form-consent a { color: var(--navy); font-weight: 600; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--navy-deep);
  border: none; border-radius: 99px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; margin-top: 0.5rem;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--gold-light); }
.btn-submit:disabled { opacity: 0.7; cursor: progress; }
.btn-submit:focus-visible { outline-color: var(--navy-deep); }

.form-note { font-size: 14px; color: var(--ink-muted); font-weight: 400; margin-top: 1rem; text-align: center; line-height: 1.6; }

.form-error {
  display: none;
  margin-top: 1rem;
  padding: 14px 16px;
  border: 1px solid #C98A8A;
  background: #FBF1F1;
  border-radius: 6px;
  font-size: 15px;
  color: #8A2B2B;
  line-height: 1.6;
}
.form-error.is-visible { display: block; }
.form-error a { color: #8A2B2B; font-weight: 700; }

/* 9. GRACIAS --------------------------------------------------------------- */
.thanks {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 70px) var(--gutter) 80px;
}
.thanks__inner { max-width: 520px; text-align: center; }
.thanks__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  margin: 0 auto 2rem;
}
.thanks h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 600; color: var(--ink); margin: 0 0 1rem; }
.thanks p { font-size: 18px; color: var(--ink-body); font-weight: 400; line-height: 1.7; margin: 0 0 2.5rem; }

/* 10. LEGAL ---------------------------------------------------------------- */
.legal { max-width: 720px; margin: 0 auto; padding: calc(var(--nav-h) + 70px) var(--gutter) 100px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; color: var(--ink); margin: 0 0 2rem; }
.legal h2 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 2rem 0 0.75rem; }
.legal p { font-size: 16px; color: var(--ink-body); line-height: 1.7; margin: 0 0 1.5rem; max-width: 62ch; }
.legal a { color: var(--navy); font-weight: 600; }
.back-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--navy); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.back-link:hover { color: var(--navy-mid); }

/* 11. FOOTER --------------------------------------------------------------- */
.footer {
  background: var(--footer);
  padding: 3rem var(--gutter);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__logo { height: 36px; width: auto; display: block; border-radius: 5px; }
.footer__links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer__links a {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer__links a:hover { color: rgba(255,255,255,0.9); }
.footer__copy {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-weight: 400;
}
.footer--slim { padding: 2rem var(--gutter); }
.footer--slim .footer__inner { flex-direction: column; align-items: center; gap: 1rem; }

/* 12. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__mobile { display: flex; }
  .nav__logo img { height: 48px; }
  .section { padding: 70px var(--gutter); }
  .cliente { border-right: none; }
  .paso { border-right: none; padding-right: 0; }
}

@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .contenido-head { align-items: flex-start; }
}

@media print {
  .nav, .mobile-panel, .skip-link { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   BANNER DE COOKIES
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  background: #232C4A;
  color: #F8F8F5;
  border: 1px solid #3A4875;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(20, 23, 42, 0.35);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(248, 248, 245, 0.9);
  flex: 1 1 420px;
}
.cookie-banner__text a {
  color: #C8A867;
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 99px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cookie-btn--solid {
  background: #C8A867;
  color: #232C4A;
}
.cookie-btn--solid:hover { background: #D9BE86; }
.cookie-btn--ghost {
  background: transparent;
  color: rgba(248, 248, 245, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
}
.cookie-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.7); color: #F8F8F5; }
.cookie-btn:focus-visible {
  outline: 2px solid #C8A867;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; }
}
