/* ============================================================
   CASA BRUNÉ — Social Beauty Club
   Estilos base · Paleta y tipografías oficiales del manual de marca
   ============================================================ */

/* ---------- Tipografías ---------- */
@font-face {
  font-family: "Athena";
  src: url("../fonts/Athena-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Athena";
  src: url("../fonts/Athena-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Athena";
  src: url("../fonts/Athena-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Chillax";
  src: url("../fonts/Chillax-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chillax";
  src: url("../fonts/Chillax-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chillax";
  src: url("../fonts/Chillax-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens de marca ---------- */
:root {
  /* Paleta oficial (manual de marca) */
  --cream: #f5f5eb;   /* fondo principal */
  --sand:  #e1daca;   /* secundario / bloques alternos */
  --taupe: #b2a9a1;   /* neutro medio / detalles */
  --ink:   #262520;   /* texto / carbón */

  /* Derivados sobrios */
  --ink-70: rgba(38, 37, 32, 0.70);
  --ink-55: rgba(38, 37, 32, 0.55);
  --ink-12: rgba(38, 37, 32, 0.12);
  --ink-08: rgba(38, 37, 32, 0.08);
  --cream-90: rgba(245, 245, 235, 0.90);

  /* Tipografía */
  --font-head: "Athena", "Times New Roman", serif;
  --font-body: "Chillax", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--ink); color: var(--cream); }

/* ---------- Tipografía base ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.display {
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  line-height: 0.98;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
}

em, .italic {
  font-style: italic;
  font-weight: 700;
}

/* Etiqueta / eyebrow */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin: 0 0 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--taupe);
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-70);
  max-width: 46ch;
}

/* ---------- Contenedor ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }
.section-pad { padding-block: var(--section-y); }
.bg-sand { background: var(--sand); }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  cursor: pointer;
  transition: background .45s var(--ease), color .45s var(--ease),
              border-color .45s var(--ease), transform .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink-12);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: transparent;
}

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
}

/* Enlace con subrayado animado */
.link-underline {
  position: relative;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 2px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.4rem;
  transition: background .5s var(--ease), padding .5s var(--ease),
              border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--cream-90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-block: 0.85rem;
  border-bottom-color: var(--ink-08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-70);
  transition: color .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: inline-flex; }

/* Bloque derecho: redes + reservar */
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
}
.socials {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0; padding: 0;
}
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--ink);
  border: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              transform .35s var(--ease), color .35s var(--ease);
}
.social:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO — dinámico, con tilt 3D y chips en parallax
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(5.5rem, 11vh, 8rem);
  padding-bottom: clamp(3rem, 6vh, 5rem);
  overflow: hidden;
}

/* Hero centrado (estilo minimal de marca) */
.hero--center::before {
  /* halo suave para dar profundidad sin cargar */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 50% 42%, rgba(225,218,202,0.45), rgba(245,245,235,0) 70%);
  pointer-events: none;
}

/* Fondo de video (opción 1) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--sand);
}
.hero-video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(96% 86% at 50% 42%, rgba(245,245,235,0.82), rgba(245,245,235,0.60) 70%, rgba(245,245,235,0.48));
}
/* En variante video, el velo reemplaza al halo y el símbolo va en disco crema */
.hero--video::before { display: none; }
.hero--video .hero-center { z-index: 2; }
.hero--video .hero-mark {
  width: clamp(66px, 7vw, 86px);
  height: clamp(66px, 7vw, 86px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  box-shadow: 0 14px 34px -20px rgba(38,37,32,0.5);
}
.hero--video .hero-mark img {
  width: 60%; height: 60%;
  mix-blend-mode: normal;
}
.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 940px;
}
.hero-mark {
  display: inline-block;
  width: clamp(52px, 6vw, 70px);
  height: clamp(52px, 6vw, 70px);
  margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
  opacity: 0;
  animation: fadeUp .9s var(--ease) .1s forwards;
}
.hero-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.eyebrow--center {
  justify-content: center;
  gap: 0.9rem;
  opacity: 0;
  animation: fadeUp .9s var(--ease) .25s forwards;
}
.eyebrow--center::after {
  content: "";
  width: 1.75rem; height: 1px;
  background: var(--taupe);
}

.hero-h1 {
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.015em;
  font-size: clamp(2.6rem, 7vw, 6rem);
  margin: 0.3rem 0 0;
}
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease) forwards;
}
.hero-h1 .line:nth-child(1) > span { animation-delay: .30s; }
.hero-h1 .line:nth-child(2) > span { animation-delay: .42s; }
.hero-h1 em { font-style: italic; font-weight: 700; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-sub {
  max-width: 52ch;
  margin: clamp(1.4rem, 3vh, 2rem) auto 0;
  font-size: clamp(1.02rem, 1rem + 0.3vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-70);
  opacity: 0;
  animation: fadeUp 1s var(--ease) .7s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: clamp(1.8rem, 4vh, 2.6rem);
  opacity: 0;
  animation: fadeUp 1s var(--ease) .85s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero-scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.8rem;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 2.2rem;
  background: var(--taupe);
  animation: scrollDrop 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollDrop {
  0%, 100% { transform: scaleY(0.35); opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Marquee */
.marquee {
  position: relative;
  margin-top: clamp(1.5rem, 4vh, 3rem);
  border-top: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
  padding-block: 0.9rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__track span {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.4vw, 1.9rem);
  color: var(--ink-55);
  letter-spacing: 0.02em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.hero-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 6.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-55);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 3;
}
.hero-scroll::after {
  content: "";
  width: 2.5rem; height: 1px;
  background: var(--taupe);
  animation: scrollLine 2.4s var(--ease) infinite;
  transform-origin: left;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.3); opacity: .4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ============================================================
   SUMARIO INTERACTIVO (índice editorial)
   ============================================================ */
.sumario { position: relative; }
.index-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.index-row { border-top: 1px solid var(--ink-12); }
.index-row:last-child { border-bottom: 1px solid var(--ink-12); }
.index-row a {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.3rem, 3.2vw, 2.4rem);
  color: var(--ink);
  transition: padding-left .5s var(--ease), color .4s var(--ease);
}
.index-num {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--taupe);
}
.index-name {
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1;
  font-size: clamp(1.8rem, 5.5vw, 3.6rem);
  letter-spacing: -0.01em;
  transition: transform .5s var(--ease);
}
.index-tag {
  font-size: 0.9rem;
  color: var(--ink-55);
  text-align: right;
  transition: color .4s var(--ease);
}
.index-go {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--taupe);
  transform: translateX(-6px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
@media (hover: hover) {
  .index-row a:hover { padding-left: clamp(0.75rem, 2vw, 1.75rem); }
  .index-row a:hover .index-name { transform: translateX(8px); }
  .index-row a:hover .index-go { opacity: 1; transform: translateX(0); }
  /* atenúa las demás filas cuando el mouse está sobre la lista */
  .index-list:hover .index-row a { color: var(--ink-55); }
  .index-list:hover .index-row a:hover { color: var(--ink); }
}

/* Vista flotante que sigue el cursor */
.index-preview {
  position: fixed;
  top: 0; left: 0;
  width: clamp(200px, 22vw, 300px);
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--ink-12);
  box-shadow: 0 30px 60px -30px rgba(38,37,32,0.55);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 60;
  will-change: transform, opacity;
}
.index-preview.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.index-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   EL LUGAR (presentación del espacio)
   ============================================================ */
.lugar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.lugar-media { position: relative; margin: 0; }
.lugar-media__frame {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--ink-12);
  aspect-ratio: 4 / 5;
}
.lugar-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.lugar-tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  background: var(--cream-90);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 10px 30px -18px rgba(38,37,32,0.55);
}
.lugar-tag img { width: 24px; height: 24px; border-radius: 50%; mix-blend-mode: multiply; }

.lugar-copy .section-title { margin-top: 0.4rem; }
.lugar-copy .lead { margin-top: 1.4rem; }
.lugar-facts {
  display: grid;
  gap: 1rem;
  margin: 2.2rem 0;
}
.lugar-facts > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink-12);
}
.lugar-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}
.lugar-facts dd { margin: 0; color: var(--ink); }

/* Animación cortina + zoom (transición al entrar en vista) */
.reveal-curtain { transition: clip-path 1.15s var(--ease); }
html.js .reveal-curtain { clip-path: inset(0 0 100% 0); }
html.js .reveal-curtain.is-visible { clip-path: inset(0 0 0 0); }
.reveal-curtain img {
  transform: scale(1.14);
  transition: transform 1.7s var(--ease);
}
.reveal-curtain.is-visible img { transform: scale(1); }

/* ============================================================
   PLACEHOLDERS DE IMAGEN
   (bloques sobrios para reemplazar por fotos reales)
   ============================================================ */
.placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 11px,
      rgba(38, 37, 32, 0.025) 11px,
      rgba(38, 37, 32, 0.025) 12px
    ),
    var(--sand);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.placeholder__label {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-55);
  text-align: center;
  padding: 1rem;
}
.placeholder__label span { display: block; font-size: 1.4rem; margin-bottom: 0.5rem; opacity: .5; }
.placeholder--tall { min-height: 100%; }

/* ---------- Imágenes reales (cubren su contenedor) ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.media img,
img.media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: var(--radius);
  border: 1px solid var(--ink-12);
}

/* ============================================================
   CONCEPTO
   ============================================================ */
.concepto-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.concepto-body p { margin: 0 0 1.4rem; color: var(--ink-70); }
.concepto-body p:last-child { margin-bottom: 0; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--ink-12);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.pillar p {
  font-size: 0.92rem;
  color: var(--ink-55);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   BRUNCH — servicio estrella
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .lead { margin-top: 1.4rem; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.dish {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dish .placeholder { aspect-ratio: 4 / 5; min-height: 0; }
.dish__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--ink-12);
}
.dish__name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 400;
}
.dish__desc {
  font-size: 0.9rem;
  color: var(--ink-55);
  margin: -0.4rem 0 0;
}
.brunch-cta { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ============================================================
   BELLEZA
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.service {
  background: var(--cream);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -28px rgba(38,37,32,0.35);
}
.service .placeholder {
  aspect-ratio: 3 / 2;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--ink-12);
  border-radius: 0;
}
.service__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--ink-12);
}
.service__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.service__num {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--taupe);
}
.service__name { font-size: 1.6rem; font-weight: 400; }
.service__desc { font-size: 0.92rem; color: var(--ink-55); margin: 0; flex: 1; }
.service__link { margin-top: 0.8rem; align-self: flex-start; color: var(--ink); }

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
}
.gallery .placeholder { min-height: 0; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ============================================================
   VISÍTANOS
   ============================================================ */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.visit-info { max-width: 40ch; }
.visit-details {
  display: grid;
  gap: 1.6rem;
  margin: 2.4rem 0;
}
.visit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--ink-12);
}
.visit-item:last-child { border-bottom: 0; padding-bottom: 0; }
.visit-item dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  padding-top: 0.2rem;
}
.visit-item dd { margin: 0; color: var(--ink); }
.visit-map {
  height: min(60vh, 480px);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  overflow: hidden;
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(0.95);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(245,245,235,0.14);
}
.footer-brand .brand { color: var(--cream); font-size: 1.5rem; display: block; margin-bottom: 1rem; }
.footer-brand p { color: rgba(245,245,235,0.6); max-width: 32ch; margin: 0; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,245,235,0.5);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: rgba(245,245,235,0.8); font-size: 0.95rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.78rem;
  color: rgba(245,245,235,0.5);
  letter-spacing: 0.04em;
}

/* ============================================================
   REVELADO AL SCROLL
   ============================================================ */
.reveal {
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .cover {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cover-main { order: 1; }
  .cover-figure { order: 2; }
  .cover-figure__frame { min-height: 48vh; }
  .lugar-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lugar-media { max-width: 460px; }
  .concepto-grid { grid-template-columns: 1fr; gap: 2rem; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav { gap: 0.75rem; }
  .nav-cta { padding: 0.72rem 1.1rem; font-size: 0.72rem; letter-spacing: 0.08em; }
  .social { width: 34px; height: 34px; }
  .nav-right { gap: 0.5rem; }

  .hero-scroll { display: none; }
  .index-row a { grid-template-columns: auto 1fr; row-gap: 0.4rem; }
  .index-tag { grid-column: 2; text-align: left; }
  .index-go { display: none; }

  .pillars { grid-template-columns: 1fr; }
  .dish-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { gap: 0.5rem; }
  .brand { font-size: 0.92rem; letter-spacing: 0.1em; }
  .social { width: 30px; height: 30px; }
  .social svg { width: 16px; height: 16px; }
  .socials { gap: 0.1rem; }
  .nav-cta { padding: 0.62rem 0.85rem; font-size: 0.66rem; letter-spacing: 0.06em; }
}

@media (max-width: 380px) {
  .brand { font-size: 0.82rem; }
  .nav-cta { padding: 0.6rem 0.75rem; }
}

/* Respeta preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .hero-h1 .line > span,
  .hero-mark,
  .eyebrow--center,
  .hero-sub,
  .hero-actions { animation: none; opacity: 1; transform: none; }
  .hero-video, .hero-bg img { animation: none; transform: none; }
  .reveal-curtain { clip-path: none; }
  .reveal-curtain img { transform: none; }
  * { transition-duration: 0.01ms !important; }
}
