/* =========================================================
   Servicio Técnico Toluca — estilos
   Paleta: azul marino de confianza + rojo de acción, fondos claros.
   ========================================================= */
:root {
  --navy: #0d2a5e;
  --navy-2: #163b7d;
  --ink: #16213a;
  --muted: #5b6678;
  --red: #e3262f;
  --red-2: #c91d26;
  --bg: #ffffff;
  --soft: #f2f6fb;
  --soft-2: #e8eef7;
  --line: #e2e8f1;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(13, 42, 94, .05), 0 12px 32px -12px rgba(13, 42, 94, .18);
  --shadow-lg: 0 30px 60px -28px rgba(13, 42, 94, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.txt-red { color: var(--red); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(227, 38, 47, .45); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 12px; font-weight: 700; font-size: 15.5px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .chev { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(227, 38, 47, .7); }
.btn--red:hover { background: var(--red-2); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(227, 38, 47, .75); }
.btn--ghost { border: 2px solid var(--navy); color: var(--navy); background: #fff; }
.btn--ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--sm { --h: 46px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { --h: 62px; padding: 0 30px; font-size: 17px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, height .3s;
}
@supports (backdrop-filter: blur(10px)) {
  .header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); }
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(13, 42, 94, .35); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.logo__icon { width: 46px; height: 46px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text small { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.logo__text strong { font-size: 27px; font-weight: 800; color: var(--red); letter-spacing: -.03em; margin-top: 2px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { margin-left: 6px; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 40px;
  background: linear-gradient(180deg, #f6f9fd 0%, #eaf0f8 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; bottom: -40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(190, 210, 240, .35) 60%, rgba(160, 185, 225, .15));
  border: 1px solid rgba(255, 255, 255, .8);
  animation: rise linear infinite;
  opacity: 0;
}
.b1 { left: 8%;  width: 22px; height: 22px; animation-duration: 14s; }
.b2 { left: 34%; width: 14px; height: 14px; animation-duration: 11s; animation-delay: 3s; }
.b3 { left: 52%; width: 30px; height: 30px; animation-duration: 17s; animation-delay: 6s; }
.b4 { left: 78%; width: 18px; height: 18px; animation-duration: 13s; animation-delay: 1.5s; }
.b5 { left: 92%; width: 26px; height: 26px; animation-duration: 16s; animation-delay: 8s; }
@keyframes rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translate(14px, -45vh); }
  90%  { opacity: .7; }
  100% { transform: translate(-6px, -90vh); opacity: 0; }
}

.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 18px; }
.hero__title { font-size: clamp(42px, 6.2vw, 78px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero__lead { margin-top: 22px; font-size: 18px; color: #3d4860; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 36px; }
.hero__badges li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.hero__badges svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__halo {
  position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, .6) 45%, rgba(255, 255, 255, 0) 70%);
}
.hero__img {
  position: relative; width: min(600px, 100%);
  mix-blend-mode: multiply; /* funde el fondo blanco de la ilustración */
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy); font-size: 13.5px; font-weight: 700;
  padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.hero__chip svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 { top: 12%; left: 2%; animation-delay: -2s; }
.chip-2 { bottom: 14%; right: 0; animation-delay: -4s; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat strong { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.stat > span { font-size: 14px; color: rgba(255, 255, 255, .75); }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 800; }
.section__head p { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* ---------- Tarjetas de fallas ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px 30px; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfdaea; }
.card h3 { font-size: 22px; font-weight: 800; margin-top: 18px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.card__art { position: relative; height: 150px; display: grid; place-items: center; background: linear-gradient(180deg, #f7f9fc, #fff); border-radius: 12px; }
.card__art > svg:first-child { width: 150px; height: 138px; }

/* "No enciende": intenta prender (chispa + pantalla parpadea), se apaga y aparece el aviso */
.card__art > svg.off-svg { width: 198px; height: 136px; }
.off-svg * { transform-box: fill-box; }
.off-plug, .off-cord { transform-origin: 100% 0; animation: plug 4.8s var(--ease) infinite; }
.off-spark { opacity: 0; transform-origin: 100% 50%; animation: spark 4.8s linear infinite; }
.off-screen { opacity: 0; animation: flicker 4.8s steps(1, end) infinite; }
.off-led { animation: led 4.8s steps(1, end) infinite; }
.off-drum { opacity: .55; animation: drum 4.8s ease infinite; }
.badge-off { position: absolute; left: calc(50% + 50px); top: 50%; width: 54px; height: 54px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(227, 38, 47, .7); animation: pop 4.8s var(--ease) infinite; }
.badge-off::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: ripple 4.8s ease-out infinite; }
.badge-off svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.6; }
.card:hover .off-svg *, .card:hover .badge-off, .card:hover .badge-off::after { animation-duration: 2.4s; }

@keyframes plug   { 0%, 100% { transform: translateX(0); } 8% { transform: translateX(-3px); } 13% { transform: translateX(1px); } 20% { transform: translateX(-3px); } 26% { transform: translateX(0); } }
@keyframes spark  { 0%, 7% { opacity: 0; transform: scale(.4); } 9% { opacity: 1; transform: scale(1.1); } 12% { opacity: 0; } 19% { opacity: 0; transform: scale(.4); } 21% { opacity: 1; transform: scale(1.15); } 24%, 100% { opacity: 0; } }
@keyframes flicker{ 0% { opacity: 0; } 9% { opacity: 1; } 11% { opacity: .2; } 12% { opacity: .9; } 14% { opacity: 0; } 21% { opacity: 1; } 23% { opacity: 0; } 24% { opacity: .6; } 25%, 100% { opacity: 0; } }
@keyframes led    { 0% { fill: #9aa7ba; } 9% { fill: #2ee06f; } 14% { fill: #9aa7ba; } 21% { fill: #2ee06f; } 25% { fill: #e3262f; } 75%, 100% { fill: #9aa7ba; } }
@keyframes drum   { 0%, 7% { opacity: .55; } 10% { opacity: .2; } 14% { opacity: .55; } 21% { opacity: .15; } 27%, 100% { opacity: .55; } }
@keyframes pop    { 0%, 26% { transform: scale(.9); } 31% { transform: scale(1.2) rotate(-10deg); } 36% { transform: scale(.95) rotate(6deg); } 41% { transform: scale(1.04) rotate(-2deg); } 46%, 100% { transform: scale(1) rotate(0); } }
@keyframes ripple { 0%, 29% { opacity: 0; transform: scale(1); } 31% { opacity: .7; transform: scale(1); } 55%, 100% { opacity: 0; transform: scale(1.9); } }

.spin-arrows { position: absolute; width: 62px; height: 62px; left: calc(50% - 31px); top: calc(50% - 22px); fill: none; stroke: #1e88e5; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; animation: spin 4.5s linear infinite; }
.card:hover .spin-arrows { animation-duration: 1.2s; }
@keyframes spin { to { transform: rotate(360deg); } }

.drop { position: absolute; width: 14px; height: 18px; background: #2e9bf0; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: polygon(50% 0, 100% 60%, 100% 100%, 0 100%, 0 60%); border-radius: 0 0 50% 50%; opacity: 0; }
.d1 { left: calc(50% + 40px); top: 52px; animation: drip 2.6s ease-in infinite; }
.d2 { left: calc(50% + 52px); top: 64px; animation: drip 2.6s ease-in infinite 1.3s; }
@keyframes drip { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translateY(0) scale(1); } 85% { opacity: 1; } 100% { transform: translateY(58px) scale(.9); opacity: 0; } }
.puddle { position: absolute; bottom: 10px; left: calc(50% + 6px); width: 90px; height: 10px; border-radius: 50%; background: radial-gradient(ellipse, rgba(46, 155, 240, .55), rgba(46, 155, 240, 0) 70%); animation: puddle 2.6s ease-in-out infinite; }
@keyframes puddle { 0%, 100% { transform: scaleX(.85); } 50% { transform: scaleX(1.05); } }

.fails { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.fails li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--navy); }
.fails li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.brands { margin-top: 28px; text-align: center; color: var(--muted); font-size: 15px; }
.brands span { font-weight: 700; color: var(--navy); margin-right: 6px; }

/* ---------- Confianza ---------- */
.trust { background: linear-gradient(180deg, var(--soft), var(--soft-2)); padding: 64px 0; }
.trust__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; align-items: start; }
.trust__copy h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; }
.trust__copy p { margin-top: 16px; color: var(--muted); }
.trust__item { text-align: center; }
.ring { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.trust__item:hover .ring { transform: translateY(-4px) scale(1.05); }
.ring svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.trust__item h3 { font-size: 17px; font-weight: 800; }
.trust__item p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, #c9d4e4 0 8px, transparent 8px 16px);
}
.steps::after {
  content: ""; position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease) .3s;
}
.steps.is-in::after { transform: scaleX(1); }
.step { text-align: center; position: relative; z-index: 1; }
.step__icon { position: relative; width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; background: #fdecec; display: grid; place-items: center; transition: transform .35s var(--ease), background .35s; }
.step:hover .step__icon { transform: translateY(-4px); background: #fbdcdc; }
.step__icon svg { width: 40px; height: 40px; color: var(--navy); }
.step__icon svg.stroke { fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step__icon b { position: absolute; top: -2px; left: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.step h3 { font-size: 18px; font-weight: 800; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 28ch; margin-inline: auto; }

/* ---------- Zona ---------- */
.zone { background: var(--soft); padding: 32px 0; }
.zone__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.zone__title { display: flex; gap: 14px; align-items: flex-start; }
.pin { width: 44px; height: 44px; flex: none; fill: var(--red); }
.zone__title h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.zone__label { margin: 22px 0 10px; color: var(--muted); font-weight: 600; }
.zone__list { display: flex; flex-wrap: wrap; gap: 8px; }
.zone__list li { padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--navy); font-size: 15px; transition: background .25s, color .25s; }
.zone__list li:hover { background: var(--navy); color: #fff; }
.zone__note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.zone__media { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.zone__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.zone__media.is-in img { transform: scale(1); }
.zone__tag {
  position: absolute; right: 0; top: 0; bottom: 0; width: 38%;
  background: var(--navy); color: #fff;
  border-radius: 50% 0 0 50% / 70% 0 0 70%;
  display: flex; flex-direction: column; justify-content: center; padding: 0 20px 0 12%;
  font-weight: 700; font-size: 16px; line-height: 1.35;
}
.zone__tag svg { width: 26px; height: 26px; fill: #fff; margin-bottom: 8px; }

/* ---------- Opiniones ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; transition: transform .35s var(--ease); }
.review:hover { transform: translateY(-4px); }
.stars { color: #f5a623; letter-spacing: 3px; font-size: 17px; }
.review blockquote { margin: 0; color: #36415a; font-size: 15.5px; position: relative; flex: 1; }
.review blockquote::before { content: "“"; position: absolute; left: -6px; top: -34px; font-size: 64px; color: var(--soft-2); font-weight: 800; z-index: -1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption strong { display: block; color: var(--navy); font-size: 15px; }
.review figcaption small { color: var(--muted); font-size: 13px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--soft-2); color: var(--navy); font-weight: 800; font-size: 14px; display: grid; place-items: center; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 50% 0%, var(--navy-2), var(--navy) 60%); color: #fff; margin-top: 0; }
.cta::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 85% 50%, rgba(255, 255, 255, .05) 0 2px, transparent 2px 26px); }
.cta__inner { position: relative; display: grid; grid-template-columns: 300px 1fr 120px; align-items: center; gap: 20px; min-height: 260px; }
.cta__porthole { position: relative; width: 250px; height: 250px; border-radius: 50%; overflow: hidden; background: #fff; border: 12px solid #c9d2de; box-shadow: 0 0 0 6px #e9eef5, 0 24px 40px -12px rgba(0, 0, 0, .45); justify-self: center; }
.cta__porthole img { position: absolute; width: 440px; max-width: none; left: -22px; top: 2px; }
.cta__copy { text-align: center; padding: 56px 0; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.cta__copy > p { font-size: 20px; margin: 8px 0 26px; color: rgba(255, 255, 255, .9); }
.cta__hours { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .7); }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 28px; border-top: 1px solid var(--line); }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { font-size: 14.5px; font-weight: 600; }
.footer__nav a:hover { color: var(--red); }
.footer__wa { display: flex; align-items: center; gap: 12px; max-width: 320px; }
.footer__wa svg { width: 40px; height: 40px; color: var(--wa); flex: none; }
.footer__wa strong { display: block; color: var(--navy); font-size: 15px; }
.footer__wa small { color: var(--muted); font-size: 12.5px; line-height: 1.4; display: block; }
.footer__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.footer__legal .credit { font-size: 12px; opacity: .8; }
.footer__legal a { text-decoration: underline; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 26px -8px rgba(37, 211, 102, .7);
  transform: translateY(120px); transition: transform .5s var(--ease);
}
.wa-float.is-visible { transform: translateY(0); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: wa-ping 2.6s infinite; }
.wa-float svg { width: 32px; height: 32px; position: relative; }
@keyframes wa-ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* Sólo efectos intrusivos (burbujas) se apagan con reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .bubble { display: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .trust__copy { grid-column: 1 / -1; text-align: center; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .logo__icon { width: 38px; height: 38px; }
  .logo__text small { font-size: 12.5px; }
  .logo__text strong { font-size: 22px; }

  .burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-left: 8px; border: 0; background: var(--soft); border-radius: 10px; cursor: pointer; }
  .burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(13, 42, 94, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .header__cta { margin-left: auto; }

  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; max-width: 440px; margin: 0 auto -10px; }
}
@media (max-width: 600px) {
  .hero__visual { max-width: 290px; margin-bottom: 0; }
  .hero__chip { font-size: 12px; padding: 8px 11px; }
  .chip-1 { left: -18px; }
  .chip-2 { right: -18px; }
}
@media (max-width: 920px) {
  .hero__lead { max-width: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }

  .cards, .reviews { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .zone__grid { grid-template-columns: 1fr; }

  .cta__inner { grid-template-columns: 1fr; }
  .cta__porthole { width: 170px; height: 170px; margin-top: 44px; border-width: 9px; }
  .cta__porthole img { width: 300px; left: -16px; }
  .cta__copy { padding-top: 20px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .header__cta span { display: none; }
  .header__cta { padding: 0; width: 46px; justify-content: center; }
  .hide-sm { display: none; }
  .hero__title { font-size: clamp(40px, 12vw, 54px); }
  .hero__lead { font-size: 16.5px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__badges { gap: 14px 18px; }
  .hero__badges li { flex: 1 1 calc(50% - 18px); }
  .chip-1 { top: 6%; left: 0; }
  .chip-2 { bottom: 8%; }
  .section { padding: 68px 0; }
  .trust__grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .stat { padding: 22px 12px; }
  .stat strong { font-size: 24px; }
  .stat > span { font-size: 13px; }
  .zone__tag { width: 42%; padding-left: 16%; font-size: 13.5px; }
  .cta__copy { padding: 48px 0 56px; }
  .btn--lg { padding: 0 22px; font-size: 16px; }
  .footer__grid { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}
