/* =========================================================
   Goldman Group — Landing
   Paleta "Verde capital": bosque profundo + lima + marfil
   ========================================================= */

:root {
  --ink: #0E1F1A;
  --forest: #0B3D2E;
  --forest-2: #10503D;
  --forest-3: #16664E;
  --emerald: #17734B;
  --lime: #C8F169;
  --lime-soft: #E9FAC4;
  --cream: #F5F7F0;
  --white: #FFFFFF;
  --muted: #4B5B54;
  --muted-on-dark: #B8CCC3;
  --line: #DCE5DC;
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-1: 0 1px 2px rgba(14, 31, 26, 0.06), 0 4px 16px rgba(14, 31, 26, 0.06);
  --shadow-2: 0 2px 6px rgba(14, 31, 26, 0.08), 0 24px 48px -12px rgba(14, 31, 26, 0.22);
  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 0;
  font: 700 17px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 20px; height: 20px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--lime); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(200, 241, 105, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(200, 241, 105, 0.75); }
.btn--dark { background: var(--forest); color: var(--white); }
.btn--dark:hover { background: var(--forest-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--lg { min-height: 60px; padding: 18px 32px; font-size: 18px; }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: rgba(11, 61, 46, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
  padding: 10px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; transition: opacity .2s, color .2s; }
.nav a:not(.btn):hover { opacity: 1; color: var(--lime); }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }

@media (max-width: 1100px) {
  .nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--forest); color: var(--white);
  padding: 150px 0 110px;
}
.hero::before {
  /* cuadrícula sutil */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero::after {
  /* luz de acento */
  content: ""; position: absolute; z-index: -1;
  width: 720px; height: 720px; right: -160px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 241, 105, 0.22), transparent 62%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(200, 241, 105, 0.12); border: 1px solid rgba(200, 241, 105, 0.3);
  color: var(--lime); font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200,241,105,0.2); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(200,241,105,0.2); } 50% { box-shadow: 0 0 0 8px rgba(200,241,105,0.05); } }

.hero h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 800; margin: 24px 0 22px; }
.hero h1 .hl { position: relative; color: var(--lime); white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; }
.hero__lead { font-size: 20px; color: var(--muted-on-dark); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding: 0; list-style: none; color: var(--muted-on-dark); font-size: 15px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--lime); }

/* Tarjetas flotantes del hero */
.hero__visual { position: relative; min-height: 560px; }
.float-card {
  position: absolute; background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-2);
}
.card-main { inset: 56px 30px auto 0; padding: 26px; }
.card-main__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card-main__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--lime-soft); color: #2E5A0C; }
.card-main__chart { background: var(--cream); border-radius: var(--radius-sm); padding: 16px 16px 8px; margin-bottom: 18px; }
.card-main__chart small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.options-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.options-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 15px; }
.options-list li span:last-child { font-size: 13px; font-weight: 600; color: var(--emerald); }
.options-list li.is-best { border-color: var(--forest); background: #F1F8EE; }

.card-badge { right: 0; top: -14px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; animation: bob 6s ease-in-out infinite; }
.card-badge__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--forest); display: grid; place-items: center; color: var(--lime); }
.card-badge__icon svg { width: 22px; height: 22px; }
.card-badge strong { display: block; font-size: 15px; }
.card-badge span { font-size: 13px; color: var(--muted); }

.card-advisor { right: -10px; bottom: -4px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; animation: bob 7s ease-in-out -2s infinite; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--forest); color: var(--lime); font-size: 16px; display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.card-advisor strong { display: block; font-size: 15px; }
.card-advisor span { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.card-advisor .online { width: 8px; height: 8px; border-radius: 50%; background: #2BB673; }

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero { padding: 130px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero__visual { min-height: 0; padding-top: 44px; }
  .card-main { position: relative; inset: auto; padding: 20px; }
  .card-badge { right: -4px; top: 0; }
  .card-advisor { display: none; }
  .hero h1 .hl { white-space: normal; }
  .brand__name { font-size: 19px; }
  .site-header .nav .btn { display: none; }
}
.brand__name { white-space: nowrap; }

/* ---------- Franja de industrias (marquesina) ---------- */
.marquee { background: var(--lime); color: var(--ink); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(14,31,26,0.1); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: scroll 38s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-weight: 700; font-size: 22px; white-space: nowrap; }
.marquee__item::after { content: "✦"; font-size: 16px; color: var(--forest); }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Secciones ---------- */
.section { padding: 112px 0; position: relative; }
.section--white { background: var(--white); }
.section--dark { background: var(--forest); color: var(--white); overflow: hidden; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); margin-bottom: 14px; }
.section--dark .kicker { color: var(--lime); }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); }
.section--dark .section-head p { color: var(--muted-on-dark); }

/* ---------- Opciones (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento-card {
  grid-column: span 2; position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 240px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
.bento-card__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--lime-soft); color: var(--forest); display: grid; place-items: center; }
.bento-card__icon svg { width: 28px; height: 28px; }
.bento-card h3 { font-size: 24px; font-weight: 700; }
.bento-card p { color: var(--muted); }
.bento-card__use { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--emerald); }
.bento-card--wide { grid-column: span 3; }
.bento-card--feature { grid-column: span 3; background: var(--forest); color: var(--white); border-color: var(--forest); }
.bento-card--feature p { color: var(--muted-on-dark); }
.bento-card--feature .bento-card__icon { background: rgba(200,241,105,0.15); color: var(--lime); }
.bento-card--feature .bento-card__use { color: var(--lime); }
.bento-card--feature::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 40px solid rgba(200,241,105,0.08);
}
@media (max-width: 960px) {
  .bento-card, .bento-card--wide, .bento-card--feature { grid-column: span 3; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-card--wide, .bento-card--feature { grid-column: auto; min-height: 0; }
}

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 40px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(200,241,105,0.5) 0 10px, transparent 10px 20px);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num {
  width: 80px; height: 80px; margin: 0 auto 26px; border-radius: 50%;
  background: var(--forest); border: 2px solid var(--lime); color: var(--lime);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 32px;
  box-shadow: 0 0 0 10px var(--forest);
}
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted-on-dark); max-width: 320px; margin: 0 auto; }
.steps-cta { text-align: center; margin-top: 56px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { left: 40px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(200,241,105,0.5) 0 10px, transparent 10px 20px); }
  .step { text-align: left; display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; padding: 0; }
  .step__num { margin: 0; }
  .step p { margin: 0; }
}

/* ---------- Por qué nosotros ---------- */
.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.compare { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.compare__row:first-child { border-top: 0; }
.compare__row > div { padding: 18px 20px; font-size: 15px; }
.compare__row--head > div { font-family: var(--font-display); font-weight: 700; font-size: 16px; padding-block: 22px; }
.compare__row > div:nth-child(2) { background: #F1F8EE; font-weight: 600; }
.compare__row.compare__row--head > div:nth-child(2) { background: var(--forest); color: var(--lime); }
.compare__row > div:nth-child(3) { color: var(--muted); }
.ic { display: inline-flex; align-items: center; gap: 8px; }
.ic svg { width: 20px; height: 20px; flex: none; }
.ic--yes svg { color: var(--emerald); }
.ic--no svg { color: #B4473A; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .compare__row > div { padding: 14px 12px; font-size: 14px; } }

/* ---------- Para quién ---------- */
.fit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: stretch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: background .2s, border-color .2s; }
.chip:hover { background: var(--lime-soft); border-color: var(--lime); }
.req-card { background: var(--lime); border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.req-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.req-card h3 { font-size: 28px; margin-bottom: 22px; position: relative; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; }
.req-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.req-list svg { width: 24px; height: 24px; flex: none; color: var(--forest); margin-top: 1px; }
.req-card__note { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(14,31,26,0.15); font-size: 15px; position: relative; }
@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } }

/* ---------- Testimonios (ocultos hasta tener reales) ---------- */
.is-hidden { display: none !important; }
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.testimonial { background: var(--cream); border-radius: var(--radius); padding: 36px; margin: 0; }
.testimonial blockquote { margin: 0 0 22px; font-family: var(--font-display); font-size: 22px; line-height: 1.4; }
.testimonial figcaption { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Preguntas (acordeón) ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-1); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; font-family: var(--font-display); font-weight: 700; font-size: 19px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--lime-soft); display: grid; place-items: center; transition: transform .25s ease, background .25s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--lime); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Agenda / formulario ---------- */
.book { position: relative; overflow: hidden; }
.book::after { content: ""; position: absolute; left: -200px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(200,241,105,0.16), transparent 62%); }
.book__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; position: relative; z-index: 1; }
.book__perks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.book__perks li { display: flex; gap: 14px; align-items: center; font-size: 18px; }
.book__perks .perk-ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(200,241,105,0.14); color: var(--lime); display: grid; place-items: center; flex: none; }
.book__perks svg { width: 22px; height: 22px; }

.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 36px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45); }
.form-card h3 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select {
  font: inherit; font-size: 16px; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 4px rgba(200,241,105,0.45); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--forest); }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .book__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); font-size: 14px; padding: 64px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--white); text-decoration: none; opacity: .8; }
.footer-links a:hover { opacity: 1; color: var(--lime); }
.legal { margin-top: 28px; max-width: 920px; line-height: 1.7; }
.copy { margin-top: 18px; opacity: .7; }

/* ---------- CTA fija en celular ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none;
  transform: translateY(140%); transition: transform .3s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { width: 100%; box-shadow: 0 16px 34px -10px rgba(0,0,0,0.45); }
@media (max-width: 760px) { .mobile-cta { display: block; } .site-footer { padding-bottom: 110px; } }

/* ---------- WhatsApp flotante ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-2);
  transition: transform .2s;
}
.wa:hover { transform: scale(1.07); }
.wa svg { width: 30px; height: 30px; }
@media (max-width: 760px) { .wa { bottom: 88px; right: 16px; width: 52px; height: 52px; } }

/* ---------- Regiones: EE.UU. / Europa ---------- */
html[data-region="us"] [data-eu],
html[data-region="eu"] [data-us] { display: none !important; }

.region-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px 4px 4px 10px;
  border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: var(--white);
}
.region-switch svg { width: 16px; height: 16px; opacity: .8; margin-right: 4px; }
.region-switch button {
  font: 600 14px/1 var(--font-body); color: var(--white); background: transparent; border: 0; cursor: pointer;
  padding: 9px 12px; border-radius: 999px; min-height: 36px; transition: background .2s, color .2s;
}
.region-switch button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.region-switch button:hover:not([aria-pressed="true"]) { background: rgba(255,255,255,0.1); }

.region-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.region-field legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream); font-weight: 700; font-size: 15px; transition: all .2s;
}
.seg input:checked + span { border-color: var(--forest); background: var(--forest); color: var(--lime); }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(200,241,105,0.6); }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 460px;
  background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-2);
  padding: 22px; font-size: 14px; line-height: 1.55; border: 1px solid var(--line);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--emerald); font-weight: 600; }
.cookie-banner__actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-banner .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; flex: 1; }
.btn--ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost-dark:hover { border-color: var(--forest); }
@media (max-width: 760px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

@media (max-width: 520px) {
  .region-switch { padding-left: 4px; }
  .region-switch svg { display: none; }
  .region-switch button { padding: 8px 10px; font-size: 13px; }
}

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
}

/* ---------- Páginas internas (gracias, legales, 404) ---------- */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); }
.page-simple__top { background: var(--forest); padding: 18px 0; }
.page-simple main { flex: 1; padding: 72px 0 96px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 18px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.notice { background: var(--lime-soft); border: 1px solid var(--lime); border-radius: 14px; padding: 16px 18px; color: var(--ink); font-size: 15px; margin: 22px 0; }
.thanks-card { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-2); text-align: center; }
.thanks-card .check { width: 84px; height: 84px; border-radius: 50%; background: var(--lime); color: var(--forest); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks-card .check svg { width: 42px; height: 42px; }
.thanks-card h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; margin-bottom: 14px; }
.thanks-card p { color: var(--muted); font-size: 18px; }
.calendar-slot { margin: 32px 0; border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); font-size: 15px; }
.checklist { text-align: left; max-width: 460px; margin: 24px auto 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--emerald); flex: none; margin-top: 2px; }
@media (max-width: 520px) { .thanks-card { padding: 32px 22px; } }
