/* ============================================================
   Caribe Credit Bank — Landing Page
   Paleta alineada al logo: azul marino profundo + verde Caribe
   ============================================================ */

:root {
  /* Marca (tomada del logo) */
  --navy-950: #04243a;
  --navy-900: #06344f;
  --navy-800: #0a4b7c;   /* azul del monograma */
  --navy-700: #0e5a92;
  --green-600: #1e8a4c;
  --green-500: #2ea45e;   /* verde principal del monograma */
  --green-400: #45bd78;
  --green-300: #8fdcae;   /* luces del monograma */
  --green-100: #e3f5ea;
  --aqua-50:  #f3faf6;
  --sky-300:  #a9cfe8;   /* azul claro del logo */
  --gold:     #f2b84c;

  /* UI */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-tint: var(--aqua-50);
  --ink: #122f3f;
  --ink-soft: #4d6673;
  --line: #dce7ee;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(4, 36, 58, .07);
  --shadow-md: 0 14px 34px rgba(4, 36, 58, .13);
  --shadow-lg: 0 26px 60px rgba(4, 36, 58, .24);

  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy-800); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 18px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.section { padding: clamp(72px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-tint); }
.section--dark {
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(69, 189, 120, .15), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #d7e7ee;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__lead { color: var(--ink-soft); margin-top: 14px; font-size: 1.06rem; }
.section--dark .section__lead { color: #b6d3dc; }
.split__content .section__lead { margin: 14px 0 26px; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-600);
  background: var(--green-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow--light { background: rgba(69, 189, 120, .16); color: var(--green-300); }

.split { display: grid; gap: 44px; align-items: start; }
.grid-4, .grid-3 { display: grid; gap: 22px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 13px 24px; border-radius: 12px; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }

/* Primario: navy con texto blanco (alto contraste) */
.btn--primary { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Primario dentro del hero: verde brillante con texto navy (alto contraste sobre fondo oscuro) */
.hero .btn--primary {
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
  color: var(--navy-950); box-shadow: 0 12px 28px rgba(46, 164, 94, .42);
}
.hero .btn--primary:hover { background: linear-gradient(135deg, #a8ebbe, var(--green-400)); box-shadow: 0 16px 34px rgba(46, 164, 94, .55); transform: translateY(-2px); }

/* Outline: navy sobre fondos claros */
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); }
/* Outline dentro del hero: claro sobre fondo oscuro */
.hero .btn--outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.hero .btn--outline:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .7); }

/* Light: blanco con texto navy (paneles oscuros, plan destacado) */
.btn--light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--green-100); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}
.header.is-scrolled { background: rgba(255, 255, 255, .95); box-shadow: 0 4px 24px rgba(4, 36, 58, .12); }
.header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__icon { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: .98rem; color: var(--navy-800); letter-spacing: -.01em; }
.brand__tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); font-weight: 600; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: var(--green-300); }
.brand__badge {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(143, 220, 174, .28);
}

.nav { display: none; }
.nav__link {
  display: block; padding: 9px 13px; border-radius: 10px;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--navy-800); background: var(--green-100); }
.nav__cta { margin-top: 6px; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }

.nav-toggle { display: grid; gap: 5px; padding: 10px; border-radius: 10px; }
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy-800); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menú móvil */
.nav.is-open {
  display: flex; flex-direction: column; gap: 2px;
  position: absolute; top: var(--header-h); left: -20px; right: -20px;
  background: #fff; padding: 16px 20px 24px; box-shadow: var(--shadow-md);
  border-top: 1px solid var(--line);
  animation: dropIn .28s ease both;
}
.nav.is-open .nav__link { padding: 13px 14px; font-size: 1rem; }
.nav.is-open .nav__cta { margin-top: 12px; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 84px)) 0 clamp(96px, 12vw, 150px);
  background:
    radial-gradient(900px 500px at 110% -10%, rgba(69, 189, 120, .22), transparent 55%),
    radial-gradient(700px 500px at -10% 110%, rgba(14, 90, 146, .38), transparent 55%),
    linear-gradient(165deg, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #e6f4f6;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(75% 65% at 50% 35%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 35%, #000 30%, transparent 100%);
}
.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: var(--green-100);
  background: rgba(69, 189, 120, .14); border: 1px solid rgba(69, 189, 120, .38);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.pill svg { color: var(--green-300); }
.hero__title {
  color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; letter-spacing: -.025em;
}
.text-gradient {
  background: linear-gradient(90deg, var(--green-300), var(--sky-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle { margin: 20px 0 30px; font-size: 1.1rem; color: #c3dce6; max-width: 34rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 32px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: #b5d3dd; }
.hero__chips svg { color: var(--green-300); flex: none; }

.hero__stats {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px 52px; margin-top: clamp(48px, 7vw, 72px);
  padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: #fff; letter-spacing: -.02em; }
.stat__star { color: var(--gold); font-size: 1.05rem; margin-left: 3px; }
.stat span:last-child { font-size: .82rem; color: #a3c4d2; }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero__wave svg { width: 100%; height: clamp(40px, 7vw, 90px); }

/* Teléfono / mockup de app */
.hero__visual { position: relative; max-width: 340px; margin-inline: auto; width: 100%; }
.phone {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950));
  border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08);
  animation: floaty 7s ease-in-out infinite;
}
.phone__notch { width: 110px; height: 22px; background: var(--navy-950); border-radius: 999px; margin: 2px auto 8px; }
.phone__screen {
  background: linear-gradient(180deg, #f8fbfd, #eaf4f8);
  border-radius: 30px; padding: 18px 16px 16px; color: var(--ink);
}
.app__top { display: flex; align-items: center; gap: 10px; }
.app__avatar {
  width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--navy-700));
}
.app__greet { display: flex; flex-direction: column; line-height: 1.25; }
.app__hi { font-weight: 700; font-size: .88rem; color: var(--navy-800); }
.app__sub { font-size: .7rem; color: var(--ink-soft); }
.app__bell { margin-left: auto; color: var(--ink-soft); }

.app__balance {
  margin-top: 16px; padding: 14px 16px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--green-600) 80%);
  box-shadow: 0 12px 24px rgba(6, 52, 79, .35);
}
.app__balance-label { display: block; font-size: .68rem; opacity: .8; }
.app__balance-amount { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.65rem; letter-spacing: -.02em; margin: 2px 0; }
.app__balance-delta {
  display: inline-block; font-size: .68rem; font-weight: 700;
  background: rgba(143, 220, 174, .22); color: var(--green-300);
  padding: 3px 9px; border-radius: 999px;
}
.app__balance-actions { display: flex; gap: 8px; margin-top: 12px; }
.app__balance-actions span {
  flex: 1; text-align: center; font-size: .7rem; font-weight: 700;
  background: rgba(255, 255, 255, .14); border-radius: 10px; padding: 8px 4px;
}

.app__txs { margin-top: 14px; }
.app__tx { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.app__tx:first-child { border-top: 0; }
.app__tx-icon {
  width: 32px; height: 32px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--navy-700);
}
.app__tx-icon--in { background: var(--green-100); border-color: transparent; color: var(--green-600); }
.app__tx-info { display: flex; flex-direction: column; line-height: 1.3; }
.app__tx-info strong { font-size: .8rem; color: var(--navy-800); }
.app__tx-info small { font-size: .68rem; color: var(--ink-soft); }
.app__tx-amount { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--navy-800); }
.app__tx-amount--in { color: var(--green-600); }

.float-card {
  position: absolute; z-index: 2; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 12px 16px; font-size: .78rem; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.float-card strong { display: block; font-size: .8rem; color: var(--navy-800); }
.float-card span { font-size: .7rem; color: var(--ink-soft); }
.float-card__icon {
  width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-600);
}
.float-card--1 { top: 6%; left: -14%; animation: floaty 6s ease-in-out infinite reverse; }
.float-card--2 {
  bottom: 10%; right: -10%; display: block; min-width: 170px;
  animation: floaty 8s .8s ease-in-out infinite;
}
.float-card--2 strong { margin-bottom: 8px; }
.float-card__bar { height: 8px; border-radius: 999px; background: var(--green-100); overflow: hidden; }
.float-card__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green-400), var(--green-600)); }
.float-card__pct { display: block; margin-top: 6px; font-size: .68rem; color: var(--ink-soft); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Franja de confianza ---------- */
.trust { padding: 40px 0 8px; }
.trust__label { text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.trust__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
.trust__badge {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .04em;
  color: #6d8492; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; transition: color .2s ease, border-color .2s ease;
}
.trust__badge:hover { color: var(--navy-800); border-color: var(--green-400); }

/* ---------- Tarjetas / features ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-400); }
.card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(135deg, var(--green-100), #eaf6ef); color: var(--green-600);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .93rem; color: var(--ink-soft); }

.feature-list { display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list__icon {
  width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-100), #eaf6ef); color: var(--green-600);
}
.feature-list strong { display: block; color: var(--navy-800); margin-bottom: 3px; font-family: var(--font-head); }
.feature-list p { font-size: .93rem; color: var(--ink-soft); }

/* Tarjeta de crédito (sección producto) */
.split__visual { position: relative; display: grid; place-items: center; padding: 34px 0; }
.cc-card {
  position: relative; z-index: 2;
  width: min(420px, 92%); aspect-ratio: 1.586;
  border-radius: 22px; padding: 24px 26px; color: #fff;
  background:
    radial-gradient(300px 200px at 90% -20%, rgba(143, 220, 174, .32), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--green-600) 70%, var(--green-400));
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-3.5deg); transition: transform .35s ease;
}
.cc-card:hover { transform: rotate(0); }
.cc-card--back {
  position: absolute; z-index: 1; top: 50%; left: 50%;
  width: min(420px, 92%); aspect-ratio: 1.586; border-radius: 22px;
  background: linear-gradient(135deg, var(--green-300), var(--sky-300));
  opacity: .55; transform: translate(-47%, -55%) rotate(5deg);
}
.cc-card__top { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem; letter-spacing: .05em; }
.cc-card__top img { width: 40px; height: 40px; }
.cc-card__chip {
  width: 44px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #f7d18b, var(--gold));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.cc-card__number { font-size: clamp(1.05rem, 2.4vw, 1.3rem); letter-spacing: .14em; font-weight: 600; }
.cc-card__bottom { display: flex; align-items: flex-end; gap: 26px; font-size: .85rem; }
.cc-card__bottom small { display: block; font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; opacity: .75; }
.cc-card__brand { margin-left: auto; display: flex; }
.cc-card__brand i { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.cc-card__brand i + i { margin-left: -11px; background: rgba(255, 255, 255, .45); }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 30px; }
.step { position: relative; padding: 6px 0 6px 78px; }
.step__num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff;
  background: linear-gradient(140deg, var(--green-500), var(--green-600));
  box-shadow: 0 10px 22px rgba(46, 164, 94, .35);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Seguridad ---------- */
.card-dark {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(143, 220, 174, .22);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card-dark:hover { transform: translateY(-5px); border-color: rgba(143, 220, 174, .5); background: rgba(255, 255, 255, .08); }
.card-dark__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  background: rgba(69, 189, 120, .16); border: 1px solid rgba(69, 189, 120, .4);
  color: var(--green-300); margin-bottom: 16px;
}
.card-dark h3 { margin-bottom: 8px; font-size: 1.08rem; }
.card-dark p { font-size: .9rem; color: #b6d3dc; }

.security__badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: clamp(36px, 5vw, 52px);
}
.security__badges span {
  font-size: .76rem; font-weight: 700; letter-spacing: .05em;
  border: 1px solid rgba(143, 220, 174, .4); color: #d7f0e2;
  padding: 8px 14px; border-radius: 999px;
}
.security__note {
  max-width: 720px; margin: 26px auto 0; text-align: center;
  font-size: .82rem; color: #a3c4d2;
}

/* ---------- Testimonios ---------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial__stars { color: var(--gold); letter-spacing: .22em; font-size: .95rem; }
.testimonial blockquote { font-size: .95rem; color: var(--ink); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption strong { color: var(--navy-800); font-size: .92rem; }
.testimonial figcaption small { display: block; color: var(--ink-soft); font-size: .78rem; }
.testimonial__avatar {
  width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .85rem; color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--navy-700));
}

/* ---------- Precios ---------- */
.pricing { align-items: stretch; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan h3 { font-size: 1.25rem; }
.plan__desc { color: var(--ink-soft); font-size: .88rem; margin: 4px 0 18px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
.plan__price strong { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--navy-800); letter-spacing: -.03em; }
.plan__price span { color: var(--ink-soft); font-size: .9rem; }
.plan ul { display: grid; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--ink-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 800; }

.plan--featured {
  border: 2px solid var(--green-500); box-shadow: var(--shadow-md);
  background:
    radial-gradient(400px 240px at 90% -10%, rgba(69, 189, 120, .26), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #d7e7ee;
}
.plan--featured h3, .plan--featured .plan__price strong { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__price span { color: #a3c4d2; }
.plan--featured li { color: #b6d3dc; }
.plan--featured li::before { color: var(--green-300); }
.plan__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green-300), var(--green-500)); color: var(--navy-950);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 18px rgba(46, 164, 94, .38);
}
.pricing__note { text-align: center; color: var(--ink-soft); font-size: .82rem; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item.is-open { border-color: var(--green-400); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; font-weight: 700; font-size: .98rem; color: var(--navy-800); text-align: left;
}
.faq__icon { position: relative; width: 22px; height: 22px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--green-600); border-radius: 2px;
  transition: transform .25s ease;
}
.faq__icon::before { width: 14px; height: 2.4px; }
.faq__icon::after { width: 2.4px; height: 14px; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.faq__a p { overflow: hidden; padding: 0 22px; color: var(--ink-soft); font-size: .93rem; transition: padding .32s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { padding-bottom: 20px; }

/* ---------- CTA final ---------- */
.cta { position: relative; padding: clamp(72px, 9vw, 110px) 0; }
.cta__waves {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 320px at 8% 10%, rgba(69, 189, 120, .18), transparent 60%),
    radial-gradient(500px 320px at 95% 90%, rgba(169, 207, 232, .28), transparent 60%);
}
.cta__inner {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(69, 189, 120, .26), transparent 60%),
    linear-gradient(140deg, var(--navy-800), var(--navy-950));
  border-radius: clamp(20px, 4vw, 36px);
  padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 64px);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta__inner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); max-width: 22ch; margin: 0 auto 14px; }
.cta__inner > p { color: #b6d3dc; max-width: 46ch; margin: 0 auto 30px; }
.cta__form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta__form input {
  flex: 1 1 260px; max-width: 420px;
  padding: 15px 18px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1); color: #fff;
  transition: border-color .2s ease, background .2s ease;
}
.cta__form input::placeholder { color: #a3c4d2; }
.cta__form input:focus { outline: none; border-color: var(--green-300); background: rgba(255, 255, 255, .16); }
.cta__success { margin-top: 18px; font-weight: 600; color: var(--green-300); }
.cta__legal { display: block; margin-top: 18px; color: #a3c4d2; font-size: .78rem; }
.cta__legal a { text-decoration: underline; color: var(--green-300); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #a3c4d2; padding-top: clamp(56px, 7vw, 80px); }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin: 16px 0 20px; font-size: .9rem; max-width: 32ch; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #d7f0e2;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.footer__social a:hover { background: var(--green-400); color: var(--navy-950); transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer__col a { display: block; padding: 5px 0; font-size: .9rem; transition: color .15s ease; }
.footer__col a:hover { color: var(--green-300); }
.footer__col p { font-size: .9rem; padding: 5px 0; }
.footer__bottom { border-top: 1px solid rgba(143, 220, 174, .16); padding: 26px 0 34px; }
.footer__bottom p { font-size: .82rem; }
.footer__disclaimer { margin-top: 10px; font-size: .76rem; color: #6f8da0; }

/* ---------- Animaciones de scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1) var(--d, 0s), transform .7s cubic-bezier(.22,.61,.36,1) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 640px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav__cta { display: none; }

  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .hero__stats { justify-content: space-between; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .step { padding: 78px 18px 0 0; }
  .step::after {
    content: ""; position: absolute; top: 28px; left: 62px; right: -8px;
    border-top: 2px dashed var(--line);
  }
  .step:last-child::after { display: none; }
  .pricing { align-items: center; }
  .plan--featured { transform: scale(1.045); }
  .plan--featured:hover { transform: scale(1.045) translateY(-6px); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

@media (max-width: 480px) {
  .brand__tag { display: none; }
  .float-card--1 { left: -4%; }
  .float-card--2 { right: -4%; min-width: 150px; }
  .cc-card { transform: none; }
  /* La tarjeta decorativa trasera no debe desbordar el viewport */
  .cc-card--back { width: 78%; transform: translate(-50%, -54%) rotate(4deg); }
}
