/* =================================================================
   Игрим • Посуточные квартиры — bold modern redesign
   ================================================================= */

:root {
  --bg: #0a0a0d;
  --bg-2: #101015;
  --surface: #15151c;
  --surface-2: #1c1c25;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f6f5f4;
  --muted: #a9a6b3;
  --muted-2: #807d8b;

  --brand: #ff6a2c;
  --brand-2: #ffb23e;
  --brand-3: #ff3d6e;
  --grad: linear-gradient(115deg, #ff6a2c 0%, #ff9b2f 48%, #ffb23e 100%);
  --grad-bold: linear-gradient(120deg, #ff3d6e 0%, #ff6a2c 55%, #ffb23e 100%);
  --glow: rgba(255, 106, 44, 0.55);

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* subtle animated aurora background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 80% -10%, rgba(255, 106, 44, 0.18), transparent 60%),
    radial-gradient(50vw 50vw at -10% 20%, rgba(255, 61, 110, 0.12), transparent 55%),
    radial-gradient(40vw 40vw at 50% 120%, rgba(255, 178, 62, 0.1), transparent 60%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(64px, 9vw, 130px) 0;
}

.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head h2 {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  margin: 16px 0 0;
}
.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

/* ---------------- Scroll progress ---------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: var(--grad-bold);
  box-shadow: 0 0 14px var(--glow);
  transition: width 0.1s linear;
}

/* ---------------- Buttons ---------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  color: #1a0d05;
  background: var(--grad);
  box-shadow: 0 12px 34px -8px var(--glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px -10px var(--glow);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }

.btn-wa { color: #062012; background: #25d366; }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -10px rgba(37, 211, 102, 0.5); }
.btn-tg { color: #04263a; background: #34a8e0; }
.btn-tg:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -10px rgba(52, 168, 224, 0.5); }
.btn-outline { color: var(--text); border-color: var(--line-2); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-2); }

.btn-sm { min-height: 46px; padding: 0 20px; font-size: 0.92rem; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 1.08rem; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -70px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--grad);
  color: #1a0d05;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 13, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-logo {
  display: grid;
  place-items: center;
  width: 116px; height: 74px;
  flex: 0 0 auto;
  padding: 9px 11px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.6);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-name { font-family: "Manrope"; font-weight: 700; font-size: 1.15rem; }
.brand-subtitle { color: var(--muted); font-size: 0.85rem; }

.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
  transition: color 0.2s, background-color 0.2s;
}
.header-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.header-cta { display: inline-flex; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 13, 0.97);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner {
  display: grid;
  gap: 8px;
  width: min(420px, calc(100% - 48px));
  text-align: center;
}
.mobile-menu-inner a:not(.btn) {
  padding: 16px;
  border-radius: 14px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text);
  transition: background-color 0.2s, color 0.2s;
}
.mobile-menu-inner a:not(.btn):active { background: rgba(255, 255, 255, 0.06); }
.mobile-menu-inner .btn { margin-top: 14px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% 52%;
  transform: scale(1.55);
  transform-origin: left center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.55); } to { transform: scale(1.62); } }
@media (max-width: 760px) {
  .hero-bg img { object-position: 42% 46%; transform: scale(1.7); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,13,0.55) 0%, rgba(10,10,13,0.35) 35%, rgba(10,10,13,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,13,0.85) 0%, rgba(10,10,13,0.2) 60%, transparent 100%);
}

.hero-inner { position: relative; max-width: 880px; }
.hero h1 {
  font-size: clamp(2.7rem, 8vw, 6rem);
  margin: 22px 0 0;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text {
  margin: 26px 0 0;
  max-width: 620px;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: #e7e4ea;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-chips span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
}
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 26px; height: 42px;
  border: 2px solid var(--line-2);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--brand-2);
  transform: translateX(-50%);
  animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------------- Stats ---------------- */
.stats {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: clamp(36px, 5vw, 56px) 0;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: "Manrope";
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* ---------------- Steps (простота брони) ---------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 14px; right: 22px;
  font-family: "Manrope";
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.28;
}
.step .step-ic { font-size: 2rem; }
.step h3 { font-size: 1.3rem; margin: 16px 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* ---------------- Apartments ---------------- */
.apt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.apt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.apt-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
}
.apt-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0c0c10;
}
.apt-media-btn {
  display: block;
  width: 100%; height: 100%;
  padding: 0; border: 0; background: none;
}
.apt-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.apt-card:hover .apt-media img { transform: scale(1.07); }
.apt-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,13,0.7));
  pointer-events: none;
}
.apt-badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 13, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  font-size: 0.82rem;
  font-weight: 700;
}
.apt-view {
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(10, 10, 13, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.apt-card:hover .apt-view { opacity: 1; transform: none; }
.apt-body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.apt-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.apt-body h3 { font-size: 1.5rem; }
.apt-desc { margin: 0; color: var(--muted); font-size: 0.97rem; }
.apt-amen {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.apt-amen li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: #d9d6e0;
}
.apt-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.apt-price { font-weight: 700; color: #fff; }
.apt-price small { display: block; font-weight: 600; font-size: 0.72rem; color: var(--muted-2); letter-spacing: 0.04em; }

/* ---------------- Map ---------------- */
.map-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 7;
  background: #0c0c10;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------- Terms ---------------- */
.terms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.term {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.term .term-ic {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  font-size: 1.5rem;
  background: rgba(255, 106, 44, 0.14);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.term h3 { font-size: 1.2rem; margin-bottom: 8px; }
.term p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------------- FAQ ---------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.faq-intro { position: sticky; top: 100px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 4px 24px;
  transition: border-color 0.3s, background-color 0.3s;
}
.faq-item[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad);
  color: #1a0d05;
  font-size: 1.3rem;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item p { margin: 0; padding: 0 0 20px; color: var(--muted); }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  background: var(--grad-bold);
  color: #1a0d05;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40vw 40vw at 90% -20%, rgba(255,255,255,0.35), transparent 60%);
  pointer-events: none;
}
.cta-band .cta-inner { position: relative; max-width: 760px; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: #1a0d05; }
.cta-band p { margin: 16px 0 0; font-size: 1.1rem; color: rgba(26, 13, 5, 0.78); font-weight: 500; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta-band .btn-dark {
  background: #14141b;
  color: #fff;
}
.cta-band .btn-dark:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -12px rgba(0,0,0,0.5); }
.cta-band .btn-light { background: rgba(26,13,5,0.12); color: #1a0d05; border: 1px solid rgba(26,13,5,0.25); }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .lbl { color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 700; font-size: 1.05rem; }
.contact-list a:hover { color: var(--brand-2); }
.contact-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.contact-msgs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg-2);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-inner p { margin: 0; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: var(--muted); font-weight: 600; }
.footer-nav a:hover { color: var(--text); }

/* ---------------- Floating WA + mobile bar ---------------- */
.fab-tg {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
  box-shadow: 0 14px 32px -8px rgba(34, 158, 217, 0.6);
  transition: transform 0.25s var(--ease);
}
.fab-tg:hover { transform: scale(1.08) translateY(-2px); }
.fab-wa svg { width: 30px; height: 30px; }
.mobile-bar { display: none; }

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lightbox[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.lb-dialog { position: relative; width: min(1080px, 100%); }
.lb-close {
  position: absolute;
  top: -8px; right: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: #fff;
  font-size: 1.5rem;
  transform: translateY(-100%);
}
.lb-meta { margin-bottom: 14px; padding-right: 60px; }
.lb-meta h3 { font-size: 1.5rem; }
.lb-meta p { margin: 4px 0 0; color: var(--muted); }
.lb-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #0c0c10;
}
.lb-stage img { width: 100%; height: 100%; object-fit: contain; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10,10,13,0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.8rem;
  z-index: 2;
}
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }
.lb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.lb-counter { color: var(--muted); font-weight: 600; }

/* ---------------- Reveal animations ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
}

@media (max-width: 860px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
}

@media (max-width: 760px) {
  .apt-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 3 / 4; }
  .fab-tg { display: none; }
  .mobile-bar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 90;
    display: flex;
    gap: 10px;
  }
  .mobile-bar .btn { flex: 1; box-shadow: 0 14px 30px -10px rgba(0,0,0,0.6); }
  body { padding-bottom: 88px; }
  .hero { padding-top: 100px; }
  .lb-close { top: 0; right: 0; transform: none; position: fixed; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
