/* MOTOWASHING — demo by FELTECT */
:root {
  --bg: #0a0a0a;
  --bg-2: #131313;
  --ph: #1a1a1a;
  --ink: #eeece7;
  --muted: #9d9990;
  --line: rgba(238, 236, 231, .12);
  --accent: #f7d20f;      /* amarillo de la publicidad del cliente */
  --accent-ink: #0a0a0a;
  --radius: 4px;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1320px;   /* todo menos la portada: más aire a los lados */
  /* un solo ritmo vertical: entre dos secciones siempre hay 2 × --sec */
  --sec: clamp(36px, 4.2vw, 60px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--accent); margin: 0; font-weight: 800; font-stretch: 75%; line-height: .98; letter-spacing: -.01em; text-transform: uppercase; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: var(--radius);
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ffe14d; }
.btn-ghost { border-color: rgba(238, 236, 231, .35); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20; height: calc(64px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; gap: 24px; padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right));
  /* cristal: siempre, también sobre las lámparas de la portada */
  background: linear-gradient(180deg, rgba(22,22,22,.62), rgba(12,12,12,.5));
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background .4s, box-shadow .4s;
}
/* la cabecera se vuelve opaca al bajar; sin línea, solo una barra fina de progreso amarilla */
.top.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%; opacity: .9;
}
.brand {
  font-weight: 900; font-stretch: 70%; font-size: 22px; letter-spacing: .02em; text-decoration: none;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
/* Logo: logo.(svg|png|jpg|webp) en la raíz; si no existe, círculo de reserva */
.logo {
  position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%;
  border: 1px dashed rgba(255, 212, 0, .55);
  display: inline-grid; place-items: center;
}
.logo::after { content: "LOGO"; font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.logo.has-photo { border: 0; border-radius: 0; }
.logo.has-photo::after { content: none; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.logo.has-photo img { opacity: 1; }
.foot .logo { width: 140px; height: 140px; }
.foot .logo::after { font-size: 12px; }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.top-nav a:hover { color: var(--ink); }

/* ---------- photo slots (placeholder → real photo) ---------- */
[data-photo] {
  position: relative; margin: 0; overflow: hidden; background: var(--ph);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 1px, transparent 1px 11px);
}
[data-photo]::after {
  content: attr(data-label) " · foto " attr(data-n);
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(238,236,231,.38);
}
[data-photo].has-photo::after { content: none; }
[data-photo] img { width: 100%; height: 100%; object-fit: cover; }
[data-photo] img { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
[data-photo].has-photo img { opacity: 1; }

/* ---------- hero: coche en "estudio" a la derecha, nombre sobre el parabrisas ---------- */
.hero {
  --ceil: clamp(140px, 21vh, 240px);   /* franja del techo con lámparas, bajo la cabecera */
  --floor: clamp(96px, 15vh, 170px);   /* franja del suelo */
  position: relative; min-height: min(var(--hero-h, 100svh), 1000px);
  display: flex; align-items: stretch;
  padding: calc(64px + var(--ceil) - 60px) 0 24px; isolation: isolate; overflow: hidden; background: var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(10,10,10,0) 7%),
    radial-gradient(ellipse 80% 120% at 66% 70%, transparent 55%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(7,7,7,.92) 0%, rgba(7,7,7,.7) 30%, rgba(7,7,7,.2) 50%, rgba(7,7,7,0) 62%),
    linear-gradient(180deg, rgba(7,7,7,.55) 0%, rgba(7,7,7,0) 18%);
}
.hero-stage { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.stage-light {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 34% 46% at 80% 56%, rgba(255,250,232,.07), transparent 70%);
}
/* techo de lámparas hexagonales, como en un box de detailing */
.hex-ceiling {
  position: absolute; left: 0; right: 0; top: 0; height: var(--ceil-h, calc(64px + var(--ceil)));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%), linear-gradient(90deg, rgba(0,0,0,.45) 0%, #000 45%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%), linear-gradient(90deg, rgba(0,0,0,.45) 0%, #000 45%);
  mask-composite: intersect;
  opacity: .8;
}
/* suelo del box: losetas en perspectiva con un brillo difuso, sin efecto espejo */
.hex-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--floor-h, calc(var(--floor) - 14px));
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%, #000 62%, transparent 100%), linear-gradient(90deg, rgba(0,0,0,.45) 0%, #000 45%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 50%, #000 62%, transparent 100%), linear-gradient(90deg, rgba(0,0,0,.45) 0%, #000 45%);
  mask-composite: intersect;
}
.hex-floor svg { opacity: 0; }
.hero.in .hex-floor svg { opacity: 1; transition: opacity 1.6s ease .5s; }
@media (prefers-reduced-motion: reduce) { .hex-floor svg { opacity: 1 !important; transition: none !important; } }
.hex-floor svg { width: 100%; height: 100%; display: block; }
.hex-ceiling svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hex-ceiling .hx, .hex-floor .hx { opacity: 0; }
.hero.in .hex-floor .hx, .hero.in .hex-ceiling .hx { animation: lamp-on .9s steps(1, end) var(--d) forwards, lamp-fade .6s ease var(--d) forwards; }
@keyframes lamp-on { 0% { opacity: .2 } 30% { opacity: 0 } 55% { opacity: .5 } 70% { opacity: .1 } 100% { opacity: 1 } }
@keyframes lamp-fade { from { filter: brightness(.6) } to { filter: none } }
@media (prefers-reduced-motion: reduce) { .hex-floor .hx, .hex-ceiling .hx { opacity: 1 !important; animation: none !important; } }
.no-js .hex-ceiling, .no-js .hex-floor { display: none; }
/* foto de portada (stock): sustituye al techo y suelo dibujados; coche a la derecha, texto sobre la zona oscura */
.hex-floor, .stage-light { display: none; }
/* móvil: lámparas arriba, el coche entero debajo, luego el nombre (como en el escritorio) */
@media (max-width: 640px) {   /* móvil: solo las lámparas grandes, en una franja fija; el coche empieza justo debajo */
  .hero .hex-ceiling { height: 158px; overflow: hidden; }
  .hero .hex-ceiling svg { height: 165%; }
}
.hero-photo {
  position: absolute; inset: 0;
  background: url("img/hero.jpg?v=2") 100% 100% / auto 84% no-repeat;   /* coche en la mitad derecha, apoyado abajo */
  -webkit-mask-image: linear-gradient(90deg, transparent 28%, rgba(0,0,0,.5) 42%, #000 56%), linear-gradient(180deg, transparent 14%, #000 40%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 28%, rgba(0,0,0,.5) 42%, #000 56%), linear-gradient(180deg, transparent 14%, #000 40%);
  mask-composite: intersect;
  background-image: image-set(url("img/hero.webp?v=2") type("image/webp"), url("img/hero.jpg?v=2") type("image/jpeg"));
  opacity: 0; transform: scale(1.04);
}
.hero.in .hero-photo { opacity: 1; transform: none; transition: opacity 1.6s ease .1s, transform 3s cubic-bezier(.2,.7,.2,1) .1s; }
.hero.settled .hero-photo { transition: none; }
.no-js .hero-photo { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero-photo { opacity: 1 !important; transform: none !important; transition: none !important; } }

.stage-grain {
  position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* texto */
.hero-inner { position: relative; z-index: 1; max-width: none; } /* por los bordes, como la cabecera */
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 4vw, 64px);
  /* tarjeta horizontal a la derecha de la frase y los botones; la fila inferior ocupa todo el ancho */
  grid-template-areas: "eye eye" "h1 h1" ". card" "tag card" ". card" "cta card" ". card" "facts card" ". card";
  /* bajo el nombre: frase, botones y fila inferior repartidos con huecos iguales hasta abajo */
  grid-template-rows: auto auto minmax(24px, 1fr) auto clamp(24px, 3.5vh, 36px) auto minmax(24px, 1fr) auto minmax(24px, 1fr);
}
.m-br { display: none; }
.m-show { display: none; }
.hero .eyebrow { grid-area: eye; } .hero h1 { grid-area: h1; } .hero-tagline { grid-area: tag; }
.hero-cta { grid-area: cta; } .hero-facts { grid-area: facts; }
.hero .eyebrow { font-size: 13px; margin-bottom: 12px; }
.hero h1 {
  max-width: none; font-size: clamp(48px, 10.6vw, 196px); font-style: italic; font-weight: 900; font-stretch: 100%;
  letter-spacing: -.03em; line-height: .9; padding-right: .06em;
  text-shadow: 0 6px 40px rgba(0,0,0,.55);
}
.hero-tagline { margin-top: 0; align-self: start; max-width: 40ch; text-wrap: balance; font-weight: 800; font-stretch: 80%; font-size: clamp(24px, 2.9vw, 46px); line-height: 1.04; color: var(--ink); text-transform: uppercase; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero-tagline em { font-style: normal; color: var(--accent); }
.hero-tagline { max-width: none; } /* salto fijo tras «estética»: la segunda línea no llega al coche */
@media (min-width: 1081px) { .hero-tagline { translate: 0 calc(-1 * clamp(24px, 4.5vh, 46px)); } } /* un poco más arriba: no toca el contorno del coche */
@media (max-width: 1080px) { .hero-tagline .d-br { display: none; } .hero-tagline { max-width: 40ch; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0; }
.hero-cta .btn { min-height: 60px; padding: 0 28px; font-size: 17px; }
@media (max-width: 1300px) {
  .hero-cta .btn { padding: 0 22px; font-size: 16px; }
  .hero-card { padding: 20px 22px 14px; }
  .hc-list { column-gap: 18px; }
  .hc-list div { font-size: 13px; }
  .hero-card .hc-num { font-size: 58px; }
}
.hero-facts {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted);
}
.hero-facts a { text-decoration: none; }
.hero-facts strong { color: var(--ink); font-weight: 700; }
.hero-social { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 36px; border-right: 1px solid var(--line); }
.hs-label, .hf-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.hf-label { display: none; }
@media (max-width: 640px) { .hf-label { display: block; } .hs-label { font-size: 10.5px; } }
.hs-links { display: flex; align-items: center; gap: 24px; }
.hero-rating a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); transition: color .2s; }
.hero-rating a:hover { color: var(--accent); }
.hero-rating strong { color: var(--ink); font-size: 1.15em; }
.hr-stars { color: var(--accent); letter-spacing: .08em; font-size: .9em; }
.hero-phone a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; transition: color .2s; }
.hero-phone a:hover { color: var(--accent); }
.hero-phone svg { width: 17px; height: 17px; fill: var(--accent); }
.hp-num { display: inline-flex; align-items: center; gap: 8px; }
.hero-social a { display: grid; place-items: center; color: var(--ink); transition: color .2s, transform .2s; }
.hero-social a:hover { color: var(--accent); transform: translateY(-2px); }
.hero-social svg { width: 28px; height: 28px; fill: currentColor; }

/* tarjeta: valoración de Google + horario */
.hero-card {
  grid-area: card; align-self: center; position: relative; width: clamp(400px, 31vw, 500px);
  /* más cuadrada y un poco más baja: puede pisar el suelo */
  left: var(--card-x, 0px);
  padding: 24px 26px 18px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.02) 60%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.hero.in .hero-card.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1) !important; }
.hc-score { display: block; text-decoration: none; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.hc-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hc-row { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.hc-num { font-weight: 900; font-style: italic; font-stretch: 100%; font-size: clamp(60px, 5vw, 84px); line-height: .9; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; padding-right: .05em; }
.hc-meta { display: grid; gap: 10px; }
.hc-count { font-size: 14px; color: var(--ink); font-weight: 600; }
.hc-count span { display: inline-block; color: var(--accent); transition: transform .3s; }
.hc-score:hover .hc-count span { transform: translateX(4px); }
.hero-card .stars { transform: scale(.8); transform-origin: left center; margin-bottom: -4px; }
.hero-card .stars span { width: 0; }
.hero.in .hero-card .stars span { width: calc(var(--r) * 100%); transition: width 1.3s cubic-bezier(.3,.7,.2,1) 1.1s; }
.hc-list { margin: 0; padding-top: 6px; display: grid; grid-template-columns: auto auto; column-gap: 24px; }
.hero-card .hc-row { gap: 20px; margin-top: 8px; }
.hero-card .hc-meta { gap: 6px; }
.hc-list div { padding: 9px 0; font-size: 13.5px; }
.hc-list div:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-top: 2px; }
.hc-list div:nth-child(n+3) { padding-bottom: 2px; }
.hc-list dt { color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.hc-list dd { margin: 0; color: var(--ink); line-height: 1.45; white-space: nowrap; }
.js-open b { color: var(--accent); font-weight: 700; }

/* ---------- animación de entrada ---------- */
.js-split .ch { display: inline-block; opacity: 0; transform: translate3d(0, .45em, 0) skewX(-8deg); filter: blur(6px); }
.hero.in .js-split .ch {
  opacity: 1; transform: none; filter: none;
  transition: opacity .7s, transform .9s cubic-bezier(.2,.8,.2,1), filter .7s;
  transition-delay: calc(.25s + var(--i) * .045s);
}
.hero .eyebrow, .hero-tagline, .hero-cta, .hero-facts, .hero-card { opacity: 0; transform: translateY(16px); }
.hero.in .eyebrow, .hero.in .hero-tagline, .hero.in .hero-cta, .hero.in .hero-facts, .hero.in .hero-card { opacity: 1; transform: none; transition: opacity .8s, transform .9s cubic-bezier(.2,.8,.2,1); }
.hero.in .eyebrow { transition-delay: .1s; }
.hero.in .hero-tagline { transition-delay: .75s; }
.hero.in .hero-cta { transition-delay: .9s; }
.hero.in .hero-facts { transition-delay: 1.05s; }
.hero.in .hero-card { transition-delay: .6s; transition-duration: 1s, 1.2s; }
/* sin JS o con movimiento reducido: todo visible */
.no-js .js-split .ch, .no-js .hero .eyebrow, .no-js .hero-tagline, .no-js .hero-cta, .no-js .hero-facts, .no-js .hero-card { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js-split .ch, .hero .eyebrow, .hero-tagline, .hero-cta, .hero-facts, .hero-card { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* lema (de la publicidad del cliente) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* lema: dos cintas cruzadas (amarilla y negra), como en la publicidad del cliente */
.motto { position: relative; height: clamp(190px, 20vw, 300px); margin: calc(var(--sec) * .5) 0; overflow: hidden; }
.band { position: absolute; left: -10%; width: 120%; top: 50%; padding: clamp(10px, 1.1vw, 16px) 0; white-space: nowrap; overflow: hidden; }
.band-y { background: var(--accent); color: var(--accent-ink); transform: translateY(-50%) rotate(-4deg); box-shadow: 0 20px 50px rgba(0,0,0,.5); z-index: 1; }
.band-d { background: #161616; color: var(--ink); transform: translateY(-50%) rotate(3deg); border-block: 1px solid rgba(255,255,255,.08); }
.band-track { display: inline-flex; align-items: center; will-change: transform; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 54px); line-height: 1; letter-spacing: -.01em; }
.band-track span, .band-track b { font-weight: inherit; padding: 0 .5em; }
.band-d .band-track b { color: var(--accent); }
.band-track i { width: .32em; height: .32em; border-radius: 50%; background: currentColor; opacity: .55; flex: none; }
.band-d .band-track span { color: transparent; -webkit-text-stroke: 1.2px rgba(238,236,231,.75); }
.band-y .band-track span { color: transparent; -webkit-text-stroke: 1.5px var(--accent-ink); } /* «Cuidamos cada detalle» en contorno sobre el amarillo */


/* ---------- servicios y precios: una lista que se abre ---------- */
.svcs { padding-top: calc(var(--sec) + 8px); padding-bottom: var(--sec); position: relative; }
.section-head { display: grid; gap: 0; max-width: 920px; margin-bottom: clamp(28px, 3vw, 40px); }
.section-head h2, .reviews h2, .contact h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; }
.contact h2 em { font-style: normal; color: var(--ink); }
main h2 { text-wrap: balance; }
.section-lead { margin-top: 16px; font-size: 15.5px; color: var(--muted); max-width: none; text-wrap: pretty; }

.sv-list { list-style: none; margin: 0; padding: 0; counter-reset: sv; }
.sv { border-top: 1px solid var(--line); }
.sv:last-child { border-bottom: 1px solid var(--line); }
.sv-row {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 34px; align-items: center; gap: 18px;
  padding: clamp(16px, 1.6vw, 22px) 0; position: relative;
}
.sv-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sv-n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .08em; transition: color .3s; }
.sv-name {
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; font-stretch: 82%; text-transform: uppercase; line-height: 1.1; word-spacing: .22em; letter-spacing: 0;
  transition: color .3s, transform .5s cubic-bezier(.2,.7,.2,1);
}
.sv-price { color: var(--accent); font-weight: 700; font-size: clamp(16px, 1.5vw, 20px); white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 5.6em; text-align: right; }
.sv-price { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.sv-time { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.sv-time svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sv-price small, .sv-price small { font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-right: 6px; }
.sv-plus { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(238,236,231,.25); transition: background .3s, border-color .3s, transform .5s cubic-bezier(.2,.7,.2,1); }
.sv-plus::before, .sv-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .4s, background .3s; }
.sv-plus::after { transform: rotate(90deg); }
.sv-row::after { display: none; content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sv-row:hover .sv-name { color: #fff; transform: translateX(10px); }
.sv-row:hover .sv-n, .sv.is-open .sv-n { color: var(--accent); }
.sv-row:hover .sv-plus { border-color: var(--accent); }
.sv.is-open .sv-plus { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.sv.is-open .sv-plus::before, .sv.is-open .sv-plus::after { background: var(--accent-ink); }
.sv.is-open .sv-plus::after { transform: rotate(0deg); }
.sv.is-open .sv-name { color: var(--accent); }

/* el panel se abre con una animación de altura (0fr → 1fr) */
.sv-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2,.7,.2,1); }
.sv.is-open .sv-panel { grid-template-rows: 1fr; }
.sv-clip { overflow: hidden; min-height: 0; }
.sv-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px);
  padding: 2px 0 clamp(24px, 3vw, 36px) 66px;
  opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .6s cubic-bezier(.2,.7,.2,1);
}
.sv.is-open .sv-inner { opacity: 1; transform: none; transition-delay: .15s; }
/* sin fotos: texto a lo ancho y más grande; el botón se queda debajo */
.sv-inner.no-photos { grid-template-columns: 1fr; }
.no-photos .sv-text > p:first-child { max-width: 96ch; }
.no-photos .sv-note { max-width: 82ch; }
.sv-text > p:first-child { color: #cfccc5; max-width: 60ch; font-size: 16px; line-height: 1.65; text-wrap: pretty; } /* mismo tamaño con o sin fotos */
.sv-text .btn { margin-top: 24px; }
.sv-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); max-width: 44ch; }
/* fotos del servicio: la rejilla se adapta a cuántas haya (1–4) */
.sv-photos { display: grid; gap: 8px; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); align-self: start; }
.sv-photos figure { margin: 0; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 5; background: var(--ph); }
.sv-photos[style*="--n:1"] { max-width: 520px; }
.sv-photos[style*="--n:1"] figure { aspect-ratio: 4 / 3; }
.sv-photos[style*="--n:2"] { max-width: 760px; }
.sv-photos[style*="--n:2"] figure { aspect-ratio: 4 / 3; }
.sv-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sv-photos figure:hover img { transform: scale(1.04); }
.sv.is-open .sv-photos figure { animation: sv-ph .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.2s + var(--i, 0) * .08s); }
@keyframes sv-ph { from { opacity: 0; transform: translateY(18px); } }
/* faros: cada foto es antes (arriba) / después (abajo) */
.sv-photos.is-ba figure { aspect-ratio: 3 / 4; position: relative; }
.sv-photos.is-ba figure::before, .sv-photos.is-ba figure::after {
  position: absolute; left: 8px; z-index: 1; padding: 3px 7px; border-radius: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.sv-photos.is-ba figure::before { content: "Antes"; top: 8px; background: rgba(10,10,10,.72); color: var(--ink); }
.sv-photos.is-ba figure::after { content: "Después"; top: calc(50% + 8px); background: var(--accent); color: var(--accent-ink); }
.sv-cap { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* foto que sigue al cursor al pasar por las filas (solo ratón) */
.sv-preview {
  position: fixed; left: 0; top: 0; z-index: 15; width: 280px; aspect-ratio: 4 / 5; pointer-events: none;
  border-radius: 4px; overflow: hidden; background: var(--ph); box-shadow: 0 30px 70px rgba(0,0,0,.6);
  opacity: 0; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--pr, 0deg)) scale(.85);
  transition: opacity .3s, transform .45s cubic-bezier(.2,.7,.2,1);
}
.sv-preview.is-on { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--pr, 0deg)) scale(1); }
.sv-preview img { width: 100%; height: 100%; object-fit: cover; }

/* avisos: uno detrás de otro, cada uno con su icono amarillo */
.notes { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.notes p { display: flex; align-items: center; gap: 12px; }
.notes svg { width: 22px; height: 22px; flex: none; color: var(--accent); fill: currentColor; }
.notes strong { color: var(--ink); }

/* ---------- antes / después ---------- */
/* dos columnas: texto y lista de trabajos a la izquierda, comparador cuadrado a la derecha */
.ba { padding-top: var(--sec); padding-bottom: var(--sec); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 80px); align-items: center; }
.ba-head { display: grid; gap: clamp(18px, 2.2vw, 28px); max-width: 520px; }
.ba-head .section-head { margin-bottom: 0; }
.work-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.ba-tabs { display: grid; border-top: 1px solid var(--line); }
.ba-tabs button {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .25s;
}
.ba-n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .08em; grid-row: 1 / 3; }
.ba-t { font-size: clamp(17px, 1.4vw, 20px); font-weight: 800; font-stretch: 78%; text-transform: uppercase; word-spacing: .2em; color: var(--muted); transition: color .25s, transform .4s cubic-bezier(.2,.7,.2,1); }
.ba-d { font-size: 13px; color: var(--muted); opacity: .75; margin-top: 2px; }
.ba-tabs button:hover .ba-t { color: var(--ink); transform: translateX(6px); }
.ba-tabs button[aria-selected="true"] .ba-t { color: var(--accent); transform: translateX(6px); }
.ba-tabs button[aria-selected="true"] .ba-n { color: var(--accent); }
.ba-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.work-filter button, .work-arrows button {
  all: unset; cursor: pointer; padding: 10px 18px; border-radius: 99px; border: 1px solid rgba(238,236,231,.22);
  font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s, border-color .25s, background .25s;
}
.work-filter button:hover, .work-arrows button:hover { color: var(--ink); border-color: var(--ink); }
.work-filter button.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.work-filter button:focus-visible, .work-arrows button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ba-stage { position: relative; aspect-ratio: 1 / 1; width: min(500px, calc(100svh - 200px), 40vw); justify-self: end; border-radius: 10px; box-shadow: 0 40px 90px rgba(0,0,0,.5); overflow: hidden; background: var(--ph); user-select: none; touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.ba-img.has-photo img { opacity: 1; }
.ba-before { background: #151515 repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 12px); }
.ba-after { background: #232321 repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 12px); clip-path: inset(0 0 0 var(--x)); }
.ba-ph { position: absolute; top: 50%; transform: translateY(-50%); font-size: clamp(28px, 5vw, 72px); font-weight: 900; font-style: italic; text-transform: uppercase; color: rgba(238,236,231,.07); }
.ba-before .ba-ph { left: 6%; } .ba-after .ba-ph { right: 6%; }
.has-photo .ba-ph { display: none; }
.ba-label { position: absolute; top: 18px; padding: 6px 12px; border-radius: 99px; background: rgba(10,10,10,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.ba-l { left: 18px; } .ba-r { right: 18px; color: var(--accent); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; box-shadow: 0 0 24px rgba(247,210,15,.5); }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.ba-handle span::before { left: 9px; border-right-color: var(--accent-ink); }
.ba-handle span::after { right: 9px; border-left-color: var(--accent-ink); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-stage.is-hint { transition: --x 0s; }

/* ---------- nuestro trabajo: tira horizontal ---------- */
.work { padding-top: var(--sec); padding-bottom: var(--sec); }
.work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3vw, 40px); }
.work-head .section-head { margin-bottom: 0; }
.work-ctrl { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.work-arrows { display: flex; gap: 8px; }
.work-arrows button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; font-size: 18px; color: var(--ink); }
.work-frame { position: relative; }
.work-track {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  cursor: grab; outline: none;
}
.work-nav { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
.work-hint { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: opacity .4s; }
.work-hint span { display: inline-block; color: var(--accent); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateX(6px); } }
.work-nav.is-moved .work-hint { opacity: 0; }
.work-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.work-bar span { position: absolute; top: 0; bottom: 0; left: 0; width: var(--bw, 20%); background: var(--accent); border-radius: 2px; transform: translateX(var(--bx, 0%)); transition: width .3s; }
.work-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.work-count b { color: var(--ink); font-weight: 600; }
.work-arrows button:disabled { opacity: .3; cursor: default; }
@media (prefers-reduced-motion: reduce) { .work-hint span { animation: none; } }
.work-track::-webkit-scrollbar { display: none; }
.work-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.work-track.is-drag * { pointer-events: none; }
.wk { flex: none; margin: 0; height: clamp(240px, 26vw, 360px); scroll-snap-align: start; position: relative; border-radius: 4px; overflow: hidden; background: var(--ph); transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.wk { aspect-ratio: 1 / 1; }
.wk img { height: 100%; width: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.wk:hover img { transform: scale(1.04); }
.wk figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(238,236,231,.85); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.wk.is-ph { background: var(--ph) repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 1px, transparent 1px 11px); }
.wk.is-ph figcaption { color: rgba(238,236,231,.38); text-shadow: none; }
.wk.is-off { display: none; }
/* faros: cada foto es antes (arriba) / después (abajo), vertical */
.wk[data-c="faros"] { aspect-ratio: 3 / 4; }
.wk[data-c="faros"]::before, .wk[data-c="faros"]::after { position: absolute; left: 10px; z-index: 1; padding: 3px 7px; border-radius: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wk[data-c="faros"]::before { content: "Antes"; top: 10px; background: rgba(10,10,10,.72); color: var(--ink); }
.wk[data-c="faros"]::after { content: "Después"; top: calc(50% + 10px); background: var(--accent); color: var(--accent-ink); }

/* ---------- reviews: dos filas en movimiento ---------- */
.reviews { padding: var(--sec) 0; overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-bottom: clamp(28px, 3vw, 40px); }
.reviews-head h2 { max-width: 22ch; }
.rating { display: flex; align-items: center; gap: 22px; text-decoration: none; }
.rating-num { font-weight: 800; font-stretch: 70%; font-size: clamp(60px, 6vw, 92px); line-height: .85; transition: color .3s; }
.rating-side { display: grid; gap: 10px; }
.rating:hover .rating-num { color: var(--accent); }
.rating:hover .rating-count { color: var(--ink); }

.marquee { display: grid; gap: 14px; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.mq-row { will-change: transform; }
.mq-row { display: flex; width: max-content; gap: 14px; animation: mq var(--dur, 60s) linear infinite; }
.mq-row.rev { animation-direction: reverse; }
.marquee:hover .mq-row, .marquee.is-paused .mq-row { animation-play-state: paused; } /* también mientras se lee una reseña completa */
@keyframes mq { to { transform: translateX(calc(-50% - 7px)); } }
.rcard {
  flex: none; width: clamp(260px, 22vw, 330px); margin: 0; padding: 18px 20px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08);
  display: grid; gap: 14px; grid-template-rows: auto 1fr auto auto;
}
.rcard .stars { transform: scale(.7); transform-origin: left center; margin: -2px 0 -6px; }
.rcard .stars span { width: calc(var(--r) * 100%); }
.rcard .rq { font-size: 54px; line-height: .6; height: 22px; color: var(--accent); font-weight: 900; font-family: Georgia, serif; }
.rcard blockquote { margin: 0; font-size: 14.5px; line-height: 1.55; color: #d9d6cf; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rcard figcaption { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.rcard figcaption span { color: var(--muted); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
/* tarjetas de ejemplo mientras no haya reseñas reales */
.rcard.is-ph .bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.07); }
.rcard.is-ph .bar:nth-child(3) { width: 82%; } .rcard.is-ph .bar:nth-child(4) { width: 64%; }
@media (prefers-reduced-motion: reduce) { .mq-row { animation: none; } .marquee { overflow-x: auto; } }
.stars { position: relative; width: 132px; height: 24px; }
.stars::before, .stars span::before {
  content: "★★★★★"; position: absolute; inset: 0; font-size: 24px; line-height: 1; letter-spacing: 2px;
}
.stars::before { color: rgba(238,236,231,.18); }
.stars span { position: absolute; inset: 0; width: calc(var(--r) * 100%); overflow: hidden; }
.stars span::before { color: var(--accent); }
.rating-count { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- contact ---------- */
/* panel propio: fondo con brillo amarillo y panal de hexágonos (eco de las lámparas de la portada) */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  width: calc(100% - 2 * var(--gut)); max-width: calc(var(--max) - 2 * var(--gut));
  margin: var(--sec) auto calc(var(--sec) * 1.3); padding: clamp(24px, 3.4vw, 48px);
  border-radius: 24px; border: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(247,210,15,.13), transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(255,250,232,.05), transparent 70%),
    linear-gradient(160deg, #171717, #0e0e0e 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 90px rgba(0,0,0,.45);
}
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23fffaf0' stroke-opacity='.09' stroke-width='1.2'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23fffaf0' stroke-opacity='.09' stroke-width='1.2'/%3E%3C/svg%3E"); background-size: 42px 75px;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 22% 100%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 75% at 22% 100%, #000, transparent 75%);
}
address { font-style: normal; margin-top: 24px; font-size: 19px; line-height: 1.5; }
.contact .map { border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.contact-dl { margin: 28px 0 0; border-top: 1px solid var(--line); }
.contact-dl div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-dl dt { color: var(--muted); font-size: 14px; }
.contact-dl dd { margin: 0; }
.contact-dl a { text-decoration: none; font-weight: 600; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.map { min-height: 420px; border-radius: 2px; overflow: hidden; background: var(--ph); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: brightness(.68) contrast(1.08) saturate(.8); transition: filter .4s; }
.map:hover iframe { filter: brightness(.82) contrast(1.05) saturate(.9); } /* al pasar el ratón se aclara un poco para leer mejor */

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; padding-top: calc(var(--sec) * .5); }
.foot::before { /* brillo amarillo muy suave que sale de abajo */
  content: ""; position: absolute; left: 50%; bottom: -30%; width: 120%; height: 80%; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(247,210,15,.12), transparent 70%);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px clamp(24px, 4vw, 64px); align-items: start; }
.foot-brand { display: grid; gap: 18px; justify-items: start; }
.foot .logo { width: 120px; height: 120px; }
.foot-claim { color: var(--muted); max-width: 30ch; font-size: 15px; }
.foot-claim em { font-style: normal; }
.foot-logo-m { display: none; }
@media (max-width: 640px) {
  /* móvil: la frase, grande y con la tipografía de la portada, justo bajo la tarjeta del mapa; el logo grande abajo a la derecha */
  .foot-brand .brand { display: none; }
  /* la frase hace de separador entre la web y el pie: franja a todo el ancho con líneas que se desvanecen en los bordes */
  .foot .foot-claim { position: relative; max-width: none; width: calc(100% + 2 * var(--gut)); margin: 0 calc(-1 * var(--gut)) 6px; padding: 22px calc(var(--gut) + 12px);
    font-size: 17px !important; font-weight: 800; font-stretch: 80%; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); text-wrap: balance;
    background:
      linear-gradient(90deg, transparent, rgba(247,210,15,.55) 30%, rgba(247,210,15,.55) 70%, transparent) top / 100% 1px no-repeat,
      radial-gradient(ellipse 60% 100% at 50% 0%, rgba(247,210,15,.07), transparent 70%); }
  .foot .foot-claim em { color: var(--accent); }
  .foot-logo-m { display: block; align-self: center; justify-self: center; width: 100%; max-width: 170px; }
  .foot-logo-m img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
}
.foot-h { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.foot-col a { text-decoration: none; color: var(--ink); transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-muted { color: var(--muted); font-size: 14px; }
.foot-social a { display: inline-flex; align-items: center; gap: 12px; }
.foot-social svg { width: 22px; height: 22px; fill: currentColor; flex: none; transition: transform .25s; }
.foot-social a:hover svg { transform: translateY(-2px); }

.foot-word {
  margin-top: clamp(28px, 4vw, 48px); margin-bottom: -.06em; line-height: .78; white-space: nowrap; text-align: center; overflow: hidden;
  font-weight: 900; font-style: italic; font-size: 11.4vw; letter-spacing: -.03em; text-transform: uppercase;
}
.foot-word span {
  display: inline-block; padding-right: .05em;
  background: linear-gradient(180deg, rgba(247,210,15,.95) 0%, rgba(247,210,15,.35) 55%, rgba(247,210,15,0) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(var(--fw, 40%)); transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.foot-word.is-in span { --fw: 0%; }
.foot-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 24px; margin-top: clamp(36px, 4vw, 56px); padding-top: 18px; background: linear-gradient(var(--line), var(--line)) no-repeat; background-size: calc(100% - 2 * var(--gut)) 1px; background-position: center top; font-size: 13px; color: var(--muted); }
.foot-bottom a { color: var(--muted); text-decoration: none; transition: color .2s; }
.foot-bottom a:hover { color: var(--accent); }
.foot-top { font-weight: 600; justify-self: center; }
.foot-bottom:last-child { padding-bottom: max(32px, env(safe-area-inset-bottom)); } /* páginas sin el nombre gigante debajo */
.foot-bottom > :last-child { justify-self: end; }


/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "eye" "h1" "tag" "cta" "card" "facts"; grid-template-rows: none; }
  .hero-tagline { margin-top: 26px; } .hero-cta { margin-top: 36px; } .hero-facts { margin-top: 36px; }
  .hero-card { margin-top: 36px; margin-bottom: 0; left: 0; width: min(100%, 520px); justify-self: start; }
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .ba { grid-template-columns: 1fr; }
  .top-nav { display: none; }
  .top .btn { margin-left: auto; }
  .contact { grid-template-columns: 1fr; }
  .notes { flex-direction: column; }
  .notes p { align-items: flex-start; }
  .sv-inner { grid-template-columns: 1fr; padding-left: 0; }
    .sv-row { grid-template-columns: 34px minmax(0, 1fr) auto 36px; gap: 12px; }
  .sv-plus { width: 36px; height: 36px; }
  .ba-stage { justify-self: stretch; width: 100%; }
}
@media (max-width: 640px) {
  .top { height: calc(58px + env(safe-area-inset-top)); }
  .brand { font-size: 20px; }
  /* móvil: sin la tarjeta de Google; el contenido llena la pantalla con huecos iguales */
  /* contenido abajo con huecos fijos; arriba, las lámparas ocupan el resto de la pantalla */
  /* móvil: el contenido se coloca desde arriba con un margen fijo calculado una sola vez (--hero-pt) → no depende de la altura de la pantalla */
  .hero { min-height: 0; display: block; padding: calc(var(--hero-pt, 150px) - 4px) 0 30px; /* posición fija del texto bajo el coche (coche y lámparas no se mueven) */ } /* sin env(): en Chrome Android cambia al ocultarse la barra y movía el texto */
  .hero-inner { display: block; }
  .hero .m-br { display: inline; }
  .hero-tagline { margin-top: 22px; }
  .hero-cta { margin-top: 30px; }
  .hero-facts { margin-top: 30px; }
  .hero-card { display: none; }
  .stage-grain { display: none; }
  .hero::after { display: none; }
  .hero-photo { bottom: auto; top: 150px; height: calc(var(--hero-pt, 300px) - 140px); background-position: 50% 100%; background-size: 100% auto; -webkit-mask-composite: source-over; mask-composite: add;
    background-image: image-set(url("img/hero-m.webp?v=2") type("image/webp"), url("img/hero.jpg?v=2") type("image/jpeg"));
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); }
  .hex-floor { display: none; }
  .hex-ceiling { opacity: .75; height: var(--ceil-h, 300px); bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); }
  .hero h1 { font-size: calc((100vw - 2 * var(--gut)) / 8.25); line-height: .9; white-space: nowrap; letter-spacing: -.035em; }
  .hero-tagline { font-size: clamp(21px, 6.4vw, 26px); }
  .hero-card { padding: 20px 18px 6px; grid-template-columns: 1fr; }
  .hc-score { border-right: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
  .hc-num { font-size: 68px; }
  .hero-card .hc-row { flex-direction: row; align-items: center; gap: 18px; }
  .hc-list { padding-left: 0; grid-template-columns: 1fr; }
  .hc-list div, .hc-list div:nth-child(n) { display: grid; grid-template-columns: 108px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .hc-list div:last-child { border-bottom: 0; }
  /* botones más compactos y centrados, con aire a los lados */
  .hero-cta .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; gap: 8px; }
  .sv-name { font-size: 19px; }
  .work-filter { gap: 6px; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; } /* filtros en una fila deslizable */
  .work-filter::-webkit-scrollbar { display: none; }
  .work-ctrl { flex: 1 1 100%; min-width: 0; max-width: 100%; }
  .work-filter button { flex: none; }
  .work-arrows { display: none; }
  .work-count { display: none; }
  .ba-d { display: none; }
  .ba-tabs button { padding: 11px 0; }
  .sv-price { font-size: 17px; min-width: 0; }
  .sv-price small { display: block; margin: 0 0 2px; font-size: 9.5px; }

  .hero-facts { gap: 10px 22px; font-size: 14.5px; }
  /* fila inferior: tres columnas iguales en altura — rótulo pequeño arriba, valor abajo, separadas por líneas */
  .hero-facts { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; align-items: stretch; gap: 0; }
  .hero-facts > li { display: flex; flex-direction: column; gap: 10px; }
  .hero-facts > li + li { padding-left: 16px; border-left: 1px solid var(--line); }
  .hero-social { border-right: 0; margin: 0; }
  .hero-facts > li:not(:last-child) { padding-right: 16px; }
  .hs-links { gap: 18px; height: 28px; }
  .hero-social svg { width: 24px; height: 24px; }
  .hero-rating a, .hero-phone a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .hr-stars, .hr-count { display: none; }
  .hero-rating strong { height: 28px; display: flex; align-items: center; gap: 5px; font-size: 19px; }
  .hero-rating strong::before { content: "★"; color: var(--accent); font-size: 16px; }
  .hp-num { height: 28px; display: flex; align-items: center; gap: 6px; font-size: 15px; white-space: nowrap; }
  .hero-phone svg { width: 15px; height: 15px; }
}
@media (max-width: 389px) {   /* móviles estrechos (360px y menos): la fila inferior cabe sin cortar el teléfono */
  .hero-facts > li + li { padding-left: 10px; }
  .hero-facts > li:not(:last-child) { padding-right: 10px; }
  .hs-links { gap: 12px; }
  .hero-social svg { width: 21px; height: 21px; }
  .hs-label, .hf-label { font-size: 9.5px; letter-spacing: .1em; }
  .hero-rating strong { font-size: 17px; }
  .hp-num { font-size: 13.5px; gap: 4px; }
  .hero-phone svg { width: 13px; height: 13px; }
  .hero-social svg { width: 26px; height: 26px; }
  .contact-dl div { grid-template-columns: 1fr; gap: 2px; }
  .map, .map iframe { min-height: 320px; }
  .contact-cta .btn { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot-bottom > :last-child { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.foot .brand small { font-size: 12px; font-weight: 500; font-stretch: 100%; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* ---------- aparición de bloques al hacer scroll ----------
   Solo se activa con JS (clase .rv añadida por main.js); sin JS o con
   "reducir movimiento" todo se ve directamente. */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--rd, 0s), transform 1.1s cubic-bezier(.2,.7,.2,1) var(--rd, 0s); }
.rv.is-in { opacity: 1; transform: none; }
/* títulos: suben desde detrás de una máscara */
.rv-mask { opacity: 1; clip-path: inset(0 0 100% 0); transform: translateY(.45em); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1) var(--rd, 0s), transform 1.1s cubic-bezier(.7,0,.2,1) var(--rd, 0s); }
.rv-mask.is-in { clip-path: inset(-.2em -.2em -.25em -.2em); transform: none; }
/* fotos: se descubren de abajo arriba, la imagen se asienta con un leve zoom */
.rv-photo { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1) var(--rd, 0s); }
.rv-photo.is-in { clip-path: inset(0); }
.rv-photo img, .rv-photo::before { transform: scale(1.14); transition: transform 1.8s cubic-bezier(.2,.7,.2,1) var(--rd, 0s), opacity .4s; }
.rv-photo.is-in img, .rv-photo.is-in::before { transform: none; }
/* lema: palabra a palabra */
/* filas de la lista de precios: la línea se dibuja y el texto entra */
.sv.rv { transform: translateX(-18px); }
.sv.rv.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-mask, .rv-photo, .rv-photo img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
}

/* ---------- foto ampliada (galería) ---------- */
.wk:not(.is-ph) { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(5,5,5,.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; cursor: zoom-out; }
.lb.is-on { opacity: 1; visibility: visible; }
.lb img { width: min(90vw, 86vh); height: min(90vw, 86vh); object-fit: contain; border-radius: 8px; box-shadow: 0 40px 100px rgba(0,0,0,.7);
  transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.lb button { all: unset; position: absolute; cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(238,236,231,.25); background: rgba(10,10,10,.5); color: var(--ink); font-size: 20px; transition: border-color .2s, color .2s; }
.lb button:hover { border-color: var(--accent); color: var(--accent); }
.lb .lb-x { top: 20px; right: 20px; font-size: 26px; }
.lb .lb-p { left: 20px; top: 50%; margin-top: -24px; } .lb .lb-n { right: 20px; top: 50%; margin-top: -24px; }
.lb-open, .lb-open body { overflow: hidden; }
.lb.is-single .lb-p, .lb.is-single .lb-n { display: none; }
.sv-photos figure { cursor: zoom-in; }
@media (max-width: 640px) { .lb .lb-p, .lb .lb-n { top: auto; bottom: 28px; margin: 0; } .lb .lb-p { left: calc(50% - 60px); } .lb .lb-n { right: calc(50% - 60px); } }
@media (prefers-reduced-motion: reduce) { .lb img { transition: none; } }

/* ---------- mapa que se carga al pulsar (sin cookies hasta entonces) ---------- */
.map { position: relative; }
.map-ph { position: absolute; inset: 0; overflow: hidden; background: #121212; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 45% 45% at 50% 50%, rgba(247,210,15,.12), transparent 70%), radial-gradient(ellipse 80% 80% at 50% 50%, transparent 55%, rgba(0,0,0,.45)); }
.map-marker, .map-bar { z-index: 1; }
.map-marker { position: absolute; width: 0; height: 0; }
.map-pin { position: absolute; left: -22px; top: -44px; width: 44px; height: 44px; fill: var(--accent); filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.map-pulse { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: pulse 2.4s cubic-bezier(.2,.7,.2,1) infinite; }
.map-pulse + .map-pulse { animation-delay: 1.2s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }
.map-tag { position: absolute; left: 28px; top: -46px; display: grid; gap: 2px; white-space: nowrap; padding: 9px 13px; border-radius: 10px;
  background: rgba(14,14,14,.82); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.map-tag b { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--accent); }
.map-tag span { font-size: 12.5px; color: var(--ink); }
.map-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 20px;
  background: linear-gradient(0deg, rgba(10,10,10,.92), rgba(10,10,10,0)); }
.map-bar .btn { gap: 10px; }
.map-note { font-size: 12px; color: var(--muted); }
.map-note a { color: var(--muted); }
@media (max-width: 640px) { .map-tag { left: -80px; top: 14px; } }
@media (prefers-reduced-motion: reduce) { .map-pulse { animation: none; } }
.map.is-loaded .map-ph { display: none; }

/* ---------- enlaces legales en el pie ---------- */
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.foot-legal a { color: var(--muted); text-decoration: none; }
.foot-legal a:hover { color: var(--accent); }

/* ---------- páginas legales ---------- */
.legal { padding: 120px 0 72px; }
.legal .wrap { max-width: 860px; }
.legal-back { display: inline-block; margin-bottom: 28px; font-size: 14px; color: var(--muted); text-decoration: none; }
.legal-back:hover { color: var(--accent); }
.legal h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
.legal-upd { margin-top: 10px; font-size: 13px; color: var(--muted); }
.legal h2 { font-size: 20px; font-weight: 700; font-stretch: 85%; margin: 40px 0 12px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.legal p, .legal li { color: #cfccc5; font-size: 15.5px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal a { color: var(--accent); }
.legal dl { margin: 16px 0 0; border-top: 1px solid var(--line); }
.legal dl div { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal dt { color: var(--muted); font-size: 14px; }
.legal dd { margin: 0; }
/* huecos que hay que rellenar con los datos del cliente */
.todo { background: rgba(247,210,15,.14); color: var(--accent); border: 1px dashed rgba(247,210,15,.6); border-radius: 4px; padding: 0 6px; font-style: normal; }
@media (max-width: 640px) { .legal dl div { grid-template-columns: 1fr; gap: 2px; } }

/* reseña completa */
.rv-more { all: unset; cursor: pointer; justify-self: start; font-size: 13px; font-weight: 600; color: var(--accent); margin-top: -6px; }
.rv-more:hover { text-decoration: underline; }
.rv-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rcard:has(.rv-more) figcaption { margin-top: 0; }
.rv-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(5,5,5,.8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.rv-modal.is-on { opacity: 1; visibility: visible; }
.rv-box { position: relative; width: min(560px, 100%); max-height: 86vh; overflow: auto; padding: 32px 30px 26px; border-radius: 16px;
  background: linear-gradient(160deg, #1d1d1c, #131313); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 100px rgba(0,0,0,.7);
  transform: translateY(14px) scale(.98); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.rv-modal.is-on .rv-box { transform: none; }
.rv-box .stars { display: block; transform: scale(.8); transform-origin: left center; }
.rv-box .stars span { width: 100%; }
.rv-box blockquote { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: #e2dfd8; white-space: pre-line; }
.rv-who { margin-top: 18px; font-size: 13px; color: var(--muted); }
.rv-who b { color: var(--ink); }
.rv-x { all: unset; cursor: pointer; position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; color: var(--muted); }
.rv-x:hover { color: var(--accent); }

/* ---------- móvil: todo un poco más pequeño y compacto ---------- */
@media (max-width: 640px) {
  :root { --sec: 44px; }
  .top .logo { width: 42px; height: 42px; }
  .brand { font-size: 18px; gap: 10px; }
  .top .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .section-head h2, .reviews h2, .contact h2 { font-size: 28px; }
  .section-lead { font-size: 14.5px; }

  /* servicios */
  .sv-row { grid-template-columns: 26px minmax(0, 1fr) auto 30px; gap: 10px; padding: 14px 0; }
  .sv-n { font-size: 11px; }
  .sv-name { font-size: 15.5px; word-spacing: .12em; }
  .sv-price { font-size: 15px; }
  .sv-price small { font-size: 8.5px; }
  .sv-plus { width: 30px; height: 30px; }
  .sv-plus::before, .sv-plus::after { width: 10px; margin-left: -5px; }
  .sv-inner { padding-left: 36px; }
  .sv-text > p:first-child { font-size: 14.5px; }
  .notes { font-size: 13.5px; gap: 12px; }

  /* antes / después: trabajos como chips deslizables */
  .ba-tabs { display: flex; gap: 8px; overflow-x: auto; border-top: 0; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .ba-tabs::-webkit-scrollbar { display: none; }
  .ba-tabs button { flex: none; }
  .ba-tabs button .ba-n { display: none; }
  .ba-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); }
  .ba-label { font-size: 10px; top: 12px; }
  .ba-l { left: 12px; } .ba-r { right: 12px; }

  /* trabajos */
  .wk { height: 260px; }

  /* reseñas */
  .rating-num { font-size: 56px; }
  .rcard { width: 78vw; padding: 16px; }
  .rcard blockquote { font-size: 13.5px; -webkit-line-clamp: 5; }

  /* cinta */
  .motto { height: 150px; }
  .band-track { font-size: 22px; }

  /* contacto */
  .contact { padding: 22px 18px; border-radius: 18px; gap: 24px; }
  address { font-size: 16px; margin-top: 16px; }
  .contact-dl div { padding: 10px 0; font-size: 14.5px; }
  .map, .map iframe { min-height: 300px; }
  .map-tag { display: none; }
  .map-note { font-size: 11px; }

  /* pie */
  .foot .logo { width: 84px; height: 84px; }
  .foot-claim { font-size: 14px; }
  .foot-brand .btn { display: none; }
  .foot-col ul { font-size: 14.5px; gap: 10px; }
  .foot-grid { gap: 28px 20px; }
  .foot-bottom { font-size: 12px; gap: 8px; }
}

/* ---------- chips (filtros y trabajos antes/después): mismo tamaño y letra en toda la web ---------- */
.work-filter button {
  box-sizing: border-box; height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 99px; border: 1px solid rgba(238,236,231,.22);
  font: 600 14px/1 var(--font); font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--muted);
}
.work-arrows button { box-sizing: border-box; width: 40px; height: 40px; }
@media (max-width: 640px) {
  .work-filter button, .ba-tabs button.chip {
    box-sizing: border-box; height: 36px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 99px; border: 1px solid rgba(238,236,231,.22);
    font: 600 13.5px/1 var(--font); font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--muted);
  }
  .ba-tabs button .ba-t { font: inherit; color: inherit; text-transform: none; letter-spacing: 0; word-spacing: 0; transform: none !important; }
  .ba-tabs button .ba-d { display: none; }
  .ba-tabs button[aria-selected="true"], .work-filter button.is-on { color: var(--accent-ink); }
  .ba-tabs button[aria-selected="true"] .ba-t, .ba-tabs button[aria-selected="true"] .ba-n { color: var(--accent-ink); }
  /* botones: misma altura en todo el móvil */
  .hero-cta .btn, .sv-text .btn, .contact-cta .btn, .map-bar .btn { min-height: 46px; font-size: 15px; }
}

/* ---------- rendimiento en móviles: sin efectos caros mientras se hace scroll ---------- */
@media (max-width: 900px), (hover: none) {
  .top, .top.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10,10,10,.94); }
  .top::after { display: none; }                 /* barra de progreso: se recalculaba en cada scroll */
  .hex-ceiling g { filter: none !important; }     /* brillo de las lámparas sin desenfoque SVG */
  .ba-label, .map-tag, .rv-modal, .lb { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .contact { box-shadow: none; }
  .ba-stage { box-shadow: 0 20px 40px rgba(0,0,0,.45); }
  .band-track { will-change: transform; }
}

/* móvil: la portada aparece solo con un fundido, sin desplazamiento, para que nada se mueva si se hace scroll enseguida */
@media (max-width: 640px) {
  .hero .eyebrow, .hero-tagline, .hero-cta, .hero-facts, .js-split .ch { transform: none !important; }
}

/* ---------- móvil: textos pequeños y pie ordenado ---------- */
@media (max-width: 640px) {
  .section-lead { font-size: 13.5px; }
  .no-photos .sv-note, .sv-note { font-size: 12px; }
  .notes { font-size: 12.5px; }
  .notes svg { width: 18px; height: 18px; }
  .foot-claim { font-size: 13px; }

  /* logo y frase del pie centrados */
  .foot-brand { justify-items: center; text-align: center; }
  .foot-claim { margin-inline: auto; }

  /* fila 1: © + FELTECT a la izquierda, aviso legal a la derecha · fila 2: volver arriba centrado */
  .foot-bottom { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "legal copy by" "top top top"; row-gap: 22px; column-gap: 12px; text-align: center; font-size: 11.5px; }
  .foot-bottom .foot-legal { display: contents; }
  .fb-copy { grid-area: copy; white-space: nowrap; justify-self: center; }
  .fb-by { grid-area: by; white-space: nowrap; justify-self: end; }
  .fb-legal { grid-area: legal; white-space: nowrap; justify-self: start; }
  .fb-long { display: none; }
  .foot-bottom .foot-top { grid-area: top; justify-self: center; font-size: 12.5px; }
  .foot-bottom > .fb-by { justify-self: end; }
  .foot-word { margin-top: 22px; }
}

/* móvil: botones de la portada uno al lado del otro, iconos y datos alineados a la izquierda */
@media (max-width: 640px) {
  .hero-cta { flex-direction: row; flex-wrap: nowrap; gap: 10px; }
  .m-hide { display: none; }
  .m-show { display: inline; }
  .hero-facts, .hero-social { justify-content: flex-start; text-align: left; }
}

/* portada ya colocada: nada animado ni en capas aparte (evita temblores de 1 px al hacer scroll en móviles) */
.hero.settled .eyebrow, .hero.settled .hero-tagline, .hero.settled .hero-cta, .hero.settled .hero-facts,
.hero.settled h1, .hero.settled .js-split .ch, .hero.settled .hero-card:not(.tilt) {
  transition: none !important; transform: none !important; filter: none !important; will-change: auto !important;
}
.hero.settled .hx { animation: none !important; opacity: 1; filter: none; }
@media (max-width: 640px) {
  .hero h1 { text-shadow: none; }
  .hero .hex-ceiling { -webkit-mask-image: none; mask-image: none; }
  .hero .hex-ceiling::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, var(--bg)); }
  .hero .hex-ceiling { opacity: 1; }
}

/* zona táctil de 44 px en los iconos de redes (el icono se ve igual) */
.hero-social a { padding: 8px; margin: -8px; }
