/* ================================================================
   House of A&N — styles.css  v4
   Editorial de lujo. Oscuro, gold accent, tipografía serif/sans.
   Mobile-first · Accesible · Performante
================================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  --black: #080808;
  --ink: #111111;
  --surface: #161616;
  --rule: rgba(255, 255, 255, 0.07);
  --rule-md: rgba(255, 255, 255, 0.13);

  --white: #f5f0e8;
  --muted: rgba(245, 240, 232, 0.45);
  --muted-hi: rgba(245, 240, 232, 0.7);

  --gold-hi: #f5e6a8;
  --gold: #c9a84c;
  --gold-lo: #7e6128;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --gold-ring: rgba(201, 168, 76, 0.35);

  --radius: 4px;
  --radius-lg: 10px;
  --radius-xl: 16px;

  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ── 2. BASE ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--safe-t) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports (overflow-x: clip) {
  body {
    overflow-x: clip;
  }
}

img,
video {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0;
}
h1 em,
h2 em {
  color: var(--gold);
  font-style: italic;
}
a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── 3. UTILITIES ───────────────────────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.kicker {
  display: block;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.hed {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.sec-hd {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.sec-sub {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 0;
}

/* ── 4. BUTTONS ─────────────────────────────────────────────── */
.btn-gold,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.72rem 1.65rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-gold:focus-visible,
.btn-ghost:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--rule-md);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold-glow);
  transform: translateY(-1px);
}

/* ── 5. NAV ─────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s;
}
#nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  height: 100%;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

/* Logo nav: invisible en hero, aparece al hacer scroll fuera del hero */
.nav-logo-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  overflow: hidden;
  /* Parte de 0 ancho y opacidad 0 — sin ocupar espacio */
  width: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    width 0.35s var(--ease),
    opacity 0.35s var(--ease);
}
.nav-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
/* Al salir del hero, .logo-visible se añade al nav */
#nav.logo-visible .nav-logo-wrap {
  width: 42px;
  opacity: 1;
  pointer-events: auto;
}
#nav.logo-visible .nav-logo-wrap::before {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.3);
}
.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  padding: 3px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.nav-name em {
  color: var(--gold);
  font-style: italic;
}
.nav-sub {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.18s;
  position: relative;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a.active {
  color: var(--gold);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -0.35rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

/* ══ NAV CTA — visible en TODAS las resoluciones ══ */
.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius);
  transition: all 0.18s;
  flex-shrink: 0;
  /* Móvil: solo ícono, botón cuadrado compacto */
  width: 38px;
  height: 38px;
  padding: 0;
}
.nav-cta:hover {
  background: var(--gold-glow);
}
/* En móvil: ocultar texto, mostrar solo ícono */
.nav-cta span {
  display: none;
}
.nav-cta i {
  font-size: 1.05rem;
}
/* Desktop: mostrar texto y formato normal */
@media (min-width: 700px) {
  .nav-cta {
    width: auto;
    height: auto;
    padding: 0.4rem 0.9rem;
  }
  .nav-cta span {
    display: inline;
  }
  .nav-cta i {
    font-size: inherit;
  }
}

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 999px;
  transition:
    transform 0.22s,
    opacity 0.22s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-6.5px) rotate(-45deg);
}
@media (min-width: 900px) {
  .nav-burger {
    display: none;
  }
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
}
.drawer.open {
  pointer-events: auto;
}
.drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s;
}
.drawer.open .drawer-bg {
  background: rgba(0, 0, 0, 0.7);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 80vw);
  background: var(--ink);
  border-left: 1px solid var(--rule);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.drawer.open .drawer-panel {
  transform: translateX(0);
}
.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.18s;
  padding: 0.25rem;
}
.drawer-close:hover {
  color: var(--white);
}
.drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.drawer-links a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  transition: color 0.18s;
}
.drawer-links a:hover {
  color: var(--gold);
}
.drawer-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.drawer-foot p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.drawer-cta {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  padding: 0.7rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.18s;
}
.drawer-cta:hover {
  background: var(--gold-glow);
}

/* ── 6. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + var(--safe-t));
  /* Más espacio para que hero-foot no aplaste el contenido */
  padding-bottom: calc(9rem + var(--safe-b));
  overflow: hidden;
}
@supports not (height: 100svh) {
  .hero {
    min-height: 100vh;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.42);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(8, 8, 8, 0.88) 0%,
      rgba(8, 8, 8, 0.38) 55%,
      rgba(8, 8, 8, 0.7) 100%
    ),
    linear-gradient(0deg, rgba(8, 8, 8, 0.65) 0%, transparent 45%);
}

/* ══ Logo central hero — RESPONSIVE COMPLETO ══ */
.hero-logo-center {
  position: absolute;
  z-index: 3;
}

/* ── Móvil (default): arriba a la derecha, compacto ── */
.hero-logo-center {
  top: calc(var(--nav-h) + var(--safe-t) + 1rem);
  right: 1rem;
}
.hero-logo-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  padding: 5px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow:
    0 0 40px rgba(201, 168, 76, 0.2),
    inset 0 0 20px rgba(201, 168, 76, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-pulse 4s ease-in-out infinite;
}
.hero-logo-img {
  width: 75%;
  height: 75%;
  border-radius: 50%;
  object-fit: contain;
}

@keyframes logo-pulse {
  0%,
  100% {
    box-shadow:
      0 0 30px rgba(201, 168, 76, 0.15),
      inset 0 0 15px rgba(201, 168, 76, 0.04);
  }
  50% {
    box-shadow:
      0 0 55px rgba(201, 168, 76, 0.3),
      inset 0 0 25px rgba(201, 168, 76, 0.08);
  }
}

/* ── Tablets pequeñas (560px+) ── */
@media (min-width: 560px) {
  .hero-logo-center {
    top: calc(var(--nav-h) + var(--safe-t) + 1.5rem);
    right: 2rem;
  }
  .hero-logo-ring {
    width: 95px;
    height: 95px;
  }
}

/* ── Tablets / laptops chicas (900px+) ── */
@media (min-width: 900px) {
  .hero-logo-center {
    top: calc(var(--nav-h) + var(--safe-t) + 2.5rem);
    right: clamp(3rem, 6vw, 5rem);
  }
  .hero-logo-ring {
    width: 110px;
    height: 110px;
  }
}

/* ── Laptops estándar 1366px (breakpoint intermedio clave) ── */
@media (min-width: 1200px) {
  .hero-logo-center {
    top: calc(var(--nav-h) + var(--safe-t) + 3rem);
    right: clamp(4rem, 7vw, 6rem);
  }
  .hero-logo-ring {
    width: 120px;
    height: 120px;
    padding: 6px;
  }
}

/* ── Pantallas grandes (1600px+) ── */
@media (min-width: 1600px) {
  .hero-logo-center {
    top: calc(var(--nav-h) + var(--safe-t) + 3.5rem);
    right: clamp(5rem, 8vw, 7rem);
  }
  .hero-logo-ring {
    width: 140px;
    height: 140px;
  }
}

/* ── Ultra-wide (2400px+) ── */
@media (min-width: 2400px) {
  .hero-logo-center {
    right: calc(50vw - 600px + 2rem);
  }
}

.hero-body {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.ey-rule {
  flex: 0 0 40px;
  height: 1px;
  background: var(--gold);
}
.ey-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-hed {
  font-size: clamp(3.4rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 1.75rem;
  color: var(--white);
}
.hero-hed em {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

/* ── Hero heading: ajuste fino para laptops estándar ── */
@media (min-width: 900px) and (max-width: 1399px) {
  .hero-hed {
    font-size: clamp(3.4rem, 5.5vw, 5.2rem);
  }
}

.hero-dek {
  font-size: clamp(0.93rem, 1.8vw, 1.1rem);
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero-dek strong {
  color: var(--white);
  font-weight: 400;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero footer strip — 3 ítems: Horario · Ubicación · Servicios */
.hero-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  /* Más espacio para respirar entre footer y botones del hero */
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  flex-wrap: wrap;
  /* Línea superior sutil que separa visualmente del contenido */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hf-item {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

/* Label con ícono pequeño */
.hf-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.hf-label .bi {
  font-size: 0.62rem;
  opacity: 0.75;
}

/* Valor principal */
.hf-val {
  font-size: 0.85rem;
  color: var(--muted-hi);
  line-height: 1.3;
}
.hf-val a {
  transition: color 0.18s;
}
.hf-val a:hover {
  color: var(--gold);
}

/* Sub-línea descriptiva */
.hf-sub {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hf-sep {
  width: 1px;
  height: 2.2rem;
  background: var(--rule-md);
  flex-shrink: 0;
}

/* Móvil: grid 2 cols, sin separadores verticales */
@media (max-width: 560px) {
  .hero-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    padding-bottom: 1.5rem;
  }
  .hf-sep {
    display: none;
  }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.25rem, 5vw, 4rem);
  z-index: 2;
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1px solid var(--rule-md);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 2px;
  height: 6px;
  background: var(--gold);
  border-radius: 999px;
  animation: scroll-down 1.8s ease-in-out infinite;
}
@keyframes scroll-down {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ── 7. STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.75rem 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}
.stat-sep {
  width: 1px;
  height: 2.5rem;
  background: var(--rule-md);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .stat-sep {
    display: none;
  }
}

/* ── 8. NOSOTROS ────────────────────────────────────────────── */
.about-section {
  background: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-media {
  position: relative;
}

.about-frame {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}
.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.6s var(--ease);
}
.about-frame:hover img {
  transform: scale(1.03);
}
.about-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 8, 0.5) 0%, transparent 50%);
  border-radius: inherit;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  width: 68px;
  height: 68px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--black);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}
@media (max-width: 899px) {
  .about-badge {
    bottom: -1rem;
    right: 1rem;
  }
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 52ch;
}

.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.check-list i {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.about-cta {
  margin-top: 2rem;
}

/* ── 9. SERVICIOS ───────────────────────────────────────────── */
.services-section {
  background: var(--black);
}

.svc-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5px;
}

.svc-card {
  background: var(--surface);
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover {
    background: var(--ink);
  }
  .svc-card:hover .svc-vid {
    transform: scale(1.04);
  }
}

.svc-card--featured .svc-media {
  aspect-ratio: 4/3;
}

.svc-media {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}
.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.svc-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.svc-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.svc-badge--gold {
  background: var(--gold);
  color: var(--black);
}

.svc-price-overlay {
  position: absolute;
  bottom: 0.9rem;
  right: 0.9rem;
  z-index: 2;
}
.svc-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.svc-body {
  padding: 1.2rem 1.4rem 1.5rem;
  border-top: 1px solid var(--rule);
  flex: 1;
}
.svc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.svc-body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.22rem;
  font-weight: 600;
}
.svc-tag-inline {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius);
  background: rgba(201, 168, 76, 0.07);
  flex-shrink: 0;
}
.svc-tag-inline--gold {
  background: var(--gold-glow);
}

.svc-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}
.svc-body li {
  font-size: 0.86rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.svc-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 1px;
  background: var(--gold);
}

.svc-grid-secondary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.svc-card-sm {
  background: var(--surface);
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem 1.4rem 1.5rem;
  transition: background 0.22s;
  border-right: 1px solid var(--rule);
}
.svc-card-sm:last-child {
  border-right: none;
}
@media (max-width: 768px) {
  .svc-card-sm {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
}
@media (hover: hover) and (pointer: fine) {
  .svc-card-sm:hover {
    background: var(--ink);
  }
}

.svc-sm-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--gold-glow);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--gold);
}

.svc-sm-body {
  flex: 1;
  min-width: 0;
}
.svc-sm-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.svc-sm-head h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.svc-sm-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.svc-sm-body p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
}

.svc-unitarios {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
.svc-unit-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.svc-unit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}
.svc-unit-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 140px;
}
.svc-unit-name {
  font-size: 0.88rem;
  color: var(--muted-hi);
  white-space: nowrap;
}
.svc-unit-dots {
  flex: 1;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.2);
  min-width: 20px;
}
.svc-unit-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.svc-tagline {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── 10. GALERÍA ─────────────────────────────────────────────── */
.gallery-section {
  background: var(--ink);
}

.gal-wrap {
  width: 100%;
  overflow: hidden;
}

.gal-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
}
.gal-carousel:active {
  cursor: grabbing;
}

.gal-track {
  display: flex;
  gap: 3px;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.gal-slide {
  flex: 0 0 clamp(280px, 40vw, 560px);
  height: clamp(340px, 50vw, 520px);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .gal-slide {
    flex: 0 0 88vw;
    height: 72vw;
    max-height: 420px;
  }
}

.gal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}

.gal-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.gal-slide:hover::after {
  opacity: 1;
}

.gal-slide::before {
  content: "\F52A";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 2;
  pointer-events: none;
}
.gal-slide:hover::before {
  opacity: 1;
}

.gal-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
.gal-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--rule-md);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s;
  flex-shrink: 0;
}
.gal-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.gal-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.gal-dots {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.gal-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--rule-md);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    width 0.2s var(--ease),
    background 0.2s;
  flex-shrink: 0;
}
.gal-dot.on {
  width: 18px;
  background: var(--gold);
}
.gal-status {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.75rem clamp(1.25rem, 5vw, 4rem) 0;
}

/* ── 11. CONTACTO ───────────────────────────────────────────── */
.contact-section {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.6fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--gold-glow);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 0.9rem;
}
.ci-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.ci-val {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.ci-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  min-height: 320px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  filter: grayscale(1) invert(0.9) contrast(1.1);
}

/* ── 12. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--ink);
  padding: 0 0 calc(1.5rem + var(--safe-b));
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  width: fit-content;
}
.footer-brand-link:hover .footer-name {
  color: var(--gold);
}
.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 3px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.footer-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  transition: color 0.18s;
}
.footer-name em {
  color: var(--gold);
  font-style: italic;
}
.footer-tagline {
  margin: 0;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 32ch;
}

.footer-col-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-links a i {
  font-size: 0.85rem;
  color: var(--gold);
  opacity: 0.6;
}
.footer-links a:hover i {
  opacity: 1;
}

.footer-links--info li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}
.footer-links--info li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.footer-links--info li span:last-child {
  color: var(--muted-hi);
  font-weight: 400;
}

.footer-addr {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
}
.footer-copy {
  margin: 0;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.footer-credit {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(245, 240, 232, 0.25);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.footer-credit i {
  color: var(--gold);
  opacity: 0.5;
  font-size: 0.7rem;
}

/* ── 13. LIGHTBOX ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] {
  display: none;
}
.lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.lb-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: min(1100px, 96vw);
  padding: 0 0.5rem;
}
.lb-fig {
  flex: 1;
  margin: 0;
  text-align: center;
}
.lb-fig img {
  max-height: 84vh;
  max-width: 100%;
  border-radius: var(--radius-lg);
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.lb-cap {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.lb-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.18s;
}
.lb-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lb-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--rule-md);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  transition:
    border-color 0.18s,
    color 0.18s;
}
.lb-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lb-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .lb-shell {
    gap: 0.25rem;
    padding: 0;
  }
  .lb-nav {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* ── 14. REVEAL ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.show {
  opacity: 1;
  transform: none;
}
.rd1 {
  transition-delay: 0.1s;
}
.rd2 {
  transition-delay: 0.2s;
}
.rd3 {
  transition-delay: 0.3s;
}

/* ── 15. SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--surface);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-lo);
}
::selection {
  background: var(--gold);
  color: var(--black);
}

/* ── 16. PERF / REDUCED ─────────────────────────────────────── */
html.perf-low .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
html.perf-low .scroll-wheel {
  animation: none;
}
html.perf-low .hero-logo-ring {
  animation: none;
}
html.perf-low #nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(8, 8, 8, 0.97) !important;
}
html.perf-low .svc-vid {
  transition: none;
}
html.perf-low .lb-bg {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html.perf-low .about-frame img {
  transition: none;
}

/* ── 17. SOCIAL ICONS ───────────────────────────────────────── */
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
  color: var(--muted-hi);
  border: 1px solid var(--rule-md);
  background: transparent;
  transition: all 0.22s var(--ease);
  flex-shrink: 0;
}
.social-icon:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-2px);
}
.social-icon:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.social-icon--sm {
  width: 36px;
  height: 36px;
  font-size: 0.92rem;
}

.ci-socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.drawer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

/* ── 18. VIDEO MODAL ────────────────────────────────────────── */
.vid-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vid-modal[hidden] {
  display: none;
}

.vid-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.vid-modal-shell {
  position: relative;
  z-index: 1;
  width: min(900px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vid-modal-close {
  position: absolute;
  top: -2.8rem;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.vid-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.vid-modal-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.25);
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(201, 168, 76, 0.08);
  background: #000;
}

.vid-modal-video {
  width: 100%;
  display: block;
  max-height: 75vh;
  background: #000;
}
.vid-modal-video::-webkit-media-controls-panel {
  background: linear-gradient(0deg, rgba(8, 8, 8, 0.9), transparent);
}

.vid-modal-title {
  margin: 0.8rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Play hint sobre tarjeta de servicio */
.svc-play-hint {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
  pointer-events: none;
}
.svc-play-hint i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.9);
  color: var(--black);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.4);
  transition: transform 0.2s var(--ease);
}
.svc-play-hint span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

[data-video-src] .svc-media {
  cursor: pointer;
}
[data-video-src]:hover .svc-play-hint,
[data-video-src]:focus-within .svc-play-hint {
  opacity: 1;
  pointer-events: auto;
}
[data-video-src]:hover .svc-play-hint i {
  transform: scale(1.08);
}

@media (hover: none) {
  [data-video-src] .svc-play-hint {
    opacity: 1;
    pointer-events: auto;
  }
  [data-video-src] .svc-play-hint i {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
}

html.perf-low .vid-modal-bg {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}