/* Oletta Beauty Studio · styles.css */

@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var.woff2") format("woff2-variations"), url("../fonts/jost-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/* Fallbacks ajustados para evitar saltos de maquetación mientras cargan las fuentes */
@font-face { font-family: "Gloock Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Jost Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 93%; ascent-override: 106%; descent-override: 36%; }

:root {
  /* Paleta tomada del propio estudio */
  --wall: #E9E2DC;      /* pared greige rosada */
  --linen: #F6F2EE;     /* textiles y superficies */
  --ink: #1F1C1A;       /* letras del logotipo */
  --ink-soft: #5F5650;  /* texto secundario */
  --wood: #A8743F;      /* madera de las herramientas */
  --wood-soft: #D9BFA0;
  --line: #D5CAC0;
  --night: #241F1B;     /* capítulo rostro */
  --night-ink: #F1EAE3;
  --night-soft: #BDB0A5;
  --led: #D2362B;

  --bg: #FFFFFF;
  --surface: var(--linen);
  --text: var(--ink);
  --muted: var(--ink-soft);

  --f-display: "Cormorant Garamond", "Gloock", "Gloock Fallback", Georgia, serif;
  --f-body: "Jost", "Jost Fallback", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.9vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.8vw, 5.4rem);

  --gutter: clamp(1.25rem, 0.8rem + 2.4vw, 3rem);
  --max: 1240px;
  --radius-s: 6px;
  --radius-l: 22px;
  --header-h: 68px;

  color-scheme: light dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1E1A17;
    --surface: #27221E;
    --text: #F1EAE3;
    --muted: #B7AA9F;
    --line: #3D3530;
    --wood: #D2A26C;
    --wood-soft: #6E5843;
    --night: #141110;
  }
}
:root[data-theme="dark"] {
  --bg: #1E1A17;
  --surface: #27221E;
  --text: #F1EAE3;
  --muted: #B7AA9F;
  --line: #3D3530;
  --wood: #D2A26C;
  --wood-soft: #6E5843;
  --night: #141110;
}

*, *::before, *::after { box-sizing: inherit; }
html { height: 100%; scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  font-weight: 380;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--linen); padding: .6rem 1rem; border-radius: var(--radius-s); }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 1rem); }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font-size: var(--step-0); font-weight: 450; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--small { min-height: 40px; padding: .45rem 1.1rem; font-size: var(--step--1); }
.btn--ink { background: var(--text); color: var(--bg); }
.btn--ink:hover { background: var(--wood); color: #fff; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--light { background: var(--night-ink); color: var(--night); }
.btn--light:hover { background: var(--wood-soft); }
.link { color: var(--text); font-weight: 450; text-decoration: underline; text-decoration-color: var(--wood); text-underline-offset: .35em; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.wordmark__name { font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .06em; }
.wordmark__sub { font-size: .5rem; font-weight: 500; text-transform: uppercase; letter-spacing: .42em; margin-top: .3rem; padding-left: .42em; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner {
  max-width: var(--max); margin: 0 auto; height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 1.8rem; }
.nav__list a { text-decoration: none; font-size: var(--step--1); font-weight: 420; padding: .5rem 0; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.menu-btn { display: none; }

@media (max-width: 899px) {
  .header-cta { margin-left: auto; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .menu-btn__bars, .menu-btn__bars::before { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s ease; }
  .menu-btn__bars::before { content: ""; position: absolute; top: 7px; }
  .menu-btn__bars { transform: translateY(-3.5px); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars { transform: translateY(0) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(-7px) rotate(-90deg); }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; font-family: var(--f-display); font-size: var(--step-2); padding: .55rem 0; }
  .nav__list a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--header-h) + 1.25rem) var(--gutter) 3rem;
  display: grid; align-items: center; gap: 2rem;
  grid-template-columns: 1fr;
}
.hero__title { font-family: var(--f-display); font-weight: 300; font-size: var(--step-4); line-height: 1.04; letter-spacing: -.035em; max-width: 13ch; text-wrap: balance; }
.hero__lead { margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__where { margin-top: 1.75rem; font-size: var(--step--1); color: var(--muted); }

/* El espejo redondo de la cabina como marco del vídeo */
.mirror { position: relative; margin: 0; justify-self: center; width: min(64vw, 520px); order: -1; }
.mirror__glass {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: clamp(5px, .9vw, 8px) solid var(--ink);
  background: var(--surface);
  box-shadow: 0 30px 60px -30px rgba(60, 40, 25, .45);
}
.mirror__video { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .hero { min-height: 100svh; grid-template-columns: 1.1fr .9fr; gap: 4rem; padding-top: calc(var(--header-h) + 3rem); }
  .mirror { width: min(36vw, 520px); justify-self: end; order: 0; }
}

/* Única secuencia de entrada: titular y espejo */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__lead, .hero__actions, .hero__where { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__lead { animation-delay: .12s; }
  .hero__actions { animation-delay: .22s; }
  .hero__where { animation-delay: .3s; }
  .mirror__glass { animation: reveal 1.4s cubic-bezier(.2, .7, .2, 1) .1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(50% at 50% 50%); } }

.video-toggle {
  position: absolute; right: 6%; bottom: 6%;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--linen) 85%, transparent); color: var(--ink);
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.video-toggle::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.video-toggle.is-paused::before { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }

/* ---------- Declaración ---------- */
.statement { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) var(--gutter); }
.statement__text { font-family: var(--f-display); font-weight: 300; font-size: var(--step-3); line-height: 1.18; max-width: 24ch; text-wrap: pretty; }

/* ---------- Capítulos ---------- */
.chapter__kicker { font-size: var(--step-0); color: var(--wood); font-weight: 450; margin-bottom: .6rem; }
.chapter__title, .section-title { font-family: var(--f-display); font-weight: 300; font-size: var(--step-3); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }

.chapter--body {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 9vw, 8rem);
  display: grid; gap: 2.5rem;
}
.chapter__media img { width: 100%; border-radius: var(--radius-l); aspect-ratio: 4 / 5; object-fit: cover; }
.chapter__body > p { margin-top: 1.25rem; max-width: 52ch; color: var(--muted); }
.treatments { margin: 2rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 52ch; }
.treatments > div { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .15rem; }
.treatments dt { font-weight: 500; }
.treatments dd { margin: 0; color: var(--muted); font-size: var(--step--1); }
.credential { display: flex; gap: .85rem; align-items: center; margin: 2rem 0 1.75rem; max-width: 46ch; font-size: var(--step--1); color: var(--muted); }
.credential__seal { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--wood); position: relative; }
.credential__seal::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--wood); opacity: .85; }

@media (min-width: 900px) {
  .chapter--body { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
}

/* Capítulo rostro, en tono noche para que el rojo del LED tenga su momento */
.chapter--face { background: var(--night); color: var(--night-ink); padding: clamp(4rem, 9vw, 8rem) var(--gutter); }
.chapter--face > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.chapter--face .chapter__kicker { color: var(--wood-soft); }
.face__lead { margin-top: 1.25rem; max-width: 50ch; color: var(--night-soft); font-size: var(--step-1); line-height: 1.5; }
.face__grid { display: grid; gap: 2.5rem; margin-top: 3rem; }
.face__video { position: relative; margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 9 / 14; max-height: 82svh; background: #000; box-shadow: 0 40px 80px -40px rgba(210, 54, 43, .55); }
.face__video video { width: 100%; height: 100%; object-fit: cover; }
.face__steps-title { font-family: var(--f-body); font-weight: 300; font-size: var(--step-2); margin-bottom: 1.5rem; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 1.1rem 0 1.1rem 2.75rem; border-top: 1px solid rgba(241, 234, 227, .14); color: var(--night-soft); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1rem; font-family: var(--f-display); font-size: var(--step-1); color: var(--night-ink); line-height: 1.2; }
.steps strong { color: var(--night-ink); font-weight: 500; }

.compare { margin-top: clamp(4rem, 8vw, 6rem); }
.compare__title { font-family: var(--f-body); font-weight: 300; font-size: var(--step-2); max-width: 22ch; }
.compare__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1.5vw, 1.25rem); margin-top: 2rem; max-width: 760px; }
.compare__pair figure { margin: 0; }
.compare__pair img { border-radius: var(--radius-s); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.compare__pair figcaption { margin-top: .6rem; font-size: var(--step--1); color: var(--night-soft); }
.fineprint { margin-top: 1rem; font-size: var(--step--1); color: var(--night-soft); }

.face__more { display: grid; gap: 2rem; margin-top: clamp(4rem, 8vw, 6rem); padding-top: 3rem; border-top: 1px solid rgba(241, 234, 227, .14); }
.face__more h3 { font-family: var(--f-body); font-weight: 300; font-size: var(--step-1); margin-bottom: .5rem; }
.face__more p { color: var(--night-soft); max-width: 40ch; }

@media (min-width: 900px) {
  .face__grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: center; }
  .face__more { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Tarifas ---------- */
.prices { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) var(--gutter); }
.prices > * { max-width: 980px; }
.prices__head p { margin-top: 1rem; color: var(--muted); max-width: 52ch; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.tab {
  flex: none; min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: var(--step--1); font-weight: 450; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tab:hover { border-color: var(--text); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.panel { margin-top: 1.5rem; }
.panel[hidden] { display: none; }
.price-list { list-style: none; border-top: 1px solid var(--line); }
.price {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name amount" "time book";
  column-gap: 1rem; row-gap: .3rem; align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.price__name { grid-area: name; }
.price__name h3 { font-size: var(--step-0); font-weight: 500; }
.price__name p { font-size: var(--step--1); color: var(--muted); }
.price__time { grid-area: time; font-size: var(--step--1); color: var(--muted); }
.price__amount { grid-area: amount; font-family: var(--f-display); font-size: var(--step-1); white-space: nowrap; font-variant-numeric: lining-nums; }
.price__book { grid-area: book; justify-self: end; font-size: var(--step--1); font-weight: 450; text-decoration: underline; text-decoration-color: var(--wood); text-underline-offset: .3em; padding: .3rem 0; }
@media (min-width: 700px) {
  .price { grid-template-columns: 1fr 7rem 6rem 6rem; grid-template-areas: "name time amount book"; align-items: center; }
  .price__amount { text-align: right; }
}

/* ---------- Resultados ---------- */
.results { padding: 0 0 clamp(4rem, 9vw, 8rem); }
.results__head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.results__head p { margin-top: 1rem; color: var(--muted); max-width: 52ch; }
.strip {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(70vw, 340px);
  gap: clamp(.75rem, 1.5vw, 1.25rem); overflow-x: auto; scroll-snap-type: x mandatory;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  margin-top: 2.5rem; padding: 0 var(--edge) 1rem;
  scroll-padding-inline: var(--edge); scrollbar-width: thin;
}
.strip li { scroll-snap-align: start; }
.strip img, .strip video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-s); background: var(--surface); }

/* ---------- Estudio ---------- */
.studio__hero img { width: 100%; height: clamp(320px, 62vw, 760px); object-fit: cover; }
.studio__body { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(4rem, 9vw, 8rem); display: grid; gap: 2.5rem; }
.studio__lead { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 40ch; }
.facts { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts h3 { font-size: var(--step-0); font-weight: 500; }
.facts p { color: var(--muted); font-size: var(--step--1); }
.studio__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1.5vw, 1.25rem); }
.studio__pair img { border-radius: var(--radius-s); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.studio__pair img:last-child { margin-top: 18%; }
.studio__pair--video { grid-template-columns: 1fr; }
.studio__pair--video video { display: block; width: 100%; max-width: 420px; height: auto; aspect-ratio: 9 / 16; object-fit: contain; margin: 0 auto; border-radius: var(--radius-s); background: var(--wall); }
@media (min-width: 900px) {
  .studio__body { grid-template-columns: 1fr 1fr; column-gap: 5rem; row-gap: 2.5rem; }
  .studio__body .section-title, .studio__lead, .facts { grid-column: 1; }
  .studio__pair { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
}

/* ---------- Valeria ---------- */
.valeria { background: var(--surface); padding: clamp(4rem, 9vw, 8rem) var(--gutter); }
.valeria__quote { max-width: 900px; margin: 0 auto; }
.valeria__quote p { font-family: var(--f-body); font-weight: 300; font-size: var(--step-3); line-height: 1.16; text-wrap: pretty; }
.valeria__quote footer { margin-top: 1.75rem; color: var(--muted); font-size: var(--step--1); max-width: 40ch; }
.valeria__quote cite { font-style: normal; color: var(--text); font-weight: 500; }

/* ---------- Opiniones ---------- */
.reviews { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) var(--gutter); }
.rating { margin-top: 1rem; color: var(--muted); display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.rating__value { font-family: var(--f-display); font-size: var(--step-3); color: var(--text); line-height: 1; }
.quotes { list-style: none; display: grid; gap: 2.5rem; margin-top: 3rem; }
.quotes blockquote { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.quotes p { font-size: var(--step-1); line-height: 1.45; }
.quotes footer { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); }
.reviews__more { margin-top: 2.5rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ---------- Visítanos ---------- */
.visit { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 9vw, 8rem); display: grid; gap: 2.5rem; }
.visit__address { font-style: normal; font-size: var(--step-1); line-height: 1.45; margin-top: 1.25rem; }
.open-now { margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; font-size: var(--step--1); font-weight: 450; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open-now.is-open::before { background: #4F8A5B; }
.hours { margin-top: 1.5rem; border-collapse: collapse; width: 100%; max-width: 420px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 550; }
.visit__note { margin-top: 1.25rem; color: var(--muted); font-size: var(--step--1); }
.visit__contact { margin: 1.25rem 0 0; display: grid; gap: .5rem; font-size: var(--step--1); }
.visit__contact div { display: flex; flex-wrap: wrap; gap: .25rem .6rem; }
.visit__contact dt { color: var(--muted); }
.visit__contact dd { margin: 0; }
.visit__contact a { text-decoration-color: var(--wood); text-underline-offset: .25em; overflow-wrap: anywhere; }
.visit__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.map { border-radius: var(--radius-l); overflow: hidden; min-height: 360px; background: var(--surface); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  display: grid; place-content: center; justify-items: center; gap: .4rem;
  background:
    radial-gradient(circle at 50% 38%, transparent 0 34px, var(--line) 35px 36px, transparent 37px),
    repeating-linear-gradient(0deg, transparent 0 46px, color-mix(in srgb, var(--line) 55%, transparent) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, color-mix(in srgb, var(--line) 55%, transparent) 46px 47px),
    var(--surface);
  font-size: var(--step-0); font-weight: 450;
}
.map__load small { color: var(--muted); font-size: var(--step--1); }
.map__pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--text); margin-bottom: .6rem; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: stretch; } .map { min-height: 480px; } }

/* ---------- Cierre ---------- */
.closing { background: var(--night); color: var(--night-ink); text-align: center; padding: clamp(5rem, 11vw, 9rem) var(--gutter); }
.closing__title { font-family: var(--f-display); font-weight: 300; font-size: var(--step-3); line-height: 1.1; max-width: 18ch; margin: 0 auto 2.5rem; text-wrap: balance; }
.closing__alt { margin-top: 1.5rem; color: var(--night-soft); font-size: var(--step--1); }
.closing__alt a { color: var(--night-ink); text-underline-offset: .25em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--night); color: var(--night-soft); border-top: 1px solid rgba(241, 234, 227, .12); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 3rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: 2rem; justify-items: start; }
.wordmark--footer { color: var(--night-ink); align-items: flex-start; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.social a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--night-ink); min-height: 44px; }
.social a:hover span { text-decoration: underline; text-underline-offset: .3em; }
.legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.legal button { background: none; border: 0; padding: .4rem 0; cursor: pointer; color: var(--night-soft); font-size: var(--step--1); }
.legal button:hover { color: var(--night-ink); text-decoration: underline; }
.copyright { font-size: var(--step--1); }
@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .social { justify-self: center; }
  .copyright { grid-column: 1 / -1; }
}

/* ---------- WhatsApp flotante (móvil) ---------- */
.wa-float {
  position: fixed; z-index: 40; right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--text); color: var(--bg);
  box-shadow: 0 12px 30px -10px rgba(30, 20, 10, .5);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.wa-float.is-visible { transform: none; }
@media (min-width: 900px) { .wa-float { display: none; } }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; z-index: 60; left: 1rem; right: 1rem; margin-left: auto;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  max-width: 460px; padding: 1.25rem 1.25rem 1rem;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(30, 20, 10, .35);
  font-size: var(--step--1);
}
.cookie[hidden] { display: none; }
.cookie__title { font-weight: 550; margin-bottom: .3rem; }
.cookie p:not(.cookie__title) { color: var(--muted); }
.cookie__actions { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }

/* ---------- Legal ---------- */
.legal-dialog { border: 0; border-radius: 16px; padding: 0; width: min(720px, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); background: var(--surface); color: var(--text); overscroll-behavior: contain; }
.legal-dialog::backdrop { background: rgba(20, 15, 12, .55); }
.legal-dialog__inner { padding: clamp(1.5rem, 4vw, 2.5rem); }
.legal-dialog h2 { font-family: var(--f-body); font-weight: 300; font-size: var(--step-2); }
.legal-dialog h3 { font-size: var(--step-0); font-weight: 550; margin: 1.75rem 0 .5rem; }
.legal-dialog p, .legal-dialog li { color: var(--muted); font-size: var(--step--1); line-height: 1.65; }
.legal-dialog p + p { margin-top: .75rem; }
.legal-dialog ul { padding-left: 1.1rem; margin: .5rem 0 .75rem; display: grid; gap: .35rem; }
.legal-dialog a { color: var(--text); text-underline-offset: .2em; overflow-wrap: anywhere; }
.legal-dialog code { font-size: .92em; background: color-mix(in srgb, var(--line) 55%, transparent); padding: .05em .35em; border-radius: 4px; }
.legal-dialog strong { color: var(--text); font-weight: 550; }
.legal-date { margin-top: .5rem; }
.legal-dialog .btn { margin-top: 2rem; }
.cookie__more { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font-size: inherit; }

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