/* ============================================================
   BodyWorks Gym Krosno — style.css
   ============================================================ */

:root {
  --bg: #0b0c0e;
  --bg-alt: #101216;
  --card: #16181d;
  --card-hover: #1c1f25;
  --line: #262a32;
  --text: #f4f4f2;
  --muted: #a3a8b3;
  --accent: #ff5a1f;
  --accent-bright: #ff7a33;
  --accent-glow: rgba(255, 90, 31, 0.35);
  --radius: 14px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

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

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

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

::selection { background: var(--accent); color: #fff; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---------- typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-weight: 800;
}

.section-head { margin-bottom: 48px; }

.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head .kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.section-head h2 {
  font-size: clamp(38px, 5.5vw, 58px);
}

.section-head p.lead {
  color: var(--muted);
  max-width: 640px;
  margin-top: 14px;
  font-size: 18px;
}

section { padding: 96px 0; }

section.alt { background: var(--bg-alt); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 19px;
  padding: 14px 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e6420d);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px var(--accent-glow);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.85), rgba(5, 6, 8, 0));
}

.site-header.scrolled {
  background: rgba(9, 10, 12, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.logo:hover img { transform: scale(1.03); }

.main-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d7d9de;
  padding: 10px 14px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.main-nav a.active { color: var(--accent-bright); }

.header-cta { white-space: nowrap; font-size: 17px; padding: 11px 22px; }

.nav-cta { display: none; }

.nav-toggle {
  display: none;
  background: rgba(12, 13, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 130;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover { border-color: var(--accent); }

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/AAA2.jpg");
  background-size: cover;
  background-position: center 35%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(7, 8, 10, 0.94) 15%, rgba(7, 8, 10, 0.55) 55%, rgba(7, 8, 10, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 14, 0) 30%);
}

.hero-content { max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 15px;
  color: #e8e9eb;
  margin-bottom: 26px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  font-size: clamp(52px, 9vw, 104px);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .sub {
  font-size: clamp(17px, 2vw, 21px);
  color: #c9ccd3;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(24px, 5vw, 64px);
  justify-content: start;
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  color: #fff;
  line-height: 1;
}

.stat .num em { font-style: normal; color: var(--accent); }

.stat .label {
  margin-top: 6px;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}

.scroll-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
  translate: -50% 0;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- brand strip ---------- */

.brand-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 22px 0;
}

.brand-strip .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
}

.brand-strip span {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 17px;
  color: #6d727d;
  transition: color 0.2s ease;
}

.brand-strip span:hover { color: var(--text); }

.brand-strip span.hl { color: var(--accent); }

/* ---------- zones ---------- */

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.zone-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--card);
  cursor: default;
}

.zone-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

.zone-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.25) 55%, rgba(5, 6, 8, 0.05) 100%);
}

.zone-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 22px 24px;
}

.zone-body h3 {
  font-size: 27px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.zone-body h3::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--accent);
  flex: 0 0 auto;
}

.zone-body p {
  color: #c2c6cd;
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 40ch;
}

/* ---------- pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: #3a3f4a;
  background: var(--card-hover);
}

.price-card .plan {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 17px;
  color: var(--muted);
}

.price-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.1;
  color: #fff;
}

.price-card .price small {
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

.price-card .note { color: var(--muted); font-size: 15px; margin-top: 2px; }

.price-card .note strong { color: var(--text); font-weight: 700; }

.price-card.featured {
  background: linear-gradient(160deg, #241610, #16181d 60%);
  border-color: var(--accent);
  position: relative;
  box-shadow: 0 18px 44px -18px var(--accent-glow);
}

.price-card.featured .tag {
  position: absolute;
  top: -13px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card.featured .price { color: var(--accent-bright); }

.price-card .btn { margin-top: 16px; font-size: 16px; padding: 10px 18px; }

.pricing-note {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  color: var(--muted);
  font-size: 15.5px;
}

.pricing-note .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 600;
  color: var(--text);
}

.pricing-note .chip::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}

.partner-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.partner-note .partner-label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 15px;
  color: var(--muted);
}

.partner-logo {
  height: 30px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.partner-logo:hover { opacity: 1; }

.partner-logo-mc { height: 26px; }

/* ---------- personal training ---------- */

.pt-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

.pt-photo {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: var(--radius);
  overflow: hidden;
}

.pt-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/4.6; }

.pt-photo .overlay-quote {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 26px;
  background: linear-gradient(0deg, rgba(5, 6, 8, 0.92), transparent);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  letter-spacing: 0.04em;
}

.pt-photo .overlay-quote em { color: var(--accent); font-style: normal; }

.pt-list { display: flex; flex-direction: column; gap: 14px; }

.pt-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pt-item:hover { border-color: #3a3f4a; background: var(--card-hover); }

.pt-item .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pt-item h3 { font-size: 24px; letter-spacing: 0.05em; }

.pt-item .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: var(--accent-bright);
  white-space: nowrap;
}

.pt-item .price small { color: var(--muted); font-size: 16px; font-weight: 600; }

.pt-item p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

/* ---------- trainers offer ---------- */

.split-band {
  background:
    linear-gradient(100deg, rgba(7, 8, 10, 0.95) 30%, rgba(7, 8, 10, 0.75)),
    url("../img/gym-09.jpg") center/cover fixed;
  border-block: 1px solid var(--line);
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-inner h2 { font-size: clamp(34px, 4.5vw, 48px); margin-bottom: 14px; }

.split-inner p { color: var(--muted); margin-bottom: 12px; }

.tier-table { display: flex; flex-direction: column; gap: 10px; }

.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 20px;
}

.tier .hours { font-weight: 600; color: var(--text); font-size: 16px; }

.tier .split {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--accent-bright);
  white-space: nowrap;
}

.tier .split small { color: var(--muted); font-size: 15px; font-weight: 600; }

/* ---------- gallery ---------- */

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

.gallery-grid a {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  background: var(--card);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-grid a:hover img { transform: scale(1.05); filter: brightness(1.08); }

.gallery-grid a::after {
  content: "+";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(5, 6, 8, 0.65);
  color: #fff;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-grid a:hover::after { opacity: 1; }

/* lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 5, 6, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 16px 24px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(1400px, 94vw);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox .caption {
  margin-top: 16px;
  color: #d3d6db;
  font-size: 16px;
  text-align: center;
  max-width: 760px;
}

.lightbox .counter {
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  margin-top: 6px;
  font-size: 15px;
}

.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 24px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lb-btn:hover { background: var(--accent); border-color: var(--accent); }

.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; translate: 0 -50%; }
.lb-next { right: 22px; top: 50%; translate: 0 -50%; }

/* ---------- contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-item .label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-item .value { font-size: 19px; font-weight: 600; }

.contact-item .value a:hover { color: var(--accent-bright); }

.contact-item .value.big {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table td {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 16.5px;
}

.hours-table tr:last-child td { border-bottom: 0; }

.hours-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.05em;
}

.hours-table .today td { color: var(--accent-bright); }

.socials { display: flex; gap: 12px; }

.socials a {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.socials svg { width: 20px; height: 20px; fill: #fff; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  filter: grayscale(0.2) contrast(1.02);
}

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

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #08090b;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid .logo { margin-bottom: 16px; }

.footer-grid .logo img { height: 64px; }

.footer-grid p { color: var(--muted); font-size: 15.5px; max-width: 36ch; }

.footer-grid h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer-grid ul a { color: var(--muted); font-size: 15.5px; transition: color 0.15s ease; }

.footer-grid ul a:hover { color: var(--accent-bright); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  color: #6d727d;
  font-size: 14.5px;
}

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

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

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(22, 24, 29, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  transform: translateY(8px);
}

.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

.to-top:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  section { padding: 72px 0; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 86vw);
    background: #0e0f12;
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 24px) 26px 30px;
    transform: translateX(102%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s 0.35s;
    z-index: 120;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s;
  }

  body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 7, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 110;
  }

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

  body.nav-open { overflow: hidden; }

  body.nav-open .site-header {
    background: #0a0b0d;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: 125;
  }

  .logo { position: relative; z-index: 131; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-nav ul li + li { border-top: 1px solid rgba(255, 255, 255, 0.07); }

  .main-nav ul a {
    display: block;
    font-size: 23px;
    letter-spacing: 0.1em;
    padding: 15px 4px;
    border-radius: 0;
  }

  .main-nav ul a.active { color: var(--accent-bright); }

  .main-nav .nav-cta {
    display: inline-flex;
    width: 100%;
    margin-top: auto;
    font-size: 18px;
    padding: 14px 20px;
  }

  .nav-toggle { display: block; }

  .header-cta { display: none; }

  @media (prefers-reduced-motion: reduce) {
    .main-nav, body.nav-open .main-nav { transition: none; }
    body::after { transition: none; }
  }

  .pt-layout, .split-inner, .contact-layout { grid-template-columns: 1fr; }

  .pt-photo { position: relative; top: 0; }

  .hero-stats { grid-template-columns: repeat(2, auto); gap: 26px 48px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .zone-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .hero-actions .btn { width: 100%; }
}
