:root {
  --bg-deep: #050505;
  --bg-elevated: #121214;
  --gold: #c9a227;
  --gold-soft: #e8d48b;
  --accent-yellow: #ffcc00;
  --accent-yellow-hover: #ffd633;
  --silver: #b8bcc4;
  --text: #e8eaef;
  --muted: #8b909c;
  --ring: rgba(255, 204, 0, 0.35);
  --header-h: 4.35rem;
  --font-display: "Archivo Black", "Montserrat", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.font-display {
  font-family: var(--font-display);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

/* —— Site header (reference: logo | spaced nav | join + menu) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 40%, rgba(0, 0, 0, 0.78) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.site-header .inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.site-header .inner::-webkit-scrollbar {
  height: 4px;
}

.site-header .inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  flex-shrink: 0;
  height: 2.65rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
  display: block;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem clamp(1.1rem, 2.2vw, 2.35rem);
}

.site-nav a {
  font-size: clamp(0.68rem, 1.1vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, opacity 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(0.85rem, 2vw, 1.75rem);
}

.header-cta {
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1.1vw, 0.76rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--accent-yellow);
  border-bottom-color: var(--accent-yellow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}

body.nav-open .nav-toggle-line:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

body.nav-open .nav-toggle-line:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.site-nav-drawer-head,
.site-nav-drawer-foot {
  display: none;
}

.nav-backdrop {
  display: none;
}

@media (min-width: 961px) and (max-width: 1180px) {
  .brand-logo {
    max-width: 6.5rem;
    height: 2.35rem;
  }

  .site-nav ul {
    gap: 0.25rem clamp(0.55rem, 1.2vw, 1.1rem);
  }

  .site-nav a {
    font-size: 0.64rem;
    letter-spacing: 0.09em;
  }

  .header-cta {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }
}

@media (min-width: 961px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    transform: none !important;
    background: transparent;
    padding: 0;
    overflow: visible;
    inset: auto;
  }
}

@media (max-width: 960px) {
  /* Fixed drawer is inside .inner; overflow hidden clips off-canvas descendants in many browsers. */
  .site-header .inner {
    overflow: visible;
  }

  /*
    Header uses backdrop-filter, which makes many engines use the header as the containing block
    for position:fixed descendants. With top:--header-h and bottom:0 relative to that short box,
    the drawer height collapses to ~0; overflow-y:auto then clips all nav links (only the head
    may peek through). Removing the blur on small screens restores viewport-fixed sizing.
  */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.96) 45%, rgba(0, 0, 0, 0.88) 100%);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 198;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav-drawer-head,
  .site-nav-drawer-foot {
    display: flex;
  }

  .site-nav-drawer-head {
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav-drawer-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
  }

  .nav-close {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -0.35rem -0.5rem -0.35rem 0;
    padding: 0;
    border: none;
    border-radius: 0.35rem;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .nav-close:hover,
  .nav-close:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-yellow);
    outline: none;
  }

  .nav-close-bar {
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
  }

  .nav-close .nav-close-bar:first-child {
    transform: rotate(45deg);
  }

  .nav-close .nav-close-bar:last-child {
    transform: rotate(-45deg);
  }

  .site-nav-drawer-foot {
    flex-direction: column;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 2rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  }

  .site-nav-join {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: auto;
    /* Explicit height: do not rely on bottom:0 when an ancestor filter/backdrop creates a fixed CB. */
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    min-height: calc(100vh - var(--header-h));
    width: min(20.5rem, 90vw);
    max-width: 100%;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    z-index: 199;
    background: #0a0a0c;
    border-left: 1px solid rgba(255, 204, 0, 0.18);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
    padding: 1.35rem 1.35rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  .site-nav ul {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    justify-content: flex-start;
  }

  .site-nav a {
    display: block;
    padding: 1.1rem 0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s, border-color 0.2s, padding-left 0.2s ease;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    border-bottom-color: rgba(255, 204, 0, 0.35);
    color: var(--accent-yellow);
    padding-left: 0.35rem;
  }

  body.nav-open .wa-fab {
    z-index: 205;
  }
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-block {
  padding: 3rem 0;
}

.section-block:first-of-type {
  padding-top: 3rem;
}

.section-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  color: var(--silver);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

/* —— Hero (reference: bold yellow display, dark photo, single CTA) —— */
.hero-gymbox {
  --hero-photo: url("assets/Firefly_Gemini%20Flash_standing%20like%20this%20image%20fitness,taekwondo,martial%20arts,kickboxing,yoga,zumba%20147109.png");
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2.5rem) 1.25rem 4rem;
  scroll-margin-top: var(--header-h);
}

.hero-gymbox .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #000;
}

/* Sharp photo for full hero — no blur */
.hero-gymbox .hero-bg::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--hero-photo) center / cover no-repeat;
  filter: brightness(0.58) saturate(1.08);
}

/* Blur only in lower area (masked); top stays sharp from ::before */
.hero-gymbox .hero-bg-blur {
  position: absolute;
  z-index: 1;
  inset: -12px;
  background: var(--hero-photo) center / cover no-repeat;
  filter: blur(10px) brightness(0.5) saturate(1.08);
  transform: scale(1.06);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.45) 58%,
    #000 72%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.45) 58%,
    #000 72%,
    #000 100%
  );
}

.hero-gymbox .hero-bg::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  /* Dark overlay only in the lower half: clear from top through middle, then fade to black at bottom */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.35) 68%,
    rgba(0, 0, 0, 0.78) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.25rem;
}

.hero-display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--accent-yellow);
  font-size: clamp(2.75rem, 11vw, 5.5rem);
  margin: 0;
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.65);
}

.hero-display-line {
  display: block;
}

.hero-sub {
  margin: 0;
  font-size: clamp(0.72rem, 2.4vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.hero-sub-1 {
  margin-top: 1.75rem;
}

.hero-sub-2 {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-gymbox .hero-cta {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn-primary {
  background: linear-gradient(145deg, #c9a227, #9a7b1c);
  color: #0a0a0b;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--silver);
  border-color: rgba(184, 188, 196, 0.25);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-join {
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.75rem;
  border-radius: 0;
  background: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
  min-width: min(100%, 16rem);
}

.btn-join:hover,
.btn-join:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-yellow-hover);
  border-color: var(--accent-yellow-hover);
  box-shadow: 0 12px 40px rgba(255, 204, 0, 0.28);
}

/* —— About —— */
.prose {
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose p + p {
  margin-top: 1rem;
}

.section-block.about-gymbox {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #000;
  padding-top: 4rem;
  padding-bottom: 4rem;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-gymbox-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-display-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--accent-yellow);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  margin: 0;
}

.about-display-line {
  display: block;
}

.about-display-line--white {
  color: #fff;
}

.about-body {
  max-width: none;
}

.prose-on-black {
  color: #fff;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
}

.prose-on-black p {
  color: #fff;
}

@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* —— Programs / classes (reference: dark band, yellow display title, image cards + CTA) —— */
.section-block.services-showcase {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #000;
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: 4rem;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.services-showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.services-heading-band {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-heading-inner {
  max-width: 52rem;
}

.services-kicker {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.services-display-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7.5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin: 0 0 1.35rem;
}

.services-display-line {
  display: block;
}

.services-display-line--muted {
  margin-top: 0.12em;
  font-size: 0.58em;
  letter-spacing: 0.14em;
  color: #fff;
}

.services-lead {
  margin: 0;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40rem;
}

.service-carousel {
  position: relative;
  width: calc(100% + 2.5rem);
  max-width: 100vw;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
}

@media (min-width: 1240px) {
  .service-carousel {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.service-carousel-mask {
  position: relative;
  overflow: hidden;
}

/* Visible edge fades (reference: cards dissolve into black at left/right) */
.service-carousel-mask::before,
.service-carousel-mask::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(3rem, 10vw, 6.5rem);
  z-index: 3;
  pointer-events: none;
}

.service-carousel-mask::before {
  left: 0;
  background: linear-gradient(90deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 42%, transparent 100%);
}

.service-carousel-mask::after {
  right: 0;
  background: linear-gradient(270deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 42%, transparent 100%);
}

.service-carousel--static .service-carousel-mask::before,
.service-carousel--static .service-carousel-mask::after {
  display: none;
}

.service-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  animation: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.service-track.service-track--ready {
  animation: service-marquee 55s linear infinite;
  animation-iteration-count: infinite;
}

.service-carousel:hover .service-track.service-track--ready {
  animation-play-state: paused;
}

.service-track-group {
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
}

/* Trailing space matches card gap so loop length = exactly one group width (clone lines up) */
.service-track-group .service-card:last-child {
  margin-inline-end: clamp(0.75rem, 1.5vw, 1.1rem);
}

.service-track--static {
  animation: none;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  row-gap: 1rem;
}

.service-track--static .service-track-group {
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.service-track--static .service-track-group .service-card:last-child {
  margin-inline-end: 0;
}

@keyframes service-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-track,
  .service-track.service-track--ready {
    animation: none !important;
  }

  .service-track {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    row-gap: 1rem;
  }

  .service-track-group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .service-track-group .service-card:last-child {
    margin-inline-end: 0;
  }

  .service-track-group--clone {
    display: none !important;
  }

  .service-carousel-mask {
    overflow-x: visible;
  }

  .service-carousel-mask::before,
  .service-carousel-mask::after {
    display: none;
  }
}

.service-track-group--clone {
  pointer-events: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(240px, 52vw, 300px);
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  background: #1a1a1d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.65rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-track--static .service-card {
  flex: 1 1 clamp(240px, 42%, 340px);
}

.service-card:hover {
  border-color: rgba(255, 204, 0, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.service-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0a0c;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .service-card:hover {
    transform: none;
  }

  .service-card:hover .service-card-media img {
    transform: none;
  }
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.service-card-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem 1.1rem;
}

.service-card-overlay .service-card-ghost {
  pointer-events: auto;
}

.service-card-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.service-card-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card-ghost:hover,
.service-card-ghost:focus-visible {
  color: #000;
  background: #fff;
  border-color: #fff;
  outline: none;
}

.service-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.service-card-body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.services-footer {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
}

.services-timetable-cta {
  min-width: min(100%, 18rem);
}

/* —— Location + map —— */
.map-wrap {
  margin-top: 1.25rem;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: var(--bg-elevated);
  min-height: 320px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.map-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-actions a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.map-actions a:hover {
  border-bottom-color: var(--gold);
}

/* —— Contact —— */
.contact-form-panel {
  max-width: 38rem;
  padding: 1.5rem 1.35rem 1.6rem;
  background: linear-gradient(145deg, #151518, #0e0e10);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 0.85rem;
}

.contact-form-panel h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.contact-form .field {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-form label .req {
  color: var(--gold);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(10, 10, 11, 0.65);
  border: 1px solid rgba(184, 188, 196, 0.18);
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 0 3px var(--ring);
}

.contact-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .contact-form .field-row {
    grid-template-columns: 1fr;
  }
}

.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .form-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.contact-form .form-note {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 22rem;
  line-height: 1.45;
}

.contact-form .form-note-code {
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  color: var(--silver);
  word-break: break-all;
}

.contact-form .form-status {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.contact-form .form-status.is-error {
  color: #e8a0a0;
}

/* —— Site footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  background: #060607;
  padding: 2.5rem 1.25rem 2rem;
}

.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer h3 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: var(--silver);
  text-decoration: none;
  display: block;
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Floating WhatsApp */
.wa-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 110;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 35px rgba(18, 140, 126, 0.45), 0 0 0 4px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 40px rgba(18, 140, 126, 0.55), 0 0 0 4px rgba(0, 0, 0, 0.35);
}

.wa-fab svg {
  width: 30px;
  height: 30px;
}

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