:root {
  color-scheme: dark;
  --yellow: #fddc03;
  --black: #050505;
  --panel: #0d0d0d;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(253, 220, 3, 0.28);
  --page-gutter: 10vw;
  --content-width: 80vw;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent);
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 24px var(--page-gutter);
}

.nav-links {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-glass {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.34);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(253, 220, 3, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.nav-glass:hover {
  border-color: rgba(253, 220, 3, 0.78);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(253, 220, 3, 0.22);
  transform: translateY(-1px);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 48px;
  padding: 0;
  overflow: visible;
}

.logo img {
  width: 150px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.nav-links a {
  padding: 11px 18px;
}

.nav-toggle,
.menu-toggle {
  display: none;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #000000;
}

.hero-section > img {
  width: 100%;
  height: 100svh;
  object-fit: fill;
  object-position: center;
}

.background-section {
  min-height: 100svh;
  background: #000000;
  overflow: hidden;
}

.background-section img {
  width: 100%;
  height: 100svh;
  object-fit: fill;
  object-position: center;
}

.membership-section {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 100svh;
  padding: clamp(56px, 6vw, 82px) var(--page-gutter) clamp(40px, 5vw, 72px);
  background: #000000;
  overflow: hidden;
}

.membership-section > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.membership-section::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at 50% 34%, rgba(253, 220, 3, 0.12), transparent 34%);
  pointer-events: none;
}

.membership-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.membership-heading {
  margin-bottom: clamp(22px, 3vw, 38px);
}

.membership-heading h2 {
  margin: 0;
  font-size: clamp(40px, 6.2vw, 92px);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.74);
}

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

.price-card {
  position: relative;
  display: flex;
  min-height: 430px;
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  color: #080808;
  flex-direction: column;
  min-width: 0;
}

.price-card::before {
  position: absolute;
  top: 96px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: rgba(0, 0, 0, 0.08);
}

.price-card-featured {
  border: 2px solid var(--yellow);
  background: #ffffff;
  color: #000000;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(253, 220, 3, 0.3);
}

.price-card-featured::before {
  background: rgba(253, 220, 3, 0.45);
}

.plan-label {
  display: block;
  min-height: 42px;
  color: #080808;
  font-size: 17px;
  font-weight: 950;
  text-transform: uppercase;
}

.price {
  margin: auto 0 0;
  padding-top: 28px;
  color: #080808;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 950;
  line-height: 0.9;
  order: 3;
}

.price span {
  font-size: 0.38em;
  font-weight: 900;
}

.price-card h3 {
  min-height: 64px;
  margin: 30px 0 18px;
  color: #080808;
  font-size: 15px;
  line-height: 1.35;
  text-transform: uppercase;
}

.price-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(0, 0, 0, 0.58);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.price-card-featured ul {
  color: rgba(0, 0, 0, 0.68);
}

.price-card li {
  position: relative;
  padding-left: 18px;
  border-left: 0;
}

.price-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "+";
  color: var(--yellow);
  font-weight: 950;
}

.plan-button {
  align-self: flex-start;
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(8, 8, 8, 0.08);
  color: #080808;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.price-card-featured .plan-button {
  background: var(--yellow);
  box-shadow: 0 10px 24px rgba(253, 220, 3, 0.34);
}

.membership-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: clamp(20px, 3vw, 34px);
}

.membership-contact,
.membership-location {
  border: 1px solid rgba(253, 220, 3, 0.18);
  background: rgba(0, 0, 0, 0.72);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.membership-contact {
  display: grid;
  gap: 12px;
  align-content: center;
  height: 150px;
  padding: 22px;
}

.membership-contact a {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.membership-location {
  display: grid;
  min-width: 0;
  height: 150px;
  padding: 22px 28px;
  align-content: center;
  justify-items: center;
  text-align: center;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.pricing-powered:hover {
  border-color: rgba(253, 220, 3, 0.62);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.46),
    0 0 28px rgba(253, 220, 3, 0.18);
  transform: translateY(-2px);
}

.membership-location:focus,
.membership-location:focus-visible,
.membership-location:active {
  outline: 0;
}

.membership-location strong {
  color: var(--yellow);
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: 1;
}

.technogym-logo {
  width: min(88%, 340px);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(253, 220, 3, 0.16));
}

.membership-location span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-powered {
  display: none;
}

.hero-shade {
  display: none;
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: var(--content-width);
  text-align: center;
  transform: translate(-50%, -50%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 1px solid rgba(253, 220, 3, 0.32);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.56);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.9),
    0 0 2px #000000,
    1px 1px 0 #000000,
    -1px -1px 0 #000000;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(30px, 5.2vw, 72px);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.82);
}

h1 span {
  display: block;
}

.hero-brand {
  margin-top: 10px;
}

.hero-brand {
  color: var(--yellow);
}

.hero-copy p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.button-primary {
  background: var(--yellow);
  color: #000000;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.section {
  position: relative;
  min-height: 100svh;
  padding: clamp(74px, 10vw, 132px) var(--page-gutter);
  overflow: hidden;
  background: transparent;
}

.section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-position: center;
  background-size: 100% 100%;
  opacity: 1;
}

.section::after {
  display: none;
}

.section > * {
  position: relative;
  z-index: 1;
}

.bg-clean::before {
  background-image: url("images/cleanbackground.webp");
}

.bg-rotated::before {
  background-image: url("images/cleanbackgroundrotated.webp");
}

.bg-black {
  background: #000000;
}

.bg-black::before {
  display: none;
}

.gallery-section {
  padding-top: clamp(44px, 6vw, 82px);
}

.section-heading {
  max-width: none;
  margin: 0 auto 34px;
}

.section-heading h2,
.about-copy h2,
.location-card h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.pricing-frame {
  max-width: none;
  margin: 0 auto;
  border: 1px solid rgba(253, 220, 3, 0.24);
  background: #000000;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.42);
}

.pricing-frame img {
  width: 100%;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 54px);
  align-items: center;
  align-content: center;
}

.about-copy {
  width: 100%;
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  justify-self: center;
}

.about-copy h2 {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(40px, 4.4vw, 68px);
  text-align: center;
  white-space: nowrap;
}

.about-copy h2 span {
  color: var(--yellow);
}

.about-copy p:not(.eyebrow),
.location-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
  width: 100%;
  justify-self: center;
}

.feature-grid article {
  min-height: 306px;
  padding: 34px 30px;
  border: 1px solid rgba(253, 220, 3, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.feature-grid span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-grid h3 {
  margin: 34px 0 18px;
  max-width: none;
  font-size: 26px;
  line-height: 1.12;
  overflow-wrap: break-word;
}

.feature-grid p {
  max-width: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.48;
  overflow-wrap: break-word;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: minmax(260px, 34vw);
  gap: 14px;
  max-width: none;
  margin: 0 auto;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.gallery-grid figure::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(253, 220, 3, 0.16);
  pointer-events: none;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.08);
}

.gallery-large {
  grid-row: span 2;
}

.gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.location-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  max-width: none;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(253, 220, 3, 0.32);
  background:
    linear-gradient(135deg, rgba(253, 220, 3, 0.13), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.location-card h2 {
  max-width: 760px;
  margin-bottom: 20px;
}

.gallery-page {
  min-height: 100svh;
  padding: 140px var(--page-gutter) 90px;
  background: #000000;
}

.gallery-page-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.gallery-page-heading h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 8vw, 118px);
}

.gallery-page-heading p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.gallery-page-grid figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.gallery-page-grid figure:nth-child(6n + 1),
.gallery-page-grid figure:nth-child(6n + 4) {
  grid-row: span 2;
}

.gallery-page-grid figure::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(253, 220, 3, 0.18);
  pointer-events: none;
}

.gallery-page-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.06);
  transition: transform 220ms ease;
}

.gallery-page-grid figure:hover img {
  transform: scale(1.035);
}

.contact-list {
  display: grid;
  gap: 12px;
  min-width: min(360px, 100%);
}

.contact-list a {
  padding: 16px 18px;
  border: 1px solid rgba(253, 220, 3, 0.26);
  background: rgba(0, 0, 0, 0.38);
  color: #ffffff;
  font-weight: 800;
}

.site-footer {
  position: relative;
  padding: 58px var(--page-gutter) 28px;
  border-top: 1px solid rgba(253, 220, 3, 0.2);
  background:
    radial-gradient(circle at 16% 0%, rgba(253, 220, 3, 0.12), transparent 28%),
    linear-gradient(180deg, #050505, #000000);
  overflow: hidden;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(253, 220, 3, 0.08), transparent 22%, transparent 78%, rgba(253, 220, 3, 0.06));
  pointer-events: none;
}

.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(180px, 0.7fr) minmax(260px, 1fr);
  gap: 34px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  width: 170px;
  margin-bottom: 22px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-brand p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 850;
}

.footer-links a {
  width: fit-content;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--yellow);
}

.footer-links a:hover {
  transform: translateX(4px);
}

.footer-contact {
  padding: 22px;
  border: 1px solid rgba(253, 220, 3, 0.2);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-contact a,
.footer-contact span {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  :root {
    --page-gutter: 20px;
    --content-width: calc(100vw - 40px);
  }

  .site-nav {
    align-items: flex-start;
    min-height: 106px;
  }

  .nav-links {
    right: 20px;
    bottom: 18px;
    left: 20px;
    gap: 10px;
    max-width: calc(100% - 40px);
    overflow-x: auto;
    transform: none;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding: 10px 14px;
    font-size: 12px;
  }

  .about-section,
  .location-card {
    grid-template-columns: 1fr;
  }

  .membership-section {
    min-height: auto;
    padding-top: 132px;
  }

  .membership-section > img {
    height: 100%;
  }

  .membership-grid,
  .membership-footer {
    grid-template-columns: 1fr;
  }

  .price-card-featured {
    transform: none;
  }

  .membership-location {
    text-align: left;
  }

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

  .feature-grid article {
    min-height: auto;
  }

  .feature-grid h3 {
    margin-top: 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 360px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    padding: 18px;
  }

  .logo {
    padding: 10px 14px;
    font-size: 15px;
  }

  .hero-section,
  .hero-section > img,
  .background-section,
  .background-section img {
    min-height: 88svh;
    height: 88svh;
  }

  .membership-section {
    height: auto;
    min-height: 88svh;
    padding: 126px 18px 34px;
  }

  .membership-section > img {
    height: 100%;
  }

  .membership-heading h2 {
    font-size: clamp(38px, 13vw, 62px);
  }

  .price-card {
    min-height: auto;
  }

  .price {
    margin-top: 34px;
  }

  .price-card h3 {
    min-height: auto;
  }

  .membership-contact,
  .membership-location {
    padding: 18px;
  }

  .section {
    min-height: 88svh;
  }

  .hero-copy {
    top: auto;
    bottom: 58px;
    left: 50%;
    width: calc(100% - 40px);
    transform: translateX(-50%);
  }

  h1 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .button {
    width: 100%;
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .pricing-frame {
    width: calc(100% + 36px);
    margin-left: -18px;
    border-right: 0;
    border-left: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 420px;
  }

  .gallery-large {
    grid-row: span 1;
  }

  .location-card {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 16px;
    --content-width: calc(100vw - 32px);
  }

  .site-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.18), transparent);
  }

  .site-nav {
    display: grid;
    gap: 12px;
    min-height: auto;
    padding: 14px;
  }

  .logo {
    width: max-content;
    max-width: calc(100vw - 28px);
    padding: 10px 14px;
    font-size: 14px;
  }

  .nav-links {
    position: static;
    display: flex;
    gap: 8px;
    max-width: calc(100vw - 28px);
    overflow-x: auto;
    transform: none;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 11px;
  }

  .hero-section,
  .hero-section > img,
  .background-section,
  .background-section img {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-copy {
    top: 50%;
    bottom: auto;
    left: 50%;
    width: min(88vw, 420px);
    transform: translate(-50%, -50%);
  }

  .hero-copy .eyebrow,
  .membership-heading .eyebrow,
  .section-heading .eyebrow,
  .about-copy .eyebrow,
  .location-card .eyebrow {
    font-size: 11px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(32px, 10vw, 46px);
    line-height: 0.96;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    width: auto;
    min-height: 44px;
    padding: 0 16px;
    font-size: 12px;
  }

  .membership-section {
    display: block;
    min-height: auto;
    padding: 132px 16px 42px;
  }

  .membership-section > img {
    height: 100%;
  }

  .membership-section::after {
    background: rgba(0, 0, 0, 0.42);
  }

  .membership-content {
    width: 100%;
  }

  .membership-heading {
    margin-bottom: 20px;
  }

  .membership-heading h2,
  .section-heading h2,
  .about-copy h2,
  .location-card h2 {
    font-size: clamp(34px, 12vw, 52px);
    line-height: 0.98;
  }

  .membership-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .price-card,
  .price-card-featured {
    min-height: auto;
    padding: 22px;
    transform: none;
  }

  .price-card::before {
    top: 72px;
  }

  .plan-label {
    min-height: 34px;
    font-size: 14px;
  }

  .price-card h3 {
    min-height: auto;
    margin: 22px 0 14px;
    font-size: 13px;
  }

  .price-card ul {
    gap: 9px;
    font-size: 12px;
  }

  .price {
    margin-top: 28px;
    padding-top: 0;
    font-size: clamp(40px, 16vw, 58px);
  }

  .plan-button {
    width: 100%;
    text-align: center;
  }

  .membership-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .membership-contact,
  .membership-location {
    padding: 16px;
  }

  .membership-contact {
    display: grid;
    gap: 8px;
  }

  .membership-contact a {
    font-size: 15px;
  }

  .membership-location {
    text-align: left;
  }

  .membership-location strong {
    font-size: 28px;
  }

  .technogym-logo {
    width: min(100%, 260px);
  }

  .membership-location span {
    font-size: 13px;
  }

  .section {
    min-height: auto;
    padding: 76px 16px;
  }

  .about-section {
    display: block;
  }

  .about-copy {
    max-width: none;
    margin-bottom: 22px;
  }

  .about-copy p:not(.eyebrow),
  .location-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-grid article {
    min-height: auto;
    padding: 20px;
  }

  .feature-grid h3 {
    margin: 24px 0 10px;
    font-size: 21px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .gallery-grid figure {
    aspect-ratio: 4 / 5;
  }

  .gallery-large {
    grid-row: auto;
  }

  .location-card {
    display: block;
    padding: 22px;
  }

  .gallery-page {
    padding: 104px var(--page-gutter) 52px;
  }

  .gallery-page-heading {
    margin-bottom: 28px;
  }

  .gallery-page-heading h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .gallery-page-heading p:not(.eyebrow) {
    font-size: 15px;
  }

  .gallery-page-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-page-grid figure,
  .gallery-page-grid figure:nth-child(6n + 1),
  .gallery-page-grid figure:nth-child(6n + 4) {
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .contact-list {
    min-width: 0;
    margin-top: 22px;
  }

  .contact-list a {
    padding: 14px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .site-footer {
    padding: 44px var(--page-gutter) 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-logo {
    width: 150px;
    margin-bottom: 18px;
  }

  .footer-brand p {
    font-size: 15px;
  }

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

  .footer-links a {
    display: flex;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(253, 220, 3, 0.2);
    background: rgba(255, 255, 255, 0.035);
    align-items: center;
    justify-content: center;
  }

  .footer-contact {
    padding: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 28px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 18px;
    --content-width: calc(100vw - 36px);
  }

  body {
    min-width: 0;
  }

  .site-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.28), transparent);
  }

  .site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 27px 16px 12px 10px;
  }

  .nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .logo {
    width: 125px;
    height: 45px;
    padding: 0;
  }

  .logo img {
    width: 125px;
  }

  .menu-toggle {
    position: relative;
    z-index: 22;
    display: inline-flex;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(253, 220, 3, 0.32);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.52);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--yellow);
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-toggle:checked ~ .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    z-index: 30;
    display: grid;
    gap: 8px;
    max-width: none;
    max-height: 35svh;
    padding: 10px;
    border: 1px solid rgba(253, 220, 3, 0.24);
    background: rgba(0, 0, 0, 0.86);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .nav-toggle:checked ~ .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    display: flex;
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
    align-items: center;
    justify-content: center;
  }

  .hero-section,
  .hero-section > img,
  .background-section,
  .background-section img {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-section > img,
  .background-section img,
  .membership-section > img {
    object-fit: cover;
  }

  .hero-section::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background:
      radial-gradient(ellipse 156% 20% at 50% 86%, rgba(253, 220, 3, 0.18), transparent 72%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.56));
    pointer-events: none;
  }

  .hero-section::after {
    display: none;
  }

  .membership-section > img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-copy {
    top: 48%;
    bottom: auto;
    left: 50%;
    width: min(92vw, 390px);
    transform: translate(-50%, -50%);
  }

  .eyebrow {
    margin-bottom: 16px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero-copy .eyebrow {
    transform: translateY(-8px);
  }

  h1 {
    margin-bottom: 28px;
    font-size: clamp(33px, 9.4vw, 44px);
    line-height: 0.98;
  }

  h1 span {
    white-space: normal;
  }

  h1 span:first-child {
    font-size: 0.78em;
  }

  .hero-brand {
    margin-top: 8px;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 350px;
    font-size: 19px;
    line-height: 1.56;
  }

  .hero-actions {
    align-items: center;
    flex-direction: column;
    gap: 12px;
    margin-top: 63px;
  }

  .hero-powered {
    position: absolute;
    right: var(--page-gutter);
    bottom: 72px;
    left: var(--page-gutter);
    z-index: 2;
    display: grid;
    height: auto;
    min-height: 84px;
    padding: 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-powered:hover,
  .hero-powered:active,
  .hero-powered:focus,
  .hero-powered:focus-visible {
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .hero-powered .technogym-logo {
    width: min(100%, 260px);
  }

  .pricing-powered {
    display: none;
  }

  .button {
    width: min(260px, 100%);
    min-height: 48px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero-actions .button-secondary {
    width: min(260px, 100%);
    padding-right: 18px;
    padding-left: 18px;
  }

  .membership-section {
    display: block;
    min-height: auto;
    padding: 104px var(--page-gutter) 42px;
    scroll-margin-top: 88px;
  }

  .membership-heading h2 {
    font-size: clamp(40px, 13vw, 56px);
    line-height: 1.08;
  }

  .membership-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-card,
  .price-card-featured {
    min-height: auto;
    padding: 22px;
    transform: none;
  }

  .price-card::before {
    top: 72px;
  }

  .plan-label {
    min-height: 34px;
    font-size: 14px;
  }

  .price-card h3 {
    min-height: auto;
    margin: 22px 0 14px;
    font-size: 13px;
  }

  .price-card ul {
    gap: 9px;
    font-size: 12px;
  }

  .price {
    margin-top: 28px;
    padding-top: 0;
    font-size: clamp(44px, 17vw, 62px);
  }

  .plan-button {
    width: 100%;
    text-align: center;
  }

  .membership-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .membership-contact,
  .membership-location {
    height: auto;
    min-height: 0;
    padding: 16px;
  }

  .membership-contact {
    display: grid;
    gap: 8px;
  }

  .membership-contact a {
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    font-size: 14px;
    text-align: center;
  }

  .membership-location {
    text-align: left;
  }

  .membership-location strong {
    font-size: 30px;
  }

  .section {
    min-height: auto;
    padding: 72px var(--page-gutter);
  }

  .about-section {
    display: block;
  }

  .about-copy {
    max-width: none;
    margin-bottom: 26px;
  }

  .about-copy h2 {
    width: 100%;
    font-size: clamp(34px, 11vw, 48px);
    white-space: normal;
  }

  .about-copy p:not(.eyebrow),
  .location-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-grid article {
    min-height: auto;
    padding: 22px;
  }

  .feature-grid h3 {
    margin: 24px 0 10px;
    font-size: 23px;
  }

  .feature-grid p {
    font-size: 15px;
  }

  .gallery-section {
    padding-top: 62px;
  }

  .section-heading h2 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .gallery-grid figure {
    aspect-ratio: 4 / 5;
  }

  .gallery-large {
    grid-row: auto;
  }

  .location-card {
    display: block;
    padding: 22px;
  }

  .location-card h2 {
    max-width: none;
    font-size: clamp(30px, 10vw, 44px);
  }

  .contact-list {
    min-width: 0;
    margin-top: 22px;
  }

  .contact-list a {
    padding: 14px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .hero-copy {
    top: 43%;
    width: min(94vw, 380px);
  }

  h1 {
    margin-bottom: 24px;
    font-size: clamp(31px, 9.2vw, 39px);
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 330px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 42px;
  }

  .button,
  .hero-actions .button-secondary {
    width: min(258px, 84vw);
  }

  .hero-powered {
    bottom: 38px;
    min-height: 0;
    padding: 0;
  }

  .hero-powered span {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .hero-powered .technogym-logo {
    width: min(72vw, 245px);
  }
}

@media (max-width: 380px) {
  .site-nav {
    padding-top: 20px;
  }

  .logo,
  .logo img {
    width: 112px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .hero-copy {
    top: 41.5%;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 16px;
    padding: 8px 14px;
    font-size: 13px;
    transform: translateY(-10px);
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(29px, 8.8vw, 34px);
  }

  .hero-brand {
    margin-top: 6px;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 310px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .button,
  .hero-actions .button-secondary {
    width: min(238px, 82vw);
    min-height: 46px;
    font-size: 12px;
  }

  .hero-powered {
    bottom: 24px;
  }

  .hero-powered .technogym-logo {
    width: min(68vw, 220px);
  }
}

@media (max-height: 760px) and (max-width: 430px) {
  .hero-copy {
    top: 40%;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(28px, 8.4vw, 34px);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.42;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .button,
  .hero-actions .button-secondary {
    min-height: 44px;
  }

  .hero-powered {
    bottom: 18px;
  }

  .hero-powered .technogym-logo {
    width: min(62vw, 205px);
  }
}
