/* =========================================================
   THE RIDGE — Gym & Fitness Center
   Bold Dark & Energetic · Electric Lime
   ========================================================= */

:root {
  /* Surfaces */
  --bg: #0a0a0b;
  --bg-elev: #0f0f11;
  --surface: #151518;
  --surface-2: #1c1c21;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f6f6f7;
  --muted: #a4a4ad;
  --muted-2: #74747d;

  /* Brand */
  --lime: #c2f63d;
  --lime-bright: #d4ff52;
  --lime-deep: #97c61f;
  --lime-glow: rgba(194, 246, 61, 0.35);

  /* Type */
  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Z scale */
  --z-nav: 100;
  --z-overlay: 200;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: unset !important;}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; word-break: break-word; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(72px, 11vw, 130px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section.gallery{
	margin: 0 !important;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--lime); display: inline-block; }

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
}
h2.h-display { font-size: clamp(2.1rem, 6vw, 4rem); }
.lead { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 56ch; }
.italic-accent { font-style: italic; color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  min-height: 48px;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--lime); color: #0a0a0b; box-shadow: 0 0 0 rgba(194,246,61,0); }
.btn--primary:hover { background: var(--lime-bright); transform: translateY(-2px); box-shadow: 0 14px 34px -12px var(--lime-glow); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---------- Navbar ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--lime); color: #0a0a0b; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 40px; width: auto; display: block; }
.footer__brand .brand__logo { height: 50px; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand__sub { font-size: 0.56rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; font-size: 0.92rem; font-weight: 500; color: var(--muted);
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--text); }
.nav__cta { margin-left: 10px; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; }
.nav__toggle span { position: relative; width: 22px; height: 2px; background: var(--text); transition: background .2s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8, 8, 9, 0.98);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 clamp(28px, 8vw, 56px);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600;
  font-size: clamp(1.8rem, 8vw, 2.6rem); letter-spacing: 0.02em; color: var(--text);
  padding: 10px 0; border-bottom: 1px solid var(--line);
  transform: translateY(14px); opacity: 0; transition: color .2s, transform .5s var(--ease), opacity .5s var(--ease);
}
.mobile-menu.is-open a { transform: translateY(0); opacity: 1; }
.mobile-menu a:nth-child(1){transition-delay:.06s}.mobile-menu a:nth-child(2){transition-delay:.1s}
.mobile-menu a:nth-child(3){transition-delay:.14s}.mobile-menu a:nth-child(4){transition-delay:.18s}
.mobile-menu a:nth-child(5){transition-delay:.22s}.mobile-menu a:nth-child(6){transition-delay:.26s}
.mobile-menu a:nth-child(7){transition-delay:.3s}
.mobile-menu a:active { color: var(--lime); }
.mobile-menu .btn { margin-top: 22px; align-self: flex-start; font-size: 20px !important; padding: 10px 14px !important;}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 76px; padding-bottom: 76px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  opacity: 0.32; filter: grayscale(0.3) contrast(1.05);
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(194,246,61,0.12), transparent 55%),
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.82) 60%, var(--bg) 100%);
}
.hero__glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, var(--lime-glow), transparent 65%);
  filter: blur(40px); top: -10%; right: -8%; opacity: 0.5;
  animation: floatGlow 9s ease-in-out infinite alternate;
}
@keyframes floatGlow { to { transform: translate(-30px, 40px) scale(1.1); } }

.hero__content { position: relative; z-index: 1; max-width: 900px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: 0.8rem; font-weight: 500; color: var(--text); margin-bottom: 26px;
  background: rgba(255,255,255,0.03);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.hero h1 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.8rem, 10.5vw, 7rem); line-height: 0.92; letter-spacing: 0.005em;
  margin-bottom: 22px;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(105%); transition: transform .9s var(--ease); }
.hero.is-ready h1 .line:nth-child(1) > span { transition-delay: .1s; }
.hero.is-ready h1 .line:nth-child(2) > span { transition-delay: .22s; }
.hero.is-ready h1 .line:nth-child(3) > span { transition-delay: .34s; }
.hero.is-ready h1 .line > span { transform: translateY(0); }

.hero__sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 54ch; margin-bottom: 34px; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease) .62s, transform .8s var(--ease) .62s; }
.hero.is-ready .hero__sub, .hero.is-ready .hero__actions { opacity: 1; transform: translateY(0); }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero__scroll .mouse { width: 22px; height: 36px; border: 2px solid var(--line-strong); border-radius: 12px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; background: var(--lime); border-radius: 3px; transform: translateX(-50%); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,12px)} }

/* ---------- Stat bar ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-elev); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 44px) 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--lime); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 10px; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Section header ---------- */
.section__head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head.center .eyebrow { justify-content: center; }

/* ---------- 24/7 Access ---------- */
.access { background: var(--bg-elev); border-block: 1px solid var(--line); }
.access__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.access__features { display: grid; gap: 14px; margin-top: 30px; }
.feature-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.feature-row:hover { border-color: var(--line-strong); transform: translateX(6px); }
.feature-row__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(194,246,61,0.12); color: var(--lime); display: grid; place-items: center; }
.feature-row__icon svg { width: 22px; height: 22px; }
.feature-row__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.05rem; font-weight: 600; }
.feature-row__desc { color: var(--muted); font-size: 0.92rem; margin-top: 3px; }

.access__visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.access__visual img { width: 100%; height: 100%; object-fit: cover; }
.access__card {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(10,10,11,0.78); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 18px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.access__card .ring { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--lime); display: grid; place-items: center; color: var(--lime); flex-shrink: 0; }
.access__card .ring svg { width: 24px; height: 24px; }
.access__card strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; }
.access__card span { color: var(--muted); font-size: 0.86rem; }

/* ---------- Amenities ---------- */
.amen__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.amen-card {
  position: relative; padding: 30px 26px 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  overflow: hidden; transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.amen-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 0% 0%, rgba(194,246,61,0.10), transparent 50%); opacity: 0; transition: opacity .35s var(--ease); }
.amen-card:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.amen-card:hover::before { opacity: 1; }
.amen-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); color: var(--lime); display: grid; place-items: center; margin-bottom: 20px; transition: background .35s var(--ease); }
.amen-card:hover .amen-card__icon { background: rgba(194,246,61,0.14); }
.amen-card__icon svg { width: 26px; height: 26px; }
.amen-card h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: 0.03em; font-size: 1.2rem; position: relative; }
.amen-card p { color: var(--muted); font-size: 0.94rem; margin-top: 10px; position: relative; }

/* ---------- Recovery Lounge (feature) ---------- */
.recovery { position: relative; overflow: hidden; }
.recovery__inner {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); isolation: isolate;
}
.recovery__bg { position: absolute; inset: 0; z-index: -2; }
.recovery__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.recovery__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.78) 45%, rgba(10,10,11,0.45) 100%); }
.recovery__content { padding: clamp(40px, 7vw, 84px); max-width: 640px; }
.recovery__pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: var(--lime); color: #0a0a0b; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 600; margin-bottom: 22px; }
.recovery h2 { margin-bottom: 18px; }
.recovery__list { display: grid; gap: 16px; margin: 28px 0 32px; }
.recovery__list li { display: flex; gap: 14px; align-items: flex-start; }
.recovery__list .chk { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(194,246,61,0.15); color: var(--lime); display: grid; place-items: center; margin-top: 2px; }
.recovery__list .chk svg { width: 15px; height: 15px; }
.recovery__list b { font-weight: 600; }
.recovery__list span { color: var(--muted); }
.recovery__price { display: inline-flex; align-items: baseline; gap: 8px; padding: 14px 22px; border: 1px solid var(--line-strong); border-radius: 100px; }
.recovery__price .amt { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--lime); }
.recovery__price .per { color: var(--muted); font-size: 0.9rem; }

/* ---------- Pricing ---------- */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 32px 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan--featured { border-color: var(--lime); background: linear-gradient(180deg, rgba(194,246,61,0.07), var(--surface) 40%); box-shadow: 0 30px 80px -50px var(--lime-glow); }
.plan--featured:hover { border-color: var(--lime-bright); }
.plan__tag { align-self: flex-start; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; font-weight: 600; color: #0a0a0b; background: var(--lime); padding: 5px 12px; border-radius: 100px; margin-bottom: 18px; }
.plan__name { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: 0.04em; font-size: 1.4rem; }
.plan__for { color: var(--muted); font-size: 0.88rem; margin-top: 4px; min-height: 2.6em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.plan__price .amt { font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price .per { color: var(--muted); font-size: 0.95rem; }
.plan__divider { height: 1px; background: var(--line); margin: 24px 0; }
.plan__feats { display: grid; gap: 13px; margin-bottom: 28px; flex-grow: 1; }
.plan__feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.93rem; color: var(--text); }
.plan__feats .chk { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(194,246,61,0.14); color: var(--lime); display: grid; place-items: center; margin-top: 2px; }
.plan__feats .chk svg { width: 12px; height: 12px; }
.plan__addon { display: flex; gap: 11px; align-items: flex-start; font-size: 0.93rem; color: var(--muted); }
.plan__addon .plus { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 1px dashed var(--lime-deep); color: var(--lime); display: grid; place-items: center; margin-top: 2px; font-size: 14px; line-height: 1; }
.pricing__note { text-align: center; color: var(--muted-2); font-size: 0.88rem; margin-top: 28px; }
.pricing__addon-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 22px; padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--bg-elev);
}
.pricing__addon-banner .txt strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.1rem; }
.pricing__addon-banner .txt p { color: var(--muted); font-size: 0.9rem; margin-top: 3px; }
.pricing__addon-banner .amt { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--lime); white-space: nowrap; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-elev); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.contact__info { display: grid; gap: 16px; align-content: start; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s var(--ease); }
.info-row:hover { border-color: var(--line-strong); }
.info-row__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(194,246,61,0.12); color: var(--lime); display: grid; place-items: center; }
.info-row__icon svg { width: 21px; height: 21px; }
.info-row .label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.info-row .value { font-size: 1.02rem; font-weight: 500; margin-top: 3px; }
.info-row .value a:hover { color: var(--lime); }
.hours-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: none; }
.hours-row .open { color: var(--lime); font-weight: 600; }

.map { margin-top: 4px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) invert(0.9) contrast(0.9) hue-rotate(180deg); }

/* Form */
.form { padding: clamp(26px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.form h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.03em; margin-bottom: 6px; }
.form__sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field label .req { color: var(--lime); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; min-height: 48px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(194,246,61,0.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a4a4ad' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__success { display: none; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(194,246,61,0.12); border: 1px solid var(--lime-deep); color: var(--lime-bright); font-size: 0.92rem; }
.form__success.show { display: flex; }
.form__success svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.footer__col h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; color: var(--muted-2); margin-bottom: 16px; }
.footer__col li { margin-bottom: 11px; }
.footer__col a, .footer__col span { color: var(--muted); font-size: 0.93rem; transition: color .2s; }
.footer__col a:hover { color: var(--lime); }
.footer__socials { display: flex; gap: 12px; margin-top: 18px; }
.footer__socials a { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); transition: all .25s var(--ease); }
.footer__socials a:hover { color: #0a0a0b; background: var(--lime); border-color: var(--lime); transform: translateY(-3px); }
.footer__socials svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; color: var(--muted-2); font-size: 0.84rem; }

/* ---------- Gallery (bento) ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 205px;
  gap: 14px;
  grid-template-areas:
    "a a b c"
    "a a d e";
}
.ga-a { grid-area: a; } .ga-b { grid-area: b; } .ga-c { grid-area: c; }
.ga-d { grid-area: d; } .ga-e { grid-area: e; }
.gallery__item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,11,0.5));
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
@media (max-width: 860px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px;
    grid-template-areas: "a a" "b c" "d e"; }
}
@media (max-width: 480px) {
  .gallery__grid { grid-auto-rows: 165px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .access__grid { grid-template-columns: 1fr; }
  .access__visual { max-width: 520px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; z-index: 100;}
  .amen__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .contact__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(1, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .stat{
		border: none !important;
	}
	
  .hero__scroll{
	display: none !important;	
  }
}
@media (max-width: 560px) {
  .amen__grid { grid-template-columns: 1fr; }
  .field__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; }
  .btn--block-sm { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span, .hero__sub, .hero__actions { opacity: 1 !important; transform: none !important; }
  .hero__img { animation: none; transform: scale(1); }
}








/* =========================================================
   Gravity Forms Global Override
   Matches THE RIDGE - Gym & Fitness Center template
   ========================================================= */

/* Form Wrapper Container */
.gform_wrapper {
    background: var(--surface) !important;
    box-sizing: border-box !important;
}

/* Hide Default GF heading */
.gform_wrapper .gform_heading {
    display: none !important;
}

/* Grid Layout */
.gform_wrapper .gform_fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}

/* Row / Field Widths */
.gform_wrapper .gfield {
    margin: 0 0 18px 0 !important;
    grid-column: span 1 !important;
}

.gform_wrapper .gfield--width-full,
.gform_wrapper .gfield--type-textarea,
.gform_wrapper .gfield--type-select {
    grid-column: 1 / -1 !important;
}

/* Labels */
.gform_wrapper .gfield_label {
    display: block !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    color: var(--text) !important;
}

/* Required Asterisk */
.gform_wrapper .gfield_required {
    color: var(--lime) !important;
}

/* Inputs, Selects & Textareas */
.gform_wrapper .ginput_container input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.gform_wrapper .ginput_container select {
    width: 100% !important;
    height: 48px !important; /* Applied height instead of vertical padding */
    padding: 0 15px !important; /* Horizontal padding only */
    font: inherit !important;
    color: var(--text) !important;
    background: var(--bg) !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: var(--radius-sm) !important;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

/* Textarea Specific (Using min-height instead of fixed height for multiline) */
.gform_wrapper .ginput_container textarea {
    width: 100% !important;
    min-height: 120px !important;
    padding: 13px 15px !important;
    font: inherit !important;
    color: var(--text) !important;
    background: var(--bg) !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: var(--radius-sm) !important;
    resize: vertical !important;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease) !important;
    box-sizing: border-box !important;
}

/* Placeholder Text */
.gform_wrapper .ginput_container input::placeholder, 
.gform_wrapper .ginput_container textarea::placeholder {
    color: var(--muted-2) !important;
}

/* Focus States */
.gform_wrapper .ginput_container input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus, 
.gform_wrapper .ginput_container select:focus, 
.gform_wrapper .ginput_container textarea:focus {
    outline: none !important;
    border-color: var(--lime) !important;
    box-shadow: 0 0 0 3px rgba(194, 246, 61, 0.18) !important;
}

/* Select Dropdown Styling */
.gform_wrapper .ginput_container select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a4a4ad' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    padding-right: 42px !important;
}

/* Button & Footer Row */
.gform_wrapper .gform_footer {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.gform_wrapper .gform_footer input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 28px !important;
    font-family: var(--font-display) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border-radius: 100px !important;
    background: var(--lime) !important;
    color: #0a0a0b !important;
    border: none !important;
    box-shadow: 0 0 0 rgba(194, 246, 61, 0) !important;
    transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease) !important;
    will-change: transform !important;
    cursor: pointer !important;
}

.gform_wrapper .gform_footer input[type="submit"]:hover {
    background: var(--lime-bright) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 34px -12px var(--lime-glow) !important;
}

.gform_wrapper .gform_footer input[type="submit"]:active {
    transform: translateY(0) !important;
}

/* Button & Footer Row */
.gform_wrapper .gform_footer {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 28px !important;
    font-family: var(--font-display) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border-radius: 100px !important;
    background: var(--lime) !important;
    color: #0a0a0b !important;
    border: none !important;
    box-shadow: 0 0 0 rgba(194, 246, 61, 0) !important;
    transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease) !important;
    will-change: transform !important;
    cursor: pointer !important;
}

.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_footer button[type="submit"]:hover {
    background: var(--lime-bright) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 34px -12px var(--lime-glow) !important;
}

.gform_wrapper .gform_footer input[type="submit"]:active,
.gform_wrapper .gform_footer button[type="submit"]:active {
    transform: translateY(0) !important;
}

/* Mobile Breakpoint */
@media (max-width: 560px) {
    .gform_wrapper .gform_fields {
        grid-template-columns: 1fr !important;
    }
}