/* ==========================================================
   Nord-Auto Markina — chapa y pintura
   Identidad tomada del rótulo real: azul, rojo y blanco.
   Recurso gráfico: cinta de carrocero (enmascarado).
   ========================================================== */

:root {
  --navy-950: #050a1c;
  --navy-900: #081130;
  --navy-800: #0c1638;
  --navy-700: #142463;
  --blue: #2340b5;
  --blue-300: #8aa0ff;
  --red: #e3262e;
  --red-600: #c51c24;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #ffffff;
  --ink: #0b1020;
  --ink-2: #2b3247;
  --muted: #5d6478;
  --line: rgba(11, 16, 32, .12);
  --line-light: rgba(255, 255, 255, .14);
  --tape: #e9d6a6;
  --tape-ink: #4a3a17;
  --wa: #1fae5b;

  --d-scratch: #f2b316;
  --d-dent: #2f6bff;
  --d-crash: #e3262e;
  --d-paint: #11a88a;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.02; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ---------- barra de progreso de scroll ---------- */
.scrollbar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scrollbar span { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn::after { /* brillo de barniz */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: .62em 1.05em; font-size: .92rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.04rem; }
.btn--red { --bg: var(--red); box-shadow: 0 10px 30px -10px rgba(227, 38, 46, .7); }
.btn--red:hover { --bg: var(--red-600); box-shadow: 0 16px 36px -12px rgba(227, 38, 46, .85); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; }
.btn--wa { --bg: var(--wa); box-shadow: 0 10px 30px -12px rgba(31, 174, 91, .8); }
.btn--wa.is-disabled { --bg: #9aa0ad; box-shadow: none; }

/* ---------- cinta de carrocero ---------- */
.tape {
  display: inline-block; position: relative;
  padding: .38em .95em .34em;
  background: var(--tape); color: var(--tape-ink);
  font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transform: rotate(-2deg);
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 3px, #000 3.5px) left / 51% 7px repeat-y,
                radial-gradient(circle at 100% 50%, transparent 3px, #000 3.5px) right / 51% 7px repeat-y;
          mask: radial-gradient(circle at 0 50%, transparent 3px, #000 3.5px) left / 51% 7px repeat-y,
                radial-gradient(circle at 100% 50%, transparent 3px, #000 3.5px) right / 51% 7px repeat-y;
}
.tape::before { /* textura de papel */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 2px, transparent 2px 5px);
  pointer-events: none;
}

/* ---------- etiquetas y títulos ---------- */
.eyebrow {
  font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.1rem;
}
.eyebrow--light { color: #ff6b71; }
.section { padding-block: clamp(84px, 11vw, 150px); position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-size: clamp(2.3rem, 6.4vw, 5rem);
  font-weight: 850; font-stretch: 112%;
  letter-spacing: -.035em; text-transform: uppercase;
}
.section__title span { color: var(--muted); font-weight: 300; font-style: italic; font-stretch: 100%; text-transform: none; letter-spacing: -.03em; }
.section__title--light { color: #fff; }
.section__title--light span { color: rgba(255,255,255,.55); }
.section__lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section__head--center .section__lead { margin-inline: auto; }

/* ==========================================================
   CABECERA
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: #fff;
  transition: transform .5s var(--ease-out), background .4s, color .4s, box-shadow .4s;
}
.nav__inner { height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 24px; }
.nav.is-solid { background: rgba(246, 244, 239, .86); color: var(--ink); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 46px; height: 30px; color: var(--red); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-size: 1.22rem; font-weight: 900; font-stretch: 118%; letter-spacing: -.02em; text-transform: uppercase; font-style: italic; }
.brand__text b i { color: var(--red); font-style: normal; }
.brand__text small { font-family: var(--mono); font-size: .62rem; letter-spacing: .38em; text-transform: uppercase; opacity: .7; margin-top: 4px; }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .85; transition: opacity .2s; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); }
.nav.is-solid .status-pill { background: rgba(11,16,32,.06); }
.status-pill i, .hours__status i { width: 8px; height: 8px; border-radius: 50%; background: #9aa0ad; flex: none; }
.is-open i { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ping 2s infinite; }
.is-closed i { background: var(--red); }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: grid; align-items: end;
  color: #fff; background: var(--navy-950); overflow: hidden;
  padding-top: var(--nav-h);
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.4s var(--ease-out); }
.hero__slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero__slide.is-leaving { clip-path: inset(0 0 0 0); z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transform-origin: 60% 40%; }
.hero__slide.is-active img { animation: kenburns 9s var(--ease) forwards; }
.hero__slide:nth-child(2) img { transform-origin: 30% 60%; }
.hero__slide:nth-child(3) img { transform-origin: 50% 50%; object-position: 50% 60%; }
.hero__slide figcaption { display: none; }
@keyframes kenburns { from { transform: scale(1.18) translate3d(0, 0, 0); } to { transform: scale(1.04) translate3d(-1.5%, -1%, 0); } }

.hero__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,10,28,.55) 0%, rgba(5,10,28,0) 22%),
    linear-gradient(0deg, rgba(5,10,28,.96) 0%, rgba(5,10,28,.7) 32%, rgba(5,10,28,.1) 70%),
    linear-gradient(90deg, rgba(5,10,28,.7) 0%, rgba(5,10,28,0) 65%);
}
.hero__mist { /* niebla de pistola que sigue al cursor */
  position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .6s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(138,160,255,.18), transparent 60%);
}
.hero:hover .hero__mist { opacity: 1; }

.hero__content { position: relative; z-index: 4; padding-bottom: clamp(120px, 15vh, 170px); }
.tape--hero { margin-bottom: 26px; }
.hero__title {
  font-size: clamp(3rem, 10.5vw, 9.4rem);
  font-weight: 900; font-stretch: 116%;
  letter-spacing: -.045em; line-height: .9; text-transform: uppercase;
  max-width: 12ch;
}
.hero__title em { display: block; font-style: italic; font-weight: 300; font-stretch: 100%; text-transform: none; letter-spacing: -.04em; color: rgba(255,255,255,.92); }
.hero__lead { margin-top: 28px; max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .93rem; color: rgba(255,255,255,.75); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li + li::before { content: ""; width: 5px; height: 5px; background: var(--red); border-radius: 50%; margin-right: 6px; }
.hero__trust b { color: #fff; font-size: 1.05rem; }
.star { color: #fbbf24; margin-left: 2px; }

.hero__dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 34px; display: flex; align-items: center; gap: 8px; margin-inline: auto; }
.hero__dots button { width: 54px; height: 22px; padding: 0; background: none; border: 0; display: grid; align-items: center; }
.hero__dots button span { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; position: relative; }
.hero__dots button span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots button[aria-selected="true"] span::after { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero__dots button.is-done span::after { transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.hero__caption { margin-left: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hero__scroll { position: absolute; z-index: 5; right: var(--gutter); bottom: 30px; width: 30px; height: 48px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.hero__scroll span { position: absolute; left: 50%; top: 10px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* animación de entrada del titular */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 200ms); }
.is-ready .split-word > span { transform: none; }
[data-hero-in] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.is-ready [data-hero-in] { opacity: 1; transform: none; }
.is-ready .tape--hero { transform: rotate(-2deg); transition-delay: .1s; }
.is-ready .hero__lead { transition-delay: .75s; }
.is-ready .hero__actions { transition-delay: .9s; }
.is-ready .hero__trust { transition-delay: 1.05s; }

/* ==========================================================
   MARQUESINA
   ========================================================== */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(0,0,0,.1); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 28px; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-weight: 850; font-stretch: 120%; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee i { font-style: normal; opacity: .55; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   REVEAL GENÉRICO
   ========================================================== */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================
   SERVICIOS
   ========================================================== */
.services__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 26px); }
.card {
  grid-column: span 4; position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(11,16,32,.35);
  display: flex; flex-direction: column;
}
.card:nth-child(1), .card:nth-child(2) { grid-column: span 6; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); clip-path: inset(12% 12% 12% 12% round 12px); transition: clip-path 1.3s var(--ease-out); }
.card.is-in .card__media { clip-path: inset(0 0 0 0 round 0); }
.card:nth-child(1) .card__media, .card:nth-child(2) .card__media { aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 118%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease-out); will-change: transform; }
.card.is-in .card__media img { transform: scale(1); }
.card__media::after { /* brillo de barniz al pasar */
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.45) 50%, transparent 62%);
  transform: translateX(-100%); transition: transform 1.1s var(--ease);
}
.card:hover .card__media::after { transform: translateX(100%); }
.card__body { padding: 26px 26px 30px; position: relative; flex: 1; }
.card__num { position: absolute; top: -22px; right: 22px; font-family: var(--mono); font-size: .8rem; font-weight: 600; background: var(--ink); color: #fff; padding: 10px 12px; border-radius: 12px; }
.card h3 { font-size: 1.55rem; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card--accent { background: var(--navy-800); color: #fff; }
.card--accent p { color: rgba(255,255,255,.72); }
.card--accent .card__num { background: var(--red); }

/* ==========================================================
   PROCESO
   ========================================================== */
.process { background: var(--navy-900); color: #fff; overflow: hidden; }
.process::before { /* rejilla de cabina de pintura */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
          mask: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.process__wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); position: relative; }
.process__head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; margin-bottom: 0; }
.process__photo { margin: 40px 0 0; position: relative; max-width: 300px; transform: rotate(-3deg); }
.process__photo img { border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); aspect-ratio: 3 / 4; object-fit: cover; }
.process__photo .tape { position: absolute; top: -12px; left: 50%; translate: -50% 0; }
.steps { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; display: grid; gap: clamp(48px, 7vw, 88px); }
.steps__line { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line-light); }
.steps__line span { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; }
.step__n {
  position: absolute; left: -64px; top: -4px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-weight: 600;
  background: var(--navy-900); box-shadow: inset 0 0 0 2px var(--line-light); transition: background .5s, box-shadow .5s;
}
.step.is-lit .step__n { background: var(--red); box-shadow: inset 0 0 0 2px var(--red), 0 0 0 8px rgba(227,38,46,.15); }
.step h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,.68); max-width: 44ch; font-size: 1.06rem; }

/* ==========================================================
   PRESUPUESTO INTERACTIVO — orden de reparación
   ========================================================== */
.quote { background: var(--paper); }

.desk {
  border-radius: 24px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 60px 120px -60px rgba(8,17,48,.55), 0 0 0 1px rgba(11,16,32,.06);
}
.desk__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 24px; background: var(--navy-950); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.desk__brand { display: flex; align-items: center; gap: 12px; }
.desk__brand b { font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em; font-size: .95rem; }
.desk__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227,38,46,.2); }
.desk__ref { white-space: nowrap; font-family: var(--mono); font-size: .74rem; color: rgba(255,255,255,.55); letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.06); }
.desk__steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.desk__steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.5); transition: color .4s, background .4s; }
.desk__steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .7rem; background: rgba(255,255,255,.08); transition: background .4s, color .4s; }
.desk__steps li.is-on { color: #fff; background: rgba(255,255,255,.06); }
.desk__steps li.is-on span { background: var(--red); }
.desk__steps li.is-done span { background: #22c55e; color: #fff; }
.desk__steps li.is-done span { font-size: 0; }
.desk__steps li.is-done span::before { content: "✓"; font-size: .72rem; }

.desk__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }

/* --- plano técnico --- */
.blueprint {
  position: relative; padding: 24px; color: #cfd8ff;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(120% 70% at 50% 40%, rgba(35,64,181,.35), transparent 70%),
    linear-gradient(rgba(138,160,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,160,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(138,160,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,160,255,.035) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px, 12px 12px, 12px 12px;
  display: flex; flex-direction: column; gap: 18px;
}
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(5,10,28,.55); box-shadow: inset 0 0 0 1px rgba(138,160,255,.12); }
.tool {
  display: grid; justify-items: center; gap: 2px; padding: 10px 4px 9px; border-radius: 10px; border: 0;
  background: transparent; color: rgba(219,226,255,.7); text-align: center; line-height: 1.15;
  transition: background .3s, color .3s, box-shadow .3s;
}
.tool svg { width: 22px; height: 22px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; transition: transform .4s var(--ease-out); }
.tool b { font-size: .84rem; font-weight: 700; color: inherit; }
.tool small { font-size: .66rem; opacity: .6; }
.tool:hover { background: rgba(255,255,255,.05); color: #fff; }
.tool.is-active { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px var(--c), 0 0 24px -6px var(--c); }
.tool.is-active svg { transform: scale(1.15); }

.blueprint__stage { position: relative; margin: auto; width: 100%; max-width: 390px; padding: 30px 34px; }
.bp-corner { position: absolute; width: 14px; height: 14px; border-color: rgba(138,160,255,.5); border-style: solid; border-width: 0; }
.bp-corner--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.bp-corner--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.bp-corner--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.bp-corner--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.bp-label { position: absolute; font-family: var(--mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(207,216,255,.5); }
.bp-label--top { top: 4px; left: 50%; translate: -50% 0; }
.bp-label--bottom { bottom: 4px; left: 50%; translate: -50% 0; }
.bp-label--left { left: -2px; top: 50%; transform: translate(-30%, -50%) rotate(-90deg); }
.bp-label--right { right: -2px; top: 50%; transform: translate(30%, -50%) rotate(90deg); }

.car { display: block; width: 100%; height: auto; overflow: visible; color: #8aa0ff; }
.car .body-glow { fill: rgba(35,64,181,.25); filter: url(#glow); pointer-events: none; }
.car .part {
  fill: rgba(138,160,255,.05); stroke: rgba(160,180,255,.85); stroke-width: 1.4; stroke-linejoin: round;
  cursor: pointer; transition: fill .35s var(--ease-out), stroke .3s, opacity .3s; outline: none;
}
.car .part--wheel { fill: rgba(5,10,28,.7); }
.car .part:hover, .car .part:focus-visible { fill: rgba(138,160,255,.2); stroke: #fff; }
.car .part.is-marked { fill: color-mix(in srgb, var(--c) 82%, transparent); stroke: #fff; stroke-width: 1.8; filter: drop-shadow(0 0 8px var(--c)); animation: stamp .5s var(--ease-out); }
@keyframes stamp { 0% { opacity: .2; } 50% { opacity: 1; } }
.car .glass { fill: url(#hatch); stroke: rgba(138,160,255,.4); stroke-width: 1.2; pointer-events: none; }
.car .deco { fill: none; stroke: rgba(160,180,255,.55); stroke-width: 1.4; stroke-linecap: round; pointer-events: none; }
.car .deco--light { fill: rgba(255,255,255,.25); stroke: rgba(255,255,255,.6); stroke-width: 1; }
.car .deco--tail { fill: rgba(227,38,46,.45); stroke: rgba(255,120,120,.8); stroke-width: 1; }
.car .dim path { fill: none; stroke: rgba(138,160,255,.35); stroke-width: 1; }
.car .dim text { fill: rgba(207,216,255,.45); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-anchor: middle; text-transform: uppercase; }

.blueprint__tip {
  position: absolute; left: 50%; top: 50%; translate: -50% -100%; pointer-events: none; z-index: 3;
  background: #fff; color: var(--ink); font-size: .8rem; font-weight: 700; padding: 7px 11px; border-radius: 9px; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0,0,0,.4); opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .25s, transform .3s var(--ease-out);
}
.blueprint__tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.blueprint__tip.is-on { opacity: 1; transform: none; }
.blueprint__tip i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.blueprint__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed rgba(138,160,255,.2); }
.blueprint__hint { font-size: .78rem; color: rgba(207,216,255,.65); }
.blueprint__reset { border: 0; background: none; color: rgba(207,216,255,.8); font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(138,160,255,.25); transition: background .2s, color .2s; }
.blueprint__reset:hover { background: rgba(255,255,255,.08); color: #fff; }

/* --- orden de trabajo --- */
.report { display: flex; flex-direction: column; background: #fff; }
.report__section { padding: 24px 28px; display: grid; gap: 16px; }
.report__section + .report__section { border-top: 1px solid var(--line); }
.report__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.report__title h3 { font-size: 1.05rem; font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: .01em; }
.report__count { font-family: var(--mono); font-size: .76rem; color: var(--muted); padding: 3px 8px; border-radius: 6px; background: var(--paper); }
.report__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 236px; overflow: auto; }
.report__empty { display: flex; align-items: center; gap: 10px; padding: 18px; border-radius: 12px; border: 1.5px dashed var(--line); color: var(--muted); font-size: .92rem; }
.report__empty svg { width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.report__item {
  display: grid; grid-template-columns: 4px 1fr auto auto; align-items: center; gap: 12px;
  padding: 10px 8px 10px 0; border-radius: 10px; background: var(--paper); overflow: hidden;
  animation: rowIn .45s var(--ease-out);
}
.report__item::before { content: ""; align-self: stretch; background: var(--c); }
.report__item b { font-size: .92rem; font-weight: 650; }
.report__item em { font-style: normal; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; color: var(--ink); background: color-mix(in srgb, var(--c) 22%, #fff); }
.report__item button { width: 26px; height: 26px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); font-size: 1.1rem; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s; }
.report__item button:hover { background: var(--ink); color: #fff; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } }

.scope { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); }
.scope__bar { display: flex; gap: 4px; flex: 1; max-width: 160px; }
.scope__bar i { height: 6px; flex: 1; border-radius: 3px; background: var(--paper-2); transition: background .5s var(--ease-out); }
.scope[data-level="1"] .scope__bar i:nth-child(-n+1) { background: var(--d-scratch); }
.scope[data-level="2"] .scope__bar i:nth-child(-n+2) { background: #f97316; }
.scope[data-level="3"] .scope__bar i { background: var(--red); }
.scope__value { color: var(--ink); font-weight: 700; min-width: 7ch; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span, .seg legend { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa0ad; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(35,64,181,.12); }
.seg { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.seg legend { padding: 0; margin-bottom: 6px; }
.seg__track { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; gap: 4px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 9px 6px; border-radius: 9px; font-weight: 600; font-size: .88rem; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 12px -4px rgba(11,16,32,.2); }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 1px; }
.switch { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .94rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { width: 44px; height: 26px; border-radius: 999px; background: var(--paper-2); position: relative; flex: none; transition: background .25s; box-shadow: inset 0 0 0 1px var(--line); }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease-out); }
.switch input:checked + .switch__ui { background: var(--blue); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--red); outline-offset: 2px; }

.report__send { margin-top: auto; padding: 22px 28px 26px; background: var(--paper); border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: center; }
.btn--block { width: 100%; }
.report__alt { font-size: .92rem; color: var(--muted); }
.report__alt a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); }
.report__note { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted); }
.report__note svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

.photoguide { margin-top: clamp(56px, 8vw, 90px); }
.photoguide__title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 28px; }
.photoguide__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: pg; }
.photoguide__list li { counter-increment: pg; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 0 var(--line); position: relative; }
.photoguide__list li::before { content: "0" counter(pg); position: absolute; right: 18px; top: 18px; font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.photoguide__list b { display: block; font-size: 1.1rem; margin: 14px 0 4px; }
.photoguide__list p { color: var(--muted); font-size: .95rem; }
.pg-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--paper); }
.pg-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================
   ANTES / DESPUÉS
   ========================================================== */
.ba { background: #fff; overflow: hidden; }
.ba__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.ba__text .section__title { font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.ba__list { list-style: none; margin: 32px 0 34px; padding: 0; display: grid; gap: 0; counter-reset: ba; }
.ba__list li { counter-increment: ba; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.ba__list li:last-child { border-bottom: 1px solid var(--line); }
.ba__list li::before { content: "0" counter(ba); grid-row: span 2; font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--red); padding-top: 3px; }
.ba__list b { font-size: 1.08rem; }
.ba__list span { color: var(--muted); font-size: .96rem; }

.compare {
  --pos: 50%;
  position: relative; margin: 0; aspect-ratio: 3 / 4; max-height: 82vh; justify-self: center; width: 100%;
  border-radius: 22px; overflow: hidden; background: #111; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  box-shadow: 0 60px 120px -50px rgba(8,17,48,.6);
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,28,.15), transparent 40%); }
.compare__tag {
  position: absolute; top: 18px; z-index: 2; padding: 7px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(5,10,28,.7); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .3s;
}
.compare__tag--before { left: 18px; }
.compare__tag--after { right: 18px; background: var(--red); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 3; pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.4); }
.compare__knob {
  position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.25); transition: transform .3s var(--ease-out);
}
.compare__knob svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.compare.is-dragging .compare__knob { transform: scale(1.12); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.compare__range:focus-visible + .compare__note { outline: none; }
.compare:focus-within .compare__knob { box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 4px var(--red); }
.compare__note {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; text-align: center;
  font-size: .72rem; color: rgba(255,255,255,.85); padding: 7px 10px; border-radius: 10px; background: rgba(5,10,28,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ==========================================================
   TRABAJOS
   ========================================================== */
.works { background: var(--navy-950); color: #fff; }
.works__head { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); }
.filters button { border: 0; background: none; color: rgba(255,255,255,.7); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: background .25s, color .25s; }
.filters button:hover { color: #fff; }
.filters button[aria-selected="true"] { background: #fff; color: var(--ink); }

.gallery { columns: 4 260px; column-gap: 14px; }
.shot { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 14px; overflow: hidden; transform-style: preserve-3d; transition: opacity .5s, transform .6s var(--ease-out), filter .5s; }
.shot.is-hidden { display: none; }
.shot.is-entering { animation: shotIn .7s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes shotIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: #111; position: relative; overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.shot--wide img { aspect-ratio: 4 / 3; }
.shot--tall img { aspect-ratio: 3 / 4.6; }
.shot button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,10,28,.85), transparent 45%); opacity: .75; transition: opacity .4s; }
.shot:hover img { transform: scale(1.06); }
.shot:hover button::after { opacity: 1; }
.shot figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; font-weight: 700; font-size: .95rem; line-height: 1.25; pointer-events: none; transform: translateY(4px); transition: transform .4s var(--ease-out); }
.shot:hover figcaption { transform: none; }
.shot figcaption::before { content: "+"; float: right; width: 28px; height: 28px; margin-left: 10px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 400; line-height: 28px; text-align: center; transform: scale(0) rotate(-90deg); transition: transform .45s var(--ease-out); }
.shot:hover figcaption::before { transform: none; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(5,10,28,.92); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .35s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 12px; box-shadow: 0 40px 100px rgba(0,0,0,.6); animation: zoomIn .5s var(--ease-out); }
@keyframes zoomIn { from { transform: scale(.94); opacity: 0; } }
.lightbox figcaption { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.lightbox__close, .lightbox__nav { position: fixed; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 18px; top: 50%; translate: 0 -50%; }

/* ==========================================================
   OPINIONES
   ========================================================== */
.reviews { background: var(--paper-2); }
.reviews__wrap { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.score__num { font-size: clamp(5rem, 13vw, 10rem); font-weight: 900; font-stretch: 120%; letter-spacing: -.05em; line-height: .85; }
.score__num small { font-size: .28em; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.score__stars { position: relative; display: inline-block; font-size: 1.7rem; letter-spacing: .12em; margin-top: 14px; color: rgba(11,16,32,.15); }
.score__stars::before { content: "★★★★★"; }
.score__stars span { position: absolute; inset: 0; overflow: hidden; width: 0; color: #f5b301; transition: width 1.6s var(--ease-out) .3s; white-space: nowrap; }
.score__stars span::before { content: "★★★★★"; }
.score.is-in .score__stars span { width: calc(var(--v) * 100%); }
.score__meta { color: var(--muted); margin-top: 6px; }
.link-arrow { display: inline-block; margin-top: 18px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.quotes { display: grid; gap: 16px; }
.quote-card { margin: 0; padding: 26px 28px; border-radius: var(--radius); background: #fff; position: relative; box-shadow: 0 1px 0 var(--line); }
.quote-card:nth-child(2) { margin-left: clamp(0px, 6vw, 70px); }
.quote-card:nth-child(3) { margin-left: clamp(0px, 3vw, 35px); }
.quote-card::before { content: "“"; position: absolute; top: -18px; left: 18px; font-size: 5rem; line-height: 1; font-weight: 900; color: var(--red); }
.quote-card p { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.4; }
.quote-card cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }


/* ---------- franja + desplegable de opiniones ---------- */
.link-arrow { background: none; border: 0; padding: 0 0 2px; cursor: pointer; font: inherit; font-weight: 700; color: var(--ink); }
.rv-band {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap;
  padding: 14px 14px 14px 22px; border-radius: 999px;
  background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(11,16,32,.45);
}
.rv-band__score { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-g { width: 24px; height: 24px; flex: none; }
.rv-band__score b { font-size: 1.35rem; font-weight: 900; font-stretch: 115%; letter-spacing: -.02em; }
.rv-band__count { color: var(--muted); font-size: .92rem; }
.rv-stars { position: relative; display: inline-block; font-size: 1.05rem; letter-spacing: .08em; color: rgba(11,16,32,.15); line-height: 1; }
.rv-stars::before { content: "★★★★★"; }
.rv-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--v) * 100%); overflow: hidden; color: #f5b301; white-space: nowrap; }
.rv-band__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost-dark:hover { --bg: var(--ink); --fg: #fff; }
.btn--ghost-dark[aria-expanded="true"] { --bg: var(--ink); --fg: #fff; }
.rv-chevron { transition: transform .45s var(--ease-out); }
[aria-expanded="true"] .rv-chevron { transform: rotate(180deg); }

.rv-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease-out), opacity .5s, margin .7s var(--ease-out); margin-top: 0; }
.rv-panel[hidden] { display: none; }
.rv-panel.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 18px; }
.rv-panel__clip { min-height: 0; overflow: hidden; }
.rv-panel__inner { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.rv-panel__foot { display: flex; justify-content: center; padding-bottom: 4px; }
.rv-panel__foot .btn { margin-top: 22px; }
.rv-panel__foot .btn[hidden] { display: none; }

.rv-summary { position: sticky; top: calc(var(--nav-h) + 20px); background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 0 var(--line); display: grid; gap: 18px; }
.rv-bars { display: grid; gap: 7px; }
.rv-bar { display: grid; grid-template-columns: 28px 1fr 22px; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.rv-bar b { color: var(--ink); font-weight: 700; }
.rv-bar__track { height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.rv-bar__track i { display: block; height: 100%; width: 0; border-radius: 4px; background: #f5b301; transition: width 1.1s var(--ease-out); }
.rv-panel.is-open .rv-bar__track i { width: var(--w); }
.rv-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-filters button { border: 0; padding: 8px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.rv-filters button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.rv-filters button small { opacity: .6; margin-left: 4px; }
.rv-source { font-size: .76rem; color: var(--muted); line-height: 1.45; }

.rv-list { columns: 2 300px; column-gap: 14px; }
.rv-card {
  break-inside: avoid; margin: 0 0 14px; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line);
  animation: rvIn .55s var(--ease-out) both; animation-delay: var(--d, 0ms);
}
@keyframes rvIn { from { opacity: 0; transform: translateY(14px); } }
.rv-card__head { display: flex; align-items: center; gap: 12px; }
.rv-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: 1rem; background: var(--av, var(--blue)); }
.rv-card__who { display: grid; line-height: 1.25; }
.rv-card__who b { font-size: .96rem; }
.rv-card__who small { color: var(--muted); font-size: .78rem; }
.rv-card .rv-stars { margin-left: auto; font-size: .9rem; }
.rv-card p { margin-top: 12px; font-size: .97rem; line-height: 1.55; color: var(--ink-2); white-space: pre-line; }
.rv-card p.rv-empty { color: var(--muted); font-style: italic; font-size: .88rem; }
.rv-trans { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: .9rem; color: var(--muted); }
.rv-trans span { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.rv-card__src { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .74rem; color: var(--muted); }
.rv-card__src svg { width: 13px; height: 13px; }

/* ==========================================================
   CONTACTO
   ========================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: stretch; }
.contact__phone { display: block; margin-top: 34px; text-decoration: none; font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 900; font-stretch: 115%; letter-spacing: -.03em; line-height: 1; transition: color .25s; }
.contact__phone small { display: block; font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact__phone:hover { color: var(--red); }
.contact__addr { font-style: normal; margin-top: 22px; font-size: 1.15rem; color: var(--ink-2); }
.hours { margin-top: 30px; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line); }
.hours__status { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; }
.hours__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours__table th { text-align: left; font-weight: 600; padding: 7px 0; color: var(--ink-2); }
.hours__table td { text-align: right; color: var(--muted); padding: 7px 0; }
.hours__table tr + tr { border-top: 1px dashed var(--line); }
.hours__table tr.is-today th, .hours__table tr.is-today td { color: var(--ink); font-weight: 800; }
.hours__table tr.is-today th::before { content: "●"; color: var(--red); margin-right: 8px; font-size: .7em; vertical-align: 2px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--navy-900); }
.map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transform: scale(1.05); transition: transform 2s var(--ease-out); }
.map.is-in > img { transform: scale(1); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__overlay { position: absolute; inset: 0; display: grid; place-content: end start; gap: 12px; padding: 28px; color: #fff; background: linear-gradient(0deg, rgba(5,10,28,.88), rgba(5,10,28,.1) 60%); }
.map__pin { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; font-stretch: 110%; text-transform: uppercase; }
.map__pin span { width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(227,38,46,.3); animation: pin 2s infinite; }
@keyframes pin { 50% { box-shadow: 0 0 0 12px rgba(227,38,46,0); } }
.map__overlay .btn { justify-self: start; }
.map__note { font-size: .78rem; color: rgba(255,255,255,.6); }

/* ==========================================================
   PIE + DOCK
   ========================================================== */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__logo { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; font-stretch: 120%; font-style: italic; text-transform: uppercase; letter-spacing: -.03em; color: #fff; line-height: 1; margin-bottom: 10px; }
.footer__logo i { color: var(--red); font-style: normal; }
.footer__logo span { font-style: normal; font-weight: 300; font-stretch: 100%; color: rgba(255,255,255,.5); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 40px; }
.footer__cols b { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer__cols a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer__cols a:hover { color: #fff; border-color: var(--red); }
.footer__legal { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .82rem; }

.dock { display: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .card, .card:nth-child(1), .card:nth-child(2) { grid-column: span 6; }
  .photoguide__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .nav__cta .btn, .status-pill { display: none; }
  .process__wrap, .desk__body, .ba__grid, .reviews__wrap, .contact__grid { grid-template-columns: 1fr; }
  .desk__steps { display: none; }
  .compare { max-height: none; }
  .process__head { position: static; }
  .process__photo { display: none; }
  .blueprint__stage { max-width: 300px; }
  .quote-card:nth-child(n) { margin-left: 0; }
  .rv-band { border-radius: 20px; padding: 12px; gap: 10px; }
  .rv-band__score { gap: 8px; padding-left: 4px; }
  .rv-band__score b { font-size: 1.15rem; }
  .rv-band__count { font-size: .8rem; }
  .rv-band__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .rv-band__actions .btn { padding: .7em .6em; font-size: .86rem; }
  .rv-summary { padding: 16px; gap: 14px; }
  .rv-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding-inline: 4px; }
  .rv-filters button { flex: none; }
  .rv-source { display: none; }
  .rv-panel__inner { grid-template-columns: 1fr; }
  .rv-summary { position: static; }
  .map { min-height: 340px; }
  .hero__scroll { display: none; }
  .hero__content { padding-bottom: 110px; }
  .hero__dots { bottom: 26px; }
  .hero__shade { background: linear-gradient(180deg, rgba(5,10,28,.6) 0%, rgba(5,10,28,0) 25%), linear-gradient(0deg, rgba(5,10,28,.97) 0%, rgba(5,10,28,.75) 45%, rgba(5,10,28,.15) 80%); }

  .dock {
    display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; align-items: center;
    position: fixed; z-index: 55; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 8px; border-radius: 22px; background: rgba(8,17,48,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .6s var(--ease-out);
  }
  .dock.is-on { transform: none; }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; color: #fff; text-decoration: none; font-size: .74rem; font-weight: 600; border-radius: 14px; }
  .dock a svg { width: 20px; height: 20px; fill: currentColor; }
  .dock .dock__main { background: var(--red); flex-direction: row; justify-content: center; font-size: .98rem; font-weight: 800; padding: 15px 8px; }
}

@media (max-width: 640px) {
  .card, .card:nth-child(1), .card:nth-child(2) { grid-column: 1 / -1; }
  .card .card__media, .card:nth-child(1) .card__media, .card:nth-child(2) .card__media { aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: 1fr; }
  .photoguide__list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .photoguide__list li { padding: 16px; }
  .gallery { columns: 2; column-gap: 10px; }
  .shot { margin-bottom: 10px; }
  .shot figcaption { font-size: .8rem; left: 10px; right: 10px; bottom: 10px; }
  .shot figcaption::before { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { font-size: .85rem; gap: 6px 16px; }
  .hero__caption { display: none; }
  .steps { padding-left: 56px; }
  .step__n { left: -56px; width: 40px; height: 40px; }
  .steps__line { left: 19px; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters button { flex: none; }
  .tool small { display: none; }
  .tool b { font-size: .78rem; }
  .blueprint, .report__section { padding: 18px; }
  .report__send { padding: 18px; }
  .desk__bar { padding: 14px 18px; }
  .desk__brand { width: 100%; justify-content: space-between; }
  .desk__brand b { font-size: .82rem; margin-right: auto; }
  .blueprint__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .lightbox__nav { top: auto; bottom: 20px; translate: none; }
}
