/* ============================================================
   SAVOUR EVERY MOMENT
   CSS Premium — Estética gastronómica + Apple refinado
   Paleta: ladrillo / terracota / dorado / beige cálido
   ============================================================ */


/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {

  /* — Paleta principal — */
  --c-void:         #0a0705;
  --c-dark:         #1a0f0c;
  --c-brown-deep:   #2b1a17;
  --c-brown:        #3e1f1f;
  --c-terra:        #7a3b2e;
  --c-terra-light:  #9e5040;
  --c-gold:         #c59d5f;
  --c-gold-light:   #d9b87a;
  --c-gold-dim:     rgba(197, 157, 95, 0.18);
  --c-beige:        #e6d3b3;
  --c-cream:        #f4ece0;
  --c-white:        #fdf8f2;

  /* — Texto — */
  --t-primary:   var(--c-cream);
  --t-secondary: rgba(244, 236, 224, 0.62);
  --t-muted:     rgba(244, 236, 224, 0.38);
  --t-gold:      var(--c-gold);

  /* — Superficies / glassmorphism sutil — */
  --glass-bg:     rgba(26, 15, 12, 0.55);
  --glass-border: rgba(197, 157, 95, 0.14);
  --glass-hover:  rgba(197, 157, 95, 0.07);
  --surface:      rgba(43, 26, 23, 0.72);

  /* — Sombras — */
  --sh-xs:  0 1px 4px  rgba(0, 0, 0, 0.28);
  --sh-sm:  0 4px 16px rgba(0, 0, 0, 0.32), 0 1px 4px rgba(0, 0, 0, 0.20);
  --sh-md:  0 8px 32px rgba(0, 0, 0, 0.40), 0 2px 8px rgba(0, 0, 0, 0.24);
  --sh-lg:  0 24px 64px rgba(0, 0, 0, 0.52), 0 6px 24px rgba(0, 0, 0, 0.30);
  --sh-gold:0 4px 24px rgba(197, 157, 95, 0.20);

  /* — Bordes redondeados — */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 999px;

  /* — Espaciado (escala 4px) — */
  --sp-1:  4px;   --sp-2:  8px;   --sp-3:  12px;  --sp-4:  16px;
  --sp-5:  20px;  --sp-6:  24px;  --sp-8:  32px;  --sp-10: 40px;
  --sp-12: 48px;  --sp-16: 64px;  --sp-20: 80px;  --sp-24: 96px;

  /* — Tipografía — */
  --font-display: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --font-body:    'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-xs:   0.70rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.375rem;
  --fs-2xl:  1.75rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3.5rem;
  --fs-5xl:  5rem;

  /* — Transiciones — */
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:  150ms;
  --dur-std:   300ms;
  --dur-slow:  500ms;

  /* — Layout — */
  --header-h: 68px;
  --max-w:    1160px;
}


/* ============================================================
   2. IMPORTS DE FUENTES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Poppins:wght@300;400;500&display=swap');


/* ============================================================
   3. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--t-primary);
  overflow-x: hidden;
  line-height: 1.65;

  /* ── FONDO DE LADRILLOS PRINCIPAL ──
     La imagen del ladrillo está en img/ladrillo.webp
     El overlay oscuro-cálido deja respirar la textura
     sin que se vea "lavado" ni plano */
  background-color: var(--c-dark);
  background-image:
    linear-gradient(
      160deg,
      rgba(10, 7, 5, 0.75) 0%,
      rgba(26, 15, 12, 0.60) 45%,
      rgba(43, 26, 23, 0.70) 100%
    ),
    url('img/ladrillo.webp');

  background-size:       cover, cover;
  background-position:   center, center;
  background-attachment: fixed, fixed;
  background-repeat:     no-repeat, no-repeat;
  min-height: 100vh;
}

img    { display: block; max-width: 100%; height: auto; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection {
  background: rgba(197, 157, 95, 0.26);
  color: var(--c-cream);
}

::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--c-void); }
::-webkit-scrollbar-thumb { background: rgba(197,157,95,.28); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(197,157,95,.50); }


/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px)  { .container { padding-inline: var(--sp-10); } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-12); } }


/* ============================================================
   5. HEADER
   ============================================================ */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--header-h);

  /* Glassmorphism oscuro-cálido */
  background: rgba(10, 7, 5, 0.58);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  border-bottom: 1px solid var(--glass-border);

  transform: translateY(0);
  transition:
    transform    var(--dur-std) var(--ease-out),
    background   var(--dur-std) var(--ease),
    box-shadow   var(--dur-std) var(--ease);
}

/* Se oculta al hacer scroll hacia abajo */
.header.hidden {
  transform: translateY(-100%);
}

/* Al volver arriba o detenerse */
.header.scrolled {
  background: rgba(10, 7, 5, 0.84);
  box-shadow: 0 1px 0 var(--glass-border), var(--sh-sm);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

/* — Logo — */
.logo { display: flex; align-items: center; flex-shrink: 0; }

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--dur-fast) var(--ease);
}

.logo img:hover { opacity: 0.72; }

/* — Nav desktop — */
.nav { display: none; }

@media (min-width: 768px) {
  .nav { display: flex; align-items: center; }
}

.nav ul { display: flex; align-items: center; gap: var(--sp-1); }

.nav a {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--t-secondary);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  transition:
    color      var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}

.nav a:hover {
  color: var(--t-gold);
  background: var(--c-gold-dim);
}

/* — Hamburger — */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: var(--sp-2);
  border-radius: var(--r-xs);
  transition: background var(--dur-fast) var(--ease);
}

.menu-toggle:hover { background: var(--c-gold-dim); }

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--t-secondary);
  border-radius: 2px;
  transition:
    transform  var(--dur-std) var(--ease-out),
    opacity    var(--dur-std) var(--ease-out),
    background var(--dur-fast) var(--ease);
}

.menu-toggle.active span                { background: var(--c-gold); }
.menu-toggle.active span:nth-child(1)   { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2)   { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3)   { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 768px) { .menu-toggle { display: none; } }

/* — Nav móvil — */
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 199;
  background: rgba(10, 7, 5, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity   var(--dur-std) var(--ease-out),
    transform var(--dur-std) var(--ease-out);
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: var(--t-secondary);
  letter-spacing: -0.01em;
  padding: var(--sp-3) var(--sp-8);
  transition: color var(--dur-fast) var(--ease);
}

.nav-mobile a:hover { color: var(--t-gold); }

/* Detalle dorado decorativo */
.nav-mobile::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  opacity: 0.55;
}


/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--sp-24) var(--sp-20);
  padding-inline: var(--sp-6);
  overflow: hidden;
}

/* Viñeta radial para profundidad */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, transparent 20%, rgba(10,7,5,.65) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Línea decorativa dorada inferior */
.hero::after {
  content: '';
  position: absolute;
  bottom: var(--sp-16);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  z-index: 3;
  animation: linePulse 3s var(--ease) infinite;
}

@keyframes linePulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  animation: heroReveal 1.2s var(--ease-out) both;
}

.hero-logo {
  width: clamp(80px, 14vw, 120px);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) sepia(.10);
  opacity: 0.90;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-3xl), 7vw, var(--fs-5xl));
  font-weight: 300;
  font-style: italic;
  color: var(--c-cream);
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 14ch;
}

.hero-title strong {
  font-style: normal;
  font-weight: 400;
  color: var(--c-white);
}

.hero-sub {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--t-secondary);
  letter-spacing: 0.04em;
  max-width: 42ch;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-block-start: var(--sp-4);
  padding: var(--sp-4) var(--sp-10);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-gold);
  border: 1px solid rgba(197, 157, 95, 0.40);
  background: rgba(197, 157, 95, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background   var(--dur-std) var(--ease-out),
    border-color var(--dur-std) var(--ease-out),
    transform    var(--dur-std) var(--ease-back),
    box-shadow   var(--dur-std) var(--ease-out);
}

.hero-cta:hover {
  background: rgba(197, 157, 95, 0.16);
  border-color: rgba(197, 157, 95, 0.70);
  transform: translateY(-3px);
  box-shadow: var(--sh-gold);
}

.hero-cta:active { transform: translateY(0) scale(.98); }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   7. SECCIÓN MENÚ
   ============================================================ */
.menu-section {
  padding-block: var(--sp-20) var(--sp-24);
  position: relative;
}

/* Separador decorativo dorado */
.menu-section::before {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  margin: 0 auto var(--sp-12);
}

.section-header {
  text-align: center;
  margin-block-end: var(--sp-12);
}

.section-eyebrow {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-block-end: var(--sp-3);
}

.menu-title {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-2xl), 4.5vw, var(--fs-4xl));
  font-weight: 300;
  font-style: italic;
  color: var(--c-cream);
  letter-spacing: -0.02em;
  line-height: 1.1;
}


/* ============================================================
   8. TABS — Estilo iOS cálido
   ============================================================ */
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-block-end: var(--sp-10);
  padding: var(--sp-1);
  width: fit-content;
  margin-inline: auto;
  background: rgba(10, 7, 5, 0.60);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tab {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--t-secondary);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  transition: color var(--dur-fast) var(--ease);
  z-index: 1;
}

/* Pastilla activa con dorado translúcido */
.tab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(197,157,95,.22), rgba(122,59,46,.18));
  border: 1px solid rgba(197,157,95,.28);
  box-shadow: var(--sh-xs), inset 0 1px 0 rgba(255,255,255,.05);
  opacity: 0;
  transition: opacity var(--dur-std) var(--ease-out);
  z-index: -1;
}

.tab.active            { color: var(--c-gold-light); font-weight: 400; }
.tab.active::before    { opacity: 1; }
.tab:hover:not(.active){ color: var(--t-primary); }


/* ============================================================
   9. MENU GRID
   ============================================================ */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}

@media (min-width: 768px) {
  .menu-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
}

@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: 1fr 400px; }
}

/* Mobile: imagen debajo de la lista */
.menu-preview { order: 2; }
.menu-items   { order: 1; }

@media (min-width: 768px) {
  .menu-preview { order: 2; }
  .menu-items   { order: 1; }
}


/* ============================================================
   10. ITEMS DEL MENÚ — Filas elegantes
   ============================================================ */
.menu-items {
  display: flex;
  flex-direction: column;

  /* Contenedor con fondo glass sutil para contrastar con el ladrillo */
  background: rgba(15, 8, 6, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255,255,255,.04);
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  border-left: 2px solid transparent;
  border-bottom: 1px solid rgba(197,157,95,.07);
  background: transparent;

  transition:
    background   var(--dur-std) var(--ease-out),
    border-color var(--dur-std) var(--ease-out),
    transform    var(--dur-std) var(--ease-out);
}

.menu-item:last-child { border-bottom: none; }

.menu-item:hover {
  background: var(--glass-hover);
  transform: translateX(3px);
}

/* Ítem activo con acento lateral dorado */
.menu-item.active {
  background: linear-gradient(
    to right,
    rgba(122, 59, 46, 0.18),
    rgba(197, 157, 95, 0.07)
  );
  border-left-color: var(--c-gold);
}

.menu-item.hidden { display: none; }

/* — Contenido izquierdo — */
.menu-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.menu-item h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--c-cream);
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color var(--dur-fast) var(--ease);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-item:hover h3,
.menu-item.active h3 { color: var(--c-white); }

.menu-item p {
  font-size: var(--fs-sm);
  color: var(--t-muted);
  font-weight: 300;
  line-height: 1.4;
}

/* — Precio — */
.menu-item span {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--t-gold);
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: color var(--dur-fast) var(--ease);
}

.menu-item.active span { color: var(--c-gold-light); }

/* Flecha sutil (microinteracción) */
.menu-item::after {
  content: '›';
  font-size: var(--fs-lg);
  color: var(--c-gold);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity   var(--dur-std) var(--ease-out),
    transform var(--dur-std) var(--ease-out);
  flex-shrink: 0;
  line-height: 1;
}

.menu-item:hover::after,
.menu-item.active::after {
  opacity: 0.65;
  transform: translateX(0);
}


/* ============================================================
   11. PREVIEW IMAGEN — Estilo producto Apple
   ============================================================ */
.menu-preview {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-8));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);

  background: rgba(20, 11, 9, 0.55);
  border: 1px solid rgba(197, 157, 95, 0.16);
  border-radius: var(--r-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    var(--sh-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24);

  aspect-ratio: 4 / 3;
  overflow: hidden;
}

/* Brillo interior superior */
.menu-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,255,255,.05), transparent 60%);
  z-index: 1;
  pointer-events: none;
}

#preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--r-xl) - 4px);
  filter: saturate(0.88) brightness(0.92);
  transition:
    opacity   var(--dur-std) var(--ease-out),
    transform var(--dur-slow) var(--ease-out),
    filter    var(--dur-std) var(--ease-out);
}

/* Transición al cambiar imagen */
#preview-img.switching {
  opacity: 0;
  transform: scale(0.96);
  filter: saturate(0.4) brightness(0.65);
}

/* Sombra flotante bajo el contenedor */
.menu-preview::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 12%;
  width: 76%;
  height: 32px;
  background: rgba(0, 0, 0, 0.40);
  border-radius: 50%;
  filter: blur(14px);
  z-index: -1;
}


/* ============================================================
   12. BOTONES PREMIUM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: none;
  transition:
    transform    var(--dur-std) var(--ease-back),
    box-shadow   var(--dur-std) var(--ease-out),
    background   var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.btn:active { transform: scale(.97) !important; }

/* Dorado sólido */
.btn-gold {
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-terra-light) 100%);
  color: var(--c-void);
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(197,157,95,.28);
}

.btn-gold:hover {
  box-shadow: 0 6px 24px rgba(197,157,95,.40);
  transform: translateY(-2px);
}

/* Fantasma dorado */
.btn-ghost {
  background: transparent;
  color: var(--c-gold);
  border: 1px solid rgba(197, 157, 95, 0.40);
}

.btn-ghost:hover {
  background: var(--c-gold-dim);
  border-color: rgba(197, 157, 95, 0.70);
  transform: translateY(-2px);
  box-shadow: var(--sh-gold);
}

/* Superficie oscura */
.btn-dark {
  background: var(--surface);
  color: var(--t-secondary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-dark:hover {
  background: rgba(62, 31, 31, 0.65);
  color: var(--t-primary);
  transform: translateY(-1px);
}


/* ============================================================
   13. FOOTER
   ============================================================ */
footer {
  padding-block: var(--sp-16);
  border-top: 1px solid rgba(197, 157, 95, 0.10);
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(10, 7, 5, 0.95) 0%,
    rgba(10, 7, 5, 1) 100%
  );
}

footer::before {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  margin: 0 auto var(--sp-10);
  opacity: 0.55;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  text-align: center;
}

.footer-logo img {
  height: 26px;
  width: auto;
  filter: grayscale(1) brightness(0.55);
  transition: filter var(--dur-fast) var(--ease);
}

.footer-logo img:hover { filter: grayscale(.3) brightness(.80); }

.footer-copy {
  font-size: var(--fs-xs);
  color: var(--t-muted);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: var(--sp-6);
}

.footer-links a {
  font-size: var(--fs-xs);
  color: var(--t-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--dur-fast) var(--ease);
}

.footer-links a:hover { color: var(--t-gold); }


/* ============================================================
   14. ANIMACIONES DE ENTRADA (reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity   var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 70ms; }
.reveal:nth-child(3) { transition-delay: 140ms; }
.reveal:nth-child(4) { transition-delay: 210ms; }
.reveal:nth-child(5) { transition-delay: 280ms; }
.reveal:nth-child(6) { transition-delay: 350ms; }


/* ============================================================
   15. ACCESIBILIDAD
   ============================================================ */
:focus-visible {
  outline: 2px solid rgba(197, 157, 95, 0.70);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

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