/* =========================================================
   Taller mecánico · Torrevieja · ejemplo de propuesta (MCL)
   Rojo y azul marino, titulares condensados y mucho movimiento.
   ========================================================= */
@font-face { font-family: "BarlowC"; src: url(../fonts/barlowcondensed-800.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "BarlowC"; src: url(../fonts/barlowcondensed-800i.woff2) format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "BarlowC"; src: url(../fonts/barlowcondensed-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* marca (medidos) */
  --rojo: #C00511;        /* rojo protagonista */
  --rojo-sombra: #A10510; /* sombreado del lóbulo rojo */
  --rojo-claro: #FF7A82;  /* rojo aclarado, solo para texto sobre azul */
  --azul: #012C63;        /* azul marino */
  --azul-hondo: #002454;  /* sombra del azul (top.gif) */
  --celeste: #A3B2D1;     /* celeste */
  --lavanda: #E1E4FD;     /* fondo de sus recuadros de enlaces (bgcolor) */
  --gris: #898FA7;        /* gris claro */
  --gris-osc: #4D465E;    /* gris oscuro (texto secundario) */
  --blanco: #FFFFFF;
  --sobre-azul: #D3DAEC;  /* texto secundario sobre azul */
  --verde: #17693B;
  --display: "BarlowC", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(16px, 4.2vw, 64px);
  --nav-h: 78px;
  --r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--blanco); color: var(--azul);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--rojo); color: #fff; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 8px; }
.demo :focus-visible, .foot :focus-visible, .final :focus-visible, .taller :focus-visible, .menu :focus-visible, .card-itv :focus-visible { outline-color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 10000; background: var(--azul); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; }
.wrap { max-width: 1400px; margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(84px, 11vw, 160px); position: relative; }
.red { color: var(--rojo); }
.pink { color: var(--rojo-claro); }

/* ---------- tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font: 600 15px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gris-osc);
}
.eyebrow::before { content: ""; width: 34px; height: 8px; border-radius: 4px; background: var(--rojo); flex: none; }
.hero .eyebrow::before { display: none; }
.eb-bars { display: inline-grid; gap: 3px; flex: none; }
.eb-bars i { display: block; width: 30px; height: 6px; border-radius: 3px; background: var(--rojo); }
.eb-short { display: none; }
.h2 {
  font: 800 clamp(2.9rem, 6.6vw, 6.6rem)/.9 var(--display);
  text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 26px; text-wrap: balance;
}
.h2-sm { font-size: clamp(2.5rem, 4.8vw, 4.6rem); }
.lead { font-size: clamp(1.12rem, 1.45vw, 1.3rem); line-height: 1.5; color: var(--gris-osc); max-width: 38ch; margin: 0 0 28px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link .i { width: 18px; height: 18px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 17px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .25s, box-shadow .3s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-red { background: var(--rojo); color: #fff; box-shadow: 0 14px 30px -14px rgba(192,5,17,.7), inset 0 -3px 0 rgba(0,0,0,.18); }
.btn-red:hover { background: var(--rojo-sombra); }
.btn-navy { background: var(--azul); color: #fff; box-shadow: 0 14px 30px -14px rgba(1,44,99,.7), inset 0 -3px 0 rgba(0,0,0,.25); }
.btn-navy:hover { background: var(--azul-hondo); }
.btn-white { background: #fff; color: var(--rojo); box-shadow: 0 16px 36px -16px rgba(0,0,0,.5); }
.btn-line { background: transparent; color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }
.btn-line:hover { background: var(--azul); color: #fff; }
.btn-xl { min-height: 64px; padding: 0 32px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- cortina de entrada ---------- */
#intro { display: none; }
.js #intro { display: block; position: fixed; inset: 0; z-index: 9000; background: var(--azul); overflow: hidden; }
.intro-kv { position: absolute; left: 50%; top: 58%; width: max(118vw, 1100px); height: auto; overflow: visible; transform: translate(-50%, -50%); }
.intro-head { position: absolute; left: 0; right: 0; top: clamp(70px, 11vh, 120px); display: grid; justify-items: center; gap: 8px; text-align: center; z-index: 2; }
@media (max-width: 700px) {
  .intro-kv { width: 250vw; top: 56%; transform: translate(-36%, -50%); }
  .intro-head { top: 14vh; }
}
.reduced #intro { display: none; }
.intro-word { overflow: hidden; }
.iw-in { display: block; font: italic 800 clamp(3rem, 8vw, 7.4rem)/.95 var(--display); letter-spacing: .01em; color: #fff; }
.iw-in b:last-child { color: var(--celeste); }
.intro-sub { overflow: hidden; }
.intro-sub span { display: block; font: 600 clamp(14px, 1.3vw, 18px)/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--sobre-azul); }
.js:not(.reduced) .ik-car, .js:not(.reduced) .ik-pills path, .js:not(.reduced) .iw-in, .js:not(.reduced) .intro-sub span { visibility: hidden; }

/* ---------- navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .4s, height .4s var(--ease);
}
.nav.scrolled { box-shadow: 0 10px 30px -18px rgba(1,44,99,.45); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rojo); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand-kv { width: 104px; height: 45px; border-radius: 10px; flex: none; box-shadow: 0 6px 16px -8px rgba(1,44,99,.6); }
.brand-txt { display: grid; gap: 3px; }
.bw { font: italic 800 30px/.9 var(--display); letter-spacing: .01em; }
.bw b:first-child { color: var(--rojo); }
.bw b:last-child { color: var(--azul); }
.bs { font: 600 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gris-osc); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font: 600 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--azul); position: relative; padding: 8px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--rojo); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--rojo); color: #fff; padding: 0 22px; height: 50px; border-radius: 999px; font: 800 22px/1 var(--display); letter-spacing: .02em; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); transition: background-color .25s; }
.nav-phone:hover { background: var(--rojo-sombra); }
.nav-menu { display: none; width: 50px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 6px; place-content: center; gap: 5px; }
.nav-menu i { display: block; width: 34px; height: 8px; border-radius: 4px; background: linear-gradient(180deg, #E0141F, #C00511 55%, #8A030C); transition: transform .4s var(--ease), opacity .3s; }
.nav-menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(13px) rotate(45deg); }
.nav-menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-menu[aria-expanded="true"] i:nth-child(3) { transform: translateY(-13px) rotate(-45deg); }
.menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 790; background: var(--azul); color: #fff; padding: 28px var(--pad) 120px; display: grid; align-content: start; gap: 30px; }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { font: 800 44px/1.15 var(--display); text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.menu-phone { font: 800 40px/1 var(--display); color: #fff; text-decoration: none; background: var(--rojo); border-radius: 18px; padding: 18px 20px; text-align: center; }

/* ---------- portada ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(18px, 3vh, 40px)); padding-bottom: clamp(40px, 6vh, 70px); overflow: hidden; }
.hero::before { /* arco lavanda de fondo */
  content: ""; position: absolute; left: -22vw; bottom: -30vw; width: 52vw; height: 52vw; border-radius: 50%;
  background: var(--lavanda); z-index: -1;
}
.hero-grid { display: grid; gap: 22px; }
.hero-title { margin: 0; font: 800 clamp(3.7rem, 6.9vw, 8.4rem)/.86 var(--display); text-transform: uppercase; letter-spacing: -.012em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .w { display: inline-block; }
.hero-sub { font-size: clamp(1.1rem, 1.35vw, 1.28rem); color: var(--gris-osc); max-width: 40ch; margin: 0 0 22px; }
.hero-sub strong { color: var(--azul); }
.hero-phone { display: grid; gap: 2px; margin-bottom: 18px; }
.label { font: 600 14px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gris-osc); }
.phone-giant { font: 800 clamp(3.2rem, 5.2vw, 5.4rem)/1 var(--display); color: var(--azul); text-decoration: none; letter-spacing: .005em; width: fit-content; background: linear-gradient(var(--rojo), var(--rojo)) 0 100% / 0 5px no-repeat; transition: background-size .5s var(--ease); }
.phone-giant:hover { background-size: 100% 5px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.hero-score { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--azul); }
.hero-score b { font: 800 22px/1 var(--display); }
.stars { display: inline-flex; gap: 2px; color: var(--rojo); }
.stars svg { width: 18px; height: 18px; }
.hero-status, .open-big { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-weight: 600; font-size: 16px; color: var(--gris-osc); }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--gris); flex: none; }
[data-open="1"] .status-dot { background: #22A35A; animation: pulse-g 2s infinite; }
[data-open="1"] .status-text { color: var(--verde); }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(34,163,90,.55); } 70% { box-shadow: 0 0 0 10px rgba(34,163,90,0); } 100% { box-shadow: 0 0 0 0 rgba(34,163,90,0); } }

.hero-photo { position: relative; margin: 0; }
.hp-clip { position: relative; overflow: hidden; border-radius: 120px 22px 22px 22px; aspect-ratio: 4 / 3.3; background: var(--celeste); box-shadow: 0 40px 80px -40px rgba(1,44,99,.6); }
.hp-clip img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transform-origin: 40% 55%; will-change: transform; }
.hp-logo { position: absolute; left: -10px; bottom: -26px; width: clamp(150px, 15vw, 250px); aspect-ratio: 840 / 360; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -16px rgba(1,44,99,.75), 0 0 0 4px #fff; }
.hp-logo svg { width: 100%; height: 100%; display: block; }
.seal { filter: drop-shadow(0 18px 22px rgba(1,44,99,.35)); }
.hp-seal { position: absolute; right: -8px; top: -26px; width: clamp(120px, 13vw, 200px); height: auto; transform: rotate(-10deg); }
.hp-chip { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.95); color: var(--azul); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; }
.hp-chip .i { width: 16px; height: 16px; color: var(--rojo); }

@media (min-width: 1000px) {
  .hero { min-height: 100svh; display: grid; align-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); grid-template-rows: auto 1fr; column-gap: clamp(36px, 4.4vw, 80px); row-gap: 18px; width: 100%; }
  .hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
  .hero-side { grid-column: 1; grid-row: 2; }
  .hero-photo { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .hp-clip { aspect-ratio: auto; height: min(calc(100svh - var(--nav-h) - 110px), 760px); min-height: 520px; border-radius: 220px 26px 26px 26px; }
}
@media (max-width: 999px) {
  .hero-photo { margin: 18px 0 30px; }
  .hp-chip { display: none; }
}

/* ---------- cinta roja ---------- */
.cinta { background: var(--rojo); color: #fff; overflow: hidden; padding: 20px 0; position: relative; z-index: 2; box-shadow: inset 0 -6px 0 var(--rojo-sombra); }
.cinta-track { display: flex; align-items: center; gap: 28px; width: max-content; will-change: transform; }
.cinta span { font: italic 800 clamp(2rem, 3.6vw, 3.4rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; letter-spacing: .01em; }
.cinta i { display: block; width: 34px; height: 27px; flex: none; }
.cinta i::before { content: ""; display: block; width: 34px; height: 7px; border-radius: 4px; background: #fff; box-shadow: 0 10px 0 #fff, 0 20px 0 #fff; }

/* ---------- garantías ---------- */
.proof { background: var(--lavanda); overflow: hidden; }
.proof::after { content: ""; position: absolute; right: -14vw; top: -14vw; width: 40vw; height: 40vw; border-radius: 50%; background: rgba(163,178,209,.35); pointer-events: none; }
.proof-grid { display: grid; gap: 40px; position: relative; z-index: 1; }
.seals { position: relative; height: clamp(300px, 34vw, 470px); margin-top: 10px; }
.seals .seal { position: absolute; height: auto; }
.seal-a { width: clamp(200px, 25vw, 360px); left: 0; top: 0; transform: rotate(-8deg); }
.seal-b { width: clamp(200px, 25vw, 360px); left: clamp(130px, 19vw, 300px); top: clamp(80px, 9vw, 130px); transform: rotate(7deg); }
.score { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.score-big { font: 800 clamp(7rem, 15vw, 13rem)/.8 var(--display); letter-spacing: -.02em; color: var(--azul); font-variant-numeric: tabular-nums; }
.score-stars { display: flex; gap: 4px; color: var(--rojo); margin-bottom: 10px; }
.score-stars svg { width: 34px; height: 34px; }
.js:not(.reduced) .score-stars svg { opacity: .18; transform: scale(.6); transition: opacity .4s, transform .6s cubic-bezier(.34,1.8,.5,1); }
.js:not(.reduced) .score.lit .score-stars svg { opacity: 1; transform: none; }
.score.lit .score-stars svg:nth-child(2) { transition-delay: .15s; } .score.lit .score-stars svg:nth-child(3) { transition-delay: .3s; } .score.lit .score-stars svg:nth-child(4) { transition-delay: .45s; } .score.lit .score-stars svg:nth-child(5) { transition-delay: .6s; }
.score-meta { margin: 0; font-size: 18px; color: var(--gris-osc); }
.score-meta b { color: var(--azul); }
.themes { list-style: none; padding: 0; margin: 0; display: grid; }
.theme { display: grid; gap: 4px; padding: 18px 0; border-top: 2px solid rgba(1,44,99,.14); }
.t-word { font: 800 clamp(2rem, 3.2vw, 2.9rem)/1 var(--display); text-transform: uppercase; color: var(--azul); }
.theme:nth-child(odd) .t-word { color: var(--rojo); }
.t-quote { margin: 0; font-size: 17px; color: var(--gris-osc); }
.t-quote cite { display: block; font-style: normal; font-weight: 700; font-size: 14px; color: var(--azul); margin-top: 2px; }
@media (min-width: 960px) {
  .proof-grid { grid-template-columns: 1.05fr 1fr; gap: 6vw; align-items: start; }
  .theme { grid-template-columns: 210px 1fr; align-items: baseline; gap: 18px; }
}

/* ---------- servicios ---------- */
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.bento { display: grid; gap: 16px; }
.card { position: relative; border-radius: var(--r); overflow: hidden; padding: 26px; background: var(--lavanda); color: var(--azul); min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(1,44,99,.5); }
.card h3 { font: 800 clamp(1.8rem, 2.4vw, 2.4rem)/1 var(--display); text-transform: uppercase; margin: 0 0 8px; }
.card p { margin: 0; font-size: 17px; color: var(--gris-osc); }
.num { position: absolute; top: 20px; right: 22px; font: 800 18px/1 var(--display); letter-spacing: .1em; color: var(--rojo); }
.card-photo { min-height: 320px; padding: 0; background: var(--azul); color: #fff; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-photo:hover img { transform: scale(1.06); }
.cp-body { position: relative; padding: 70px 26px 24px; background: linear-gradient(180deg, rgba(0,26,62,0) 0%, rgba(0,26,62,.9) 46%, #001A3E 100%); }
.card-photo p { color: var(--sobre-azul); }
.card-photo .num { position: static; display: inline-block; margin-bottom: 8px; color: #fff; background: var(--rojo); padding: 6px 9px; border-radius: 8px; font-size: 15px; }
.card-itv { background: var(--azul); color: #fff; flex-direction: row; align-items: center; gap: 20px; justify-content: flex-start; }
.card-itv p { color: var(--sobre-azul); margin-bottom: 12px; }
.card-itv .num { color: var(--rojo-claro); }
.card-itv .link { color: #fff; }
.itv-logo-sm { width: 120px; height: 120px; flex: none; transition: transform 1s var(--ease); }
.card-itv:hover .itv-logo-sm { transform: rotate(-12deg) scale(1.05); }
.ico { width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--rojo); display: grid; place-items: center; margin-bottom: auto; }
.ico svg { width: 30px; height: 30px; }
.card-ico { min-height: 250px; gap: 14px; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-mec { grid-column: 1 / -1; min-height: 420px; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); }
  .c-mec { grid-column: 1 / 8; grid-row: 1 / 3; min-height: 540px; }
  .c-air { grid-column: 8 / 13; grid-row: 1; }
  .card-itv { grid-column: 8 / 13; grid-row: 2; }
  .c-fre { grid-column: 1 / 5; grid-row: 3 / 5; }
  .card-ico:nth-of-type(5) { grid-column: 5 / 9; grid-row: 3; }
  .card-ico:nth-of-type(6) { grid-column: 9 / 13; grid-row: 3; }
  .card-ico:nth-of-type(7) { grid-column: 5 / 9; grid-row: 4; }
  .card-ico:nth-of-type(8) { grid-column: 9 / 13; grid-row: 4; }
}

/* ---------- la estrella: demostración ---------- */
.demo { background: var(--azul); color: #fff; overflow: hidden; }
.demo::before { /* resplandor rojo de fondo */
  content: ""; position: absolute; right: -18vw; bottom: -22vw; width: 70vw; height: 46vw; border-radius: 60% 40% 0 0 / 80% 70% 0 0;
  background: radial-gradient(closest-side, rgba(192,5,17,.38), rgba(192,5,17,0) 80%); pointer-events: none;
}
.demo .h2 { color: #fff; }
.demo .lead { color: var(--sobre-azul); }
.demo-grid { display: grid; gap: 56px; position: relative; }
.pill-demo { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font: 600 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.pill-demo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rojo-claro); }
.pill-sm { background: var(--lavanda); color: var(--azul); }
.pill-sm::before { background: var(--rojo); }
#demoBtn.nudge { animation: nudge 1.8s infinite; }
@keyframes nudge { 0% { box-shadow: 0 0 0 0 rgba(255,122,130,.6); } 70% { box-shadow: 0 0 0 18px rgba(255,122,130,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,130,0); } }
.demo-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 2px; max-width: 470px; }
.demo-steps li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); color: var(--sobre-azul); font-weight: 600; position: relative; transition: color .4s; }
.demo-steps li::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--rojo-claro); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.demo-steps li.on { color: #fff; }
.demo-steps li.on::before { transform: scaleX(1); }
.ds-t { font: 800 20px/1 var(--display); color: var(--rojo-claro); }

.phone-stage { position: relative; display: grid; justify-items: center; gap: 20px; }
.mech-big { position: absolute; z-index: 3; width: clamp(150px, 20vw, 290px); height: auto; left: max(-10px, calc(50% - 300px)); bottom: 70px; transform: rotate(-8deg); filter: drop-shadow(0 26px 30px rgba(0,0,0,.45)); pointer-events: none; }
.phone {
  position: relative; z-index: 2; width: min(330px, 80vw); aspect-ratio: 330 / 680; border-radius: 56px; padding: 11px;
  background: linear-gradient(145deg, #3a3d44, #0d0e10 40%, #2b2e33);
  box-shadow: 0 0 0 1.5px #4a4d55, 0 60px 100px -40px rgba(0,0,0,.8), inset 0 0 0 2px #000;
}
.phone.ringing { animation: buzz .5s linear infinite; }
@keyframes buzz { 0%,100% { transform: translateX(0) rotate(0); } 20% { transform: translateX(-2px) rotate(-1deg); } 40% { transform: translateX(2px) rotate(1deg); } 60% { transform: translateX(-2px) rotate(-.6deg); } 80% { transform: translateX(2px) rotate(.6deg); } }
.phone-island { position: absolute; top: 22px; left: 50%; width: 108px; height: 32px; margin-left: -54px; border-radius: 20px; background: #000; z-index: 6; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 46px; overflow: hidden; background: linear-gradient(170deg, #0B3A7A, #012C63 45%, #001634); color: #fff; }
.ps-status { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px 0 34px; z-index: 5; font: 700 15px/1 var(--body); }
.ps-icons { display: flex; gap: 4px; align-items: flex-end; }
.ps-icons i { width: 4px; background: currentColor; border-radius: 2px; }
.ps-icons i:nth-child(1) { height: 6px; } .ps-icons i:nth-child(2) { height: 9px; } .ps-icons i:nth-child(3) { height: 12px; }
.ps { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.phone[data-state="idle"] .ps-idle,
.phone[data-state="calling"] .ps-call, .phone[data-state="missed"] .ps-call,
.phone[data-state="notif"] .ps-idle,
.phone[data-state="chat"] .ps-chat { opacity: 1; visibility: visible; }
.ps-idle { display: flex; flex-direction: column; align-items: center; padding-top: 86px; text-align: center; }
.lock-wall { width: 82%; height: auto; margin-bottom: 18px; border-radius: 14px; }
.lock-date { margin: 0; font-weight: 600; font-size: 17px; color: #fff; }
.lock-time { margin: 0; font: 800 88px/1 var(--display); color: #fff; }
.lock-hint { margin: auto 0 54px; font-size: 15px; line-height: 1.45; color: var(--sobre-azul); padding: 0 28px; }
.ps-call { display: flex; flex-direction: column; align-items: center; padding-top: 92px; text-align: center; background: linear-gradient(180deg, #002454, #00122E); }
.call-label { margin: 0 0 24px; font-size: 16px; color: var(--sobre-azul); }
.call-avatar { position: relative; width: 124px; height: 124px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.call-avatar img { width: 108px; height: auto; margin-top: -6px; }
.call-avatar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: ring 1.8s var(--ease) infinite; opacity: 0; }
.call-avatar i:nth-of-type(2) { animation-delay: .9s; }
.phone[data-state="missed"] .call-avatar i { animation: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.call-name { margin: 22px 0 4px; font: italic 800 34px/1.05 var(--display); }
.call-num { margin: 0; color: var(--sobre-azul); font-size: 16px; }
.call-timer { margin: 18px 0 0; font: 600 18px/1 var(--display); letter-spacing: .1em; color: var(--sobre-azul); font-variant-numeric: tabular-nums; }
.call-missed { margin: 22px 0 0; padding: 10px 16px; border-radius: 999px; background: var(--rojo); color: #fff; font-weight: 700; opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.phone[data-state="missed"] .call-missed { opacity: 1; transform: none; }
.ps-notif {
  position: absolute; z-index: 7; left: 10px; right: 10px; top: 62px;
  display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: start;
  padding: 12px 14px; border-radius: 22px; background: rgba(245,245,245,.97); color: #111;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  transform: translateY(calc(-100% - 90px)); opacity: 0; transition: transform .7s var(--ease), opacity .4s;
}
.phone[data-state="notif"] .ps-notif { transform: none; opacity: 1; }
.n-app { width: 40px; height: 40px; border-radius: 11px; background: #1A8D48; color: #fff; display: grid; place-items: center; }
.n-app svg { width: 24px; height: 24px; }
.ps-notif b { display: block; font-size: 15px; }
.ps-notif span { font-size: 14px; line-height: 1.3; color: #222; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ps-notif em { font-style: normal; font-size: 12px; color: #444; }
.ps-chat { background: #EFEAE2; color: #111; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 58px 16px 14px; background: var(--azul); color: #fff; }
.chat-av { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; overflow: hidden; }
.chat-av img { width: 40px; height: auto; margin-top: 2px; }
.chat-head b { display: block; font-size: 16px; }
.chat-head span { font-size: 13px; color: var(--sobre-azul); }
.chat-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; background-image: radial-gradient(rgba(1,44,99,.06) 1px, transparent 1px); background-size: 14px 14px; }
.chat-day { align-self: center; margin: 0; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: #fff; color: #333; }
.chat-sys { align-self: center; margin: 0; font-size: 12.5px; padding: 5px 10px; border-radius: 8px; background: #FFE3E5; color: #7A0610; font-weight: 600; }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #fff; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #777; animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%,60%,100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.ps-chat.typing-on .typing { display: inline-flex; }
.bubble { margin: 0; max-width: 88%; padding: 10px 12px 20px; font-size: 14.5px; line-height: 1.4; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); opacity: 0; transform: translateY(10px) scale(.96); transform-origin: 0 100%; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.bubble.show { opacity: 1; transform: none; }
.bubble-in { align-self: flex-start; background: #fff; border-radius: 4px 16px 16px 16px; }
.bubble-out { align-self: flex-end; background: #D6F5CC; border-radius: 16px 4px 16px 16px; transform-origin: 100% 100%; display: none; padding-bottom: 10px; }
.bubble-out.show { display: block; }
.b-time { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: #4d4f55; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 26px; background: #EFEAE2; }
.chat-quick button { border: 0; cursor: pointer; padding: 9px 12px; border-radius: 999px; background: #fff; color: var(--azul); font-size: 13.5px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--azul); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease), background-color .2s; }
.chat-quick.show button { opacity: 1; transform: none; }
.chat-quick.show button:nth-child(2) { transition-delay: .08s; } .chat-quick.show button:nth-child(3) { transition-delay: .16s; }
.chat-quick button:hover { background: var(--lavanda); }
.replay { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; color: #fff; font-weight: 700; cursor: pointer; padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); position: relative; z-index: 3; }
.replay[hidden] { display: none; }
.replay .i { width: 18px; height: 18px; }
@media (min-width: 960px) {
  .demo-grid { grid-template-columns: 6fr 5fr; align-items: center; gap: 4vw; }
  .mech-big { left: calc(50% - 400px); bottom: 60px; width: 250px; }
}
@media (max-width: 959px) {
  .phone-stage { padding-top: 70px; }
  .mech-big { left: auto; right: -4px; top: -30px; bottom: auto; width: 120px; transform: rotate(8deg); }
}

/* ---------- ITV ---------- */
.itv { overflow: hidden; }
.itv-grid { display: grid; gap: 48px; }
.itv-copy { position: relative; }
.itv-logo { width: clamp(110px, 12vw, 170px); height: auto; margin-bottom: 26px; filter: drop-shadow(0 18px 24px rgba(1,44,99,.3)); }
.itv-note { font-size: 17px; color: var(--azul); max-width: 42ch; padding: 16px 18px; border-left: 6px solid var(--rojo); background: var(--lavanda); border-radius: 0 14px 14px 0; }
.itv-card { background: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 50px 100px -50px rgba(1,44,99,.55), 0 0 0 1px rgba(1,44,99,.08); position: relative; }
.itv-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 6px; border-radius: 0 0 6px 6px; background: var(--rojo); }
.itv-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--lavanda); gap: 4px; }
.seg button { border: 0; background: transparent; cursor: pointer; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--azul); transition: background-color .3s, color .3s; }
.seg button[aria-selected="true"] { background: var(--azul); color: #fff; }
.itv-form { display: grid; gap: 18px; }
.f-row { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; min-width: 0; }
.f-row legend { font: 600 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gris-osc); margin-bottom: 10px; padding: 0; }
.f-row[hidden] { display: none; }
select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 56px; border: 0; border-radius: 16px; padding: 0 42px 0 16px;
  background: var(--lavanda) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C00511' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  font: 700 17px/1 var(--body); color: var(--azul); cursor: pointer;
}
select:hover { box-shadow: inset 0 0 0 2px var(--azul); }
.itv-result { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; margin: 28px 0 24px; padding: 22px; border-radius: 22px; background: var(--lavanda); }
.gauge { position: relative; width: 116px; height: 116px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.g-bg { stroke: #C5CCE6; }
.g-fg { stroke: var(--rojo); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.2s var(--ease); }
.gauge-in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-in b { font: 800 32px/1 var(--display); font-variant-numeric: tabular-nums; }
.gauge-in span { font-size: 13px; color: var(--gris-osc); font-weight: 600; }
.out-label { margin: 0 0 4px; font-weight: 600; color: var(--gris-osc); font-size: 15px; }
.out-date { margin: 0; font: 800 clamp(2.2rem, 3.8vw, 3.2rem)/1 var(--display); text-transform: uppercase; }
.out-rule { margin: 8px 0 0; font-size: 15px; color: var(--gris-osc); }
.itv-legal { margin: 14px 0 0; font-size: 14px; color: var(--gris-osc); }
@media (min-width: 960px) { .itv-grid { grid-template-columns: 5fr 6fr; gap: 6vw; align-items: center; } }
@media (max-width: 420px) { .itv-result { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- cómo trabajamos ---------- */
.process { background: #fff; }
.stack { display: grid; gap: 22px; }
.step {
  position: sticky; top: calc(var(--nav-h) + 20px + var(--i) * 18px);
  display: grid; gap: 28px; padding: clamp(26px, 4vw, 56px); border-radius: 30px; overflow: hidden;
  background: var(--lavanda); color: var(--azul); min-height: 360px; transform-origin: 50% 0;
}
.step-1 { --i: 0; } .step-2 { --i: 1; } .step-3 { --i: 2; }
.step-2 { background: var(--azul); color: #fff; }
.step-3 { background: var(--rojo); color: #fff; }
.step-num { display: block; font: 800 clamp(5rem, 12vw, 10rem)/.8 var(--display); margin-bottom: 18px; color: var(--rojo); }
.step-2 .step-num { color: var(--rojo-claro); }
.step-3 .step-num { color: #fff; }
.step h3 { font: 800 clamp(2.2rem, 4.6vw, 4.4rem)/.95 var(--display); text-transform: uppercase; margin: 0 0 14px; max-width: 15ch; }
.step p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); margin: 0 0 14px; max-width: 40ch; color: var(--gris-osc); }
.step-2 p { color: var(--sobre-azul); }
.step-3 p { color: #fff; }
.step-quote { margin: 0; align-self: end; padding: 22px 24px; border-radius: 20px; background: #fff; color: var(--azul); }
.step-quote p { margin: 0 0 10px; font: 500 clamp(1.15rem, 1.6vw, 1.45rem)/1.35 var(--body); color: var(--azul); max-width: none; }
.step-quote cite { font-style: normal; font-weight: 700; font-size: 14px; color: var(--rojo); }
.step-2 .step-quote { background: rgba(255,255,255,.1); color: #fff; }
.step-2 .step-quote p { color: #fff; }
.step-2 .step-quote cite { color: #FFB3B8; }
.step-3 .step-quote cite { color: var(--rojo); }
.step-mech { position: absolute; right: clamp(16px, 3vw, 40px); top: clamp(16px, 3vw, 36px); width: clamp(90px, 11vw, 150px); height: auto; padding: 8px; background: #fff; border-radius: 50%; transform: rotate(8deg); }
@media (min-width: 960px) { .step { grid-template-columns: 1.15fr 1fr; align-items: end; min-height: 420px; } }

/* ---------- el taller: galería ---------- */
.taller { background: var(--azul); color: #fff; position: relative; overflow: hidden; padding-block: clamp(80px, 9vw, 120px); }
.taller .eyebrow { color: var(--sobre-azul); }
.taller .h2 { color: #fff; }
.taller .lead { color: var(--sobre-azul); }
.reel { display: flex; gap: 18px; padding: 10px var(--pad) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.reel::-webkit-scrollbar { display: none; }
.shot { margin: 0; flex: none; scroll-snap-align: center; }
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; background: var(--azul-hondo); }
.shot-w { width: 84vw; } .shot-w img { aspect-ratio: 4 / 3; height: auto; }
.shot-t { width: 66vw; } .shot-t img { aspect-ratio: 3 / 4; height: auto; }
.shot figcaption { margin-top: 12px; font-size: 16px; color: var(--sobre-azul); font-weight: 500; }
.shot figcaption b { font: 800 16px/1 var(--display); color: var(--rojo-claro); margin-right: 8px; letter-spacing: .08em; }
@media (min-width: 900px) {
  .taller-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .js:not(.reduced) .taller { padding-block: 0; }
  .js:not(.reduced) .taller-pin { height: 100vh; padding-top: calc(var(--nav-h) + 4px); }
  .taller-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 0 4vw; width: 100%; }
  .taller-head .eyebrow { grid-column: 1 / -1; }
  .taller-head .h2 { margin-bottom: 18px; }
  .js:not(.reduced) .reel { overflow: visible; scroll-snap-type: none; padding-inline: var(--pad); }
  .shot img { height: min(50vh, 520px); width: auto; aspect-ratio: auto; }
  .shot-w, .shot-t { width: auto; }
  .shot-w img { aspect-ratio: 4 / 3; }
  .shot-t img { aspect-ratio: 3 / 4; }
}

/* ---------- opiniones ---------- */
.feature-quote { margin: 0 0 clamp(48px, 6vw, 80px); }
.feature-quote blockquote { margin: 0; }
.fq-text { margin: 0; font: 600 clamp(1.7rem, 3.3vw, 3.2rem)/1.18 var(--body); letter-spacing: -.01em; max-width: 30ch; color: var(--azul); }
.fw { transition: color .3s; }
.js:not(.reduced) .fw { color: #5D6888; }
.js:not(.reduced) .fw.lit { color: var(--azul); }
.feature-quote figcaption { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--gris-osc); font-size: 16px; }
.feature-quote figcaption b { color: var(--azul); }
.fq-stars { display: inline-flex; gap: 2px; color: var(--rojo); }
.fq-stars svg { width: 18px; height: 18px; }
.rev-grid { display: grid; gap: 16px; }
.rev { margin: 0; padding: 26px; border-radius: var(--r); background: var(--lavanda); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.rev blockquote { margin: 0; }
.rev p { margin: 0; font-size: 18px; color: var(--azul); }
.rev figcaption { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--gris-osc); }
.rev figcaption b { color: var(--azul); }
.rev-link { background: var(--rojo); color: #fff; text-decoration: none; position: relative; min-height: 200px; }
.rl-big { font: 800 clamp(5rem, 8vw, 7rem)/.85 var(--display); }
.rl-txt { font-weight: 700; font-size: 18px; max-width: 16ch; }
.rl-arrow { position: absolute; right: 22px; top: 22px; width: 30px; height: 30px; transition: transform .5s var(--ease); }
.rev-link:hover .rl-arrow { transform: translate(4px, -4px); }
@media (min-width: 760px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } .rev-wide { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } .rev-wide { grid-column: span 2; } }

/* ---------- horario y mapa ---------- */
.visit { background: var(--lavanda); }
.visit-grid { display: grid; gap: 20px; }
.hours-card, .map-card { background: #fff; border-radius: 28px; padding: clamp(24px, 3.4vw, 44px); }
.open-big { font-size: 18px; margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid rgba(1,44,99,.12); text-align: left; white-space: nowrap; }
.hours th { font-weight: 600; color: var(--gris-osc); }
.hours td { text-align: right; font-weight: 700; color: var(--azul); font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--rojo); }
.hours tr.today th::before { content: ""; display: inline-block; width: 18px; height: 6px; border-radius: 3px; background: var(--rojo); margin-right: 8px; vertical-align: middle; }
.hours-note { margin: 14px 0 0; font-size: 15px; color: var(--gris-osc); }
.map-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.map { position: relative; display: block; aspect-ratio: 760 / 480; overflow: hidden; }
.map img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) hue-rotate(-8deg); transition: transform 1.2s var(--ease); }
.map:hover img { transform: scale(1.04); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 110px; transform: translate(-50%, -100%); }
.map-pin svg { width: 110px; height: 47px; border-radius: 12px; box-shadow: 0 0 0 4px #fff, 0 16px 30px -10px rgba(1,44,99,.7); display: block; }
.map-pin i { position: absolute; left: 50%; bottom: -16px; width: 4px; height: 16px; margin-left: -2px; background: #fff; }
.js:not(.reduced) .map-card:not(.in) .map-pin { opacity: 0; transform: translate(-50%, -260%); }
.js:not(.reduced) .map-card.in .map-pin { animation: drop 1s cubic-bezier(.34,1.56,.64,1) .3s both; }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -260%); } to { opacity: 1; transform: translate(-50%, -100%); } }
.osm { position: absolute; right: 8px; bottom: 8px; font-size: 12px; background: rgba(255,255,255,.95); color: #222; padding: 3px 6px; border-radius: 6px; }
.map-info { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.addr { display: flex; gap: 10px; margin: 0; font-weight: 600; font-size: 18px; }
.addr .i { color: var(--rojo); margin-top: 3px; }
.map-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1fr 1.15fr; } }

/* ---------- CTA final ---------- */
.final { background: var(--rojo); color: #fff; position: relative; overflow: hidden; padding-block: clamp(90px, 12vw, 170px); }
.final::before { content: ""; position: absolute; left: -12vw; bottom: -30vw; width: 60vw; height: 60vw; border-radius: 50%; background: var(--rojo-sombra); }
.final-pills { position: absolute; right: -3vw; top: 6vw; width: clamp(160px, 24vw, 380px); height: auto; opacity: .95; filter: drop-shadow(0 14px 20px rgba(80,0,6,.35)); }
.final-inner { position: relative; }
.final-title { margin: 0 0 14px; font: 800 clamp(3rem, 7.6vw, 8rem)/.9 var(--display); text-transform: uppercase; max-width: 12ch; }
.final-title span { display: block; }
.final-phone { display: block; width: fit-content; font: 800 clamp(4.2rem, 13vw, 13rem)/.9 var(--display); color: #fff; text-decoration: none; margin-bottom: 30px; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.final-seals { display: flex; gap: 14px; margin-top: 40px; }
.final-seals svg { width: clamp(110px, 12vw, 170px); height: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.3)); }
.final-seals svg:first-child { transform: rotate(-8deg); }
.final-seals svg:last-child { transform: rotate(6deg); }
@media (min-width: 1100px) { .final-seals { position: absolute; right: var(--pad); bottom: 0; margin: 0; } .final-seals svg { width: 190px; } }

/* ---------- pie ---------- */
.foot { background: var(--azul); color: #fff; padding-bottom: 110px; }
.foot-kv { padding-top: clamp(40px, 6vw, 80px); }
.foot-kv svg { width: 100%; max-width: 860px; height: auto; display: block; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.foot-grid { display: grid; gap: 30px; padding-block: 56px 40px; }
.foot p { margin: 0; color: var(--sobre-azul); font-size: 16px; }
.foot .foot-word { font: italic 800 clamp(48px, 5vw, 64px)/.9 var(--display); margin: 0 0 14px; }
.foot-word b:first-child { color: var(--rojo-claro); }
.foot-word b:last-child { color: #fff; }
.foot-h { font: 600 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-list a { color: var(--sobre-azul); text-decoration: none; font-size: 16px; }
.foot-list a:hover { color: #fff; text-decoration: underline; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; display: grid; gap: 8px; }
.foot-disclaimer { color: #fff !important; font-weight: 600; }
.foot-legal p:last-child { font-size: 14px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .foot { padding-bottom: 40px; } }

/* ---------- barra fija móvil ---------- */
.mbar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 700; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 16px 40px -12px rgba(1,44,99,.55); transform: translateY(140%); transition: transform .5s var(--ease); }
.mbar.show { transform: none; }
.mbar.hide-end { transform: translateY(140%); }
.mbar .btn { min-height: 52px; padding: 0 12px; }

/* ---------- apariciones ---------- */
.js:not(.reduced) .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js:not(.reduced) .reveal.in { opacity: 1; transform: none; }
.js:not(.reduced) .h2-rise { clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.js:not(.reduced) .h2-rise.in { clip-path: inset(-10% -5% -10% -5%); transform: none; }
.js:not(.reduced) .hero-in { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) { .nav-links { display: none; } .nav-menu { display: grid; } }
@media (max-width: 999px) {
  :root { --nav-h: 68px; }
  .mbar { display: grid; }
  .nav { gap: 12px; }
  .brand-kv { width: 80px; height: 35px; border-radius: 8px; }
  .bw { font-size: 25px; }
  .bs { font-size: 10.5px; letter-spacing: .12em; }
  .nav-phone { display: none; }
  .eb-long { display: none; }
  .eb-short { display: inline; }
  .hero-title { font-size: clamp(3.4rem, 17.5vw, 6.6rem); }
  .hero-ctas .btn { flex: 1 1 150px; }
  .final { padding-top: 150px; }
  .final-pills { top: 34px; right: -40px; width: 190px; opacity: .9; }
}
@media (max-width: 380px) { .bs { display: none; } }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
