:root {
  --ink: #13212e;
  --text: #334155;
  --muted: #64748b;
  --line: #dbe7ee;
  --paper: #ffffff;
  --soft: #f4f9fb;
  --blue: #0f5f8f;
  --blue-dark: #0a3c5d;
  --teal: #22a6a1;
  --mint: #dff5f2;
  --sage: #eef7ef;
  --coral: #f26d5b;
  --gold: #f4b740;
  --shadow: 0 18px 42px rgba(10, 60, 93, .11);
  --radius: 8px;
  --font-heading: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(242, 109, 91, .55); outline-offset: 3px; }

.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;
}

.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 231, 238, .85);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 12px 30px rgba(10, 60, 93, .08); }
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
}
.nav-logo {
  width: 64px;
  height: 54px;
  background: transparent;
  filter: brightness(0) saturate(100%) invert(18%) sepia(37%) saturate(1685%) hue-rotate(164deg) brightness(95%) contrast(98%);
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(15, 95, 143, .22);
}
.brand small { display: block; color: var(--muted); font: 700 .72rem var(--font-body); letter-spacing: 0; }
.nav-panel { display: flex; align-items: center; gap: 18px; font-size: .94rem; font-weight: 800; }
.nav-panel a { color: #25364a; }
.nav-panel a:hover, .nav-panel a[aria-current="page"] { color: var(--blue); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--blue-dark);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: 0 14px 25px rgba(15, 95, 143, .24); }
.btn-light { color: var(--blue-dark); background: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline { color: var(--blue); background: #fff; border-color: var(--line); }
.btn-coral { color: #fff; background: var(--coral); box-shadow: 0 14px 25px rgba(242, 109, 91, .18); }

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 33, 51, .92), rgba(15, 95, 143, .72), rgba(34, 166, 161, .18)),
    var(--cms-hero-image, url("../images/banners/clinic-therapy-banner.png")) center/cover;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero .container { display: grid; grid-template-columns: minmax(0, 720px); }
.hero-carousel-shell {
  overflow: hidden;
  background: #072133;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(7, 33, 51, .92), rgba(15, 95, 143, .7), rgba(34, 166, 161, .16));
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 6s ease;
}
.hero-carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-carousel-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 32px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.hero-carousel-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
}
.hero-carousel-dots button.active {
  width: 28px;
  background: #fff;
}
.page-hero .sports-hero-subtitle {
  margin: 20px 0 12px;
  max-width: 900px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.4;
}
.home-video-license {
  margin: 12px 0 0;
  text-align: center;
  font-size: .75rem;
  color: var(--muted);
}
.home-video-section {
  padding: 56px 0;
  background: linear-gradient(180deg, #fff 0%, #eef8fb 100%);
}
.home-video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.home-video,
.home-video-lite {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: var(--blue-dark);
  border: 0;
}
.home-video-lite {
  position: relative;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.home-video-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.78);
  transition: transform .35s ease, filter .35s ease;
}
.home-video-lite:hover img {
  transform: scale(1.03);
  filter: brightness(.68);
}
.home-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 999px;
  box-shadow: 0 20px 45px rgba(7, 33, 51, .34);
  font-weight: 900;
  transform: translate(-50%, -50%);
}
.home-video-play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
}
.hero-logo {
  width: min(560px, 88vw);
  max-height: 180px;
  margin: 0 0 22px;
  object-fit: contain;
}
.page-hero {
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 116px 0 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 33, 51, .92), rgba(15, 95, 143, .68), rgba(34, 166, 161, .18)),
    var(--cms-hero-image, url("../images/banners/clinic-therapy-banner.png")) center/cover;
}
.hero h1, .page-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 5.1rem);
  line-height: 1.03;
  letter-spacing: 0;
}
.hero p, .page-hero p:not(.eyebrow) { max-width: 680px; color: rgba(255,255,255,.9); font-size: 1.12rem; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero .eyebrow, .page-hero .eyebrow { color: #94f0df; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-list span {
  padding: 9px 12px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  font-weight: 800;
}

.about-hero,
.massage-hero,
.team-hero,
.patients-hero,
.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(7,33,51,.92), rgba(15,95,143,.68), rgba(34,166,161,.18)),
    var(--contact-hero-image, url("../images/banners/clinic-therapy-banner.png"));
}

.section { padding: 88px 0; }
.section-sm { padding: 58px 0; }
.soft { background: var(--soft); }
.mint { background: linear-gradient(135deg, var(--mint), var(--sage)); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
h2, h3, h4 {
  color: var(--ink);
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: 0;
}
h2 { margin: 0 0 14px; font-size: clamp(1.75rem, 3vw, 2.7rem); }
h3 { margin: 0 0 10px; font-size: 1.16rem; }
p { margin-top: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 42px; align-items: center; }
.card {
  border: 1px solid rgba(219, 231, 238, .9);
  background: rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad { padding: 26px; }
.service-card { min-height: 310px; display: flex; flex-direction: column; }
.service-card a { margin-top: auto; color: var(--blue); font-weight: 900; }
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue-dark);
  background: var(--mint);
  border-radius: var(--radius);
  font-weight: 900;
}
.icon.coral { background: #ffe5df; color: #9e2f22; }
.check-list { padding-left: 20px; color: var(--text); }
.check-list li { margin: 8px 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--blue-dark);
  background: var(--mint);
  border-radius: var(--radius);
  font-weight: 900;
  font-size: .86rem;
}
.image-panel { overflow: hidden; }
.image-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.owned-visual {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: end start;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7,33,51,.8), rgba(15,95,143,.82)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 1px, transparent 1px 24px);
}
.owned-visual::before,
.owned-visual::after { content: none; }
.owned-visual span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  font-weight: 900;
}
.care-visual { min-height: 360px; }
.care-visual {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-therapy-space-02.jpeg") center/cover;
}
.gallery-room {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-treatment-room-01.jpeg") center/cover;
}
.gallery-rehab {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-therapy-space-05.jpeg") center/cover;
}
.gallery-care {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-treatment-room-04.jpeg") center/cover;
}
.massage-visual {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-treatment-room-01.jpeg") center/cover;
}
.massage-room-one {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-treatment-room-01.jpeg") center/cover;
}
.massage-room-two {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-treatment-room-02.jpeg") center/cover;
}
.massage-room-three {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-treatment-room-04.jpeg") center/cover;
}
.sports-performance-visual {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/banners/sports-performance-gym.jpeg") center/cover;
}
.sports-photo-one {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-therapy-space-05.jpeg") center/cover;
}
.sports-photo-two {
  background:
    linear-gradient(135deg, rgba(7,33,51,.42), rgba(15,95,143,.2)),
    url("../images/brochure/pts-treatment-room-04.jpeg") center/cover;
}
.sports-photo-grid {
  margin-top: 22px;
}
.owned-visual[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.owned-visual[style*="background-image"]::before,
.owned-visual[style*="background-image"]::after {
  display: none;
}

.stats { background: var(--blue-dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; color: #fff; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.stats span { color: rgba(255,255,255,.82); font-weight: 800; }

.testimonial { position: relative; overflow: hidden; min-height: 300px; padding: 30px; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fade .3s ease; }
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: .04em; }
.testimonial p { color: #26364a; font-size: 1.14rem; }
.slider-controls { display: flex; gap: 10px; margin-top: 20px; }
.icon-button, .back-top {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}

.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.logo-grid span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  color: #41566e;
  font-weight: 900;
  text-align: center;
}

.team-card { overflow: hidden; }
.team-photo-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center center; background: var(--mint); }
.team-photo-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  color: #fff;
  background:
    radial-gradient(circle at 74% 24%, rgba(148,240,223,.28), transparent 28%),
    linear-gradient(135deg, var(--blue-dark), var(--blue), var(--teal));
}
.team-photo-placeholder span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  font: 900 2.3rem var(--font-heading);
}
.team-photo {
  min-height: 210px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font: 900 3rem var(--font-heading);
}
.team-card .card-pad { padding-top: 22px; }
.team-grid .team-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}
.team-card .card-pad p:not(.credentials) {
  text-align: justify;
  text-justify: inter-word;
}

.team-see-more {
    display: inline;
    margin-top: 4px;
    padding: 0;
    color: var(--blue);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.team-see-more:hover {
    color: var(--teal);
}

.team-bio-modal[hidden] {
  display: none;
}
.team-bio-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
}
.team-bio-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(43, 54, 62, 0.72);
  border: 0;
  cursor: pointer;
}
.team-bio-panel {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  padding: 34px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(3, 22, 35, .32);
}
.team-bio-panel .icon-button {
  position: absolute;
  top: 18px;
  right: 18px;
}
.team-bio-panel h2 {
  margin-right: 42px;
}
.team-bio-content p {
  text-align: justify;
  text-justify: inter-word;
}
.credentials { color: var(--blue); font-weight: 900; }

.timeline { counter-reset: item; }
.timeline .card { position: relative; padding-left: 68px; }
.timeline .card::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.accordion { overflow: hidden; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.accordion button {
  width: 100%;
  min-height: 58px;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}
.accordion button::after { content: "+"; float: right; }
.accordion button[aria-expanded="true"]::after { content: "-"; }
.accordion .panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; border-bottom: 1px solid var(--line); }
.accordion .panel.open { grid-template-rows: 1fr; }
.accordion .panel > div { overflow: hidden; }
.accordion .panel p { margin: 0; padding: 0 20px; }
.accordion .panel.open p { padding: 18px 20px; }

.price strong { display: block; color: var(--blue); font: 900 2.3rem var(--font-heading); }
.price .tag { display: inline-flex; padding: 5px 10px; background: #ffe5df; color: #9e2f22; border-radius: var(--radius); font-weight: 900; font-size: .8rem; }

.cta-band { padding: 62px 0; color: #fff; background: linear-gradient(135deg, var(--blue-dark), var(--blue) 58%, var(--teal)); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.cta-inner h2, .cta-inner p { color: #fff; margin: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 28px; align-items: start; }
.contact-form { display: grid; gap: 16px; padding: 28px; }
.contact-form label { display: grid; gap: 7px; color: #26364a; font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea, .newsletter input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-form textarea { resize: vertical; }
.contact-form .error { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .1); }
.form-status { min-height: 24px; margin: 0; color: #0a7a43; font-weight: 900; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map iframe { width: 100%; min-height: 310px; border: 0; border-radius: var(--radius); }
.notice { padding: 14px; border-left: 4px solid var(--coral); background: #fff4f1; border-radius: var(--radius); }
.info-list p { margin-bottom: 18px; }

.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.site-gallery-modal[hidden],
.site-lightbox[hidden] {
  display: none;
}

.site-gallery-modal,
.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.site-gallery-backdrop,
.site-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(7, 33, 51, .72);
  border: 0;
  cursor: pointer;
}

.site-gallery-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  max-height: calc(100vh - 44px);
  margin: 22px auto;
  padding: 26px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(3, 22, 35, .32);
}

.site-gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.site-gallery-header h2 {
  margin: 0;
}

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

.site-gallery-item {
  display: block;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(7, 33, 51, .12);
}

.site-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.site-gallery-item:hover img {
  transform: scale(1.04);
}

.site-lightbox {
  z-index: 140;
  display: grid;
  place-items: center;
}

.site-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
}

.site-lightbox-panel .icon-button {
  position: absolute;
  top: -18px;
  right: -18px;
  color: var(--blue-dark);
  background: #fff;
  box-shadow: var(--shadow);
}

.site-lightbox-panel img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(3, 22, 35, .36);
}

body.gallery-open {
  overflow: hidden;
}

.site-footer { padding: 62px 0 26px; color: #fff; background: #072133; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.35fr; gap: 28px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.78); }
.site-footer a { display: block; margin: 8px 0; }
.footer-brand-text { margin-bottom: 16px; color: #fff; }
.footer-brand-text strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 1.08rem; line-height: 1.2; }
.footer-brand-text small { display: block; color: rgba(255,255,255,.58); font-weight: 800; }
.site-footer h3 { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.newsletter div { display: flex; gap: 8px; }
.newsletter button { border: 0; padding: 0 14px; color: #062435; background: #94f0df; border-radius: var(--radius); font-weight: 900; cursor: pointer; }

.floating-btn {
  position: fixed;
  right: 18px;
  z-index: 60;
  display: none;
  min-width: 76px;
  padding: 10px 12px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 900;
  box-shadow: var(--shadow);
}
.floating-btn.call { bottom: 84px; color: var(--blue-dark); background: #fff; }
.floating-btn.book { bottom: 28px; color: #fff; background: var(--coral); }
.back-top { position: fixed; right: 18px; bottom: 28px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.back-top.visible { opacity: 1; pointer-events: auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .nav-panel {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 22px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-125%);
    transition: transform .25s ease;
  }
  .menu-open .nav-panel { transform: translateY(0); }
  .nav-panel a { padding: 12px 0; }
  .nav-panel .btn { margin-top: 8px; }
  .grid-4, .logo-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid .team-card:last-child:nth-child(3n + 1) { grid-column: auto; }
  .team-grid .team-card:last-child:nth-child(2n + 1) { grid-column: 1 / -1; justify-self: center; width: min(100%, 370px); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav { min-height: 68px; }
  .nav-panel { top: 68px; }
  .brand small { display: none; }
  .hero { min-height: 780px; align-items: flex-end; padding: 96px 0 170px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.15rem, 11vw, 3.35rem); }
  .hero p, .page-hero p:not(.eyebrow) { font-size: 1rem; }
  .trust-list { display: none; }
  .section { padding: 62px 0; }
  .grid-2, .grid-3, .grid-4, .logo-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .team-grid .team-card:last-child:nth-child(2n + 1) { grid-column: auto; justify-self: stretch; width: auto; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .contact-form { padding: 22px; }
  .site-gallery-panel { padding: 18px; }
  .site-gallery-grid { grid-template-columns: 1fr; }
  .site-lightbox-panel .icon-button { top: 8px; right: 8px; }
  .floating-btn { display: block; }
  .back-top { bottom: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-carousel-slide { transition: none; transform: none; }
}

/* Keep massage photographs free of decorative overlays. */
.massage-photo::before,
.massage-photo::after { content: none; }


.sports-program-details { margin-top: 40px; }


.contact-form .field-error { color: #b91c1c; font-size: .85rem; font-weight: 500; }
.contact-form .field-error:empty { display: none; }

.send-loader { height: 5px; overflow: hidden; border-radius: 8px; background: var(--mint); }
.send-loader[hidden] { display: none; }
.send-loader::before { content: ""; display: block; width: 35%; height: 100%; background: var(--teal); animation: sending-slide 1.2s linear infinite; }
@keyframes sending-slide { from { transform: translateX(-100%); } to { transform: translateX(386%); } }
.contact-form button:disabled { cursor: wait; opacity: .65; }
@media (prefers-reduced-motion: reduce) { .send-loader::before { animation: none; width: 100%; } }
.form-status.send-success { animation: contact-success .55s ease-out both; }
@keyframes contact-success { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .form-status.send-success { animation: none; } }