/* ============================================================================
   SOLVO · Landing de captación — Sistema de diseño
   Paleta de marca (Manual de marca, marzo 2025)
   ========================================================================== */
:root {
  /* Naranjas */
  --orange-300: #EFA04A;
  --orange-500: #E86F10;
  --orange-600: #D05816;
  /* Azules / teal */
  --teal-700: #00768D;
  --teal-500: #0089A8;
  --cyan-400: #21B6D3;
  /* Neutros */
  --gray-700: #5A595B;
  --ink: #2b2b2d;
  --muted: #6c6b70;
  --line: #e7e6ea;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-tint: #f0f7f9;
  --white: #ffffff;

  --grad-warm: linear-gradient(135deg, var(--orange-300) 0%, var(--orange-500) 55%, var(--orange-600) 100%);
  --grad-cool: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-500) 55%, var(--cyan-400) 100%);
  --grad-brand: linear-gradient(120deg, var(--teal-700) 0%, var(--teal-500) 38%, var(--orange-500) 100%);

  --shadow-sm: 0 2px 8px rgba(20, 30, 40, .06);
  --shadow-md: 0 10px 30px rgba(20, 30, 40, .10);
  --shadow-lg: 0 24px 60px rgba(20, 30, 40, .16);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-h: 88px;

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.15; margin: 0 0 .4em; color: var(--ink); font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--teal-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-700); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

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

/* ── Botones ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 1rem; line-height: 1; padding: .85rem 1.5rem;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-warm); color: #fff; box-shadow: 0 8px 22px rgba(232,111,16,.35); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232,111,16,.45); }
.btn--ghost { background: transparent; color: var(--teal-700); border-color: var(--teal-500); }
.btn--ghost:hover { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.btn--white { background: #fff; color: var(--orange-600); box-shadow: var(--shadow-md); }
.btn--white:hover { color: var(--orange-600); transform: translateY(-2px); }

/* ── Section head ────────────────────────────────────────────────────────── */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 2.6rem; }
.section-head__kicker {
  display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-500); margin-bottom: .7rem;
}
.section-head__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
.section-head__title span { color: var(--teal-500); }
.section-head__lead { color: var(--muted); font-size: 1.08rem; margin-top: .6rem; }

section { padding: clamp(3rem, 6vw, 5.5rem) 0; }

/* ============================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.site-header__logo img { height: 58px; width: auto; transition: transform .2s; }
.site-header__logo:hover img { transform: scale(1.04); }
.site-header__nav { display: flex; gap: 1.6rem; flex: 1; justify-content: center; }
.site-header__nav a { color: var(--gray-700); font-weight: 500; font-size: .95rem; }
.site-header__nav a:hover { color: var(--orange-500); }
.site-header__actions { display: flex; align-items: center; gap: .8rem; }
.site-header__call-btn {
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  background: var(--grad-warm); color: #fff; border-radius: var(--radius-pill);
  padding: .5rem 1.1rem .5rem .85rem; box-shadow: 0 6px 16px rgba(232,111,16,.32);
  transition: transform .15s, box-shadow .2s;
}
.site-header__call-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(232,111,16,.45); }
.site-header__call-ico { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.2); align-items: center; justify-content: center; }
.site-header__call-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-header__call-text small { font-size: .68rem; opacity: .9; font-weight: 500; }
.site-header__call-text strong { font-size: 1rem; font-weight: 700; }
.site-header__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.site-header__burger span { width: 26px; height: 3px; background: var(--gray-700); border-radius: 3px; transition: .3s; }
.site-header__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header__burger.is-open span:nth-child(2) { opacity: 0; }
.site-header__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.site-header__nav-mobile { display: none; flex-direction: column; padding: 0 0 1rem; gap: .2rem; }
.site-header__nav-mobile a { padding: .8rem .2rem; border-bottom: 1px solid var(--line); color: var(--gray-700); font-weight: 500; }
.site-header__nav-mobile-phone { color: var(--teal-700) !important; font-weight: 600; }
.site-header__nav-mobile-cta { margin-top: .8rem; background: var(--grad-warm); color: #fff; border: none; border-radius: var(--radius-pill); padding: .85rem; font-weight: 600; }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-tint) 0%, #ffffff 70%);
}
.hero__bg span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.hero__bg span:nth-child(1) { width: 420px; height: 420px; top: -120px; left: -80px; background: radial-gradient(circle, rgba(33,182,211,.5), transparent 70%); animation: blob1 16s ease-in-out infinite; }
.hero__bg span:nth-child(2) { width: 480px; height: 480px; top: -60px; right: -120px; background: radial-gradient(circle, rgba(232,111,16,.45), transparent 70%); animation: blob2 19s ease-in-out infinite; }
.hero__bg span:nth-child(3) { width: 360px; height: 360px; bottom: -160px; left: 35%; background: radial-gradient(circle, rgba(239,160,74,.4), transparent 70%); animation: blob3 22s ease-in-out infinite; }
@keyframes blob1 { 50% { transform: translate(60px, 40px) scale(1.15); } }
@keyframes blob2 { 50% { transform: translate(-50px, 50px) scale(1.1); } }
@keyframes blob3 { 50% { transform: translate(40px, -40px) scale(1.2); } }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
/* Variante con imagen entre el texto y el C2C (estilo Finetwork, sobrio) */
.hero--figure { padding-bottom: 0; }
.hero__grid--figure { grid-template-columns: 1fr .82fr clamp(320px, 30%, 380px); gap: 2.2rem; align-items: end; }
.hero__grid--figure .hero__content, .hero__grid--figure .hero__card { align-self: start; }
.hero__figure { display: flex; align-items: flex-end; justify-content: center; align-self: end; }
/* La imagen se baja (margin-bottom negativo) para que su base quede SIEMPRE por
   debajo de la línea del hero (recortada por overflow). Así el flotado mueve la
   cabeza pero los pies nunca se despegan → nunca aparece hueco. */
.hero__figure img { width: auto; max-width: 100%; height: auto; max-height: 520px; margin-bottom: -16px; display: block; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 12px 20px rgba(20,30,40,.16)); animation: heroFigFloat 6s ease-in-out infinite; }
@keyframes heroFigFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1080px) {
  .hero--figure { padding-bottom: clamp(3rem, 6vw, 5rem); }
  .hero__grid--figure { grid-template-columns: 1fr; align-items: center; }
  .hero__grid--figure .hero__content, .hero__grid--figure .hero__card { align-self: auto; }
  .hero__grid--figure .hero__card { order: 0; }
  .hero__figure { align-self: center; }
  .hero__figure img { height: auto; max-height: 320px; margin: 0 auto; }
}

/* Skyline SVG difuminado de fondo del hero */
.hero__skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 74%; max-height: 500px; z-index: -1; opacity: .2; filter: blur(2px); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%); mask-image: linear-gradient(180deg, transparent 0%, #000 26%); }

/* Indicador "Descubre más" */
.scroll-hint { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(12px); z-index: 80; display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; font-size: .82rem; text-decoration: none; padding: .45rem .95rem; background: rgba(0,118,141,.88); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-pill); box-shadow: 0 10px 26px -8px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease, background .2s; }
.scroll-hint.is-visible { opacity: .96; pointer-events: auto; transform: translateX(-50%) translateY(0); animation: hintBounce 2.1s ease-in-out infinite; }
.scroll-hint:hover { color: #fff; background: var(--orange-500); }
.scroll-hint__icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.16); }
@keyframes hintBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@media (max-width: 640px) { .scroll-hint { bottom: 14px; font-size: .78rem; padding: .4rem .8rem; } }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line);
  color: var(--teal-700); font-weight: 600; font-size: .85rem; padding: .4rem .9rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); margin-bottom: 1.1rem;
}
.hero__eyebrow i { color: var(--orange-500); }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
.hero__title-accent { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__title br { display: block; }
.hero__lead { font-size: 1.18rem; color: var(--muted); max-width: 520px; margin: 1.1rem 0 1.6rem; }
.hero__lead strong { color: var(--ink); }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__chips span { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); color: var(--gray-700); font-weight: 500; font-size: .85rem; padding: .45rem .9rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); animation: chipIn .5s backwards; }
.hero__chips span:nth-child(1) { animation-delay: .05s; } .hero__chips span:nth-child(2) { animation-delay: .15s; }
.hero__chips span:nth-child(3) { animation-delay: .25s; } .hero__chips span:nth-child(4) { animation-delay: .35s; }
.hero__chips i { color: var(--teal-500); }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes floatCard { 50% { transform: translateY(-12px); } }

/* Hero savings card */
.hero__card { display: flex; justify-content: center; }
.hero-savings {
  position: relative; width: 100%; max-width: 380px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.8rem 1.6rem 1.6rem; border: 1px solid var(--line);
}
.hero-savings__ribbon {
  position: absolute; top: -12px; left: 1.6rem; background: var(--grad-cool); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.hero-savings__role { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); margin: .4rem 0 1rem; }
.hero-savings__role i { color: var(--teal-500); }
.hero-savings__rows { display: grid; gap: .6rem; }
.hero-savings__row { display: flex; align-items: center; justify-content: space-between; padding: .7rem .9rem; border-radius: var(--radius); background: var(--bg-soft); }
.hero-savings__row span { display: flex; flex-direction: column; color: var(--muted); font-weight: 500; font-size: .92rem; }
.hero-savings__row span small { font-size: .72rem; color: #9a99a0; }
.hero-savings__row strong { font-size: 1.15rem; font-weight: 700; }
.hero-savings__row strong small { font-size: .68rem; font-weight: 500; color: var(--muted); }
.hero-savings__row .is-old { color: var(--gray-700); text-decoration: line-through; text-decoration-color: rgba(208,88,22,.5); }
.hero-savings__row .is-new { color: var(--teal-700); }
.hero-savings__total {
  margin-top: .8rem; background: var(--grad-warm); border-radius: var(--radius); color: #fff;
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; padding: 1rem 1.1rem;
}
.hero-savings__total span { font-weight: 500; opacity: .9; }
.hero-savings__total strong { font-size: 1.7rem; font-weight: 800; }
.hero-savings__total strong small { font-size: .8rem; font-weight: 500; opacity: .85; }
.hero-savings__total em { margin-left: auto; background: rgba(255,255,255,.22); padding: .25rem .6rem; border-radius: var(--radius-pill); font-style: normal; font-weight: 700; font-size: .82rem; }
.hero-savings__cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; color: var(--orange-500); }
.hero-savings__cta:hover { color: var(--orange-600); }

/* Hero lead-capture card */
.hero-lead { position: relative; width: 100%; max-width: 390px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 2rem 1.5rem 1.4rem; overflow: hidden; }
.hero-lead::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad-warm); }
.hero-lead { text-align: center; }
.hero-lead__badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(0,137,168,.1); color: var(--teal-700); font-size: .76rem; font-weight: 700; padding: .35rem .8rem; border-radius: var(--radius-pill); margin-bottom: 1rem; }
.hero-lead__badge i { color: var(--teal-500); }
.hero-lead__headline { font-size: clamp(1.5rem, 4vw, 1.85rem); font-weight: 800; line-height: 1.15; margin-bottom: .5rem; color: var(--ink); }
.hero-lead__headline span { color: var(--orange-500); font-size: 1.25em; }
.hero-lead__sub { font-size: .98rem; color: var(--muted); margin-bottom: 1.2rem; }
.hero-lead__sub strong { color: var(--orange-600); }
.hero-lead__form { display: flex; flex-direction: column; gap: .6rem; }
.hero-lead__input { width: 100%; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius-pill); font-family: inherit; font-size: 1.05rem; text-align: center; outline: none; transition: border-color .2s, box-shadow .2s; }
.hero-lead__input:focus { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(0,137,168,.12); }
.hero-lead__submit { width: 100%; background: var(--grad-warm); color: #fff; border: none; border-radius: var(--radius-pill); padding: 1.05rem 1.1rem; font-weight: 800; font-size: 1.1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; box-shadow: 0 8px 22px rgba(232,111,16,.45); animation: heroPulse 2s ease-in-out infinite; }
.hero-lead__submit:hover { transform: translateY(-2px); }
.hero-lead__submit:disabled { opacity: .7; cursor: wait; animation: none; }
@keyframes heroPulse { 0%,100% { box-shadow: 0 8px 22px rgba(232,111,16,.45); transform: scale(1); } 50% { box-shadow: 0 10px 30px rgba(232,111,16,.75); transform: scale(1.015); } }
.hero-lead .c2c-form__msg { margin: 0; font-size: .82rem; }
.hero-lead__consent { display: flex; align-items: center; justify-content: center; gap: .45rem; font-size: .76rem; color: var(--muted); cursor: pointer; }
.hero-lead__consent input { accent-color: var(--teal-500); flex-shrink: 0; }
.hero-lead__consent a { color: var(--teal-700); font-weight: 600; text-decoration: underline; }

/* ============================================================================
   TRUST BAR
   ========================================================================== */
.trustbar { padding: 1.6rem 0; background: var(--gray-700); color: #fff; }
.trustbar__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.trustbar__item { padding: .3rem .5rem; }
.trustbar__item strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--orange-300); }
.trustbar__item span { font-size: .88rem; opacity: .85; }

/* ============================================================================
   CALCULADORA
   ========================================================================== */
.calc { background: var(--bg-soft); }
.calc__wrap { display: grid; grid-template-columns: 1.5fr .85fr; gap: 1.8rem; align-items: start; }
.calc__roles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calc-role {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s; overflow: hidden;
}
.calc-role:hover { border-color: var(--teal-500); }
.calc-role.is-active { border-color: var(--teal-500); box-shadow: 0 8px 24px rgba(0,137,168,.16); }
.calc-role__toggle {
  width: 100%; display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem;
  background: none; border: none; text-align: left; cursor: pointer;
}
.calc-role__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--teal-500); font-size: 1.35rem; transition: background .2s, color .2s;
}
.calc-role.is-active .calc-role__icon { background: var(--grad-cool); color: #fff; }
.calc-role__titles { display: flex; flex-direction: column; gap: .15rem; flex: 1; min-width: 0; }
.calc-role__name { font-size: 1rem; font-weight: 700; color: var(--ink); }
.calc-role__save { font-size: .82rem; color: var(--muted); }
.calc-role__save strong { color: var(--orange-600); font-weight: 700; white-space: nowrap; }
.calc-role__save em { font-style: normal; color: var(--muted); }
.calc-role__add {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--teal-600, var(--teal-700)); font-size: 1rem; transition: all .2s;
}
.calc-role__add { color: var(--teal-700); }
.calc-role__add i { transition: transform .2s; }
.calc-role.is-active .calc-role__add { background: var(--grad-warm); border-color: transparent; color: #fff; }
.calc-role.is-active .calc-role__add i { transform: rotate(45deg); } /* + → × (quitar) */
.calc-role__qty {
  display: none; align-items: center; justify-content: space-between; gap: .6rem;
  padding: 0 1rem 1rem; animation: qtyIn .25s ease;
}
.calc-role.is-active .calc-role__qty { display: flex; }
.calc-role__qty-label { font-size: .82rem; color: var(--muted); font-weight: 500; }
@keyframes qtyIn { from { opacity: 0; transform: translateY(-6px); } }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; background: #fff; }
.stepper__btn { width: 34px; height: 34px; border: none; background: var(--bg-soft); color: var(--gray-700); font-size: 1.2rem; font-weight: 700; line-height: 1; display: grid; place-items: center; transition: background .15s, color .15s; }
.stepper__btn:hover { background: var(--orange-500); color: #fff; }
.stepper__input { width: 38px; text-align: center; border: none; font-weight: 700; font-size: 1rem; color: var(--ink); background: #fff; -moz-appearance: textfield; appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Resultado */
.calc-result__sticky { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 1.5rem; }
.calc-result__title { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; }
.calc-result__empty { text-align: center; color: var(--muted); padding: 1.5rem 0; }
.calc-result__empty i { font-size: 2rem; color: var(--teal-500); display: block; margin-bottom: .5rem; }
.calc-result__breakdown { display: grid; gap: .35rem; margin-bottom: 1rem; max-height: 160px; overflow-y: auto; }
.calc-result__breakdown li { display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; color: var(--muted); padding: .25rem 0; border-bottom: 1px dashed var(--line); }
.calc-result__breakdown li strong { color: var(--ink); font-weight: 600; }
.calc-result__line { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; font-size: .95rem; color: var(--muted); }
.calc-result__line strong { font-weight: 700; color: var(--gray-700); font-size: 1.1rem; }
.calc-result__line strong.is-solvo { color: var(--teal-700); }
.calc-result__big {
  margin: .6rem 0 .4rem; background: var(--grad-warm); color: #fff; border-radius: var(--radius);
  padding: 1.1rem 1.2rem; display: flex; flex-direction: column;
}
.calc-result__big span { font-weight: 500; opacity: .9; font-size: .9rem; }
.calc-result__big strong { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.calc-result__big em { font-style: normal; font-weight: 600; opacity: .9; font-size: .9rem; }
.calc-result__monthly { font-size: .85rem; color: var(--muted); margin: .7rem 0 1rem; }
.calc-result__monthly strong { color: var(--orange-600); }
.calc-result__disclaimer { font-size: .72rem; color: #9a99a0; margin: .8rem 0 0; line-height: 1.4; }
.calc__methodology { margin-top: 1.8rem; font-size: .8rem; color: var(--muted); line-height: 1.55; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.calc__methodology i { color: var(--teal-500); margin-right: .3rem; }

/* ============================================================================
   PERFILES
   ========================================================================== */
.profiles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-500); }
.profile-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-cool); color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.profile-card h3 { font-size: 1.1rem; }
.profile-card p { font-size: .86rem; color: var(--muted); margin-bottom: 1rem; }
.profile-card__save { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.profile-card__save i { color: var(--orange-500); }
.profile-card__save strong { color: var(--orange-600); }
.profiles__cta { text-align: center; margin-top: 2.2rem; }

/* ============================================================================
   CÓMO FUNCIONA — timeline sobre fondo de marca
   ========================================================================== */
.how { position: relative; background: linear-gradient(135deg, #073949 0%, #00566a 45%, #00768D 100%); color: #fff; overflow: hidden; }
.how__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.how__bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; }
.how__bg span:nth-child(1) { width: 360px; height: 360px; top: -120px; right: 8%; background: radial-gradient(circle, rgba(232,111,16,.6), transparent 70%); }
.how__bg span:nth-child(2) { width: 320px; height: 320px; bottom: -140px; left: 4%; background: radial-gradient(circle, rgba(33,182,211,.6), transparent 70%); }
.how .container { position: relative; z-index: 1; }
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; }
.timeline::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 10px, transparent 10px 18px); z-index: 0; }
.timeline__step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }
.timeline__marker { position: relative; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--teal-700); display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 28px rgba(0,0,0,.28); margin-bottom: 1.3rem; transition: transform .25s; }
.timeline__step:hover .timeline__marker { transform: translateY(-4px) scale(1.05); }
.timeline__num { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-warm); color: #fff; font-weight: 800; font-size: .82rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.timeline__card { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.2rem 1.1rem; backdrop-filter: blur(4px); width: 100%; }
.timeline__card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .4rem; }
.timeline__card p { color: rgba(255,255,255,.85); font-size: .88rem; margin: 0; line-height: 1.5; }
.timeline__card strong { color: var(--orange-300); }
.timeline__step:nth-child(2) { transition-delay: .1s; }
.timeline__step:nth-child(3) { transition-delay: .2s; }
.timeline__step:nth-child(4) { transition-delay: .3s; }
.how__cta { text-align: center; margin-top: 2.4rem; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; padding-left: 8px; }
  .timeline::before { top: 0; bottom: 0; left: 33px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.4) 0 10px, transparent 10px 18px); }
  .timeline__step { flex-direction: row; align-items: flex-start; text-align: left; gap: 1rem; padding-bottom: 1.4rem; }
  .timeline__marker { width: 56px; height: 56px; font-size: 1.4rem; margin-bottom: 0; flex-shrink: 0; }
}

/* ============================================================================
   POR QUÉ SOLVO
   ========================================================================== */
.why { background: var(--bg-soft); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-warm); color: #fff; font-size: 1.6rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.15rem; }
.why-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ============================================================================
   OPINIONES — muro parallax (estilo reviews-wall)
   ========================================================================== */
.reviews-wall { overflow: hidden; background: var(--bg-soft); }
.reviews-wall .section-head { margin-bottom: 1.5rem; }
.reviews-wall__viewport {
  position: relative; height: 540px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.reviews-wall__list { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.review {
  position: absolute; top: 0; left: 0; width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem 1.1rem; box-shadow: var(--shadow-sm);
  will-change: transform, opacity, filter; transition: filter .3s ease, opacity .3s ease, box-shadow .3s ease;
}
.review__stars { color: var(--orange-500); font-size: 1.05rem; letter-spacing: .12em; margin-bottom: .6rem; }
.review__text { font-size: .92rem; color: var(--ink); font-weight: 500; line-height: 1.5; margin-bottom: .9rem; }
.review__who { display: flex; align-items: center; gap: .7rem; margin-top: .3rem; }
.review__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-cool); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; flex-shrink: 0; line-height: 1; }
.review__name { font-weight: 700; color: var(--ink); font-size: .88rem; line-height: 1.2; }
.reviews-wall__list .review:hover { filter: none !important; z-index: 99 !important; opacity: 1 !important; box-shadow: var(--shadow-lg); cursor: default; }
.reviews-wall__viewport.is-static { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.reviews-wall__viewport.is-static .reviews-wall__list { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; width: min(1100px, 92vw); margin-inline: auto; }
.reviews-wall__viewport.is-static .review { position: static; width: auto; opacity: 1 !important; filter: none !important; transform: none !important; }
.reviews-wall__note { text-align: center; font-size: .78rem; color: #9a99a0; margin-top: 1.6rem; }
@media (max-width: 900px) {
  .reviews-wall__viewport { height: 470px; }
  .reviews-wall__viewport.is-static .reviews-wall__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .reviews-wall__viewport { height: 430px; }
  .reviews-wall__viewport.is-static .reviews-wall__list { grid-template-columns: 1fr; }
  .review { width: 250px; }
}

/* ============================================================================
   CTA BAND
   ========================================================================== */
.cta-band { background: var(--grad-brand); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band__text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band__text p { margin: 0; opacity: .92; }

/* ============================================================================
   FAQ
   ========================================================================== */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: var(--teal-500); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 600; cursor: pointer; list-style: none; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--orange-500); font-size: 1.2rem; transition: transform .25s; flex-shrink: 0; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 1.3rem 1.2rem; }
.faq__answer p { margin: 0; color: var(--muted); }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--gray-700); color: #d9d8db; padding: 3rem 0 1.5rem; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer__logo { height: 48px; width: auto; margin-bottom: 1rem; }
.site-footer__tagline { font-size: .88rem; opacity: .8; max-width: 320px; }
.site-footer__links-group h4, .site-footer__contact h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer__links-group a { display: block; color: #d9d8db; font-size: .88rem; padding: .25rem 0; }
.site-footer__links-group a:hover { color: var(--orange-300); }
.site-footer__contact a, .site-footer__city { display: flex; align-items: center; gap: .5rem; color: #d9d8db; font-size: .9rem; padding: .25rem 0; }
.site-footer__contact a:hover { color: var(--orange-300); }
.site-footer__contact i { color: var(--orange-300); }
.site-footer__legal-block { padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer__privacy-notice { font-size: .78rem; opacity: .7; margin: 0; line-height: 1.6; }
.site-footer__privacy-notice a { color: var(--orange-300); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.3rem; }
.site-footer__copy { font-size: .8rem; opacity: .7; margin: 0; }
.site-footer__legal { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.site-footer__legal a { color: #d9d8db; font-size: .8rem; cursor: pointer; }
.site-footer__legal a:hover { color: var(--orange-300); }
.site-footer__legal span { opacity: .4; }

/* ============================================================================
   MODALES
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-start; justify-content: center; padding: 4vh 16px; overflow-y: auto; }
.modal.is-open { display: flex; }
.modal__overlay { position: fixed; inset: 0; background: rgba(20,30,40,.55); backdrop-filter: blur(3px); animation: fadeIn .2s; }
.modal__dialog { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 620px; padding: 2rem; animation: popIn .25s; z-index: 1; margin: auto; }
.modal--legal .modal__dialog { max-width: 720px; }
.modal__close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--bg-soft); color: var(--gray-700); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s; }
.modal__close:hover { background: var(--orange-500); color: #fff; }
.modal__head { text-align: center; margin-bottom: 1.3rem; }
.modal__eyebrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--teal-700); font-weight: 600; font-size: .82rem; margin-bottom: .6rem; }
.modal__eyebrow i { color: var(--orange-500); }
.modal__title { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; }
.modal__sub { color: var(--muted); font-size: .95rem; margin: .4rem 0 0; }
.modal__savings-banner { display: flex; align-items: center; gap: .6rem; background: var(--bg-tint); border: 1px solid rgba(0,137,168,.2); border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: 1.2rem; font-size: .92rem; color: var(--teal-700); }
.modal__savings-banner i { color: var(--orange-500); font-size: 1.3rem; }
.modal__savings-banner strong { color: var(--orange-600); font-size: 1.05rem; }

/* Lead form */
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(0,137,168,.12); }
.field textarea { resize: vertical; }
.field.has-error input, .field.has-error select { border-color: #e2493a; }
.field__error { color: #e2493a; font-size: .78rem; min-height: 0; }
.consent-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--muted); margin: .4rem 0; cursor: pointer; }
.consent-check input { margin-top: .2rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--teal-500); }
.consent-check a { color: var(--teal-700); font-weight: 600; text-decoration: underline; }
.lead-form__submit { width: 100%; margin-top: 1rem; background: var(--grad-warm); color: #fff; border: none; border-radius: var(--radius-pill); padding: 1rem; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; gap: .6rem; box-shadow: 0 8px 22px rgba(232,111,16,.35); transition: transform .15s, box-shadow .2s; }
.lead-form__submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232,111,16,.45); }
.lead-form__submit:disabled { opacity: .7; cursor: wait; transform: none; }
.lead-form__submit-spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.lead-form.is-loading .lead-form__submit-spinner { display: inline-block; }
.lead-form.is-loading .lead-form__submit-text { opacity: .85; }
.lead-form__note { text-align: center; font-size: .78rem; color: var(--muted); margin: .8rem 0 0; }
.lead-form__note i { color: var(--teal-500); }

/* Modal success */
.modal__success { text-align: center; padding: 2rem 1rem; }
.modal__success-icon { width: 76px; height: 76px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--grad-cool); color: #fff; font-size: 2.6rem; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.modal__success h2 { font-size: 1.6rem; }
.modal__success p { color: var(--muted); }
.modal__success-ref { font-size: .9rem; }
.modal__success-ref strong { color: var(--teal-700); }
.modal__success-btn { margin-top: 1rem; background: var(--grad-warm); color: #fff; border: none; border-radius: var(--radius-pill); padding: .8rem 2rem; font-weight: 600; }

/* Modal legal */
.modal__legal-content { max-height: 72vh; overflow-y: auto; padding-right: .5rem; }
.modal__legal-content h2 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--orange-500); }
.modal__legal-content h3 { font-size: 1.05rem; margin: 1.3rem 0 .4rem; color: var(--teal-700); }
.modal__legal-content p, .modal__legal-content li { color: var(--muted); font-size: .92rem; }
.modal__legal-content ul { list-style: disc; padding-left: 1.2rem; margin-bottom: 1rem; }
.modal__legal-version { margin-top: 1.5rem; font-size: .8rem; color: #9a99a0; }

/* ============================================================================
   STICKY CTA
   ========================================================================== */
.sticky-cta {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); z-index: 90;
  width: min(720px, calc(100% - 32px)); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); padding: .6rem .6rem .6rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: transform .4s ease;
}
.sticky-cta.is-visible { transform: translate(-50%, 0); }
.sticky-cta__text { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-cta__text strong { font-size: .98rem; color: var(--ink); }
.sticky-cta__text span { font-size: .8rem; color: var(--muted); }
.sticky-cta__actions { display: flex; align-items: center; gap: .5rem; }
.sticky-cta__calc { display: inline-flex; align-items: center; gap: .4rem; color: var(--teal-700); font-weight: 600; font-size: .9rem; padding: .5rem .8rem; }
.sticky-cta__btn { background: var(--grad-warm); color: #fff; border: none; border-radius: var(--radius-pill); padding: .75rem 1.3rem; font-weight: 600; font-size: .92rem; white-space: nowrap; box-shadow: 0 6px 16px rgba(232,111,16,.3); }

/* ============================================================================
   FLOAT WIDGET (Te llamamos gratis)
   ========================================================================== */
.float-widget { position: fixed; right: 18px; bottom: 18px; z-index: 95; }
.float-widget__buttons { display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border-radius: var(--radius-pill); padding: 7px; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(20,30,40,.18); animation: floatGlow 2.8s ease-in-out infinite; }
@keyframes floatGlow { 0%,100% { box-shadow: 0 10px 28px rgba(20,30,40,.18); } 50% { box-shadow: 0 10px 30px rgba(232,111,16,.32), 0 6px 16px rgba(20,30,40,.12); } }
.float-widget__btn { width: 54px; height: 54px; border-radius: 50%; border: none; display: grid; place-items: center; position: relative; transition: transform .2s; background: transparent; cursor: pointer; }
.float-widget__btn:hover { transform: scale(1.08); }
.float-widget__btn svg { width: 26px; height: 26px; }
.float-widget__btn--phone { background: var(--grad-warm); color: #fff; }
.float-widget__btn--wa { background: #25D366; color: #fff; }
.float-widget__btn[data-tooltip]::after { content: attr(data-tooltip); position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: .75rem; white-space: nowrap; padding: .35rem .7rem; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.float-widget__btn[data-tooltip]:hover::after { opacity: 1; }
.float-widget__panel { position: absolute; right: 0; bottom: 70px; width: 280px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.3rem; display: none; }
.float-widget__panel.is-open { display: block; animation: popIn .25s; }
.float-widget__panel-close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 1.4rem; color: var(--muted); }
.float-widget__panel-title { font-weight: 700; margin-bottom: .8rem; }
.float-widget__panel-title strong { color: var(--orange-500); }
.float-widget__input { width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; margin-bottom: .5rem; }
.float-widget__input:focus { outline: none; border-color: var(--teal-500); }
.c2c-form__msg { font-size: .8rem; margin: 0 0 .5rem; min-height: 1em; }
.c2c-form__msg.is-error { color: #e2493a; }
.c2c-form__msg.is-ok { color: #1c9a5e; }
.float-widget__check { display: flex; align-items: flex-start; gap: .45rem; font-size: .78rem; color: var(--muted); margin-bottom: .7rem; }
.float-widget__check input { margin-top: .15rem; accent-color: var(--teal-500); }
.float-widget__check span { color: var(--teal-700); text-decoration: underline; cursor: pointer; }
.float-widget__submit { width: 100%; background: var(--grad-warm); color: #fff; border: none; border-radius: var(--radius-pill); padding: .8rem; font-weight: 700; }
.float-widget__submit:disabled { opacity: .7; cursor: wait; }

/* ── Back to top ─────────────────────────────────────────────────────────── */
.back-to-top { position: fixed; left: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--gray-700); color: #fff; font-size: 1.2rem; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--orange-500); }

/* ── Animaciones ─────────────────────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .site-header__nav { display: none; }
  .site-header__burger { display: flex; }
  .site-header__cta { display: none; }
  .site-header.is-menu-open .site-header__nav-mobile { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__card { order: -1; }
  .hero-savings { max-width: 440px; }
  .calc__wrap { grid-template-columns: 1fr; }
  .calc-result__sticky { position: static; }
  .profiles__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .how__arrow { display: none; }
}
/* ============================================================================
   CARRUSEL GENÉRICO
   ========================================================================== */
.carousel { position: relative; padding: 0 0 2.5rem; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: 1.1rem; transition: transform .5s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.carousel__item { flex: 0 0 auto; }
.carousel__arrow { position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--teal-700); font-size: 1.25rem; display: grid; place-items: center; box-shadow: var(--shadow-md); transition: background .2s, color .2s, opacity .2s; }
.carousel__arrow:hover { background: var(--orange-500); color: #fff; border-color: var(--orange-500); }
.carousel__arrow--prev { left: -8px; } .carousel__arrow--next { right: -8px; }
.carousel__arrow[disabled] { opacity: .35; cursor: default; }
.carousel__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.carousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); transition: background .2s, width .2s; cursor: pointer; }
.carousel__dots button.is-active { background: var(--orange-500); width: 26px; border-radius: var(--radius-pill); }
.profile-card__cta { margin-top: 1rem; width: 100%; background: transparent; border: 1.5px solid var(--teal-500); color: var(--teal-700); border-radius: var(--radius-pill); padding: .6rem 1rem; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; transition: background .2s, color .2s, gap .2s; }
.profile-card__cta:hover { background: var(--teal-700); color: #fff; gap: .7rem; }
.profiles .profile-card, .why .why-card { height: 100%; }

/* ============================================================================
   GALERÍA DE TALENTO (marquee 3D)
   ========================================================================== */
.talent { overflow: hidden; }
.talent-stage { overflow: hidden; padding: 1.5rem 0 2rem; perspective: 1400px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.talent-marquee { display: flex; gap: 1.4rem; width: max-content; animation: marquee 32s linear infinite; transform-style: preserve-3d; }
.talent-stage:hover .talent-marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.talent-card { flex: 0 0 auto; width: 240px; border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-md); transform: rotateY(8deg) scale(.96); transition: transform .35s ease, box-shadow .35s ease; background: var(--bg-soft); }
.talent-card:hover { transform: rotateY(0) scale(1.04); box-shadow: var(--shadow-lg); z-index: 2; }
.talent-card img { width: 100%; height: 300px; object-fit: cover; display: block; }
.talent-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .8rem; background: linear-gradient(180deg, transparent, rgba(20,30,40,.78)); color: #fff; }
.talent-card figcaption strong { display: block; font-size: .98rem; }
.talent-card figcaption span { font-size: .78rem; opacity: .85; }
.talent__cta { text-align: center; margin-top: 1.5rem; }

/* ============================================================================
   MAPA DE PRESENCIA (globo SVG)
   ========================================================================== */
.worldmap { background: linear-gradient(135deg, #073949 0%, #00566a 45%, #00768D 100%); color: #fff; position: relative; overflow: hidden; }
.section-head--light .section-head__title, .section-head--light .section-head__lead { color: #fff; }
.section-head--light .section-head__title span { color: var(--orange-300); }
.section-head--light .section-head__kicker { color: var(--orange-300); }
.worldmap__layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1.8rem; align-items: center; }
/* ── Globo SVG ── */
.worldmap__globe { width: 100%; min-height: 460px; display: grid; place-items: center; }
.worldmap__globe.is-failed::before { content: 'No se pudo cargar el globo.'; color: rgba(255,255,255,.6); font-size: .9rem; }
.globe__svg { width: min(100%, 540px); height: auto; overflow: visible; cursor: grab; touch-action: none; filter: drop-shadow(0 24px 48px rgba(0,0,0,.35)); }
.globe__svg.is-grabbing { cursor: grabbing; }
.globe__halo { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 3; }
.globe__ocean { stroke: rgba(255,255,255,.28); stroke-width: 1; }
.globe__graticule { fill: none; stroke: var(--globe-grid, rgba(255,255,255,.20)); stroke-width: .6; }
.globe__land { fill: var(--globe-land, #f3f7f6); stroke: var(--globe-land-stroke, rgba(0,80,98,.35)); stroke-width: .4; }
.globe__sheen { pointer-events: none; }
.globe__marker-dot { fill: #fff; }
.globe__marker-pulse { transform-box: fill-box; transform-origin: center; animation: globePulse 1.8s ease-out infinite; }
.globe__marker--office .globe__marker-pulse, .globe__marker--office .globe__marker-dot { fill: var(--orange-500); }
.globe__marker--market .globe__marker-pulse, .globe__marker--market .globe__marker-dot { fill: var(--cyan-400); }
.globe__marker--office .globe__marker-dot { stroke: #fff; stroke-width: 1.2; }
.globe__marker--market .globe__marker-dot { stroke: #fff; stroke-width: 1; }
.globe__marker.is-back { opacity: 0; pointer-events: none; }
.globe__marker { transition: opacity .25s; }
@keyframes globePulse { 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(2.6); opacity: 0; } }
.worldmap__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.worldstat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.2rem 1rem; text-align: center; backdrop-filter: blur(4px); }
.worldstat i { font-size: 1.5rem; color: var(--orange-300); }
.worldstat strong { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.1; margin: .3rem 0 .1rem; }
.worldstat span { font-size: .82rem; opacity: .85; }
.worldmap__note { text-align: center; font-size: .76rem; opacity: .65; margin: 1.6rem 0 0; }

@media (max-width: 980px) {
  .worldmap__layout { grid-template-columns: 1fr; }
  .worldmap__globe { min-height: 340px; order: 2; }
  .worldmap__stats { order: 1; grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .worldmap__stats { grid-template-columns: 1fr 1fr; }
  .talent-card { width: 190px; } .talent-card img { height: 240px; }
  .carousel__arrow { display: none; }
  .trustbar__items { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .calc__roles { grid-template-columns: 1fr; }
  .profiles__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .modal__dialog { padding: 1.5rem 1.2rem; }
  .sticky-cta { padding: .5rem .5rem .5rem 1rem; }
  .sticky-cta__text span { display: none; }
  .sticky-cta__calc { display: none; }
  .hero__cta-row .btn { width: 100%; }
  .testimonial-btn--prev { left: -4px; }
  .testimonial-btn--next { right: -4px; }
}

/* ============================================================================
   CHATBOT IA · Valentina
   ========================================================================== */
.chatbot { position: fixed; bottom: 24px; right: 24px; width: 360px; max-width: calc(100vw - 32px); max-height: 560px; background: #fff; border-radius: 20px; box-shadow: 0 18px 56px rgba(20,30,40,.30); z-index: 260; display: none; flex-direction: column; overflow: hidden; }
.chatbot.is-open { display: flex; animation: popIn .25s ease; }
@media (max-width: 991px) { .chatbot { bottom: 18px; right: 14px; } }
@media (max-width: 480px) { .chatbot { bottom: 0; right: 0; left: 0; width: 100%; max-width: 100%; max-height: 90vh; border-radius: 20px 20px 0 0; } }

.chatbot__header { background: var(--grad-cool); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.chatbot__header-info { display: flex; align-items: center; gap: 10px; }
.chatbot__avatar { width: 44px; height: 44px; background: rgba(255,255,255,.22); border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 2px solid rgba(255,255,255,.55); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.chatbot__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chatbot__name { display: block; font-weight: 800; font-size: 15px; color: #fff; }
.chatbot__status { display: block; font-size: 12px; opacity: .9; }
.chatbot__close { background: rgba(255,255,255,.18); border: 0; border-radius: 50%; width: 30px; height: 30px; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chatbot__close:hover { background: rgba(255,255,255,.32); }

.chatbot__messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); min-height: 240px; max-height: 400px; }
.chatbot__msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; animation: chatFade .3s ease; }
@keyframes chatFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chatbot__msg--bot { background: #fff; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 4px rgba(20,30,40,.08); }
.chatbot__msg--user { background: var(--teal-700); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chatbot__msg a { color: inherit; text-decoration: underline; }

.chatbot__typing { display: flex; gap: 4px; padding: 12px 14px; align-self: flex-start; background: #fff; border-radius: 16px; border-bottom-left-radius: 4px; box-shadow: 0 1px 4px rgba(20,30,40,.08); }
.chatbot__typing span { width: 8px; height: 8px; background: #bbb; border-radius: 50%; animation: typingDot 1.2s infinite; }
.chatbot__typing span:nth-child(2) { animation-delay: .2s; }
.chatbot__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%,100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

.chatbot__compose { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; background: #fff; border-top: 1px solid var(--line); }
.chatbot__compose-input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--bg-soft); padding: .6rem .85rem; border-radius: 999px; font: inherit; font-size: 14px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.chatbot__compose-input:focus { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(0,137,168,.12); background: #fff; }
.chatbot__compose-input:disabled { opacity: .6; cursor: wait; }
.chatbot__compose-send { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--grad-warm); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s, box-shadow .15s; box-shadow: 0 4px 12px -4px rgba(232,111,16,.45); }
.chatbot__compose-send:hover { transform: translateY(-1px); }
.chatbot__compose-foot { margin: 0; padding: .1rem .9rem .55rem; font-size: 11px; color: var(--muted); background: #fff; }

.chatbot__fallback { display: flex; flex-direction: column; gap: .45rem; margin: .6rem 0 .2rem; align-self: stretch; width: 100%; }
.chatbot__fallback-btn { background: #fff; border: 1.5px solid var(--teal-500); color: var(--teal-700); font-weight: 700; font-size: 14px; padding: .7rem .9rem; border-radius: 12px; cursor: pointer; text-align: left; transition: background .15s, transform .1s; }
.chatbot__fallback-btn:hover { background: var(--bg-soft); transform: translateY(-1px); }

.chatbot__input-area { padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.chatbot__privacy { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.4; }
.chatbot__privacy input { margin-top: 3px; accent-color: var(--teal-500); flex-shrink: 0; }
.chatbot__privacy-link { color: var(--teal-700); text-decoration: underline; cursor: pointer; }
.chatbot__privacy--error { color: #e2493a; }
.chatbot__privacy--error input { outline: 2px solid #e2493a; outline-offset: 2px; }
.chatbot__send-btn { width: 100%; padding: 12px; background: var(--grad-warm); color: #fff; border: 0; border-radius: 12px; font-size: 15px; font-weight: 800; cursor: pointer; transition: filter .2s, transform .15s; }
.chatbot__send-btn:hover { filter: brightness(1.05); }
.chatbot__send-btn:disabled { opacity: .55; cursor: wait; }

/* Botón de chat en el widget flotante (avatar de Valentina) */
.float-widget__btn--chat { background: #fff; padding: 0; overflow: visible; }
.float-widget__btn--chat img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top center; }
.float-widget__online { position: absolute; bottom: 1px; right: 1px; width: 13px; height: 13px; border-radius: 50%; background: #25D366; border: 2.5px solid #fff; }
