:root {
  --bg: #070707;
  --bg-soft: #0d0d0e;
  --surface: #121214;
  --surface-2: #18181b;
  --text: #f7f7f5;
  --muted: #b5b5b0;
  --brand: #f07f19;
  --brand-2: #ff9b3d;
  --brand-dark: #8d3d00;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(240, 127, 25, 0.45);
  --success: #71d29b;
  --max: 1180px;
  --header-h: 76px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background:
    radial-gradient(circle at 10% 5%, rgba(240, 127, 25, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--brand);
  color: #160a00;
  font-weight: 900;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 32px), 820px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1500;
  inset: 0 0 auto;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 7, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.97);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.42);
}

.site-header__inner {
  width: min(calc(100% - 28px), var(--max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: clamp(240px, 23vw, 286px);
  height: auto;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #e8e8e5;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
}

.site-nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding-inline: 18px;
  background: var(--brand);
  color: #1b0b00;
  box-shadow: 0 10px 28px rgba(240, 127, 25, 0.2);
}

.site-nav .nav-cta:hover {
  background: var(--brand-2);
  color: #120700;
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-button {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: #fff;
  cursor: pointer;
}

.nav-button__lines,
.nav-button__lines::before,
.nav-button__lines::after {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-button__lines {
  position: relative;
  display: block;
  margin: auto;
}

.nav-button__lines::before,
.nav-button__lines::after {
  content: "";
  left: 0;
}

.nav-button__lines::before { transform: translateY(-7px); }
.nav-button__lines::after { transform: translateY(7px); }

.nav-button[aria-expanded="true"] .nav-button__lines {
  background: transparent;
}

.nav-button[aria-expanded="true"] .nav-button__lines::before {
  transform: rotate(45deg);
}

.nav-button[aria-expanded="true"] .nav-button__lines::after {
  transform: rotate(-45deg);
}

/* Buttons */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button-row--center {
  justify-content: center;
}

.button-row--spaced {
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #190a00;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 35px rgba(240, 127, 25, 0.22);
}

.btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.btn--small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 0.9rem;
}

/* Hero */
.home-hero {
  position: relative;
  min-height: min(780px, calc(100svh - var(--header-h)));
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.home-hero__media,
.page-hero__media,
.activity-hero__media {
  position: absolute;
  inset: 0;
}

.home-hero__media img,
.page-hero__media img,
.activity-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.26) 100%),
    linear-gradient(0deg, #070707 0%, transparent 48%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: clamp(70px, 11vw, 130px) 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.display-title em {
  color: var(--brand);
  font-style: normal;
}

.hero-lead {
  max-width: 690px;
  margin: 22px 0 26px;
  color: #e4e4e1;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  text-wrap: pretty;
}

.hero-note {
  margin: 16px 0 0;
  color: #d1d1cd;
  font-size: 0.9rem;
}

.trust-strip {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: #0b0b0c;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 26px;
  border-left: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 1px solid var(--line);
}

.trust-item strong {
  color: var(--brand-2);
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.1;
}

.trust-item span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080808;
}

.page-hero__media::after,
.activity-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.84)),
    radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.38));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 790px;
  padding: 76px 16px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 16px auto 0;
  color: #deded9;
  font-size: clamp(1rem, 2vw, 1.17rem);
}

/* Sections */
.section {
  padding-block: clamp(64px, 9vw, 108px);
}

.section--compact {
  padding-block: clamp(48px, 7vw, 76px);
}

.section--soft {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.section-head {
  max-width: 750px;
  margin-bottom: 34px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.13rem);
  text-wrap: pretty;
}

.accent {
  color: var(--brand-2);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.surface-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 26px;
}

.feature-card__number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brand-2);
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

/* Activities */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.activity-grid--adaptive {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.activity-grid--adaptive .activity-card {
  flex: 0 1 calc(33.333% - 12px);
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: stretch;
}

.activity-grid--count-1 .activity-card {
  flex-basis: min(100%, 780px);
  min-height: 410px;
}

.activity-grid--count-2 .activity-card {
  flex-basis: calc(50% - 9px);
  min-height: 380px;
}

.activity-grid--count-3 .activity-card,
.activity-grid--count-5 .activity-card,
.activity-grid--count-6 .activity-card {
  flex-basis: calc(33.333% - 12px);
}

.activity-grid--count-4 .activity-card,
.activity-grid--count-7 .activity-card,
.activity-grid--count-8 .activity-card,
.activity-grid--many .activity-card {
  flex-basis: calc(25% - 13.5px);
}

.activity-card {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  isolation: isolate;
  text-decoration: none;
}

.activity-card > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.activity-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 28%, rgba(0, 0, 0, 0.93) 100%);
}

.activity-card:hover > img {
  transform: scale(1.035);
}

.activity-card__content {
  width: 100%;
  padding: 24px;
}

.activity-card__tag {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--brand-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.activity-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.05;
}

.activity-card p {
  margin: 8px 0 0;
  color: #d8d8d4;
  font-size: 0.93rem;
}

.activity-card__link {
  display: inline-flex;
  margin-top: 16px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.activity-grid--adaptive .activity-card > img {
  position: relative;
  z-index: 0;
  inset: auto;
  height: clamp(190px, 18vw, 240px);
  object-position: center;
}

.activity-grid--adaptive .activity-card::after {
  display: none;
}

.activity-grid--adaptive .activity-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
}

.activity-grid--adaptive .activity-card__tag {
  color: var(--brand-2);
  letter-spacing: 0.08em;
}

.activity-grid--adaptive .activity-card__link {
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--brand-2);
  transition: color 0.18s ease;
}

.activity-grid--adaptive .activity-card:hover .activity-card__link {
  color: #fff;
}

/* Facilities */
.facilities-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: stretch;
}

.hours-card {
  padding: clamp(26px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hours-card h3 {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.hours-list {
  display: grid;
  gap: 12px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hours-row span {
  color: var(--muted);
}

.hours-row strong {
  text-align: right;
}

.included-note {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(240, 127, 25, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(240, 127, 25, 0.09);
  color: #f7d3b2;
}

.included-note strong {
  color: var(--brand-2);
}

.gallery-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

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

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

.gallery-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 54%);
}

.gallery-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 106px;
}

.gallery-caption strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.gallery-caption span {
  color: #d6d6d2;
}

.gallery-thumbs {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px;
}

.gallery-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 11px;
  background: #111;
  cursor: pointer;
}

.gallery-thumb[aria-pressed="true"] {
  border-color: var(--brand-2);
}

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

/* Pricing */
.promo-banner {
  margin-bottom: 26px;
  padding: 17px 20px;
  border: 1px solid rgba(240, 127, 25, 0.35);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(240, 127, 25, 0.15), rgba(240, 127, 25, 0.05));
  color: #ffe0c4;
  text-align: center;
}

.promo-banner strong {
  color: var(--brand-2);
}

.pricing-section + .pricing-section {
  margin-top: 60px;
}

.pricing-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.pricing-section__head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.pricing-section__head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-grid--count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid--count-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.price-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.pricing-section .price-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pricing-grid--count-5 .price-card {
  padding: 22px;
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.pricing-section .price-card--accent {
  border-color: rgba(255, 155, 61, 0.72);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 155, 61, 0.2), transparent 45%),
    linear-gradient(145deg, rgba(240, 127, 25, 0.16), var(--surface));
  box-shadow: 0 22px 55px rgba(240, 127, 25, 0.14);
}

.pricing-section .price-card--accent::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.price-card__top {
  display: block;
}

.price-card__badge {
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 155, 61, 0.4);
  border-radius: 999px;
  background: rgba(240, 127, 25, 0.14);
  color: #ffc28d;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card__label {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.price-card__amount {
  margin: 18px 0 10px;
  color: var(--brand-2);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.055em;
}

.price-card__amount small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
}

.pricing-grid--count-5 .price-card__amount small {
  display: block;
  margin-top: 7px;
  line-height: 1;
}

.price-card__text {
  margin: auto 0 0;
  color: var(--muted);
}

.price-card .btn {
  margin-top: 20px;
}

.pricing-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Schedule */
.opening-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 46px;
  overflow: hidden;
}

.opening-strip__item {
  padding: 18px 22px;
  text-align: center;
}

.opening-strip__item + .opening-strip__item {
  border-left: 1px solid var(--line);
}

.opening-strip__item span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.opening-strip__item strong {
  display: block;
  margin-top: 6px;
  color: var(--brand-2);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.schedule-browser {
  display: block;
}

.schedule-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.schedule-tab {
  min-height: 68px;
  display: grid;
  align-items: center;
  justify-items: center;
  align-content: center;
  gap: 2px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  color: #e8e8e5;
  font-weight: 850;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.schedule-tab__label--short {
  display: none;
}

.schedule-tab small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

.schedule-tab:hover {
  border-color: var(--line-strong);
  color: #fff;
}

.schedule-tab[aria-selected="true"] {
  border-color: rgba(240, 127, 25, 0.58);
  background: linear-gradient(135deg, rgba(240, 127, 25, 0.22), rgba(240, 127, 25, 0.08));
  color: #fff;
}

.schedule-tab[aria-selected="true"] small {
  color: var(--brand-2);
}

.schedule-panels {
  min-width: 0;
}

.schedule-panel {
  scroll-margin-top: calc(var(--header-h) + 18px);
  padding: clamp(22px, 4vw, 34px);
}

.schedule-browser.is-enhanced .schedule-panel[hidden] {
  display: none;
}

.schedule-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.schedule-panel__head .eyebrow {
  margin-bottom: 4px;
}

.schedule-panel__head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.schedule-panel__head > span {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(240, 127, 25, 0.35);
  border-radius: 999px;
  color: var(--brand-2);
  font-size: 0.82rem;
  font-weight: 850;
}

.class-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.class-item {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-left: 5px;
  padding: 14px 0 14px 22px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.class-item[hidden] {
  display: none !important;
}

.class-item:last-child {
  border-bottom: 0;
}

.class-item::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 20px;
  left: -5px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--brand);
}

.class-item time {
  color: #fff;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.class-item__activity {
  color: var(--brand-2);
  font-weight: 850;
  text-decoration: none;
}

.class-item__activity-name {
  color: inherit;
}

.class-item__activity-meta {
  color: var(--muted);
  font-weight: 400;
}

.class-item__activity:hover .class-item__activity-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.class-item__details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.class-item__details span {
  color: var(--brand-2);
}

.class-item__details:hover {
  border-color: var(--line-strong);
  background: rgba(240, 127, 25, 0.1);
  color: var(--brand-2);
}

.schedule-detail-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.schedule-detail-note strong {
  color: #fff;
}

.schedule-alert {
  margin-top: 26px;
  padding: 18px;
  border-left: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: stretch;
}

.contact-card {
  padding: clamp(25px, 4vw, 40px);
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.contact-card__notice {
  margin: 20px 0 6px;
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  background: rgba(240, 127, 25, 0.07);
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.contact-list__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
}

.contact-list dd {
  margin: 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-list a {
  text-decoration-color: rgba(255, 155, 61, 0.5);
  text-underline-offset: 4px;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--brand-2);
}

.contact-map {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-map__frame {
  min-height: 420px;
  flex: 1;
  background: var(--surface-2);
}

.contact-map__frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

.contact-map__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.contact-map__caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.faq-item[open] {
  border-color: rgba(240, 127, 25, 0.42);
  background: rgba(240, 127, 25, 0.055);
}

.faq-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--brand-2);
  font-size: 1.4rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(45px, 8vw, 80px);
  border: 1px solid rgba(240, 127, 25, 0.35);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 155, 61, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(240, 127, 25, 0.15), var(--surface));
  text-align: center;
}

.cta-band h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.cta-band p {
  max-width: 620px;
  margin: 16px auto 24px;
  color: #d2d2ce;
}

/* Activity detail */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brand-2);
}

.activity-detail {
  padding-bottom: 70px;
}

.activity-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.activity-detail-hero__media {
  min-width: 0;
  min-height: 500px;
}

.activity-detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-detail-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 5vw, 56px);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 127, 25, 0.14), transparent 44%),
    var(--surface);
}

.activity-included {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 20px;
  padding: 6px 11px;
  border: 1px solid rgba(113, 210, 155, 0.3);
  border-radius: 999px;
  background: rgba(113, 210, 155, 0.08);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.activity-detail-hero__content .eyebrow {
  margin-bottom: 8px;
}

.activity-detail-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.activity-detail-hero__lead {
  margin: 20px 0 0;
  color: #e2e2de;
  font-size: 1.05rem;
}

.activity-facts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0;
  border-block: 1px solid var(--line);
}

.activity-facts div {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
  padding: 13px 12px;
  border-right: 1px solid var(--line);
}

.activity-facts div:first-child {
  padding-left: 0;
}

.activity-facts div:last-child {
  padding-right: 0;
  border-right: 0;
}

.activity-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.activity-facts dd {
  margin: 0;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 850;
}

.activity-detail-hero__cta {
  min-width: min(100%, 230px);
}

.activity-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: 20px;
  margin-top: 20px;
}

.activity-overview,
.activity-schedule-card {
  padding: clamp(24px, 4vw, 36px);
}

.activity-overview h2,
.activity-schedule-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.activity-overview__lead {
  margin: 18px 0 24px;
  color: #ecece8;
  font-size: 1.03rem;
}

.activity-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-benefit-list li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
}

.activity-benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-2);
  font-weight: 900;
}

.activity-schedule-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.activity-schedule-card__head > span {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.activity-schedule-browser {
  margin-top: 22px;
}

.activity-schedule-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.activity-schedule-tab {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  color: #f3f3ef;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.activity-schedule-tab:hover {
  border-color: rgba(240, 127, 25, 0.48);
  background: rgba(240, 127, 25, 0.07);
}

.activity-schedule-tab[aria-selected="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #1c0b00;
}

.activity-schedule-tab span {
  font-weight: 900;
}

.activity-schedule-tab small {
  color: var(--muted);
  font-size: 0.73rem;
}

.activity-schedule-tab[aria-selected="true"] small {
  color: rgba(28, 11, 0, 0.72);
}

.activity-schedule-panels {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
}

.activity-schedule-browser.is-enhanced .activity-schedule-panel[hidden] {
  display: none;
}

.activity-session-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-session-list li {
  display: grid;
  grid-template-columns: minmax(118px, 0.48fr) 1fr;
  gap: 16px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

.activity-session-list li:last-child {
  border-bottom: 0;
}

.activity-session-list time {
  color: #fff;
  font-weight: 900;
}

.activity-session-list span {
  color: var(--muted);
}

.activity-schedule-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.activity-detail-bottom {
  margin-top: 20px;
}

/* Legal */
.legal-page {
  padding-block: 60px 100px;
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-updated {
  margin: 0 0 40px;
  color: var(--muted);
}

.legal-card {
  padding: clamp(24px, 4vw, 42px);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 1.45rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #d0d0cc;
}

.legal-card a {
  color: var(--brand-2);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.9fr;
  gap: 42px;
  padding-block: 56px 44px;
}

.footer-brand img {
  width: min(260px, 100%);
  height: auto;
}

.footer-brand p {
  max-width: 300px;
  margin: 16px 0 0;
  color: var(--muted);
}

.footer-col h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line);
  color: #8f8f8b;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--brand-2);
}

.mobile-actions {
  display: none;
}

/* Error page */
.error-page {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 60px 16px;
  text-align: center;
}

.error-page__code {
  margin: 0;
  color: var(--brand);
  font-size: clamp(6rem, 24vw, 15rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
  opacity: 0.22;
}

.error-page h1 {
  margin: -15px 0 10px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.error-page p {
  max-width: 570px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.error-card {
  padding: clamp(30px, 6vw, 64px);
}

@media (max-width: 980px) {
  .trust-strip__grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .activity-grid--adaptive[data-activity-count] .activity-card {
    flex-basis: calc(50% - 9px);
    min-height: 315px;
  }

  .activity-grid--adaptive.activity-grid--count-1 .activity-card {
    flex-basis: min(100%, 720px);
    min-height: 390px;
  }

  .facilities-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map__frame,
  .contact-map__frame iframe {
    min-height: 400px;
  }

  .activity-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    width: min(230px, calc(100vw - 104px));
    height: auto;
  }

  .nav-button {
    position: relative;
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100svh - var(--header-h));
    margin: 0;
    padding: 14px 16px 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    background: rgba(7, 7, 7, 0.985);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    width: 100%;
    min-height: 50px;
    justify-content: flex-start;
    padding-inline: 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .site-nav > a[aria-current="page"]::after {
    left: 4px;
    top: 13px;
    bottom: 13px;
    width: 3px;
    height: auto;
  }

  .site-nav .nav-cta {
    margin: 8px 0 0;
    justify-content: center;
  }

  .home-hero {
    min-height: 690px;
  }

  .home-hero__media::after {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.38) 82%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent);
  }

  .activity-detail-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .activity-detail-hero__media {
    min-height: 390px;
  }

  .activity-detail-hero__content {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .schedule-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .schedule-tab {
    min-height: 64px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    text-align: center;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 0;
  }

  body.with-mobile-actions {
    padding-bottom: 70px;
  }

  .home-hero__content {
    padding-bottom: 46px;
  }

  .trust-strip__grid,
  .activity-grid,
  .pricing-grid,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 88px;
    padding: 17px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .activity-card {
    min-height: 290px;
  }

  .activity-grid--adaptive[data-activity-count] .activity-card,
  .activity-grid--adaptive.activity-grid--count-1 .activity-card {
    flex-basis: 100%;
    min-height: 250px;
  }

  .activity-grid--adaptive .activity-card__content {
    padding: 20px;
  }

  .activity-grid--adaptive .activity-card h3 {
    font-size: clamp(1.45rem, 8vw, 1.9rem);
  }

  .activity-grid--adaptive .activity-card__link {
    margin-top: 11px;
  }

  .pricing-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-section__head p {
    text-align: left;
  }

  .schedule-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .schedule-tab {
    min-height: 58px;
    padding: 8px 3px;
  }

  .schedule-tab__label--full {
    display: none;
  }

  .schedule-tab__label--short {
    display: inline;
  }

  .schedule-tab__count-label {
    display: none;
  }

  .schedule-panel__head {
    align-items: flex-start;
  }

  .class-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    align-items: center;
  }

  .class-item time,
  .class-item__activity {
    grid-column: 1;
  }

  .class-item__details {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .opening-strip {
    grid-template-columns: 1fr;
  }

  .opening-strip__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    text-align: left;
  }

  .opening-strip__item + .opening-strip__item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .opening-strip__item strong {
    margin-top: 0;
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .contact-list__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .activity-detail {
    padding-bottom: 50px;
  }

  .activity-detail-hero {
    border-radius: var(--radius);
  }

  .activity-detail-hero__media {
    min-height: 245px;
    max-height: 290px;
  }

  .activity-detail-hero__content {
    padding: 24px 20px 26px;
  }

  .activity-included {
    margin-bottom: 16px;
  }

  .activity-detail-hero h1 {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

  .activity-detail-hero__lead {
    margin-top: 14px;
    font-size: 0.98rem;
  }

  .activity-facts {
    margin-block: 20px;
  }

  .activity-facts div {
    padding: 11px 8px;
  }

  .activity-facts div:first-child {
    padding-left: 0;
  }

  .activity-facts div:last-child {
    padding-right: 0;
  }

  .activity-facts dt {
    font-size: 0.65rem;
  }

  .activity-facts dd {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .activity-detail-hero__cta {
    width: 100%;
  }

  .activity-overview,
  .activity-schedule-card {
    padding: 23px 20px;
  }

  .activity-benefit-list {
    grid-template-columns: 1fr;
  }

  .activity-schedule-card__head {
    display: block;
  }

  .activity-schedule-card__head > span {
    display: inline-flex;
    margin-top: 12px;
  }

  .activity-schedule-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-schedule-tab:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .activity-session-list li {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding-inline: 12px;
  }

  .activity-detail-bottom .btn {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-actions {
    position: fixed;
    z-index: 1400;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px max(12px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: rgba(7, 7, 7, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .mobile-actions a {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 0.88rem;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
  }

  .mobile-actions .mobile-actions__whatsapp {
    gap: 8px;
    border-color: transparent;
    background: #25d366;
    color: #07130b;
  }

  .mobile-actions__icon {
    width: 20px;
    height: 20px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
  }

  .mobile-actions .mobile-actions__whatsapp:hover {
    background: #20c75a;
    color: #07130b;
  }
}

@media (max-width: 440px) {
  .button-row .btn {
    width: 100%;
  }

  .gallery-card {
    min-height: 440px;
  }

  .contact-map__frame,
  .contact-map__frame iframe {
    min-height: 330px;
  }

  .contact-map__caption {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-map__caption .btn {
    width: 100%;
  }

  .schedule-panel {
    padding: 20px 16px;
  }

  .class-item {
    padding-left: 18px;
  }

  .class-item__details {
    min-height: 36px;
    padding-inline: 10px;
  }

  .cta-band {
    padding-inline: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Schedule v3: functional hero, category filters, rooms and complete timetable */
.schedule-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #070707;
}

.schedule-hero__media {
  position: absolute;
  inset: 0;
}

.schedule-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schedule-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.83) 54%, rgba(5, 5, 5, 0.55) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.38));
}

.schedule-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(82px, 10vw, 124px) 34px;
}

.schedule-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.schedule-hero__copy {
  max-width: 790px;
}

.schedule-hero__copy h1 {
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.schedule-hero__copy > p:last-child {
  max-width: 700px;
  margin: 18px 0 0;
  color: #deded9;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.schedule-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.schedule-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.schedule-filter-bar > span {
  margin-right: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-filter {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #e8e8e5;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.schedule-filter:hover {
  border-color: var(--line-strong);
  color: #fff;
}

.schedule-filter.is-active {
  border-color: rgba(240, 127, 25, 0.62);
  background: rgba(240, 127, 25, 0.16);
  color: var(--brand-2);
}

.schedule-hero .schedule-tabs {
  margin: 20px 0 0;
}

.schedule-content-section {
  padding-block: clamp(26px, 5vw, 58px) clamp(52px, 8vw, 88px);
}

.schedule-content-section .opening-strip {
  margin: 26px 0 0;
}

.class-item {
  grid-template-columns: 126px minmax(0, 1fr) minmax(150px, auto) auto;
}

.class-item__activity--mobile {
  display: none;
}

.class-item__room {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.class-item__room > span:first-child {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
}

.class-item__room--tatami > span:first-child {
  background: #58a6ff;
}

.class-item__room--activities > span:first-child {
  background: var(--brand-2);
}

.class-item__room--weights > span:first-child {
  background: #6fcf83;
}

.schedule-empty {
  padding: 30px 12px;
  color: var(--muted);
  text-align: center;
}

.schedule-full-view {
  padding: clamp(22px, 3vw, 34px);
}

.schedule-full-view__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.schedule-full-view__head h2,
.schedule-full-view__head p {
  margin-top: 0;
}

.schedule-full-view__head h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.schedule-full-view__head > div > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.schedule-full-view__head > span {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(240, 127, 25, 0.35);
  border-radius: 999px;
  color: var(--brand-2);
  font-size: 0.82rem;
  font-weight: 850;
}

.weekly-timeline-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #0c0c0d;
  scrollbar-color: var(--brand) #111;
}

.weekly-timeline {
  --slot-height: 20px;
  min-width: 1060px;
}

.weekly-timeline__header {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
}

.weekly-timeline__body {
  display: grid;
  grid-template-columns: 76px repeat(var(--timeline-columns), minmax(0, 1fr));
}

.weekly-timeline__header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: #111113;
}

.weekly-timeline__corner {
  display: grid;
  place-items: center;
  padding: 8px;
  font-weight: 850;
}

.weekly-timeline__corner {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.weekly-timeline__header-grid {
  display: grid;
  grid-template-columns: repeat(var(--timeline-columns), minmax(0, 1fr));
  grid-template-rows: auto auto;
  min-width: 0;
  border-left: 1px solid var(--line);
}

.weekly-timeline__day-name {
  grid-column: span var(--timeline-room-count);
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 7px 5px;
  border-left: 1px solid var(--line);
  color: #fff;
  font-weight: 850;
}

.weekly-timeline__day-name:first-child {
  border-left: 0;
}

.weekly-timeline__room-name {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  border-top: 1px solid var(--line);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
}

.weekly-timeline__room-name.is-day-start {
  border-left-color: rgba(255, 255, 255, 0.2);
}

.weekly-timeline__room-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}

.weekly-timeline__room-name[data-room="tatami"] .weekly-timeline__room-dot {
  background: #58a6ff;
}

.weekly-timeline__room-name[data-room="activities"] .weekly-timeline__room-dot {
  background: var(--brand-2);
}

.weekly-timeline__room-name[data-room="weights"] .weekly-timeline__room-dot {
  background: #6fcf83;
}

.weekly-timeline__time-axis,
.weekly-timeline__day-track {
  position: relative;
  height: calc(var(--timeline-slots) * var(--slot-height));
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--slot-height) - 1px),
    rgba(255, 255, 255, 0.055) calc(var(--slot-height) - 1px),
    rgba(255, 255, 255, 0.055) var(--slot-height)
  );
}

.weekly-timeline__day-track {
  border-left: 1px solid var(--line);
}

.weekly-timeline__day-track.is-day-start {
  border-left-color: rgba(255, 255, 255, 0.2);
}

.weekly-timeline__time {
  position: absolute;
  inset-inline: 0;
  top: calc(var(--slot) * var(--slot-height));
  padding-right: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: right;
  transform: translateY(-50%);
  font-variant-numeric: tabular-nums;
}

.weekly-timeline__time.is-start {
  transform: translateY(2px);
}

.weekly-timeline__time.is-end {
  transform: translateY(calc(-100% - 2px));
}

.weekly-session {
  position: absolute;
  z-index: 2;
  top: calc(var(--start-slot) * var(--slot-height) + 2px);
  left: calc((100% / var(--lanes)) * var(--lane) + 2px);
  width: calc((100% / var(--lanes)) - 4px);
  height: max(calc(var(--duration-slots) * var(--slot-height) - 4px), 34px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 5px 7px;
  border: 1px solid rgba(240, 127, 25, 0.42);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(240, 127, 25, 0.2), rgba(240, 127, 25, 0.08));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.weekly-session[data-category="martial"] {
  border-color: rgba(88, 166, 255, 0.5);
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.2), rgba(88, 166, 255, 0.08));
}

.weekly-session:hover {
  z-index: 4;
  border-color: var(--brand-2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.38);
}

.weekly-session__time,
.weekly-session__activity,
.weekly-session__level,
.weekly-session__room {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weekly-session__time {
  font-size: 0.68rem;
  font-weight: 800;
}

.weekly-session__activity {
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 850;
}

.weekly-session[data-category="martial"] .weekly-session__activity {
  color: #b8d7ff;
}

.weekly-session__level {
  color: #d0d0cc;
  font-size: 0.64rem;
  font-weight: 700;
}

.weekly-session__room {
  color: #d0d0cc;
  font-size: 0.66rem;
}

.schedule-room-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.schedule-print-heading,
.schedule-print-header,
.schedule-print-subhead,
.schedule-print-footer {
  display: none;
}

@media (max-width: 900px) {
  .schedule-hero__top {
    grid-template-columns: 1fr;
  }

  .schedule-hero__actions {
    justify-content: flex-start;
  }

  .class-item {
    grid-template-columns: 112px minmax(0, 1fr) auto;
  }

  .class-item__room {
    grid-column: 2;
  }

  .class-item__details {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

@media (max-width: 780px) {
  .schedule-hero {
    min-height: 0;
  }

  .schedule-hero__inner {
    padding-block: 72px 24px;
  }

  .schedule-hero__copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .schedule-view-toggle,
  .schedule-full-view:not(.is-print-ready) {
    display: none;
  }

  .schedule-hero__actions,
  .schedule-hero__actions .btn {
    width: 100%;
  }

  .schedule-filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-filter-bar > span,
  .schedule-filter[data-schedule-filter="all"] {
    grid-column: 1 / -1;
  }

  .schedule-filter {
    width: 100%;
    padding-inline: 9px;
  }

  .schedule-content-section {
    padding-top: 22px;
  }
}

@media (max-width: 680px) {
  .schedule-modal .weekly-session {
    cursor: default;
  }

  .class-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
  }

  .class-item time,
  .class-item__activity,
  .class-item__room {
    grid-column: 1;
  }

  .class-item__activity--desktop {
    display: none;
  }

  .class-item__activity--mobile {
    display: inline;
  }

  .class-item__room {
    margin-top: 4px;
  }

  .class-item__details {
    grid-column: 2;
    grid-row: 1 / 4;
  }

  .schedule-room-legend {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .schedule-hero__inner {
    padding-inline: 14px;
  }

  .schedule-tab {
    min-width: 0;
    padding-inline: 2px;
  }

  .schedule-filter {
    font-size: 0.8rem;
  }

  .class-item__details {
    padding-inline: 8px;
  }
}

@page {
  size: A4 landscape;
  margin: 0;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html,
  body {
    width: 297mm !important;
    min-height: 210mm !important;
    padding: 0 !important;
    background: #fff !important;
    color: #111 !important;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .mobile-actions,
  .schedule-hero,
  [data-schedule-day-view],
  .schedule-alert,
  .opening-strip,
  main > .section--compact {
    display: none !important;
  }

  .schedule-content-section {
    display: block !important;
    padding: 0 !important;
  }

  .schedule-content-section .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .schedule-full-view,
  .schedule-full-view[hidden] {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .schedule-print-heading {
    display: block;
    margin-bottom: 4mm;
    color: #111;
  }

  .schedule-print-heading strong {
    color: #d55c00;
  }

  .schedule-print-heading h1 {
    margin: 1mm 0;
    font-size: 20pt;
  }

  .schedule-print-heading p {
    margin: 0;
    color: #444;
    font-size: 8pt;
  }

  .schedule-full-view__head,
  .schedule-room-legend {
    display: none !important;
  }

  .weekly-timeline-wrap {
    overflow: visible !important;
    border-color: #aaa !important;
    background: #fff !important;
  }

  .weekly-timeline {
    --slot-height: 8.5px;
    min-width: 0 !important;
  }

  .weekly-timeline__header {
    position: static;
    border-color: #999;
    background: #ececec !important;
    color: #111;
  }

  .weekly-timeline__corner,
  .weekly-timeline__day-name {
    min-height: 24px;
    padding: 2px;
    color: #111;
    font-size: 7pt;
  }

  .weekly-timeline__time-axis,
  .weekly-timeline__day-track {
    background-image: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(var(--slot-height) - 1px),
      #ddd calc(var(--slot-height) - 1px),
      #ddd var(--slot-height)
    ) !important;
  }

  .weekly-timeline__day-track,
  .weekly-timeline__day-name + .weekly-timeline__day-name {
    border-color: #aaa;
  }

  .weekly-timeline__time {
    padding-right: 3px;
    color: #333;
    font-size: 5.5pt;
  }

  .weekly-session {
    min-height: 0;
    padding: 1px 2px;
    border-color: #d55c00 !important;
    border-radius: 2px;
    background: #fff1e7 !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .weekly-session[data-category="martial"] {
    border-color: #3978aa !important;
    background: #eaf4ff !important;
  }

  .weekly-session__time {
    font-size: 5pt;
  }

  .weekly-session__activity {
    color: #b84f00 !important;
    font-size: 6pt;
  }

  .weekly-session[data-category="martial"] .weekly-session__activity {
    color: #245f91 !important;
  }

  .weekly-session__room {
    color: #444 !important;
    font-size: 4.8pt;
  }
}

/* Schedule v5: centred responsive hero and room-based complete timetable */
.schedule-hero {
  min-height: 0;
  align-items: stretch;
}

.schedule-hero__inner {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  padding-block: clamp(108px, 9vw, 138px) 30px;
}

.schedule-hero__top {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.schedule-hero__copy h1 {
  max-width: 820px;
  font-size: clamp(2.55rem, 5vw, 4.45rem);
}

.schedule-hero__actions {
  justify-content: flex-start;
}

.schedule-filter-bar {
  margin-top: 26px;
}

.schedule-hero .schedule-tabs {
  margin-top: 16px;
}

body.schedule-modal-open {
  overflow: hidden;
}

.schedule-modal {
  width: min(1840px, 96vw);
  max-width: none;
  height: min(92vh, 980px);
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: #101011;
  color: #fff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.72);
}

.schedule-modal[open] {
  display: block;
}

.schedule-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(7px);
}

.schedule-modal__shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.schedule-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #171719, #101011);
}

.schedule-modal__header .eyebrow {
  margin-bottom: 5px;
}

.schedule-modal__header h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.schedule-modal__header p:last-child {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
}

.schedule-modal__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.schedule-modal__close:hover {
  border-color: var(--line-strong);
  background: rgba(240, 127, 25, 0.13);
  color: var(--brand-2);
}

.schedule-modal__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: #0d0d0e;
}

.schedule-modal__status,
.schedule-modal__tools {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.schedule-modal__tools {
  margin-left: auto;
}

.schedule-modal__status > span:first-child {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-modal__status strong {
  color: var(--brand-2);
  font-size: 0.88rem;
}

.schedule-modal__count {
  padding: 5px 9px;
  border: 1px solid rgba(240, 127, 25, 0.3);
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.schedule-modal__hint {
  color: var(--muted);
  font-size: 0.77rem;
}

.schedule-zoom {
  display: inline-grid;
  grid-template-columns: 38px 62px 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #151516;
}

.schedule-zoom button {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.schedule-zoom button:last-child {
  border-right: 0;
}

.schedule-zoom button:hover:not(:disabled) {
  background: rgba(240, 127, 25, 0.14);
  color: var(--brand-2);
}

.schedule-zoom button:disabled {
  color: #5e5e61;
  cursor: not-allowed;
}

.schedule-modal__print {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.8rem;
}

.schedule-modal__viewport {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
  touch-action: pan-x pan-y pinch-zoom;
  padding: 20px 22px 24px;
  background:
    radial-gradient(circle at 92% 4%, rgba(240, 127, 25, 0.09), transparent 25%),
    #080809;
  scrollbar-color: var(--brand) #151515;
}

.weekly-timeline-wrap {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.weekly-timeline-canvas {
  --schedule-zoom: 1;
  width: 100%;
  min-width: var(--timeline-min-width, 1120px);
  zoom: var(--schedule-zoom);
}

.weekly-timeline-section {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c0c0d;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.weekly-timeline-section + .weekly-timeline-section {
  margin-top: 20px;
}

.weekly-timeline-section__head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(240, 127, 25, 0.12), rgba(240, 127, 25, 0.025));
}

.weekly-timeline-section__title {
  margin: 0;
  font-size: 1.35rem;
}

.weekly-timeline-section__count {
  padding: 6px 10px;
  border: 1px solid rgba(240, 127, 25, 0.3);
  border-radius: 999px;
  color: var(--brand-2);
  font-size: 0.76rem;
  font-weight: 850;
}

.weekly-timeline-section .weekly-timeline {
  --slot-height: 16px;
  width: 100%;
  min-width: 0;
}

.weekly-timeline-section .weekly-timeline__header {
  top: 0;
}

.weekly-timeline-section .weekly-session {
  height: max(calc(var(--duration-slots) * var(--slot-height) - 4px), 28px);
  padding: 4px 6px;
}

.weekly-timeline-section .weekly-session__time {
  font-size: 0.64rem;
}

.weekly-timeline-section .weekly-session__activity {
  font-size: 0.73rem;
}

.weekly-timeline-section .weekly-session__level {
  color: #d0d0cc;
  font-size: 0.61rem;
  line-height: 1.05;
}

.weekly-timeline-section--rooms-2 .weekly-session__time {
  font-size: 0.7rem;
}

.weekly-timeline-section--rooms-2 .weekly-session__activity {
  font-size: 0.86rem;
}

.weekly-timeline-section--rooms-2 .weekly-session__level {
  font-size: 0.68rem;
}

.weekly-timeline-section .weekly-session__room {
  font-size: 0.62rem;
}

/* Las sesiones de 30 minutos no fuerzan dos líneas dentro de un bloque corto. */
.weekly-timeline-section .weekly-session.is-compact {
  min-height: 0;
  justify-content: center;
  padding: 2px 5px;
}

.weekly-timeline-section .weekly-session.is-compact .weekly-session__time {
  display: none;
}

.weekly-timeline-section .weekly-session.is-compact .weekly-session__activity {
  font-size: 0.7rem;
  line-height: 1.05;
}

.weekly-timeline-section .weekly-session.is-compact .weekly-session__level {
  display: none;
}

.weekly-timeline-section--rooms-2 .weekly-session.is-compact .weekly-session__activity {
  font-size: 0.8rem;
}

.weekly-timeline-section .weekly-session__duration {
  color: #fff;
}

.schedule-tab [data-schedule-tab-date] {
  font-variant-numeric: tabular-nums;
  text-transform: lowercase;
}

.schedule-filter__label--mobile {
  display: none;
}

@media (max-width: 680px) {
  .schedule-filter__label--desktop {
    display: none;
  }

  .schedule-filter__label--mobile {
    display: inline;
    white-space: nowrap;
  }
}

.schedule-modal__footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 28px;
  border-top: 1px solid var(--line);
  background: #111112;
}

.schedule-modal__footer .schedule-room-legend {
  margin: 0;
  padding: 0;
  border: 0;
}

.schedule-modal__footer .btn {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.8rem;
}

@media (max-width: 780px) {
  .schedule-hero__inner {
    padding-block: 78px 24px;
  }

  .schedule-view-toggle {
    display: inline-flex;
  }

  .schedule-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-hero__actions .btn {
    width: auto;
    min-width: 0;
    padding-inline: 12px;
  }

  .schedule-modal {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .schedule-modal__header {
    gap: 14px;
    padding: 16px;
  }

  .schedule-modal__header h2 {
    font-size: 1.45rem;
  }

  .schedule-modal__header p:last-child {
    font-size: 0.83rem;
  }

  .schedule-modal__toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 16px;
  }

  .schedule-modal__tools {
    width: 100%;
    justify-content: space-between;
  }

  .schedule-modal__hint {
    display: none;
  }

  .schedule-modal__viewport {
    padding: 12px;
  }

  .schedule-modal__footer {
    padding: 10px 16px;
  }

  .schedule-modal__footer .schedule-room-legend {
    display: none;
  }

  .schedule-modal__footer .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .schedule-hero__actions {
    grid-template-columns: 1fr;
  }

  .schedule-modal__header p:last-child,
  .schedule-modal__print {
    display: none;
  }

  .schedule-modal__tools {
    justify-content: flex-start;
  }
}

@media print {
  html,
  body.schedule-modal-open,
  body.schedule-printing {
    overflow: visible !important;
    margin: 0 !important;
    background: #fff !important;
  }

  .schedule-browser > :not(.schedule-modal) {
    display: none !important;
  }

  .schedule-modal,
  .schedule-modal[open] {
    position: static !important;
    inset: auto !important;
    width: 297mm !important;
    max-width: none !important;
    height: auto !important;
    min-height: 210mm !important;
    max-height: none !important;
    display: block !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding: 5mm !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .schedule-modal::backdrop {
    display: none !important;
    background: transparent !important;
  }

  .schedule-modal__shell {
    height: auto !important;
    display: block !important;
    background: #fff !important;
  }

  .schedule-modal__header,
  .schedule-modal__toolbar,
  .schedule-modal__footer {
    display: none !important;
  }

  .schedule-print-header {
    min-height: 19mm;
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 7mm;
    margin: 0 0 2.2mm !important;
    padding: 0 2mm 2.4mm !important;
    border: 0 !important;
    border-bottom: 0.45mm solid #171717 !important;
    background: #fff !important;
    color: #111 !important;
    break-inside: avoid;
  }

  .schedule-print-header__brand {
    min-width: 0;
    padding-right: 6mm;
    border-right: 0.35mm solid #333;
  }

  .schedule-print-header__brand img {
    width: 72mm !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: grayscale(1) brightness(0.12) contrast(1.35);
  }

  .schedule-print-header__brand p,
  .schedule-print-header__copy p {
    margin: 1.2mm 0 0 !important;
  }

  .schedule-print-header__brand p {
    display: flex;
    align-items: center;
    gap: 1.5mm;
    color: #343434 !important;
    font-size: 8.3pt !important;
    font-weight: 650;
    white-space: nowrap;
  }

  .schedule-print-header__brand p span {
    color: #e96609 !important;
    font-size: 5pt !important;
  }

  .schedule-print-header__copy h1 {
    margin: 0 !important;
    color: #111 !important;
    font-size: 20pt !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0.025em;
    text-transform: uppercase;
  }

  .schedule-print-header__claim {
    color: #222 !important;
    font-size: 10pt !important;
    font-weight: 750;
  }

  .schedule-print-header__hours {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8mm 1.6mm;
    color: #252525 !important;
    font-size: 8.2pt !important;
    font-weight: 650;
    line-height: 1.25;
  }

  .schedule-print-header__hours strong {
    color: #222 !important;
  }

  .schedule-print-subhead {
    display: none !important;
  }

  .schedule-print-subhead p,
  .schedule-print-subhead span {
    margin: 0 !important;
  }

  .schedule-print-subhead p {
    font-size: 10pt !important;
    font-weight: 900;
    text-transform: uppercase;
  }

  .schedule-print-subhead span {
    color: #2a2a2a !important;
    font-size: 8.2pt !important;
    font-weight: 650;
  }

  .schedule-modal__viewport {
    overflow: visible !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .weekly-timeline-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: #fff !important;
  }

  .weekly-timeline-canvas {
    width: 100% !important;
    min-width: 0 !important;
    zoom: 1 !important;
  }

  .weekly-timeline-section {
    width: 100% !important;
    overflow: hidden !important;
    break-inside: avoid;
    border: 0.25mm solid #8d8d8d !important;
    border-radius: 1.5mm !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .weekly-timeline-section + .weekly-timeline-section {
    margin-top: 2mm !important;
  }

  .weekly-timeline-section__head {
    min-height: 0 !important;
    padding: 1.2mm 2.5mm !important;
    border-color: #999 !important;
    background: #f4f4f4 !important;
    color: #111 !important;
  }

  .weekly-timeline-section__count {
    color: #b84f00 !important;
    font-size: 6.3pt !important;
  }

  .weekly-timeline-section__title {
    color: #111 !important;
    font-size: 10.5pt !important;
  }

  .weekly-timeline-section .weekly-timeline {
    /* Aprovecha la altura completa del A4 y evita el gran vacío bajo el pie. */
    --slot-height: 11.2px;
    width: 100% !important;
    min-width: 0 !important;
  }

  .weekly-timeline__header {
    position: static !important;
    grid-template-columns: 43px minmax(0, 1fr) !important;
    background: #efefef !important;
    color: #111 !important;
  }

  .weekly-timeline__body {
    grid-template-columns: 43px repeat(var(--timeline-columns), minmax(0, 1fr)) !important;
  }

  .weekly-timeline__corner,
  .weekly-timeline__day-name {
    min-height: 19px !important;
    padding: 1.2px !important;
    color: #111 !important;
    font-size: 7.2pt !important;
  }

  .weekly-timeline__room-name {
    min-height: 21px !important;
    gap: 2px !important;
    padding: 1px !important;
    border-color: #aaa !important;
    color: #333 !important;
    font-size: 5.5pt !important;
    line-height: 1.05 !important;
  }

  .weekly-timeline__room-dot {
    width: 4px !important;
    height: 4px !important;
  }

  .weekly-timeline__time-axis,
  .weekly-timeline__day-track {
    background-image: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(var(--slot-height) - 1px),
      #dedede calc(var(--slot-height) - 1px),
      #dedede var(--slot-height)
    ) !important;
  }

  .weekly-timeline__day-track,
  .weekly-timeline__header-grid,
  .weekly-timeline__room-name {
    border-color: #b8b8b8 !important;
  }

  .weekly-timeline__day-name + .weekly-timeline__day-name,
  .weekly-timeline__room-name.is-day-start,
  .weekly-timeline__day-track.is-day-start {
    border-left: 1.4px solid #777 !important;
  }

  .weekly-timeline__time {
    padding-right: 3px !important;
    color: #2d2d2d !important;
    font-size: 5.4pt !important;
    font-weight: 650;
  }

  .weekly-timeline__time.is-start {
    transform: translateY(1px) !important;
  }

  .weekly-timeline__time.is-end {
    transform: translateY(calc(-100% - 1px)) !important;
  }

  .weekly-timeline-section .weekly-session {
    top: calc(var(--start-slot) * var(--slot-height) + 1px) !important;
    left: calc((100% / var(--lanes)) * var(--lane) + 1px) !important;
    width: calc((100% / var(--lanes)) - 2px) !important;
    height: max(calc(var(--duration-slots) * var(--slot-height) - 2px), 18px) !important;
    justify-content: center !important;
    padding: 1px 2.5px !important;
    border-radius: 2px !important;
    box-shadow: none !important;
  }

  .weekly-timeline-section .weekly-session__time {
    font-size: 6.3pt !important;
    line-height: 1.05 !important;
  }

  .weekly-timeline-section .weekly-session__activity {
    display: block !important;
    width: 100%;
    font-size: 7.4pt !important;
    line-height: 1.05 !important;
  }

  .weekly-timeline-section .weekly-session.is-compact .weekly-session__activity {
    font-size: 6pt !important;
    letter-spacing: -0.025em;
  }

  .weekly-timeline-section .weekly-session__level {
    display: block !important;
    width: 100%;
    color: #292929 !important;
    font-size: 6pt !important;
    font-weight: 750 !important;
    line-height: 1.05 !important;
    overflow: hidden !important;
    max-height: 2.1em;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .weekly-timeline-section--rooms-2 .weekly-session__time {
    font-size: 6.8pt !important;
  }

  .weekly-timeline-section--rooms-2 .weekly-session__activity {
    font-size: 8.2pt !important;
  }

  .weekly-timeline-section--rooms-2 .weekly-session__level {
    font-size: 6.7pt !important;
  }

  .weekly-timeline-section--rooms-2 .weekly-session.is-compact .weekly-session__activity {
    font-size: 7.5pt !important;
  }

  .weekly-timeline-section .weekly-session__duration {
    color: #111 !important;
  }

  .schedule-print-footer {
    min-height: 11.5mm;
    display: grid !important;
    grid-template-columns: 1.18fr 1fr 1fr 1fr 1.38fr 0.9fr;
    align-items: stretch;
    gap: 0;
    margin-top: 0.5mm !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    break-inside: avoid;
  }

  .schedule-print-footer__included,
  .schedule-print-footer__item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 1.6mm;
    padding: 1.7mm 1.8mm;
    border-left: 0.25mm solid #bdbdbd;
  }

  .schedule-print-footer__included {
    border-left: 0 !important;
    background: #161616 !important;
    color: #fff !important;
  }

  .schedule-print-footer__included strong {
    font-size: 8pt !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
  }

  .schedule-print-footer__icon {
    flex: 0 0 auto;
    width: 6mm;
    height: 6mm;
    display: grid;
    place-items: center;
    border: 0.3mm solid #222;
    border-radius: 50%;
    color: #111 !important;
    font-size: 11pt !important;
    font-weight: 900;
    line-height: 1;
  }

  .schedule-print-footer__icon--brand {
    border: 0 !important;
  }

  .schedule-print-footer__icon--brand img {
    width: 6mm !important;
    height: 6mm !important;
    object-fit: contain;
  }

  .schedule-print-footer__included .schedule-print-footer__icon {
    border-color: #fff;
    color: #fff !important;
  }

  .schedule-print-footer__item p {
    min-width: 0;
    margin: 0 !important;
    line-height: 1.08 !important;
  }

  .schedule-print-footer__item strong,
  .schedule-print-footer__item span {
    display: block;
  }

  .schedule-print-footer__item strong {
    color: #111 !important;
    font-size: 9pt !important;
  }

  .schedule-print-footer__item p span {
    margin-top: 0.5mm;
    overflow: hidden;
    color: #222 !important;
    font-size: 7.8pt !important;
    font-weight: 750 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .schedule-print-footer__item--email p span {
    font-size: 8.6pt !important;
  }

  .schedule-print-footer__item--whatsapp p span,
  .schedule-print-footer__item--web p span {
    font-size: 8.8pt !important;
  }
}

/* Responsive pricing layout */
@media (max-width: 1080px) {
  .pricing-grid.pricing-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid.pricing-grid--count-5 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .pricing-grid--count-5 .price-card {
    grid-column: span 2;
  }

  .pricing-grid--count-5 .price-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .pricing-grid--count-5 .price-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 980px) and (min-width: 681px) {
  .pricing-grid.pricing-grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .pricing-grid.pricing-grid--count-3,
  .pricing-grid.pricing-grid--count-4,
  .pricing-grid.pricing-grid--count-5 {
    grid-template-columns: 1fr;
  }

  .pricing-grid--count-5 .price-card,
  .pricing-grid--count-5 .price-card:nth-child(4),
  .pricing-grid--count-5 .price-card:nth-child(5) {
    grid-column: auto;
  }

  .pricing-grid--monthly .price-card--accent {
    order: -1;
  }

  .pricing-section .price-card {
    min-height: 0;
    padding: 20px;
  }

  .pricing-grid--count-5 .price-card {
    padding: 20px;
  }

  .pricing-section .price-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .pricing-section .price-card__heading {
    min-width: 0;
  }

  .pricing-section .price-card__amount {
    flex: 0 0 auto;
    margin: 2px 0 0;
    font-size: clamp(2.25rem, 11vw, 3rem);
    text-align: right;
  }

  .pricing-section .price-card__text {
    margin: 16px 0 0;
  }

  .pricing-section .price-card .btn {
    width: 100%;
    margin-top: 17px;
  }
}
