/* ============ FORTIS ST IVES ============ */
:root {
  --bg: #060708;
  --bg-2: #0b0d10;
  --panel: #101318;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eceef0;
  --muted: #98a0a8;
  --ice: #dff3ff;
  --ice-dim: #9ad7ff;
  --gold: #c9a96a;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-h: 72px;
}

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

/* Temporarily hidden sections, content kept in the DOM, just not rendered.
   Remove the `is-paused` class (and this rule stays) to bring a section back. */
.is-paused { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }

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

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

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; }

h2 { font-size: clamp(44px, 6vw, 76px); line-height: 0.95; text-transform: uppercase; }

.kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ice-dim);
  margin-bottom: 14px;
}
.kicker--gold { color: var(--gold); }

.glow {
  color: var(--ice);
  text-shadow: 0 0 18px rgba(159, 216, 255, 0.55), 0 0 60px rgba(159, 216, 255, 0.25);
}
.gold { color: var(--gold); }

.section__lede { max-width: 560px; color: var(--muted); margin-top: 18px; font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn--lg { padding: 17px 34px; font-size: 14px; }
.btn--solid {
  background: var(--ice);
  color: #0a0c0e;
  box-shadow: 0 0 24px rgba(159, 216, 255, 0.28);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(159, 216, 255, 0.5); }
.btn--ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--ice); color: var(--ice); transform: translateY(-2px); }
.btn--dark {
  color: #fff;
  background: #0a0c0e;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn--dark:hover { background: #000; border-color: var(--ice); color: var(--ice); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 7, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(1320px, 94vw);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo-f {
  width: 34px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(159, 216, 255, 0.6)) drop-shadow(0 0 16px rgba(159, 216, 255, 0.25));
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.14em;
  color: var(--text);
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}
.nav__logo-text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--muted);
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ice); }
.nav__cta-wrap { display: flex; align-items: center; gap: 16px; }
.nav__burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__dots {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4vw, 48px);
  bottom: 28px;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero__dot.is-active {
  background: var(--ice);
  box-shadow: 0 0 10px rgba(159, 216, 255, 0.6);
  transform: scale(1.3);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(6, 7, 8, 0.96) 0%, rgba(6, 7, 8, 0.85) 38%, rgba(6, 7, 8, 0.5) 72%, rgba(6, 7, 8, 0.35) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(6, 7, 8, 0) 34%),
    linear-gradient(to bottom, rgba(6, 7, 8, 0.7) 0%, rgba(6, 7, 8, 0) 26%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 0 90px;
}
.hero__title {
  font-size: clamp(72px, 11vw, 158px);
  line-height: 0.88;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}
.hero__sub {
  max-width: 520px;
  margin-top: 26px;
  font-size: 18px;
  color: #eef1f4;
  text-shadow: 0 1px 18px rgba(6, 7, 8, 0.9);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* ---------- sections ---------- */
/* Every section is a full screen, like the hero, so scrolling feels consistent.
   min-height (not height) lets content-heavy sections grow past 100svh rather than clip. */
.section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* padding scales with screen height so tall sections still fit on short laptops */
  padding: clamp(56px, 8vh, 110px) 0;
}
.section--tight { padding-bottom: clamp(40px, 6vh, 80px); }
.section__head { margin-bottom: 56px; }

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(159, 216, 255, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(159, 216, 255, 0.08);
}
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 26px 26px 30px; }
.card__body h3 { font-size: 27px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.card__body p { color: var(--muted); font-size: 15px; }

/* ---------- why fortis ---------- */
.section--why { padding-top: 90px; }
.section__head--center { text-align: center; }
.section__head--center .section__lede { margin-inline: auto; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 4.4;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.why-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}
/* The sauna and Cybex source photos are underexposed compared to the others, lift them */
.why__grid .why-card:nth-child(2) img { filter: brightness(1.55) contrast(1.08) saturate(1.05); }
.why__grid .why-card:nth-child(3) img { filter: brightness(1.9) contrast(1.12) saturate(1.05); }
.why-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 5, 6, 0.94) 0%, rgba(4, 5, 6, 0.55) 42%, rgba(4, 5, 6, 0.16) 100%);
  transition: background 0.3s ease;
  pointer-events: none;
}
.why__grid .why-card:nth-child(2) .why-card__shade,
.why__grid .why-card:nth-child(3) .why-card__shade {
  background: linear-gradient(to top, rgba(4, 5, 6, 0.9) 0%, rgba(4, 5, 6, 0.42) 42%, rgba(4, 5, 6, 0.08) 100%);
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(159, 216, 255, 0.4);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(159, 216, 255, 0.08);
}
.why-card:hover img { transform: scale(1.05); }
.why-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 26px 22px;
}
.why-card__body h3 {
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.why-card__body p { color: #c3cad1; font-size: 14.5px; }
.why-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s ease;
}
.why-card__link i {
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.why-card:hover .why-card__link { color: var(--ice); }
.why-card:hover .why-card__link i { transform: translateX(4px); }

/* ---------- pricing ---------- */
/* Pricing + Join sit on one shared surface so the tint reads as a single
   continuous panel instead of two same-coloured blocks with a seam between them. */
.surface {
  background:
    radial-gradient(1100px 620px at 20% 6%, rgba(159, 216, 255, 0.055), transparent 62%),
    radial-gradient(900px 560px at 85% 92%, rgba(159, 216, 255, 0.04), transparent 62%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
/* inner sections stay transparent — the surface provides the background */
.surface > .section--pricing,
.surface > .section--join {
  background: none;
  border-block: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(159, 216, 255, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(159, 216, 255, 0.08);
}
.pricing-card__badge {
  background: var(--ice);
  color: #0a0c0e;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(159, 216, 255, 0.35);
}
.pricing-card__head {
  padding: 26px 26px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pricing-card__head h3 { font-size: 28px; text-transform: uppercase; letter-spacing: 0.04em; }
.pricing-card__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}
.pricing-card__kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing-card__features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pricing-card__features li {
  position: relative;
  padding-left: 26px;
  color: #c3cad1;
  font-size: 14.5px;
}
.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ice-dim);
  border-bottom: 2px solid var(--ice-dim);
  transform: rotate(-45deg);
}
.pricing-card__price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
.pricing-card__cost-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.pricing-card__cost {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--text);
}
.pricing-card__cost span { font-size: 22px; opacity: 0.7; }
.pricing-card__note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.pricing-card__altpay {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
.pricing-card__altpay strong { color: var(--text); font-weight: 700; }
.pricing-card__altpay a {
  color: var(--ice-dim);
  text-decoration: none;
  font-weight: 600;
}
.pricing-card__altpay a:hover { color: var(--ice); text-decoration: underline; }
.pricing-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-top: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease;
}
.pricing-card__cta i { font-style: normal; font-size: 20px; line-height: 1; transition: transform 0.2s ease; }
.pricing-card__cta:hover { color: var(--ice); background: rgba(255, 255, 255, 0.02); }
.pricing-card__cta:hover i { transform: translateX(4px); }

.pricing-card--featured {
  border-color: rgba(159, 216, 255, 0.5);
  background: linear-gradient(180deg, rgba(159, 216, 255, 0.08), var(--panel) 55%);
  box-shadow: 0 0 40px rgba(159, 216, 255, 0.1);
}
.pricing-card--featured:hover { transform: translateY(-10px); }

/* ---------- recovery ---------- */
.section--recovery {
  background:
    radial-gradient(1200px 500px at 80% 0%, rgba(201, 169, 106, 0.07), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.recovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.recovery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  background: var(--panel);
}
.recovery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.recovery-item:hover img { transform: scale(1.04); }
.recovery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 22px 20px;
  background: linear-gradient(to top, rgba(4, 5, 6, 0.92), transparent);
  display: flex;
  flex-direction: column;
}
.recovery-item strong {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.recovery-item span { font-size: 13px; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* rows scale with screen height so the 3-row grid fits one screen */
  grid-auto-rows: clamp(120px, 19vh, 250px);
  gap: 14px;
  width: min(1320px, 94vw);
  margin: 0 auto;
}
.gallery__item { overflow: hidden; border-radius: 8px; border: 1px solid var(--line); margin: 0; }
.gallery__item.g-wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  /* --g-adjust: per-photo brightness lift, set inline on each item (dark sources vanish into the page) */
  filter: var(--g-adjust, none) saturate(0.9);
}
.gallery__item:hover img { transform: scale(1.06); filter: var(--g-adjust, none) saturate(1.05); }
.gallery__cta { text-align: center; margin-top: 40px; }

/* ---------- join ---------- */
.section--join {
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(159, 216, 255, 0.06), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.join__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.join__points { list-style: none; margin-top: 26px; }
.join__points li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--muted);
  font-size: 15px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.join__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ice-dim);
  border-bottom: 2px solid var(--ice-dim);
  transform: rotate(-45deg);
}
.join__aside {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 460px;
}
.join__aside a { color: var(--ice-dim); }
.join__form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 26px 24px;
}
.join__form fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.join__form legend {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-dim);
  margin-bottom: 12px;
}
/* 2x2 grid: four plans in two rows keeps the whole form on one screen */
.join__plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.join__plans legend { grid-column: 1 / -1; }
.plan-pick { display: block; cursor: pointer; height: 100%; }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick span {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px 15px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.plan-pick strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan-pick em { font-style: normal; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.plan-pick input:checked + span {
  border-color: var(--ice);
  background: rgba(159, 216, 255, 0.06);
  box-shadow: 0 0 22px rgba(159, 216, 255, 0.12);
}
.plan-pick input:focus-visible + span { outline: 2px solid var(--ice-dim); outline-offset: 2px; }

.field { margin-bottom: 11px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.field label span { text-transform: none; letter-spacing: 0.02em; color: rgba(152, 160, 168, 0.7); }
.field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 10px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder { color: rgba(152, 160, 168, 0.45); }
.field input:focus {
  outline: none;
  border-color: var(--ice);
  box-shadow: 0 0 18px rgba(159, 216, 255, 0.18);
}
.field input.is-invalid { border-color: #ff8d8d; }
.field__err { display: block; color: #ff9d9d; font-size: 12.5px; margin-top: 6px; min-height: 0; }
.field__err:empty { display: none; }

.join__agree { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin-top: 6px; }
.join__agree input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ice);
  cursor: pointer;
}
.join__agree span { font-size: 14px; color: var(--muted); }
.join__submit { width: 100%; text-align: center; }
.join__submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.join__note {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.join__error { margin-top: 14px; text-align: center; font-size: 14px; color: #ff9d9d; }

.join__success {
  grid-column: 2;
  background: linear-gradient(180deg, rgba(159, 216, 255, 0.07), var(--panel) 45%);
  border: 1px solid rgba(159, 216, 255, 0.45);
  border-radius: 14px;
  padding: 44px 40px;
  box-shadow: 0 0 50px rgba(159, 216, 255, 0.12);
}
.join__success h3 {
  font-size: clamp(44px, 5vw, 64px);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 18px;
}
.join__success-ref { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.join__success-ref strong {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 0.08em;
  color: var(--ice);
  text-shadow: 0 0 20px rgba(159, 216, 255, 0.5);
  margin-top: 4px;
}
.join__success-copy { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.join__success-copy a { color: var(--ice-dim); }

/* ---------- location ---------- */
.section--location { background: var(--bg-2); border-top: 1px solid var(--line); }
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.location__info h2 { margin-bottom: 26px; }
.location__info address {
  font-style: normal;
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
  padding-left: 18px;
  border-left: 2px solid var(--ice-dim);
  margin-bottom: 28px;
}
.location__meta { list-style: none; margin-bottom: 32px; }
.location__meta li { display: flex; gap: 18px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.location__meta strong {
  min-width: 110px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice-dim);
  padding-top: 3px;
}
.location__meta span { color: var(--muted); font-size: 15px; }
.location__meta a { color: var(--ice-dim); }
.location__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.location__map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 4.6;
  background: var(--panel);
}
.location__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.location__badge {
  position: absolute;
  right: 18px;
  top: 18px;
  pointer-events: none;
  background: rgba(6, 7, 8, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(159, 216, 255, 0.4);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
}
.location__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--ice);
  text-shadow: 0 0 16px rgba(159, 216, 255, 0.5);
  line-height: 1;
}
.location__badge span { font-size: 10px; letter-spacing: 0.22em; color: var(--muted); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 40px;
}
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer__links, .footer__social { display: flex; flex-direction: column; gap: 12px; }
.footer__links a, .footer__social a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}
.footer__links a:hover, .footer__social a:hover { color: var(--ice); }
.footer__base { border-top: 1px solid var(--line); padding: 22px 0; }
.footer__base p { text-align: center; color: rgba(152, 160, 168, 0.6); font-size: 12.5px; }

/* ---------- photo lightbox ---------- */
.js-zoomable { cursor: zoom-in; }
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 6vw, 64px);
  background: rgba(4, 5, 6, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65), 0 0 40px rgba(159, 216, 255, 0.06);
  cursor: default;
}
.lightbox__close {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 4vw, 40px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--ice); color: var(--ice); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.26s; }
.reveal.d4 { transition-delay: 0.36s; }
.reveal.d5 { transition-delay: 0.48s; }

/* capture mode: pin viewport-relative sizing */
.flat .hero { min-height: 860px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .cards, .recovery-grid, .why__grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-auto-flow: dense; }
  .pricing-card--featured { grid-column: span 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .location__grid { grid-template-columns: 1fr; gap: 40px; }
  .join__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    left: 0;
    background: rgba(6, 7, 8, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 10px 6vw 22px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    align-items: center;
    cursor: pointer;
  }
  .nav__burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__cta { display: none; }

  .cards, .recovery-grid, .why__grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { grid-column: auto; }
  .section { padding: 80px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .join__plans { grid-template-columns: 1fr; }
  .join__form { padding: 26px 20px 24px; }
  .join__success { grid-column: auto; padding: 34px 26px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery__item.g-wide { grid-column: span 1; }
}
