@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter/inter-latin-400-700-v20.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("../assets/fonts/oswald/oswald-latin-500-700-v57.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --black: #050505;
  --black-soft: #0d0d0d;
  --white: #f7f7f4;
  --paper: #e8e8e3;
  --grey: #a4a4a0;
  --grey-dark: #666663;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(5, 5, 5, 0.16);
  --header-height: 88px;
  --max-width: 1440px;
  --page-pad: clamp(20px, 4.5vw, 76px);
  --section-space: clamp(88px, 11vw, 180px);
  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", Arial, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--black);
  background: var(--white);
}

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

a {
  color: inherit;
}

button {
  color: inherit;
  font: inherit;
}

address {
  font-style: normal;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--black);
  background: var(--white);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

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

.section-shell {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-light {
  color: var(--black);
  background: var(--paper);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  padding: 18px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
  transition:
    min-height 250ms ease,
    padding 250ms ease,
    background 250ms ease,
    border-color 250ms ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-color: var(--line-dark);
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(18px);
}

.main-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.15vw, 38px);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.69rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--white);
  transition: right 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  right: 0;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 22px);
  flex-shrink: 0;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.language-button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  background: none;
  cursor: pointer;
}

.language-button.is-active,
.language-button:hover,
.language-button:focus-visible {
  color: var(--white);
}

.menu-button {
  display: none;
  position: relative;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: var(--white);
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero — original first component retained */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.08) 45%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.25),
      transparent 45%,
      rgba(0, 0, 0, 0.16)
    );
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(680px, 74vw);
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  animation: hero-in 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.scroll-indicator {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.scroll-line::after {
  content: "";
  display: block;
  width: 1px;
  height: 22px;
  background: var(--white);
  animation: scroll-line 1.8s ease-in-out infinite;
}

/* Global typography */
.eyebrow {
  margin: 0 0 20px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.67rem;
  font-weight: 700;
}

.section-light .eyebrow {
  color: var(--grey-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-transform: uppercase;
}

h1,
h2 {
  margin-bottom: 0;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.6rem, 8vw, 8.5rem);
}

h2 {
  font-size: clamp(3.1rem, 6.6vw, 7.4rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.4vw, 4.1rem);
  line-height: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.69rem;
  font-weight: 700;
}

.text-link span:last-child {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.text-link:hover span:last-child,
.text-link:focus-visible span:last-child {
  transform: translate(3px, -3px);
}

/* Academy overview */

/* Section heading */
.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.55fr);
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(54px, 8vw, 110px);
}

/* Programs */

.program-tag {
  margin-bottom: 24px;
  color: var(--grey-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.64rem;
  font-weight: 700;
}

/* Facilities */

/* Team */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 58px;
  margin-top: 38px;
  padding: 16px 20px;
  border: 1px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.69rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.button-light {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: transparent;
}

.history-image-y-30 { object-position: 50% 30%; }
.history-image-y-37 { object-position: 50% 37%; }
.history-image-y-42 { object-position: 50% 42%; }
.history-image-y-45 { object-position: 50% 45%; }
.history-image-y-46 { object-position: 50% 46%; }
.history-image-y-48 { object-position: 50% 48%; }
.history-image-y-68 { object-position: 50% 68%; }

.footer-logo {
  width: 240px;
  filter: brightness(0);
}

.footer-legal-identity {
  display: block;
  max-width: 300px;
  margin-top: 10px;
  color: rgba(5, 5, 5, 0.62);
  font-size: 0.72rem;
  line-height: 1.55;
}

.not-found-copy {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.not-found-actions {
  margin-top: 36px;
}

.floating-whatsapp {
  position: fixed;
  z-index: 800;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--white);
  color: var(--black);
  background: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease;
}

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

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scroll-line {
  0% {
    transform: translateY(-24px);
  }
  60%,
  100% {
    transform: translateY(54px);
  }
}

/* Tablet */
@media (max-width: 1120px) {
  /* Keep the menu trigger inside the viewport at every tablet width. */
  .site-header,
  .site-header.is-scrolled {
    display: flex;
    align-items: center;
    padding-right: calc(var(--page-pad) + 64px);
  }

  .header-actions {
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
  .menu-button {
    position: absolute;
    top: 50%;
    right: var(--page-pad);
    z-index: 3;
    display: block;
    margin: 0;
    transform: translateY(-50%);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 110px var(--page-pad) 60px;
    background: rgba(5, 5, 5, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 220ms ease,
      visibility 220ms ease,
      transform 220ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--display);
    font-size: clamp(2rem, 7vw, 4rem);
    letter-spacing: 0;
  }

  .main-nav a::after {
    display: none;
  }

}

/* Mobile */
@media (max-width: 720px) {
  :root {
    --header-height: 72px;
    --page-pad: 20px;
    --section-space: 88px;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: var(--header-height);
    padding: 12px calc(var(--page-pad) + 54px) 12px var(--page-pad);
    gap: 12px;
  }

  .header-actions {
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    gap: 12px;
  }

  .language-switch {
    font-size: 0.65rem;
  }

  .menu-button {
    right: var(--page-pad);
    width: 42px;
    height: 42px;
  }

  .hero-logo {
    width: min(520px, 84vw);
  }

  .scroll-indicator {
    bottom: 18px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5.2rem);
  }

  h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-logo {
    width: 190px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 0 14px;
  }

  .floating-whatsapp span:first-child {
    display: none;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Navigation structure v4: dropdown + internal pages
   These rules intentionally come last so they override the
   previous header experiment without affecting page content.
   ========================================================= */

/* Desktop navigation */
.main-nav {
  overflow: visible;
}

.main-nav > a,
.nav-dropdown-trigger {
  position: relative;
  min-height: 42px;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--body);
  font-size: 0.69rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease;
}

.main-nav > a::after,
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--white);
  transition: right 180ms ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible,
.main-nav > a.is-active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-item-dropdown.is-open > .nav-dropdown-trigger {
  color: var(--white);
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after,
.main-nav > a.is-active::after,
.nav-dropdown-trigger:hover::after,
.nav-dropdown-trigger:focus-visible::after {
  right: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 13px);
  left: -20px;
  z-index: 20;
  width: max-content;
  min-width: 310px;
  padding: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown,
.nav-item-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-dropdown a {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  font-weight: 600;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-dropdown a:last-child {
  border-bottom: 0;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-dropdown a::after {
  display: none;
}

/* Header actions: online portal button followed by the language switch. */
.header-actions {
  min-width: max-content;
}

/* Internal pages */
.internal-page {
  background: var(--black);
}

.internal-page .site-header {
  background: rgba(5, 5, 5, 0.96);
  border-color: var(--line-dark);
  backdrop-filter: blur(18px);
}

.internal-hero {
  min-height: min(760px, 82svh);
  padding: clamp(170px, 18vw, 260px) 0 clamp(90px, 10vw, 150px);
  display: flex;
  align-items: flex-end;
}

.internal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.55fr);
  gap: clamp(50px, 9vw, 150px);
  align-items: end;
}

.internal-hero h1 {
  max-width: 900px;
}

.internal-hero-copy {
  max-width: 540px;
  margin: 0 0 8px;
  color: var(--grey);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.schedule-section {
  padding: var(--section-space) 0;
  scroll-margin-top: var(--header-height);
}

.visit-button {
  width: fit-content;
  color: var(--white);
  background: var(--black);
}

/* Tablet / mobile navigation */
@media (max-width: 1120px) {
  .site-header,
  .site-header.is-scrolled {
    padding-right: calc(var(--page-pad) + 64px);
  }

  .header-actions {
    margin-left: 0;
  }

  .main-nav {
    overflow-y: auto;
    justify-content: flex-start;
    padding-top: 118px;
  }

  .main-nav > a,
  .nav-item,
  .nav-dropdown-trigger {
    width: 100%;
  }

  .main-nav > a,
  .nav-dropdown-trigger {
    min-height: 64px;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--display);
    font-size: clamp(2rem, 7vw, 4rem);
    letter-spacing: 0;
  }

  .main-nav > a::after,
  .nav-dropdown-trigger::after {
    display: none;
  }

  .nav-item {
    display: block;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 320ms ease;
  }

  .nav-item-dropdown:hover .nav-dropdown,
  .nav-item-dropdown:focus-within .nav-dropdown {
    max-height: 0;
  }

  .nav-item-dropdown.is-open .nav-dropdown {
    max-height: 360px;
  }

  .nav-dropdown a {
    min-height: 46px;
    padding: 11px 0 11px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--body);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .internal-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .header-actions {
    width: auto;
  }

  .language-switch {
    font-size: 0.68rem;
  }

  .internal-hero {
    min-height: 72svh;
    padding-top: 150px;
  }

  .internal-hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.4rem);
  }

}

@media (max-width: 360px) {
  .internal-hero h1 {
    font-size: clamp(2.75rem, 14.5vw, 3.4rem);
  }
}

/* =========================================================
   Navigation v9: homepage link + arrow-only dropdown trigger
   ========================================================= */

/* Only this arrow button opens and closes the submenu. */
.nav-academy-control .nav-dropdown-trigger {
  width: 30px;
  min-width: 30px;
  min-height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  cursor: pointer;
}

.nav-academy-control .nav-dropdown-trigger::after {
  display: none;
}

.nav-academy-control .nav-dropdown-trigger:hover,
.nav-academy-control .nav-dropdown-trigger:focus-visible,
.nav-item-dropdown.is-open .nav-dropdown-trigger {
  color: var(--white);
}

/* Do not open on hover: the arrow button is the only trigger. */
@media (min-width: 1121px) {
  .nav-item-dropdown:hover .nav-dropdown,
  .nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
  }

  .nav-item-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .nav-academy-control .nav-dropdown-trigger {
    width: 58px;
    min-width: 58px;
    min-height: 64px;
    flex: 0 0 58px;
    border-left: 1px solid var(--line-dark);
    font-size: 1rem;
  }

}

/* =========================================================
   Navigation v10: arrow state, combined history page,
   and internal products catalogue
   ========================================================= */

/* Closed: arrow points up. Open: arrow rotates down and moves slightly. */

/* =========================================================
   Navigation v11: products before locations + locations page
   ========================================================= */
.product-category {
  padding: clamp(72px, 9vw, 142px) 0;
  scroll-margin-top: var(--header-height);
  border-top: 1px solid var(--line-light);
}

.product-category-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
}

.product-category-heading h2 {
  margin: 0;
}

.product-category-heading > p {
  max-width: 470px;
  margin: 0 0 7px auto;
  color: var(--grey-dark);
  font-size: 1rem;
  line-height: 1.65;
}

.product-grid {
  margin-top: clamp(44px, 6vw, 86px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
}

.product-card {
  min-width: 0;
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #deded9;
}

.product-image img {
  width: 100%;
  height: 100%;
  padding: clamp(18px, 2.5vw, 38px);
  object-fit: contain;
  transition: opacity 180ms ease, transform 400ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.product-card-content {
  min-height: 112px;
  padding: 22px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-light);
}

.product-kicker {
  margin: 0 0 10px;
  color: var(--grey-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.64rem;
  font-weight: 700;
}

.product-card-content h3 {
  margin: 0;
  color: var(--black);
  font-size: clamp(1.65rem, 2vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.product-colors {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.product-color {
  position: relative;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 1px solid rgba(5, 5, 5, 0.55);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-color-white {
  background: #fff;
}

.product-color-black {
  background: #050505;
}

.product-color:hover {
  transform: scale(1.12);
}

.product-color.is-active {
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px #050505;
}

.product-color:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 4px;
}

/* Tighter homepage rhythm requested after the philosophy update. */

/* Mobile menu must remain viewport-sized after the fixed header becomes blurred. */
@media (max-width: 1120px) {
  body.menu-open .site-header,
  body.menu-open .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #050505;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    z-index: 2;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #050505;
  }

  body.menu-open .floating-whatsapp {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .product-category-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-category-heading > p {
    margin-left: 0;
  }

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

}

@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card-content {
    min-height: 96px;
    padding-top: 18px;
  }

  .product-color {
    width: 25px;
    height: 25px;
  }

}

/* ===== Philosophy visual redesign ===== */

/* Philosophy uses a screen capture and a clearer title. */

.site-footer {
  color: var(--black);
  background: var(--white);
  border-top: 1px solid var(--line-light);
}

.footer-single-row {
  min-height: 172px;
  display: grid;
  grid-template-columns:
    minmax(155px, 0.9fr)
    minmax(190px, 1.15fr)
    minmax(135px, 0.72fr)
    minmax(205px, 1.15fr)
    minmax(125px, 0.72fr);
  align-items: center;
  gap: clamp(20px, 2.2vw, 42px);
  padding-top: 36px;
  padding-bottom: 36px;
}

.footer-identity,
.footer-detail {
  min-width: 0;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  width: min(100%, 170px);
  height: auto;
  filter: none;
}

.footer-detail {
  padding-left: clamp(16px, 1.6vw, 28px);
  border-left: 1px solid var(--line-light);
}

.footer-detail > span {
  display: block;
  margin-bottom: 10px;
  color: var(--grey-dark);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-detail address,
.footer-detail a {
  color: var(--black);
  font-size: clamp(0.72rem, 0.74vw, 0.84rem);
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-detail a:hover,
.footer-detail a:focus-visible {
  text-decoration: underline;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

@media (max-width: 1080px) {
  .footer-single-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    row-gap: 32px;
  }

  .footer-detail:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .footer-single-row {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 46px;
    padding-bottom: 88px;
  }

  .footer-identity {
    padding-bottom: 28px;
  }

  .footer-logo {
    width: 184px;
  }

  .footer-detail,
  .footer-detail:nth-child(4) {
    padding: 20px 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .footer-social-links {
    gap: 9px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    max-width: calc(100vw - 28px);
    padding: 0 16px;
    gap: 0;
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .floating-whatsapp span:first-child {
    display: none;
  }

  .floating-whatsapp span:last-child {
    display: inline;
  }
}

/* One clear dropdown trigger: label and plus/minus symbol. */
.nav-academy-control .nav-dropdown-trigger {
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 8px 0;
  justify-content: flex-start;
  gap: 11px;
}

.nav-toggle-symbol {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.nav-toggle-symbol::before,
.nav-toggle-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-toggle-symbol::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.nav-item-dropdown.is-open .nav-toggle-symbol::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.nav-dropdown-compact {
  min-width: 210px;
}

body[data-page^="academy-"] .academy-menu .nav-dropdown-trigger,
body[data-page^="programs-"] .programs-menu .nav-dropdown-trigger,
body[data-page="products"] .products-menu .nav-dropdown-trigger {
  color: var(--white);
}

@media (max-width: 1120px) {
  .nav-academy-control .nav-dropdown-trigger {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 13px 0;
    justify-content: space-between;
    border-left: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 7vw, 4rem);
    letter-spacing: 0;
  }

  .nav-toggle-symbol {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .nav-toggle-symbol::before,
  .nav-toggle-symbol::after {
    width: 18px;
    height: 2px;
  }
}

/* Text-led philosophy based on the approved reference. */
.philosophy-editorial {
  padding: clamp(86px, 10vw, 150px) 0 clamp(92px, 11vw, 165px);
  scroll-margin-top: var(--header-height);
}

.philosophy-editorial-inner {
  max-width: 1220px;
}

.philosophy-editorial-heading {
  max-width: 960px;
  margin: 0 auto clamp(46px, 6vw, 78px);
  text-align: center;
}

.philosophy-editorial-heading h2 {
  margin: 0;
  font-size: clamp(3.25rem, 6.7vw, 7.4rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.philosophy-divider {
  width: clamp(110px, 14vw, 210px);
  height: 2px;
  margin: clamp(30px, 4vw, 46px) auto 0;
  display: block;
  background: rgba(5, 5, 5, 0.22);
}

.philosophy-editorial-copy {
  max-width: 930px;
  margin: 0 auto;
}

.philosophy-editorial-copy p {
  margin: 0;
  color: #252522;
  font-size: clamp(0.945rem, 1.215vw, 1.116rem);
  line-height: 1.75;
}

.philosophy-editorial-copy p + p {
  margin-top: clamp(26px, 3.2vw, 42px);
}

.philosophy-editorial-copy strong {
  color: var(--black);
  font-weight: 700;
}

/* Homepage: only the two main program paths. */
.programs-overview {
  padding: var(--section-space) 0;
  border-top: 1px solid var(--line-light);
}

.program-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
}

.program-audience-card {
  position: relative;
  min-height: clamp(570px, 54vw, 760px);
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  text-decoration: none;
}

.program-audience-media,
.program-audience-overlay {
  position: absolute;
  inset: 0;
}

.program-audience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.program-audience-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 58%, rgba(0,0,0,.08) 100%);
}

.program-audience-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(28px, 4vw, 56px);
}

.program-audience-content .program-tag {
  color: rgba(255,255,255,.7);
}

.program-audience-content h3 {
  margin: 14px 0 20px;
  font-family: var(--display);
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  line-height: .88;
  text-transform: uppercase;
}

.program-audience-content > p:not(.program-tag) {
  max-width: 510px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(.98rem, 1.15vw, 1.12rem);
}

.program-audience-link {
  margin-top: 28px;
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,.72);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .65rem;
  font-weight: 700;
}

.program-audience-card:hover .program-audience-media img,
.program-audience-card:focus-visible .program-audience-media img {
  transform: scale(1.035);
}

/* Adult and Kids program pages. */

.program-page-start h2 {
  max-width: 760px;
}

.program-page-feature {
  padding: var(--section-space) 0;
}

.program-page-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, .75fr);
  gap: clamp(50px, 9vw, 135px);
  align-items: center;
}

.program-page-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.program-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-page-start p:not(.eyebrow) {
  max-width: 570px;
  color: var(--grey);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.program-page-start .button {
  width: fit-content;
  margin-top: 26px;
}

.program-schedule-link {
  margin-top: 24px;
}

/* Footer: logo aligned with every information block; no copyright line. */
.footer-single-row {
  grid-template-columns:
    minmax(155px, .8fr)
    minmax(190px, 1.15fr)
    minmax(135px, .72fr)
    minmax(205px, 1.15fr)
    minmax(125px, .72fr);
  align-items: center;
}

.footer-identity {
  height: 100%;
  display: flex;
  align-items: center;
}

.footer-logo-link {
  display: flex;
  align-items: center;
}

@media (max-width: 1120px) {
  .philosophy-editorial-heading h2 {
    font-size: clamp(3.2rem, 10vw, 6.5rem);
  }

}

@media (max-width: 820px) {
  .program-audience-grid,

  .program-page-feature-grid {
    grid-template-columns: 1fr;
  }

  .program-audience-card {
    min-height: 590px;
  }
}

@media (max-width: 620px) {
  .philosophy-editorial {
    padding: 72px 0 84px;
  }

  .philosophy-editorial-heading {
    margin-bottom: 38px;
    text-align: left;
  }

  .philosophy-editorial-heading h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .philosophy-divider {
    margin-left: 0;
  }

  .philosophy-editorial-copy p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .program-audience-card {
    min-height: 520px;
  }

  .program-audience-content h3 {
    font-size: clamp(4rem, 21vw, 6rem);
  }

  .footer-identity {
    height: auto;
    padding-bottom: 28px;
  }
}

@media (max-width: 720px) {
  .site-footer {
    overflow: hidden;
  }

  .footer-single-row {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 38px;
    padding-bottom: 104px;
  }

  .footer-single-row > * {
    width: 100%;
    min-width: 0;
  }

  .footer-identity {
    height: auto;
    display: block;
    padding: 0 0 30px;
  }

  .footer-logo-link {
    display: inline-flex;
    align-items: center;
  }

  .footer-logo {
    width: 158px;
    max-width: 100%;
    height: auto;
  }

  .footer-detail,
  .footer-detail:nth-child(4) {
    width: 100%;
    padding: 22px 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .footer-detail > span {
    margin-bottom: 8px;
    font-size: 0.62rem;
  }

  .footer-detail address,
  .footer-detail a {
    display: inline-block;
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    max-width: calc(100vw - 28px);
    padding: 0 17px;
    gap: 0;
    white-space: nowrap;
  }

  .floating-whatsapp span:first-child {
    display: none;
  }

  .floating-whatsapp span:last-child {
    display: inline;
  }
}

@media (min-width: 1181px) {
  .footer-single-row {
    display: grid;
    grid-template-columns:
      minmax(150px, 0.8fr)
      minmax(190px, 1.15fr)
      minmax(135px, 0.72fr)
      minmax(215px, 1.2fr)
      minmax(125px, 0.72fr);
    align-items: center;
    gap: clamp(20px, 2vw, 38px);
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

@media (max-width: 1180px) {
  .site-footer {
    overflow: hidden;
  }

  .footer-single-row {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding-top: 40px;
    padding-bottom: 116px;
  }

  .footer-single-row > * {
    width: 100%;
    min-width: 0;
  }

  .footer-identity {
    grid-column: 1 / -1;
    height: auto;
    display: block;
    padding: 0 0 30px;
  }

  .footer-logo-link {
    display: inline-flex;
    align-items: center;
  }

  .footer-logo {
    width: 168px;
    max-width: 100%;
    height: auto;
  }

  .footer-detail,
  .footer-detail:nth-child(4) {
    width: 100%;
    padding: 22px 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .footer-detail:nth-child(3),
  .footer-detail:nth-child(5) {
    padding-left: clamp(24px, 4vw, 48px);
    border-left: 1px solid var(--line-light);
  }

  .footer-detail address,
  .footer-detail a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
  }
}

@media (max-width: 720px) {
  .footer-single-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 36px;
    padding-bottom: 96px;
  }

  .footer-identity {
    padding-bottom: 26px;
  }

  .footer-logo {
    width: 156px;
  }

  .footer-detail,
  .footer-detail:nth-child(3),
  .footer-detail:nth-child(4),
  .footer-detail:nth-child(5) {
    padding: 20px 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .footer-detail > span {
    margin-bottom: 8px;
  }

  .footer-detail address,
  .footer-detail a {
    display: inline-block;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .footer-social-links {
    gap: 10px 18px;
  }

  .floating-whatsapp {
    min-height: 48px;
    padding: 0 16px;
    font-size: 0.62rem;
    white-space: nowrap;
  }

  body[data-page="academy-visitar"] .floating-whatsapp {
    display: none;
  }
}

.schedule-section {
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(90px, 10vw, 150px);
}

.schedule-board {
  margin-top: clamp(44px, 6vw, 82px);
  display: grid;
  gap: clamp(54px, 7vw, 96px);
}

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

.schedule-mat-heading {
  min-height: 74px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line-light);
}

.schedule-mat-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.schedule-swipe-note {
  display: none;
  margin: 0 0 3px auto;
  color: var(--grey-dark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.schedule-table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--black) transparent;
}

.schedule-table-scroll:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 5px;
}

.schedule-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
  background: rgba(255, 255, 255, 0.24);
}

.schedule-table th,
.schedule-table td {
  height: 82px;
  padding: 10px 8px;
  border: 1px solid rgba(5, 5, 5, 0.26);
  text-align: center;
  vertical-align: middle;
}

.schedule-table thead th {
  height: 46px;
  padding: 9px 8px;
  color: var(--white);
  background: var(--black);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule-table thead .schedule-time-heading {
  width: 88px;
}

.schedule-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 88px;
  color: var(--black);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.schedule-table td:empty {
  background: rgba(255, 255, 255, 0.13);
}

.schedule-session {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.schedule-session-secondary {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(5, 5, 5, 0.22);
}

.schedule-table-compact th,
.schedule-table-compact td {
  height: 72px;
}

@media (max-width: 1180px) {
  .schedule-swipe-note {
    display: block;
  }

  .schedule-table-scroll {
    padding-bottom: 10px;
  }
}

@media (max-width: 720px) {
  .schedule-section {
    padding-top: 58px;
    padding-bottom: 90px;
  }

  .schedule-board {
    margin-top: 42px;
    gap: 64px;
  }

  .schedule-mat-heading {
    min-height: 62px;
    gap: 12px;
    padding-bottom: 14px;
  }

  .schedule-mat-heading h3 {
    font-size: 2.8rem;
  }

  .schedule-swipe-note {
    max-width: 150px;
    text-align: right;
    line-height: 1.35;
  }

  .schedule-table {
    min-width: 900px;
  }

  .schedule-table th,
  .schedule-table td {
    height: 76px;
  }

  .schedule-table thead .schedule-time-heading,
  .schedule-table tbody th {
    width: 76px;
  }
}

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

@media (max-width: 900px) {
  .schedule-table-scroll,
  .schedule-swipe-note {
    display: none;
  }

  .schedule-mobile-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-top: 18px;
  }

  .schedule-day-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(5, 5, 5, 0.22);
    background: rgba(255, 255, 255, 0.3);
  }

  .schedule-day-card h4 {
    margin: 0;
    padding: 13px 16px;
    color: var(--white);
    background: var(--black);
    font-family: var(--body);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .schedule-day-sessions {
    display: grid;
  }

  .schedule-mobile-session {
    min-width: 0;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: stretch;
    border-top: 1px solid rgba(5, 5, 5, 0.16);
  }

  .schedule-mobile-session:first-child {
    border-top: 0;
  }

  .schedule-mobile-session time {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-right: 1px solid rgba(5, 5, 5, 0.16);
    color: var(--black);
    background: rgba(255, 255, 255, 0.32);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .schedule-mobile-session-names {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 13px 15px;
  }

  .schedule-mobile-session-names span {
    color: var(--black);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
    text-transform: uppercase;
  }

  .schedule-mobile-session-names span + span {
    padding-top: 7px;
    border-top: 1px solid rgba(5, 5, 5, 0.15);
  }
}

@media (max-width: 620px) {
  .schedule-section .section-shell {
    padding-inline: 18px;
  }

  .schedule-board {
    gap: 54px;
  }

  .schedule-mat-heading {
    min-height: 0;
    align-items: center;
  }

  .schedule-mat-heading h3 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .schedule-mobile-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 14px;
  }

  .schedule-mobile-session {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .schedule-mobile-session time {
    padding: 14px 8px;
    font-size: 0.72rem;
  }

  .schedule-mobile-session-names {
    padding: 12px 14px;
  }

  .schedule-mobile-session-names span {
    font-size: 0.68rem;
  }
}

body[data-page^="locations"] .locations-menu .nav-dropdown-trigger {
  color: var(--white);
}

.locations-directory {
  padding: var(--section-space) 0;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(54px, 7vw, 96px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.country-card {
  min-height: clamp(320px, 34vw, 510px);
  padding: clamp(28px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  color: var(--black);
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease;
}

.country-card + .country-card {
  border-left: 1px solid var(--line-light);
}

.country-card:hover,
.country-card:focus-visible {
  color: var(--white);
  background: var(--black);
}

.country-card-number {
  color: var(--grey-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.country-card-name {
  margin-top: auto;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.country-card-link {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid currentColor;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.location-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(54px, 7vw, 96px);
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.location-card {
  min-width: 0;
  min-height: 330px;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.location-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--grey-dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.location-card h3 {
  max-width: 560px;
  margin: clamp(42px, 6vw, 74px) 0 24px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.1vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.location-card address {
  max-width: 480px;
  color: #42423f;
  font-size: clamp(0.96rem, 1.15vw, 1.1rem);
  line-height: 1.65;
}

.location-phone {
  width: fit-content;
  margin-top: 12px;
  color: var(--black);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

.location-card-links {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.location-card-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.location-card-links a:hover,
.location-card-links a:focus-visible,
.location-phone:hover,
.location-phone:focus-visible {
  text-decoration: underline;
}

.locations-verification-note {
  max-width: 760px;
  margin: clamp(34px, 5vw, 64px) 0 0;
  color: var(--grey-dark);
  font-size: 0.76rem;
  line-height: 1.7;
}

@media (max-width: 900px) {

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

  .country-card {
    min-height: 260px;
  }

  .country-card + .country-card {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

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

@media (max-width: 620px) {
  .locations-directory {
    padding-top: 66px;
    padding-bottom: 90px;
  }

  .country-card {
    min-height: 230px;
    padding: 26px 22px;
  }

  .country-card-name {
    font-size: clamp(3.15rem, 16vw, 5rem);
  }

  .location-card {
    min-height: 300px;
    padding: 28px 22px;
  }

  .location-card h3 {
    margin-top: 46px;
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }
}

/* Consistent external-link icon (prevents emoji rendering on mobile) */
.external-link-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

@media (max-width: 720px) {
  .external-link-icon {
    width: 14px;
    height: 14px;
  }
}

.nav-dropdown-programs {
  min-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
}

.nav-program-group {
  min-width: 0;
}

.nav-program-group + .nav-program-group {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dropdown-programs .nav-program-heading {
  min-height: 48px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-dropdown-programs .nav-program-heading::before {
  content: "";
  width: 18px;
  height: 1px;
  margin-right: 10px;
  background: currentColor;
}

@media (max-width: 1120px) {
  .programs-menu.is-open .nav-dropdown {
    max-height: 720px;
  }

  .nav-dropdown-programs {
    display: block;
    min-width: 0;
    padding: 0;
  }

  .nav-program-group + .nav-program-group {
    padding-left: 0;
    border-left: 0;
  }

  .nav-dropdown-programs .nav-program-heading {
    min-height: 52px;
    padding-left: 18px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
  }

  .nav-dropdown-programs .nav-program-heading::before {
    width: 14px;
  }

}

/* =========================================================
   Team directory — V27
   ========================================================= */
.coaches-section {
  padding: var(--section-space) 0;
}

.coach-rank {
  margin: 0 0 16px;
  color: var(--grey-dark);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.55;
  text-transform: uppercase;
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(42px, 5vw, 78px) clamp(22px, 3vw, 44px);
}

.coach-card {
  min-width: 0;
}

.coach-card-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d7d7d2;
}

.coach-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: none;
  transition: transform 500ms ease;
}

.coach-card-photo img.is-placeholder {
  object-fit: cover;
  filter: none;
}

.coach-card:hover .coach-card-photo img:not(.is-placeholder) {
  transform: scale(1.025);
}

.coach-card-content {
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.coach-card-content h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.coach-card .coach-rank {
  min-height: 2.9em;
  margin-bottom: 14px;
}

@media (max-width: 1120px) {
  .coaches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .coaches-section {
    padding: 72px 0 100px;
  }

  .coaches-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .coach-card .coach-rank {
    min-height: 0;
  }

  .coach-card-content h3 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }
}

/* Footer social icons use SVG so mobile browsers cannot render emoji arrows. */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  text-decoration: none;
}

.footer-social-link .external-link-icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 720px) {
  .footer-social-link {
    gap: 7px;
  }

  .footer-social-link .external-link-icon {
    width: 13px;
    height: 13px;
  }
}

/* =========================================================
   V30 — Facilities page: restrained editorial layout
   ========================================================= */
.facilities-hero {
  position: relative;
  min-height: min(880px, 92svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}

.facilities-hero-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1) contrast(1.02);
}

.facilities-hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.18) 62%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 62%);
}

.facilities-hero-inner {
  width: 100%;
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.facilities-hero-copy {
  max-width: 930px;
}

.facilities-hero-copy h1 {
  max-width: 930px;
  margin: 20px 0 28px;
  font-size: clamp(4rem, 8vw, 8.6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.facilities-hero-copy > p:last-child {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.7;
}

.facilities-overview {
  padding: clamp(92px, 11vw, 170px) 0 clamp(78px, 9vw, 132px);
}

.facilities-overview.facilities-overview-metrics-only {
  padding: clamp(36px, 5vw, 64px) 0 0;
}

.facilities-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(70px, 9vw, 124px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.facilities-overview-metrics-only .facilities-metrics {
  margin-top: 0;
}

.facilities-metric {
  padding: clamp(40px, 5vw, 70px) 0;
}

.facilities-metric + .facilities-metric {
  padding-left: clamp(36px, 6vw, 92px);
  border-left: 1px solid var(--line-light);
}

.facilities-metric strong {
  display: block;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(4.2rem, 7.5vw, 8.4rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.facilities-metric span {
  display: block;
  color: #4c4c48;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facilities-feature {
  padding: clamp(54px, 7vw, 96px) 0;
}

.facilities-feature + .facilities-feature {
  border-top: 1px solid var(--line-light);
}

.facilities-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.facilities-feature-alt .facilities-feature-media {
  grid-column: 2;
}

.facilities-feature-alt .facilities-feature-copy {
  grid-column: 1;
  grid-row: 1;
}

.facilities-feature-media {
  margin: 0;
  overflow: hidden;
  background: #e5e5e1;
}

.facilities-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: none;
}

.facilities-feature-copy h2 {
  max-width: 590px;
  margin: 18px 0 28px;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.facilities-feature-copy > p:last-child {
  max-width: 560px;
  margin: 0;
  color: #4b4b47;
  font-size: clamp(1rem, 1.12vw, 1.1rem);
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .facilities-feature-grid {
    grid-template-columns: 1fr;
  }

  .facilities-feature-alt .facilities-feature-media,
  .facilities-feature-alt .facilities-feature-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .facilities-feature-copy {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .facilities-hero {
    min-height: 82svh;
  }

  .facilities-hero-inner {
    padding-top: calc(var(--header-height) + 72px);
    padding-bottom: 54px;
  }

  .facilities-hero-copy h1 {
    margin: 16px 0 22px;
    font-size: clamp(3.3rem, 16vw, 5.2rem);
    line-height: 0.94;
  }

  .facilities-overview {
    padding: 76px 0 62px;
  }

  .facilities-metrics {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .facilities-metric {
    padding: 38px 0 42px;
  }

  .facilities-metric + .facilities-metric {
    padding-left: 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .facilities-metric strong {
    font-size: clamp(4.4rem, 22vw, 6.6rem);
  }

  .facilities-feature {
    padding: 58px 0 66px;
  }

  .facilities-feature-grid {
    gap: 34px;
  }

  .facilities-feature-media img {
    aspect-ratio: 4 / 3;
  }

  .facilities-feature-copy h2 {
    margin-bottom: 22px;
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  .facilities-hero {
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22)),
      url("../assets/images/facilities/gym-panorama-color.jpg") center/cover;
  }
}

/* Pages whose hero already contains the title and introduction now begin
   directly with their useful content. */
.direct-content-section {
  padding-top: clamp(68px, 8vw, 118px);
}

.direct-content-section .country-grid,
.direct-content-section .location-list,
.direct-content-section .schedule-board {
  margin-top: 0;
}

/* Contact information is integrated into the Visit hero. */
.visit-hero-details {
  display: grid;
  justify-items: start;
  gap: 13px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.visit-hero-details .internal-hero-copy {
  margin-bottom: 18px;
}

.visit-hero-details address {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-style: normal;
  line-height: 1.55;
}

.visit-hero-details > a:not(.button) {
  width: fit-content;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.visit-hero-details > a:not(.button):hover,
.visit-hero-details > a:not(.button):focus-visible {
  color: var(--white);
}

.visit-hero-details .button {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .visit-hero-details {
    margin-top: 0;
  }

  .direct-content-section {
    padding-top: clamp(56px, 10vw, 82px);
  }
}

.program-page-start h2 {
  margin-bottom: clamp(26px, 3vw, 40px);
}

.program-page-start p:not(.eyebrow) {
  margin-bottom: 0;
}

.program-page-start .button {
  display: flex;
  margin-top: clamp(36px, 4vw, 50px);
}

.program-page-start .program-schedule-link {
  display: flex;
  width: fit-content;
  margin-top: clamp(28px, 3vw, 38px);
}

@media (max-width: 620px) {
  .program-page-start h2 {
    margin-bottom: 24px;
  }

  .program-page-start .button {
    margin-top: 34px;
  }

  .program-page-start .program-schedule-link {
    margin-top: 26px;
  }
}

body[data-page="programs-kids"] .program-page-hero-combined,
body[data-page="programs-adults"] .program-page-hero-combined {
  min-height: auto;
  padding: clamp(150px, 14vw, 210px) 0 clamp(64px, 7vw, 96px);
  display: block;
}

.program-page-hero-combined-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.62fr);
  gap: clamp(58px, 9vw, 145px);
  align-items: end;
}

.program-page-hero-combined h1 {
  max-width: 900px;
}

@media (max-width: 820px) {
  .program-page-hero-combined-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

}

@media (max-width: 620px) {
  body[data-page="programs-kids"] .program-page-hero-combined,
  body[data-page="programs-adults"] .program-page-hero-combined {
    padding: 132px 0 58px;
  }

  .program-page-hero-combined-grid {
    gap: 32px;
  }

}

/* Keep dropdown plus/minus symbols at 75% of their original size. */
.nav-toggle-symbol {
  transform: scale(0.75);
  transform-origin: center;
}

/* V34: title-case dropdown labels and country flags. */
.nav-country-link {
  gap: 11px;
}

@media (max-width: 1120px) {
  .nav-country-link {
    justify-content: flex-start;
    gap: 14px;
  }

}

/* Country labels in the navigation remain text-only. */
.nav-country-link {
  gap: 0;
}

/* Keep the location heroes compact on the directory and country pages. */
body[data-page^="locations"] .locations-hero {
  min-height: clamp(470px, 58svh, 590px);
  padding: clamp(138px, 10vw, 176px) 0 clamp(64px, 6.5vw, 96px);
}

/* All country names use exactly the same type size. The name now sits
   directly below its number, while the action remains anchored below. */
body[data-page="locations"] .country-card-name {
  margin-top: clamp(20px, 2vw, 28px);
  font-size: clamp(2.55rem, 3.15vw, 3.35rem);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

body[data-page="locations"] .country-card-link {
  margin-top: auto;
}

@media (max-width: 900px) {
  body[data-page^="locations"] .locations-hero {
    min-height: auto;
    padding: 132px 0 72px;
  }

  body[data-page="locations"] .country-card-name {
    margin-top: 22px;
    font-size: clamp(3rem, 8vw, 4rem);
  }
}

@media (max-width: 620px) {
  body[data-page^="locations"] .locations-hero {
    padding: 124px 0 58px;
  }

  body[data-page="locations"] .country-card-name {
    margin-top: 18px;
    font-size: clamp(2.45rem, 11vw, 3.2rem);
  }
}

body[data-page="locations"] .country-card-link {
  margin-top: clamp(18px, 1.8vw, 28px);
}

@media (max-width: 620px) {
  body[data-page="locations"] .country-card-link {
    margin-top: 16px;
  }
}

body[data-page="locations"] .country-card {
  min-height: 0;
  padding-top: clamp(34px, 3.2vw, 48px);
  padding-bottom: clamp(34px, 3.2vw, 48px);
}

@media (max-width: 900px) {
  body[data-page="locations"] .country-card {
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 34px;
  }
}

@media (max-width: 620px) {
  body[data-page="locations"] .country-card {
    min-height: 0;
    padding: 28px 22px 30px;
  }
}

body[data-page="academy-visitar"] .visit-page-hero {
  min-height: clamp(610px, 76svh, 760px);
}

@media (max-width: 680px) {
  body[data-page="academy-visitar"] .visit-page-hero {
    min-height: auto;
  }

}

.visit-concise-section {
  padding: clamp(82px, 9vw, 132px) 0;
}

.visit-concise-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(64px, 9vw, 140px);
  align-items: end;
}

.visit-concise-header h2 {
  max-width: 760px;
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.2vw, 6.8rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.visit-concise-header > p {
  max-width: 560px;
  margin: 0 0 8px;
  color: #454542;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
}

.visit-concise-grid {
  margin-top: clamp(52px, 6vw, 84px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.visit-concise-card {
  min-width: 0;
  padding: clamp(34px, 4vw, 54px) clamp(24px, 3vw, 48px) clamp(38px, 4.5vw, 60px);
}

.visit-concise-card:first-child {
  padding-left: 0;
}

.visit-concise-card:last-child {
  padding-right: 0;
}

.visit-concise-card + .visit-concise-card {
  border-left: 1px solid var(--line-light);
}

.visit-concise-number {
  display: block;
  color: var(--grey-dark);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.visit-concise-card h3 {
  margin: 30px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 2.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.visit-concise-card p {
  max-width: 470px;
  margin: 20px 0 0;
  color: #454542;
  font-size: clamp(0.96rem, 1.05vw, 1.04rem);
  line-height: 1.68;
}

.visit-walkin-panel,
.visit-pricing {
  margin-top: clamp(58px, 7vw, 96px);
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid var(--line-light);
}

.visit-walkin-panel {
  color: var(--white);
  background: var(--black);
}

.visit-walkin-heading,
.visit-pricing-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: end;
}

.visit-walkin-heading h3,
.visit-pricing-heading h3 {
  max-width: 780px;
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.visit-walkin-heading > p,
.visit-pricing-heading > p {
  margin: 0;
  color: inherit;
  font-size: clamp(0.96rem, 1.05vw, 1.04rem);
  line-height: 1.7;
}

.visit-walkin-heading > p {
  color: rgba(255, 255, 255, 0.72);
}

.visit-walkin-steps {
  margin: clamp(38px, 5vw, 68px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  list-style: none;
}

.visit-walkin-steps li {
  min-width: 0;
  padding: 28px clamp(18px, 2.6vw, 36px) 0;
}

.visit-walkin-steps li:first-child {
  padding-left: 0;
}

.visit-walkin-steps li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.visit-walkin-steps span {
  display: block;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.visit-walkin-steps strong {
  display: block;
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.visit-walkin-steps p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.62;
}

.visit-beginner-note {
  margin-top: clamp(34px, 4vw, 54px);
  padding: clamp(24px, 3vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.visit-beginner-note h4 {
  max-width: 760px;
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.visit-beginner-note > div > p:last-child {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  line-height: 1.65;
}

.visit-beginner-button {
  min-width: 220px;
  margin-top: 0;
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.visit-beginner-button:hover,
.visit-beginner-button:focus-visible {
  color: var(--white);
  background: transparent;
}

.visit-pricing {
  background: rgba(255, 255, 255, 0.3);
}

.visit-day-pass {
  margin-top: clamp(38px, 5vw, 62px);
  padding: clamp(24px, 3vw, 38px);
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  color: var(--white);
  background: var(--black);
}

.visit-day-pass > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.visit-day-pass span {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.8rem);
  font-weight: 700;
}

.visit-day-pass strong {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.visit-day-pass p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.visit-price-groups {
  margin-top: clamp(30px, 4vw, 50px);
  display: grid;
  gap: clamp(34px, 5vw, 64px);
  min-width: 0;
}

.visit-price-group {
  min-width: 0;
}

.visit-price-group h4 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.visit-price-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-light);
}

.visit-price-table-scroll:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

.visit-price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--black);
}

.visit-price-table th,
.visit-price-table td {
  padding: 18px clamp(14px, 2vw, 28px);
  border: 1px solid var(--line-light);
  text-align: center;
}

.visit-price-table thead th {
  color: var(--white);
  background: var(--black);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.visit-price-table thead th:first-child,
.visit-price-table tbody th {
  width: 52%;
  text-align: left;
}

.visit-price-table tbody th {
  font-size: 0.9rem;
  line-height: 1.4;
}

.visit-price-table td {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  white-space: nowrap;
}

.visit-price-note {
  max-width: 900px;
  margin: 28px 0 0;
  color: #565651;
  font-size: 0.86rem;
  line-height: 1.6;
}

.visit-concise-cta {
  padding-top: clamp(34px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.visit-concise-cta p {
  max-width: 640px;
  margin: 0;
  color: #454542;
  line-height: 1.65;
}

.button-dark {
  flex: 0 0 auto;
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--black);
  background: transparent;
}

@media (max-width: 900px) {
  .visit-concise-header {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .visit-concise-grid {
    grid-template-columns: 1fr;
  }

  .visit-concise-card,
  .visit-concise-card:first-child,
  .visit-concise-card:last-child {
    padding: 34px 0 38px;
  }

  .visit-concise-card + .visit-concise-card {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .visit-walkin-heading,
  .visit-pricing-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .visit-walkin-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-walkin-steps li {
    padding: 28px 24px 30px 0;
  }

  .visit-walkin-steps li + li {
    border-left: 0;
  }

  .visit-walkin-steps li:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
  }

  .visit-walkin-steps li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .visit-beginner-note {
    grid-template-columns: 1fr;
  }

  .visit-beginner-button {
    width: fit-content;
  }

  .visit-day-pass {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .visit-concise-section {
    padding: 66px 0 78px;
  }

  .visit-concise-header h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .visit-concise-grid {
    margin-top: 44px;
  }

  .visit-concise-card h3 {
    margin-top: 22px;
    font-size: 2.25rem;
  }

  .visit-concise-card p {
    margin-top: 16px;
  }

  .visit-concise-cta {
    padding-top: 34px;
    align-items: flex-start;
    flex-direction: column;
  }

  .visit-concise-cta .button {
    width: 100%;
    justify-content: space-between;
  }

  .visit-walkin-panel,
  .visit-pricing {
    margin-inline: -18px;
    padding: 32px 18px 38px;
  }

  .visit-walkin-heading h3,
  .visit-pricing-heading h3 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .visit-walkin-steps {
    grid-template-columns: 1fr;
  }

  .visit-walkin-steps li,
  .visit-walkin-steps li:first-child,
  .visit-walkin-steps li:nth-child(even) {
    padding: 24px 0 28px;
    border-left: 0;
  }

  .visit-walkin-steps li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .visit-beginner-note {
    padding: 24px 20px;
  }

  .visit-beginner-button {
    width: 100%;
  }

  .visit-day-pass {
    padding: 24px 20px;
  }

  .visit-day-pass > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .visit-price-table {
    min-width: 680px;
  }
}

.program-pathways {
  padding: clamp(64px, 7vw, 108px) 0 clamp(52px, 6vw, 88px);
}

.program-pathway-list {
  border-top: 1px solid var(--line-light);
}

.program-pathway {
  display: grid;
  grid-template-columns: minmax(88px, 0.2fr) minmax(360px, 0.92fr) minmax(360px, 0.82fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
  padding: clamp(52px, 7vw, 96px) clamp(0px, 1vw, 14px);
  border-bottom: 1px solid var(--line-light);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.program-pathway:nth-child(even) {
  background: rgba(5, 5, 5, 0.018);
}

.program-pathway-index {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 84px);
}

.program-pathway-number {
  color: var(--grey-dark);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.program-pathway-core {
  min-width: 0;
}

.program-pathway-meta {
  margin: 0 0 18px;
  color: var(--grey-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.program-pathway-core h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5.5vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

body[data-page="programs-adults"] .program-pathway-title-long .program-pathway-core h3 {
  font-size: clamp(2.8rem, 4.8vw, 5.4rem);
  line-height: 0.96;
}

.program-pathway-lead {
  max-width: 680px;
  margin: clamp(28px, 3vw, 42px) 0 0;
  color: #353532;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}

.program-pathway-info {
  min-width: 0;
  padding-left: clamp(28px, 4vw, 58px);
  border-left: 1px solid var(--line-light);
}

.program-pathway-block + .program-pathway-block {
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: clamp(28px, 3.5vw, 42px);
  border-top: 1px solid var(--line-light);
}

.program-pathway-block-label {
  display: block;
  margin-bottom: 13px;
  color: var(--grey-dark);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.program-pathway-block p {
  margin: 0;
  color: #41413d;
  font-size: 0.96rem;
  line-height: 1.68;
}

body[data-page^="programs-"] .program-pathway-about {
  max-width: 680px;
  margin: clamp(28px, 3vw, 42px) 0 0;
}

body[data-page^="programs-"] .program-pathway-about p {
  margin: 0;
  color: #41413d;
  font-size: 0.96rem;
  line-height: 1.68;
}

body[data-page^="programs-"] .program-pathway-summary .program-pathway-lead {
  max-width: none;
  margin: 0;
}

.program-pathway-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-pathway-points li {
  position: relative;
  margin: 0;
  padding: 11px 0 11px 22px;
  border-top: 1px solid rgba(5, 5, 5, 0.1);
  color: #41413d;
  font-size: 0.92rem;
  line-height: 1.5;
}

.program-pathway-points li:first-child {
  border-top: 0;
  padding-top: 0;
}

.program-pathway-points li::before {
  content: "";
  position: absolute;
  top: 1.1em;
  left: 0;
  width: 8px;
  height: 1px;
  background: currentColor;
}

.program-pathway-points li:first-child::before {
  top: 0.58em;
}

@media (max-width: 1080px) {

  .program-pathway {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 32px 48px;
  }

  .program-pathway-index {
    grid-row: 1 / span 2;
  }

  .program-pathway-info {
    grid-column: 2;
    padding-left: 0;
    border-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }

  .program-pathway-block + .program-pathway-block {
    margin-top: 0;
    padding-top: 0;
    padding-left: 34px;
    border-top: 0;
    border-left: 1px solid var(--line-light);
  }
}

@media (max-width: 620px) {
  .program-pathways {
    padding: 54px 0 62px;
  }

  .program-pathway {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 46px 0 52px;
  }

  .program-pathway-index {
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .program-pathway-core h3 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  body[data-page="programs-adults"] .program-pathway-title-long .program-pathway-core h3 {
    font-size: clamp(2.6rem, 14vw, 4.3rem);
  }

  .program-pathway-lead {
    margin-top: 24px;
    font-size: 1rem;
  }

  .program-pathway-info {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .program-pathway-block + .program-pathway-block {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }
}

body[data-page="programs-adults"] .program-page-hero-combined h1,
body[data-page="programs-kids"] .program-page-hero-combined h1 {
  max-width: 760px;
}

.program-pathways-direct {
  padding-top: 0;
}

.program-pathways-direct .program-pathway-list {
  border-top: 0;
}

.program-pathways-direct .program-pathway:first-child {
  border-top: 1px solid var(--line-light);
}

@media (max-width: 620px) {
  .program-pathways-direct {
    padding-top: 0;
  }
}

.nav-academy-control {
  width: auto;
  display: flex;
  align-items: center;
}

.nav-parent-link {
  position: relative;
  min-height: 42px;
  padding: 8px 2px 8px 0;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--body);
  font-size: 0.69rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-parent-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--white);
  transition: right 180ms ease;
}

.nav-parent-link:hover,
.nav-parent-link:focus-visible,
.nav-item-dropdown.is-current .nav-parent-link,
.nav-item-dropdown.is-open .nav-parent-link,
.nav-direct-link.is-current {
  color: var(--white);
}

.nav-parent-link:hover::after,
.nav-parent-link:focus-visible::after,
.nav-item-dropdown.is-current .nav-parent-link::after,
.nav-item-dropdown.is-open .nav-parent-link::after,
.nav-direct-link.is-current::after {
  right: 0;
}

.nav-academy-control .nav-dropdown-trigger {
  width: 28px;
  min-width: 28px;
  min-height: 42px;
  padding: 0;
  justify-content: center;
  border: 0;
  color: rgba(255, 255, 255, 0.64);
}

.nav-item-dropdown.is-current .nav-dropdown-trigger,
.nav-item-dropdown.is-open .nav-dropdown-trigger,
.nav-academy-control .nav-dropdown-trigger:hover,
.nav-academy-control .nav-dropdown-trigger:focus-visible {
  color: var(--white);
}

.nav-overview-link {
  margin-bottom: 7px;
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

/* Breadcrumbs provide context without competing with the page title. */
.page-breadcrumb {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 clamp(34px, 4vw, 58px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.page-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus-visible,
.page-breadcrumb [aria-current="page"] {
  color: var(--white);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.28);
}

/* Overview pages */

@media (max-width: 1120px) {
  .nav-academy-control {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-academy-control .nav-parent-link {
    width: auto;
    min-width: 0;
    min-height: 64px;
    padding: 13px 0;
    border-bottom: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 7vw, 4rem);
    letter-spacing: 0;
  }

  .nav-parent-link::after {
    display: none;
  }

  .nav-academy-control .nav-dropdown-trigger {
    width: 64px;
    min-width: 64px;
    min-height: 64px;
    padding: 0;
    border-left: 1px solid var(--line-dark);
  }

  .nav-item-dropdown.is-open .nav-dropdown {
    max-height: 520px;
  }

  .programs-menu.is-open .nav-dropdown {
    max-height: 820px;
  }

  .nav-overview-link {
    margin-bottom: 0;
    padding-left: 18px !important;
    background: rgba(255, 255, 255, 0.04);
  }

}

@media (max-width: 720px) {
  .page-breadcrumb {
    margin-bottom: 30px;
    gap: 7px;
    font-size: 0.56rem;
  }

}

/* The breadcrumb is its own grid row. Previous shared `gap` and bottom
   margin created a large empty band before the title. */
.internal-hero-grid,
.program-page-hero-combined-grid {
  column-gap: clamp(50px, 9vw, 150px);
  row-gap: clamp(30px, 3.4vw, 50px);
}

.internal-hero-grid > .page-breadcrumb,
.program-page-hero-combined-grid > .page-breadcrumb {
  margin-bottom: 0;
}

/* Compact all text-only internal page introductions. The facilities page
   keeps its full-height video treatment because that space contains media. */
.internal-hero:not(.program-page-hero-combined),
body[data-page^="locations"] .locations-hero,
body[data-page="academy-visitar"] .visit-page-hero {
  min-height: auto;
  padding: clamp(142px, 11vw, 184px) 0 clamp(66px, 6vw, 92px);
}

/* Adult and Kids introductions retain their two-column layout but lose the
   oversized empty row between breadcrumb and content. */
body[data-page="programs-kids"] .program-page-hero-combined,
body[data-page="programs-adults"] .program-page-hero-combined {
  padding-top: clamp(142px, 11vw, 184px);
  padding-bottom: clamp(62px, 6vw, 88px);
}

@media (max-width: 900px) {
  .internal-hero-grid,
  .program-page-hero-combined-grid {
    row-gap: 34px;
  }

  .internal-hero:not(.program-page-hero-combined),
  body[data-page^="locations"] .locations-hero,
  body[data-page="academy-visitar"] .visit-page-hero,
  body[data-page="programs-kids"] .program-page-hero-combined,
  body[data-page="programs-adults"] .program-page-hero-combined {
    padding: 132px 0 68px;
  }
}

@media (max-width: 620px) {
  .internal-hero-grid,
  .program-page-hero-combined-grid {
    row-gap: 28px;
  }

  .internal-hero:not(.program-page-hero-combined),
  body[data-page^="locations"] .locations-hero,
  body[data-page="academy-visitar"] .visit-page-hero,
  body[data-page="programs-kids"] .program-page-hero-combined,
  body[data-page="programs-adults"] .program-page-hero-combined {
    min-height: auto;
    padding: 122px 0 56px;
  }
}

/* Visit page: align the title with the top of the contact column instead of
   bottom-aligning it against the taller content block. */
@media (min-width: 1121px) {
  body[data-page="academy-visitar"] .visit-page-hero .internal-hero-grid {
    align-items: start;
  }
}

/* =========================================================
   Team hierarchy — V31
   Leadership pair + balanced instructor directory
   Scoped to the Team page only.
   ========================================================= */
body[data-page="academy-equipa"] .team-section-heading {
  margin-bottom: clamp(42px, 6vw, 76px);
}

body[data-page="academy-equipa"] .leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  margin-bottom: clamp(100px, 12vw, 168px);
}

body[data-page="academy-equipa"] .leadership-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
}

body[data-page="academy-equipa"] .leadership-photo {
  aspect-ratio: 4 / 4.65;
  overflow: hidden;
  background: var(--black-soft);
}

body[data-page="academy-equipa"] .leadership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 650ms ease;
}

body[data-page="academy-equipa"] .leadership-card:hover .leadership-photo img:not(.is-placeholder) {
  transform: scale(1.018);
}

body[data-page="academy-equipa"] .leadership-content {
  display: grid;
  flex: 1;
  grid-template-rows: 24px auto auto;
  align-content: start;
  padding: clamp(30px, 4vw, 56px);
  border-top: 1px solid var(--line-dark);
}

body[data-page="academy-equipa"] .leadership-title {
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

body[data-page="academy-equipa"] .leadership-title-founder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  background: #b5121b;
  color: #fff;
  text-align: center;
}

body[data-page="academy-equipa"] .leadership-kicker {
  margin: 14px 0 15px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

body[data-page="academy-equipa"] .leadership-content h3 {
  max-width: 680px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.9rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

body[data-page="academy-equipa"] .coaches-directory-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 94px);
  align-items: start;
  margin-bottom: clamp(58px, 8vw, 104px);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line-light);
}

body[data-page="academy-equipa"] .coaches-directory-heading .eyebrow {
  margin-top: 8px;
}

body[data-page="academy-equipa"] .coaches-grid {
  gap: clamp(66px, 7vw, 104px) clamp(22px, 3vw, 44px);
}

body[data-page="academy-equipa"] .coach-card-content {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body[data-page="academy-equipa"] .coach-card .coach-rank {
  min-height: 3.2em;
}

@media (max-width: 1120px) {
  body[data-page="academy-equipa"] .leadership-content h3 {
    font-size: clamp(3rem, 6.2vw, 5rem);
  }
}

@media (max-width: 820px) {
  body[data-page="academy-equipa"] .leadership-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body[data-page="academy-equipa"] .leadership-photo {
    aspect-ratio: 4 / 4.7;
  }

  body[data-page="academy-equipa"] .coaches-directory-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  body[data-page="academy-equipa"] .team-section-heading {
    margin-bottom: 34px;
  }

  body[data-page="academy-equipa"] .leadership-grid {
    margin-bottom: 92px;
  }

  body[data-page="academy-equipa"] .leadership-content {
    padding: 30px 22px 34px;
  }

  body[data-page="academy-equipa"] .leadership-content h3 {
    font-size: clamp(3.15rem, 15vw, 5rem);
  }

  body[data-page="academy-equipa"] .coaches-directory-heading {
    margin-bottom: 48px;
    padding-top: 42px;
  }

  body[data-page="academy-equipa"] .coaches-directory-heading .eyebrow {
    margin-top: 0;
  }

  body[data-page="academy-equipa"] .coaches-grid {
    gap: 66px;
  }

  body[data-page="academy-equipa"] .coach-card .coach-rank {
    min-height: 0;
  }
}
