/* ==========================================================================
   Caribbean Cloud Bank — Landing
   Paleta alineada al logo: #123f60 · #2e86ab · #57b7b2
   ========================================================================== */

:root {
  /* Marca (extraída del logo) */
  --c-deep: #123f60;
  --c-blue: #2e86ab;
  --c-teal: #57b7b2;
  --c-aqua: #8fe3d8;

  /* Derivados */
  --c-ink: #0e2f47;
  --c-text: #3f5c6c;
  --c-muted: #6f8a97;
  --c-bg: #f4fafb;
  --c-white: #ffffff;
  --c-border: #dcebee;
  --c-dark: #0d2c42;

  --grad: linear-gradient(115deg, var(--c-blue) 0%, var(--c-teal) 100%);
  --grad-deep: linear-gradient(135deg, var(--c-deep) 0%, #1c5f80 55%, var(--c-teal) 120%);

  --shadow-sm: 0 4px 14px -6px rgba(18, 63, 96, .18);
  --shadow-md: 0 18px 40px -18px rgba(18, 63, 96, .28);
  --shadow-lg: 0 30px 60px -20px rgba(13, 44, 66, .35);

  --radius: 18px;
  --header-h: 76px;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Manrope', var(--font-body);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  font-size: 1rem;
  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: none; background: none; }
input { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}

h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.12rem; font-weight: 700; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--c-deep); color: #fff;
  padding: 10px 18px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Utilidades ---------- */
.container {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}
.container--narrow { width: min(820px, 100% - 40px); }

.section { padding: clamp(72px, 10vw, 110px) 0; }
.section--alt { background: var(--c-bg); }
.section--dark {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(87, 183, 178, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(46, 134, 171, .25), transparent 60%),
    var(--c-dark);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__lead { color: #a9c6d2; }

.section__head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__lead { margin-top: 14px; font-size: 1.06rem; color: var(--c-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-blue);
  background: rgba(87, 183, 178, .14);
  border: 1px solid rgba(87, 183, 178, .35);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow--light {
  color: var(--c-aqua);
  background: rgba(87, 183, 178, .12);
  border-color: rgba(143, 227, 216, .3);
}

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
  border-radius: 14px;
  padding: 13px 26px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: .92rem; border-radius: 12px; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(46, 134, 171, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(46, 134, 171, .6); }

.btn--outline {
  border: 2px solid var(--c-deep); color: var(--c-deep);
  background: transparent;
}
.btn--outline:hover { background: rgba(18, 63, 96, .06); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--c-deep); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.header.scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: 0 8px 30px -18px rgba(18, 63, 96, .35);
}

.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__icon { width: 46px; height: 46px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-head); font-weight: 800;
  color: var(--c-deep); font-size: 1.02rem; letter-spacing: -.01em;
}
.brand__tag { font-size: .72rem; color: var(--c-muted); letter-spacing: .06em; text-transform: uppercase; }

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

.nav-toggle {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  border-radius: 12px;
}
.nav-toggle span {
  width: 22px; height: 2.4px; border-radius: 2px;
  background: var(--c-deep);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* Nav móvil (panel desplegable) */
.nav.open {
  display: flex; flex-direction: column; gap: 4px;
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: #fff;
  padding: 18px 20px 24px;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  animation: navIn .28s ease;
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
.nav__link {
  font-family: var(--font-head); font-weight: 600;
  color: var(--c-text);
  padding: 12px 10px; border-radius: 10px;
  transition: color .18s ease, background .18s ease;
}
.nav__link:hover { color: var(--c-deep); background: var(--c-bg); }
.nav__cta { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 84px)) 0 0;
  background: linear-gradient(180deg, #eaf6f8 0%, #f4fafb 70%, #fff 100%);
  overflow: hidden;
}
.hero__bg::before,
.hero__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.hero__bg::before {
  width: 520px; height: 520px; right: -140px; top: -120px;
  background: radial-gradient(circle, rgba(87, 183, 178, .55), transparent 65%);
}
.hero__bg::after {
  width: 460px; height: 460px; left: -160px; top: 220px;
  background: radial-gradient(circle, rgba(46, 134, 171, .4), transparent 65%);
}

.hero__grid {
  position: relative;
  display: grid; gap: clamp(48px, 7vw, 72px);
  align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--c-deep);
  background: #fff; border: 1px solid var(--c-border);
  padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pill svg { color: var(--c-teal); flex-shrink: 0; }

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  color: var(--c-ink);
}
.hero__subtitle {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--c-text);
  max-width: 34rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__chips {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px;
  font-size: .9rem; font-weight: 500; color: var(--c-text);
}
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__chips svg { color: var(--c-teal); }

/* Mockup del teléfono */
.hero__visual {
  position: relative;
  display: flex; justify-content: center;
  padding: 10px 0 30px;
}
.phone {
  position: relative;
  width: min(300px, 82vw);
  background: linear-gradient(160deg, #16425f, #0d2c42);
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone__notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; border-radius: 999px;
  background: #0d2c42; z-index: 2;
}
.phone__screen {
  background: #f2f9fa;
  border-radius: 36px;
  padding: 52px 16px 20px;
  min-height: 480px;
}
.app__top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.app__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; font-family: var(--font-head);
}
.app__greet { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.app__hi { font-weight: 700; font-size: .9rem; color: var(--c-ink); }
.app__sub { font-size: .72rem; color: var(--c-muted); }
.app__bell { color: var(--c-deep); }

.app__balance {
  position: relative; overflow: hidden;
  background: var(--grad);
  border-radius: 20px;
  padding: 18px;
  color: #fff;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 16px 30px -14px rgba(46, 134, 171, .6);
}
.app__balance::after {
  content: ""; position: absolute; right: -40px; top: -50px;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}
.app__balance-label { font-size: .72rem; opacity: .85; }
.app__balance-amount { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.app__balance-delta { font-size: .72rem; background: rgba(255, 255, 255, .2); align-self: flex-start; padding: 3px 10px; border-radius: 999px; margin-top: 4px; }
.app__balance-actions { display: flex; gap: 8px; margin-top: 14px; position: relative; z-index: 1; }
.app__balance-actions span {
  flex: 1; text-align: center;
  background: rgba(255, 255, 255, .18);
  border-radius: 10px; padding: 8px 0;
  font-size: .74rem; font-weight: 600;
}

.app__txs { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.app__tx {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 11px 12px;
  box-shadow: var(--shadow-sm);
}
.app__tx-icon {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  background: rgba(46, 134, 171, .12); color: var(--c-blue);
  display: grid; place-items: center;
}
.app__tx-icon--in { background: rgba(87, 183, 178, .18); color: #1f8f88; }
.app__tx-info { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.app__tx-info strong { font-size: .8rem; color: var(--c-ink); }
.app__tx-info small { font-size: .68rem; color: var(--c-muted); }
.app__tx-amount { font-size: .8rem; font-weight: 700; color: var(--c-text); }
.app__tx-amount--in { color: #1f8f88; }

/* Tarjetas flotantes */
.float-card {
  position: absolute;
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  font-size: .78rem;
  animation: floaty 6s ease-in-out infinite;
}
.float-card--1 {
  top: 8%; left: -6px;
  display: flex; align-items: center; gap: 10px;
}
.float-card--1 strong { display: block; color: var(--c-ink); font-size: .8rem; }
.float-card--1 span:not(.float-card__icon) { color: var(--c-muted); font-size: .72rem; }
.float-card__icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: rgba(87, 183, 178, .18); color: #1f8f88;
  display: grid; place-items: center;
}
.float-card--2 {
  bottom: 4%; right: -6px;
  display: flex; flex-direction: column; gap: 8px;
  min-width: 170px;
  animation-delay: 1.4s;
}
.float-card--2 strong { color: var(--c-ink); font-size: .8rem; }
.float-card__bar { height: 8px; border-radius: 999px; background: var(--c-border); overflow: hidden; }
.float-card__bar span { display: block; height: 100%; border-radius: 999px; background: var(--grad); }
.float-card__pct { font-size: .72rem; color: var(--c-muted); }

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

/* Estadísticas */
.hero__stats {
  position: relative;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  padding: clamp(36px, 5vw, 52px) 0 clamp(60px, 8vw, 90px);
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--c-deep); letter-spacing: -.02em;
}
.stat__star { color: var(--c-teal); font-size: .8em; }
.stat span { font-size: .86rem; color: var(--c-muted); }

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

/* ---------- Confianza ---------- */
.trust { padding: clamp(36px, 5vw, 52px) 0; background: #fff; }
.trust__label {
  text-align: center; font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted);
  margin-bottom: 22px;
}
.trust__logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px;
}
.trust__badge {
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  color: #54707f;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  padding: 10px 20px; border-radius: 999px;
  filter: grayscale(.4);
  transition: transform .18s ease, color .18s ease, border-color .18s ease;
}
.trust__badge:hover { transform: translateY(-2px); color: var(--c-deep); border-color: var(--c-teal); }

/* ---------- Split (producto) ---------- */
.split { display: grid; gap: clamp(44px, 6vw, 80px); align-items: center; }

.feature-list { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list__icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 14px;
  background: rgba(87, 183, 178, .14);
  color: var(--c-blue);
  display: grid; place-items: center;
}
.feature-list strong { display: block; color: var(--c-ink); font-family: var(--font-head); margin-bottom: 2px; }
.feature-list p { font-size: .93rem; color: var(--c-muted); }

/* Tarjeta de crédito (visual) */
.split__visual { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.cc-card {
  position: relative; z-index: 1;
  width: min(400px, 92%);
  aspect-ratio: 8 / 5;
  border-radius: 24px;
  background: var(--grad-deep);
  color: #fff;
  padding: clamp(18px, 4%, 28px);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
  overflow: hidden;
}
.cc-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(320px 200px at 110% -20%, rgba(143, 227, 216, .35), transparent 60%),
    radial-gradient(260px 200px at -10% 120%, rgba(255, 255, 255, .12), transparent 60%);
}
.cc-card--back {
  position: absolute; z-index: 0;
  background: linear-gradient(135deg, #d8edf0, #bfe3e6);
  box-shadow: var(--shadow-md);
  transform: rotate(6deg) translate(26px, 14px);
}
.cc-card__top {
  position: relative; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .86rem; letter-spacing: .02em;
}
.cc-card__top img {
  width: 40px; height: 40px; background: rgba(255, 255, 255, .92);
  border-radius: 12px; padding: 4px;
}
.cc-card__chip {
  position: relative;
  width: 46px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, #f2d48a, #d4af5a);
  box-shadow: inset 0 0 0 1.5px rgba(122, 91, 26, .35);
}
.cc-card__chip::after {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px solid rgba(122, 91, 26, .45); border-radius: 5px;
}
.cc-card__number {
  position: relative;
  font-family: var(--font-head); font-size: clamp(1.05rem, 4.5vw, 1.3rem);
  letter-spacing: .14em; font-weight: 700;
}
.cc-card__bottom {
  position: relative;
  display: flex; align-items: flex-end; gap: 26px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
}
.cc-card__bottom small { display: block; font-size: .58rem; opacity: .75; text-transform: uppercase; letter-spacing: .12em; }
.cc-card__brand { margin-left: auto; display: flex; }
.cc-card__brand i {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .85);
}
.cc-card__brand i + i { margin-left: -12px; background: rgba(143, 227, 216, .85); }

/* ---------- Tarjetas (beneficios) ---------- */
.grid-4 { display: grid; gap: 20px; }
.grid-3 { display: grid; gap: 20px; }

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(87, 183, 178, .5); }
.card__icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 20px -8px rgba(46, 134, 171, .55);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .93rem; color: var(--c-muted); }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 28px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 10px 20px -8px rgba(46, 134, 171, .55);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--c-muted); }

/* ---------- Seguridad ---------- */
.card-dark {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(143, 227, 216, .18);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.card-dark:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .08); border-color: rgba(143, 227, 216, .4); }
.card-dark__icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: rgba(87, 183, 178, .16); color: var(--c-aqua);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card-dark h3 { color: #fff; margin-bottom: 8px; }
.card-dark p { font-size: .92rem; color: #a9c6d2; }

.security__badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: clamp(36px, 5vw, 52px);
}
.security__badges span {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  color: var(--c-aqua);
  border: 1px solid rgba(143, 227, 216, .35);
  border-radius: 999px; padding: 8px 18px;
  background: rgba(87, 183, 178, .08);
}
.security__note {
  max-width: 760px; margin: 28px auto 0;
  text-align: center; font-size: .82rem; color: #87a5b3;
}

/* ---------- Testimonios ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial__stars { color: #f2b544; letter-spacing: 3px; font-size: .95rem; }
.testimonial blockquote { font-size: .97rem; color: var(--c-text); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.testimonial figcaption strong { display: block; color: var(--c-ink); font-size: .92rem; }
.testimonial figcaption small { color: var(--c-muted); font-size: .8rem; }

/* ---------- Precios ---------- */
.pricing { align-items: stretch; }
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan h3 { font-size: 1.25rem; }
.plan__desc { font-size: .88rem; color: var(--c-muted); margin-top: 2px; }
.plan__price { margin: 20px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan__price strong {
  font-family: var(--font-head); font-weight: 800;
  font-size: 2.4rem; color: var(--c-deep); letter-spacing: -.03em;
}
.plan__price span { color: var(--c-muted); font-size: .92rem; }
.plan ul { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan ul li {
  position: relative; padding-left: 28px;
  font-size: .92rem; color: var(--c-text);
}
.plan ul li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(87, 183, 178, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8f88' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan--featured {
  background: var(--grad-deep);
  border: none; color: #fff;
  box-shadow: var(--shadow-lg);
}
.plan--featured h3, .plan--featured .plan__price strong { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__price span { color: #bfe0e8; }
.plan--featured ul li { color: #dceef2; }
.plan--featured ul li::before {
  background-color: rgba(255, 255, 255, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fe3d8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}
.plan__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-family: var(--font-head); font-size: .76rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(46, 134, 171, .6);
  white-space: nowrap;
}
.pricing__note {
  text-align: center; font-size: .84rem; color: var(--c-muted);
  margin-top: 30px;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-border); }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--c-ink);
  padding: 22px 4px;
  transition: color .18s ease;
}
.faq__q:hover { color: var(--c-blue); }
.faq__icon {
  position: relative; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.6px solid var(--c-teal);
  transition: transform .3s ease, background .3s ease;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--c-blue); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s ease, background .3s ease;
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.open .faq__icon { transform: rotate(180deg); background: var(--grad); border-color: transparent; }
.faq__item.open .faq__icon::before { background: #fff; }
.faq__item.open .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); background: #fff; }

.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq__a p { padding: 0 4px 22px; color: var(--c-muted); font-size: .95rem; max-width: 60ch; }

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  padding: clamp(80px, 11vw, 130px) 0;
  background: var(--grad-deep);
  overflow: hidden;
  text-align: center;
}
.cta__waves::before, .cta__waves::after {
  content: ""; position: absolute; border-radius: 50%;
}
.cta__waves::before {
  width: 640px; height: 640px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(143, 227, 216, .28), transparent 65%);
}
.cta__waves::after {
  width: 520px; height: 520px; left: -200px; bottom: -240px;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 65%);
}
.cta__inner { position: relative; max-width: 640px; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.cta p { color: #cfe6ec; margin-top: 16px; font-size: 1.05rem; }

.cta__form {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 34px;
}
.cta__form input {
  flex: 1;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 15px 20px;
  font-size: 1rem;
  color: var(--c-ink);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.cta__form input:focus { outline: none; border-color: var(--c-aqua); }
.cta__form input::placeholder { color: #94aab5; }

.cta__success {
  margin-top: 20px;
  font-weight: 600; color: #fff;
  background: rgba(87, 183, 178, .25);
  border: 1px solid rgba(143, 227, 216, .5);
  border-radius: 12px; padding: 14px 18px;
}
.cta__legal { display: block; margin-top: 18px; color: #9fc3cf; font-size: .8rem; }
.cta__legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer {
  background: #082231;
  color: #9fc3cf;
  padding: clamp(56px, 8vw, 84px) 0 0;
}
.footer__grid {
  display: grid; gap: 40px;
  padding-bottom: clamp(40px, 6vw, 60px);
}
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: #7fa5b3; }
.brand__badge {
  width: 52px; height: 52px; border-radius: 14px;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.footer__brand > p { margin-top: 18px; font-size: .92rem; max-width: 30ch; }

.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(159, 195, 207, .25);
  display: grid; place-items: center;
  color: #b9d6df;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.footer__social a:hover {
  background: var(--grad); color: #fff; border-color: transparent;
  transform: translateY(-3px);
}

.footer__col h4 {
  color: #fff; font-size: .92rem; margin-bottom: 16px;
  letter-spacing: .04em;
}
.footer__col a {
  display: block; padding: 5px 0;
  font-size: .9rem;
  transition: color .18s ease, transform .18s ease;
}
.footer__col a:hover { color: var(--c-aqua); transform: translateX(3px); }
.footer__col p { font-size: .88rem; margin-top: 10px; }

.footer__bottom {
  border-top: 1px solid rgba(159, 195, 207, .15);
  padding-top: 26px; padding-bottom: 30px;
  font-size: .8rem;
}
.footer__disclaimer { margin-top: 12px; color: #6f93a1; font-size: .76rem; line-height: 1.7; }

/* ---------- Animaciones de scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive — tablets y desktop
   ========================================================================== */
@media (min-width: 640px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .cta__form { flex-direction: row; }
  .cta__form .btn { flex-shrink: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .pricing .plan--featured { transform: scale(1.04); }
  .pricing .plan--featured:hover { transform: scale(1.04) translateY(-6px); }
  .split { grid-template-columns: 1.05fr .95fr; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  .nav {
    display: flex; align-items: center; gap: 4px;
    position: static; padding: 0; border: 0; box-shadow: none;
    background: transparent; animation: none;
  }
  .nav__link { padding: 10px 13px; font-size: .94rem; }
  .nav__cta { display: none; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }

  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }

  /* Línea conectora de pasos en desktop */
  .step:not(:last-child)::after {
    content: ""; position: absolute;
    top: 54px; right: -24px; width: 24px; height: 2px;
    background: linear-gradient(90deg, var(--c-teal), transparent);
  }
  .float-card--1 { left: -34px; }
  .float-card--2 { right: -30px; }
}
