/* ============================================================
   WALD GROUP BROKERS — Landing page
   Design system
   - Base: deep navy (matches logo)   Accent: health green
   - Type: Hanken Grotesk (display) + Mulish (body)
   ============================================================ */

:root {
  /* Brand */
  --navy-900: #101d3b;   /* footer / utility — mismo navy de marca */
  --navy-800: #101d3b;   /* navy principal (nav bar + secciones oscuras) */
  --navy-700: #16294f;   /* logo background tone / botones */
  --navy-600: #1d3a6b;
  --navy-500: #2a4f8f;

  --green:      #1b8a5a;   /* accent / CTA (tweakable — tints derive below) */
  --green-600:  color-mix(in srgb, var(--green) 86%, #000);
  --green-700:  color-mix(in srgb, var(--green) 72%, #000);
  --green-soft: color-mix(in srgb, var(--green) 14%, #fff);
  --green-mist: color-mix(in srgb, var(--green) 7%, #fff);

  /* Neutrals (warm) */
  --ink:    #14233f;
  --slate:  #51607a;
  --slate-2:#6f7d94;
  --line:   #e5e2da;
  --line-2: #eceae3;
  --paper:  #faf9f6;
  --paper-2:#f4f2ec;
  --white:  #ffffff;
  --silver: #c9d2de;

  /* Type */
  --display: "Hanken Grotesk", system-ui, sans-serif;
  --body: "Mulish", system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(16,28,56,.06), 0 2px 6px rgba(16,28,56,.05);
  --shadow-md: 0 8px 28px -10px rgba(16,28,56,.20);
  --shadow-lg: 0 24px 60px -22px rgba(12,23,48,.45);
  --shadow-green: 0 14px 30px -12px rgba(27,138,90,.55);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.eyebrow.on-dark { color: #7fe3b3; }
.eyebrow.on-dark::before { background: #5dd49a; }

.section { padding: 96px 0; }
.section-head { max-width: 720px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 16px;
}
.section-head p {
  color: var(--slate);
  font-size: 19px;
  margin-top: 16px;
  text-wrap: pretty;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-green { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.btn-green:hover { transform: translateY(-2px); background: var(--green-600); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-600); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-700); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.32); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 18px 32px; font-size: 17px; }

/* ---------- Top utility bar ---------- */
.utility {
  background: var(--navy-900);
  color: #c7d2e4;
  font-size: 13.5px;
  font-weight: 500;
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.utility-left { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.utility-left svg { width: 15px; height: 15px; color: #5dd49a; }
.utility-right { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.utility-right a { display: inline-flex; align-items: center; gap: 7px; color: #c7d2e4; transition: color .2s; }
.utility-right a:hover { color: #fff; }
.utility-right svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #101d3b;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header .wrap { display: flex; align-items: center; gap: 26px; height: 76px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; border-radius: 4px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: 10px; }
.nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  color: #d4ddec;
  letter-spacing: -0.01em;
  transition: color .2s;
  position: relative;
}
.nav a:hover { color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -7px;
  width: 0; height: 2px; background: var(--green); border-radius: 2px;
  transition: width .22s ease;
}
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.header-phone span { font-size: 11.5px; color: #93a3bd; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.header-phone strong { font-family: var(--display); font-size: 16px; color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; }

/* shared hero text bits */
.hero-kicker { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero h1 .hl { color: var(--green); }
.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--slate);
  margin-top: 22px;
  max-width: 540px;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-trust .ti { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--ink); }
.hero-trust .ti .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-600);
  display: grid; place-items: center; flex: none;
}
.hero-trust .ti svg { width: 15px; height: 15px; }

/* Variant visibility */
.hero-variant { display: none; }
body[data-hero="A"] .hero-variant.A,
body[data-hero="B"] .hero-variant.B,
body[data-hero="C"] .hero-variant.C { display: block; }

/* ----- Hero A : split editorial ----- */
.heroA { background:
   radial-gradient(120% 90% at 88% 0%, var(--green-mist) 0%, rgba(242,248,244,0) 55%),
   var(--paper);
}
.heroA .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 78px 0 84px; }
.heroA-media { position: relative; }
.media-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; background: var(--navy-700);
}
.float-card {
  position: absolute; left: -28px; bottom: 38px;
  background: #fff; border-radius: var(--r-md); padding: 18px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
  max-width: 290px; border: 1px solid var(--line-2);
}
.float-card .ring {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--green-soft); color: var(--green-600); display: grid; place-items: center;
}
.float-card .ring svg { width: 23px; height: 23px; }
.float-card b { font-family: var(--display); font-size: 22px; display: block; line-height: 1.05; white-space: nowrap; }
.float-card small { color: var(--slate-2); font-size: 13px; }
.float-card.top { top: 28px; bottom: auto; left: auto; right: -24px; max-width: 230px; }

/* ----- Hero B : full-bleed image overlay ----- */
.heroB-stage { position: relative; min-height: 640px; display: flex; align-items: center; }
.heroB-bg { position: absolute; inset: 0; z-index: 0; }
.heroB-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16,29,59,.93) 0%, rgba(16,29,59,.82) 38%, rgba(16,29,59,.30) 75%, rgba(16,29,59,.12) 100%);
}
.heroB-stage .wrap { position: relative; z-index: 1; padding: 86px 28px; }
.heroB-inner { max-width: 620px; }
.heroB-inner h1 { color: #fff; }
.heroB-inner h1 .hl { color: #6fe3aa; }
.heroB-inner .hero-sub { color: #cdd8ea; }
.heroB-inner .hero-trust .ti { color: #eaf0fa; }
.heroB-inner .hero-trust .ti .dot { background: rgba(255,255,255,.12); color: #6fe3aa; }

/* ----- Hero C : form-forward ----- */
.heroC { background: var(--navy-800); position: relative; overflow: hidden; }
.heroC::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 12% 8%, rgba(27,138,90,.28) 0%, rgba(27,138,90,0) 55%),
              radial-gradient(70% 80% at 100% 100%, rgba(42,79,143,.45) 0%, rgba(42,79,143,0) 60%);
}
.heroC .grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 80px 0; }
.heroC-copy h1 { color: #fff; }
.heroC-copy h1 .hl { color: #6fe3aa; }
.heroC-copy .hero-sub { color: #c6d2e6; }
.heroC-copy .hero-trust .ti { color: #eaf0fa; }
.heroC-copy .hero-trust .ti .dot { background: rgba(255,255,255,.12); color: #6fe3aa; }
.quote-card {
  background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg);
}
.quote-card h3 { font-size: 23px; }
.quote-card .qc-sub { color: var(--slate); font-size: 15px; margin-top: 6px; margin-bottom: 20px; }

/* ============================================================
   HERO CAROUSEL (Avalian-style rotating banners)
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.carousel { position: relative; height: clamp(540px, 80vh, 770px); background: var(--navy-800); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(16,29,59,.95) 0%, rgba(16,29,59,.85) 40%, rgba(16,29,59,.45) 70%, rgba(16,29,59,.12) 100%);
}
.slide .wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide-content { max-width: 660px; padding: 40px 0; }
.slide-content > * { opacity: 1; }
.slide.active .slide-content { animation: slideUpSoft .7s ease both; }
@keyframes slideUpSoft { from { transform: translateY(18px); } to { transform: none; } }
.slide-content h1 { color: #fff; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.03; letter-spacing: -0.03em; margin-top: 20px; }
.slide-content h1 .hl { color: #6fe3aa; }
.slide-content .hero-sub { color: #cdd8ea; max-width: 540px; }
.slide-content .hero-trust .ti { color: #eaf0fa; }
.slide-content .hero-trust .ti .dot { background: rgba(255,255,255,.12); color: #6fe3aa; }

/* arrows */
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.30);
  color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px);
  transition: background .2s, transform .2s, border-color .2s;
}
.car-arrow:hover { background: var(--green); border-color: var(--green); }
.car-arrow svg { width: 24px; height: 24px; }
.car-arrow.prev { left: 26px; }
.car-arrow.next { right: 26px; }

/* dots + progress */
.car-dots { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 5; display: flex; justify-content: center; gap: 12px; }
.car-dot { width: 38px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.28); border: none; cursor: pointer; padding: 0; overflow: hidden; position: relative; transition: background .2s; }
.car-dot:hover { background: rgba(255,255,255,.5); }
.car-dot.active { background: rgba(255,255,255,.35); }
.car-dot.active::after {
  content: ""; position: absolute; inset: 0; left: 0; background: #6fe3aa; transform-origin: left;
  transform: scaleX(0); animation: dotfill 6s linear forwards;
}
@keyframes dotfill { to { transform: scaleX(1); } }
@media (max-width: 600px) {
  .car-arrow { display: none; }
  .carousel { height: 600px; }
}

/* placeholder media (striped) */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 13px),
    linear-gradient(160deg, var(--navy-600), var(--navy-800));
  display: grid; place-items: center;
}
.ph .ph-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px; letter-spacing: .04em; color: rgba(255,255,255,.7);
  background: rgba(12,23,48,.5); padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
}

/* ============================================================
   COVERAGES strip
   ============================================================ */
.coverages { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 40px 0; }
.cov-label { text-align: center; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 28px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.cov-chip {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 38px; background: #fff;
  flex: none; height: 124px; min-width: 234px; cursor: pointer; font-family: inherit;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.cov-chip:hover { box-shadow: var(--shadow-md); border-color: var(--green); transform: translateY(-3px); }
.cov-chip img {
  max-height: 80px; max-width: 210px; width: auto; height: auto; object-fit: contain;
}
.cov-chip img[src*="swiss_medical"] {
  max-height: 54px; max-width: 180px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 30px 26px 32px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.step .num {
  font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--green-600);
  letter-spacing: .1em;
}
.step .ic {
  width: 56px; height: 56px; border-radius: 16px; margin: 16px 0 20px;
  background: var(--green-soft); color: var(--green-600); display: grid; place-items: center;
}
.step .ic svg { width: 28px; height: 28px; }
.step h3 { font-size: 20px; margin-bottom: 9px; }
.step p { color: var(--slate); font-size: 15.5px; }
.step .connector {
  position: absolute; top: 56px; right: -13px; z-index: 2; color: var(--silver);
}
.step:last-child .connector { display: none; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits { background: #fff; }
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.ben {
  display: flex; gap: 18px; padding: 28px; border-radius: var(--r-md);
  background: var(--paper); border: 1px solid var(--line-2); transition: background .2s, transform .2s;
}
.ben:hover { background: var(--green-mist); transform: translateY(-3px); }
.ben .bic {
  width: 50px; height: 50px; border-radius: 13px; flex: none;
  background: #fff; border: 1px solid var(--line); color: var(--green-600); display: grid; place-items: center;
}
.ben .bic svg { width: 25px; height: 25px; }
.ben h3 { font-size: 18px; margin-bottom: 6px; }
.ben p { color: var(--slate); font-size: 14.5px; }

/* ============================================================
   PLANS BAND (cost-zero)
   ============================================================ */
.plans-band { background: var(--navy-800); position: relative; overflow: hidden; }
.plans-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 100% 0%, rgba(27,138,90,.30), transparent 60%);
}
.plans-band .grid { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.plans-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.plans-band p { color: #c6d2e6; font-size: 18px; margin-top: 18px; max-width: 520px; text-wrap: pretty; }
.plans-points { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.plans-points .pp { display: flex; align-items: center; gap: 12px; color: #eaf0fa; font-weight: 600; }
.plans-points .pp .dot { width: 24px; height: 24px; border-radius: 50%; background: rgba(95,212,154,.18); color: #6fe3aa; display: grid; place-items: center; flex: none; }
.plans-points .pp svg { width: 14px; height: 14px; }
.plans-cta { display: flex; flex-direction: column; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 30px; }
.plans-cta .big { font-family: var(--display); font-weight: 800; color: #fff; font-size: 26px; }
.plans-cta .small { color: #aebbd2; font-size: 14px; }

/* ============================================================
   FEATURE BANDS (full-bleed image + explanatory text, Avalian-style)
   ============================================================ */
.feature { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: var(--navy-800); }
.feat-bg { position: absolute; inset: 0; }
.feat-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feat-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(16,29,59,.94) 0%, rgba(16,29,59,.80) 40%, rgba(16,29,59,.32) 72%, rgba(16,29,59,.08) 100%);
}
.feature.right .feat-bg::after {
  background: linear-gradient(264deg, rgba(16,29,59,.94) 0%, rgba(16,29,59,.80) 40%, rgba(16,29,59,.32) 72%, rgba(16,29,59,.08) 100%);
}
.feature .wrap { position: relative; z-index: 2; width: 100%; }
.feat-box { max-width: 560px; color: #fff; padding: 64px 0; }
.feature.right .feat-box { margin-left: auto; }
.feat-box h2 { color: #fff; font-size: clamp(30px, 3.9vw, 46px); margin-top: 16px; }
.feat-box > p { color: #cdd8ea; font-size: 19px; margin-top: 18px; max-width: 520px; text-wrap: pretty; }
.feat-box .plans-points { margin-top: 26px; }
.feat-box .hero-actions { margin-top: 30px; }
.reveal .feat-box { } /* no-op, keeps reveal scoping simple */
@media (max-width: 600px) {
  .feat-bg::after, .feature.right .feat-bg::after { background: rgba(16,29,59,.88); }
  .feat-box { max-width: 100%; padding: 52px 0; }
}

/* ============================================================
   REQUIREMENTS tabs
   ============================================================ */
.req { background: var(--paper); }
.req-shell { display: grid; grid-template-columns: 300px 1fr; gap: 30px; margin-top: 50px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 16px; box-shadow: var(--shadow-sm); }
.req-tabs { display: flex; flex-direction: column; gap: 6px; }
.req-tab {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: transparent; border: none; border-radius: var(--r-md); padding: 18px 18px;
  font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--slate); transition: all .2s;
}
.req-tab .rt-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--paper-2); color: var(--slate); display: grid; place-items: center; flex: none; transition: all .2s; }
.req-tab .rt-ic svg { width: 21px; height: 21px; }
.req-tab:hover { background: var(--paper); color: var(--ink); }
.req-tab.active { background: var(--navy-800); color: #fff; }
.req-tab.active .rt-ic { background: rgba(255,255,255,.14); color: #6fe3aa; }
.req-panel { padding: 30px 30px 34px; }
.req-panel h3 { font-size: 24px; margin-bottom: 6px; }
.req-panel .rp-desc { color: var(--slate); margin-bottom: 24px; }
.req-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req-list-docs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px;
}
.req-list-docs li {
  display: flex; align-items: flex-start; gap: 11px; padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
}
.req-list-docs li i {
  color: var(--green-600); width: 18px; height: 18px; flex: none; margin-top: 2px;
}
.req-list-docs li svg { width: 18px; height: 18px; }
.req-list-docs span { font-weight: 600; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
@media (max-width: 760px) { .req-list-docs { grid-template-columns: 1fr; } }
.req-doc { display: flex; align-items: flex-start; gap: 13px; padding: 15px 17px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--paper); }
.req-doc .rd-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--green-soft); color: var(--green-600); display: grid; place-items: center; flex: none; margin-top: 1px; }
.req-doc .rd-ic svg { width: 18px; height: 18px; }
.req-doc span { font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.req-note { margin-top: 22px; display: flex; gap: 11px; align-items: flex-start; color: var(--slate-2); font-size: 13.5px; background: var(--green-mist); border-radius: var(--r-sm); padding: 14px 16px; }
.req-note svg { width: 17px; height: 17px; color: var(--green-600); flex: none; margin-top: 1px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; background: var(--paper); }
.faq-item.open { border-color: var(--green); box-shadow: var(--shadow-sm); background: #fff; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; text-align: left; background: transparent; border: none; padding: 22px 24px; font-family: var(--display); font-weight: 700; font-size: 17.5px; color: var(--ink); }
.faq-q .chev { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: all .25s; color: var(--slate); }
.faq-item.open .faq-q .chev { background: var(--green); border-color: var(--green); color: #fff; transform: rotate(180deg); }
.faq-q .chev svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 24px; color: var(--slate); font-size: 15.5px; }
.faq-aside { background: var(--navy-800); border-radius: var(--r-xl); padding: 40px 34px; color: #fff; position: sticky; top: 100px; }
.faq-aside h3 { color: #fff; font-size: 26px; }
.faq-aside p { color: #c6d2e6; margin: 14px 0 26px; }

/* ============================================================
   QUOTE FORM
   ============================================================ */
.quote { background: var(--paper); }
.quote-shell { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line-2); margin-top: 50px; }
.quote-side { background: var(--navy-800); color: #fff; padding: 48px 44px; position: relative; overflow: hidden; }
.quote-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(27,138,90,.30), transparent 60%); }
.quote-side .qs-in { position: relative; }
.quote-side h2 { color: #fff; font-size: 32px; }
.quote-side p { color: #c6d2e6; margin-top: 14px; }
.quote-feats { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.quote-feats .qf { display: flex; gap: 13px; align-items: flex-start; }
.quote-feats .qf .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(95,212,154,.16); color: #6fe3aa; display: grid; place-items: center; flex: none; }
.quote-feats .qf .ic svg { width: 18px; height: 18px; }
.quote-feats .qf b { font-family: var(--display); display: block; font-size: 15.5px; }
.quote-feats .qf small { color: #aebbd2; font-size: 13.5px; }
.quote-side .qs-contact { margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.quote-side .qs-contact .row { display: flex; align-items: center; gap: 11px; color: #d4ddec; font-size: 14.5px; margin-bottom: 10px; }
.quote-side .qs-contact svg { width: 17px; height: 17px; color: #6fe3aa; }

.quote-form { background: #fff; padding: 44px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 8px; letter-spacing: .01em; }
.field .opt { color: var(--slate-2); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 15.5px; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px var(--green-soft);
}
.field input.err, .field select.err { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,.12); }
.field .errmsg { color: #c0392b; font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; min-width: 180px; }
.form-note { font-size: 12.5px; color: var(--slate-2); margin-top: 16px; text-align: center; }
.form-success { text-align: center; padding: 40px 20px; }
.form-success .sic { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green-600); display: grid; place-items: center; margin: 0 auto 22px; }
.form-success .sic svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--slate); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--green); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(125deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px); }
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 12px; font-size: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: #aeb9cd; padding: 70px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer .brand img { height: 56px; border-radius: 8px; }
.footer-about { font-size: 14.5px; line-height: 1.7; margin-top: 20px; max-width: 320px; }
.footer-soc { display: flex; gap: 11px; margin-top: 22px; }
.footer-soc a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cdd8ea; transition: all .2s; }
.footer-soc a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.footer-soc svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: #aeb9cd; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact .row { display: flex; align-items: center; gap: 11px; font-size: 14.5px; margin-bottom: 13px; overflow-wrap: anywhere; min-width: 0; }
.footer-col { min-width: 0; }
.footer-legal .disc { overflow-wrap: anywhere; }
.footer-contact svg { width: 17px; height: 17px; color: #6fe3aa; flex: none; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0 34px; font-size: 12.5px; color: #8492aa; }
.footer-legal .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-legal .disc { max-width: 760px; line-height: 1.6; }

/* ============================================================
   PREPAGAS (cards + popup)
   ============================================================ */
.prepagas { background: var(--paper); }
.prepagas-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px;
}
.prep-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 28px 22px 24px; cursor: pointer; font-family: inherit;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.prep-card:hover { box-shadow: var(--shadow-md); border-color: var(--green); transform: translateY(-4px); }
.prep-card-logo {
  width: 100%; height: 78px; display: grid; place-items: center; margin-bottom: 16px;
}
.prep-card-logo img { max-height: 58px; max-width: 150px; object-fit: contain; }
.prep-card-name { font-family: var(--display); font-weight: 800; font-size: 18.5px; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.prep-card-meta {
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--slate-2); margin-top: 8px;
}
.prep-card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--green-600);
}
.prep-card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.prep-card:hover .prep-card-link svg { transform: translateX(4px); }
@media (max-width: 980px) { .prepagas-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .prepagas-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .prepagas-list { grid-template-columns: 1fr; } }

/* ---------- Plans popup ---------- */
.plan-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10,18,40,.66); backdrop-filter: blur(3px);
  padding: 28px; overflow-y: auto;
}
.plan-modal.open { display: flex; align-items: flex-start; justify-content: center; }
.plan-modal-card {
  position: relative; background: #fff; border-radius: var(--r-xl);
  width: 100%; max-width: 720px; margin: auto; padding: 40px;
  box-shadow: var(--shadow-lg); animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.plan-modal-close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper-2); border: none; color: var(--slate); display: grid; place-items: center;
  cursor: pointer; transition: background .2s, color .2s;
}
.plan-modal-close:hover { background: var(--ink); color: #fff; }
.plan-modal-close svg { width: 20px; height: 20px; }
.pm-head { display: flex; align-items: center; gap: 20px; padding-right: 40px; margin-bottom: 26px; }
.pm-logo {
  width: 120px; height: 76px; flex: none; border: 1px solid var(--line-2); border-radius: 12px;
  display: grid; place-items: center; padding: 10px; background: #fff;
}
.pm-logo img { max-height: 52px; max-width: 100px; object-fit: contain; }
.pm-head-tx h3 { font-size: 28px; margin-top: 4px; }
.pm-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pm-group { margin-bottom: 24px; }
.pm-group:last-of-type { margin-bottom: 0; }
.pm-group-head { margin-bottom: 14px; }
.pm-group-head h4 {
  font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--ink);
  letter-spacing: -.01em; display: flex; align-items: center; gap: 10px;
}
.pm-group-head h4::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--green); flex: none; }
.pm-group-head p { color: var(--slate); font-size: 13.5px; margin-top: 7px; text-wrap: pretty; }
.pm-plan { border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 18px 20px; background: var(--paper); transition: border-color .2s, background .2s; }
.pm-plan:hover { border-color: var(--green); background: var(--green-mist); }
.pm-plan-name { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 17.5px; color: var(--ink); letter-spacing: -.01em; }
.pm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.pm-plan p { color: var(--slate); font-size: 14px; margin-top: 9px; line-height: 1.55; text-wrap: pretty; }
.pm-note { display: flex; gap: 11px; align-items: flex-start; color: var(--slate-2); font-size: 13px; background: var(--green-mist); border-radius: var(--r-sm); padding: 14px 16px; margin-top: 22px; }
.pm-note svg { width: 17px; height: 17px; color: var(--green-600); flex: none; margin-top: 1px; }
.pm-actions { margin-top: 24px; }
.pm-actions .btn { width: 100%; }
.prep-pending {
  display: flex; align-items: center; gap: 13px; color: var(--slate);
  background: var(--green-mist); border: 1px dashed var(--green); border-radius: var(--r-md);
  padding: 20px 22px; font-size: 15.5px; font-weight: 600;
}
.prep-pending svg { width: 22px; height: 22px; color: var(--green-600); flex: none; }
@media (max-width: 600px) {
  .pm-plans { grid-template-columns: 1fr; }
  .plan-modal-card { padding: 28px 22px; }
  .pm-head { flex-direction: column; text-align: center; padding-right: 0; }
}

/* ============================================================
   CONTACTO (WhatsApp)
   ============================================================ */
.contacto { background: var(--paper); }
.contact-card {
  position: relative; overflow: hidden; background: var(--navy-800);
  border-radius: var(--r-xl); padding: 64px 40px; text-align: center; color: #fff;
}
.contact-glow { position: absolute; inset: 0; background:
  radial-gradient(60% 80% at 50% 0%, rgba(27,138,90,.32), transparent 60%),
  radial-gradient(50% 70% at 100% 100%, rgba(42,79,143,.4), transparent 60%); }
.contact-in { position: relative; max-width: 680px; margin: 0 auto; }
.contact-card h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.contact-card > .contact-in > p { color: #cbd6ea; font-size: 18px; margin: 16px auto 0; max-width: 560px; text-wrap: pretty; }
.contact-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px 0 32px; }
.contact-feats .cf { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 15px; }
.contact-feats .cf .ic { color: #6fe3aa; display: grid; place-items: center; }
.contact-feats .cf .ic svg { width: 18px; height: 18px; }
.contact-btn { font-size: 18px; padding: 18px 40px; }
.contact-hours { display: inline-flex; align-items: center; gap: 9px; color: #aebbd2; font-size: 14px; margin-top: 20px; }
.contact-hours svg { width: 16px; height: 16px; }

/* ============================================================
   REFERIDOS
   ============================================================ */
.referidos { background: #fff; }
.ref-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; overflow: hidden;
  border-radius: var(--r-xl); background: var(--navy-800); position: relative;
}
.ref-left { padding: 56px 48px; position: relative; z-index: 1; }
.ref-left h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-top: 16px; }
.ref-hl { color: #6fe3aa; }
.ref-left > p { color: #cbd6ea; font-size: 17px; margin-top: 16px; max-width: 460px; text-wrap: pretty; }
.ref-left > p strong { color: #fff; }
.ref-steps { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 30px; }
.ref-step { display: flex; align-items: center; gap: 14px; color: #eaf0fa; font-weight: 600; font-size: 15.5px; }
.ref-num { width: 30px; height: 30px; border-radius: 50%; background: rgba(95,212,154,.16); color: #6fe3aa; display: grid; place-items: center; flex: none; font-family: var(--display); font-weight: 800; font-size: 15px; }
.ref-amount {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 32px; color: #fff;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-700) 100%);
}
.ref-amount::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(125deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px); }
.ref-gift { position: relative; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: 18px; }
.ref-gift svg { width: 32px; height: 32px; color: #fff; }
.ref-amt-label { position: relative; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: rgba(255,255,255,.85); }
.ref-amt-big { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6vw, 62px); line-height: 1; margin: 6px 0; }
.ref-amt-sub { position: relative; font-size: 14px; color: rgba(255,255,255,.9); max-width: 200px; }

@media (max-width: 760px) {
  .pm-plans { grid-template-columns: 1fr; }
  .plan-modal-card { padding: 28px 22px; }
  .ref-card { grid-template-columns: 1fr; }
  .ref-amount { order: -1; padding: 40px 24px; }
  .ref-left { padding: 40px 28px; }
  .contact-card { padding: 48px 24px; }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -6px rgba(37,211,102,.6), 0 4px 12px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .25s ease;
}
.wa-float svg { width: 36px; height: 36px; position: relative; z-index: 1; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: 0;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px -6px rgba(37,211,102,.7), 0 6px 16px rgba(0,0,0,.22); }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .wa-float svg { width: 32px; height: 32px; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step .connector { display: none; }
  .ben-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav, .utility, .header-phone { display: none; }
  .heroA .grid, .heroC .grid, .plans-band .grid, .req-shell, .faq-grid, .quote-shell, .footer-top { grid-template-columns: 1fr; }
  .heroA-media { order: -1; max-width: 460px; }
  .req-tabs { flex-direction: row; overflow-x: auto; }
  .faq-aside { position: static; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .wrap { padding: 0 18px; }
  .ben-grid, .steps, .req-docs, .field-row { grid-template-columns: 1fr; }
  .quote-form, .quote-side { padding: 30px 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
