/* =============================================================
   Magic Master's Centre Fitness · Olot — estilos
   Negro cálido + dorado del logotipo. Una sola hoja, por secciones.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:      #0D0C0A;
  --bg-2:    #13110E;
  --bg-3:    #1B1814;
  --cream:   #EEE7D7;
  --cream-2: #CFC6B2;
  --cream-3: #8E8573;
  --gold:    #C6A646;
  --gold-2:  #E2C873;
  --gold-3:  #8E7631;
  --line:    rgba(238, 231, 215, .12);
  --line-2:  rgba(198, 166, 70, .35);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body:    "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif:   "Cormorant Garamond", "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --topbar: 72px;
  --radius: 18px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color-scheme: dark;
}

/* ---------- Idiomas: solo se ve el idioma activo ---------- */
.l { display: none; }
html[lang="ca"] .l[lang="ca"],
html[lang="es"] .l[lang="es"] { display: revert; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--topbar); }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1; letter-spacing: -0.01em; font-weight: 800; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--gold); color: var(--bg);
  border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-size: clamp(2.3rem, 6.4vw, 5.2rem);
  text-transform: uppercase;
  margin-top: .45em;
}
.h2 em, .hero-title em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  text-transform: none; letter-spacing: 0;
  font-variant-numeric: lining-nums;
  color: var(--gold-2);
  font-stretch: normal;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream-2); max-width: 38em; }
.section-head { display: grid; gap: 1.4rem; margin-bottom: clamp(40px, 6vw, 80px); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.6rem;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; white-space: nowrap;
  transition: background .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out), border-color .35s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--gold); color: #15120A; }
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { min-height: 42px; padding: 0 1.15rem; font-size: .88rem; }

.chip {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .5em 1em; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(13, 12, 10, .55);
  font-size: .85rem; color: var(--cream-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-3); flex: none; }
.is-open .dot { background: #6FCF7C; box-shadow: 0 0 0 0 rgba(111, 207, 124, .6); animation: pulse 2.4s infinite; }
.is-closed .dot { background: #D7695C; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topbar);
  transition: background .4s var(--ease-out), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled, .menu-open .topbar {
  background: rgba(13, 12, 10, .9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.topbar .wrap { height: 100%; display: flex; align-items: center; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .75rem; margin-right: auto; }
.brand img { width: 58px; height: auto; }
.brand-txt { display: grid; line-height: 1.05; }
.brand-txt b { font-family: var(--f-serif); font-weight: 600; font-size: 1.25rem; letter-spacing: .04em; color: var(--gold-2); text-transform: uppercase; }
.brand-txt small { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-3); }

.nav { display: none; }
.nav a {
  position: relative; font-size: .9rem; font-weight: 500; color: var(--cream-2);
  padding: .4em 0; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  min-width: 38px; height: 32px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: var(--cream-3);
  transition: background .3s, color .3s;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: #15120A; }
.topbar .btn-primary { display: none; }

.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--cream); position: relative; transition: background .3s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: var(--cream);
  transition: transform .4s var(--ease-out);
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: rotate(45deg); }
.menu-open .burger span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--topbar) 0 0 0; z-index: 49;
  background: var(--bg);
  padding: 2rem var(--gutter) 3rem;
  display: flex; flex-direction: column; gap: .2rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility .35s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.8rem, 8vw, 2.6rem); padding: .3rem 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 1.6rem; }
.menu-open { overflow: hidden; }

/* ---------- Barra inferior móvil ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 8px; border-radius: 999px;
  background: rgba(19, 17, 14, .92); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 46px; padding: 0 1rem; }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--topbar) + 40px) 0 clamp(40px, 7vw, 88px);
  isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  filter: saturate(1) contrast(1.04) brightness(1.12);
  animation: heroZoom 22s var(--ease-soft) forwards;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,12,10,.55) 0%, rgba(13,12,10,0) 26%, rgba(13,12,10,.3) 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(13,12,10,.62) 0%, rgba(13,12,10,0) 60%);
}
.hero-glow {
  position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: -20vmax; bottom: -40vmax;
  background: radial-gradient(circle, rgba(198,166,70,.22) 0%, rgba(198,166,70,0) 60%);
  filter: blur(40px); pointer-events: none;
  animation: glow 12s ease-in-out infinite alternate;
}
.hero-inner { display: grid; gap: 1.6rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.hero-title {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-size: clamp(2.5rem, min(8.4vw, 12.5vh), 8rem);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.hero-title > span { display: block; }
.unit { text-transform: none; }
.hero-title em { font-size: .58em; line-height: 1.05; display: inline-block; padding-right: .06em; margin-top: .25em; }
.hero-foot { display: grid; gap: 1.6rem; margin-top: .6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-rating { display: inline-flex; align-items: center; gap: .5em; font-size: .92rem; color: var(--cream-2); }
.hero-rating b { color: var(--gold-2); font-size: 1.05rem; }
.stars { color: var(--gold); letter-spacing: .1em; }

/* ---------- Cifras ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats li {
  padding: clamp(24px, 3.4vw, 44px) clamp(16px, 2.8vw, 44px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; gap: .5rem; align-content: center; min-width: 0;
  container-type: inline-size;
}
.stats li:nth-child(2n) { border-right: 0; }
.stats li:nth-child(n+3) { border-bottom: 0; }
/* La cifra se ajusta al ancho de su caja para no salirse nunca */
.stat-num {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 4.4rem);
  font-size: clamp(1.7rem, 17cqi, 4.4rem);
  line-height: 1; color: var(--gold-2); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat-num sup { font-size: .45em; vertical-align: super; margin-left: .05em; }
.stat-num small { font-size: .5em; margin-left: .1em; }
.stat-label { font-size: .78rem; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; color: var(--cream-3); }

/* ---------- Por qué ---------- */
.why-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-item { background: var(--bg); padding: clamp(28px, 4vw, 48px); display: grid; gap: 1rem; align-content: start; }
.why-n { font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; color: var(--gold); }
.why-item h3 { font-family: var(--f-display); font-stretch: 112%; font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-transform: uppercase; }
.why-item p { color: var(--cream-2); }
.includes { margin-top: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: .6rem; }
.includes li {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .7em 1.15em; border-radius: 999px; border: 1px solid var(--line);
  font-size: .92rem; color: var(--cream-2);
}
.includes svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

/* ---------- Zonas (scroll horizontal) ---------- */
.zones { background: var(--bg-2); }
.zones-inner { padding-block: clamp(80px, 12vw, 140px); }
.zones-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(32px, 5vw, 56px); }
.zones-meta { display: flex; align-items: center; gap: 1rem; font-size: .85rem; color: var(--cream-3); font-variant-numeric: tabular-nums; }
.zones-count b { color: var(--gold-2); font-weight: 700; }
.zones-progress { display: block; width: 140px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.zones-progress i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(.2); transform-origin: left; transition: transform .5s var(--ease-out); }
.zones-carousel { position: relative; }
.zones-track {
  position: relative;
  display: flex; gap: clamp(14px, 2vw, 24px);
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.zones-track::-webkit-scrollbar { display: none; }
.zones-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: var(--radius); }
.zones-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(13, 12, 10, .78); border: 1px solid var(--line-2); color: var(--cream);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, color .3s, opacity .3s, transform .3s var(--ease-out);
}
.zones-arrow svg { width: 22px; height: 22px; }
.zones-arrow:hover { background: var(--gold); color: #15120A; }
.zones-arrow:active { transform: translateY(-50%) scale(.94); }
.zones-arrow:disabled { opacity: 0; pointer-events: none; }
.zones-prev { left: 8px; }
.zones-next { right: 8px; }
.zone {
  position: relative; flex: 0 0 min(84vw, 440px);
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  scroll-snap-align: start; isolation: isolate;
  background: var(--bg-3);
}
.zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out), filter .8s; }
.zone::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,12,10,0) 30%, rgba(13,12,10,.92) 100%); }
.zone:hover img { transform: scale(1.04); filter: saturate(1.08); }
.zone-body { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 3vw, 32px); display: grid; gap: .6rem; }
.zone-floor { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.zone h3 { font-family: var(--f-display); font-stretch: 115%; font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-transform: uppercase; }
.zone p { color: var(--cream-2); font-size: .96rem; max-width: 30em; }
.zone-n { position: absolute; top: 20px; left: 24px; font-family: var(--f-serif); font-style: italic; font-size: 1.4rem; color: var(--gold-2); }

@media (min-width: 960px) {
  .zones-prev { left: max(12px, calc(var(--gutter) - 24px)); }
  .zones-next { right: max(12px, calc(var(--gutter) - 24px)); }
  .zones-arrow { width: 56px; height: 56px; }
}

/* ---------- Galería ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); flex-wrap: wrap; }
.tabs button {
  height: 42px; padding: 0 1.2rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--cream-2);
  transition: background .3s, color .3s;
}
.tabs button[aria-selected="true"] { background: var(--cream); color: var(--bg); }
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.gallery-panel + .gallery-panel { margin-top: 2.4rem; }
.js .gallery-panel[hidden] { display: none; }
.gallery-panel h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 700; }
.js .gallery-panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: clamp(8px, 1.2vw, 16px); }
.g-item {
  position: relative; display: block; width: 100%; overflow: hidden; border-radius: 12px;
  aspect-ratio: 4 / 3; background: var(--bg-3); cursor: zoom-in;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.g-item:hover img { transform: scale(1.05); filter: brightness(1.06); }
.g-item.is-wide { grid-column: span 2; aspect-ratio: 16 / 8; }

.lightbox {
  border: 0; padding: 0; margin: auto; background: transparent; color: var(--cream);
  width: 100vw; height: 100vh; max-width: none; max-height: none;
}
.lightbox::backdrop { background: rgba(8, 7, 6, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { display: grid; gap: .8rem; justify-items: center; padding: 64px 16px; max-width: 100%; }
.lightbox img { max-width: min(92vw, 1600px); max-height: calc(100vh - 160px); width: auto; border-radius: 8px; object-fit: contain; }
.lightbox figcaption { font-size: .9rem; color: var(--cream-2); text-align: center; max-width: 60ch; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(27, 24, 20, .8); border: 1px solid var(--line);
  transition: border-color .3s, color .3s;
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Tour 3D ---------- */
.tour-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--bg-3);
  border: 1px solid var(--line);
}
.tour-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.8); }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-cta { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.2rem; text-align: center; padding: 24px; }
.tour-cta .play {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #15120A;
  box-shadow: 0 0 0 0 rgba(198,166,70,.5); animation: pulseGold 2.6s infinite;
  transition: transform .4s var(--ease-out);
}
.tour-cta:hover .play { transform: scale(1.08); }
.tour-cta .play svg { width: 34px; height: 34px; margin-left: 4px; }
.tour-cta strong { font-family: var(--f-display); font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
.tour-cta small { color: var(--cream-2); font-size: .85rem; }

/* ---------- Tarifas ---------- */
.prices { background: var(--bg-2); }
.price-tabs { margin-bottom: clamp(28px, 4vw, 44px); }
.js .price-panel[hidden] { display: none; }
.price-panel + .price-panel { margin-top: 3rem; }
.js .price-panel + .price-panel { margin-top: 0; }
.price-panel > h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 700; }
.js .price-panel > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.price-grid { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.price {
  position: relative; display: grid; gap: 1.1rem; align-content: start;
  padding: clamp(26px, 3vw, 38px); border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: border-color .4s, transform .5s var(--ease-out);
  overflow: hidden;
}
.price::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(198,166,70,.16), transparent 60%);
  transition: opacity .4s;
}
.price:hover { border-color: var(--line-2); }
.price:hover::before { opacity: 1; }
.price.is-featured { border-color: var(--gold); background: linear-gradient(160deg, #241F14 0%, var(--bg-3) 55%); }
.price-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.price h4 { font-family: var(--f-display); font-stretch: 115%; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; }
.price-tag {
  flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .45em .8em; border-radius: 999px; border: 1px solid var(--line); color: var(--cream-2); white-space: nowrap;
}
.is-featured .price-tag { background: var(--gold); color: #15120A; border-color: var(--gold); }
.price-amount { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.price-amount b {
  font-family: var(--f-display); font-stretch: 118%; font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; color: var(--gold-2);
}
.price-amount span { color: var(--cream-3); font-size: .95rem; }
.price p { color: var(--cream-2); font-size: .95rem; }
.price-save {
  display: inline-flex; align-self: start; justify-self: start; gap: .4em; align-items: center;
  font-size: .82rem; font-weight: 600; color: var(--gold-2);
  padding: .45em .9em; border-radius: 999px; background: rgba(198,166,70,.1);
}
.price-foot { border-top: 1px solid var(--line); padding-top: 1rem; font-size: .86rem; color: var(--cream-3); }

.remember {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid; gap: 1.4rem;
  padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius);
  border: 1px dashed var(--line-2);
}
.remember ul { display: grid; gap: .8rem; }
.remember li { display: flex; gap: .7rem; align-items: start; color: var(--cream-2); }
.remember li svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.remember strong { color: var(--cream); }
.remember-title { font-family: var(--f-display); font-stretch: 112%; text-transform: uppercase; font-size: 1.3rem; }

/* ---------- Horarios ---------- */
.hours-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours-table th { color: var(--cream-2); font-weight: 500; }
.hours-table td {
  text-align: right; font-family: var(--f-display); font-stretch: 112%; font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem); font-variant-numeric: tabular-nums;
}
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--gold-2); }
.hours-table tr.is-today th::after {
  content: attr(data-today); margin-left: .7em; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .25em .6em; border-radius: 999px; border: 1px solid var(--gold-3); color: var(--gold);
  vertical-align: middle;
}
.hours-table tr.is-muted td { font-family: var(--f-body); font-size: 1rem; font-weight: 500; color: var(--cream-3); }
.hours-side { display: grid; gap: 1.2rem; }
.hours-status { font-size: 1.05rem; }
.note-card { padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); display: grid; gap: .4rem; }
.note-card b { font-size: 1.02rem; }
.note-card p { color: var(--cream-2); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.35rem 0; font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 600;
  transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-2); }
.faq-list summary i {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  position: relative; transition: transform .45s var(--ease-out), border-color .3s;
}
.faq-list summary i::before, .faq-list summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold);
  transform: translate(-50%, -50%);
}
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease-out); }
.faq-list details[open] summary i { border-color: var(--gold); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { padding: 0 3.5rem 1.5rem 0; color: var(--cream-2); }
/* Pregunta destacada (matrícula gratuita): en dorado */
.faq-list details.is-highlight summary { color: var(--gold-2); }
.faq-list details.is-highlight summary:hover { color: var(--gold); }
.faq-list details.is-highlight summary i { border-color: var(--gold); background: rgba(198, 166, 70, .12); }
.faq-list details.is-highlight p { color: var(--gold-2); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 88px); }
.contact-actions { display: grid; gap: 12px; }
.action {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem;
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 28px);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3);
  transition: border-color .35s, background .35s, transform .45s var(--ease-out);
}
.action:hover { border-color: var(--gold); background: linear-gradient(160deg, #241F14 0%, var(--bg-3) 70%); transform: translateY(-2px); }
.action-ic {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(198, 166, 70, .12); color: var(--gold-2); flex: none;
  transition: background .35s, color .35s;
}
.action:hover .action-ic { background: var(--gold); color: #15120A; }
.action-ic svg { width: 24px; height: 24px; }
.action-txt { display: grid; gap: .15rem; min-width: 0; }
.action-txt b { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.15; }
.action-txt > span { color: var(--cream-2); font-size: .92rem; overflow-wrap: anywhere; }
.action-go { width: 22px; height: 22px; color: var(--gold); transition: transform .35s var(--ease-out); }
.action:hover .action-go { transform: translateX(4px); }
.contact-note { margin-top: 1.4rem; display: grid; gap: .8rem; justify-items: start; color: var(--cream-2); font-size: .95rem; }

.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.info-list svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.info-list small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); margin-bottom: .15rem; }
.info-list a { transition: color .3s; }
.info-list a:hover { color: var(--gold-2); }
.map {
  position: relative; margin-top: 1.6rem; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--bg-3); border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map-cta { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; text-align: center; padding: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(198,166,70,.12), transparent 65%); }
.map-cta svg { width: 40px; height: 40px; color: var(--gold); }
.map-cta small { color: var(--cream-3); font-size: .8rem; max-width: 30ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 calc(100px + env(safe-area-inset-bottom)); }
.footer-top { display: grid; gap: 2.4rem; }
.footer-logo { width: 200px; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
.footer h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; font-weight: 700; }
.footer li { margin-bottom: .45rem; color: var(--cream-2); font-size: .94rem; }
.footer li a:hover { color: var(--gold-2); }
.footer-bottom { margin-top: clamp(40px, 6vw, 72px); padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: .8rem; color: var(--cream-3); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a:hover { color: var(--cream); }

/* ---------- Página legal ---------- */
.legal { padding: calc(var(--topbar) + 56px) 0 96px; }
.legal article { max-width: 760px; }
.legal h1 { font-family: var(--f-display); font-stretch: 115%; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 3.8rem); margin: .4em 0 1em; }
.legal h2 { font-family: var(--f-display); font-stretch: 112%; text-transform: uppercase; font-size: 1.5rem; margin: 2.6rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; font-weight: 700; line-height: 1.3; }
.legal p, .legal li { color: var(--cream-2); margin-bottom: .8rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.pending { color: var(--gold); font-style: italic; }

/* =============================================================
   7. Effects
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

.hero-title > span { animation: rise 1.1s var(--ease-out) both; }
.hero-title > span:nth-child(2) { animation-delay: .1s; }
.hero-title > span:nth-child(3) { animation-delay: .2s; }
.hero-meta, .hero-lead, .hero-foot { animation: fade 1.2s .35s var(--ease-out) both; }

@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes glow { from { transform: translate(0, 0) scale(1); opacity: .8; } to { transform: translate(8vmax, -6vmax) scale(1.15); opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,207,124,.55); } 70% { box-shadow: 0 0 0 10px rgba(111,207,124,0); } 100% { box-shadow: 0 0 0 0 rgba(111,207,124,0); } }
@keyframes pulseGold { 0% { box-shadow: 0 0 0 0 rgba(198,166,70,.5); } 70% { box-shadow: 0 0 0 22px rgba(198,166,70,0); } 100% { box-shadow: 0 0 0 0 rgba(198,166,70,0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .remember { grid-template-columns: auto 1fr; align-items: center; gap: 2.4rem; }
  .remember ul { grid-template-columns: repeat(2, 1fr); gap: .8rem 2rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .map { aspect-ratio: 16 / 10; }
  .tour-frame { aspect-ratio: 16 / 9; }
}
@media (min-width: 960px) {
  .stats ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats li { border-bottom: 0; }
  .stats li:nth-child(2n) { border-right: 1px solid var(--line); }
  .stats li:last-child { border-right: 0; }
  .nav { display: flex; gap: 1.4rem; }
  .burger, .mobile-menu { display: none; }
  .mobile-cta { display: none; }
  .footer { padding-bottom: 40px; }
  .hero-foot { grid-template-columns: 1fr auto; align-items: end; }
  .hours-grid { grid-template-columns: 1.3fr 1fr; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; }
  .faq-grid .section-head { position: sticky; top: calc(var(--topbar) + 32px); }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
  .price-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 2fr; }
}
@media (min-width: 1280px) {
  .nav { gap: 2rem; }
  .topbar .btn-primary { display: inline-flex; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .g-item.is-wide { grid-column: span 2; }
}
@media (max-width: 1279px) {
  .brand-txt small { display: none; }
}
@media (max-width: 539px) {
  .topbar .wrap { gap: .6rem; }
  .brand { gap: .5rem; }
  .brand-txt b { font-size: 1.02rem; }
  .brand img { width: 46px; }
  .lang button { min-width: 34px; }
  .tabs { flex-wrap: nowrap; }
  .tabs button { padding: 0 .85rem; }
}

/* =============================================================
   9. Reduced-motion (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  .hero-glow { animation: none; }
  .tour-cta .play, .is-open .dot { animation: none; }
}
