/* ==========================================================================
   Galerías Millenium — main.css v3
   Hero: dark base + fotos vivas dominantes + overlay mínimo + ken-burns en bg
   ========================================================================== */

:root {
  /* Paleta — más oscura y saturada en v3 */
  --black:    #050a0a;
  --teal-950: #061818;
  --teal-900: #0a1f1f;
  --teal-800: #0f3030;
  --teal-700: #144848;
  --teal-600: #1d5e5e;
  --gold-600: #a07a30;
  --gold-500: #c9a04a;
  --gold-400: #dcc26b;
  --gold-300: #ecd698;
  --gold-200: #f3e3b8;
  --gold-100: #faf0d5;
  --cream:    #faf6ee;
  --cream-2:  #f3ecde;
  --ivory:    #fffcf6;
  --charcoal: #1a1a1a;
  --charcoal-2: #2c2c2c;
  --gray-600: #5a5a5a;
  --gray-500: #777;
  --gray-400: #a8a39a;
  --gray-200: #e6e1d6;
  --gray-100: #f1ece1;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 9vw, 7rem);
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-md: 0 12px 30px -12px rgba(15, 58, 58, .25);
  --shadow-gold: 0 14px 40px -16px rgba(201, 160, 74, .55);
  --easing: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--easing); }
a:hover { color: var(--gold-500); }
button { font: inherit; }
::selection { background: var(--gold-200); color: var(--charcoal); }

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; }
.serif.italic { font-style: italic; }

.eyebrow,
.kicker {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 1.2rem;
}
.kicker.gold { color: var(--gold-400); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.08;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); margin: 0 0 1.4rem; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem);  margin: 0 0 1.2rem; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.55rem); margin: 0 0 .6rem; }
p  { margin: 0 0 1.05rem; color: var(--charcoal-2); }
p + p { margin-top: 0; }

.section { padding: var(--section-pad) 0; }
.section-inner { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-sub { color: var(--gray-600); font-size: 1.06rem; max-width: 60ch; }
.section-head.center .section-sub { margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: var(--ivory);
  padding: .6rem 1rem; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem;
  font-size: .92rem;
  letter-spacing: .04em;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--easing);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.btn-primary:hover {
  background: var(--gold-500); border-color: var(--gold-500); color: var(--charcoal);
  transform: translateY(-1px); box-shadow: var(--shadow-gold);
}
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--ivory); transform: translateY(-1px); }

/* =====================================================================
   NAV — sobre el hero (dark) y al hacer scroll (light)
   ===================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  background: linear-gradient(180deg, rgba(5,10,10,.55) 0%, rgba(5,10,10,0) 100%);
  transition: background .35s var(--easing), box-shadow .35s var(--easing), padding .35s var(--easing);
}
.nav .brand-name,
.nav .brand-sub,
.nav .nav-links a { color: var(--ivory); }
.nav .brand-sub   { color: var(--gold-200); }

.nav.scrolled {
  background: rgba(250, 246, 238, 0.97);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(20,30,30,.06);
  padding-block: .7rem;
}
.nav.scrolled .brand-name { color: var(--charcoal); }
.nav.scrolled .brand-sub  { color: var(--gray-500); }
.nav.scrolled .nav-links a { color: var(--charcoal-2); }

.brand { display: flex; align-items: center; gap: .85rem; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; }
.brand-mark svg { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: .005em; }
.brand-sub  { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-links a { font-size: .9rem; letter-spacing: .04em; position: relative; padding: .25rem 0; }
.nav-links a::after {
  content: ""; position: absolute; inset: auto 0 -2px 0;
  height: 1px; background: var(--gold-400);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .3s var(--easing);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-tools { display: flex; align-items: center; gap: .9rem; }

.lang-toggle {
  background: rgba(5,10,10,.25);
  border: 1px solid rgba(255, 252, 246, .3);
  color: var(--ivory);
  border-radius: 999px;
  padding: .5rem .95rem;
  font-size: .78rem; letter-spacing: .12em;
  cursor: pointer;
  transition: all .25s var(--easing);
  display: inline-flex; gap: .35rem;
  min-height: 44px;
  align-items: center;
}
.lang-toggle:hover { border-color: var(--gold-300); color: var(--gold-300); background: rgba(5,10,10,.45); }
.nav.scrolled .lang-toggle { background: transparent; border-color: var(--gray-200); color: var(--charcoal); }
.nav.scrolled .lang-toggle:hover { border-color: var(--gold-500); color: var(--gold-500); }
.lang-toggle .lang-active   { color: var(--gold-300); font-weight: 600; }
.nav.scrolled .lang-toggle .lang-active { color: var(--gold-500); }
.lang-toggle .lang-divider  { opacity: .5; }
.lang-toggle .lang-inactive { opacity: .65; }
[data-lang="en"] .lang-toggle .lang-active   { opacity: .65; font-weight: 400; color: inherit; }
[data-lang="en"] .lang-toggle .lang-inactive { opacity: 1; font-weight: 600; color: var(--gold-300); }
[data-lang="en"] .nav.scrolled .lang-toggle .lang-inactive { color: var(--gold-500); }

.nav-burger {
  display: none;
  background: transparent; border: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block; height: 1.8px; width: 22px;
  background: var(--ivory);
  margin-inline: auto;
  transition: transform .3s var(--easing), opacity .2s, background .25s;
}
.nav.scrolled .nav-burger span { background: var(--charcoal); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO SWIPER · v3 — dark dramatic, fotos vivas, ken-burns sólo en bg
   ===================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}
.hero-swiper { width: 100%; height: 100%; }

.hero-slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

/* Background separado: ken-burns, saturación y contraste se aplican AQUÍ.
   El texto NO se afecta. */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Realce de color: amplifica saturación incluso en fotos de paleta neutra (salon/spa/dental) */
  filter: saturate(1.35) contrast(1.10) brightness(1.02);
  transform: scale(1.02);
  transition: transform 11s var(--easing);
  will-change: transform;
}
.swiper-slide-active .hero-slide-bg {
  transform: scale(1.12);
}

/* Overlay 1 — vertical: top translúcido para ver foto, bottom oscuro para texto */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,
    rgba(5,10,10,.10) 0%,
    rgba(5,10,10,.05) 30%,
    rgba(5,10,10,.55) 65%,
    rgba(5,10,10,.92) 100%);
  pointer-events: none;
}

/* Overlay 2 — lateral: dramatiza el lado izquierdo donde va el texto */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
    rgba(5,10,10,.45) 0%,
    rgba(5,10,10,.10) 50%,
    rgba(5,10,10,.0) 75%);
  pointer-events: none;
}

.hero-slide-content {
  position: relative;
  z-index: 5;
  max-width: 880px;
  width: 100%;
  padding: 0 var(--gutter) clamp(4.5rem, 10vh, 7rem);
  padding-left: clamp(1.5rem, 6vw, 5rem);
  color: var(--ivory);

  /* Animación de entrada al activarse el slide */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--easing), transform 1.2s var(--easing);
  transition-delay: 0s;
}
.swiper-slide-active .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .25s;
}

.hero .eyebrow {
  color: var(--gold-300);
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
  margin-bottom: 1rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 1.04;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.014em;
  margin: 0 0 1.4rem;
  color: var(--ivory);
  text-shadow: 0 2px 24px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.4);
}
.hero-title .italic { color: var(--gold-300); }

.hero-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  max-width: 60ch;
  color: rgba(255, 252, 246, .96);
  margin: 0 0 2rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.4);
}

.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-cta .btn-primary {
  background: var(--ivory); color: var(--charcoal); border-color: var(--ivory);
}
.hero-cta .btn-primary:hover {
  background: var(--gold-400); border-color: var(--gold-400); color: var(--charcoal);
}
.hero-cta .btn-ghost {
  border-color: rgba(255, 252, 246, .65);
  color: var(--ivory);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero-cta .btn-ghost:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }

/* ─── Swiper UI customizado ─── */
.swiper-pagination.hero-pagination {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 10;
  display: flex; gap: .55rem; justify-content: center;
}
.swiper-pagination.hero-pagination .swiper-pagination-bullet {
  width: 28px; height: 2px;
  border-radius: 1px;
  background: rgba(255, 252, 246, .35);
  opacity: 1;
  margin: 0 !important;
  transition: background .3s var(--easing), width .3s var(--easing);
  position: relative;
  overflow: visible;
  cursor: pointer;
}
/* Hit area expandida para touch (WCAG 24px AA, 44px AAA) sin alterar visual */
.swiper-pagination.hero-pagination .swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  inset: -16px -2px;
  cursor: pointer;
}
/* Mantener el progress bar dentro del bullet visible */
.swiper-pagination.hero-pagination .swiper-pagination-bullet-active {
  background: rgba(255, 252, 246, .25);
  width: 56px;
  overflow: hidden;
}
.swiper-pagination.hero-pagination .swiper-pagination-bullet:hover { background: rgba(255, 252, 246, .65); }
.swiper-pagination.hero-pagination .swiper-pagination-bullet-active {
  background: rgba(255, 252, 246, .25);
  width: 56px;
}
/* Barra de progreso del autoplay */
.swiper-pagination.hero-pagination .swiper-pagination-bullet-active::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--gold-300);
  animation: heroProgress 7s linear forwards;
}
.hero-swiper.is-paused .swiper-pagination-bullet-active::after { animation-play-state: paused; }
@keyframes heroProgress { to { width: 100%; } }

.swiper-button-prev.hero-nav-prev,
.swiper-button-next.hero-nav-next {
  position: absolute;
  top: auto;
  bottom: 1.4rem;
  z-index: 11;
  width: 44px; height: 44px;
  background: rgba(5, 10, 10, .35);
  border: 1px solid rgba(255, 252, 246, .35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin: 0;
  transition: all .25s var(--easing);
}
.swiper-button-prev.hero-nav-prev { left: var(--gutter); }
.swiper-button-next.hero-nav-next { right: var(--gutter); }
.swiper-button-prev.hero-nav-prev::after,
.swiper-button-next.hero-nav-next::after {
  font-size: 13px;
  color: var(--ivory);
  font-weight: 700;
}
.swiper-button-prev.hero-nav-prev:hover,
.swiper-button-next.hero-nav-next:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.hero-pause {
  position: absolute;
  top: auto; bottom: 1.45rem; right: calc(var(--gutter) + 56px);
  z-index: 11;
  width: 44px; height: 44px;
  background: rgba(5, 10, 10, .35);
  border: 1px solid rgba(255, 252, 246, .35);
  border-radius: 999px;
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all .25s var(--easing);
  -webkit-tap-highlight-color: transparent;
}
.hero-pause:hover { background: rgba(5,10,10,.5); border-color: rgba(255, 252, 246, .65); }
.hero-pause-icon { position: relative; width: 10px; height: 12px; display: block; }
.hero-pause-icon::before,
.hero-pause-icon::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 3px; background: var(--ivory);
}
.hero-pause-icon::before { left: 0; }
.hero-pause-icon::after  { right: 0; }
.hero-swiper.is-paused .hero-pause-icon { width: 0; height: 0; }
.hero-swiper.is-paused .hero-pause-icon::before,
.hero-swiper.is-paused .hero-pause-icon::after { background: transparent; }
.hero-swiper.is-paused .hero-pause-icon {
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--ivory);
}

.hero-scroll {
  position: absolute;
  bottom: 4.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  width: 22px; height: 36px;
  border: 1px solid rgba(255, 252, 246, .55);
  border-radius: 14px;
  display: grid; place-items: start center;
  padding-top: 6px;
  pointer-events: none;
  opacity: .8;
}
.hero-scroll span {
  width: 2px; height: 6px;
  background: var(--gold-300);
  border-radius: 2px;
  animation: scrollDot 1.6s var(--easing) infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 0; }
  50%      { transform: translateY(10px); opacity: 1; }
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about-copy h2 { max-width: 22ch; }
.about-copy p { color: var(--gray-600); font-size: 1.04rem; }
.about-copy em {
  font-style: italic;
  color: var(--gold-600);
  font-family: var(--serif);
  font-weight: 600;
}
.about-stats {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
  border-top: 1px solid var(--gray-200); padding-top: 1.5rem;
}
.about-stats li {
  display: flex; flex-direction: column; gap: .15rem;
  padding: 1rem 1.1rem;
  background: var(--ivory);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--easing), border-color .3s var(--easing);
}
.about-stats li:hover { transform: translateY(-2px); border-color: var(--gold-400); }
.stat-num {
  font-family: var(--serif);
  font-size: 2.3rem; font-weight: 600;
  color: var(--teal-800);
  line-height: 1;
}
.stat-label { font-size: .82rem; letter-spacing: .04em; color: var(--gray-600); }

/* =====================================================================
   TENANTS
   ===================================================================== */
.tenants { background: var(--ivory); }
.tenant-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.tenant-card {
  position: relative;
  padding: 1.8rem 1.6rem 1.7rem;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all .35s var(--easing);
  overflow: hidden;
  isolation: isolate;
}
.tenant-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(220, 193, 135, .14) 100%);
  opacity: 0;
  transition: opacity .35s var(--easing);
  z-index: -1;
}
.tenant-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}
.tenant-card:hover::before { opacity: 1; }
.tenant-num {
  display: inline-block;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 500;
  margin-bottom: .8rem;
}
.tenant-name { font-size: 1.45rem; margin: 0 0 .35rem; color: var(--charcoal); }
.tenant-tag  { font-size: .82rem; color: var(--teal-700); margin: 0 0 .9rem; font-weight: 500; letter-spacing: .02em; }
.tenant-desc { font-size: .94rem; color: var(--gray-600); margin: 0; line-height: 1.6; }

.tenant-card.office {
  background: var(--teal-900);
  border-color: var(--teal-800);
}
.tenant-card.office .tenant-num   { color: var(--gold-300); }
.tenant-card.office .tenant-name  { color: var(--ivory); }
.tenant-card.office .tenant-tag   { color: var(--gold-200); }
.tenant-card.office .tenant-desc  { color: rgba(255,252,246,.78); }
.tenant-card.office:hover         { border-color: var(--gold-400); }

/* =====================================================================
   FOOD COURT
   ===================================================================== */
.foodcourt {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  position: relative; overflow: hidden;
}
.foodcourt-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  align-items: center; gap: clamp(2rem, 5vw, 4rem);
}
.foodcourt-copy h2 { max-width: 14ch; }
.foodcourt-copy p { color: var(--gray-600); font-size: 1.04rem; }
.foodcourt-art { display: grid; place-items: center; }
.art-svg {
  width: min(380px, 80vw);
  height: auto;
  animation: spin 90s linear infinite;
  filter: drop-shadow(0 10px 30px rgba(184,146,74,.20));
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   LOCATION
   ===================================================================== */
.location { background: var(--ivory); }
.location-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 2rem; align-items: stretch;
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  min-height: 380px;
  box-shadow: var(--shadow-md);
}
.location-map iframe { width: 100%; height: 100%; border: 0; min-height: 380px; }
.location-info {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.location-info li {
  padding: 1.1rem 1.2rem;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.location-info li.loc-actions {
  background: transparent; border: 0; padding: 0;
  display: flex; gap: .7rem; flex-wrap: wrap;
}
.loc-label {
  display: block;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: .35rem;
}
.loc-value { font-size: .98rem; color: var(--charcoal-2); line-height: 1.55; }
.loc-value em { color: var(--gray-500); font-style: italic; font-size: .88rem; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { background: var(--teal-900); color: var(--ivory); }
.contact h2 { color: var(--ivory); max-width: 18ch; }
.contact p  { color: rgba(255,252,246,.78); }
.contact .kicker { color: var(--gold-300); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: start;
}
.contact-email {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-style: italic;
  color: var(--gold-300);
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 2px;
  word-break: break-all;
}
.contact-email:hover { color: var(--gold-200); }
.contact-form {
  display: flex; flex-direction: column; gap: 1rem;
  background: rgba(255, 252, 246, .04);
  padding: 1.8rem;
  border: 1px solid rgba(220, 193, 135, .2);
  border-radius: var(--radius-lg);
}
.contact-form label {
  display: flex; flex-direction: column; gap: .35rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-200);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--sans); font-size: 16px; /* 16px exacto previene zoom iOS */
  letter-spacing: 0; text-transform: none;
  background: rgba(255, 252, 246, .07);
  border: 1px solid rgba(220, 193, 135, .25);
  border-radius: var(--radius);
  color: var(--ivory);
  padding: .8rem 1rem;
  min-height: 44px;
  transition: border-color .25s var(--easing), background .25s var(--easing);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--gold-400);
  background: rgba(255, 252, 246, .1);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ─── Custom Dropdown (reemplaza el popup nativo del <select>) ───
   Razón: los popups del <select> los renderiza el SO/navegador y la
   mayoría ignoran CSS de <option> en Chrome/Edge en dark mode, Safari macOS,
   etc. Construimos un widget propio que se ve idéntico en todos lados.
   El <select> nativo permanece oculto con la data del form. */

/* Native select oculto pero accesible para autofill */
.cs-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}

.cs-wrap { position: relative; }
.cs-dropdown { position: relative; width: 100%; }

/* Trigger (botón que se ve como un input) */
.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  background: rgba(255, 252, 246, .07);
  border: 1px solid rgba(220, 193, 135, .25);
  border-radius: var(--radius);
  color: var(--ivory);
  padding: .8rem 1rem;
  min-height: 44px;
  cursor: pointer;
  transition: border-color .25s var(--easing), background .25s var(--easing);
  -webkit-tap-highlight-color: transparent;
}
.cs-trigger:hover {
  border-color: rgba(220, 193, 135, .5);
  background: rgba(255, 252, 246, .1);
}
.cs-trigger:focus,
.cs-trigger:focus-visible {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(255, 252, 246, .1);
}
.cs-trigger-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-trigger-chevron {
  flex-shrink: 0;
  margin-left: .8rem;
  color: var(--gold-300);
  transition: transform .2s var(--easing);
}
.cs-trigger[aria-expanded="true"] .cs-trigger-chevron {
  transform: rotate(180deg);
  color: var(--gold-400);
}
.cs-trigger[aria-expanded="true"] {
  border-color: var(--gold-400);
  background: rgba(255, 252, 246, .12);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Popup menu */
.cs-menu {
  position: absolute;
  top: calc(100% - 1px); /* solapa el border-bottom del trigger para look continuo */
  left: 0;
  right: 0;
  z-index: 30;
  list-style: none;
  margin: 0;
  padding: .35rem 0;
  background: var(--teal-800);            /* fondo oscuro sólido (no transparente) */
  border: 1px solid var(--gold-400);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
  max-height: 280px;
  overflow-y: auto;
  /* Anim entrada */
  transform-origin: top center;
  animation: csOpen .18s var(--easing);
}
.cs-menu[hidden] { display: none; }
@keyframes csOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cs-menu li {
  padding: .7rem 1rem;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ivory);              /* texto claro sobre fondo oscuro */
  cursor: pointer;
  transition: background .15s var(--easing), color .15s var(--easing);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.cs-menu li:hover,
.cs-menu li:focus,
.cs-menu li.cs-active {
  background: var(--gold-500);     /* hover: dorado */
  color: var(--charcoal);
}
.cs-menu li[aria-selected="true"] {
  background: rgba(201, 160, 74, .18);
  color: var(--gold-200);
  font-weight: 500;
}
.cs-menu li[aria-selected="true"]::before {
  content: "✓";
  display: inline-block;
  margin-right: .5rem;
  color: var(--gold-400);
  font-weight: 700;
}
/* Cuando :hover/:focus encima de la seleccionada, el dorado gana */
.cs-menu li[aria-selected="true"]:hover,
.cs-menu li[aria-selected="true"]:focus,
.cs-menu li[aria-selected="true"].cs-active {
  background: var(--gold-500);
  color: var(--charcoal);
}
.cs-menu li[aria-selected="true"]:hover::before,
.cs-menu li[aria-selected="true"]:focus::before,
.cs-menu li[aria-selected="true"].cs-active::before {
  color: var(--charcoal);
}
.contact-form .btn { align-self: flex-start; margin-top: .4rem; }
.contact-form .btn[disabled] { opacity: .55; cursor: wait; transform: none !important; }
.contact-note { font-size: .78rem; color: rgba(255,252,246,.55); margin: 0; text-transform: none; letter-spacing: 0; }

/* Honeypot — invisible para humanos, presente para bots */
.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Form feedback (success / error / loading) */
.form-feedback {
  font-size: .85rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  padding: 0;
  min-height: 1.2em;
  transition: color .25s var(--easing);
}
.form-feedback.fb-loading {
  color: var(--gold-200);
}
.form-feedback.fb-ok {
  color: var(--gold-300);
  padding: .7rem .9rem;
  background: rgba(201,160,74,.08);
  border: 1px solid rgba(201,160,74,.3);
  border-radius: var(--radius);
}
.form-feedback.fb-error {
  color: #ffb4a8;
  padding: .7rem .9rem;
  background: rgba(255,180,168,.06);
  border: 1px solid rgba(255,180,168,.25);
  border-radius: var(--radius);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--charcoal); color: var(--gray-400); padding: 2.4rem var(--gutter); }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  font-size: .85rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .2rem; }
.footer-brand .brand-name { color: var(--ivory); font-size: 1.05rem; }
.footer-brand .brand-sub { color: var(--gray-400); }
.footer-meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; color: var(--gray-400); }
.footer-meta a { color: var(--gold-300); }
.footer-meta a:hover { color: var(--gold-200); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--easing), transform .9s var(--easing); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =====================================================================
   RESPONSIVE — mobile-first refinements
   ===================================================================== */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82%, 360px);
    background: var(--ivory);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transform: translateX(101%);
    transition: transform .35s var(--easing);
    box-shadow: -10px 0 40px rgba(20,30,30,.18);
    z-index: 40;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; color: var(--charcoal-2) !important; min-height: 44px; display: flex; align-items: center; }
  .nav-burger { display: flex; }

  .about-grid,
  .foodcourt-inner,
  .location-grid,
  .contact-inner { grid-template-columns: 1fr; }
  .location-map { min-height: 320px; }
  .about-stats { grid-template-columns: 1fr 1fr; }

  .hero-slide-content { padding-bottom: 6rem; }
  .swiper-button-prev.hero-nav-prev,
  .swiper-button-next.hero-nav-next { width: 40px; height: 40px; bottom: 1.1rem; }
  .swiper-button-prev.hero-nav-prev { left: 1rem; }
  .swiper-button-next.hero-nav-next { right: 1rem; }
  .hero-pause { right: calc(1rem + 50px); width: 44px; height: 44px; bottom: 1.15rem; }
  .hero-scroll { display: none; }
  .swiper-pagination.hero-pagination { bottom: 5.2rem; }

  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 540px) {
  .brand-sub { display: none; }
  .about-stats { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; min-height: 48px; }
  .hero-slide-content { padding-bottom: 5rem; padding-left: 1.25rem; padding-right: 1.25rem; }
  .swiper-pagination.hero-pagination { bottom: 4.8rem; }
  /* En pantallas muy chicas escondemos los arrows del swiper — touch swipe + paginación es suficiente */
  .swiper-button-prev.hero-nav-prev,
  .swiper-button-next.hero-nav-next { display: none; }
  .hero-pause { right: 1rem; bottom: 1.1rem; }
}

@media (max-width: 380px) {
  .nav { padding-inline: 1rem; }
  .brand-name { font-size: 1.05rem; }
  .lang-toggle { padding: .42rem .7rem; font-size: .72rem; }
  /* Mantenemos burger en 44x44 (WCAG AAA) — no shrink */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
  .swiper-slide-active .hero-slide-bg { transform: scale(1.02); }
}
