/* ═══════════════════════════════════════════════════════════════════
   N. ZBARSKAYA — ARCHITECTURE & DESIGN
   v3 — iOS Liquid Glass + premium interaction layer
═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300&family=Jost:wght@300;400;500;600;700;800&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────── */
:root {
  /* ── Warm base ── */
  --cream:       #F3EEE4;
  --cream-mid:   #EAE3D6;
  --cream-dark:  #E0D8C8;

  /* ── Architectural white ── */
  --white:       #FAFAF8;
  --white-pure:  #FFFFFF;

  /* ── Architectural darks ── */
  --charcoal:    #1B1A18;
  --slate:       #353330;
  --steel:       #5A5752;
  --black:       #161412;
  --dark:        #26221E;

  /* ── Gold accent ── */
  --gold:        #B8935A;
  --gold-lt:     #D4B27E;
  --gold-dk:     #9A7A47;
  --gold-pale:   rgba(184, 147, 90, 0.12);

  /* ── Neutrals ── */
  --gray:        #7D7570;
  --gray-lt:     #B4AFA9;

  /* ─────────────────────────────────────────────────────
     LIQUID GLASS — iOS-style multi-layer translucent surfaces
     The recipe: low-alpha fill + heavy blur + saturation
     boost + dual borders + dual inset shadows for depth.
  ───────────────────────────────────────────────────── */
  --glass-fill:        rgba(255, 252, 246, 0.42);
  --glass-fill-strong: rgba(255, 252, 246, 0.62);
  --glass-fill-dk:     rgba(28, 26, 24, 0.42);
  --glass-fill-dk-strong: rgba(28, 26, 24, 0.62);

  --glass-blur:        blur(28px) saturate(180%) brightness(1.04);
  --glass-blur-heavy:  blur(40px) saturate(200%) brightness(1.06);
  --glass-blur-light:  blur(18px) saturate(160%);

  /* Border that mimics a refracted edge: lighter top, darker bottom */
  --glass-edge:        1px solid rgba(255, 255, 255, 0.32);
  --glass-edge-dk:     1px solid rgba(255, 255, 255, 0.10);

  /* Depth: inset highlight on top, soft drop shadow */
  --glass-depth:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(184, 147, 90, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 14px 40px -10px rgba(40, 30, 14, 0.18),
    0 2px 6px rgba(40, 30, 14, 0.06);

  --glass-depth-dk:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 16px 50px -10px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.30);

  --glass-depth-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(184, 147, 90, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 26px 64px -12px rgba(40, 30, 14, 0.28),
    0 4px 12px rgba(40, 30, 14, 0.10);

  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-ui:       'Jost', sans-serif;

  --header-h:    74px;
  --pad-x:       clamp(20px, 6vw, 96px);
  --pad-y:       clamp(72px, 9vw, 132px);

  /* Easings: spring-like, used everywhere for premium feel */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);          /* gentle ease-out */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);       /* slight overshoot, iOS-like */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);           /* power ease */

  --r-glass: 6px;     /* subtle radius — keeps architectural feel */
  --r-pill:  999px;
}

/* ─── RESET ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: var(--ff-ui);
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* Honor reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(184, 147, 90, 0.4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

::selection { background: rgba(184, 147, 90, 0.35); color: var(--black); }


/* ─── AMBIENT BACKGROUND (color content for the glass to refract) ──── */
/* Soft, slow-moving gradient orbs that live behind every section.
   They give Liquid Glass surfaces something rich to blur. */
#ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.amb-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform;
}
.amb-orb-1 {
  width: 620px; height: 620px;
  top: -120px; left: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(212, 178, 126, 0.55), rgba(212, 178, 126, 0) 70%);
  animation: orbFloat1 28s ease-in-out infinite;
}
.amb-orb-2 {
  width: 540px; height: 540px;
  top: 30%; right: -180px;
  background: radial-gradient(circle at 50% 50%, rgba(184, 147, 90, 0.40), rgba(184, 147, 90, 0) 70%);
  animation: orbFloat2 36s ease-in-out infinite;
}
.amb-orb-3 {
  width: 480px; height: 480px;
  bottom: 8%; left: 10%;
  background: radial-gradient(circle at 50% 50%, rgba(224, 201, 156, 0.42), rgba(224, 201, 156, 0) 70%);
  animation: orbFloat3 32s ease-in-out infinite;
}
.amb-orb-4 {
  width: 380px; height: 380px;
  top: 55%; left: 35%;
  background: radial-gradient(circle at 50% 50%, rgba(245, 225, 190, 0.35), rgba(245, 225, 190, 0) 70%);
  animation: orbFloat4 40s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(80px, 60px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-100px, 80px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(60px, -90px); }
}
@keyframes orbFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, -40px) scale(1.1); }
}


/* ─── SCROLL PROGRESS ──────────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: var(--progress, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-lt) 100%);
  box-shadow: 0 0 12px rgba(184, 147, 90, 0.6);
  z-index: 10000;
  transition: width 0.06s linear;
  pointer-events: none;
}


/* ─── TYPOGRAPHY ───────────────────────────────────────────────────── */
.t-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--black);
}
.t-section {
  font-family: var(--ff-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.08;
}
.t-section.gold { color: var(--gold); }
.t-label {
  font-family: var(--ff-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
}
.t-body {
  font-family: var(--ff-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.78;
  color: var(--dark);
}
.t-card {
  font-family: var(--ff-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
}
.t-price {
  font-family: var(--ff-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.title-line {
  display: block; width: 44px; height: 1.5px;
  background: var(--gold); margin: 14px auto 0;
}


/* ═══════════════════════════════════════════════════════════════════
   LIQUID GLASS — the core visual primitive
═══════════════════════════════════════════════════════════════════ */
.glass,
.glass-light,
.glass-dark {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-glass);
}

/* Light variant — for cream/white sections */
.glass-light {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-edge);
  box-shadow: var(--glass-depth);
}

/* Dark variant — for charcoal sections */
.glass-dark {
  background: var(--glass-fill-dk);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-edge-dk);
  box-shadow: var(--glass-depth-dk);
}

/* Specular highlight — radial gradient that follows the cursor.
   --mx and --my are set via JS on pointermove. */
.glass-light::before,
.glass-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 1;
}
.glass-dark::before {
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 235, 200, 0.18),
    rgba(255, 235, 200, 0) 60%
  );
}
.glass-light:hover::before,
.glass-dark:hover::before { opacity: 1; }

/* Ensure inner content sits above specular */
.glass-light > *,
.glass-dark > * { position: relative; z-index: 2; }


/* ═══════════════════════════════════════════════════════════════════
   BUTTONS — premium with press feedback
═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-ui); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 38px; border: none; cursor: pointer;
  position: relative; overflow: hidden; white-space: nowrap;
  border-radius: var(--r-pill);
  transition:
    transform 0.32s var(--ease-spring),
    box-shadow 0.32s var(--ease),
    background 0.25s ease,
    color 0.25s ease;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Light sweep on hover — iOS-style highlight */
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.btn:hover::after { transform: translateX(100%); }

/* Press feedback */
.btn:active { transform: translateY(0) scale(0.97) !important; transition-duration: 0.12s; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn span, .btn > * { position: relative; z-index: 2; }

/* — Primary gold (Hero CTA, Заказать) — */
.btn-gold {
  background: var(--gold);
  color: var(--white-pure);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 8px 24px -4px rgba(184, 147, 90, 0.45),
    0 2px 4px rgba(184, 147, 90, 0.25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 14px 32px -4px rgba(184, 147, 90, 0.55),
    0 4px 10px rgba(184, 147, 90, 0.30);
  background: var(--gold-lt);
}

/* — Glass outline (Узнать стоимость) — */
.btn-glass {
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: var(--glass-blur-light);
  backdrop-filter: var(--glass-blur-light);
  color: var(--black);
  border: 1px solid rgba(184, 147, 90, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 6px 20px -6px rgba(40, 30, 14, 0.18);
}
.btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 252, 246, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 12px 30px -6px rgba(40, 30, 14, 0.24);
}
.section-dark .btn-glass {
  background: var(--glass-fill-dk-strong);
  color: var(--white);
  border-color: rgba(212, 178, 126, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 22px -6px rgba(0, 0, 0, 0.4);
}
.section-dark .btn-glass:hover {
  background: rgba(28, 26, 24, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 30px -6px rgba(0, 0, 0, 0.5);
}


/* ═══════════════════════════════════════════════════════════════════
   HEADER — Liquid Glass top bar with scroll-spy pill
═══════════════════════════════════════════════════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h); z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(243, 238, 228, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(184, 147, 90, 0.10);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
#header.scrolled {
  background: rgba(243, 238, 228, 0.78);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 24px -8px rgba(40, 30, 10, 0.10);
}

.logo {
  display: flex; align-items: center; gap: 12px;
  transition: opacity 0.25s ease;
}
.logo:hover { opacity: 0.75; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo-name {
  display: block; font-family: var(--ff-ui);
  font-size: 15px; font-weight: 800;
  letter-spacing: 0.18em; color: var(--black); line-height: 1.1;
}
.logo-sub {
  display: block; font-size: 8.5px;
  letter-spacing: 0.3em; color: var(--gold);
  font-weight: 600; margin-top: 2px;
}

/* Nav with sliding pill indicator */
nav {
  display: flex; align-items: center; gap: 4px;
  position: relative;
  padding: 6px;
  background: rgba(255, 252, 246, 0.30);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r-pill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 4px 16px -6px rgba(40, 30, 10, 0.12);
}
nav a {
  position: relative;
  padding: 8px 16px;
  font-family: var(--ff-ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel);
  z-index: 2;
  border-radius: var(--r-pill);
  transition: color 0.25s ease;
  white-space: nowrap;
}
/* Hover on inactive items: gold text (clear "this is what you'll click") */
nav a:hover { color: var(--gold); }
/* Active item (from scroll-spy): white on gold pill */
nav a.active { color: var(--white-pure); }
/* Hover on the active item — stay white, don't flicker */
nav a.active:hover { color: var(--white-pure); }

/* The pill that animates between active nav items.
   Smooth ease-in-out — no overshoot, no jiggle. */
.nav-pill {
  position: absolute;
  top: 6px; left: 0;
  height: calc(100% - 12px);
  width: 0;
  background: var(--gold);
  border-radius: var(--r-pill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 4px 14px -2px rgba(184, 147, 90, 0.5);
  transform: translateX(0);
  transition:
    transform 0.42s ease-in-out,
    width 0.42s ease-in-out,
    opacity 0.25s ease;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.nav-pill.visible { opacity: 1; }

.btn-nav {
  font-family: var(--ff-ui); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 11px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(255, 252, 246, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
  position: relative; overflow: hidden;
  border-radius: var(--r-pill);
  transition: all 0.3s var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
}
.btn-nav:hover {
  background: var(--gold);
  color: var(--white-pure);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -4px rgba(184, 147, 90, 0.5);
}
.btn-nav:active { transform: scale(0.96); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  background: rgba(255, 252, 246, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 4px 14px -4px rgba(40, 30, 10, 0.12);
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block; width: 22px; height: 1.6px;
  background: var(--black);
  transition: all 0.4s var(--ease-spring);
  border-radius: 2px;
}
.burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
.burger:active { transform: scale(0.94); }

.mobile-nav {
  display: none; position: fixed;
  top: var(--header-h); left: 12px; right: 12px;
  background: rgba(243, 238, 228, 0.85);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 24px 60px -10px rgba(40, 30, 10, 0.28);
  z-index: 999; flex-direction: column;
  padding: 18px 22px 24px; gap: 2px;
  opacity: 0; transform: translateY(-12px) scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease-spring);
  pointer-events: none;
}
.mobile-nav.open {
  display: flex; opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--ff-ui); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 12px; border-radius: 10px;
  transition: background 0.25s ease, color 0.25s ease;
}
.mobile-nav a:hover,
.mobile-nav a:active {
  background: rgba(184, 147, 90, 0.10);
  color: var(--gold);
}
.mobile-nav .btn { margin-top: 14px; width: 100%; }


/* ═══════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-h); overflow: hidden;
  background: var(--cream);
}

.hero-slider { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease;
  will-change: opacity;
  transform: scale(1.04);
}
.hero-slide.active { opacity: 1; }

.hero-panel {
  position: absolute; right: 0; top: 0;
  width: 48%; height: 100%;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  background: linear-gradient(145deg, #e0d5c4 0%, #cdc0ab 100%);
  z-index: 2; overflow: hidden;
}
.hero-panel img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(243, 238, 228, 0.96) 0%,
    rgba(243, 238, 228, 0.85) 36%,
    rgba(243, 238, 228, 0.12) 68%,
    transparent 100%
  );
  z-index: 3;
}

.hero-content {
  position: relative; z-index: 4;
  padding: 0 var(--pad-x);
  max-width: clamp(480px, 52%, 720px);
  will-change: transform;
}
.hero-super { margin-bottom: 16px; }
.hero-title { margin-bottom: 24px; }
.hero-sub   { margin-bottom: 48px; max-width: 480px; }

/* CTA wrapper — keeps reveal-animation transforms working on the button */
.hero-cta-wrap { display: inline-block; }


/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════════════════ */
section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  z-index: 1;
}
.section-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

section[data-bg] {
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed;
}
section[data-bg]:not(.section-dark)::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(243, 238, 228, 0.78);
  z-index: 0; pointer-events: none;
}
section.section-dark[data-bg]::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(20, 18, 16, 0.84);
  z-index: 0; pointer-events: none;
}
section[data-bg] > * { position: relative; z-index: 1; }

section.section-dark {
  background: var(--charcoal);
  color: var(--white);
}
section.section-dark .t-section      { color: var(--white); }
section.section-dark .t-section.gold { color: var(--gold-lt); }
section.section-dark .t-body         { color: rgba(255, 255, 255, 0.72); }
section.section-dark .title-line     { background: var(--gold); }
section.section-dark .card-info .t-card { color: var(--white); }
section.section-dark .card-sub       { color: var(--gold-lt); }


/* ═══════════════════════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════════════════════ */
#portfolio { background: var(--charcoal); }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; max-width: 1320px; margin: 0 auto;
  position: relative;
}

.project-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: rgba(255, 252, 246, 0.04);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 18px 50px -10px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.55s var(--ease-spring),
    box-shadow 0.55s var(--ease),
    border-color 0.45s ease;
  isolation: isolate;
}

/* Inner stroke — appears on hover */
.project-card::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1px solid rgba(212, 178, 126, 0.32);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  border-radius: 2px;
}
.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 178, 126, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 36px 70px -10px rgba(0, 0, 0, 0.55);
}
.project-card:hover::before { opacity: 1; }
.project-card:active { transform: translateY(-4px) scale(0.99); transition-duration: 0.18s; }

.card-swiper { width: 100%; aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-swiper .swiper { width: 100%; height: 100%; }
.card-swiper .swiper-slide { overflow: hidden; }
.card-swiper .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.project-card:hover .swiper-slide-active img { transform: scale(1.07); }

/* Gradient veil at bottom of image — info readability */
.card-swiper::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to top, rgba(20, 16, 12, 0.55) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.project-card:hover .card-swiper::after { opacity: 1; }

/* "Открыть" hint that appears on hover */
.card-zoom {
  position: absolute;
  top: 14px; left: 14px;
  width: 38px; height: 38px;
  background: rgba(255, 252, 246, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease-spring);
  z-index: 5;
  pointer-events: none;
}
.card-zoom svg {
  width: 16px; height: 16px;
  stroke: var(--white-pure); fill: none; stroke-width: 1.8;
}
.project-card:hover .card-zoom {
  opacity: 1;
  transform: scale(1);
}

.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #3a342a 0%, #2a241c 100%);
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder span {
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--gold); font-weight: 700;
}

.card-diamond {
  position: absolute; top: 14px; right: 14px;
  z-index: 4; width: 28px; height: 28px;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-spring);
}
.card-diamond svg {
  stroke: rgba(212, 178, 126, 0.85);
  fill: none; stroke-width: 1.2;
}
.project-card:hover .card-diamond {
  opacity: 1;
  transform: rotate(45deg);
}

.card-info { padding: 20px 22px 22px; position: relative; z-index: 3; }
.card-sub {
  font-family: var(--ff-ui);
  font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-top: 6px;
}


/* ═══════════════════════════════════════════════════════════════════
   LIGHTBOX — fullscreen portfolio viewer
═══════════════════════════════════════════════════════════════════ */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 4vw, 60px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
#lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lb-stage {
  position: relative;
  width: 100%; max-width: 1200px;
  max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.96);
  transition: transform 0.55s var(--ease-spring);
}
#lightbox.open .lb-stage { transform: scale(1); }
.lb-img {
  max-width: 100%; max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lb-caption {
  position: absolute;
  bottom: -42px; left: 0; right: 0;
  text-align: center;
  font-family: var(--ff-ui);
  font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.lb-btn {
  position: absolute;
  width: 52px; height: 52px;
  background: rgba(255, 252, 246, 0.10);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.3);
}
.lb-btn svg {
  width: 22px; height: 22px;
  stroke: var(--white-pure); fill: none; stroke-width: 1.8;
}
.lb-btn:hover {
  background: rgba(255, 252, 246, 0.20);
  transform: scale(1.06);
}
.lb-btn:active { transform: scale(0.94); }
.lb-close { top: 4vh; right: 4vw; }
.lb-prev  { left: 4vw; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 4vw; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(0.94); }


/* ═══════════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════════ */
#about { background: var(--white); }

.about-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 90px; align-items: center;
}
.about-img-wrap { position: relative; display: block; }
.about-img-wrap img,
.about-img-placeholder {
  width: 100%; max-width: 460px;
  aspect-ratio: 3/4; object-fit: cover;
  display: block;
  border-radius: 2px;
  box-shadow: 0 24px 60px -16px rgba(40, 30, 14, 0.3);
}
.about-img-placeholder {
  background: linear-gradient(155deg, #ddd4c4, #ccc0ad);
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder span {
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--gold); font-weight: 700;
}
.about-frame {
  position: absolute; top: 16px; left: 16px;
  right: -16px; bottom: -16px;
  border: 1px solid rgba(184, 147, 90, 0.35);
  z-index: -1; pointer-events: none;
  border-radius: 2px;
}

.about-stats {
  display: flex; gap: 0; margin-top: 44px;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-edge);
  box-shadow: var(--glass-depth);
  border-radius: var(--r-glass);
  overflow: hidden;
}
.stat-item {
  flex: 1; text-align: center; padding: 24px 12px;
  border-right: 1px solid rgba(184, 147, 90, 0.18);
  position: relative;
  transition: background 0.35s var(--ease);
}
.stat-item:hover { background: rgba(184, 147, 90, 0.05); }
.stat-item:last-child { border-right: none; }
.stat-value {
  display: block; font-family: var(--ff-display);
  font-size: 42px; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-label {
  display: block; font-family: var(--ff-ui);
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gray); margin-top: 8px;
}

.about-name {
  font-family: var(--ff-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700; line-height: 1.08;
  color: var(--gold); margin-bottom: 28px;
}
.about-text {
  font-family: var(--ff-ui);
  font-size: 15px; font-weight: 400;
  line-height: 1.78; color: var(--dark);
  margin-bottom: 14px;
}


/* ═══════════════════════════════════════════════════════════════════
   SERVICES — Liquid Glass cards
═══════════════════════════════════════════════════════════════════ */
#services { background: var(--cream); }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; max-width: 1100px; margin: 0 auto;
}

.service-card {
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-edge);
  box-shadow: var(--glass-depth);
  border-radius: var(--r-glass);
  padding: 44px 32px 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.55s var(--ease-spring),
    box-shadow 0.55s var(--ease),
    background 0.4s ease;
}

/* Cursor-tracking specular */
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 2; }

.service-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--glass-depth-hover);
  background: rgba(255, 252, 246, 0.72);
}

.service-icon {
  width: 60px; height: 60px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(184, 147, 90, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(184, 147, 90, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.6s var(--ease-spring);
}
.service-card:hover .service-icon { transform: scale(1.06) rotate(-2deg); }
.service-icon svg {
  width: 60%; height: 60%;
  stroke: var(--gold); fill: none; stroke-width: 1.4;
}

.service-title {
  font-family: var(--ff-ui);
  font-size: 15.5px; font-weight: 700;
  text-align: center; letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 22px;
  color: var(--black);
}
.service-list { margin-bottom: 28px; }
.service-list li {
  font-family: var(--ff-ui);
  font-size: 13.5px; font-weight: 400;
  color: var(--dark); padding: 10px 0;
  border-bottom: 1px solid rgba(184, 147, 90, 0.11);
  display: flex; align-items: center; gap: 10px;
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: ''; display: block;
  width: 5px; height: 5px;
  border: 1px solid var(--gold);
  flex-shrink: 0; transform: rotate(45deg);
}
.service-card .btn { width: 100%; }


/* ═══════════════════════════════════════════════════════════════════
   PRICES
═══════════════════════════════════════════════════════════════════ */
#prices { background: var(--charcoal); }

.prices-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; max-width: 980px; margin: 0 auto;
  align-items: stretch;
}

.price-card {
  background: rgba(255, 252, 246, 0.05);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 18px 50px -10px rgba(0, 0, 0, 0.4);
  border-radius: var(--r-glass);
  padding: 44px 30px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
  transition:
    transform 0.55s var(--ease-spring),
    box-shadow 0.55s var(--ease),
    background 0.4s ease;
}

.price-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 235, 200, 0.20),
    rgba(255, 235, 200, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.price-card:hover::before { opacity: 1; }
.price-card > * { position: relative; z-index: 2; }

.price-card .price-name { color: var(--white); }
.price-card .price-list li {
  color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(184, 147, 90, 0.18);
}
.price-card:hover {
  transform: translateY(-8px) scale(1.015);
  background: rgba(255, 252, 246, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 36px 70px -12px rgba(0, 0, 0, 0.55);
}

.price-card.featured {
  background: rgba(255, 252, 246, 0.78);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  backdrop-filter: var(--glass-blur-heavy);
  border-color: rgba(184, 147, 90, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 26px 60px -10px rgba(184, 147, 90, 0.45),
    0 6px 16px rgba(40, 30, 14, 0.25);
  padding-top: 56px;
}
.price-card.featured .t-price { color: var(--black); font-weight: 700; }
.price-card.featured .price-name { color: var(--black); }
.price-card.featured .price-list li {
  color: var(--dark);
  border-bottom-color: rgba(184, 147, 90, 0.22);
}
.price-card.featured::after {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  width: 22px; height: 22px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 6px 16px -4px rgba(184, 147, 90, 0.6);
  z-index: 3;
}
.price-card.featured:hover {
  background: rgba(255, 252, 246, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 36px 70px -10px rgba(184, 147, 90, 0.55),
    0 8px 22px rgba(40, 30, 14, 0.3);
}

/* "Most popular" badge */
.price-badge {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-ui);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dk);
  padding: 5px 12px;
  background: rgba(184, 147, 90, 0.15);
  border: 1px solid rgba(184, 147, 90, 0.30);
  border-radius: var(--r-pill);
  z-index: 3;
}

.price-name {
  font-family: var(--ff-ui);
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--black); margin-bottom: 12px;
}
.price-divider {
  width: 36px; height: 1px;
  background: rgba(184, 147, 90, 0.4);
  margin: 16px auto;
}
.price-list {
  flex: 1;
  margin-bottom: 24px;
}
.price-list li {
  font-family: var(--ff-ui);
  font-size: 13.5px; color: var(--dark);
  padding: 10px 0;
  border-bottom: 1px solid rgba(184, 147, 90, 0.10);
}
.price-list li:last-child { border-bottom: none; }
.price-card .btn { width: 100%; }


/* ═══════════════════════════════════════════════════════════════════
   CONTACTS
═══════════════════════════════════════════════════════════════════ */
#contacts {
  background: var(--cream);
  text-align: center;
}

.contacts-bg-geo {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 100%; max-width: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 700'%3E%3Cg stroke='%23B8935A' stroke-width='0.8' fill='none' opacity='0.10'%3E%3Cpolygon points='250,30 470,160 470,540 250,670 30,540 30,160'/%3E%3Cpolygon points='250,80 420,195 420,505 250,620 80,505 80,195'/%3E%3Cpolygon points='250,130 370,230 370,470 250,570 130,470 130,230'/%3E%3Cpolygon points='250,180 320,265 320,435 250,520 180,435 180,265'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
  opacity: 0.6;
}

.contacts-inner {
  max-width: 680px; margin: 0 auto;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}
.contacts-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700; line-height: 1.06;
  color: var(--gold); margin-bottom: 48px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.contact-person {
  font-family: var(--ff-ui);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.26em; text-transform: uppercase;
  margin-bottom: 36px; color: var(--black);
}

.contacts-card {
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  backdrop-filter: var(--glass-blur-heavy);
  border: var(--glass-edge);
  box-shadow: var(--glass-depth);
  border-radius: var(--r-glass);
  padding: 46px 56px; width: 100%;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contacts-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.contacts-card:hover::before { opacity: 1; }
.contacts-card > * { position: relative; z-index: 2; }

.contact-item {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 22px;
  transition: transform 0.3s var(--ease);
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item:hover { transform: translateX(0); }
.contact-item a:hover { color: var(--gold); }
.contact-item a {
  transition: color 0.25s ease;
}
.contact-icon { color: var(--gold); flex-shrink: 0; }
.contact-icon svg {
  width: 17px; height: 17px;
  stroke: currentColor; fill: none; stroke-width: 1.8;
}
.contact-val {
  font-family: var(--ff-ui);
  font-size: 15px; color: var(--dark);
  line-height: 1.5;
}
.contact-divider {
  width: 40px; height: 1px;
  background: rgba(184, 147, 90, 0.3);
  margin: 0 auto 22px;
}

.socials { display: flex; gap: 12px; justify-content: center; }
.social-btn {
  width: 48px; height: 48px;
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(184, 147, 90, 0.24);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s var(--ease-spring);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 4px 14px -4px rgba(40, 30, 14, 0.15);
  -webkit-tap-highlight-color: transparent;
}
.social-btn svg {
  width: 16px; height: 16px;
  stroke: var(--gold); fill: none; stroke-width: 1.8;
  transition: stroke 0.3s var(--ease);
}
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 24px -4px rgba(184, 147, 90, 0.5);
}
.social-btn:hover svg { stroke: var(--white-pure); }
.social-btn:active { transform: scale(0.92); }


/* ═══════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
footer {
  background: var(--dark);
  padding: 32px var(--pad-x);
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
  position: relative;
  z-index: 2;
}
footer .footer-logo img {
  width: 48px; height: 48px; object-fit: contain;
}
footer .logo-name {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}
footer .logo-sub { color: var(--gold-lt); }

.footer-copy {
  font-family: var(--ff-ui);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  text-align: center;
}
.footer-be .social-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 4px 14px -4px rgba(0, 0, 0, 0.3);
}
.footer-be .social-btn svg { stroke: var(--gold-lt); }
.footer-be .social-btn:hover {
  background: var(--gold); border-color: var(--gold);
}


/* ═══════════════════════════════════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }


/* ═══════════════════════════════════════════════════════════════════
   SWIPER OVERRIDES
═══════════════════════════════════════════════════════════════════ */
.swiper-pagination {
  position: absolute; bottom: 10px !important;
  left: 0; right: 0; z-index: 6;
}
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
  width: 6px !important; height: 6px !important;
  transition: all 0.3s var(--ease);
}
.swiper-pagination-bullet-active {
  background: var(--gold-lt) !important;
  width: 22px !important;
  border-radius: 3px !important;
}


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { gap: 60px; }
  nav { display: none; }
}

@media (max-width: 900px) {
  .btn-nav { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .burger { display: flex; }
  .portfolio-grid,
  .services-grid,
  .prices-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contacts-bg-geo { display: none; }
  .hero-panel { display: none; }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(243, 238, 228, 0.85) 0%,
      rgba(243, 238, 228, 0.94) 100%
    );
  }
  .about-stats { flex-wrap: nowrap; }
  .stat-item { flex: 1; min-width: 0; padding: 20px 8px; }
  .stat-value { font-size: 30px; }
  .stat-label { font-size: 8.5px; letter-spacing: 0.14em; }
  footer { justify-content: center; text-align: center; }
  .service-card { padding: 36px 24px 28px; }
  .price-card   { padding: 36px 24px; }
  .contacts-card { padding: 32px 24px; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-close { top: 16px; right: 16px; }
  .lb-prev  { left: 8px; }
  .lb-next  { right: 8px; }
}

@media (max-width: 480px) {
  .t-hero-title { font-size: 32px !important; }
  .t-section    { font-size: 28px !important; }
  .hero-content { max-width: 100%; }
  .amb-orb { filter: blur(60px); opacity: 0.35; }
}

@media (max-width: 380px) {
  .about-stats { flex-wrap: wrap; }
  .stat-item {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid rgba(184, 147, 90, 0.18);
  }
  .stat-item:last-child { border-bottom: none; }
  .stat-value { font-size: 36px; }
}

/* No-backdrop-filter fallback (older browsers/Firefox if disabled) */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-light,
  .service-card,
  .contacts-card,
  .about-stats,
  .btn-glass,
  nav,
  #header,
  .mobile-nav { background: rgba(255, 252, 246, 0.92); }
  .glass-dark,
  .project-card,
  .price-card,
  #lightbox { background: rgba(28, 26, 24, 0.92); }
}
