/* GERARD · Diseño web en Albacete
   Dirección de arte: noche manchega, niebla y filo. Referencia principal reinterpretada:
   velo de carga, título de pincel + condensada, cinta, decodificado de cifras, expedientes
   horizontales fijados, lista con imagen que cambia, sello giratorio y destello en el CTA final. */

@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("../fonts/permanent-marker-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --night: #07110f;
  --night-2: #0b1a17;
  --night-3: #112521;
  --bone: #eaefe7;
  --fog: #9fb3ad;
  --turq: #00e5e5;
  --turq-deep: #00a9a9;
  --amber: #e9b76c;
  --line: rgba(234, 239, 231, .14);
  --line-2: rgba(234, 239, 231, .26);
  --f-display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --f-brush: "Permanent Marker", "Segoe Script", cursive;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-cut: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
html.reduced { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 11px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 700; color: var(--bone); }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--turq); color: var(--night); }

.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; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 300; padding: 10px 16px; background: var(--turq); color: var(--night); font-weight: 700; border-radius: 8px; transform: translateY(-160%); transition: transform .2s; text-decoration: none; }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.turq { color: var(--turq); }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Etiqueta de reserva visual: solo durante la revisión, se elimina al poner las imágenes reales */

/* ── Botones ───────────────────────────────────────── */
.btn {
  --b: var(--turq);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  font: 700 1rem/1.15 var(--f-body); letter-spacing: .005em; text-align: center;
  text-decoration: none; border-radius: 999px; border: 1.5px solid var(--b);
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .3s, border-color .2s;
}
.btn--turq { background: var(--turq); color: var(--night); }
.btn--turq:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(0, 229, 229, .7); }
.btn--line { color: var(--bone); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--turq); color: var(--turq); }
.btn--ghost { color: var(--fog); border-color: transparent; }
.btn--ghost:hover { color: var(--bone); }
.btn--lg { min-height: 56px; font-size: 1.05rem; padding-inline: 1.6em; }
.btn--xl { min-height: 64px; font-size: clamp(1.05rem, 1.2vw + .6rem, 1.3rem); padding-inline: 2em; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.98); }

/* ── Velo de carga ─────────────────────────────────── */
.veil { display: none; }
html.is-loading .veil, .veil.is-parting { display: block; position: fixed; inset: 0; z-index: 400; pointer-events: none; }
html.is-loading { overflow: hidden; }
.veil__half { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 40%, #12302b 0%, var(--night) 60%); transition: transform 1.05s var(--ease-cut); }
.veil__half--top { clip-path: polygon(0 0, 100% 0, 100% 38%, 0 62%); }
.veil__half--bottom { clip-path: polygon(0 62%, 100% 38%, 100% 100%, 0 100%); }
.veil__core { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; transition: opacity .35s; }
.veil__core img { width: min(220px, 52vw); animation: veil-breathe 1.6s ease-in-out infinite; }
.veil__note { font: 400 12px/1 var(--f-mono); color: var(--fog); letter-spacing: .04em; }
.veil__blade { position: absolute; left: -10%; right: -10%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--turq) 30%, #fff 50%, var(--turq) 70%, transparent); box-shadow: 0 0 22px 3px rgba(0, 229, 229, .65); transform: rotate(-13deg) scaleX(0); transform-origin: left center; opacity: 0; }
.veil.is-parting .veil__blade { animation: blade-cut .5s var(--ease-cut) forwards; }
.veil.is-parting .veil__core { opacity: 0; }
.veil.is-parting .veil__half--top { transform: translate(-3%, -105%); transition-delay: .38s; }
.veil.is-parting .veil__half--bottom { transform: translate(3%, 105%); transition-delay: .38s; }
@keyframes blade-cut { 0% { transform: rotate(-13deg) scaleX(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: rotate(-13deg) scaleX(1); opacity: 0; } }
@keyframes veil-breathe { 50% { opacity: .55; } }

/* ── Barra de progreso ─────────────────────────────── */
.progress { position: fixed; z-index: 110; inset: 0 0 auto; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--turq); transform-origin: 0 50%; transform: scaleX(0); }

/* ── Cabecera ──────────────────────────────────────── */
.header {
  position: fixed; z-index: 100; inset: 0 0 auto;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: var(--gutter);
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: rgba(7, 17, 15, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-105%); }
html.menu-open .header { transform: none; background: rgba(7, 17, 15, .94); border-bottom-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header__brand { justify-self: start; display: inline-flex; padding: 6px 0; }
.header__brand img { width: clamp(108px, 9vw, 132px); }
.header__nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.header__nav a { position: relative; text-decoration: none; font: 500 .95rem/1 var(--f-body); color: var(--bone); padding: 8px 0; white-space: nowrap; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--turq); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__nav a.is-active { color: var(--turq); }
.header__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header__cta { min-height: 44px; padding: .55em 1.15em; font-size: .92rem; }
.only-narrow { display: none; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 8px; font: 500 13px/1 var(--f-mono); letter-spacing: .04em; color: var(--bone); }
.menu-toggle__bars { position: relative; width: 26px; height: 12px; }
.menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle__bars i:first-child { top: 1px; }
.menu-toggle__bars i:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { top: 5px; transform: rotate(35deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { top: 5px; transform: rotate(-35deg); }

@media (max-width: 1279px) { .only-wide { display: none; } .only-narrow { display: inline; } }
@media (max-width: 1099px) {
  .header { grid-template-columns: auto 1fr; }
  .header__nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 400px) {
  .header { gap: 8px; }
  .header__brand img { width: 96px; }
  .header__cta { padding-inline: .9em; font-size: .85rem; }
  .menu-toggle__text { display: none; }
}

/* ── Menú móvil ────────────────────────────────────── */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--night); overflow: hidden; opacity: 0; transition: opacity .45s var(--ease); }
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__fog { position: absolute; inset: -20%; background:
  radial-gradient(40% 30% at 20% 30%, rgba(0, 229, 229, .10), transparent 70%),
  radial-gradient(50% 40% at 80% 70%, rgba(159, 179, 173, .16), transparent 70%),
  radial-gradient(60% 50% at 40% 90%, rgba(159, 179, 173, .12), transparent 70%);
  animation: fog-drift 18s ease-in-out infinite alternate; }
.menu__slash { position: absolute; left: -10%; right: -10%; top: 58%; height: 1.5px; background: linear-gradient(90deg, transparent, var(--turq), transparent); box-shadow: 0 0 18px rgba(0, 229, 229, .55); transform: rotate(-13deg) scaleX(0); transform-origin: left; transition: transform .7s var(--ease-cut) .05s; }
.menu.is-open .menu__slash { transform: rotate(-13deg) scaleX(1); }
.menu__inner { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding: calc(var(--header-h) + 12px) var(--gutter) max(24px, env(safe-area-inset-bottom)); }
.menu__coords { margin: 0; font: 400 12px/1 var(--f-mono); color: var(--fog); }
.menu__list { counter-reset: m; align-self: center; }
.menu__list li { border-top: 1px solid var(--line); }
.menu__list li:last-child { border-bottom: 1px solid var(--line); }
.menu__list a { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: baseline; padding: clamp(10px, 2.2vh, 18px) 0; text-decoration: none;
  clip-path: inset(0 100% 0 0); transform: translateX(-12px); transition: clip-path .7s var(--ease-cut), transform .7s var(--ease-cut); }
.menu.is-open .menu__list a { clip-path: inset(0 0 0 0); transform: none; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .06s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .18s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .24s; }
.menu__num { font: 500 12px/1 var(--f-mono); color: var(--turq); grid-row: span 2; align-self: start; padding-top: .9em; }
.menu__label { font: 900 clamp(2.5rem, 11vw, 4.6rem)/.9 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; transition: color .25s, -webkit-text-stroke-color .25s; }
.menu__hint { font: 400 12.5px/1.4 var(--f-mono); color: var(--fog); margin-top: 4px; }
.menu__list a:hover .menu__label, .menu__list a:focus-visible .menu__label { color: var(--turq); }
.menu__aside { display: grid; gap: 14px; max-width: 520px; opacity: 0; transform: translateY(10px); transition: opacity .5s .3s, transform .5s .3s var(--ease); }
.menu.is-open .menu__aside { opacity: 1; transform: none; }
.menu__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font: 400 13px/1.5 var(--f-mono); }
.menu__contact a { color: var(--fog); text-decoration: none; padding: 6px 0; }
.menu__contact a:hover { color: var(--turq); }
@media (min-width: 700px) and (min-height: 620px) {
  .menu__inner { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto 1fr; align-items: center; column-gap: 48px; }
  .menu__coords { grid-column: 1 / -1; }
  .menu__aside { align-self: end; margin-bottom: 8vh; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .menu__label { font-size: 2.1rem; }
  .menu__hint { display: none; }
}
html.menu-open { overflow: hidden; }

/* ── Niebla ────────────────────────────────────────── */
.fog { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; pointer-events: none; z-index: 2; overflow: hidden; }
.fog i { position: absolute; inset: 0 -40%; background:
  radial-gradient(28% 40% at 12% 70%, rgba(183, 205, 198, .20), transparent 70%),
  radial-gradient(32% 46% at 38% 82%, rgba(183, 205, 198, .16), transparent 72%),
  radial-gradient(26% 38% at 64% 74%, rgba(183, 205, 198, .18), transparent 70%),
  radial-gradient(34% 44% at 88% 86%, rgba(183, 205, 198, .14), transparent 72%);
  animation: fog-drift 26s ease-in-out infinite alternate; will-change: transform; }
.fog i:nth-child(2) { animation-duration: 34s; animation-direction: alternate-reverse; opacity: .75; transform: translateY(14%); }
.fog i:nth-child(3) { animation-duration: 44s; opacity: .55; filter: hue-rotate(-20deg); top: 30%; }
.is-fog-paused .fog i, .fog.is-paused i { animation-play-state: paused; }
@keyframes fog-drift { from { transform: translate3d(-8%, 0, 0); } to { transform: translate3d(8%, -3%, 0); } }

/* ── Hero ──────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 17, 15, .55) 0%, rgba(7, 17, 15, 0) 26%, rgba(7, 17, 15, .2) 55%, rgba(7, 17, 15, .92) 100%); }
.hero__light { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(260px 260px at var(--mx, 50%) var(--my, 40%), rgba(0, 229, 229, .13), transparent 70%); }
.hero:hover .hero__light { opacity: 1; }
.hero .fog { z-index: 1; height: 55%; }
.hero__content { position: relative; z-index: 3; padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(28px, 6vh, 64px); }
.hero__title { display: grid; line-height: .86; will-change: transform, opacity; }
.hero__brush { font-family: var(--f-brush); font-weight: 400; color: var(--bone); font-size: clamp(3rem, 10.4vw, 9.6rem); line-height: 1; letter-spacing: -.01em; transform: rotate(-3deg); transform-origin: left bottom; margin-left: -.03em; text-shadow: 0 6px 40px rgba(0, 0, 0, .4); }
.hero__city { position: relative; display: inline-block; justify-self: start; white-space: nowrap; font: 900 min(17rem, calc((min(100vw, 1360px) - 2 * var(--gutter)) / 5.4))/.84 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; color: var(--turq); margin-top: -.06em; padding-right: .5em; }
.hero__star { position: absolute; right: 0; top: .05em; font: 400 .42em/1 var(--f-body); color: var(--amber); transform-origin: 50% 50%; will-change: transform; }
.hero__coords { margin: clamp(10px, 2vh, 20px) 0 0; font: 400 12.5px/1 var(--f-mono); color: var(--fog); letter-spacing: .04em; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; margin-top: clamp(18px, 4vh, 44px); }
.hero__lead { max-width: 52ch; margin: 0; font-size: clamp(1rem, .5vw + .9rem, 1.2rem); color: #d6dfda; }
.hero__actions { display: flex; align-items: center; gap: 14px; }
.hero__down { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--bone); transition: border-color .2s, color .2s, transform .3s var(--ease); }
.hero__down:hover { border-color: var(--turq); color: var(--turq); transform: translateY(3px); }
@media (max-width: 640px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .hero__down { width: 52px; height: 52px; flex: none; }
}
/* entrada del hero tras el velo */
html.js:not(.reduced) .hero__brush, html.js:not(.reduced) .hero__city, html.js:not(.reduced) .hero__foot, html.js:not(.reduced) .hero__coords { animation: hero-in 1.1s var(--ease) both; }
html.js:not(.reduced) .hero__city { animation-delay: .12s; clip-path: inset(0 0 0 0); animation-name: hero-cut; }
html.js:not(.reduced) .hero__coords { animation-delay: .3s; }
html.js:not(.reduced) .hero__foot { animation-delay: .4s; }
html.is-loading .hero__brush, html.is-loading .hero__city, html.is-loading .hero__foot, html.is-loading .hero__coords { animation-play-state: paused; }
@keyframes hero-in { from { opacity: 0; transform: translateY(26px); } }
@keyframes hero-cut { from { clip-path: inset(0 100% 0 0); } }

/* ── Cinta ─────────────────────────────────────────── */
.ticker { position: relative; z-index: 4; overflow: hidden; border-block: 1px solid var(--line); background: var(--night); padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font: 800 clamp(1.3rem, 2.4vw, 2rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; padding-right: 1.4em; white-space: nowrap; color: var(--fog); }
.ticker span:nth-child(2n) { color: var(--bone); }
.ticker span::after { content: "✳"; color: var(--turq); font-family: var(--f-body); font-weight: 400; margin-left: 1.4em; font-size: .7em; vertical-align: .18em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Encabezados de sección ───────────────────────── */
section { position: relative; }
.sechead { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: clamp(26px, 5vw, 56px); font: 400 13px/1.4 var(--f-mono); color: var(--fog); }
.sechead p { margin: 0; }
.sechead__a { color: var(--turq); }
.sechead--stack { margin-bottom: 22px; }
.h2 { font: 900 clamp(2.6rem, 6.4vw, 6.3rem)/.92 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; max-width: 15ch; text-wrap: balance; }

/* ── Intro ─────────────────────────────────────────── */
.intro { padding: clamp(84px, 12vw, 160px) 0 clamp(90px, 12vw, 170px); background: var(--night); }
.intro__title { max-width: 12ch; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: end; margin-top: clamp(40px, 6vw, 80px); }
.intro__text { max-width: 54ch; color: #ccd7d2; font-size: clamp(1.02rem, .4vw + .95rem, 1.2rem); padding-bottom: 8px; }
.window__star { position: absolute; z-index: 5; right: 18px; top: 14px; font-size: clamp(42px, 5vw, 70px); line-height: 1; color: var(--amber); }
@media (max-width: 820px) {
  .intro__grid { grid-template-columns: 1fr; }
}
/* palabras que aparecen */
html.js:not(.reduced) [data-words] .word { display: inline-block; opacity: .12; transform: translateY(.18em); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 70ms); }
html.js:not(.reduced) [data-words].in-view .word { opacity: 1; transform: none; }

/* datos con decodificado */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(56px, 8vw, 110px) 0 0; border-block: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: clamp(18px, 3vw, 34px) clamp(10px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font: 400 13px/1.35 var(--f-mono); color: var(--fog); }
.facts dd { margin: 0; }
.facts dd strong { font: 900 clamp(3rem, 8vw, 6.5rem)/.9 var(--f-display); color: var(--turq); letter-spacing: -.01em; }
.decode-c { display: inline-block; text-align: center; }
.decode-c.is-live { color: var(--fog); }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; flex-direction: row-reverse; justify-content: space-between; align-items: baseline; }
  .facts > div:first-child { border-top: 0; }
}

/* ── Reservas visuales ─────────────────────────────── */

/* ── Expedientes ───────────────────────────────────── */
.files { background: var(--night); }
.files__pin { position: relative; }
.files__bar { position: absolute; z-index: 5; left: 0; right: 0; top: calc(var(--header-h) + 8px); display: flex; justify-content: space-between; gap: 12px; font: 400 13px/1.4 var(--f-mono); color: var(--fog); pointer-events: none; }
.files__bar p { margin: 0; }
.files__bar p:first-child { color: var(--turq); }
.files__track { display: block; }
.file { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.file__bg { position: absolute; inset: -40px 0; z-index: -2; will-change: transform; }
.file::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 17, 15, .92) 0%, rgba(7, 17, 15, .55) 50%, rgba(7, 17, 15, .1) 100%), linear-gradient(0deg, rgba(7, 17, 15, .8), transparent 40%); }
.file__body { padding-top: calc(var(--header-h) + 60px); padding-bottom: 130px; }
.file__kicker { font: 500 13px/1.4 var(--f-mono); color: var(--turq); margin-bottom: 18px; }
.file__title { max-width: 11ch; }
.file__text { max-width: 46ch; margin: 22px 0 18px; color: #d3ddd8; font-size: clamp(1rem, .4vw + .95rem, 1.18rem); }
.file__tag { margin: 0; font: 400 12.5px/1.4 var(--f-mono); color: var(--fog); }
.file__num { position: absolute; right: var(--gutter); bottom: 110px; z-index: 1; font: 900 clamp(8rem, 22vw, 20rem)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px rgba(0, 229, 229, .45); pointer-events: none; will-change: transform; }
.files__fog { height: 100%; bottom: 0; opacity: 0; z-index: 4; display: none; }
.files__nav { position: absolute; z-index: 5; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.files__tabs { display: flex; gap: clamp(8px, 2vw, 26px); }
.files__tabs button { min-width: 0; padding: 12px 0 4px; border-top: 1.5px solid var(--line-2); font: 400 13px/1.2 var(--f-mono); color: var(--fog); width: clamp(96px, 12vw, 170px); text-align: left; transition: color .2s, border-color .2s; }
.files__tabs button:hover { color: var(--bone); }
.files__tabs button.is-current { color: var(--turq); border-color: var(--turq); }
.files__count { margin: 0; font: 400 13px/1 var(--f-mono); color: var(--fog); }
/* móvil / sin JS: expedientes apilados */
.files .file + .file { border-top: 1px solid var(--line); }
.files__nav { display: none; }
.files__bar { position: static; padding-top: clamp(70px, 10vw, 120px); padding-bottom: 0; }
.file { min-height: 86svh; }
.file__body { padding-top: 90px; padding-bottom: 120px; }

/* escritorio con JS: pin horizontal */
@media (min-width: 900px) and (min-height: 560px) {
  html.js:not(.reduced) .files { height: 320vh; }
  html.js:not(.reduced) .files__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  html.js:not(.reduced) .files__bar { position: absolute; padding-top: 0; }
  html.js:not(.reduced) .files__track { display: flex; width: 300%; height: 100%; will-change: transform; }
  html.js:not(.reduced) .file { flex: 0 0 33.3334%; min-height: 0; height: 100%; }
  html.js:not(.reduced) .files .file + .file { border-top: 0; }
  html.js:not(.reduced) .file__bg { inset: 0 -12%; }
  html.js:not(.reduced) .files__nav { display: flex; }
  html.js:not(.reduced) .files__fog { display: block; }
  html.js:not(.reduced) .file__body { padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 899px) {
  .file::before { background: linear-gradient(0deg, rgba(7, 17, 15, .95) 10%, rgba(7, 17, 15, .55) 60%, rgba(7, 17, 15, .25) 100%); }
  .file { align-items: flex-end; }
  .file__num { bottom: auto; top: 70px; font-size: clamp(7rem, 34vw, 12rem); }
}

/* ── Antes / después ───────────────────────────────── */
.versus { padding: clamp(90px, 12vw, 170px) 0; background: var(--night-2); }
.versus__intro { max-width: 62ch; margin: 26px 0 clamp(30px, 5vw, 56px); color: #ccd7d2; }
.ba { position: relative; max-width: 940px; margin-inline: auto; }
.ba__stage { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); user-select: none; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 8; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.ba__line { position: absolute; z-index: 7; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--turq); box-shadow: 0 0 18px rgba(0, 229, 229, .8); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--turq); color: var(--night); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.ba__knob svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 3px solid var(--bone); outline-offset: 3px; }
.ba__label { position: absolute; z-index: 6; top: 12px; font: 500 12px/1 var(--f-mono); padding: 7px 10px; border-radius: 999px; pointer-events: none; transition: opacity .25s; }
.ba__label--a { left: 12px; background: #e8ecf2; color: #1f3a66; }
.ba__label--b { right: 12px; background: var(--night); color: var(--turq); border: 1px solid rgba(0, 229, 229, .5); }
.versus__note { margin: 14px 0 0; font: 400 12.5px/1.4 var(--f-mono); color: var(--fog); }
.versus__points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(24px, 5vw, 70px); margin-top: clamp(30px, 5vw, 56px); color: #ccd7d2; }
.versus__points p { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); max-width: 50ch; }
@media (max-width: 680px) { .versus__points { grid-template-columns: 1fr; } .ba__stage { aspect-ratio: 4 / 5; } }

/* maquetas (unidades relativas al contenedor para escalar con cualquier ancho) */
.mk { position: absolute; inset: 0; overflow: hidden; }
.mk--tpl { background: #fff; color: #333; font-family: Arial, Helvetica, sans-serif; }

.mk--pro { background: radial-gradient(70% 90% at 75% 40%, #3a2716 0%, #1c130c 55%, #120c08 100%); color: #f3ead9; clip-path: inset(0 0 0 var(--pos)); font-family: var(--f-body); }

/* ── Trabajos ──────────────────────────────────────── */
.works { padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 9vw, 120px); background: var(--night); }
.works__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.works__list { counter-reset: w; }
.work { position: relative; padding: clamp(14px, 2vw, 22px) 0 clamp(14px, 2vw, 22px) clamp(20px, 2.4vw, 34px); border-left: 1.5px solid var(--line); cursor: default; transition: border-color .3s; }
.work.is-current { border-left-color: var(--turq); }
.work__name { font: 900 clamp(2.3rem, 4.8vw, 4.6rem)/.92 var(--f-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.2px rgba(234, 239, 231, .55); transition: color .35s, -webkit-text-stroke-color .35s; }
.work.is-current .work__name { color: var(--bone); -webkit-text-stroke-color: transparent; }
.work__what { margin: 6px 0 0; font: 400 13px/1.4 var(--f-mono); color: var(--fog); }
.work__shot { display: none; }
.works__screen { position: sticky; top: calc(50vh - min(19vw, 300px)); }
.browser { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: var(--night-3); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); }
.browser__bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.browser__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-2); }
.browser__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform .9s var(--ease); }
.browser__view img.is-active { opacity: 1; transform: none; }
.works__caption { margin: 14px 0 0; font: 400 13px/1.4 var(--f-mono); color: var(--fog); }
html.no-js .work__shot, html.reduced .work__shot { display: block; margin-top: 16px; width: 100%; max-width: 560px; border-radius: 8px; border: 1px solid var(--line); }
html.no-js .works__screen, html.reduced .works__screen { display: none; }
html.no-js .works__grid, html.reduced .works__grid { grid-template-columns: 1fr; }
@media (max-width: 899px) {
  .works__grid { grid-template-columns: 1fr; }
  .works__screen { display: none; }
  .work__shot { display: block; margin-top: 16px; width: 100%; border-radius: 8px; border: 1px solid var(--line); }
  .work__name { color: var(--bone); -webkit-text-stroke-color: transparent; }
  .work { border-left-color: var(--turq); padding-block: 22px; }
}
.brands { margin-top: clamp(70px, 9vw, 130px); }
.brands__title { font: 400 13px/1.4 var(--f-mono); color: var(--fog); margin-bottom: 22px; }
.brands__rail { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__track { display: flex; align-items: center; gap: clamp(36px, 5vw, 72px); width: max-content; animation: ticker 60s linear infinite; }
.brands__track img { height: clamp(26px, 3vw, 38px); width: auto; opacity: .72; }
.brands__rail:hover .brands__track { animation-play-state: paused; }
html.reduced .brands__track { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); animation: none; }
.works__end { margin-top: clamp(36px, 5vw, 60px); }

/* ── Cómo trabajo ──────────────────────────────────── */
.route { padding: clamp(90px, 12vw, 170px) 0; background: linear-gradient(180deg, var(--night-2), #0d221e); overflow: hidden; }
.route__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.route__copy p { max-width: 54ch; color: #ccd7d2; }
.route__copy .h2 { margin-bottom: 28px; max-width: 14ch; }
.route__copy .btn { margin-top: 10px; }
.route__visual { position: relative; }
.stamp { position: absolute; right: -4%; top: -9%; z-index: 4; width: clamp(110px, 12vw, 160px); aspect-ratio: 1; display: grid; place-items: center; will-change: transform; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp text { font: 500 9.6px var(--f-mono); fill: var(--bone); letter-spacing: .18em; }
.stamp span { width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--turq); color: var(--night); display: grid; place-items: center; font: 900 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--f-display); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.steps li { padding: 26px clamp(14px, 2vw, 28px) 0; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps__n { display: block; font: 900 3.4rem/1 var(--f-display); color: var(--turq); margin-bottom: 12px; }
.steps h3 { font: 800 1.5rem/1 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
.steps p { margin: 0; color: #c3cfca; font-size: .98rem; }
@media (max-width: 960px) {
  .route__grid { grid-template-columns: 1fr; }
  .route__visual { max-width: 620px; margin-top: 20px; }
  .stamp { right: 2%; top: -10%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { margin-top: 30px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 0 !important; padding-bottom: 22px; display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; }
  .steps li:first-child { border-top: 0; }
  .steps__n { grid-row: span 2; font-size: 2.8rem; }
}

/* ── Negocios de Albacete ──────────────────────────── */
.local { padding: clamp(90px, 12vw, 160px) 0; background: var(--night); }
.local__intro { max-width: 60ch; margin: 24px 0 clamp(36px, 5vw, 60px); color: #ccd7d2; }
.local__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.lcard { position: relative; padding: 30px clamp(16px, 2.4vw, 34px) 10px; border-left: 1px solid var(--line); }
.lcard:first-child { border-left: 0; padding-left: 0; }
.lcard h3 { font: 900 clamp(1.8rem, 2.8vw, 2.6rem)/.94 var(--f-display); text-transform: uppercase; margin-bottom: 14px; text-wrap: balance; }
.lcard p { margin: 0; color: #c3cfca; }
.lcard::before { content: ""; position: absolute; top: -1px; left: 0; width: 46px; height: 2px; background: var(--turq); }
.lcard:not(:first-child)::before { left: clamp(16px, 2.4vw, 34px); }
@media (max-width: 820px) {
  .local__cards { grid-template-columns: 1fr; }
  .lcard, .lcard:first-child { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .lcard:not(:first-child)::before { left: 0; }
}

/* ── Precios ───────────────────────────────────────── */
.prices { padding: clamp(90px, 12vw, 170px) 0; background: var(--night-2); }
.tickets { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 36px); margin-top: clamp(40px, 6vw, 72px); }
.ticket { position: relative; display: grid; grid-template-rows: 1fr auto; background: linear-gradient(170deg, #11302a, #0b1d1a 60%); border: 1px solid var(--line-2); border-radius: 14px;
  -webkit-mask: radial-gradient(circle 16px at 0 calc(100% - 92px), transparent 15.5px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% calc(100% - 92px), transparent 15.5px, #000 16px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 16px at 0 calc(100% - 92px), transparent 15.5px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% calc(100% - 92px), transparent 15.5px, #000 16px) right / 51% 100% no-repeat; }
.ticket--alt { background: linear-gradient(170deg, #0f3a37, #0a201d 60%); border-color: rgba(0, 229, 229, .4); }
.ticket__main { padding: clamp(24px, 3vw, 40px); }
.ticket__kind { font: 400 13px/1.4 var(--f-mono); color: var(--turq); margin-bottom: 10px; }
.ticket__name { font: 900 clamp(2.6rem, 4.6vw, 4.2rem)/.9 var(--f-display); text-transform: uppercase; }
.ticket__price { margin: 22px 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.ticket__price strong { font: 900 clamp(3rem, 6vw, 5rem)/.9 var(--f-display); color: var(--bone); }
.ticket__price span { font: 500 1rem/1 var(--f-body); color: var(--fog); }
.ticket__term { margin: 0 0 22px; color: #c3cfca; font-size: .98rem; }
.ticket__list li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--line); color: #d0dad5; font-size: .98rem; line-height: 1.45; }
.ticket__list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 11px; height: 6px; border-left: 2px solid var(--turq); border-bottom: 2px solid var(--turq); transform: rotate(-45deg); }
.ticket__stub { height: 92px; display: flex; align-items: center; padding: 0 clamp(24px, 3vw, 40px); border-top: 1.5px dashed var(--line-2); }
.prices__terms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(24px, 4vw, 60px); margin-top: clamp(26px, 4vw, 40px); color: #ccd7d2; font-size: .98rem; }
.prices__terms p { margin: 0; padding-left: 16px; border-left: 2px solid var(--turq); max-width: 56ch; }
.compare__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.compare table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.compare th, .compare td { padding: 13px clamp(10px, 1.6vw, 20px); text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--night-3); font: 900 1.35rem/1 var(--f-display); text-transform: uppercase; color: var(--turq); }
.compare thead th:first-child { color: var(--fog); font: 400 13px/1.4 var(--f-mono); text-transform: none; }
.compare tbody th { color: var(--fog); font: 400 13px/1.45 var(--f-mono); width: 30%; }
.compare td { color: #d6dfda; width: 35%; }
.compare tbody tr:hover { background: rgba(0, 229, 229, .04); }
.shop { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); grid-template-areas: 'vis txt' 'vis btn'; align-items: center; gap: 18px clamp(28px, 5vw, 70px); margin-top: clamp(50px, 7vw, 90px); padding: clamp(24px, 3vw, 44px); border-radius: 14px; border: 1px solid var(--line-2); background: radial-gradient(60% 120% at 100% 0%, rgba(0, 229, 229, .1), transparent 70%); overflow: hidden; }
.shop__text { grid-area: txt; align-self: end; }
.shop > .btn { grid-area: btn; justify-self: start; align-self: start; }
.shop__text { max-width: 62ch; }
.shop__title { font: 900 clamp(1.9rem, 3.4vw, 3rem)/.95 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.shop p { margin: 0; color: #ccd7d2; }
@media (max-width: 820px) {
  .tickets, .prices__terms { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .compare table { font-size: .86rem; }
  .compare tbody th { font-size: 11.5px; width: 32%; }
  .compare thead th { font-size: 1.1rem; }
  .compare th, .compare td { padding: 11px 8px; }
  .shop .btn { width: 100%; }
}

/* ── Dudas ─────────────────────────────────────────── */
.faq { padding: clamp(90px, 12vw, 170px) 0; background: var(--night); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__head p { max-width: 40ch; color: #ccd7d2; margin: 24px 0 24px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 52px 22px 0; font: 700 clamp(1.05rem, .5vw + .95rem, 1.25rem)/1.35 var(--f-body); transition: color .2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  background: linear-gradient(var(--turq), var(--turq)) center / 100% 2px no-repeat, linear-gradient(var(--turq), var(--turq)) center / 2px 100% no-repeat; transition: transform .35s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(135deg); }
.faq__list summary:hover { color: var(--turq); }
.faq__list details p { margin: 0 0 24px; max-width: 62ch; color: #c9d4cf; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ── CTA final ─────────────────────────────────────── */
.final { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 80px; }
.final__bg { position: absolute; inset: 0; z-index: -2; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 50%, rgba(7, 17, 15, .45), rgba(7, 17, 15, .9)); }
.final .fog { z-index: 0; height: 60%; }
.final__content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.final .sechead { width: 100%; text-align: left; }
.final__title { font: 900 clamp(4.2rem, 15vw, 15rem)/.84 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.final__lead { max-width: 52ch; margin: 28px auto 34px; color: #d6dfda; font-size: clamp(1.02rem, .5vw + .95rem, 1.22rem); }
.final__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 22px 0 0; font: 400 13.5px/1.4 var(--f-mono); }
.final__alt a { color: var(--fog); text-decoration: none; padding: 8px 0; }
.final__alt a:hover { color: var(--turq); }
.rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; background: rgba(7, 17, 15, .5); transition: border-color .2s; }
.rating:hover { border-color: var(--turq); }
.rating__g { width: 24px; height: 24px; }
.rating__score { font: 900 1.7rem/1 var(--f-display); }
.rating__stars { color: #fbbc04; letter-spacing: 2px; font-size: 1rem; }
.rating__txt { font: 400 13px/1.2 var(--f-mono); color: var(--fog); }
@media (max-width: 420px) { .rating { flex-wrap: wrap; justify-content: center; border-radius: 16px; } }
/* destello: reinterpretación del "espíritu" que cruza el CTA */
.glint { position: absolute; z-index: 1; top: 50%; left: 50%; width: 140vmax; height: 2px; margin-left: -70vmax; background: linear-gradient(90deg, transparent, rgba(0, 229, 229, .0) 30%, rgba(180, 255, 255, .95) 50%, rgba(0, 229, 229, 0) 70%, transparent); box-shadow: 0 0 26px rgba(0, 229, 229, .7); transform: rotate(-13deg) translateX(-60%); opacity: 0; pointer-events: none; }
.final.is-glinting .glint { animation: glint 1.25s var(--ease-cut); }
@keyframes glint { 0% { opacity: 0; transform: rotate(-13deg) translateX(-60%); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: rotate(-13deg) translateX(60%); } }

/* ── Pie ───────────────────────────────────────────── */
.footer { background: #040a09; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 90px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px clamp(24px, 4vw, 60px); }
.footer__brand img { width: 140px; margin-bottom: 16px; }
.footer__brand p { color: var(--fog); max-width: 32ch; margin: 0; }
.footer__h { font: 400 13px/1.4 var(--f-mono); color: var(--turq); margin-bottom: 12px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer__col a, .footer__link { color: #cbd5d0; text-decoration: none; padding: 7px 0; text-align: left; line-height: 1.35; overflow-wrap: anywhere; }
.footer__col a:hover, .footer__link:hover { color: var(--turq); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(40px, 6vw, 70px); padding-top: 20px; border-top: 1px solid var(--line); font: 400 12.5px/1.5 var(--f-mono); color: var(--fog); }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--fog); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ── Flotantes ─────────────────────────────────────── */
.floats { position: fixed; z-index: 80; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; transition: opacity .3s, transform .4s var(--ease); }
.floats.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; }
.float { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .7); transition: transform .25s var(--ease); }
.float svg { width: 26px; height: 26px; fill: currentColor; }
.float--wa { background: var(--turq); color: var(--night); }
.float--tel { background: var(--night-3); color: var(--turq); border: 1px solid rgba(0, 229, 229, .45); }
.float:hover { transform: translateY(-3px); }

/* ── Consentimiento de cookies ─────────────────────── */
.cc { position: fixed; z-index: 120; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: min(430px, calc(100vw - 32px)); padding: 22px 22px 18px; background: #0d1d1a; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .85); animation: cc-in .5s var(--ease) both; }
.cc[hidden] { display: none; }
.cc::before { content: ""; position: absolute; left: 22px; top: -1px; width: 80px; height: 2px; background: var(--turq); box-shadow: 0 0 14px rgba(0, 229, 229, .7); }
.cc__title { display: flex; align-items: center; gap: 10px; margin: 0 40px 10px 0; font: 900 1.5rem/1 var(--f-display); text-transform: uppercase; }
.cc__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--turq); stroke-width: 1.6; }
.cc__icon circle { fill: var(--turq); stroke: none; }
.cc__text { margin: 0; font-size: .9rem; line-height: 1.55; color: #c3cfca; }
.cc__link { display: inline-block; margin-top: 8px; font-size: .88rem; color: var(--turq); text-underline-offset: 3px; padding: 4px 0; }
.cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cc__btn { min-height: 44px; padding: 0 12px; border-radius: 999px; font: 700 .9rem/1.1 var(--f-body); border: 1.5px solid var(--turq); }
.cc__btn--solid { background: var(--turq); color: var(--night); }
.cc__btn--line { color: var(--bone); border-color: var(--line-2); }
.cc__btn--line:hover { border-color: var(--turq); }
.cc__btn--ghost { grid-column: 1 / -1; border-color: var(--line-2); color: var(--bone); }
.cc__btn--ghost:hover { border-color: var(--turq); color: var(--turq); }
.cc__x, .x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; line-height: 1; color: var(--fog); transition: background-color .2s, color .2s, transform .3s var(--ease); }
.cc__x:hover, .x:hover { background: rgba(234, 239, 231, .08); color: var(--bone); transform: rotate(90deg); }
.cc-prefs { width: min(560px, calc(100vw - 24px)); max-height: min(90vh, 760px); padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: #0d1d1a; color: var(--bone); }
.cc-prefs::backdrop, .legal::backdrop, .exit::backdrop { background: rgba(3, 8, 7, .66); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.cc-prefs__inner { position: relative; padding: 28px 24px 22px; }
.cc-prefs__title { font: 900 1.9rem/1 var(--f-display); text-transform: uppercase; margin: 0 44px 12px 0; }
.cc-cats { margin-top: 16px; border-top: 1px solid var(--line); }
.cc-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cc-cat h3 { font: 700 1rem/1.3 var(--f-body); margin-bottom: 4px; }
.cc-cat p { margin: 0; font-size: .88rem; color: #b9c6c1; }
.cc-pill { flex: none; font: 500 11.5px/1 var(--f-mono); color: var(--turq); padding: 7px 10px; border-radius: 99px; border: 1px solid rgba(0, 229, 229, .4); white-space: nowrap; }
.cc-switch { position: relative; flex: none; width: 50px; height: 30px; border-radius: 99px; background: rgba(234, 239, 231, .18); border: 1px solid var(--line-2); transition: background-color .2s; }
.cc-switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--bone); transition: transform .3s var(--ease); }
.cc-switch[aria-checked="true"] { background: var(--turq); border-color: var(--turq); }
.cc-switch[aria-checked="true"] span { transform: translateX(20px); background: var(--night); }
.cc-prefs .cc__actions { grid-template-columns: 1fr 1fr; }
.cc-prefs .cc__btn--solid:first-child { grid-column: 1 / -1; }
.cc-fab { position: fixed; z-index: 79; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #0d1d1a; border: 1px solid var(--line-2); color: var(--turq); opacity: .85; transition: opacity .2s, border-color .2s; }
.cc-fab[hidden] { display: none; }
.cc-fab:hover { opacity: 1; border-color: var(--turq); }
.cc-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cc-fab circle { fill: currentColor; stroke: none; }
.cc-fab__tip { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; font: 400 12px/1 var(--f-mono); padding: 7px 10px; border-radius: 6px; background: #0d1d1a; border: 1px solid var(--line-2); color: var(--bone); opacity: 0; pointer-events: none; transition: opacity .2s; }
.cc-fab:hover .cc-fab__tip, .cc-fab:focus-visible .cc-fab__tip { opacity: 1; }
@media (hover: none) { .cc-fab__tip { display: none; } }
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 720px) { html.cc-open .floats { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (max-width: 480px) { .cc { padding: 20px 16px 16px; } .cc__title { font-size: 1.3rem; } }

/* ── Diálogos: legales y salida ───────────────────── */
dialog { color: var(--bone); }
.legal { width: min(820px, calc(100vw - 24px)); height: min(86vh, 900px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: #0b1a17; overflow: hidden; }
.legal[open] { display: flex; flex-direction: column; animation: dlg-in .35s var(--ease); }
.legal__bar { position: relative; flex: none; display: flex; align-items: center; gap: 16px; padding: 14px 64px 14px 24px; border-bottom: 1px solid var(--line); font: 400 12.5px/1.4 var(--f-mono); color: var(--fog); }
.legal__bar .x { top: 50%; margin-top: -20px; }
.legal__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 26px clamp(20px, 4vw, 44px) 40px; font-size: .97rem; line-height: 1.65; color: #d0dad5; }
.legal__body h2 { font: 900 clamp(2rem, 4vw, 3rem)/1 var(--f-display); text-transform: uppercase; color: var(--bone); margin-bottom: 8px; }
.legal__body h3 { font: 700 1rem/1.35 var(--f-body); color: var(--turq); margin: 28px 0 10px; }
.legal__body ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.legal__body li { margin-bottom: .4em; }
.legal__body a { color: var(--turq); }
.legal__date { font: 400 12.5px/1.4 var(--f-mono); color: var(--fog); }
@media (max-width: 520px) { .legal__bar { flex-wrap: wrap; gap: 4px 12px; padding-left: 16px; } }
.exit { width: min(560px, calc(100vw - 24px)); padding: 0; border: 1px solid rgba(0, 229, 229, .45); border-radius: 18px; background: radial-gradient(90% 70% at 100% 0%, rgba(0, 229, 229, .14), transparent 60%), #0b1a17; overflow: hidden; }
.exit[open] { animation: dlg-in .45s var(--ease); }
.exit__inner { position: relative; padding: clamp(28px, 4vw, 44px); }
.exit__slash { position: absolute; left: -10%; right: -10%; top: 26px; height: 2px; background: linear-gradient(90deg, transparent, var(--turq) 40%, #fff 50%, var(--turq) 60%, transparent); box-shadow: 0 0 16px rgba(0, 229, 229, .7); transform: rotate(-6deg) scaleX(0); transform-origin: left; }
.exit[open] .exit__slash { animation: exit-slash .9s var(--ease-cut) .1s forwards; }
@keyframes exit-slash { to { transform: rotate(-6deg) scaleX(1); opacity: .5; } }
.exit__kick { font: 400 13px/1 var(--f-mono); color: var(--turq); margin: 18px 0 12px; }
.exit__title { font: 900 clamp(2.4rem, 6vw, 3.6rem)/.9 var(--f-display); text-transform: uppercase; margin-bottom: 16px; max-width: 12ch; }
.exit__text { color: #ccd7d2; margin-bottom: 24px; }
.exit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }

/* ── Movimiento reducido ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  .fog i { animation: none; }
}
html.dialog-open { overflow: hidden; }
.facts dd strong { font-variant-numeric: tabular-nums; }

/* La galleta y los flotantes no deben tapar texto mientras se lee */
.cc-fab { transition: opacity .3s, border-color .2s, visibility 0s; }
html.fab-quiet .cc-fab { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s .3s; }
@media (max-width: 640px) {
  .float { width: 50px; height: 50px; }
  .floats.is-scrolling { opacity: 0; transform: translateY(14px); pointer-events: none; }
  .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
.exit__inner:focus, .legal__body:focus { outline: none; }
.legal__body:focus-visible { outline: 2px solid var(--turq); outline-offset: -4px; }

@media (max-width: 440px) {
  .compare table, .compare tbody, .compare thead { display: block; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; }
  .compare thead th:first-child { display: none; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 0; color: var(--turq); }
  .compare tbody td { width: auto; border-top: 0; padding-top: 6px; }
  .compare tbody tr { border-top: 1px solid var(--line); }
  .compare tbody th { border-top: 0; }
  .compare tbody td:nth-of-type(1)::before { content: "Inata"; display: block; font: 900 .95rem/1.2 var(--f-display); text-transform: uppercase; color: var(--fog); }
  .compare tbody td:nth-of-type(2)::before { content: "Icari"; display: block; font: 900 .95rem/1.2 var(--f-display); text-transform: uppercase; color: var(--fog); }
  .compare thead { display: none; }
}

/* ═══ Ronda 2 ═══════════════════════════════════════ */

/* Reservas de imagen bien visibles */

/* Botón de asesoría: icono, brillo y pulso */
.i-wa { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; transform-origin: 50% 60%; }
.btn--cta { position: relative; overflow: hidden; isolation: isolate; }
.btn--cta::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-18deg); animation: cta-shine 4.2s ease-in-out infinite; }
.btn--cta::after { content: ""; position: absolute; z-index: -2; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(0, 229, 229, .55); animation: cta-pulse 2.6s ease-out infinite; }
.btn--cta .i-wa { animation: cta-wiggle 4.2s ease-in-out infinite; }
.btn--cta:hover .i-wa { animation: cta-wiggle .7s ease-in-out infinite; }
.btn--cta:hover::before { animation-duration: 1.2s; }
.header__cta.btn--cta::after { animation: none; }
@keyframes cta-shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
@keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 229, 229, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(0, 229, 229, 0); } }
@keyframes cta-wiggle { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-16deg) scale(1.12); } 80% { transform: rotate(14deg) scale(1.12); } 86% { transform: rotate(-8deg); } 92% { transform: rotate(4deg); } }
.btn--cta.is-magnet { transition: transform .15s linear, box-shadow .3s; }

/* Antes/después: tamaño contenido y pista de arrastre */
.ba__knob::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--turq); animation: knob-ring 1.8s ease-out infinite; }
.ba__drag { position: absolute; top: calc(50% + 34px); left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--f-mono); color: var(--night); background: var(--turq); padding: 5px 8px; border-radius: 99px; white-space: nowrap; transition: opacity .3s; }
.ba.is-touched .ba__drag { opacity: 0; }
@keyframes knob-ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.versus__note { text-align: center; }

/* Comparativa desplegable */
.compare { margin-top: clamp(56px, 8vw, 100px); border: 1px solid rgba(0, 229, 229, .45); border-radius: 14px; background: linear-gradient(180deg, rgba(0, 229, 229, .06), transparent 60%); overflow: hidden; }
.compare__toggle { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: clamp(18px, 2.4vw, 26px) clamp(18px, 3vw, 32px); transition: background-color .2s; }
.compare__toggle::-webkit-details-marker { display: none; }
.compare__toggle:hover { background: rgba(0, 229, 229, .06); }
.compare__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 229, 229, .12); color: var(--turq); }
.compare__icon svg, .compare__chev svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compare__txt { display: grid; gap: 4px; min-width: 0; }
.compare__title { font: 900 clamp(1.5rem, 2.8vw, 2.3rem)/1 var(--f-display); text-transform: uppercase; }
.compare__sub { font: 400 13px/1.4 var(--f-mono); color: var(--fog); }
.compare__state { color: var(--turq); }
.compare__chev { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--turq); color: var(--night); transition: transform .45s var(--ease); animation: chev-nudge 2s ease-in-out infinite; }
.compare[open] .compare__chev { transform: rotate(180deg); animation: none; }
@keyframes chev-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
.compare__panel { padding: 0 clamp(12px, 2vw, 24px) clamp(14px, 2vw, 24px); }
.compare__scroll { border-radius: 10px; }
@media (max-width: 520px) { .compare__icon { display: none; } .compare__toggle { grid-template-columns: 1fr auto; gap: 12px; } }

/* Tienda online: móvil flotante con chips */
.shop__visual { grid-area: vis; position: relative; height: 340px; display: grid; place-items: center; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 99px; background: #0d1d1a; border: 1px solid rgba(0, 229, 229, .45); font: 500 12px/1 var(--f-mono); color: var(--bone); white-space: nowrap; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .9); }
.chip svg { width: 16px; height: 16px; fill: none; stroke: var(--turq); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip--a { top: 12%; right: -4%; animation: float-y 5s ease-in-out infinite .4s; }
.chip--b { top: 50%; left: -6%; animation: float-y 6.5s ease-in-out infinite 1s; }
.chip--c { bottom: 8%; right: 0; animation: float-y 5.6s ease-in-out infinite 1.8s; }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (max-width: 760px) {
  .shop { grid-template-columns: 1fr; grid-template-areas: 'vis' 'txt' 'btn'; }
  .shop__visual { height: 300px; }
  .shop > .btn { justify-self: stretch; }
}

/* Mapa Alicante–Albacete */
.map { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0a1916; color: var(--bone); }
.map__svg { width: 100%; height: auto; }
.map__land { fill: #0d211d; }
.map__sea { fill: #06302f; }
.map__coast { fill: none; stroke: rgba(0, 229, 229, .55); stroke-width: 1.4; }
.map__sealbl { font: 400 13px var(--f-mono); fill: rgba(159, 222, 214, .55); letter-spacing: .08em; }
.map__road-base { fill: none; stroke: rgba(233, 183, 108, .18); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map__road { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
html.js:not(.reduced) .map__road { stroke-dashoffset: var(--draw, 1); }
.map__online { fill: none; stroke: var(--turq); stroke-width: 2.4; stroke-dasharray: .018 .014; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(0, 229, 229, .8)); animation: online-flow 1.6s linear infinite; }
@keyframes online-flow { to { stroke-dashoffset: -.064; } }
.map__car { fill: #fff; stroke: var(--amber); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(233, 183, 108, .9)); }
.map__city { fill: var(--turq); stroke: var(--night); stroke-width: 3; }
.map__city--home { fill: var(--bone); }
.map__pulse { fill: none; stroke: var(--turq); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: map-pulse 2.4s ease-out infinite; }
.map__pulse--b { stroke: var(--bone); animation-delay: 1.2s; }
@keyframes map-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.map__town { fill: var(--fog); }
.map__small { font: 400 12px var(--f-mono); fill: var(--fog); }
.map__lbl { font: 900 26px var(--f-display); fill: var(--bone); text-transform: uppercase; letter-spacing: .02em; paint-order: stroke; stroke: #0a1916; stroke-width: 5px; }
.map__badge rect { fill: var(--amber); }
.map__badge text { font: 900 17px var(--f-display); fill: var(--night); text-anchor: middle; }
.map__wifi path { fill: none; stroke: var(--turq); stroke-width: 2.6; stroke-linecap: round; animation: wifi-blink 1.8s ease-in-out infinite; }
.map__wifi path:nth-child(2) { animation-delay: .2s; } .map__wifi path:nth-child(3) { animation-delay: .4s; }
@keyframes wifi-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.map__legend { display: grid; gap: 8px; padding: 14px 18px 16px; border-top: 1px solid var(--line); font-size: .9rem; color: #c9d4cf; }
.map__key { display: flex; align-items: center; gap: 10px; }
.map__key::before { content: ""; flex: none; width: 26px; height: 3px; border-radius: 3px; background: var(--amber); }
.map__key--online::before { background: repeating-linear-gradient(90deg, var(--turq) 0 5px, transparent 5px 9px); }
.route__visual .stamp { right: -3%; top: -8%; }
@media (max-width: 560px) { .map__lbl { font-size: 30px; } .map__small { font-size: 14px; } }

/* Revelados al hacer scroll (solo lo que está fuera de la primera pantalla) */
html.js:not(.reduced) .rv { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
html.js:not(.reduced) .rv.is-in { opacity: 1; transform: none; }
html.js:not(.reduced) .rv-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-cut); transition-delay: calc(var(--d, 0) * 1ms); }
html.js:not(.reduced) .rv-clip.is-in { clip-path: inset(0 0 0 0); }
html.js:not(.reduced) .rv-clip > img { transform: scale(1.18); transition: transform 1.6s var(--ease); }
html.js:not(.reduced) .rv-clip.is-in > img { transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-w > span { display: inline-block; }
html.js:not(.reduced) .rv-split .split-w > span { transform: translate3d(0, 105%, 0) rotate(4deg); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
html.js:not(.reduced) .rv-split.is-in .split-w > span { transform: none; }
html.js:not(.reduced) .sechead.rv-line { border-top-color: transparent; background: linear-gradient(var(--line), var(--line)) top left / 0% 1px no-repeat; transition: background-size 1.4s var(--ease); }
html.js:not(.reduced) .sechead.rv-line.is-in { background-size: 100% 1px; }
.steps__n { transition: transform .6s var(--ease); }
html.js:not(.reduced) .steps li.rv .steps__n { transform: scale(.4) rotate(-12deg); }
html.js:not(.reduced) .steps li.rv.is-in .steps__n { transform: none; transition-delay: calc(var(--d, 0) * 1ms + 200ms); }
/* entradas tipo corte del pincel del hero */
html.js:not(.reduced) .hero__brush { animation: brush-in 1.2s var(--ease-cut) both; }
@keyframes brush-in { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -5% -20% 0); } }
/* tickets con relieve al pasar el ratón */
.tickets { perspective: 1200px; }
.ticket { transition: transform .5s var(--ease); transform-style: preserve-3d; }
.faq__list details[open] p { animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }
.lcard::before { transition: width .8s var(--ease); }
.lcard:hover::before { width: 120px; }

/* Legales sin JavaScript: se abren por ancla */
html.no-js .legal:target { display: flex; flex-direction: column; position: fixed; inset: 12px; margin: auto; z-index: 500; }
.route__visual .stamp { right: -5%; top: -15%; width: clamp(96px, 9vw, 130px); }
@media (max-width: 960px) { .route__visual .stamp { right: -2%; top: -12%; } }
.map__key { display: block; padding-left: 36px; position: relative; }
.map__key::before { position: absolute; left: 0; top: .7em; }
/* Tienda: captura real de DoggyPro con chips flotantes */
.shop { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.shop__visual { height: auto; margin: 0; display: block; padding: 18px 10px 0; }
.shop__img { width: 100%; height: auto; border-radius: 10px; animation: float-y 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.shop__cap { margin-top: 10px; font: 400 12.5px/1.3 var(--f-mono); color: var(--fog); }
.shop__visual .chip--a { top: 6%; right: 2%; }
.shop__visual .chip--b { top: 46%; left: -2%; }
.shop__visual .chip--c { bottom: 16%; right: 6%; }
@media (max-width: 760px) { .shop { grid-template-columns: 1fr; } .shop__visual { height: auto; } .shop__visual .chip { font-size: 11px; padding: 6px 10px; } }

/* Línea turquesa de continuidad: va pegada al borde inferior del menú y,
   cuando el menú se esconde al bajar, sube y se queda arriba del todo. */
.progress { height: 3px; background: rgba(0, 229, 229, .22); transform: translateY(var(--header-h)); transition: transform .45s var(--ease); z-index: 101; }
.progress span { box-shadow: 0 0 12px rgba(0, 229, 229, .9), 0 0 2px #fff; }
html.header-up .progress, html.menu-open .progress { transform: translateY(0); }
html.at-top .progress { opacity: 0; }
.progress { transition: transform .45s var(--ease), opacity .3s; }
.header.is-solid { border-bottom-color: transparent; }
/* Antes/después con las imágenes reales */
.ba__stage { aspect-ratio: 16 / 9; background: #ece7df; }
img.mk { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
img.mk--tpl { clip-path: none; }
@media (max-width: 680px) { .ba__stage { aspect-ratio: 16 / 9; } .ba__knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; } .ba__drag { top: calc(50% + 28px); } .ba__label { font-size: 10.5px; padding: 5px 8px; top: 8px; } }
/* Imagen 1: hero real */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__shade { background:
  linear-gradient(90deg, rgba(7, 17, 15, .78) 0%, rgba(7, 17, 15, .35) 42%, rgba(7, 17, 15, 0) 70%),
  linear-gradient(180deg, rgba(7, 17, 15, .55) 0%, rgba(7, 17, 15, 0) 24%, rgba(7, 17, 15, .1) 55%, rgba(7, 17, 15, .94) 100%); }
@media (max-width: 640px) and (orientation: portrait) {
  .hero__img { object-position: 50% 40%; }
  .hero__shade { background: linear-gradient(180deg, rgba(7, 17, 15, .6) 0%, rgba(7, 17, 15, 0) 22%, rgba(7, 17, 15, .25) 45%, rgba(7, 17, 15, .96) 78%); }
}
/* Base del hero más oscura bajo el texto y el botón (la niebla clara quedaba blanquecina) */
.hero .fog { opacity: .32; height: 45%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 17, 15, 0) 0%, rgba(7, 17, 15, .72) 45%, rgba(7, 17, 15, .96) 100%); }
@media (max-width: 640px) and (orientation: portrait) { .hero::after { height: 60%; } }
/* Hero: sin zoom extra; la imagen se ve entera a lo ancho y anclada a la derecha */
.hero__media { inset: 0; }
.hero__img { object-position: 100% 50%; }
/* Imagen 6: recorte sin marco, flotando */
.cutout { position: relative; margin: 0; max-width: 460px; }
.cutout__img { width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); animation: float-y 7s ease-in-out infinite; }
.cutout::before { content: ""; position: absolute; inset: 18% 10% 10%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 229, 229, .22), transparent 70%); filter: blur(10px); }
.cutout .window__star { right: 4%; top: 2%; }
@media (max-width: 820px) { .cutout { max-width: 380px; margin-inline: auto; } }
.cutout .window__star { right: -4%; top: -6%; }
/* Imágenes de los expedientes */
.file__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
@media (max-width: 899px) { .file__img { object-position: 50% 30%; } }
/* Imagen 7: fondo del CTA final */
.final__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.final::before { background: radial-gradient(60% 55% at 50% 50%, rgba(7, 17, 15, .72), rgba(7, 17, 15, .5) 70%, rgba(7, 17, 15, .85)); }
.final .fog { opacity: .35; }
.final__alt a { color: #dfe8e3; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.final__lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }

/* ═══ Ronda 3 · más movimiento (sobre todo en móvil) ═══ */

/* Corte turquesa que barre cada encabezado de sección al aparecer */
.sechead { position: relative; }
.sechead::after { content: ""; position: absolute; top: -1px; left: 0; width: 120px; height: 2px; background: linear-gradient(90deg, transparent, var(--turq), #fff, var(--turq), transparent); box-shadow: 0 0 14px rgba(0, 229, 229, .9); opacity: 0; pointer-events: none; }
html.js:not(.reduced) .sechead.is-in::after { animation: blade-sweep 1.6s var(--ease-cut) .15s both; }
@keyframes blade-sweep { 0% { opacity: 0; transform: translateX(-130px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(100vw - 80px)); } }

/* Chispas que suben en el hero y en el CTA final */
.sparks { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.sparks i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 8px 2px rgba(0, 229, 229, .8); opacity: 0; animation: spark-up linear infinite; }
@keyframes spark-up { 0% { opacity: 0; transform: translate3d(0, 0, 0); } 12% { opacity: .9; } 80% { opacity: .6; } 100% { opacity: 0; transform: translate3d(var(--dx, 20px), -70vh, 0); } }

/* Respuesta táctil en botones */
.btn { position: relative; overflow: hidden; }
.tap { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: translate(-50%, -50%) scale(0); pointer-events: none; animation: tap-ring .6s ease-out forwards; }
@keyframes tap-ring { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

/* Destello que recorre tarjetas al aparecer */
.lcard, .ticket, .shop, .map { --shine: 0; }
.lcard::after, .ticket__main::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(0, 229, 229, .16) 50%, transparent 65%); background-size: 260% 100%; background-position: 130% 0; }
.ticket__main { position: relative; }
html.js:not(.reduced) .lcard.is-in::after, html.js:not(.reduced) .ticket.is-in .ticket__main::after { animation: card-shine 1.4s var(--ease) .35s both; }
@keyframes card-shine { to { background-position: -30% 0; } }

@media (max-width: 899px) {
  /* Expedientes apilados: cada uno se queda fijo y el siguiente lo tapa */
  html.js:not(.reduced) .files__track .file { position: sticky; top: 0; transform-origin: 50% 0; will-change: transform, filter; }
  html.js:not(.reduced) .files .file + .file { border-top: 0; box-shadow: 0 -24px 40px rgba(0, 0, 0, .55); }

  /* Entradas laterales alternas */
  html.js:not(.reduced) .rv.rv-l { transform: translate3d(-48px, 0, 0); }
  html.js:not(.reduced) .rv.rv-r { transform: translate3d(48px, 0, 0); }
  html.js:not(.reduced) .rv.rv-flip { transform: perspective(900px) rotateX(24deg) translate3d(0, 50px, 0); transform-origin: 50% 100%; }
  html.js:not(.reduced) .rv.rv-zoom { transform: scale(.88); }
  html.js:not(.reduced) .rv.is-in { transform: none; }

  /* Capturas del portfolio: se abren como una persiana */
  html.js:not(.reduced) .work__shot.rv-clip { clip-path: inset(0 0 100% 0); transform: scale(1.08); transition: clip-path 1.1s var(--ease-cut), transform 1.4s var(--ease); }
  html.js:not(.reduced) .work__shot.rv-clip.is-in { clip-path: inset(0 0 0 0); transform: none; }
  .work__name { transition: letter-spacing .9s var(--ease); }
  html.js:not(.reduced) .work.rv .work__name { letter-spacing: .06em; }
  html.js:not(.reduced) .work.rv.is-in .work__name { letter-spacing: 0; }

  /* Número de paso que late al entrar */
  html.js:not(.reduced) .steps li.rv.is-in .steps__n { animation: num-pop .9s var(--ease) both; }
  @keyframes num-pop { 0% { transform: scale(.3) rotate(-20deg); color: var(--bone); } 60% { transform: scale(1.25) rotate(4deg); } 100% { transform: none; } }

  /* Título del hero respirando suavemente */
  html.js:not(.reduced) .hero__city { animation: hero-cut 1.1s var(--ease) .12s both, city-glow 4s ease-in-out 1.6s infinite; }
  @keyframes city-glow { 0%, 100% { text-shadow: 0 0 0 rgba(0, 229, 229, 0); } 50% { text-shadow: 0 0 28px rgba(0, 229, 229, .45); } }
}
@media (prefers-reduced-motion: reduce) { .sparks, .sechead::after { display: none; } }
main, .footer { overflow-x: clip; }

/* Trabajos en móvil: carrusel con scroll lateral */
.works__swipe { display: none; }
@media (max-width: 899px) {
  .works__swipe { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 400 13px/1.3 var(--f-mono); color: var(--turq); }
  .works__swipe svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: swipe-nudge 1.6s ease-in-out infinite; }
  @keyframes swipe-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
  .works__list { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .works__list::-webkit-scrollbar { display: none; }
  .works__list .work { flex: 0 0 min(80vw, 380px); scroll-snap-align: start; padding: 0; border-left: 0; }
  .works__list .work__name { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .works__list .work__shot { margin-top: 12px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
}
html.js .rv-now, html.js .rv-now .split-w > span { transition: none !important; }
/* Por debajo de 900 px el carril horizontal nunca se desplaza, ni siquiera durante el fotograma del cambio de tamaño */
@media (max-width: 899px), (max-height: 559px) { .files__track { transform: none !important; } }

/* ═══ Actualización V7.0 (29/10/2026): tres planes, visor del portfolio y pie ═══ */

/* Tres tickets: 3 columnas, 2 en tablet (Ecommerce a lo ancho) y 1 en móvil */
.tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ticket { --stub: 128px;
  -webkit-mask: radial-gradient(circle 16px at 0 calc(100% - var(--stub)), transparent 15.5px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% calc(100% - var(--stub)), transparent 15.5px, #000 16px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 16px at 0 calc(100% - var(--stub)), transparent 15.5px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% calc(100% - var(--stub)), transparent 15.5px, #000 16px) right / 51% 100% no-repeat; }
.ticket--shop { background: linear-gradient(170deg, #0d2a30, #091a1d 60%); border-color: rgba(0, 229, 229, .3); }
.ticket__main { container-type: inline-size; }
.ticket__name { font-size: min(clamp(2.4rem, 3.6vw, 3.8rem), 14.6cqi); white-space: nowrap; }
.ticket__price strong { white-space: nowrap; font-size: clamp(2.8rem, 4.4vw, 4.4rem); }
.ticket__price span { white-space: nowrap; }
.ticket__term { line-height: 1.5; }
.ticket__stub { height: var(--stub); flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; }
.ticket__ask { align-self: center; font: 400 13px/1.3 var(--f-mono); color: var(--fog); text-decoration: underline; text-decoration-color: rgba(0, 229, 229, .55); text-underline-offset: 4px; transition: color .2s; }
.ticket__ask:hover { color: var(--turq); }
.btn--buy { gap: 10px; }
.btn--buy__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; animation: buy-nudge 2.4s ease-in-out infinite; }
.btn--buy:hover .btn--buy__arrow { animation-duration: .8s; }
@keyframes buy-nudge { 0%, 60%, 100% { translate: 0 0; } 75% { translate: 5px 0; } 88% { translate: -1px 0; } }
@media (max-width: 1100px) {
  .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket--shop { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .tickets { grid-template-columns: 1fr; }
}

/* «Ver todo lo incluido» */
.incl { margin-top: 18px; border-top: 1.5px dashed var(--line-2); }
.incl__toggle { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 2px; font: 500 13px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--turq); }
.incl__toggle::-webkit-details-marker { display: none; }
.incl__chev { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0, 229, 229, .55); display: grid; place-items: center; transition: transform .45s var(--ease), background-color .2s, color .2s; animation: chev-nudge 2.2s ease-in-out infinite; }
.incl__chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.incl__toggle:hover .incl__chev { background: rgba(0, 229, 229, .14); }
.incl[open] .incl__chev { transform: rotate(180deg); background: var(--turq); color: var(--night); animation: none; }
.incl__panel { display: grid; gap: 14px; padding: 14px 0 4px; }
.incl[open] .incl__g { animation: faq-in .5s var(--ease) both; }
.incl[open] .incl__g:nth-child(2) { animation-delay: .04s; } .incl[open] .incl__g:nth-child(3) { animation-delay: .08s; } .incl[open] .incl__g:nth-child(4) { animation-delay: .12s; }
.incl[open] .incl__g:nth-child(5) { animation-delay: .16s; } .incl[open] .incl__g:nth-child(n+6) { animation-delay: .2s; }
.incl__h { margin: 0 0 6px; font: 900 1.1rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: var(--bone); }
.incl__g li { position: relative; padding: 3px 0 3px 16px; font-size: .93rem; line-height: 1.42; color: #c9d4cf; }
.incl__g li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 2px; background: var(--turq); }
.incl__g--pay .incl__h { color: var(--amber); }
.incl__g--pay li::before { background: var(--amber); }
.incl__g--no .incl__h { color: var(--fog); }
.incl__g--no li { color: var(--fog); }
.incl__g--no li::before { background: var(--fog); }
.incl__notes { padding-top: 12px; border-top: 1px solid var(--line); }
.incl__notes p { margin: 0 0 4px; font: 400 12px/1.5 var(--f-mono); color: var(--fog); }

/* Comparativa a tres columnas */
.compare tbody th { width: 22%; }
.compare td { width: 26%; }
@media (max-width: 640px) {
  .compare table, .compare tbody, .compare thead { display: block; }
  .compare thead { display: none; }
  .compare tr { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 12px 10px 2px; border-top: 0; color: var(--turq); }
  .compare tbody td { width: auto; border-top: 0; padding: 4px 10px; display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 10px; }
  .compare tbody td:last-child { padding-bottom: 12px; }
  .compare tbody td::before { display: block; font: 900 .95rem/1.4 var(--f-display); text-transform: uppercase; color: var(--fog); }
  .compare tbody td:nth-of-type(1)::before { content: "Inata"; }
  .compare tbody td:nth-of-type(2)::before { content: "Icari"; }
  .compare tbody td:nth-of-type(3)::before { content: "Ecommerce"; }
}

/* Tienda online: botón de contratar + enlace a WhatsApp */
.shop__actions { grid-area: btn; justify-self: start; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.shop__actions .ticket__ask { align-self: center; }
.shop p.shop__extra { margin-top: 12px; font-size: .95rem; }
@media (max-width: 760px) { .shop__actions { justify-self: stretch; } .shop__actions .btn { width: 100%; } }

/* Pie: otras ciudades en desplegable */
.cities { width: 100%; }
.cities__toggle { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #cbd5d0; line-height: 1.35; transition: color .2s; }
.cities__toggle::-webkit-details-marker { display: none; }
.cities__toggle:hover { color: var(--turq); }
.cities__chev { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0, 229, 229, .5); display: grid; place-items: center; color: var(--turq); transition: transform .4s var(--ease), background-color .2s, color .2s; }
.cities__chev svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cities[open] .cities__chev { transform: rotate(180deg); background: var(--turq); color: var(--night); }
.cities__list { display: flex; flex-direction: column; align-items: flex-start; margin: 2px 0 8px 11px; padding-left: 14px; border-left: 1px solid rgba(0, 229, 229, .35); }
.cities__list a { font-size: .92rem; padding: 5px 0; }
.cities[open] .cities__list a { animation: faq-in .45s var(--ease) both; }
.cities[open] .cities__list a:nth-child(2) { animation-delay: .03s; } .cities[open] .cities__list a:nth-child(3) { animation-delay: .06s; }
.cities[open] .cities__list a:nth-child(4) { animation-delay: .09s; } .cities[open] .cities__list a:nth-child(5) { animation-delay: .12s; }
.cities[open] .cities__list a:nth-child(6) { animation-delay: .15s; } .cities[open] .cities__list a:nth-child(n+7) { animation-delay: .18s; }

/* Portfolio: cada trabajo se puede ampliar */
.work__zoom { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; cursor: zoom-in; border-radius: 0; }
.work__zoom:focus-visible { outline: 2px solid var(--turq); outline-offset: 4px; border-radius: 8px; }
.work__zoom-ico { position: absolute; display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; background: var(--turq); color: var(--night); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); }
.work__zoom-ico svg, .browser__zoom svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.work__zoom-ico::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--turq); animation: knob-ring 2.2s ease-out infinite; }
@media (max-width: 899px) { .work__zoom-ico { display: grid; right: 12px; bottom: 12px; } }
html.reduced .work__zoom-ico { display: grid; right: 12px; bottom: 12px; }
.works__screen .browser { position: relative; cursor: zoom-in; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.works__screen .browser:hover { transform: translateY(-4px); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 229, 229, .45); }
.browser__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 99px; background: var(--turq); color: var(--night); font: 500 12px/1 var(--f-mono); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .8); pointer-events: none; animation: float-y 4.5s ease-in-out infinite; transition: scale .35s var(--ease); }
.works__screen .browser:hover .browser__zoom { scale: 1.08; }

/* Visor emergente del portfolio */
.lbox { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--bone); overflow: hidden; }
.lbox::backdrop { background: rgba(3, 9, 8, .93); }
.lbox[open]::backdrop { animation: lbox-fade .4s ease both; }
.lbox__inner { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: clamp(12px, 2.4vw, 26px) clamp(16px, 7vw, 110px) clamp(16px, 3vw, 30px); background: radial-gradient(60% 50% at 50% 45%, rgba(0, 229, 229, .08), transparent 70%); }
.lbox__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.lbox__count { margin: 0; font: 500 13px/1 var(--f-mono); letter-spacing: .1em; color: var(--turq); }
.lbox__count span:first-child { font-size: 15px; color: var(--bone); }
.lbox .lbox__x { position: relative; top: auto; right: auto; width: 46px; height: 46px; font-size: 30px; color: var(--bone); border: 1px solid var(--line-2); }
.lbox .lbox__x:hover { border-color: var(--turq); color: var(--turq); }
.lbox__fig { margin: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: clamp(12px, 2vw, 20px); padding-top: 8px; }
.lbox__frame { display: flex; flex-direction: column; max-width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid rgba(0, 229, 229, .45); background: var(--night-3); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 60px -20px rgba(0, 0, 0, .9); }
.lbox__view { position: relative; overflow: hidden; touch-action: pan-y pinch-zoom; }
.lbox__img { display: block; width: auto; height: auto; max-width: min(1280px, calc(100vw - 2 * clamp(16px, 7vw, 110px))); max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px); user-select: none; -webkit-user-drag: none; }
.lbox__blade { position: absolute; top: -10%; bottom: -10%; left: -20%; width: 3px; background: linear-gradient(180deg, transparent, var(--turq) 30%, #fff 50%, var(--turq) 70%, transparent); box-shadow: 0 0 22px 4px rgba(0, 229, 229, .65); transform: skewX(-16deg); opacity: 0; pointer-events: none; }
.lbox__cap { display: grid; justify-items: center; gap: 6px; text-align: center; }
.lbox__title { font: 900 clamp(1.8rem, 3.4vw, 2.8rem)/.95 var(--f-display); text-transform: uppercase; }
.lbox__what { font: 400 13px/1.4 var(--f-mono); color: var(--fog); }
.lbox__nav { position: absolute; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; display: grid; place-items: center; background: var(--turq); color: var(--night); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9); transition: transform .3s var(--ease), box-shadow .3s; }
.lbox__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lbox__nav--prev { left: clamp(8px, 2vw, 32px); }
.lbox__nav--next { right: clamp(8px, 2vw, 32px); }
.lbox__nav--prev:hover { transform: translateX(-3px) scale(1.06); }
.lbox__nav--next:hover { transform: translateX(3px) scale(1.06); }
.lbox__nav:focus-visible { outline: 3px solid var(--bone); outline-offset: 3px; }
@media (max-width: 700px) {
  .lbox__inner { padding-bottom: 92px; }
  .lbox__img { max-height: calc(100dvh - 250px); }
  .lbox__nav { top: auto; bottom: max(18px, env(safe-area-inset-bottom)); margin-top: 0; width: 52px; height: 52px; }
  .lbox__nav--prev { left: calc(50% - 68px); }
  .lbox__nav--next { right: calc(50% - 68px); }
}
@media (orientation: landscape) and (max-height: 520px) {
  .lbox__inner { padding-block: 8px; padding-bottom: 8px; }
  .lbox__img { max-height: calc(100dvh - 120px); }
  .lbox__nav { top: 50%; bottom: auto; margin-top: -26px; }
  .lbox__nav--prev { left: 8px; } .lbox__nav--next { right: 8px; }
  .lbox__what { display: none; }
}
/* entrada con corte en diagonal, como el velo de carga */
html:not(.reduced) .lbox[open] .lbox__frame { animation: lbox-cut .8s var(--ease-cut) both; }
html:not(.reduced) .lbox[open] .lbox__blade { animation: lbox-blade .9s var(--ease-cut) .12s both; }
html:not(.reduced) .lbox[open] .lbox__title { animation: lbox-up .7s var(--ease) .3s both; }
html:not(.reduced) .lbox[open] .lbox__what { animation: lbox-up .7s var(--ease) .4s both; }
html:not(.reduced) .lbox[open] .lbox__nav { animation: lbox-pop .6s var(--ease) .45s both; }
html:not(.reduced) .lbox.is-swap .lbox__img { animation: lbox-swap-next .6s var(--ease) both; }
html:not(.reduced) .lbox.is-swap.from-prev .lbox__img { animation-name: lbox-swap-prev; }
html:not(.reduced) .lbox.is-swap .lbox__blade { animation: lbox-blade .7s var(--ease-cut) both; }
html:not(.reduced) .lbox.is-swap .lbox__title, html:not(.reduced) .lbox.is-swap .lbox__what { animation: lbox-up .5s var(--ease) both; }
@keyframes lbox-fade { from { opacity: 0; } }
@keyframes lbox-cut { from { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); transform: translateY(24px) scale(.96); } to { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); transform: none; } }
@keyframes lbox-blade { 0% { left: -10%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 110%; opacity: 0; } }
@keyframes lbox-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes lbox-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes lbox-swap-next { from { opacity: 0; transform: translateX(46px) scale(.98); } }
@keyframes lbox-swap-prev { from { opacity: 0; transform: translateX(-46px) scale(.98); } }
.lbox__view { cursor: zoom-in; }
.lbox__view.is-zoomed { overflow: auto; cursor: zoom-out; touch-action: pan-x pan-y pinch-zoom; overscroll-behavior: contain; scrollbar-width: thin; }
.lbox__view.is-zoomed .lbox__img { max-width: none; max-height: none; height: auto; }
.lbox__view.is-zoomed .lbox__blade { display: none; }
.lbox__hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 11px; border-radius: 99px; border: 1px solid rgba(0, 229, 229, .4); font: 400 11.5px/1.2 var(--f-mono); color: var(--turq); }
@media (max-width: 700px) { .lbox__inner { padding-inline: 10px; } .lbox__img { max-width: calc(100vw - 20px); } }
html:not(.reduced) .lbox[open] .lbox__hint { animation: lbox-up .7s var(--ease) .5s both; }

/* ═══ v2.0.0 · SEO + GEO (guía B03E): la navaja de Albacete ═══ */
.seo { padding-block: clamp(80px, 10vw, 140px); background: var(--night); }
.seo__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 90px); align-items: center; margin-top: clamp(28px, 4vw, 48px); }
.seo__grid > * { min-width: 0; }
.seo__copy { display: grid; gap: 22px; justify-items: start; }
.seo__lead { color: #ccd7d2; max-width: 58ch; }
.seo__lead strong, .seo__list strong, .seo__note strong { color: var(--bone); }
.seo__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.seo__list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.seo__list span { font: 600 .75rem/1 var(--f-mono); color: var(--amber); }
.seo__list p { margin: 0; color: var(--fog); }
.seo__note { margin: 0; color: var(--fog); font-size: .95rem; }
.seo__note a { color: var(--turq); }
.nv { border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0, 229, 229, .35); }
.nv__svg { display: block; width: 100%; height: auto; }
.nv__bar { fill: var(--night); stroke: var(--line-2); }
.nv__typed { font: 500 15px var(--f-mono); fill: var(--bone); }
.nv__caret { animation: nBlink 1s steps(1) infinite; } @keyframes nBlink { 50% { opacity: 0; } }
.nv__card rect:first-child { fill: #112521; stroke: rgba(234, 239, 231, .14); transition: fill .4s, stroke .4s, opacity .4s; }
.nv__card { transition: transform .7s var(--ease), opacity .5s; }
.nv__fav { fill: rgba(234, 239, 231, .25); } .nv__ln { fill: rgba(234, 239, 231, .3); } .nv__ln--s { fill: rgba(234, 239, 231, .14); }
.nv__t { font: 600 11px var(--f-mono); fill: var(--turq); }
.nv__ok { opacity: 0; } .nv__ok circle { fill: var(--turq); }
.nv__cut { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.nv__sparks { opacity: 0; }
/* Navaja: cerrada al principio (hoja plegada sobre el mango) */
.nv__knife { transform: translate(150px, 404px) rotate(0deg); transition: transform 1.1s var(--ease-cut); }
.nv__blade-pivot { transform: rotate(-178deg); transition: transform .9s cubic-bezier(.3, 1.4, .5, 1); }
.nv__shine { transition: transform 0s; }
.is-open .nv__blade-pivot { transform: rotate(0deg); }
.is-open .nv__shine { transform: translateX(200px); transition: transform .9s ease .4s; }
.is-cut .nv__knife { transform: translate(380px, 253px) rotate(0deg); }
.is-aim .nv__knife { transform: translate(60px, 253px) rotate(0deg); transition-duration: .7s; }
.is-cut .nv__cut { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-cut), opacity .2s; }
.is-cut .nv__sparks { animation: nSpark .5s ease-out 2; }
@keyframes nSpark { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(14px, -12px); } }
.is-found .nv__card:not(.nv__card--you) { opacity: .35; }
.is-found .nv__card--you { transform: translate(30px, 224px) scale(1.05); }
.is-found .nv__card--you rect:first-child { fill: #0f3a37; stroke: var(--turq); stroke-width: 2; }
.is-found .nv__ok { opacity: 1; transition: opacity .3s .2s; }
.is-found .nv__cut { opacity: 0; transition: opacity .4s; }
.is-found .nv__knife { transform: translate(150px, 404px) rotate(0deg); }
.nv__ai { opacity: 0; transition: opacity .45s; } .nv__ai rect { fill: rgba(233, 183, 108, .12); stroke: var(--amber); }
.nv__ai text { font: 500 11.5px var(--f-mono); fill: var(--bone); } .nv__ai-b { fill: var(--turq); font-weight: 700; }
.is-ai .nv__ai { opacity: 1; }
@media (max-width: 900px) { .seo__grid { grid-template-columns: 1fr; } }

/* v2.0.0 · Reseñas literales de la ficha de Google (guía A05C) */
.gq { margin-top: clamp(48px, 7vw, 90px); }
.gq__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.gq__g { width: 28px; height: 28px; flex: none; }
.gq__title { flex: 1 1 300px; margin: 0; font: 900 clamp(1.6rem, 3vw, 2.6rem)/.95 var(--f-display); text-transform: uppercase; }
.gq__score { margin: 0; color: var(--fog); } .gq__score strong { color: var(--bone); font-size: 1.15rem; } .gq__score span { color: #fbbc04; }
.gq__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gq__card { display: grid; align-content: space-between; gap: 18px; padding: 24px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--line); border-top: 3px solid var(--amber); }
.gq__card blockquote { margin: 0; color: var(--bone); line-height: 1.55; }
.gq__who { margin: 0; font: 600 .75rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--turq); } .gq__who span { color: #fbbc04; margin-left: 6px; }
.gq__all { display: inline-block; margin-top: 16px; color: var(--bone); }
.local__more { margin-top: 28px; color: var(--fog); max-width: 70ch; } .local__more a { color: var(--bone); }
.cities + .cities { margin-top: 10px; }
.cities__reg { margin: 10px 0 2px; font: 600 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fog); opacity: .8; }
.cities__n { margin-left: 6px; color: var(--turq); font: 600 .75rem var(--f-mono); }
.cities__list [aria-current="page"] { color: var(--turq); font-weight: 700; }

/* ═══ v2.0.0 · MÓVIL COMPACTO (guía M1) ═══ */
.hc-hint { display: none; }
@media (max-width: 760px) {
  .gq__list, .local__cards, .tickets {
    display: flex !important; flex-wrap: nowrap; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 14px; scroll-padding-inline: var(--gutter); grid-template-columns: none !important; }
  .gq__list::-webkit-scrollbar, .local__cards::-webkit-scrollbar, .tickets::-webkit-scrollbar { display: none; }
  .gq__list > *, .local__cards > * , .tickets > * { flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }
  .tickets { align-items: stretch; }
  .tickets.is-scrub { scroll-snap-type: none; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
  .facts dd strong { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .facts dt { font-size: .68rem; }
  .gq__card { padding: 22px; }
  .hc-hint { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; font: 600 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--turq); }
  .hc-hint i { font-style: normal; display: inline-block; animation: hcNudge 1.6s ease-in-out infinite; }
  .hc-hint b { margin-left: auto; font-weight: 500; opacity: .6; }
}
@keyframes hcNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

/* v2.0.0 · Reseñas con movimiento (guía A05C, desde Albacete): entran afiladas una tras otra,
   las estrellas se encienden una a una, flotan suave y un destello las recorre al pasar el ratón */
.gq__card { position: relative; overflow: hidden; }
.gq__q { position: absolute; right: 16px; top: -10px; font: 900 5.5rem/1 var(--f-display); color: var(--amber); opacity: .18; pointer-events: none; }
.gq__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(233, 183, 108, .22) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.gq__card:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }
.gq__stars i { font-style: normal; display: inline-block; }
html.js .gq__list:not(.is-in) .gq__card { opacity: 0; transform: translateY(40px) rotate(-2.5deg); clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.gq__list .gq__card { transition: opacity .7s var(--ease), transform .9s var(--ease), clip-path 1s var(--ease-cut); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.gq__list .gq__card:nth-child(2) { transition-delay: .15s; } .gq__list .gq__card:nth-child(3) { transition-delay: .3s; }
html.js .gq__list:not(.is-in) .gq__stars i { opacity: .15; transform: scale(.4); }
.gq__stars i { transition: opacity .3s, transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.gq__list.is-in .gq__stars i:nth-child(1) { transition-delay: .9s; } .gq__list.is-in .gq__stars i:nth-child(2) { transition-delay: 1s; } .gq__list.is-in .gq__stars i:nth-child(3) { transition-delay: 1.1s; } .gq__list.is-in .gq__stars i:nth-child(4) { transition-delay: 1.2s; } .gq__list.is-in .gq__stars i:nth-child(5) { transition-delay: 1.3s; }
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
  .gq__list.is-in .gq__card { animation: gqFloat 6s ease-in-out 1.4s infinite; }
  .gq__list.is-in .gq__card:nth-child(2) { animation-delay: 2.2s; } .gq__list.is-in .gq__card:nth-child(3) { animation-delay: 3s; }
  .gq__list .gq__card:hover { animation-play-state: paused; transform: translateY(-6px); }
}
@keyframes gqFloat { 50% { transform: translateY(-6px); } }
html.reduced .gq__list .gq__card, html.reduced .gq__stars i { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ── Crecimiento mensual (A04G) · el afilado de cada mes ── */
.filo { background: var(--night-2); color: var(--bone); padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); overflow: hidden; }
.filo__in { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.filo__head { max-width: 760px; }
.filo__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; }
.filo__t { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 6vw, 76px); line-height: .92; margin: 0 0 18px; }
.filo__t span { display: block; color: var(--turq); }
.filo__p { color: var(--fog); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; margin: 0; }
.filo__p strong { color: var(--bone); }
.filo__year { list-style: none; margin: clamp(34px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.filo__year li { position: relative; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; text-align: center; padding: 30px 0 10px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--fog); overflow: hidden; }
.filo__year li::before { content: ""; position: absolute; left: 50%; top: 10px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--line-2); }
.filo__year li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(233, 183, 108, .5) 50%, transparent 65%); transform: translateX(-120%); }
.filo.is-in .filo__year li { animation: filoOn .5s var(--ease) both; animation-delay: calc(var(--i) * 110ms); }
.filo.is-in .filo__year li::after { animation: filoGlint .9s var(--ease) both; animation-delay: calc(var(--i) * 110ms); }
.filo.is-in .filo__year li::before { animation: filoDot .5s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 120ms); }
@keyframes filoOn { to { color: var(--bone); border-color: rgba(0, 229, 229, .55); } }
@keyframes filoGlint { to { transform: translateX(120%); } }
@keyframes filoDot { to { background: var(--turq); box-shadow: 0 0 0 4px rgba(0, 229, 229, .18), 0 0 14px rgba(0, 229, 229, .8); } }
.filo__trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); margin-top: clamp(28px, 4vw, 44px); }
.filo__trio p { margin: 0; padding-top: 14px; border-top: 2px solid var(--amber); color: var(--fog); line-height: 1.5; }
.filo__trio b { display: block; font-family: var(--f-brush); font-weight: 400; font-size: 26px; color: var(--amber); margin-bottom: 4px; }
.filo__fine { margin: 26px 0 0; font-size: 13px; color: var(--fog); }
@media (max-width: 760px) { .filo__year { grid-template-columns: repeat(6, 1fr); } .filo__trio { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .filo .filo__year li, .filo .filo__year li::before, .filo .filo__year li::after { animation: none !important; } .filo__year li::before { background: var(--turq); } }
