:root {
  --black: #0a0a0a;
  --ink-2: #111111;
  --ink-3: #181818;
  --ink-4: #242424;
  --red: #cc1414;
  --red-hover: #9e0f0f;
  --red-glow: rgba(204, 20, 20, 0.35);
  --red-text: #e5484d;
  --metal: #c0c0c0;
  --text: #f2f2f2;
  --muted: #aaaaaa;
  --dim: #9a9a9a;
  --hair: rgba(192, 192, 192, 0.14);
  --hair-strong: rgba(192, 192, 192, 0.3);

  --f-display: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
  --dock-h: 0px;
  --section-y: clamp(64px, 8.5vw, 128px);
  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);

  color-scheme: dark;
}

@media (max-width: 899px) {
  :root {
    --header-h: 64px;
    --dock-h: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--black);
}

html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  padding-bottom: var(--dock-h);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg { display: block; }
main:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

::selection { background: var(--red); color: #fff; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-cond);
  font-weight: 700;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip:focus { transform: none; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.red { color: var(--red); }

/* Tipografía */

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 7.5rem);
  line-height: .9;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--metal);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

.big {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  color: var(--text);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
}
.link span { transition: transform .3s var(--ease); }
.link:hover span { transform: translateX(6px); }

/* Botones */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s, border-color .3s, background-color .3s, transform .3s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }

.btn--red { background: var(--red); color: #fff; }
.btn--red::before { background: var(--red-hover); }

.btn--line { border: 1.5px solid var(--hair-strong); color: var(--text); background: rgba(10, 10, 10, .35); }
.btn--line::before { background: var(--text); }
.btn--line:hover { color: var(--black); border-color: var(--text); }

.btn--ghost { color: var(--text); border: 1.5px solid transparent; }
.btn--ghost::before { background: var(--ink-4); }

.btn--sm { min-height: 48px; padding: 0 18px; font-size: 1rem; }
.btn--block { width: 100%; }

/* Estrellas */

.stars { display: inline-flex; gap: 3px; font-size: 14px; line-height: 1; }
.stars i {
  display: block;
  width: 1em;
  height: 1em;
  background: var(--red);
  clip-path: polygon(50% 0, 61.8% 35.4%, 100% 38.2%, 69.1% 61.8%, 80.9% 100%, 50% 76.4%, 19.1% 100%, 30.9% 61.8%, 0 38.2%, 38.2% 35.4%);
}
.stars i.off { background: #3d3d3d; }
.stars--big { font-size: 28px; gap: 6px; }

/* Estado abierto o cerrado */

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--metal);
  white-space: nowrap;
}
.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--dim);
  flex: none;
}
.status.is-open { color: var(--text); }
.status.is-open .status__dot {
  border-color: #2fbf5b;
  background: #2fbf5b;
  box-shadow: 0 0 0 0 rgba(47, 191, 91, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(47, 191, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 91, 0); }
}
.status--chip {
  padding: 8px 14px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: rgba(10, 10, 10, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Cabecera */

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--gutter);
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.top.is-scrolled {
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--hair);
}
.top.is-hidden { transform: translateY(-100%); }

.top__brand { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.top__brand img { width: auto; height: 50px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.6)); }

.top__nav { display: flex; gap: 4px; }
.top__nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--metal);
  transition: color .2s;
}
.top__nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 8px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.top__nav a:hover, .top__nav a.is-current { color: var(--text); }
.top__nav a:hover::after, .top__nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.top__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  transition: background-color .2s;
}
.top__call svg { width: 18px; height: 18px; }
.top__call:hover { background: var(--red-hover); }

.top__menu { display: none; }

@media (max-width: 899px) {
  .top { gap: 8px; }
  .top__brand img { height: 40px; }
  .top__nav, .top__call { display: none; }
  .top__menu {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-right: -8px;
    border-radius: 50%;
  }
  .burger { display: grid; gap: 7px; width: 26px; }
  .burger i { display: block; height: 2px; background: var(--text); transition: transform .35s var(--ease); }
  .burger i:last-child { width: 60%; justify-self: end; }
  .top__menu[aria-expanded="true"] .burger i:first-child { transform: translateY(4.5px) rotate(45deg); }
  .top__menu[aria-expanded="true"] .burger i:last-child { width: 100%; transform: translateY(-4.5px) rotate(-45deg); }
}

/* Menú móvil */

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: calc(var(--header-h) + 16px) var(--gutter) calc(24px + var(--dock-h));
  background: var(--black);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 56px;
  padding: 6px 0;
  border-bottom: 1px solid var(--hair);
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 11vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.menu nav a span { font-family: var(--f-cond); font-size: .9375rem; font-weight: 600; color: var(--red-text); }
.menu__foot p { margin-top: 16px; color: var(--muted); font-size: .9375rem; }
html.motion .menu:not([hidden]) nav a { animation: rise-in .6s var(--ease) both; }
html.motion .menu nav a:nth-child(2) { animation-delay: .04s; }
html.motion .menu nav a:nth-child(3) { animation-delay: .08s; }
html.motion .menu nav a:nth-child(4) { animation-delay: .12s; }
html.motion .menu nav a:nth-child(5) { animation-delay: .16s; }
html.motion .menu nav a:nth-child(6) { animation-delay: .2s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } }

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 20px) var(--gutter) clamp(20px, 4.5vh, 48px);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #151515;
}
.hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: 50% 40%;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(90% 80% at 85% 35%, rgba(204, 20, 20, .38), rgba(204, 20, 20, 0) 60%);
  mix-blend-mode: color;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.72) 38%, rgba(10,10,10,.25) 70%, rgba(10,10,10,.35) 100%),
    linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,.55) 26%, rgba(10,10,10,0) 50%),
    linear-gradient(180deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,0) 22%);
}

.shutter { display: none; }

.hero__body { position: relative; }

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: clamp(16px, 3vh, 32px);
}
.hero__place {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--metal);
}

.hero__title {
  --hero-fs: min(calc((100vw - 2 * var(--gutter)) / 4.95), 26svh);
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .84;
  letter-spacing: 1px;
  font-size: var(--hero-fs);
}
.hero__pre {
  display: block;
  overflow: hidden;
  margin-bottom: .1em;
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--text);
}
.hero__pre > span { display: block; }
.hero__pre em { font-style: normal; color: var(--red); }
.ln { display: block; overflow: hidden; padding-top: .05em; margin-top: -.05em; white-space: nowrap; }
.ln > span { display: block; }
.ln--red { color: var(--red); text-shadow: 0 0 80px rgba(204, 20, 20, .3); }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px 40px;
  margin-top: clamp(18px, 3.5vh, 40px);
  padding-top: clamp(16px, 2.6vh, 28px);
  border-top: 1px solid var(--hair-strong);
}
.hero__lead { max-width: 30em; font-size: 1.125rem; line-height: 1.5; color: #e2e2e2; }
.hero__cta { display: flex; gap: 12px; }

.rating {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding-right: 8px;
}
.rating__num { font-family: var(--f-display); font-size: 3.25rem; line-height: .9; }
.rating__txt { display: grid; gap: 4px; font-family: var(--f-cond); font-weight: 600; font-size: .9375rem; letter-spacing: .06em; text-transform: uppercase; color: var(--metal); }
.rating:hover .rating__txt > span:last-child { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.hero__down {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 88px;
}
.hero__down span {
  position: relative;
  width: 2px;
  height: 64px;
  background: var(--hair-strong);
  overflow: hidden;
}
.hero__down span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(-100%);
}
.hero__pause {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--header-h) + 16px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair-strong);
  border-radius: 50%;
  background: rgba(10, 10, 10, .55);
  color: var(--text);
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.hero__pause:hover { border-color: var(--text); background: rgba(10, 10, 10, .85); }
.hero__pause svg { width: 16px; height: 16px; fill: currentColor; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: inline; }
html.motion.still .ticker__track { animation-play-state: paused; }
html.motion .hero__down span::after { animation: drip 2.2s var(--ease-io) infinite 2s; }
@keyframes drip { 50% { transform: none; } 100% { transform: translateY(100%); } }

@media (max-width: 1100px) {
  .hero__foot { grid-template-columns: 1fr auto; }
  .hero__lead { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .hero {
    min-height: calc(100svh - var(--dock-h));
    padding-bottom: 20px;
  }
  .hero__media::after {
    background:
      linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,.8) 45%, rgba(10,10,10,.35) 75%, rgba(10,10,10,.6) 100%);
  }
  .hero__title { --hero-fs: min(calc((100vw - 2 * var(--gutter)) / 4.95), 10svh); }
  .hero__pre { font-size: clamp(1.625rem, 8vw, 2.25rem); }
  .hero__kicker { margin-bottom: 28px; }
  .hero__place, .hero__lead { display: none; }
  .hero__foot { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; border-top: 0; padding-top: 0; }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__cta .btn { padding: 0 12px; }
  .rating { order: 1; min-height: 44px; gap: 10px; }
  .rating__num { font-size: 1.75rem; }
  .rating__txt { display: flex; align-items: center; gap: 10px; }
  .hero__down { display: none; }
}
@media (max-width: 480px) {
  .hide-s { display: none; }
}

/* Entrada: la persiana del taller sube y el titular aparece línea a línea */

html.motion .shutter {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    linear-gradient(0deg, var(--red) 0 6px, transparent 6px),
    repeating-linear-gradient(180deg, #1d1d1d 0 20px, #2a2a2a 20px 22px, #0c0c0c 22px 26px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  animation: shutter-up 1.05s var(--ease-io) .1s forwards;
  pointer-events: none;
}
@keyframes shutter-up { to { transform: translateY(-102%); } }
html.motion .hero__media video { animation: settle 2.2s var(--ease) .1s both; }
@keyframes settle { from { transform: scale(1.18); } }

html.motion .hero__pre > span,
html.motion .ln > span { animation: line-up 1.1s var(--ease) both; }
html.motion .hero__pre > span { animation-delay: .75s; }
html.motion .ln:nth-child(2) > span { animation-delay: .84s; }
html.motion .ln:nth-child(3) > span { animation-delay: .94s; }
@keyframes line-up { from { transform: translateY(108%); } }

html.motion .hero__kicker,
html.motion .hero__foot > * { animation: fade-up .9s var(--ease) both; }
html.motion .hero__kicker { animation-delay: .7s; }
html.motion .hero__foot > :nth-child(1) { animation-delay: 1.15s; }
html.motion .hero__foot > :nth-child(2) { animation-delay: 1.22s; }
html.motion .hero__foot > :nth-child(3) { animation-delay: 1.29s; }
html.motion .hero__foot { animation: rule-in 1.2s var(--ease) 1s both; }
html.motion .top { animation: fade-in .8s ease .9s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rule-in { from { border-top-color: transparent; } }

html.motion.seen .shutter { display: none; }
html.motion.seen .hero__media video { animation-duration: 1.4s; animation-delay: 0s; }
html.motion.seen .hero__pre > span,
html.motion.seen .ln > span,
html.motion.seen .hero__kicker,
html.motion.seen .hero__foot > *,
html.motion.seen .top { animation-delay: .05s; }

/* Cinta de servicios */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--hair);
  background: var(--red);
  color: #fff;
}
.ticker__track { display: flex; width: max-content; }
.ticker__row { display: flex; align-items: center; flex: none; }
.ticker span {
  padding: 14px 24px;
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker b {
  width: 12px;
  height: 12px;
  flex: none;
  background: #fff;
  clip-path: polygon(50% 0, 61.8% 35.4%, 100% 38.2%, 69.1% 61.8%, 80.9% 100%, 50% 76.4%, 19.1% 100%, 30.9% 61.8%, 0 38.2%, 38.2% 35.4%);
}
html.motion .ticker__track { animation: ticker 38s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Secciones */

.section {
  position: relative;
  padding: var(--section-y) var(--gutter);
}

.head { max-width: 1400px; margin-bottom: clamp(36px, 5vw, 72px); }
.head__lead { max-width: 34em; margin-top: 20px; color: var(--muted); font-size: 1.125rem; }
.head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
  max-width: none;
}
.head--split .head__lead { margin-top: 0; }
@media (max-width: 899px) {
  .head--split { grid-template-columns: 1fr; }
}

/* Revelado al entrar en pantalla */

html.rv-ready.motion .rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
html.rv-ready.motion .rv.is-in { opacity: 1; transform: none; }

/* Servicios */

.services { background: var(--black); }
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}

.svc { border-bottom: 1px solid var(--hair); }
.svc:first-child { border-top: 1px solid var(--hair); }
.svc__btn {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) 44px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 10px 0;
  text-align: left;
}
.svc__n { font-family: var(--f-cond); font-weight: 600; font-size: 1rem; color: var(--dim); transition: color .3s; }
.svc__name {
  font-family: var(--f-display);
  font-size: clamp(1.875rem, 3.3vw, 3.25rem);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8f8f8f;
  transition: color .3s, transform .5s var(--ease);
}
.svc__plus {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair-strong);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s, transform .5s var(--ease);
}
.svc__plus::before,
.svc__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  margin: -1px 0 0 -7px;
  background: currentColor;
}
.svc__plus::after { transform: rotate(90deg); transition: transform .4s var(--ease); }

.svc__btn:hover .svc__name { color: var(--text); transform: translateX(10px); }
.svc.is-active .svc__name { color: var(--text); }
.svc.is-active .svc__n { color: var(--red-text); }
.svc.is-active .svc__plus { background: var(--red); border-color: var(--red); }
.svc.is-active .svc__plus::after { transform: rotate(0deg); }

.svc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.svc.is-active .svc__panel { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; padding-left: 3.2rem; }
.svc__inner p { max-width: 34em; padding-bottom: 20px; color: var(--muted); }
.svc__img { display: none; }

.viewer { position: sticky; top: calc(var(--header-h) + 24px); }
.viewer__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - var(--header-h) - 200px);
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-3);
}
.viewer__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viewer__frame img.is-entering { animation: wipe .8s var(--ease-io) both; }
@keyframes wipe {
  from { clip-path: inset(100% 0 0 0); transform: scale(1.15); }
  to { clip-path: inset(0 0 0 0); transform: scale(1); }
}
.viewer__n {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, .75);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--metal);
}
.viewer__n b { color: var(--text); }
.viewer .link { margin-top: 18px; }

@media (max-width: 899px) {
  .services__grid { grid-template-columns: 1fr; }
  .viewer { display: none; }
  .svc__btn { grid-template-columns: 2.4rem minmax(0, 1fr) 44px; min-height: 68px; }
  .svc__inner { padding-left: 0; }
  .svc__inner p { padding-bottom: 14px; }
  .svc__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: var(--radius);
  }
  .svc__btn:hover .svc__name { transform: none; }
}

/* Cómo trabajamos */

.method { background: var(--ink-2); overflow-x: clip; }

.order {
  position: relative;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--ink-3), var(--ink-3)) padding-box;
  padding: clamp(20px, 3vw, 40px);
}
.order__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--hair-strong);
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--metal);
}
.order__rail {
  position: relative;
  height: 2px;
  margin: 32px 0 0;
  background: var(--hair-strong);
}
.order__rail span {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(var(--p, 1));
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.step { position: relative; padding-top: 28px; }
.step__n {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(4rem, 6vw, 6rem);
  line-height: .9;
  color: var(--red);
  transition: color .5s;
}
.step__check {
  position: absolute;
  top: -9px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--ink-3);
  box-shadow: 0 0 0 1px var(--red);
  transition: background-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.step h3 {
  margin: 14px 0 10px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.step p { color: var(--muted); }
.step.is-pending .step__n { color: #6e6e6e; }
.step.is-pending .step__check { background: var(--ink-3); box-shadow: 0 0 0 1px var(--hair-strong); transform: scale(.8); }

.stamp {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  top: -34px;
  padding: 10px 18px 8px;
  border: 3px solid var(--red);
  border-radius: 6px;
  background: var(--ink-2);
  color: var(--red);
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  transform: rotate(-7deg);
  box-shadow: inset 0 0 0 2px var(--ink-2), inset 0 0 0 3px rgba(204, 20, 20, .5);
}
html.rv-ready.motion .order .stamp { opacity: 0; transform: rotate(-16deg) scale(1.8); transition: opacity .25s ease .5s, transform .5s cubic-bezier(.3, 1.6, .5, 1) .5s; }
html.rv-ready.motion .order.is-in .stamp { opacity: 1; transform: rotate(-7deg); }

@media (max-width: 899px) {
  .order__top { padding-right: 150px; }
  .order__rail { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
  .step {
    display: grid;
    grid-template-columns: 4.2rem 1fr;
    column-gap: 12px;
    padding: 22px 0 22px 0;
    border-bottom: 1px solid var(--hair);
  }
  .step:last-child { border-bottom: 0; padding-bottom: 4px; }
  .step__n { grid-row: span 2; font-size: 3.75rem; }
  .step__check { top: 26px; left: auto; right: 0; }
  .step h3 { margin: 4px 0 6px; padding-right: 28px; }
  .stamp { top: -26px; right: 12px; font-size: 1.375rem; padding: 8px 12px 6px; }
}

/* El taller */

.crew { background: var(--black); }
.crew__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: center;
}
.crew__img {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
}
.crew__img img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.crew__photo figcaption {
  margin-top: 12px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}
html.rv-ready.motion [data-clip] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-io); }
html.rv-ready.motion [data-clip].is-in { clip-path: inset(0 0 0 0); }

.crew__text .display { margin-bottom: 24px; }
.crew__text .big { margin-bottom: 16px; }
.crew__text > p:not(.big):not(.eyebrow) { color: var(--muted); max-width: 32em; }

.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.values li {
  padding: 8px 16px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dash {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--hair-strong);
}
.gauge-fig {
  display: grid;
  gap: 8px;
  padding: 28px 24px 0 0;
}
.gauge-fig + .gauge-fig { padding-left: 24px; border-left: 1px solid var(--hair); }
.gauge-fig__num {
  display: flex;
  align-items: baseline;
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 1;
  letter-spacing: 1px;
}
.gauge-fig__num small { font-size: .32em; color: var(--dim); margin-left: .12em; }
.gauge-fig__num .plus { color: var(--red); }
.gauge-fig__label {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--metal);
}

@media (max-width: 899px) {
  .crew__grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr 1fr; }
  .gauge-fig { padding: 22px 12px 22px 0; }
  .gauge-fig + .gauge-fig { padding-left: 16px; }
  .gauge-fig:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); }
  .gauge-fig__num { font-size: clamp(3.75rem, 17vw, 5rem); }
}

/* Cuentakilómetros */

.odo { display: inline-flex; }
.odo__d {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  line-height: 1;
}
.odo__s {
  display: block;
  transition: transform .9s cubic-bezier(.25, .9, .25, 1);
  transition-delay: calc(var(--od, 0s) / 2);
}
.odo__s > span { display: block; height: 1em; }
.odo__d, .odo__c { user-select: none; }
.odo__c { display: inline-block; line-height: 1; }

/* Lo que no hacemos */

.honest {
  background: var(--ink-2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: 24px clamp(32px, 5vw, 80px);
  align-items: end;
  overflow: hidden;
}
.honest .eyebrow { grid-column: 1 / -1; }
.honest__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(5rem, 15vw, 15rem);
  line-height: .82;
  text-transform: uppercase;
  color: #6a6a6a;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .18em;
}
.struck { position: relative; display: inline-block; }
.struck::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 44%;
  height: .1em;
  background: var(--red);
  transform: rotate(-3deg);
  transform-origin: left center;
  box-shadow: 0 0 30px var(--red-glow);
}
html.rv-ready.motion .struck::after { transform: rotate(-3deg) scaleX(0); transition: transform .8s var(--ease-io); }
html.rv-ready.motion .struck.is-in::after { transform: rotate(-3deg) scaleX(1); }
html.rv-ready.motion .struck + .honest__amp + .struck::after { transition-delay: .35s; }
.honest__amp { color: var(--red); font-size: .6em; }
.honest__body .big { margin-bottom: 12px; }
.honest__body p:not(.big) { color: var(--muted); }

@media (max-width: 899px) {
  .honest { grid-template-columns: 1fr; }
  .honest__title { font-size: clamp(4.5rem, 24vw, 8rem); }
}

/* Galería */

.gallery { background: var(--black); }

.wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  overflow: clip;
}
.wall__col {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 24px);
  padding-block: 56px;
  will-change: transform;
}
.wall__col[data-speed="1"] { padding-top: 120px; padding-bottom: 0; }
.wall__col[data-speed="-1"] { padding-top: 0; padding-bottom: 120px; }

.shot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-3);
  text-align: left;
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1s var(--ease), filter .6s;
  filter: saturate(.9);
}
.shot--tall img { aspect-ratio: 4 / 5; }
.shot > span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 16px 14px;
  background: linear-gradient(0deg, rgba(10,10,10,.9), rgba(10,10,10,0));
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.shot:hover img { transform: scale(1.06); filter: saturate(1.1); }
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .3s;
}
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }

@media (max-width: 899px) {
  .wall { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 10px; }
  .wall__col { display: contents; }
  .shot--tall, .shot[data-shot="0"] { grid-column: 1 / -1; }
  .shot--tall img, .shot[data-shot="0"] img { aspect-ratio: 16 / 10; }
  .shot > span { padding: 28px 10px 8px; font-size: .9375rem; }
}

.tag-cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 80;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) scale(.6);
  transition: opacity .2s, scale .3s var(--ease);
}
.tag-cursor.is-on { opacity: 1; }

/* Visor de fotos */

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 8, 8, .96);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.lightbox[open] { display: grid; place-items: center; }
html.motion .lightbox[open] { animation: fade-in .3s ease; }
.lightbox figure { display: grid; gap: 14px; padding: 72px var(--gutter) 96px; max-width: 1200px; }
.lightbox img { max-height: calc(100dvh - 200px); width: auto; margin: 0 auto; border-radius: var(--radius); object-fit: contain; }
.lightbox figcaption { display: flex; gap: 16px; justify-content: center; font-family: var(--f-cond); font-weight: 600; font-size: 1.0625rem; letter-spacing: .06em; text-transform: uppercase; }
.lightbox figcaption span:first-child { color: var(--red-text); }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--hair-strong);
  border-radius: 50%;
  background: rgba(10, 10, 10, .7);
  font-size: 1.75rem;
  line-height: 1;
  transition: background-color .2s, border-color .2s;
}
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn--close { top: 16px; right: 16px; }
.lb-btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 899px) {
  .lb-btn--prev, .lb-btn--next { top: auto; bottom: 20px; transform: none; }
  .lb-btn--prev { left: calc(50% - 68px); }
  .lb-btn--next { right: calc(50% - 68px); }
}

/* Reseñas */

.reviews {
  background: var(--ink-2);
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: start;
}
.reviews__score { position: sticky; top: calc(var(--header-h) + 24px); }
.reviews__body { min-width: 0; }
.reviews__num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(8rem, 16vw, 15rem);
  line-height: .85;
}
.reviews__score .stars { margin: 12px 0 16px; }
.reviews__meta {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--metal);
}
.reviews__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.rev-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  height: min(78vh, 720px);
  -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent);
}
.rev-col { min-height: 0; overflow: hidden; }
.rev-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html.motion .rev-track { animation: rev-y calc(var(--n) * 6s) linear infinite; }
html.motion .rev-col--rev .rev-track { animation-direction: reverse; }
html.motion .rev-wall:hover .rev-track,
html.motion .rev-wall:focus-within .rev-track,
html.motion.still .rev-track { animation-play-state: paused; }
html:not(.motion) .rev-col { overflow-y: auto; }
html:not(.motion) .rev[aria-hidden="true"] { display: none; }
@keyframes rev-y { to { transform: translateY(calc(-50% - 8px)); } }
@keyframes rev-x { to { transform: translateX(calc(-50% - 6px)); } }
.rev {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--ink-3);
  transition: border-color .3s, transform .5s var(--ease);
}
.rev:hover { border-color: var(--hair-strong); }
.rev blockquote { flex: 1; }
.rev blockquote p { color: #d6d6d6; }
.rev blockquote p::before { content: "«"; }
.rev blockquote p::after { content: "»"; }
.rev__more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-family: var(--f-cond); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .9375rem; color: var(--text); border-bottom: 1px solid var(--red); }
.rev__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--hair); }
.rev__who b { display: block; font-weight: 600; }
.rev__who b a { text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 3px; }
.rev__who span span { display: block; font-size: .9375rem; color: var(--dim); }
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--ink-4);
  font-family: var(--f-cond);
  font-weight: 700;
  color: var(--metal);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.reviews__attr { margin-top: 16px; font-size: .9375rem; color: var(--dim); }

@media (max-width: 899px) {
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .reviews__score { position: static; }
  .reviews__num { font-size: clamp(7rem, 40vw, 10rem); }
  .reviews__body { margin-inline: calc(var(--gutter) * -1); }
  .rev-wall {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    height: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
  .rev-track { flex-direction: row; width: max-content; gap: 12px; }
  .rev { flex: none; width: min(78vw, 320px); }
  .rev { gap: 14px; padding: 20px; }
  .rev blockquote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; font-size: 1rem; line-height: 1.5; }
  html.motion .rev-track { animation-name: rev-x; }
  html:not(.motion) .rev-col { overflow: auto hidden; padding-inline: var(--gutter); }
  .reviews__attr { padding-inline: var(--gutter); }
}

/* Contacto */

.contact { background: var(--black); }
.contact__head { margin-bottom: clamp(32px, 5vw, 64px); }
.contact__title { font-size: clamp(3.25rem, 8.4vw, 8.5rem); }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px clamp(32px, 6vw, 96px);
  align-items: start;
}
.bigphone {
  display: inline-block;
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: .95;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--red) 50%, var(--text) 50%) 100% 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position .6s var(--ease);
}
.bigphone:hover { background-position: 0 0; }
.contact__note { max-width: 32em; margin: 16px 0 28px; color: var(--muted); }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 40px;
}
.data div { padding: 16px 0; border-top: 1px solid var(--hair); }
.data dt {
  margin-bottom: 4px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.data dd a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; font-size: 1.125rem; transition: color .2s; overflow-wrap: anywhere; }
.data dd a:hover { color: var(--red); }

.hours {
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--ink-3);
}
.hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hours h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.25rem; line-height: 1; letter-spacing: 1px; text-transform: uppercase; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--hair); font-size: 1rem; }
.hours th { text-align: left; font-weight: 600; }
.hours td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr.is-closed td, .hours tr.is-closed th { color: var(--dim); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--text); }
.hours tr.is-today th { position: relative; padding-left: 16px; }
.hours tr.is-today th::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--red);
}
.hours tr.is-today th::after { content: " · hoy"; color: var(--red); font-weight: 600; }

.map {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  aspect-ratio: 21 / 8;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-3);
  isolation: isolate;
}
.map__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: brightness(.55);
  z-index: -1;
}
.map__facade--plano { filter: none; object-position: 50% 50%; }
.map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 8px var(--red-glow), 0 0 0 18px rgba(204, 20, 20, .15);
}
.map__osm { grid-column: 1 / -1; font-size: .75rem; color: var(--dim); }
.map__osm a { color: inherit; text-decoration: underline; }
.map__frame { position: absolute; inset: 0; }
.map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  filter: grayscale(.85) contrast(1.05);
  transition: opacity .8s ease;
}
.map__frame iframe.is-loaded { opacity: 1; }
.map__load {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  gap: 4px;
  justify-items: start;
  max-width: 280px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid var(--hair-strong);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, .85);
  color: var(--text);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.map__load:hover { border-color: var(--text); background: rgba(10, 10, 10, .95); }
.map__load small { font-family: var(--f-body); font-weight: 400; font-size: .8125rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.map__load a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.map__card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  gap: 8px;
  justify-items: start;
  max-width: 320px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(10, 10, 10, .92);
  border: 1px solid var(--hair-strong);
}
.map__label { font-family: var(--f-cond); font-weight: 600; font-size: .9375rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.map__addr { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }

@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__btns .btn { flex: 1 1 100%; }
  .data { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 5; min-height: 0; }
  .map__card { left: 10px; right: 10px; bottom: 10px; max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; padding: 14px 16px; }
  .map__label { grid-column: 1 / -1; }
  .map__addr { font-size: 1.25rem; margin-bottom: 0; }
}

/* Pie */

.foot {
  position: relative;
  padding: clamp(48px, 7vw, 96px) var(--gutter) 32px;
  background: var(--ink-2);
  border-top: 1px solid var(--hair);
  overflow: hidden;
}
.foot__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.foot__cta p {
  max-width: 18em;
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: .95;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.foot__word {
  margin: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 40px);
  font-family: var(--f-display);
  font-size: 22.6vw;
  line-height: .78;
  letter-spacing: -.005em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  background: linear-gradient(180deg, #f2f2f2 0%, #9a9a9a 55%, #3a3a3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-inline: calc(var(--gutter) * -0.5);
}
.foot__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.foot__row > p:first-child { max-width: 30em; color: var(--muted); }
.foot__row nav { display: flex; flex-wrap: wrap; gap: 0 20px; justify-content: flex-end; }
.foot__row nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--f-cond);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--metal);
}
.foot__row nav a:hover { color: var(--text); }
.foot__small { grid-column: 1 / -1; font-size: .9375rem; color: var(--dim); }
.foot__small a { text-decoration: underline; text-underline-offset: 3px; }
.foot__small a:hover { color: var(--text); }
.foot__row nav.foot__legal { grid-column: 1 / -1; justify-content: flex-start; }
.foot__row nav.foot__legal a { min-height: 44px; font-size: .875rem; color: var(--dim); }
.foot__row nav.foot__legal a:hover { color: var(--text); }

@media (max-width: 899px) {
  .foot__row { grid-template-columns: 1fr; }
  .foot__row nav { justify-content: flex-start; display: grid; grid-template-columns: 1fr 1fr; }
  .foot__cta .btn { width: 100%; }
}

/* Cuentarrevoluciones: progreso de lectura y volver arriba */

.tacho {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .4s var(--ease), border-color .2s;
}
.tacho.is-on { opacity: 1; visibility: visible; transform: none; }
.tacho svg { width: 100%; height: 100%; }
.tacho__arc, .tacho__fill { fill: none; stroke-width: 3; stroke-linecap: round; }
.tacho__arc { stroke: #333; }
.tacho__fill { stroke: var(--red); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.tacho__ticks path { stroke: var(--dim); stroke-width: 1.5; }
.tacho__needle { stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; }
[data-tacho-needle] { transform-origin: 32px 32px; transform: rotate(calc(-120deg + var(--p, 0) * 240deg)); transform-box: view-box; }
.tacho__hub { fill: var(--red); }
.tacho__up {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  font-size: 1.75rem;
  color: #fff;
  opacity: 0;
  transition: opacity .25s;
}
.tacho:hover .tacho__up, .tacho:focus-visible .tacho__up { opacity: 1; }

@media (max-width: 899px) {
  .tacho { display: none; }
}

/* Barra de contacto en móvil */

.dock { display: none; }
@media (max-width: 899px) {
  .dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 58;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: var(--dock-h);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--black);
    border-top: 1px solid var(--hair);
  }
  .dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--f-cond);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .dock svg { width: 20px; height: 20px; }
  .dock { transition: transform .45s var(--ease); }
  html.js .dock.is-away { transform: translateY(100%); }
  .dock__call { background: var(--red); color: #fff; }
  .dock__wa { background: var(--ink-3); }
}

/* Páginas legales */

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--hair);
}
.legal-top img { display: block; width: auto; height: 48px; }
.legal-top a:not(:first-child) { font-family: var(--f-cond); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--metal); min-height: 44px; display: inline-flex; align-items: center; }
.legal-top a:not(:first-child):hover { color: var(--text); }
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 112px);
}
.legal h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.75rem, 8vw, 4.5rem); line-height: .95; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 12px; }
.legal h2 { font-family: var(--f-cond); font-weight: 700; font-size: 1.375rem; letter-spacing: .04em; text-transform: uppercase; margin: 44px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal p { margin: 0 0 14px; }
.legal ul { list-style: disc; margin: 0 0 14px; padding-left: 1.2em; }
.legal li::marker { color: var(--red); }
.legal li + li { margin-top: 6px; }
.legal__date { font-size: .9375rem; color: var(--dim); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); }
.legal th { font-family: var(--f-cond); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.legal td { color: var(--muted); }
.legal-foot { padding: 24px var(--gutter) 32px; border-top: 1px solid var(--hair); font-size: .9375rem; color: var(--dim); }
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-bottom: 8px; }
.legal-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--metal); }
.legal-foot a:hover, .legal-foot a[aria-current] { color: var(--text); }

@media (max-width: 599px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal thead { display: none; }
  .legal tr { padding: 10px 0; border-bottom: 1px solid var(--hair); }
  .legal td { border: 0; padding: 2px 0; }
  .legal td:first-child { color: var(--text); font-weight: 600; }
}

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

@media (prefers-contrast: more) {
  :root { --muted: #d0d0d0; --dim: #bdbdbd; --hair: rgba(192,192,192,.4); --hair-strong: rgba(192,192,192,.7); }
  .grain { display: none; }
}
