/* ==========================================================
   DC Barber Studio — "La Drop"
   Cada corte se lanza como una drop. Reservar es pillar tu hueco.
   Mobile first.
   ========================================================== */

/* Archivo variable (ancho 62–125), alojada en la propia web */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #000;
  --ink: #f1efe9;
  --mute: #8e8e8e;
  --line: #262626;
  --line-2: #3a3a3a;
  --tag: #d9d4c7;
  --tag-ink: #000;
  --open: #8fd49a;

  --gutter: 16px;
  --max: 1280px;
  --bar-h: 56px;
  --buybar-h: 72px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

@media (min-width: 900px) {
  :root { --gutter: 40px; --bar-h: 68px; --buybar-h: 0px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar-h);
  scrollbar-color: var(--line-2) var(--ground);
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--buybar-h);
  overflow-x: clip;
  caret-color: var(--ink);
}
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, blockquote, figure { margin: 0; }
ol, ul { list-style: none; padding: 0; }
address { font-style: normal; }
a, button { touch-action: manipulation; }
button, .btn, .buy, .buybar a, .lang { -webkit-user-select: none; user-select: none; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--lg { width: 30px; height: 30px; stroke-width: 1.4; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--ground); }

/* Iconos SVG reutilizables (no se ven) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--ground);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* Permite saltos de línea (\n) escritos en js/textos.js */
[data-t] { white-space: pre-line; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
.h2 {
  font-size: clamp(2.25rem, 10vw, 4.5rem);
  line-height: 0.95;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 14ch;
}
.lede { margin-top: 18px; color: var(--mute); max-width: 46ch; }
.note { margin-top: 16px; color: var(--mute); font-size: 0.9rem; }

/* Etiqueta colgante: el material de la marca */
.tag {
  position: relative;
  display: inline-flex; align-items: center;
  background: var(--tag); color: var(--tag-ink);
  font-weight: 700; font-variation-settings: "wdth" 75;
  font-size: 0.875rem; line-height: 1;
  padding: 7px 10px 7px 22px;
  font-variant-numeric: tabular-nums;
}
.tag::before {
  content: ""; position: absolute; left: 8px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--ground);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  background: var(--ink); color: var(--ground);
  border: 1px solid var(--ink);
  font-weight: 700; font-variation-settings: "wdth" 112; font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; padding-block: 10px;
  text-decoration: underline; text-decoration-color: var(--line-2);
  text-underline-offset: 6px; text-decoration-thickness: 1px;
  transition: text-decoration-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #fff; border-color: #fff; }
  .btn--ghost:hover { background: transparent; border-color: var(--ink); }
  .link:hover { text-decoration-color: var(--ink); }
}

/* ---------- Barra superior ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  height: var(--bar-h);
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.bar__inner {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.bar__logo { width: 64px; flex: none; }
.bar__nav { display: none; }
.bar__end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
/* Botón de reservar (Yeasy) a la izquierda de Llamar, siempre visible */
.bar__book { min-height: 40px; padding: 0 12px; font-size: 0.875rem; }
.bar__book-full { display: none; }
@media (min-width: 600px) {
  .bar__book-full { display: inline; }
  .bar__book-short { display: none; }
}
/* Móviles estrechos: «Llamar» se queda solo con el icono para que quepan los dos botones */
@media (max-width: 400px) {
  .bar__inner { gap: 12px; }
  .lang button { min-width: 34px; }
  .bar__call { width: 40px; padding: 0; justify-content: center; }
  .bar__call span { display: none; }
}
@media (max-width: 340px) {
  .bar__inner { gap: 8px; }
  .bar__logo { width: 56px; }
  .btn { white-space: normal; text-align: center; padding-block: 10px; }
  .buybar { gap: 6px; }
  .buybar__book { padding: 0 14px; }
}

.lang { display: flex; font-size: 0.8125rem; font-weight: 700; font-variation-settings: "wdth" 112; }
.lang button { min-width: 40px; min-height: 40px; color: var(--mute); transition: color 200ms ease; }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

.bar__call {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px; margin-right: -4px;
  border: 1px solid var(--line-2);
  font-size: 0.875rem; font-weight: 700; font-variation-settings: "wdth" 112;
  transition: transform 160ms var(--ease-out), border-color 200ms ease;
}
.bar__call:active { transform: scale(0.97); }
.bar__call .ico { width: 1em; height: 1em; }

@media (min-width: 900px) {
  .bar__logo { width: 76px; }
  .bar__book { padding: 0 16px; }
  .bar__end { gap: 12px; }
}
@media (min-width: 1100px) {
  .bar__nav { display: flex; gap: 24px; font-size: 0.875rem; font-weight: 600; color: var(--mute); }
  .bar__nav a { padding-block: 8px; transition: color 200ms ease; }
  .bar__nav a.is-active { color: var(--ink); }
}
@media (hover: hover) and (pointer: fine) {
  .bar__nav a:hover, .lang button:hover { color: var(--ink); }
  .bar__call:hover { border-color: var(--ink); }
}

/* ---------- 1. Portada: el local a sangre, el nombre como cartel ---------- */
.drop { position: relative; isolation: isolate; padding: 0 0 8px; }

/* Foto del local: a sangre, oscurecida y fundida con el negro de la página */
.drop__shot { position: relative; margin: 0; height: 54svh; min-height: 300px; overflow: hidden; background: #0c0c0c; }
.drop__shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 44% 45%;
  filter: grayscale(0.25) contrast(1.06) brightness(0.82);
}
.drop__shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0) 22%),
    linear-gradient(to top, #000 0%, rgb(0 0 0 / 0.82) 14%, rgb(0 0 0 / 0.35) 38%, rgb(0 0 0 / 0) 62%);
}
.tag--corner { position: absolute; left: var(--gutter); top: 16px; z-index: 2; }

/* Nombre en grande, montado sobre el borde inferior de la foto */
.drop__title { position: relative; z-index: 2; padding-inline: var(--gutter); margin-top: -0.92em; font-size: clamp(2.6rem, 12.4vw, 4rem); }
.drop__title { container-type: inline-size; }
.drop__name {
  /* El tamaño nunca supera el hueco del título: «DC Barber» mide ~6em, así que 15cqi deja margen */
  font-size: min(1em, 15cqi);
  line-height: 0.88;
  font-weight: 800; font-variation-settings: "wdth" 125;
  letter-spacing: -0.045em;
}
.drop__name .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.drop__name .line > span { display: block; }
.drop__meta { margin-top: 14px; font-size: 1rem; color: #c4c2bd; max-width: 40ch; }
.drop__panel { position: relative; z-index: 2; padding-inline: var(--gutter); }

/* Selector de servicio como selector de talla.
   La copia activa (.picker__ink) se recorta sobre el chip elegido. */
.picker {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.35fr 1fr;
  margin-top: 22px;
  border: 1px solid var(--line-2);
}
.picker > button, .picker__ink > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 58px; padding: 8px 6px;
  font-size: 0.875rem; font-weight: 600; font-variation-settings: "wdth" 100;
  line-height: 1.15; text-align: center;
}
.picker > button + button { border-left: 1px solid var(--line-2); }
.picker b { font-weight: 800; font-variation-settings: "wdth" 112; font-size: 1rem; font-variant-numeric: tabular-nums; }
.picker > button { color: var(--mute); }
.picker__ink {
  position: absolute; inset: -1px;
  display: grid; grid-template-columns: 1fr 1.35fr 1fr;
  background: var(--ink); color: var(--ground);
  pointer-events: none;
  clip-path: inset(0 var(--clip-r, 74%) 0 var(--clip-l, 0%));
  transition: clip-path 240ms var(--ease-out);
}
.picker > button:focus-visible { outline-offset: -4px; position: relative; z-index: 1; }

/* Botón de compra */
.buy {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 12px; min-height: 60px; padding: 0 20px;
  background: var(--ink); color: var(--ground);
  font-weight: 800; font-variation-settings: "wdth" 112; font-size: 1.0625rem;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.buy:active { transform: scale(0.98); }
.buy__price, .buybar b { font-variant-numeric: tabular-nums; transition: opacity 160ms ease, filter 160ms ease; }
.is-swapping { opacity: 0.35; filter: blur(2px); }
@media (hover: hover) and (pointer: fine) { .buy:hover { background: #fff; } }

.status { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 0.9375rem; color: var(--mute); }
.status__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--line-2); }
.status.is-open { color: var(--ink); }
.status.is-open .status__dot { background: var(--open); }

@media (min-width: 900px) {
  /* Escritorio: la foto ocupa toda la pantalla; nombre abajo a la izquierda, reserva abajo a la derecha */
  .drop {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    align-items: end; column-gap: 56px;
    min-height: calc(100svh - var(--bar-h));
    padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 56px;
  }
  .drop__shot { position: absolute; inset: 0; z-index: -1; height: auto; }
  .drop__shot img { object-position: 50% 42%; }
  .drop__shot::after {
    background:
      linear-gradient(to bottom, rgb(0 0 0 / 0.6) 0%, rgb(0 0 0 / 0) 18%),
      linear-gradient(to right, rgb(0 0 0 / 0.78) 0%, rgb(0 0 0 / 0.35) 42%, rgb(0 0 0 / 0.15) 62%, rgb(0 0 0 / 0.55) 100%),
      linear-gradient(to top, #000 0%, rgb(0 0 0 / 0.7) 16%, rgb(0 0 0 / 0) 52%);
  }
  .tag--corner { left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); top: 28px; }
  .drop__title { margin-top: 0; padding: 0; font-size: clamp(4.25rem, 7.4vw, 8.75rem); }
  .drop__name .line > span { white-space: nowrap; }
  .drop__meta { font-size: 1.125rem; margin-top: 20px; }
  .drop__panel {
    padding: 20px;
    background: rgb(0 0 0 / 0.55);
    border: 1px solid rgb(241 239 233 / 0.14);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .drop__panel .picker { margin-top: 0; }
}

/* ---------- Secciones ---------- */
.section { padding-top: clamp(96px, 16vw, 176px); }
.section:last-of-type { padding-bottom: clamp(96px, 16vw, 176px); }

/* 2. Servicios */
.menu-list { margin-top: 40px; border-top: 1px solid var(--line-2); }
.item {
  width: 100%;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  padding: 24px 0; text-align: left;
  border-bottom: 1px solid var(--line-2);
}
.item__name { display: block; font-size: 1.5rem; font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -0.02em; line-height: 1.1; }
.item__desc { display: block; margin-top: 6px; color: var(--mute); font-size: 0.975rem; max-width: 38ch; }
.tag--price { font-size: 1.25rem; padding: 10px 14px 10px 28px; font-variation-settings: "wdth" 100; font-weight: 800; }
.tag--price::before { left: 11px; width: 8px; height: 8px; margin-top: -4px; }
.item .tag--price { transition: transform 240ms var(--ease-out); transform-origin: 0 50%; }
.item[aria-pressed="true"] .item__name::after {
  content: ""; display: inline-block; width: 0.45em; height: 0.45em; margin-left: 0.35em;
  background: var(--ink); vertical-align: 0.12em;
}
.item:active .tag--price { transform: rotate(-3deg); }

@media (min-width: 900px) {
  #servicios .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; }
  #servicios .sec-head { grid-column: 1; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--bar-h) + 48px); }
  #servicios .menu-list { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  #servicios .note { grid-column: 2; }
  .item { padding: 32px 0; }
  .item__name { font-size: 2rem; }
}
@media (hover: hover) and (pointer: fine) {
  .item:hover .tag--price { transform: rotate(-3deg); }
  .look:hover img { filter: none; transform: scale(1.03); }
}

/* 3. Quiénes somos: título y filas título / texto */
.story__word {
  /* Mismo tamaño que el resto de títulos de sección (.h2) */
  font-size: clamp(2.25rem, 10vw, 4.5rem);
  line-height: 0.95;
  font-weight: 800; font-variation-settings: "wdth" 125;
  letter-spacing: -0.035em;
  padding-bottom: 40px;
}
.story { border-top: 1px solid var(--line-2); }
.story__row {
  display: grid; gap: 16px;
  padding: clamp(32px, 6vw, 56px) 0;
  border-bottom: 1px solid var(--line-2);
}
.story__title {
  font-size: clamp(1.6rem, 6.4vw, 2.75rem);
  line-height: 1.02;
  font-weight: 800; font-variation-settings: "wdth" 125;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 14ch;
}
.story__body p { max-width: 62ch; color: #c4c2bd; font-size: 1.0625rem; line-height: 1.65; }
.story__link { margin-top: 14px; }
/* Letras resaltadas con **…** en textos.js (la C de Christian y la D de Dugo) */
.mark {
  color: var(--ink);
  font-weight: 800; font-variation-settings: "wdth" 125;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}

@media (min-width: 900px) {
  .story__row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: start; }
  .story__body p { font-size: 1.125rem; }
}

/* 4. Equipo */
.team { margin-top: 40px; border-top: 1px solid var(--line-2); }
.member { padding: 28px 0 32px; border-bottom: 1px solid var(--line-2); display: grid; gap: 10px; justify-items: start; }
.member__name {
  font-size: clamp(4rem, 26vw, 6rem); line-height: 0.82;
  font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.04em;
  margin: 0 0 8px -0.03em;
}
.member__role { color: var(--mute); font-weight: 600; }
.member__bio { max-width: 40ch; color: #c4c2bd; }
.tag--badge { font-size: 0.875rem; }

@media (min-width: 900px) {
  .team { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0; }
  .member { padding: 40px 40px 44px 0; }
  .member + .member { padding-left: 40px; border-left: 1px solid var(--line-2); }
  .member__name { font-size: clamp(5rem, 9vw, 6rem); }
}

/* 5. Lookbook */
.looks {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%;
  gap: 12px; margin-top: 40px; margin-bottom: 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.looks::-webkit-scrollbar { display: none; }
.look { scroll-snap-align: start; transition: opacity 300ms ease; }
.look { position: relative; }
.look img {
  width: 100%; aspect-ratio: 3 / 5; object-fit: cover; background: #0c0c0c;
  /* Mismo tratamiento que la foto de portada: las paredes blancas no deslumbran sobre el negro */
  filter: grayscale(0.3) contrast(1.06) brightness(0.84);
  transition: filter 500ms var(--ease-out), transform 600ms var(--ease-out);
}
.look::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(241 239 233 / 0.08);
  background: linear-gradient(to top, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0) 40%);
}
.looks.has-focus .look:not(.is-focus) { opacity: 0.42; }

@media (min-width: 900px) {
  .looks {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto;
    overflow: visible; max-width: var(--max); margin-inline: auto; gap: 20px;
    align-items: start;
  }
  .look:nth-child(even) { margin-top: 72px; }
  .looks.has-focus .look:not(.is-focus) { opacity: 1; }
  .look { overflow: hidden; }
}

/* 6. Reseñas */
.reviews { margin-top: 40px; border-top: 1px solid var(--line-2); margin-bottom: 28px; }
.review { padding: 26px 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 12px; }
.review blockquote { margin: 0; font-size: 1.125rem; line-height: 1.5; max-width: 60ch; }
.review__who { font-weight: 700; }
.review__who span + span { color: var(--mute); font-weight: 500; }
.stars { display: flex; gap: 3px; color: var(--ink); }
.stars svg { width: 15px; height: 15px; }
.reviews ~ .note { margin: -8px 0 20px; }

@media (min-width: 900px) {
  .reviews { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .review blockquote { font-size: 1.3rem; }
}

/* 7. Ubicación y horario */
.visit { display: grid; gap: 48px; }
.visit__address { margin-top: 28px; font-size: clamp(1.3rem, 5.4vw, 1.75rem); line-height: 1.3; font-weight: 700; font-variation-settings: "wdth" 112; }

.hours { width: 100%; border-collapse: collapse; margin-top: 28px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours tr:first-child > * { border-top: 1px solid var(--line-2); }
.hours th { text-align: left; font-weight: 500; color: var(--mute); }
.hours td { text-align: right; line-height: 1.5; }
.hours .is-closed td { color: var(--mute); }
.hours .is-today > * { color: var(--ink); font-weight: 700; }
.hours .is-today th::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; background: var(--ink); vertical-align: 0.15em; }

.map {
  position: relative; aspect-ratio: 4 / 5;
  border: 1px solid var(--line-2);
  background: linear-gradient(rgb(0 0 0 / 0.74), rgb(0 0 0 / 0.86)), url("../img/local-800.webp") 50% 45% / cover no-repeat, #070707;
  overflow: hidden;
}
.map__idle {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center;
}
.map__addr { font-weight: 700; font-variation-settings: "wdth" 112; }
.map__note { color: var(--mute); font-size: 0.875rem; max-width: 28ch; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.9) contrast(0.92); }

@media (min-width: 900px) {
  .visit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: stretch; }
  .map { aspect-ratio: auto; min-height: 560px; }
}

/* 8. Cierre */
.close { border-top: 1px solid var(--line); margin-top: clamp(96px, 16vw, 176px); }
.close__title {
  font-size: clamp(3rem, 16vw, 6rem); line-height: 0.88;
  font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.04em;
}
.close { position: relative; overflow: hidden; }
.close > .wrap { position: relative; z-index: 1; }
/* Marca de agua: las iniciales DC, enormes y casi invisibles, detrás del cierre */
.close__ghost {
  position: absolute; right: -0.06em; bottom: -0.2em; z-index: 0;
  font-size: clamp(16rem, 62vw, 46rem); line-height: 0.8;
  font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.06em;
  color: var(--ink); opacity: 0.045;
  pointer-events: none; user-select: none; white-space: nowrap;
}
.close__ghost::before { content: "DC"; }
.close__actions { display: grid; gap: 18px; margin-top: 36px; justify-items: start; }
.buy--inline { width: 100%; margin-top: 0; }
.close__phone {
  font-size: clamp(2rem, 10vw, 3.5rem); line-height: 1;
  font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  padding-block: 8px;
}
@media (min-width: 900px) {
  .buy--inline { width: 420px; }
}

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 48px; }
.foot__inner { display: grid; justify-items: center; gap: 20px; text-align: center; }
.foot__logo { width: min(100%, 360px); }
.foot__meta { color: var(--mute); font-size: 0.875rem; }
@media (min-width: 900px) {
  .foot { padding-block: 64px; }
  .foot__logo { width: 440px; }
}

/* ---------- Barra de compra fija (móvil) ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--ground);
  border-top: 1px solid var(--line-2);
  transition: transform 260ms var(--ease-out);
}
/* Con JS, la barra espera a que el botón de la ficha salga de pantalla */
.js .buybar:not(.is-shown) { transform: translateY(100%); transition-duration: 200ms; }
.buybar__what { display: grid; line-height: 1.2; font-size: 0.8125rem; color: var(--mute); }
.buybar__what b { color: var(--ink); font-size: 1.125rem; font-weight: 800; font-variation-settings: "wdth" 112; }
.buybar__book {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 20px;
  background: var(--ink); color: var(--ground);
  font-weight: 800; font-variation-settings: "wdth" 112; font-size: 0.975rem;
  transition: transform 160ms var(--ease-out);
}
.buybar__call {
  display: grid; place-items: center; width: 50px; height: 50px;
  border: 1px solid var(--line-2);
  transition: transform 160ms var(--ease-out);
}
.buybar__book:active, .buybar__call:active { transform: scale(0.97); }
@media (min-width: 900px) { .buybar { display: none; } }

/* ---------- Momento de carga (CSS: va fluido aunque el móvil esté ocupado) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .drop__shot img { animation: settle 1400ms var(--ease-out) both; }
  .drop__name .line > span { animation: rise 820ms var(--ease-out) both; }
  .drop__name .line:nth-child(1) > span { animation-delay: 180ms; }
  .drop__name .line:nth-child(2) > span { animation-delay: 250ms; }
  .drop__meta, .drop__panel, .tag--corner { animation: blur-rise 760ms var(--ease-out) both; }
  .drop__meta { animation-delay: 380ms; }
  .tag--corner { animation-delay: 420ms; }
  .drop__panel { animation-delay: 480ms; }

  @keyframes settle { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes rise { from { transform: translateY(102%); } to { transform: translateY(0); } }
  @keyframes blur-rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

  /* Secciones: aparecen una vez al entrar en pantalla (main.js marca qué elementos) */
  .js [data-reveal] {
    opacity: 0; transform: translate3d(0, 28px, 0);
    transition: opacity 700ms cubic-bezier(0.25, 0.1, 0.25, 1) var(--d, 0ms), transform 700ms cubic-bezier(0.25, 0.1, 0.25, 1) var(--d, 0ms);
  }
  .js [data-reveal="scale"] { transform: scale(0.95); transition-duration: 900ms; }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Textura: grano de película muy suave sobre toda la página ---------- */
.page-grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.45;
  background-size: 200px 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .picker__ink, .buybar, .look, .item .tag--price { transition-property: opacity, clip-path; transition-duration: 120ms; }
  .js .buybar:not(.is-shown) { transform: none; opacity: 0; pointer-events: none; }
  .btn:active, .buy:active, .bar__call:active, .buybar a:active { transform: none; }
  .look:hover img { transform: none; }
}
