/* ==========================================================================
   Internet Connection S.R.L. — Sitio web
   Paleta derivada del logo (azul marino #0D2853) · Tema claro por defecto + modo oscuro
   ========================================================================== */

:root {
  /* Marca */
  --navy-950: #07142e;
  --navy-900: #0d2853; /* color del logo */
  --navy-800: #12336b;
  --navy-700: #1a4488;
  --blue-600: #1c5fd4;
  --blue-500: #2f7bf5;
  --blue-400: #5c9bff;
  --sky-300: #a9c8ff;
  --sky-200: #cfe0ff;
  --sky-100: #e5eeff;
  --sky-50: #f1f5fd;

  /* Acentos puntuales */
  --gold-500: #ffb526;
  --gold-100: #fff3d6;
  --green-wa: #25d366;
  --green-wa-ink: #063b1e;
  --ok: #12925a;
  --warn: #c9462f;

  /* Superficies y texto */
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #0d2853;
  --text: #43506b;
  --muted: #5f6b85;
  --line: #dce4f2;

  /* Tipografía */
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  /* Forma */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 2px 8px -2px rgba(13, 40, 83, 0.08);
  --shadow-md: 0 18px 40px -18px rgba(13, 40, 83, 0.28);
  --shadow-lg: 0 40px 80px -32px rgba(13, 40, 83, 0.38);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 76px;

  /* Semánticas: cambian con el tema */
  color-scheme: light;
  --primary: var(--navy-900);
  --primary-hover: var(--blue-600);
  --accent-bg: var(--blue-600);
  --tint-200: var(--sky-200);
  --tint-300: var(--sky-300);
  --header-bg: rgba(255, 255, 255, 0.86);
  --gold-ink: #a56a00;
  --promo-border: #f6dc9c;
  --ok-bg: #dcf8e7;
  --ok-ink: #0b5c31;
  --bad-bg: #fde7e2;
  --bad-ink: #8f2c1b;
}

/* ---------- Tema oscuro ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070f22;
  --surface: #0e1a36;
  --ink: #eef3ff;
  --text: #b6c2dc;
  --muted: #8794b3;
  --line: #22335a;
  --sky-50: #0b1630;
  --sky-100: #172a52;
  --tint-200: #1b3160;
  --tint-300: #3a5590;
  --blue-600: #6aa5ff; /* acento de texto e iconos sobre fondo oscuro */
  --primary: #2a6fe0;
  --primary-hover: #4d8dff;
  --accent-bg: #2a6fe0;
  --header-bg: rgba(8, 16, 36, 0.86);
  --gold-100: rgba(255, 181, 38, 0.16);
  --gold-ink: #ffc85c;
  --promo-border: rgba(255, 181, 38, 0.35);
  --ok: #3ad08b;
  --warn: #ff8a73;
  --ok-bg: rgba(37, 211, 102, 0.16);
  --ok-ink: #7be3ac;
  --bad-bg: rgba(255, 138, 115, 0.16);
  --bad-ink: #ffab9b;
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, 0.8);
}
:root[data-theme="dark"] .plan--featured,
:root[data-theme="dark"] .plan--featured:hover { border-color: rgba(92, 155, 255, 0.35); }
:root[data-theme="dark"] .footer { border-top: 1px solid var(--line); }
:root[data-theme="dark"] .map iframe { filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.9); }

/* Transición al cambiar de tema */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, fill 0.4s ease, stroke 0.4s ease !important;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

/* Guiño al logo: palabra fina + palabra pesada en cursiva */
.thin { font-weight: 300; font-style: italic; letter-spacing: -0.03em; }
.heavy { font-weight: 900; font-style: italic; color: var(--blue-600); }

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

.container { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.section--tint { background: var(--sky-50); }
.section--white { background: var(--surface); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy-900); color: #fff; padding: 0.7rem 1rem; border-radius: 10px; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }

/* Estado inicial de las animaciones (solo si hay JS + GSAP) */
.js [data-reveal],
.js [data-hero],
.js .hero .float-card { opacity: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.55rem; border-radius: 999px; border: 2px solid transparent; background: none;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; line-height: 1;
  cursor: pointer; white-space: nowrap; text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn i { font-size: 1.25em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 12px 26px -12px rgba(13, 40, 83, 0.7); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--wa { background: var(--green-wa); color: var(--green-wa-ink); box-shadow: 0 12px 26px -14px rgba(18, 140, 75, 0.9); }
.btn--wa:hover { background: #1fbe5a; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: #e5eeff; }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--sm { padding: 0.72rem 1.2rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--blue-600); }
.link-arrow i { transition: transform 0.3s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Encabezados de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: var(--sky-100); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.eyebrow i { font-size: 1.1rem; color: var(--blue-600); }
.eyebrow--dark { background: rgba(255, 255, 255, 0.12); color: #fff; }
.eyebrow--dark i { color: var(--sky-300); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 40rem; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-900); color: var(--sky-200); font-size: 0.85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__list { display: flex; align-items: center; gap: 1.5rem; }
.topbar__list li, .topbar__list a { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__list i { font-size: 1.05rem; color: var(--sky-300); }
.topbar a:hover { color: #fff; }
.topbar__socials { gap: 0.15rem; }
.topbar__socials a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; transition: background-color 0.2s, color 0.2s; }
.topbar__socials a:hover { background: rgba(255, 255, 255, 0.1); }
.topbar__socials a:hover i { color: #fff; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.is-open .status-dot { background: #3ce28a; box-shadow: 0 0 0 4px rgba(60, 226, 138, 0.2); }
.is-closed .status-dot { background: #ff8a73; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 80;
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow 0.3s, border-color 0.3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(13, 40, 83, 0.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand img { height: 40px; width: auto; }
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }

/* Interruptor claro / oscuro */
.theme-switch { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 999px; display: grid; place-items: center; flex: none; }
.theme-switch__track {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  width: 64px; height: 34px; padding: 0 8px; border-radius: 999px;
  background: var(--sky-100); border: 1px solid var(--line); font-size: 1rem; line-height: 1;
  transition: background-color 0.3s, border-color 0.3s;
}
.theme-switch__track i { position: relative; z-index: 1; color: var(--muted); transition: color 0.3s; }
.theme-switch__thumb {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), background-color 0.3s;
}
.theme-switch .ph-sun { color: #fff; }
.theme-switch:hover .theme-switch__track { border-color: var(--tint-300); }
:root[data-theme="dark"] .theme-switch__thumb { transform: translateX(30px); }
:root[data-theme="dark"] .theme-switch .ph-sun { color: var(--muted); }
:root[data-theme="dark"] .theme-switch .ph-moon { color: #fff; }
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  position: relative; padding: 0.6rem 1rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  transition: background-color 0.25s, color 0.25s;
}
.nav__link:hover { background: var(--sky-100); }
.nav__link.is-active { background: var(--primary); color: #fff; }
.nav__extra { display: none; }
/* Modo oscuro dentro del menú móvil */
.nav__theme {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.nav__theme span { display: inline-flex; align-items: center; gap: 0.55rem; }
.nav__theme span i { font-size: 1.25rem; color: var(--blue-600); }
.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 1.5rem; cursor: pointer; place-items: center;
}

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative; overflow: clip;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 7vw, 6.5rem);
  background:
    radial-gradient(58rem 30rem at 92% -8%, var(--tint-200), transparent 62%),
    radial-gradient(42rem 26rem at -12% 108%, var(--sky-100), transparent 60%),
    var(--bg);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero h1 .thin { display: block; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 34rem; margin-bottom: 1.8rem; }
.hero__lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__trust i { color: var(--blue-600); font-size: 1.25rem; }

.hero__media { position: relative; }
.hero__photo {
  position: relative; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 130px; overflow: hidden;
  aspect-ratio: 5 / 5.4; box-shadow: var(--shadow-lg); background: var(--tint-200);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(13, 40, 83, 0.45)); }

.arcs { position: absolute; color: var(--ink); pointer-events: none; }
.arcs path { fill: none; stroke: currentColor; stroke-linecap: round; }
.hero__arcs { width: 170px; top: -46px; right: -34px; opacity: 0.9; }
.hero__arcs path:last-child { stroke: var(--blue-500); }

.float-card {
  position: absolute; z-index: 2; background: var(--surface); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.gauge-card { left: -2.2rem; bottom: 2.4rem; width: 214px; padding: 0.95rem 1rem 0.85rem; }
.gauge-card__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.gauge-tabs { display: inline-flex; background: var(--sky-50); border-radius: 999px; padding: 3px; }
.gauge-tabs button { border: 0; background: transparent; border-radius: 999px; padding: 0.22rem 0.6rem; font-family: var(--font-head); font-weight: 800; font-size: 0.75rem; color: var(--muted); cursor: pointer; }
.gauge-tabs button.is-active { background: var(--primary); color: #fff; }
.gauge { position: relative; margin-top: 0.35rem; }
.gauge svg { display: block; width: 100%; height: auto; }
.gauge__track { fill: none; stroke: var(--sky-100); stroke-width: 12; stroke-linecap: round; }
.gauge__bar { fill: none; stroke: url(#gaugeGrad); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.gauge__value { position: absolute; inset: auto 0 0 0; text-align: center; font-family: var(--font-head); line-height: 1; }
.gauge__value strong { font-size: 2.1rem; font-weight: 900; font-style: italic; color: var(--ink); }
.gauge__value span { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 0.15rem; }

.promo-card { right: -1.2rem; top: 2.2rem; padding: 0.8rem 1rem; display: flex; align-items: center; gap: 0.75rem; max-width: 240px; }
.promo-card__icon { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-ink); font-size: 1.5rem; }
.promo-card strong { display: block; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 0.95rem; line-height: 1.2; }
.promo-card span { font-size: 0.8rem; color: var(--muted); line-height: 1.3; display: block; }

.price-card { right: 1.4rem; bottom: -1.4rem; padding: 0.75rem 1.1rem; background: var(--navy-900); border-color: transparent; color: var(--sky-200); font-size: 0.8rem; line-height: 1.25; }
.price-card strong { display: block; font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 1.35rem; color: #fff; }

/* ---------- Cinta en movimiento ---------- */
.marquee { background: var(--navy-900); color: #fff; overflow: hidden; padding-block: 1rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span { display: inline-flex; align-items: center; gap: 0.6rem; padding-inline: 1.6rem; font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: 1rem; white-space: nowrap; }
.marquee__group i { color: var(--blue-400); font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 900px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--tint-300); }
.plan__tag { align-self: flex-start; font-family: var(--font-head); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); background: var(--sky-100); padding: 0.35rem 0.8rem; border-radius: 999px; }
.plan__speed { display: flex; align-items: flex-end; gap: 0.6rem; margin: 1.2rem 0 0.6rem; font-family: var(--font-head); color: var(--ink); }
.plan__speed strong { font-size: clamp(4rem, 8vw, 5.5rem); font-weight: 900; font-style: italic; line-height: 0.85; letter-spacing: -0.05em; }
.plan__speed span { font-weight: 800; font-size: 1.35rem; line-height: 1.05; padding-bottom: 0.2rem; }
.plan__speed small { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.plan__desc { color: var(--muted); font-size: 1rem; margin-bottom: 1.3rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.3rem; font-family: var(--font-head); color: var(--ink); padding-block: 1.1rem; border-block: 1px dashed var(--line); margin-bottom: 1.3rem; }
.plan__price .cur { font-weight: 700; font-size: 1.05rem; }
.plan__price strong { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__price .per { font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.plan__list { display: grid; gap: 0.7rem; margin-bottom: 1.8rem; font-size: 1rem; }
.plan__list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.plan__list i { color: var(--blue-600); font-size: 1.3rem; flex: none; margin-top: 0.12rem; }
.plan__list .gift { color: var(--gold-ink); }
.plan .btn { margin-top: auto; }

.plan--featured { background: linear-gradient(160deg, var(--navy-800), var(--navy-900) 55%, var(--navy-950)); border-color: transparent; color: var(--sky-200); box-shadow: var(--shadow-md); overflow: hidden; }
.plan--featured::before { content: ""; position: absolute; width: 380px; height: 380px; right: -150px; top: -170px; border-radius: 50%; border: 46px solid rgba(92, 155, 255, 0.14); }
.plan--featured > * { position: relative; }
.plan--featured .plan__tag { background: var(--gold-500); color: #3d2a00; }
.plan--featured .plan__speed, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__speed small, .plan--featured .plan__desc, .plan--featured .plan__price .per { color: var(--sky-300); }
.plan--featured .plan__price { border-color: rgba(255, 255, 255, 0.18); }
.plan--featured .plan__list i { color: var(--blue-400); }
.plan--featured .plan__list .gift { color: var(--gold-500); }
.plan--featured:hover { border-color: transparent; }
.plan__ribbon { position: absolute; top: 1.5rem; right: 1.5rem; display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; color: #fff; background: rgba(255, 255, 255, 0.14); padding: 0.35rem 0.75rem; border-radius: 999px; }

.plans-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 1.6rem auto 0; max-width: 44rem; }

/* Banner de promoción */
.promo-banner {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: space-between;
  background: linear-gradient(100deg, var(--gold-100), var(--surface) 70%); border: 1px solid var(--promo-border);
  border-radius: var(--r-md); padding: 1.1rem 1.4rem; max-width: 900px; margin: 0 auto 1.8rem;
}
.promo-banner__text { display: flex; align-items: center; gap: 0.9rem; }
.promo-banner__text i { font-size: 2rem; color: var(--gold-ink); flex: none; }
.promo-banner strong { font-family: var(--font-head); font-weight: 800; color: var(--ink); display: block; line-height: 1.25; }
.promo-banner span { font-size: 0.92rem; color: var(--text); }

/* ---------- Beneficios ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--tint-300); }
.feature__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.75rem; background: var(--sky-100); color: var(--blue-600); margin-bottom: 1.1rem; transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.feature:hover .feature__icon { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.feature h3 { margin-bottom: 0.4rem; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Usos ---------- */
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.use { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-900); color: #fff; isolation: isolate; }
.use img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.use::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 20, 46, 0.05) 30%, rgba(7, 20, 46, 0.92)); }
.use:hover img { transform: scale(1.08); }
.use__body { position: absolute; inset: auto 0 0 0; padding: 1.4rem; }
.use__icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 0.8rem; }
.use h3 { color: #fff; margin-bottom: 0.3rem; }
.use p { margin: 0 0 0.8rem; font-size: 0.95rem; color: var(--sky-200); line-height: 1.5; }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; }
.chip--gold { background: var(--gold-500); color: #3d2a00; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed var(--tint-300); }
.step { position: relative; text-align: center; padding-inline: 0.5rem; }
.step__num { position: relative; width: 68px; height: 68px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--primary); color: var(--primary); font-size: 1.8rem; box-shadow: 0 0 0 8px var(--sky-50); }
.step__num::after { counter-increment: step; content: counter(step); position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-bg); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }
.step p { color: var(--muted); margin: 0 auto; max-width: 19rem; font-size: 1rem; }

/* ---------- Cifras ---------- */
.stats-band { background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); color: var(--sky-200); position: relative; overflow: hidden; }
.stats-band .arcs { color: rgba(255, 255, 255, 0.07); width: 460px; right: -80px; top: -120px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.stat { padding: 0.4rem 0 0.4rem 1.4rem; border-left: 2px solid rgba(255, 255, 255, 0.16); }
.stat__num { font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: clamp(2.3rem, 4.4vw, 3.5rem); color: #fff; line-height: 1; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 0.15rem; }
.stat__num small { font-size: 0.45em; font-weight: 800; color: var(--blue-400); letter-spacing: 0; }
.stat p { margin: 0.5rem 0 0; font-size: 0.98rem; line-height: 1.4; }

/* ---------- Testimonios ---------- */
.testimonials { overflow: hidden; }
.testimonials .swiper { overflow: visible; padding-bottom: 3.2rem; }
.testimonial { position: relative; height: auto; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.testimonial__stars { color: var(--gold-500); font-size: 1.1rem; display: flex; gap: 2px; margin-bottom: 0.9rem; }
.testimonial blockquote { margin: 0 0 1.4rem; color: var(--ink); font-size: 1.05rem; line-height: 1.6; flex: 1; }
.testimonial__who { display: flex; align-items: center; gap: 0.8rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; flex: none; }
.testimonial__who strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 0.95rem; line-height: 1.2; }
.testimonial__who span { font-size: 0.85rem; color: var(--muted); }
.sample-tag { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border: 1px dashed var(--tint-300); border-radius: 999px; padding: 0.2rem 0.6rem; position: absolute; top: 1.5rem; right: 1.5rem; }
.swiper-pagination-bullet { width: 10px; height: 10px; background: var(--tint-300); opacity: 1; transition: width 0.3s var(--ease), background-color 0.3s; border-radius: 999px; }
.swiper-pagination-bullet-active { width: 30px; background: var(--primary); }
.slider-nav { display: flex; gap: 0.6rem; }
.slider-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.25rem; cursor: pointer; display: grid; place-items: center; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.slider-nav button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Preguntas frecuentes ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-layout .section-head { margin-bottom: 1.5rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-layout .section-head .btn { margin-top: 1.5rem; }
.faq { display: grid; gap: 0.8rem; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color 0.3s, box-shadow 0.3s; }
.faq__item.is-open { border-color: var(--tint-300); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.2rem 1.4rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.35; }
.faq__q i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; font-size: 1.05rem; transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--text); }

/* ---------- CTA final ---------- */
.cta { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem); color: var(--sky-200); background: var(--navy-900); isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--navy-900) 30%, rgba(13, 40, 83, 0.72) 65%, rgba(13, 40, 83, 0.35)); }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { max-width: 36rem; font-size: 1.125rem; margin-bottom: 1.8rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Hero interior ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); color: var(--sky-200); padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-hero .arcs { color: rgba(255, 255, 255, 0.08); width: 420px; right: -60px; top: -110px; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
/* Foto con personas: encuadre a la altura de las caras, para no cortarlas
   en pantallas estrechas (en escritorio no hay recorte lateral). */
.page-hero__img--faces { object-position: 40% 40%; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.page-hero h1 .heavy { color: var(--blue-400); }
.page-hero p { max-width: 38rem; font-size: 1.15rem; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; margin-bottom: 1.2rem; color: var(--sky-300); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Planes: aumento de velocidad ---------- */
.upgrade { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.upgrade__cards { display: grid; gap: 1rem; }
.upgrade-card { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1.5rem; font-family: var(--font-head); }
.upgrade-card__title { grid-column: 1 / -1; margin: 0 0 0.2rem; padding-bottom: 0.7rem; border-bottom: 1px dashed var(--line); font-family: var(--font-body); font-size: 0.95rem; color: var(--muted); }
.upgrade-card__title strong { font-family: var(--font-head); color: var(--ink); }
.upgrade-card small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--muted); margin-bottom: 0.2rem; }
.upgrade-card .old { font-weight: 700; font-size: 1.5rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--warn); text-decoration-thickness: 3px; }
.upgrade-card .new { font-weight: 900; font-style: italic; font-size: 2.2rem; color: var(--ink); line-height: 1; }
.upgrade-card .new span { font-size: 0.5em; font-weight: 800; }
.upgrade-card > i { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.25rem; }
.upgrade-card div:last-child { text-align: right; }
.checks { display: grid; gap: 0.6rem; margin-top: 1.4rem; font-weight: 600; color: var(--ink); }
.checks li { display: flex; align-items: center; gap: 0.6rem; }
.checks i { color: var(--blue-600); font-size: 1.3rem; }

/* ---------- Planes: recomendador ---------- */
.advisor { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; align-items: stretch; }
.advisor__form, .advisor__result { border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.advisor__form { background: var(--surface); border: 1px solid var(--line); }
.advisor__label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 0.8rem; }
.advisor__label output { font-size: 1.6rem; font-weight: 900; font-style: italic; color: var(--blue-600); }
.range { width: 100%; appearance: none; -webkit-appearance: none; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-bg) var(--fill, 30%), var(--sky-100) var(--fill, 30%)); outline-offset: 6px; margin-bottom: 1.8rem; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-shadow: var(--shadow-sm); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; height: 100%; padding: 0.9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-weight: 600; font-size: 0.92rem; color: var(--ink); line-height: 1.25; transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease); }
.choice span i { font-size: 1.5rem; color: var(--blue-600); }
.choice input:hover + span { border-color: var(--tint-300); }
.choice input:checked + span { border-color: var(--primary); background: var(--sky-100); transform: translateY(-2px); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.advisor__result { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: var(--sky-200); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.advisor__result .arcs { color: rgba(255, 255, 255, 0.08); width: 260px; right: -60px; top: -70px; }
.advisor__result > * { position: relative; }
.advisor__result small { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--sky-300); }
.advisor__plan { font-family: var(--font-head); color: #fff; margin: 0.6rem 0 0.2rem; font-size: 1.2rem; font-weight: 700; }
.advisor__speed { font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: clamp(3.4rem, 7vw, 4.6rem); line-height: 0.9; color: #fff; letter-spacing: -0.04em; }
.advisor__speed span { font-size: 0.32em; letter-spacing: 0; font-weight: 800; color: var(--blue-400); }
.advisor__price { font-family: var(--font-head); font-weight: 700; color: #fff; margin: 0.6rem 0 1rem; }
.advisor__why { flex: 1; font-size: 1rem; }

/* ---------- Planes: comparativa ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-head); font-weight: 800; color: var(--ink); background: var(--sky-50); font-size: 1rem; }
.compare thead th:last-child { background: var(--primary); color: #fff; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td i { font-size: 1.4rem; color: var(--ok); }
.compare td strong { font-family: var(--font-head); color: var(--ink); }

/* ---------- Pagos ---------- */
.billing { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 1rem; position: relative; margin-bottom: 2.5rem; }
.billing::before { content: ""; position: absolute; left: 4%; right: 4%; top: 38px; height: 4px; border-radius: 4px; background: var(--tint-200); }
.billing__progress { position: absolute; left: 4%; right: 4%; top: 38px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-500), var(--primary)); transform-origin: left center; }
.bill { position: relative; text-align: center; padding-inline: 0.4rem; }
.bill__day { position: relative; width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 22px; background: var(--surface); border: 2px solid var(--primary); display: grid; place-content: center; font-family: var(--font-head); line-height: 1; color: var(--ink); box-shadow: 0 0 0 8px var(--sky-50); }
.section--white .bill__day { box-shadow: 0 0 0 8px var(--surface); }
.bill__day small { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.bill__day strong { font-size: 1.9rem; font-weight: 900; font-style: italic; }
.bill--alert .bill__day { border-color: var(--warn); color: var(--warn); }
.bill h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.bill p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.45; }
.bill__day .bill__hour { margin-top: 0.2rem; letter-spacing: 0.02em; color: inherit; white-space: nowrap; }

.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.method { display: flex; gap: 1rem; align-items: flex-start; background: var(--sky-50); border-radius: var(--r-md); padding: 1.4rem; border: 1px solid var(--line); }
.method i { font-size: 1.9rem; color: var(--blue-600); flex: none; }
.method h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.method p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.pay-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.5rem; padding: 1.3rem 1.5rem; border-radius: var(--r-md); background: var(--navy-900); color: var(--sky-200); }
.pay-cta strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.1rem; }

/* ---------- Nosotros ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story__media { position: relative; padding: 0 2rem 2.5rem 0; }
.story__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); object-fit: cover; }
.story__media .main { aspect-ratio: 4 / 4.4; width: 100%; }
.story__media .small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--bg); }
.story__badge { position: absolute; left: -1rem; top: 1.6rem; background: var(--navy-900); color: var(--sky-200); border-radius: var(--r-md); padding: 0.9rem 1.2rem; font-size: 0.85rem; line-height: 1.3; box-shadow: var(--shadow-md); }
.story__badge strong { display: block; font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 2rem; color: #fff; line-height: 1; }
.story p { font-size: 1.08rem; }
.founder { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.founder .avatar { width: 56px; height: 56px; font-size: 1.1rem; }
.founder strong { display: block; font-family: var(--font-head); color: var(--ink); }
.founder span { font-size: 0.92rem; color: var(--muted); }

.mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.value { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.value i { font-size: 1.5rem; color: var(--blue-600); }

.timeline { position: relative; max-width: 820px; margin-inline: auto; padding-left: 3.2rem; display: grid; gap: 1.5rem; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--tint-200); }
.timeline__line { position: absolute; left: 15px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--blue-500), var(--primary)); transform-origin: top center; }
.milestone { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.6rem; }
.milestone::before { content: ""; position: absolute; left: calc(-3.2rem + 6px); top: 1.6rem; width: 21px; height: 21px; border-radius: 50%; background: var(--surface); border: 5px solid var(--primary); }
.milestone__year { font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 1.1rem; color: var(--blue-600); }
.milestone h3 { margin: 0.2rem 0 0.4rem; }
.milestone p { margin: 0; color: var(--muted); }

.statement { text-align: center; max-width: 54rem; margin-inline: auto; }
.statement i { font-size: 2.6rem; color: var(--blue-400); }
.statement p { font-family: var(--font-head); font-weight: 800; font-style: italic; color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0.6rem 0 0.8rem; }
.statement span { color: var(--sky-300); }

/* ---------- Contacto ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.contact-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; min-width: 0; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--tint-300); }
.contact-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: var(--sky-100); color: var(--blue-600); margin-bottom: 1rem; }
.contact-card--wa .contact-card__icon { background: var(--ok-bg); color: var(--ok); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.contact-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.8rem; }
.contact-card strong { margin-top: auto; font-family: var(--font-head); color: var(--ink); font-size: 1rem; overflow-wrap: anywhere; line-height: 1.3; }

.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.panel > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.panel > p { color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--surface); box-shadow: 0 0 0 4px rgba(47, 123, 245, 0.16); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--warn); }
.field__error { font-size: 0.82rem; color: var(--warn); display: none; }
.field.is-invalid .field__error { display: block; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form__note { font-size: 0.85rem; color: var(--muted); margin: 0; flex: 1; min-width: 14rem; }
.form__ok { grid-column: 1 / -1; display: none; align-items: center; gap: 0.6rem; padding: 0.9rem 1rem; border-radius: var(--r-sm); background: var(--ok-bg); color: var(--ok-ink); font-weight: 600; }
.form__ok.is-visible { display: flex; }

.side-stack { display: grid; gap: 1.5rem; }
.hours { display: grid; gap: 0.2rem; margin-top: 1rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.9rem; border-radius: var(--r-sm); }
.hours li span:last-child { font-weight: 600; color: var(--ink); }
.hours li.is-today { background: var(--sky-100); color: var(--ink); font-weight: 600; }
.hours li.is-off span:last-child { color: var(--warn); }
.open-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.85rem; border-radius: 999px; font-weight: 700; font-size: 0.85rem; background: var(--sky-100); color: var(--ink); }
.open-badge.is-open { background: var(--ok-bg); color: var(--ok-ink); }
.open-badge.is-closed { background: var(--bad-bg); color: var(--bad-ink); }
.open-badge.is-open .status-dot { box-shadow: none; background: var(--ok); }
.open-badge.is-closed .status-dot { background: var(--warn); }
.address { display: flex; gap: 0.9rem; align-items: flex-start; margin-block: 1rem 1.3rem; color: var(--ink); font-weight: 600; }
.address i { font-size: 1.6rem; color: var(--blue-600); flex: none; }

.map { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--sky-100); }
.map iframe { display: block; width: 100%; height: clamp(360px, 48vw, 520px); border: 0; }
.map__card { position: absolute; right: 1.5rem; top: 1.5rem; max-width: 330px; background: var(--surface); border-radius: var(--r-md); padding: 1.3rem; box-shadow: var(--shadow-md); }
.map__card h3 { margin-bottom: 0.3rem; }
.map__card p { font-size: 0.95rem; margin-bottom: 1rem; }

/* ---------- Oficina virtual: botón del header y franja de Inicio ---------- */
.header__office i { font-size: 1.25em; }
@media (min-width: 901px) and (max-width: 1180px) {
  .header__office { padding: 0.72rem; }
  .header__office span { display: none; }
}

.office-band { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.office-band > div > p { font-size: 1.125rem; color: var(--muted); max-width: 34rem; }
.office-band__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; margin: 1.6rem 0 2rem; }
.office-band__list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.office-band__list i { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.35rem; background: var(--surface); border: 1px solid var(--line); color: var(--blue-600); }
.office-band__list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 0.98rem; }
.office-band__list span { display: block; font-size: 0.92rem; color: var(--muted); line-height: 1.4; }

.office-preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.4rem; display: grid; gap: 1rem; rotate: 1.5deg; animation: office-float 6s ease-in-out infinite; }
/* Flotación sutil. Usa la propiedad translate (no transform) para no chocar con el
   giro de la tarjeta ni con la animación de entrada de GSAP. Con "reducir movimiento"
   la regla global de prefers-reduced-motion la deja quieta. */
@keyframes office-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.office-preview__head { display: flex; align-items: center; gap: 0.8rem; }
.office-preview__head strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.2; }
.office-preview__head div > span { font-size: 0.85rem; color: var(--muted); }
.office-preview__pill { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--ok-bg); color: var(--ok-ink); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.office-preview__pill .status-dot { background: var(--ok); }
.office-preview__bill { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: var(--sky-200); border-radius: var(--r-md); padding: 1.2rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.office-preview__bill small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--sky-300); }
.office-preview__bill strong { display: block; font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 2rem; color: #fff; line-height: 1.15; }
.office-preview__btn { background: #fff; color: var(--navy-900); font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; padding: 0.6rem 1rem; border-radius: 999px; white-space: nowrap; }
.office-preview__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.office-preview__tile { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.9rem; background: var(--bg); }
.office-preview__tile small { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.office-preview__tile strong { font-family: var(--font-head); color: var(--ink); font-size: 0.98rem; }
@media (max-width: 900px) {
  .office-band { grid-template-columns: 1fr; }
  .office-preview { rotate: none; max-width: 520px; }
}
@media (max-width: 720px) {
  .office-band__list { grid-template-columns: 1fr; }
  .office-band .btn { width: 100%; }
  .office-preview__tiles { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #a9b7d3; padding-top: clamp(3.5rem, 6vw, 5rem); font-size: 0.98rem; position: relative; overflow: hidden; }
.footer .arcs { color: rgba(255, 255, 255, 0.04); width: 520px; left: -140px; bottom: -160px; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand img { height: 44px; width: auto; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 22rem; }
.footer h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.1rem; font-weight: 700; }
.footer__list { display: grid; gap: 0.7rem; }
.footer__list a, .footer__list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__list i { font-size: 1.15rem; color: var(--blue-400); margin-top: 0.2rem; flex: none; }
.footer a:hover { color: #fff; }
.footer__hours li { justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 0.6rem; }
.footer__hours span:last-child { color: #fff; font-weight: 600; text-align: right; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: rgba(255, 255, 255, 0.08); transition: background-color 0.25s, transform 0.3s var(--ease); }
.socials a:hover { background: var(--accent-bg); transform: translateY(-3px); }
.footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.88rem; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 70; width: 60px; height: 60px; border-radius: 50%; background: var(--green-wa); color: #fff; display: grid; place-items: center; font-size: 2rem; box-shadow: 0 14px 30px -10px rgba(18, 140, 75, 0.8); transition: transform 0.3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green-wa); animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: 1.6rem; bottom: 5.6rem; z-index: 70; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Chat de la web (components/site/chat-bubble, js/chat.js) ---------- */
/* Sobre el encabezado fijo (80) y por debajo del enlace «Saltar al contenido» (100). */
.chatbot { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 85; }
.chatbot__launcher { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.9rem; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(15, 50, 110, 0.75); transition: transform 0.3s var(--ease); }
.chatbot__launcher::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--primary); animation: pulse 2.4s ease-out infinite; }
.chatbot__launcher:hover { transform: scale(1.06); }
.chatbot__launcher:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.chatbot.is-open .chatbot__launcher::before { animation: none; opacity: 0; }
.chatbot__hint { position: absolute; right: 72px; bottom: 10px; width: max-content; max-width: 220px; margin: 0; padding: 10px 14px; border-radius: var(--r-md) var(--r-md) 4px var(--r-md); background: var(--surface); color: var(--ink); font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-md); cursor: pointer; }
.chatbot__panel { position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 2.5rem)); height: min(600px, calc(100vh - var(--header-h, 80px) - 7rem)); display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.chatbot__panel[hidden] { display: none; }
.chatbot__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--primary); color: #fff; }
.chatbot__avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); font-size: 1.35rem; }
.chatbot__title { flex: 1; min-width: 0; }
.chatbot__title h2 { margin: 0; font-family: var(--font-head); font-size: 1rem; line-height: 1.25; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chatbot__title p { margin: 2px 0 0; font-size: 0.8rem; opacity: 0.85; }
.chatbot__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; }
.chatbot__close:hover, .chatbot__close:focus-visible { background: rgba(255, 255, 255, 0.16); }
.chatbot__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.chatbot__msg { max-width: 85%; padding: 9px 13px; border-radius: 16px; font-size: 0.93rem; line-height: 1.45; }
.chatbot__msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chatbot__msg--bot, .chatbot__msg--advisor { align-self: flex-start; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chatbot__msg--advisor { border-color: var(--green-wa); }
.chatbot__msg--me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chatbot__msg--me.is-pending { opacity: 0.75; }
.chatbot__msg--me.is-failed { opacity: 0.5; text-decoration: line-through; }
.chatbot__msg--error { align-self: center; max-width: 100%; background: var(--bad-bg); color: var(--bad-ink); font-size: 0.85rem; text-align: center; }
.chatbot__typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.chatbot__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chat-dot 1.2s infinite ease-in-out; }
.chatbot__typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-4px); opacity: 1; } }
.chatbot__chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 12px; background: var(--bg); }
.chatbot__chips[hidden] { display: none; }
.chatbot__chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.85rem; cursor: pointer; }
.chatbot__chips button:hover, .chatbot__chips button:focus-visible { border-color: var(--primary); color: var(--primary); }
.chatbot__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chatbot__form textarea { flex: 1; min-height: 42px; max-height: 120px; resize: none; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 0.95rem; line-height: 1.4; }
.chatbot__form textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
.chatbot__send { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.15rem; cursor: pointer; display: grid; place-items: center; }
.chatbot__form.is-loading .chatbot__send { opacity: 0.6; pointer-events: none; }
.chatbot__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chatbot__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 8px 14px 12px; background: var(--surface); font-size: 0.8rem; }
.chatbot__foot small { flex-basis: 100%; color: var(--muted); }
.chatbot__link { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--primary); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.chatbot__link:hover { text-decoration: underline; }
.chatbot.is-human .chatbot__head { background: #128c4a; }
@media (max-width: 720px) {
  .chatbot { right: 1rem; bottom: 1rem; }
  .chatbot.is-open { inset: 0; }
  .chatbot.is-open .chatbot__launcher, .chatbot.is-open .chatbot__hint { display: none; }
  .chatbot__panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .chatbot__hint { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .chatbot__launcher::before, .chatbot__typing span { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use { aspect-ratio: 4 / 3.6; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gauge-card { left: -0.8rem; }
  .promo-card { right: -0.6rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .topbar__list:last-child { display: none; }
  .topbar__inner { justify-content: center; }
  .brand img { height: 32px; }
  .header__inner { gap: 0.75rem; }
  .nav-toggle { display: grid; }
  .header__actions .btn { display: none; }
  /* En móvil el modo oscuro pasa al menú y la oficina virtual queda como botón de ícono junto al menú. */
  .header__actions .theme-switch { display: none; }
  .header__actions .header__office { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 14px; font-size: 1.2rem; }
  .header__office span { display: none; }
  /* Sin backdrop-filter en móvil: crearía un bloque contenedor y recortaría el panel fijo del menú. */
  .header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 2;
    flex-direction: column; align-items: stretch; gap: 0.4rem; padding: 5.5rem 1.5rem 2rem;
    background: var(--surface); box-shadow: -30px 0 60px -30px rgba(7, 20, 46, 0.5);
    transform: translateX(105%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0.45s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__link { padding: 0.95rem 1.1rem; font-size: 1.1rem; border-radius: var(--r-sm); }
  .nav__extra { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.7rem; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--line); }
  /* En teléfonos de 375 px el menú mide unos 275 px útiles: los botones no deben ensanchar la columna. */
  .nav__extra .btn { padding-inline: 1rem; white-space: normal; }
  .nav__close { position: absolute; top: 1rem; right: 1.25rem; display: grid; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 1; background: rgba(7, 20, 46, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  /* Menos aire arriba (0.5rem en teléfonos, 1rem a 900 px) para que la foto del hero asome antes. */
  .hero { padding-top: clamp(0.5rem, 2vw, 1rem); }
  .hero__grid, .upgrade, .advisor, .story, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }
  .hero__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__photo { aspect-ratio: 5 / 4.6; }
  .mvv, .methods { grid-template-columns: 1fr; }
  .story__media { max-width: 520px; }
}

@media (min-width: 901px) {
  .nav__close, .nav-backdrop { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .plans, .features, .steps, .billing { grid-template-columns: 1fr; }
  .steps::before, .billing::before, .billing__progress { display: none; }
  .steps { gap: 2.2rem; }
  .billing { gap: 1.4rem; }
  .bill { display: grid; grid-template-columns: 76px 1fr; column-gap: 1.1rem; text-align: left; align-items: center; }
  .bill__day { margin: 0; grid-row: span 2; box-shadow: none; }
  .bill h3 { margin: 0; align-self: end; }
  .bill p { align-self: start; }
  .uses { grid-template-columns: 1fr; }
  .use { aspect-ratio: 16 / 11; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 1rem; }
  .contact-card .contact-card__icon { margin: 0; flex: none; }
  .contact-card > div { flex: 1; min-width: 0; }
  .contact-card p { margin: 0; }
  .contact-card strong { flex-basis: 100%; margin-top: 0.9rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .values { grid-template-columns: 1fr; }
  .gauge-card { left: 0.6rem; bottom: 0.8rem; width: 178px; padding: 0.75rem 0.8rem; }
  .gauge__value strong { font-size: 1.7rem; }
  .promo-card { right: 0.6rem; top: 0.8rem; max-width: 205px; padding: 0.6rem 0.75rem; }
  .promo-card__icon { width: 38px; height: 38px; font-size: 1.3rem; }
  .price-card { display: none; }
  .promo-card span { display: none; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.04em; }
  .hero__arcs { width: 110px; top: -34px; right: -14px; }
  .hero__cta .btn { flex: 1 1 100%; }
  /* Las viñetas de confianza siguen en una sola fila: una columna por viñeta, ícono arriba y texto debajo. */
  .hero__trust { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.5rem; font-size: 0.82rem; text-align: center; }
  .hero__trust li { flex-direction: column; gap: 0.3rem; line-height: 1.25; }
  .hero__trust i { font-size: 1.4rem; }
  .cta__actions .btn { flex: 1 1 100%; }
  .map__card { position: static; max-width: none; border-radius: 0; box-shadow: none; }
  .upgrade-card { padding: 1.1rem; gap: 0.6rem; }
  .compare { min-width: 0; font-size: 0.9rem; }
  .compare th, .compare td { padding: 0.8rem 0.6rem; }
  .compare tbody th { width: 38%; }
  .upgrade-card .new { font-size: 1.8rem; }
  .slider-nav { display: none; }
  .timeline { padding-left: 2.6rem; }
  .milestone::before { left: calc(-2.6rem + 6px); }
  .story__badge { left: 0.6rem; }
  .pay-cta .btn { width: 100%; }
  .promo-banner .btn { width: 100%; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 2rem, 1200px); }
  .brand img { height: 27px; }
  .theme-switch__track { width: 58px; }
  :root[data-theme="dark"] .theme-switch__thumb { transform: translateX(24px); }
  .stats { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .stat { padding-left: 0.9rem; }
  .topbar__list li:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal], .js [data-hero], .js .hero .float-card { opacity: 1; }
}

/* ---------- Envío por AJAX (http.js) ---------- */
/* Botón ocupado mientras el servidor responde: el texto se oculta y gira un aro del color del botón. */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; transform: none; --spin: #fff; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--spin); border-right-color: transparent; border-bottom-color: transparent; animation: btn-spin 0.7s linear infinite; }
.btn--ghost.is-loading { --spin: var(--ink); }
.btn--wa.is-loading { --spin: var(--green-wa-ink); }
.btn--light.is-loading { --spin: var(--navy-900); }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Un error del servidor también puede caer en un área de texto. */
.field.is-invalid textarea { border-color: var(--warn); }

/* Mensaje del servidor cuando el formulario de contacto no se pudo enviar. */
.form__error { grid-column: 1 / -1; margin: 0; padding: 0.8rem 1rem; border-radius: var(--r-sm); background: var(--bad-bg); color: var(--bad-ink); font-size: 0.9rem; font-weight: 600; }
.form__ok-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
