:root {
  --maroon: #800000;
  --maroon-deep: #4a0c12;
  --maroon-mid: #6b1018;
  --gold: #d9a441;
  --gold-dark: #a8761f;
  --cream: #f5eee3;
  --paper: #fbf8f3;
  --ink: #2a1a1b;
  --muted: #6e5d5e;
  --line: #e6dccd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(74, 12, 18, 0.12);
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--maroon); }

h1, h2, h3 { line-height: 1.1; margin: 0; }

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 1.25rem;
}

.container { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: .6rem 1rem;
  background: var(--gold);
  color: var(--maroon-deep);
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 1rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.icon .fill, .contact-icon .fill { fill: currentColor; stroke: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(74, 12, 18, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
}
.brand img { width: 30px; height: auto; }
.nav-links {
  display: flex;
  gap: clamp(.75rem, 2.5vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(245, 238, 227, .85);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 85% 15%, rgba(217, 164, 65, .14), transparent 40%),
    radial-gradient(circle at 10% 110%, rgba(0, 0, 0, .35), transparent 55%),
    linear-gradient(135deg, var(--maroon-mid), var(--maroon-deep));
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  margin: 0 0 .75rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245, 238, 227, .7);
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.gold { color: var(--gold); }
.gold-dark { color: var(--gold-dark); }
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  margin: 1rem 0 1.5rem;
  color: rgba(245, 238, 227, .92);
}
.next-session {
  display: inline-block;
  margin: 0 0 1.75rem;
  padding: .55rem 1.1rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(217, 164, 65, .45);
  font-size: .95rem;
}
.next-session::before {
  content: "";
  display: inline-block;
  margin-right: .65rem;
  vertical-align: .08em;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 164, 65, .25);
}
.next-session strong { color: var(--gold); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  transform: rotate(1.2deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--maroon-deep); }
.btn-gold:hover { background: #e5b558; }
.btn-ghost { color: var(--cream); border-color: rgba(245, 238, 227, .4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { background: #fff; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--cream); }
.section-intro { margin: -.5rem 0 1.75rem; color: var(--muted); }
.note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

/* Membership */
.free-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.free-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  text-align: center;
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-mid), var(--maroon-deep));
  color: var(--cream);
}
.price { font-size: 3.5rem; font-weight: 700; line-height: 1; color: var(--gold); }
.price-label { max-width: 7rem; font-size: .75rem; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.free-lead { margin: 0 0 .4rem; font-size: 1.35rem; font-weight: 600; color: var(--maroon-deep); }
.free-copy p { margin-top: 0; }
.free-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.free-list li {
  padding: .35rem .85rem;
  border-radius: 999px;
  background: var(--cream);
  font-size: .88rem;
  font-weight: 500;
}

/* Weekly schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}
.schedule-list {
  list-style: none;
  margin: 0;
  padding: .5rem 1.75rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.schedule-list li {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.schedule-list li:last-child { border-bottom: 0; }
.day {
  width: 3.5rem;
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.time { font-size: 1.3rem; font-weight: 500; }
.location-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--maroon-mid), var(--maroon-deep));
  color: var(--cream);
}
.location-card .gold-dark { color: var(--gold); }
.location-name { margin: 0 0 .5rem; font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.location-address { margin: 0 0 1rem; color: rgba(245, 238, 227, .75); font-size: .95rem; }
.text-link { color: var(--gold); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Upcoming */
.upcoming-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.upcoming-list li {
  display: grid;
  grid-template-columns: 9rem 11rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
}
.upcoming-list .up-date { font-weight: 600; }
.upcoming-list .up-time { font-variant-numeric: tabular-nums; }
.upcoming-list .up-where { color: var(--muted); font-size: .92rem; }
.upcoming-list .is-soon { border-left-color: var(--maroon); }
.badge {
  display: inline-block;
  margin-left: .4rem;
  padding: .05rem .5rem;
  border-radius: 999px;
  background: var(--maroon);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  vertical-align: .1em;
}
.upcoming-list .upcoming-empty { display: block; border-left-color: var(--line); color: var(--muted); }

/* Calendar */
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.calendar-head h2 { margin: 0; }
.calendar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.cal-title { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--maroon-deep); }
.cal-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--maroon);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.cal-btn:hover:not(:disabled) { background: var(--maroon); color: #fff; }
.cal-btn:disabled { opacity: .35; cursor: default; }
.cal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  table-layout: fixed;
}
.cal-table th {
  padding-bottom: .4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.cal-table td {
  height: 84px;
  padding: .4rem .5rem;
  vertical-align: top;
  border-radius: 8px;
  background: var(--paper);
  font-size: .9rem;
}
.cal-table td.is-empty { background: transparent; }
.cal-table td.is-outside { color: #b9adab; }
.cal-table td.is-past { opacity: .5; }
.cal-num { display: block; font-weight: 500; }
.cal-table td.is-session { background: var(--cream); }
.cal-chip {
  display: block;
  margin-top: .35rem;
  padding: .2rem .4rem;
  border-radius: 6px;
  background: var(--maroon);
  color: #fff;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.3;
}
.cal-table td.is-today { box-shadow: inset 0 0 0 2px var(--gold); }
.cal-table td.is-today .cal-num { color: var(--gold-dark); font-weight: 700; }
.cal-legend {
  display: flex;
  gap: 1.25rem;
  margin-top: .85rem;
  font-size: .82rem;
  color: var(--muted);
}
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.swatch { width: .85rem; height: .85rem; border-radius: 3px; display: inline-block; }
.swatch-session { background: var(--maroon); }
.swatch-today { box-shadow: inset 0 0 0 2px var(--gold); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream);
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery button:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 6, 8, .94);
  color: var(--cream);
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: 3.5rem 0 1.5rem;
}
.lightbox img { max-height: calc(100vh - 8rem); width: auto; border-radius: 8px; }
.lightbox figcaption { font-size: .9rem; color: rgba(245, 238, 227, .8); text-align: center; padding: 0 1rem; }
.lb-close, .lb-nav {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--maroon-deep); }
.lb-close { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; }
.lb-nav { width: 3rem; height: 3rem; margin: 0 1rem; }

/* Contact */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 1rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.contact-card[hidden] { display: none; }
.contact-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  color: #fff;
}
.icon-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.icon-whatsapp { background: #25d366; }
.contact-icon svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 2; }
.contact-text { display: grid; flex: 1; min-width: 0; }
.contact-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-handle { font-size: 1.2rem; font-weight: 600; color: var(--maroon-deep); overflow-wrap: anywhere; }
.contact-sub { font-size: .9rem; color: var(--muted); }
.contact-arrow { font-size: 1.5rem; color: var(--gold-dark); }

/* Footer */
.site-footer { background: var(--maroon-deep); color: rgba(245, 238, 227, .75); padding: 1.75rem 0; font-size: .88rem; }
.footer-inner { display: flex; align-items: center; gap: .75rem; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .schedule-grid { grid-template-columns: 1fr; }
  .hero-photo { transform: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .brand span { display: none; }
  .nav-links a { font-size: .88rem; }
  .free-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .free-list { justify-content: center; }
  .upcoming-list li { grid-template-columns: 1fr auto; gap: .15rem 1rem; }
  .upcoming-list .up-where { grid-column: 1 / -1; }
  .cal-table { border-spacing: 2px; }
  .cal-table td { height: 58px; padding: .3rem; font-size: .8rem; }
  .cal-chip { font-size: 0; padding: 0; height: 6px; border-radius: 3px; margin-top: .45rem; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 1rem; }
  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }
  .lightbox figure { padding-bottom: 5rem; }
  .contact-card { gap: 1rem; padding: 1.1rem; }
  .contact-handle { font-size: 1.02rem; }
  .contact-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
