
/* ========================================
   FORM ATHLETICS — DESIGN SYSTEM
======================================== */

:root {
  --background: #ffffff;
  --surface: #f5f5f3;
  --surface-dark: #eaeae7;
  --text: #20211f;
  --muted: #777872;
  --border: #e5e5e1;
  --accent: #c7f36b;
  --dark: #20211f;
  --white: #ffffff;

  --font-body: "DM Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;

  --container: 1200px;
  --radius: 8px;
  --transition: 220ms ease;
}


/* ========================================
   RESET AND BASE STYLES
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section-padding {
  padding-block: 112px;
}

section[id] {
  scroll-margin-top: 88px;
}


/* ========================================
   HEADER AND NAVIGATION
======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 229, 225, 0.8);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}

.logo span {
  color: #9ac83c;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links > a:not(.nav-cta) {
  color: #64655f;
  font-size: 13px;
  font-weight: 600;
  transition: color var(--transition);
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 13px 17px;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition:
    background var(--transition),
    color var(--transition);
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--dark);
}

.nav-cta span,
.button span {
  font-size: 17px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition);
}


/* ========================================
   HERO SECTION
======================================== */

.hero {
  min-height: 640px;
  padding-block: 72px 92px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.hero-content {
  padding-block: 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 30px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ac83c;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(64px, 7.2vw, 100px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -7px;
}

.hero h1 span,
.intro h2 span,
.section-heading h2 span,
.contact-heading h2 span {
  color: #8ebd32;
}

.hero-description {
  max-width: 420px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 27px;
  margin-top: 34px;
}

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 14px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--dark);
  color: var(--white);
}

.button-dark:hover {
  background: #373832;
}

.button-light {
  background: var(--white);
  color: var(--dark);
}

.button-light:hover {
  background: var(--accent);
}

.button-outline {
  border-color: #d9d9d3;
  background: transparent;
  color: var(--text);
}

.button-outline:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  font-size: 17px;
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateY(3px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 55px;
  color: #8b8c85;
  font-size: 11px;
}

.note-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: #c9c9c2;
}


/* ========================================
   HERO IMAGE
======================================== */

.hero-visual {
  min-height: 480px;
  position: relative;
  background: var(--surface);
  border-radius: 5px;
}

.hero-image {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.image-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.label-number {
  color: #8ebd32;
}

.hero-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.badge-symbol {
  font-size: 23px;
}


/* ========================================
   SECTION LABELS AND HEADINGS
======================================== */

.section-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.intro h2,
.section-heading h2,
.contact-heading h2 {
  margin-top: 22px;
  font-family: var(--font-heading);
  font-size: clamp(35px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -2.8px;
  line-height: 1.15;
}


/* ========================================
   INTRODUCTION
======================================== */

.intro {
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
  align-items: center;
}

.intro-copy {
  max-width: 480px;
}

.intro-copy p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--text);
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
}


/* ========================================
   FACILITIES
======================================== */

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 48px;
}

.section-side-copy {
  max-width: 290px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  padding-bottom: 5px;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}

.facility-card {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: 5px;
}

.facility-large {
  grid-row: span 2;
  min-height: 660px;
}

.facility-card img {
  position: absolute;
  inset: 0;
  transition: transform 500ms ease;
}

.facility-card:hover img {
  transform: scale(1.045);
}

.facility-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 25%,
    rgba(0, 0, 0, 0.08) 45%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.facility-overlay {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  color: var(--white);
}

.facility-overlay > span {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
}

.facility-overlay h3 {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 25px;
  letter-spacing: -0.8px;
}

.facility-overlay p {
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.demo-disclaimer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}


/* ========================================
   MEMBERSHIP PLANS
======================================== */

.membership {
  background: var(--surface);
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 31px 26px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--white);
}

.plan-featured {
  border-color: var(--dark);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.045);
}

.plan-duration {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.plan-card h3 {
  margin-top: 23px;
  font-family: var(--font-heading);
  font-size: 23px;
  letter-spacing: -0.8px;
}

.plan-description {
  min-height: 58px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 23px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.currency {
  font-size: 20px;
  font-weight: 700;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -2px;
}

.price-period {
  color: var(--muted);
  font-size: 11px;
}

.plan-features {
  display: grid;
  gap: 14px;
  padding-block: 25px;
  list-style: none;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 23px;
  color: #62635e;
  font-size: 12px;
  line-height: 1.7;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #84af2d;
  font-weight: 800;
}

.plan-card .button {
  width: 100%;
  margin-top: 12px;
}


/* ========================================
   CALL TO ACTION
======================================== */

.cta-section {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section .section-label {
  color: #b4b5ad;
}

.cta-section h2 {
  margin-top: 25px;
  font-family: var(--font-heading);
  font-size: clamp(45px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -4px;
}

.cta-section h2 span {
  color: var(--accent);
}

.cta-section > .container > p:not(.section-label) {
  max-width: 440px;
  margin-top: 20px;
  color: #c2c3bc;
  font-size: 13px;
  line-height: 1.9;
}

.cta-section .button {
  margin-top: 30px;
}


/* ========================================
   CONTACT
======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 100px;
}

.contact-heading > p:last-child {
  max-width: 320px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.contact-item p,
.contact-item a {
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-item p {
  color: #575852;
}

.contact-details > .button {
  align-self: flex-start;
  margin-top: 27px;
}

.contact-details > .underlined-link {
  align-self: flex-start;
  margin-top: 22px;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner > p,
.back-to-top {
  color: var(--muted);
  font-size: 11px;
}

.back-to-top {
  font-weight: 700;
}

.footer-bottom {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--muted);
  font-size: 10px;
}


/* ========================================
   RESPONSIVE TABLET
======================================== */

@media (max-width: 900px) {
  .container {
    width: min(100% - 44px, var(--container));
  }

  .section-padding {
    padding-block: 85px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr 0.9fr;
    gap: 32px;
    padding-block: 65px 75px;
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 76px);
    letter-spacing: -4.5px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-actions {
    gap: 18px;
  }

  .intro-grid {
    gap: 45px;
  }

  .section-heading {
    gap: 25px;
  }

  .facility-grid {
    gap: 14px;
  }

  .facility-large {
    min-height: 610px;
  }

  .facility-card {
    min-height: 295px;
  }

  .membership-grid {
    gap: 12px;
  }

  .plan-card {
    padding: 25px 18px;
  }

  .plan-card h3 {
    font-size: 20px;
  }

  .price-value {
    font-size: 34px;
  }

  .contact-grid {
    gap: 55px;
  }
}


/* ========================================
   RESPONSIVE MOBILE
======================================== */

@media (max-width: 650px) {
  html {
    scroll-padding-top: 74px;
  }

  section[id] {
    scroll-margin-top: 74px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section-padding {
    padding-block: 70px;
  }

  .navbar {
    min-height: 70px;
  }

  .logo {
    font-size: 27px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.045);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a:not(.nav-cta) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    justify-content: space-between;
    margin-top: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 58px 65px;
  }

  .hero-content {
    padding: 0;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .hero h1 {
    font-size: clamp(62px, 14vw, 88px);
    letter-spacing: -5px;
  }

  .hero-description {
    margin-top: 22px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 20px;
    margin-top: 28px;
  }

  .button {
    min-height: 49px;
    padding: 13px 15px;
    gap: 17px;
  }

  .hero-note {
    margin-top: 35px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-badge {
    width: 82px;
    height: 82px;
    top: 15px;
    right: 15px;
    font-size: 9px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro h2,
  .section-heading h2,
  .contact-heading h2 {
    font-size: clamp(35px, 9vw, 47px);
    letter-spacing: -2px;
  }

  .intro-copy p {
    font-size: 13px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-side-copy {
    margin-top: 18px;
    font-size: 12px;
  }

  .facility-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .facility-large {
    grid-row: auto;
    min-height: 440px;
  }

  .facility-card {
    min-height: 330px;
  }

  .facility-overlay {
    padding: 22px;
  }

  .facility-overlay h3 {
    font-size: 23px;
  }

  .membership-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-card {
    padding: 27px 24px;
  }

  .plan-card h3 {
    font-size: 23px;
  }

  .plan-description {
    min-height: auto;
  }

  .price-value {
    font-size: 40px;
  }

  .plan-features {
    gap: 12px;
  }

  .cta-section h2 {
    font-size: clamp(44px, 11vw, 60px);
    letter-spacing: -2.5px;
  }

  .cta-section > .container > p:not(.section-label) {
    font-size: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-heading > p:last-child {
    font-size: 12px;
  }

  .contact-details > .button {
    width: 100%;
  }

  .footer-inner {
    min-height: auto;
    padding-block: 26px;
    flex-wrap: wrap;
    gap: 17px;
  }

  .footer-inner > p {
    width: 100%;
    order: 3;
  }

  .footer-bottom {
    min-height: 58px;
  }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 58px;
    letter-spacing: -3.5px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 350px;
  }

  .facility-large {
    min-height: 370px;
  }

  .facility-card {
    min-height: 280px;
  }

  .plan-card {
    padding: 23px 19px;
  }
}


/* ========================================
   ACCESSIBILITY
======================================== */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #8ebd32;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   THE FITNESS GYM — PROFESSIONAL DESIGN
   Add this block at the end of style.css
======================================== */

:root {
  --background: #fcfcfa;
  --surface: #f3f3ef;
  --surface-dark: #e9e9e3;
  --text: #20211f;
  --muted: #74766e;
  --border: #e4e5de;
  --accent: #c8f169;
  --dark: #20211f;
}

/* Global refinement */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  letter-spacing: -0.01em;
}

.container {
  width: min(1240px, calc(100% - 80px));
}

.section-padding {
  padding-block: 120px;
}

::selection {
  background: var(--accent);
  color: var(--dark);
}

/* Header */

.site-header {
  background: rgba(252, 252, 250, 0.92);
  border-bottom: 1px solid rgba(32, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: 86px;
}

.logo {
  font-size: 25px;
  letter-spacing: -1.5px;
}

.logo span {
  color: #8cb52f;
}

.nav-links {
  gap: 36px;
}

.nav-links > a:not(.nav-cta) {
  font-size: 12px;
  transition: color 180ms ease;
}

.nav-links > a:not(.nav-cta):hover {
  color: #8cb52f;
}

.nav-cta {
  border-radius: 3px;
  padding: 14px 18px;
}

/* Hero */

.hero {
  min-height: 690px;
  padding-block: 82px 100px;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
}

.hero-content {
  max-width: 550px;
}

.eyebrow {
  margin-bottom: 32px;
  letter-spacing: 2.2px;
}

.hero h1 {
  font-size: clamp(68px, 7.7vw, 104px);
  line-height: 0.96;
  letter-spacing: -7px;
}

.hero h1 span {
  color: #88b42d;
}

.hero-description {
  max-width: 390px;
  margin-top: 30px;
  font-size: 14px;
  line-height: 2;
}

.hero-actions {
  gap: 25px;
  margin-top: 35px;
}

.button {
  min-height: 54px;
  border-radius: 3px;
  padding: 15px 20px;
  letter-spacing: -0.01em;
}

.button-dark {
  box-shadow: 0 5px 14px rgba(32, 33, 31, 0.08);
}

.button-dark:hover {
  background: #3b3d35;
}

.button-outline:hover {
  background: var(--dark);
}

.hero-note {
  margin-top: 58px;
}

.hero-visual {
  min-height: 530px;
  overflow: hidden;
  border-radius: 3px;
  background: #e7e7df;
}

.hero-image {
  transition: transform 700ms ease;
}

.hero-visual:hover .hero-image {
  transform: scale(1.025);
}

.image-label {
  bottom: 22px;
  left: 22px;
  border-radius: 2px;
  padding: 15px 18px;
}

.hero-badge {
  top: 24px;
  right: 24px;
  width: 92px;
  height: 92px;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Headings */

.section-label {
  letter-spacing: 2px;
  font-size: 10px;
}

.intro h2,
.section-heading h2,
.contact-heading h2 {
  margin-top: 24px;
  font-size: clamp(38px, 4.4vw, 56px);
  letter-spacing: -2.8px;
  line-height: 1.12;
}

/* Introduction */

.intro {
  background: #f2f2ee;
}

.intro-grid {
  grid-template-columns: 1.05fr 0.75fr;
  gap: 100px;
}

.intro-copy p {
  font-size: 13px;
  line-height: 2;
  color: #696b63;
}

.underlined-link {
  border-bottom-color: #a8a99f;
  transition: border-color 180ms ease;
}

.underlined-link:hover {
  border-bottom-color: #88b42d;
}

/* Facilities */

.section-heading {
  margin-bottom: 52px;
  gap: 50px;
}

.section-side-copy {
  font-size: 13px;
  max-width: 310px;
}

.facility-grid {
  gap: 18px;
}

.facility-card,
.facility-large {
  border-radius: 3px;
  background: #e8e8e2;
}

.facility-card img {
  filter: saturate(0.82);
}

.facility-card:hover img {
  filter: saturate(1);
  transform: scale(1.035);
}

.facility-card::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 15%,
    rgba(0, 0, 0, 0.12) 45%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.facility-overlay {
  padding: 30px;
}

.facility-overlay h3 {
  font-size: 26px;
  letter-spacing: -1px;
}

.facility-overlay p {
  font-size: 12px;
  line-height: 1.8;
}

.demo-disclaimer {
  font-size: 10px;
  color: #85867e;
}

/* Membership */

.membership {
  background: #f2f2ee;
}

.membership-grid {
  gap: 20px;
}

.plan-card {
  padding: 34px 28px 30px;
  border: 1px solid #e3e3dc;
  border-radius: 3px;
  box-shadow: 0 4px 16px rgba(25, 26, 23, 0.025);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: #c5c7b9;
  box-shadow: 0 16px 36px rgba(25, 26, 23, 0.06);
}

.plan-featured {
  border-color: #b7c99a;
  box-shadow: 0 8px 26px rgba(25, 26, 23, 0.045);
}

.plan-duration {
  letter-spacing: 1.8px;
  font-size: 9px;
}

.plan-card h3 {
  font-size: 24px;
  letter-spacing: -1px;
}

.plan-description {
  font-size: 12px;
  line-height: 1.9;
  color: #777970;
}

.plan-price {
  margin-top: 26px;
  padding-bottom: 25px;
}

.price-value {
  font-size: 43px;
  letter-spacing: -2.5px;
}

.plan-features {
  gap: 15px;
  padding-block: 27px;
}

.plan-features li {
  font-size: 11px;
  line-height: 1.8;
}

.plan-features li::before {
  color: #82a92c;
}

.plan-card .button {
  margin-top: auto;
}

/* Call to action */

.cta-section {
  background: #22231f;
}

.cta-section h2 {
  font-size: clamp(48px, 6.5vw, 78px);
  line-height: 1.06;
  letter-spacing: -4px;
}

.cta-section h2 span {
  color: var(--accent);
}

.cta-section > .container > p:not(.section-label) {
  max-width: 410px;
  line-height: 2;
}

/* Contact */

.contact-grid {
  grid-template-columns: 0.9fr 1fr;
  gap: 110px;
}

.contact-item {
  padding-block: 23px;
}

.contact-label {
  font-size: 9px;
  letter-spacing: 1.8px;
}

.contact-item p,
.contact-item a {
  font-size: 13px;
  line-height: 1.8;
}

.contact-details > .button {
  margin-top: 30px;
}

/* Footer */

.site-footer {
  background: #f8f8f5;
  border-top-color: #e6e6df;
}

.footer-inner {
  min-height: 104px;
}

.footer-inner > p,
.back-to-top {
  font-size: 11px;
}

/* Keyboard focus */

a:focus-visible,
button:focus-visible {
  outline-color: #83aa30;
}

/* Tablet */

@media (max-width: 900px) {
  .container {
    width: calc(100% - 48px);
  }

  .section-padding {
    padding-block: 88px;
  }

  .hero {
    min-height: auto;
    gap: 36px;
    padding-block: 65px 80px;
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 76px);
    letter-spacing: -4px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .intro-grid {
    gap: 45px;
  }

  .contact-grid {
    gap: 55px;
  }

  .plan-card {
    padding: 25px 18px;
  }
}

/* Mobile */

@media (max-width: 650px) {
  .container {
    width: calc(100% - 36px);
  }

  .section-padding {
    padding-block: 72px;
  }

  .navbar {
    min-height: 70px;
  }

  .nav-links {
    top: 70px;
  }

  .hero {
    gap: 35px;
    padding-block: 54px 65px;
  }

  .hero h1 {
    font-size: clamp(62px, 14vw, 84px);
    letter-spacing: -4.5px;
  }

  .hero-description {
    max-width: 100%;
    font-size: 13px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .intro-grid {
    gap: 25px;
  }

  .intro h2,
  .section-heading h2,
  .contact-heading h2 {
    font-size: clamp(36px, 9vw, 47px);
    letter-spacing: -2px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .facility-grid {
    gap: 14px;
  }

  .facility-large {
    min-height: 420px;
  }

  .facility-card {
    min-height: 310px;
  }

  .facility-overlay {
    padding: 23px;
  }

  .membership-grid {
    gap: 16px;
  }

  .plan-card {
    padding: 28px 23px;
  }

  .plan-card:hover {
    transform: none;
  }

  .price-value {
    font-size: 40px;
  }

  .cta-section h2 {
    font-size: clamp(44px, 11vw, 59px);
    letter-spacing: -2.5px;
  }

  .contact-grid {
    gap: 35px;
  }

  .footer-inner {
    padding-block: 27px;
  }
}

/* Small phones */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 57px;
    letter-spacing: -3.5px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .facility-large {
    min-height: 360px;
  }

  .facility-card {
    min-height: 270px;
  }

  .plan-card {
    padding: 23px 18px;
  }
}

/* ========================================
   MOBILE LAYOUT FIX
   Append at the very bottom of style.css
======================================== */

/* Prevent horizontal scrolling */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

/* Tablet and smaller laptops */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 72px);
    letter-spacing: -3.5px;
    overflow-wrap: normal;
  }

  .hero-visual {
    min-width: 0;
    min-height: 380px;
  }

  .intro-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
  }

  .facility-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .membership-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plan-card {
    min-width: 0;
    padding: 22px 16px;
  }

  .plan-card h3 {
    font-size: 19px;
    overflow-wrap: anywhere;
  }

  .price-value {
    font-size: 32px;
  }

  .plan-price {
    gap: 3px;
  }

  .plan-card .button {
    gap: 8px;
    padding-inline: 10px;
    font-size: 11px;
  }
}

/* Phones */
@media (max-width: 650px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .section-padding {
    padding-block: 56px;
  }

  /* Header */
  .navbar {
    min-height: 68px;
    gap: 12px;
  }

  .navbar .logo {
    max-width: calc(100% - 60px);
    font-size: clamp(19px, 5vw, 24px);
    letter-spacing: -1px;
    overflow-wrap: anywhere;
  }

  .menu-toggle {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
  }

  .nav-links {
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 16px 18px;
    gap: 0;
  }

  .nav-links > a:not(.nav-cta) {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .nav-cta {
    min-height: 46px;
  }

  /* Hero */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    min-height: auto;
    padding-block: 44px 52px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .hero h1 {
    font-size: clamp(54px, 12.5vw, 78px);
    line-height: 0.99;
    letter-spacing: -3.5px;
  }

  .hero-description {
    max-width: 420px;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 25px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 320px;
    justify-content: space-between;
  }

  .hero-note {
    margin-top: 30px;
    font-size: 10px;
    line-height: 1.6;
  }

  .hero-visual {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: clamp(300px, 95vw, 430px);
    border-radius: 3px;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-badge {
    width: 76px;
    height: 76px;
    top: 14px;
    right: 14px;
    font-size: 9px;
  }

  .image-label {
    left: 12px;
    bottom: 12px;
    padding: 11px 12px;
    font-size: 8px;
  }

  /* Headings */
  .intro h2,
  .section-heading h2,
  .contact-heading h2 {
    margin-top: 18px;
    font-size: clamp(32px, 8.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -1.8px;
    overflow-wrap: normal;
  }

  .section-label {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  /* About */
  .intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .intro-copy {
    max-width: none;
    min-width: 0;
  }

  .intro-copy p {
    font-size: 13px;
    line-height: 1.85;
  }

  /* Section headings */
  .section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }

  .section-side-copy {
    max-width: 420px;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.8;
  }

  /* Facilities */
  .facility-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .facility-card,
  .facility-large {
    grid-row: auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 300px;
  }

  .facility-large {
    height: 360px;
  }

  .facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .facility-overlay {
    padding: 20px;
  }

  .facility-overlay h3 {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .facility-overlay p {
    font-size: 11px;
  }

  .demo-disclaimer {
    font-size: 10px;
    line-height: 1.7;
  }

  /* Membership */
  .membership-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .plan-card {
    width: 100%;
    min-width: 0;
    padding: 25px 22px;
  }

  .plan-card h3 {
    margin-top: 16px;
    font-size: 23px;
    overflow-wrap: normal;
  }

  .plan-description {
    min-height: 0;
    font-size: 12px;
    line-height: 1.8;
  }

  .plan-price {
    margin-top: 20px;
    padding-bottom: 20px;
  }

  .price-value {
    font-size: 39px;
    letter-spacing: -2px;
  }

  .plan-features {
    gap: 11px;
    padding-block: 22px;
  }

  .plan-features li {
    font-size: 12px;
  }

  .plan-card .button {
    width: 100%;
    min-height: 49px;
    margin-top: 10px;
    justify-content: space-between;
    padding-inline: 16px;
    font-size: 12px;
  }

  /* Call to action */
  .cta-section h2 {
    font-size: clamp(40px, 10vw, 55px);
    line-height: 1.08;
    letter-spacing: -2px;
  }

  .cta-section > .container > p:not(.section-label) {
    font-size: 12px;
    line-height: 1.8;
  }

  .cta-section .button {
    width: 100%;
    max-width: 300px;
  }

  /* Contact */
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .contact-heading > p:last-child {
    max-width: 400px;
    font-size: 12px;
    line-height: 1.8;
  }

  .contact-details {
    width: 100%;
    min-width: 0;
  }

  .contact-item {
    padding-block: 18px;
  }

  .contact-item p,
  .contact-item a {
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .contact-details > .button {
    align-self: stretch;
    width: 100%;
    margin-top: 24px;
    justify-content: space-between;
  }

  /* Footer */
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding-block: 23px;
  }

  .footer-inner .logo {
    min-width: 0;
    font-size: 22px;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    order: initial;
    font-size: 10px;
    line-height: 1.7;
  }

  .back-to-top {
    font-size: 10px;
  }

  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding-block: 15px;
  }

  .footer-bottom p {
    font-size: 9px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 52px;
    letter-spacing: -3px;
  }

  .hero-visual {
    height: 290px;
  }

  .facility-large {
    height: 320px;
  }

  .facility-card {
    height: 260px;
  }

  .plan-card {
    padding: 22px 17px;
  }

  .cta-section h2 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }
}

/* ========================================
   CONTACT MAP
======================================== */

.map-preview {
  width: 100%;
  height: 230px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.map-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 650px) {
  .map-preview {
    height: 210px;
  }
}
