/* =========================================================
   OLYMPUS GYM KUNTIZ — "Panteón" design system
   Negro onyx + dorado antiguo + mármol + motivos griegos
   ========================================================= */

:root {
  --onyx: #08080a;
  --onyx-soft: #111114;
  --panel: #17161a;
  --panel-line: rgba(238, 233, 223, 0.12);
  --marble: #ece6d8;
  --marble-dim: #cbc3b0;
  --stone: #948d7d;
  --ink: #f5efe1;
  --gold: #c9a24e;
  --gold-bright: #f2c968;
  --gold-deep: #8a6a24;
  --wine: #7a2222;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.4);
  --radius: 2px;
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16' viewBox='0 0 40 16'%3E%3Cpath fill='none' stroke='%23c9a24e' stroke-width='2' d='M0 15 H9 V5 H15 V11 H21 V1 H27 V11 H33 V5 H40'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Jost", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 760px at 12% -8%, rgba(201, 162, 78, 0.10), transparent 60%),
    radial-gradient(900px 640px at 108% 22%, rgba(201, 162, 78, 0.07), transparent 55%),
    radial-gradient(1000px 900px at 50% 120%, rgba(201, 162, 78, 0.06), transparent 60%),
    repeating-linear-gradient(115deg, rgba(236, 230, 216, 0.025) 0px, rgba(236, 230, 216, 0.025) 1px, transparent 1px, transparent 130px),
    linear-gradient(180deg, #0c0b0f 0%, #08080a 35%, #0b0a0d 70%, #08080a 100%);
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--marble);
}

p {
  color: var(--marble-dim);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: var(--gold);
  color: #1a1305;
}

/* ---------- shared utility ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-family: "Jost", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.meander-rule {
  height: 16px;
  background-image: var(--meander);
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.85;
}

.laurel {
  color: var(--gold);
  flex-shrink: 0;
}

.section {
  position: relative;
  padding: clamp(76px, 11vw, 140px) clamp(20px, 6vw, 90px);
}

.section-onyx-soft {
  background: rgba(17, 17, 20, 0.55);
}

.section-textured {
  position: relative;
  isolation: isolate;
}

.section-textured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--tex-img) center / cover no-repeat;
  background-attachment: fixed;
  opacity: 0.16;
  filter: saturate(0.75) contrast(1.05);
}

.section-textured::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--onyx) 0%, rgba(10, 10, 12, 0.72) 45%, var(--onyx) 100%);
}

@media (max-width: 980px) {
  .section-textured::before {
    background-attachment: scroll;
  }
}

.section-head {
  width: min(760px, 100%);
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.section-head p {
  margin: 16px auto 0;
  max-width: 620px;
}

.section-head.left p {
  margin-inline: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.btn:hover, .btn:focus-visible {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1305;
  box-shadow: 0 16px 32px rgba(201, 162, 78, 0.28);
}

.btn-primary:hover, .btn-primary:focus-visible {
  box-shadow: 0 20px 42px rgba(201, 162, 78, 0.4);
}

.btn-ghost {
  border-color: rgba(236, 230, 216, 0.35);
  color: var(--marble);
  background: rgba(236, 230, 216, 0.04);
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-ghost.dark {
  border-color: rgba(8, 8, 10, 0.3);
  color: #1a1305;
  background: rgba(8, 8, 10, 0.08);
}

.btn-ghost.dark:hover, .btn-ghost.dark:focus-visible {
  border-color: #1a1305;
  background: rgba(8, 8, 10, 0.16);
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.72rem;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 84px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.94), rgba(8, 8, 10, 0.28));
  border-bottom: 1px solid transparent;
  transition: min-height 240ms ease, background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(8, 8, 10, 0.94);
  border-color: var(--panel-line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  transform: rotate(45deg);
}

.brand-mark svg {
  transform: rotate(-45deg);
  width: 22px;
  height: 22px;
}

.brand strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--marble);
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: rgba(245, 239, 225, 0.82);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold-bright);
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.header-cta:hover, .header-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--gold-bright);
  color: #1a1305;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--panel-line);
  background: rgba(245, 239, 225, 0.04);
  color: var(--marble);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding: 150px clamp(18px, 6vw, 90px) 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-media, .hero-overlay, .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background: var(--hero-img) center 30% / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-bg {
  overflow: hidden;
  filter: brightness(0.55);
  transform: scale(1.06);
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.8s ease;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-bg-slide.is-active {
  opacity: 1;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.66) 40%, rgba(8, 8, 10, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.15) 40%, rgba(8, 8, 10, 0.7) 100%);
}

.hero-columns {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  justify-content: space-between;
  padding: 0 4vw;
  opacity: 0.16;
  pointer-events: none;
}

.hero-columns svg {
  height: 100%;
  width: auto;
}

.hero-content {
  width: min(820px, 100%);
  padding-bottom: 46px;
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(3.1rem, 10.6vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--gold-bright);
}

.hero-copy {
  width: min(600px, 100%);
  margin: 22px 0 0;
  font-family: "Cormorant Garamond", serif;
  color: rgba(245, 239, 225, 0.88);
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin-top: 44px;
  border-top: 1px solid var(--panel-line);
}

.hero-stats article {
  min-width: 0;
  padding: 20px 22px 0;
  border-right: 1px solid var(--panel-line);
}

.hero-stats article:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-family: "Cinzel", serif;
  color: var(--gold-bright);
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(245, 239, 225, 0.66);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.14); }
}

/* ---------- sedes ---------- */

.sede-tabs {
  display: inline-flex;
  gap: 2px;
  margin: 0 auto 40px;
  padding: 4px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
}

.sede-tab {
  padding: 12px 26px;
  font-family: "Jost", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marble-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}

.sede-tab[aria-selected="true"] {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1305;
}

.sede-panel {
  display: none;
}

.sede-panel.is-active {
  display: grid;
}

.sede-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.sede-card, .sede-map {
  border: 1px solid var(--panel-line);
  background: linear-gradient(160deg, rgba(245, 239, 225, 0.06), rgba(245, 239, 225, 0.02));
  box-shadow: var(--shadow-soft);
}

.sede-card {
  padding: clamp(28px, 4vw, 46px);
}

.sede-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-bright);
  box-shadow: 0 0 0 5px rgba(242, 201, 104, 0.16);
}

.sede-card h3 {
  margin: 16px 0 6px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  text-transform: uppercase;
}

.sede-address {
  color: var(--marble-dim);
  font-size: 0.92rem;
}

.schedule-table {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--panel-line);
}

.schedule-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--panel-line);
}

.schedule-row dt {
  color: var(--marble);
  font-weight: 600;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schedule-row dd {
  margin: 0;
  color: var(--gold-bright);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  text-align: right;
}

.sede-convenios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

.sede-convenios span {
  padding: 8px 14px;
  border: 1px solid rgba(201, 162, 78, 0.4);
  color: var(--marble-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sede-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sede-map {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.sede-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
  flex: 1;
}

/* ---------- servicios ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.service-card {
  padding: 30px 28px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  transition: border-color 220ms ease, transform 220ms ease;
}

.service-card:hover {
  border-color: rgba(201, 162, 78, 0.5);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.service-card > p {
  margin-top: 12px;
  font-size: 0.92rem;
}

.service-card details {
  margin-top: 18px;
  border-top: 1px solid var(--panel-line);
  padding-top: 14px;
}

.service-card summary {
  cursor: pointer;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  list-style: none;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-card summary::after {
  content: "+";
  float: right;
  font-size: 1rem;
}

.service-card details[open] summary::after {
  content: "\2212";
}

.service-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-card ul li {
  padding-left: 16px;
  position: relative;
  font-size: 0.86rem;
  color: var(--marble-dim);
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* ---------- zonas ---------- */

.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--panel-line);
  border: 1px solid var(--panel-line);
}

.zone-card {
  padding: 34px 28px;
  background: var(--onyx-soft);
  position: relative;
  overflow: hidden;
}

.zone-card::before {
  content: attr(data-glyph);
  position: absolute;
  right: -10px;
  top: -30px;
  font-family: "Cinzel", serif;
  font-size: 7rem;
  color: rgba(201, 162, 78, 0.06);
  line-height: 1;
}

.zone-icon {
  color: var(--gold-bright);
  margin-bottom: 18px;
}

.zone-icon svg {
  width: 34px;
  height: 34px;
}

.zone-card h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
}

.zone-card p {
  margin-top: 10px;
  font-size: 0.88rem;
}

.zone-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--stone);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}

.zone-card ul li:not(:last-child)::after {
  content: "\00b7";
  margin: 0 6px;
  color: var(--gold);
}

/* ---------- programas ---------- */

.program-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}

.program-card {
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--panel-line);
  background: linear-gradient(180deg, rgba(245, 239, 225, 0.05), transparent);
}

.program-num {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
}

.program-card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.program-card p {
  margin-top: 10px;
  font-size: 0.86rem;
}

/* ---------- filosofia ---------- */

.philosophy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: var(--onyx-soft);
  overflow: hidden;
}

.philosophy-media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--philosophy-img) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.philosophy-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.06), rgba(8, 8, 10, 0.5));
}

.philosophy-ring {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  z-index: 2;
  color: var(--gold-bright);
  animation: rotateRing 22s linear infinite;
  opacity: 0.85;
}

.philosophy-copy blockquote {
  margin: 0;
  padding: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  color: var(--marble);
  line-height: 1.5;
}

.philosophy-copy p {
  margin-top: 22px;
}

.philosophy-copy .signature {
  margin-top: 26px;
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- frases (quotes rotator) ---------- */

.quotes-section {
  position: relative;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.74), rgba(8, 8, 10, 0.8)),
    var(--quotes-img) center / cover no-repeat;
  background-attachment: fixed;
}

.quote-rotator {
  position: relative;
  min-height: 160px;
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.quote-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
  font-family: "Cinzel", serif;
  font-size: clamp(1.35rem, 3.4vw, 2.3rem);
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--marble);
}

.quote-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.quote-slide span {
  color: var(--gold-bright);
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.quote-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 220ms ease;
}

.quote-dots button[aria-current="true"] {
  background: var(--gold-bright);
}

/* ---------- galeria fotos ---------- */

.gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--panel-line);
  box-shadow: var(--shadow);
}

.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 900ms ease;
}

.gallery-slide.is-active {
  opacity: 1;
}

.gallery-track {
  position: relative;
}

.gallery-slide {
  position: absolute;
  inset: 0;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 10, 0.7), transparent 40%);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}

.gallery-caption p {
  margin: 0;
  color: var(--marble);
  font-family: "Cinzel", serif;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-dots {
  display: flex;
  gap: 8px;
}

.gallery-dots button {
  width: 26px;
  height: 3px;
  padding: 0;
  border: none;
  background: rgba(245, 239, 225, 0.28);
  cursor: pointer;
  transition: background 220ms ease;
}

.gallery-dots button[aria-current="true"] {
  background: var(--gold-bright);
}

/* ---------- videos ---------- */

.video-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  background: var(--onyx-soft);
  box-shadow: var(--shadow-soft);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -60px 60px -20px rgba(8, 8, 10, 0.8);
  pointer-events: none;
}

.video-card span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  color: var(--marble);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- por que elegirnos ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px 26px;
}

.why-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--panel-line);
  color: var(--marble-dim);
  font-size: 0.92rem;
  list-style: none;
}

.why-grid svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold-bright);
  width: 18px;
  height: 18px;
}

/* ---------- review ---------- */

.review-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(201, 162, 78, 0.96), rgba(242, 201, 104, 0.88)),
    var(--review-img) center / cover no-repeat;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px);
  color: #1a1305;
  background: rgba(236, 230, 216, 0.94);
  border: 1px solid rgba(8, 8, 10, 0.12);
}

.review-card .eyebrow,
.review-card h2,
.review-card p {
  color: #1a1305;
}

.review-card .eyebrow::before {
  background: #1a1305;
}

.review-card p {
  max-width: 620px;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 50px clamp(18px, 6vw, 88px) 30px;
  background: #040405;
  border-top: 1px solid var(--panel-line);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--panel-line);
}

.footer-brand strong {
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  color: var(--marble);
  font-size: 1.1rem;
}

.footer-brand p {
  margin: 8px 0 0;
  max-width: 320px;
  font-size: 0.88rem;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.footer-col a, .footer-col span {
  display: block;
  margin-bottom: 10px;
  color: rgba(245, 239, 225, 0.72);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--panel-line);
  color: var(--marble-dim);
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.76rem;
  color: var(--stone);
}

/* ---------- whatsapp flotante ---------- */

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 50;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1305;
  box-shadow: 0 16px 36px rgba(201, 162, 78, 0.4);
  animation: floatPulse 2.6s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  animation-play-state: paused;
  transform: translateY(-3px);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 16px 36px rgba(201, 162, 78, 0.4), 0 0 0 0 rgba(242, 201, 104, 0.5); }
  50% { box-shadow: 0 16px 36px rgba(201, 162, 78, 0.4), 0 0 0 12px rgba(242, 201, 104, 0); }
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 750ms ease, transform 750ms ease;
}

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

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 44;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 42;
    display: grid;
    place-content: center;
    gap: 26px;
    background: rgba(8, 8, 10, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  body.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    font-size: 1.3rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats article {
    border-right: 0;
    border-bottom: 1px solid var(--panel-line);
    padding-bottom: 16px;
    margin-bottom: 4px;
  }

  .sede-grid, .philosophy, .review-card {
    grid-template-columns: 1fr;
  }

  .philosophy-media {
    min-height: 340px;
  }

  .video-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-columns {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .hero {
    padding: 118px 16px 0;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .btn {
    width: 100%;
  }

  .section {
    padding-inline: 16px;
  }

  .video-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

  .schedule-row dd {
    text-align: left;
  }

  .quotes-section {
    background-attachment: scroll;
  }

  .sede-tabs {
    width: 100%;
    display: flex;
  }

  .sede-tab {
    flex: 1;
  }
}

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