/* =========================================================
   КадастрАтлас — Кадастровые услуги, Мурманск
   Premium LIGHT theme · gold + chrome + charcoal on warm cream
   Styled after the gold/silver building logo
   ========================================================= */

:root {
  /* gold (from logo) */
  --c-gold: #b8860b;
  --c-gold-mid: #caa04a;
  --c-gold-light: #e3c072;
  --c-gold-deep: #8a6508;
  /* silver / chrome (from logo) */
  --c-silver: #8a9099;
  --c-silver-light: #c4c9d0;
  --c-graphite: #3a3f47;

  /* surfaces — warm cream + white */
  --bg: #f6f2ea;
  --bg-2: #efe8da;
  --surface: #ffffff;
  --surface-2: #fbf8f2;
  --surface-3: #f2ece0;
  --stroke: rgba(38, 30, 15, 0.10);
  --stroke-strong: rgba(38, 30, 15, 0.20);
  --gold-stroke: rgba(184, 134, 11, 0.34);
  --tile: #050506;

  /* text — charcoal */
  --ink: #1b1d21;
  --text: #26282d;
  --text-soft: #5c626b;
  --text-mute: #8a9099;

  --grad-gold: linear-gradient(120deg, #a6790c 0%, #d8ab4e 50%, #b8860b 100%);
  --grad-gold-soft: linear-gradient(120deg, rgba(184,134,11,0.14), rgba(196,201,208,0.16));
  --grad-gold-text: linear-gradient(120deg, #8a6508 0%, #b8860b 32%, #d8ab4e 55%, #b8860b 78%, #8a6508 100%);
  --grad-chrome: linear-gradient(160deg, #f2f4f7 0%, #c4c9d0 48%, #9096a0 100%);

  --shadow-lg: 0 30px 70px -28px rgba(60, 45, 15, 0.30);
  --shadow-md: 0 14px 36px -16px rgba(60, 45, 15, 0.22);
  --shadow-sm: 0 4px 16px -8px rgba(60, 45, 15, 0.18);
  --shadow-gold: 0 16px 40px -14px rgba(184, 134, 11, 0.42);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px; --space-5: 64px; --space-6: 96px;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, output, select, textarea { font-family: inherit; }
::selection { background: rgba(184, 134, 11, 0.28); color: var(--ink); }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; border-radius: 6px; }
:focus:not(:focus-visible) { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink);
}

.grad-text {
  background: var(--grad-gold-text); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 9s ease-in-out infinite;
}
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-gold-deep); padding-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-gold); }

/* ---------- logo tile (dark, so the logo's black bg blends) ---------- */
.logo-tile {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; overflow: hidden;
  background: var(--tile); border: 1px solid var(--gold-stroke);
  box-shadow: 0 6px 18px -8px rgba(60, 45, 15, 0.4), inset 0 0 0 1px rgba(255,255,255,0.03);
  display: grid; place-items: center;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.32); }
.logo-tile--lg { width: 66px; height: 66px; border-radius: 18px; }

/* =========================================================
   Preloader
   ========================================================= */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: grid; place-items: center; transition: opacity 0.6s ease, visibility 0.6s ease; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.preloader__logo { display: flex; align-items: center; gap: 14px; }
.preloader__logo .logo-tile { animation: pulseMark 1.5s var(--ease) infinite; }
.preloader__word { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.5rem; letter-spacing: 0.12em; color: var(--ink); }
.preloader__word b { font-weight: 600; color: var(--c-gold-deep); }
.preloader__bar { width: 220px; height: 3px; border-radius: 2px; background: rgba(38,30,15,0.12); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0%; background: var(--grad-gold); border-radius: 2px; transition: width 0.2s ease; }
.preloader__pct { font-family: 'JetBrains Mono'; font-size: 0.8rem; color: var(--text-mute); }
@keyframes pulseMark { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* =========================================================
   Custom cursor
   ========================================================= */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; }
.cursor { width: 7px; height: 7px; background: var(--c-gold); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(184, 134, 11, 0.55); transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, background 0.25s; }
.cursor-ring.is-hover { width: 56px; height: 56px; background: rgba(184, 134, 11, 0.08); border-color: rgba(184, 134, 11, 0.85); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

.cursor-glow { position: fixed; top: 0; left: 0; z-index: -1; width: 480px; height: 480px; margin: -240px 0 0 -240px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(184,134,11,0.10), rgba(196,201,208,0.05) 45%, transparent 70%); opacity: 0; transition: opacity 0.7s ease; will-change: transform; }
.cursor-glow.is-live { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* =========================================================
   Scroll progress
   ========================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--grad-gold); z-index: 9997; box-shadow: 0 0 12px rgba(184,134,11,0.5); }

/* =========================================================
   Ambient background
   ========================================================= */
.bg-canvas { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.bg-grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(38,30,15,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(38,30,15,0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 82% 62% at 50% 0%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 82% 62% at 50% 0%, #000 30%, transparent 82%);
}
.bg-contours { position: absolute; inset: 0; color: rgba(184, 134, 11, 0.12); opacity: 0.9; will-change: transform;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, #000 20%, transparent 75%); }
.bg-contours svg { width: 100%; height: 100%; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.7; will-change: transform; }
.orb--1 { width: 520px; height: 520px; top: -150px; left: -120px; background: radial-gradient(circle, rgba(184,134,11,0.18), transparent 70%); animation: float1 18s ease-in-out infinite; }
.orb--2 { width: 460px; height: 460px; top: 24%; right: -170px; background: radial-gradient(circle, rgba(140,150,160,0.20), transparent 70%); animation: float2 22s ease-in-out infinite; }
.orb--3 { width: 420px; height: 420px; bottom: -140px; left: 34%; background: radial-gradient(circle, rgba(201,160,63,0.16), transparent 70%); animation: float3 26s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px,50px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-70px,40px); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-50px); } }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --btn-pad: 12px 22px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--btn-pad); font-size: 0.94rem; font-weight: 600; border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap; isolation: isolate; overflow: hidden;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn--lg { --btn-pad: 16px 30px; font-size: 1rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: linear-gradient(120deg, #a6790c, #d8ab4e, #e8c877, #d8ab4e, #a6790c);
  background-size: 220% 100%; color: var(--ink);
  box-shadow: 0 12px 28px -10px rgba(184, 134, 11, 0.55);
  animation: btnFlow 7s linear infinite;
}
@keyframes btnFlow { to { background-position: 220% 50%; } }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -12px rgba(184, 134, 11, 0.75), inset 0 0 0 1px rgba(255,255,255,0.3); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary:active { transform: translateY(0) scale(0.98); }
.btn--primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.55), transparent 80%); transform: translateX(-120%); z-index: 2; pointer-events: none; }
.btn--primary:hover::after { animation: shine 0.9s ease; }
@keyframes shine { to { transform: translateX(120%); } }

.btn--glass { background: rgba(255,255,255,0.72); color: var(--ink); border: 1px solid var(--stroke-strong); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.btn--glass:hover { transform: translateY(-2px); border-color: var(--gold-stroke); background: #fff; }
.btn--ghost { color: var(--text-soft); padding: 10px 14px; }
.btn--ghost:hover { color: var(--ink); }

/* =========================================================
   Header
   ========================================================= */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, padding 0.3s; border-bottom: 1px solid transparent; padding: 10px 0; }
.header.is-scrolled { background: rgba(246, 242, 234, 0.82); backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--stroke); box-shadow: 0 6px 30px -20px rgba(60,45,15,0.4); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.brand__name { font-family: 'Playfair Display', serif; font-size: 1.32rem; letter-spacing: 0.01em; font-weight: 600; color: var(--ink); }
.brand__name b { font-weight: 600; color: var(--c-gold-deep); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; padding: 8px 13px; font-size: 0.88rem; font-weight: 500; white-space: nowrap; color: var(--text-soft); border-radius: 999px; transition: color 0.25s, background 0.25s; }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--grad-gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); transition: color 0.25s; white-space: nowrap; flex-shrink: 0; }
.header__phone svg { color: var(--c-gold); }
.header__phone:hover { color: var(--c-gold-deep); }

.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--stroke-strong); flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--surface); }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0 0 0 auto; width: min(88%, 360px); z-index: 899; background: rgba(251, 248, 242, 0.98); backdrop-filter: blur(20px); border-left: 1px solid var(--stroke); box-shadow: -20px 0 60px -30px rgba(60,45,15,0.4); transform: translateX(100%); transition: transform 0.45s var(--ease); display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 90px 34px 40px; }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__link { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 500; color: var(--text-soft); padding: 8px 0; border-bottom: 1px solid var(--stroke); transition: color 0.25s, padding-left 0.25s; }
.mobile-menu__link:hover { color: var(--c-gold-deep); padding-left: 8px; }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; }

/* =========================================================
   Reveal animations
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(30px) scale(0.98); filter: blur(8px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease); will-change: opacity, transform, filter; }
[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); will-change: auto; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }

.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease); }
.hero__title.is-in .reveal-line:nth-child(1) > span { transition-delay: 0.05s; }
.hero__title.is-in .reveal-line:nth-child(2) > span { transition-delay: 0.15s; }
.hero__title.is-in .reveal-line:nth-child(3) > span { transition-delay: 0.25s; }
.hero__title.is-in .reveal-line > span { transform: translateY(0); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: 150px 0 80px; min-height: 100vh; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--gold-stroke); font-size: 0.82rem; font-weight: 500; color: var(--text-soft); box-shadow: var(--shadow-sm); }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 0 rgba(184,134,11,0.6); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(184,134,11,0.5); } 100% { box-shadow: 0 0 0 10px rgba(184,134,11,0); } }

.hero__title { font-size: clamp(2.3rem, 5.3vw, 4rem); margin: 22px 0; font-weight: 700; }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--text-soft); max-width: 545px; }
.hero__lead b { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__trust { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-item__num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.trust-item__label { font-size: 0.83rem; color: var(--text-mute); }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--stroke-strong); border-radius: 14px; display: grid; place-items: start center; padding-top: 8px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--c-gold); animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero visual — cadastral plan */
.hero__visual { position: relative; transform-style: preserve-3d; perspective: 1000px; }
.plan { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, #ffffff, #fbf7ee); border: 1px solid var(--stroke); padding: 22px; box-shadow: var(--shadow-lg); transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d; }
.plan__glow { position: absolute; inset: -2px; border-radius: inherit; background: var(--grad-gold); opacity: 0.12; filter: blur(30px); z-index: -1; }
.plan__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; }
.plan__dots { display: flex; gap: 6px; }
.plan__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(38,30,15,0.12); }
.plan__dots span:first-child { background: var(--c-gold); }
.plan__title { font-family: 'JetBrains Mono'; font-size: 0.7rem; color: var(--text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan__map { position: relative; height: 175px; border-radius: 14px; overflow: hidden; border: 1px solid var(--stroke); background: #faf6ee; }
.plan__map svg { width: 100%; height: 100%; }
.plan__parcel { stroke-dasharray: 760; stroke-dashoffset: 760; }
.plan.is-in .plan__parcel { animation: drawLine 2s var(--ease) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.plan__pt circle { opacity: 0; }
.plan.is-in .plan__pt circle { animation: popPt 0.4s var(--ease) forwards; }
.plan.is-in .plan__pt circle:nth-child(1) { animation-delay: 1.4s; }
.plan.is-in .plan__pt circle:nth-child(2) { animation-delay: 1.55s; }
.plan.is-in .plan__pt circle:nth-child(3) { animation-delay: 1.7s; }
.plan.is-in .plan__pt circle:nth-child(4) { animation-delay: 1.85s; }
.plan.is-in .plan__pt circle:nth-child(5) { animation-delay: 2s; }
@keyframes popPt { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

.plan__meta { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin: 14px 0; }
.plan__meta-item { padding: 10px 12px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--stroke); }
.plan__meta-label { display: block; font-size: 0.72rem; color: var(--text-mute); }
.plan__meta-val { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.plan__status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(184,134,11,0.1); border: 1px solid var(--gold-stroke); }
.plan__status-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; color: var(--ink); background: var(--grad-gold); }
.plan__status b { display: block; font-family: 'Inter', sans-serif; font-size: 0.88rem; color: var(--ink); }
.plan__status span { font-size: 0.76rem; color: var(--text-soft); }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-md); font-size: 0.8rem; }
.float-card b { display: block; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.float-card span { color: var(--text-mute); font-size: 0.73rem; }
.float-card--1 { top: 9%; left: -34px; animation: floatCard 5s ease-in-out infinite; }
.float-card--1 svg { color: var(--c-gold); }
.float-card--2 { bottom: 11%; right: -30px; animation: floatCard 5s ease-in-out infinite 1s; }
.float-card--2 svg { color: var(--c-silver); }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =========================================================
   Sections base
   ========================================================= */
.section { padding: var(--space-6) 0; position: relative; }
.section__head { max-width: 730px; margin: 0 auto var(--space-5); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; max-width: none; }
.section__head--row .eyebrow { justify-content: flex-start; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.section__sub { color: var(--text-soft); margin-top: 16px; font-size: 1.05rem; }

/* =========================================================
   Segments — path selection
   ========================================================= */
.segments__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.seg-card { position: relative; text-align: left; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; display: flex; flex-direction: column; gap: 6px; }
.seg-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad-gold); opacity: 0; transition: opacity 0.4s; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.seg-card:hover { transform: translateY(-4px); border-color: var(--gold-stroke); box-shadow: var(--shadow-md); }
.seg-card.is-active { background: linear-gradient(150deg, #fffaf0, #fdf6e8); border-color: transparent; box-shadow: var(--shadow-gold); }
.seg-card.is-active::before { opacity: 1; }
.seg-card__tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-gold-deep); }
.seg-card__mark { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin: 6px 0 8px; color: var(--c-gold); background: var(--grad-gold-soft); border: 1px solid var(--gold-stroke); transition: transform 0.4s var(--ease); }
.seg-card:hover .seg-card__mark { transform: translateY(-3px) scale(1.05); }
.seg-card__title { font-size: 1.6rem; }
.seg-card__text { font-size: 0.94rem; color: var(--text-soft); }
.seg-card__cta { margin-top: 8px; font-weight: 600; color: var(--c-gold-deep); font-size: 0.92rem; }

.seg-panel { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 30px; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-sm); }
.seg-panel__title { font-size: 1.3rem; margin-bottom: 18px; }
.seg-panel__title span { color: var(--c-gold-deep); }
.seg-panel__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.seg-panel__list li { position: relative; padding-left: 28px; font-size: 0.92rem; color: var(--text-soft); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.seg-panel__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(184,134,11,0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8860b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 11px; }
.seg-panel__col--aside { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.seg-panel__note { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(184,134,11,0.07); border: 1px solid var(--gold-stroke); }
.seg-panel__note-ic { color: var(--c-gold); flex-shrink: 0; }
.seg-panel__note p { font-size: 0.86rem; color: var(--text-soft); }

/* =========================================================
   Cards grid (services)
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; transform-style: preserve-3d; display: flex; flex-direction: column; }
.card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(184,134,11,0.16), transparent 70%); top: var(--my, 50%); left: var(--mx, 50%); transform: translate(-50%,-50%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: var(--gold-stroke); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: var(--c-gold); margin-bottom: 18px; background: var(--grad-gold-soft); border: 1px solid var(--gold-stroke); transition: transform 0.4s var(--ease); }
.card:hover .card__icon { transform: translateY(-3px) scale(1.05); }
.card__title { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.2; }
.card__text { font-size: 0.89rem; color: var(--text-soft); margin-bottom: 16px; flex: 1; }
.card__meta { align-self: flex-start; font-family: 'JetBrains Mono'; font-size: 0.73rem; font-weight: 600; color: var(--c-graphite); background: var(--surface-3); border: 1px solid var(--stroke); padding: 5px 11px; border-radius: 999px; }
.card__meta--gold { color: var(--c-gold-deep); background: rgba(184,134,11,0.12); border-color: var(--gold-stroke); }
.card--accent { background: linear-gradient(155deg, #fffaf0, #fdf6e8); border-color: var(--gold-stroke); }

/* =========================================================
   Funnel quiz
   ========================================================= */
.quiz__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 50px; align-items: center; }
.quiz__intro .section__head { text-align: left; margin: 0; max-width: none; }
.quiz__intro .eyebrow { justify-content: flex-start; }
.quiz__perks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.quiz__perks li { display: flex; align-items: center; gap: 12px; font-size: 0.96rem; color: var(--text-soft); }
.quiz__perks svg { color: var(--c-gold); flex-shrink: 0; }
.quiz__guarantee { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 16px 18px; border-radius: 16px; background: rgba(184,134,11,0.07); border: 1px solid var(--gold-stroke); max-width: 380px; }
.quiz__guarantee-badge { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: var(--c-gold); background: rgba(184,134,11,0.12); border: 1px solid var(--gold-stroke); }
.quiz__guarantee b { display: block; font-size: 0.95rem; color: var(--ink); }
.quiz__guarantee span { font-size: 0.82rem; color: var(--text-soft); }

.quiz__panel { position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-lg); min-height: 460px; display: flex; flex-direction: column; }
.quiz__glow { position: absolute; inset: -1px; border-radius: inherit; background: var(--grad-gold); opacity: 0.08; filter: blur(28px); z-index: -1; }
.quiz__head { margin-bottom: 24px; }
.quiz__progress { height: 6px; border-radius: 999px; background: rgba(38,30,15,0.10); overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: 25%; border-radius: 999px; background: var(--grad-gold); transition: width 0.5s var(--ease); box-shadow: 0 0 10px rgba(184,134,11,0.4); }
.quiz__step-label { margin-top: 10px; font-size: 0.82rem; color: var(--text-mute); font-family: 'JetBrains Mono'; }
.quiz__step-label b { color: var(--c-gold-deep); }

.quiz__body { position: relative; flex: 1; }
.quiz-step { border: none; display: none; }
.quiz-step.is-active { display: block; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.quiz-step__q { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 600; margin-bottom: 20px; color: var(--ink); }

.quiz-opts { display: grid; gap: 10px; }
.quiz-opts--2 { grid-template-columns: 1fr 1fr; }
.quiz-opts--3 { grid-template-columns: repeat(3, 1fr); }
.quiz-opt { position: relative; cursor: pointer; }
.quiz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-opt__box { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke); color: var(--text); font-size: 0.9rem; font-weight: 500; transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s; text-align: left; height: 100%; }
.quiz-opts--3 .quiz-opt__box { flex-direction: column; justify-content: center; text-align: center; gap: 8px; min-height: 96px; }
.quiz-opt__ic { display: grid; place-items: center; color: var(--c-gold); }
.quiz-opt:hover .quiz-opt__box { border-color: var(--gold-stroke); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.quiz-opt input:checked + .quiz-opt__box { border-color: var(--c-gold); background: rgba(184,134,11,0.1); color: var(--ink); box-shadow: 0 0 0 1px var(--c-gold) inset; }
.quiz-opt input:checked + .quiz-opt__box .quiz-opt__ic { color: var(--c-gold-deep); }
.quiz-opt input:focus-visible + .quiz-opt__box { outline: 2px solid var(--c-gold); outline-offset: 2px; }

.quiz-estimate { text-align: center; padding: 18px; border-radius: 16px; background: rgba(184,134,11,0.08); border: 1px solid var(--gold-stroke); margin-bottom: 18px; }
.quiz-estimate__label { display: block; font-size: 0.78rem; color: var(--text-mute); }
.quiz-estimate__val { display: block; font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--ink); margin: 4px 0; font-variant-numeric: tabular-nums; }
.quiz-estimate__val b { color: var(--c-gold-deep); }
.quiz-estimate__meta { font-size: 0.78rem; color: var(--text-soft); }
.quiz-fields { display: grid; gap: 14px; }
.quiz-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 0.8rem; color: var(--text-mute); cursor: pointer; }
.quiz-consent input { margin-top: 2px; accent-color: var(--c-gold); width: 16px; height: 16px; flex-shrink: 0; }
.quiz-consent a { color: var(--text-soft); text-decoration: underline; }

.quiz-done { text-align: center; padding: 30px 10px; animation: stepIn 0.5s var(--ease); }
.quiz-done__ic { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--grad-gold); box-shadow: var(--shadow-gold); animation: popPt 0.5s var(--ease); }
.quiz-done__title { font-size: 1.6rem; margin-bottom: 10px; }
.quiz-done__text { color: var(--text-soft); max-width: 340px; margin: 0 auto; font-size: 0.95rem; }

.quiz__foot { display: flex; gap: 12px; margin-top: 24px; }
.quiz__next { margin-left: auto; }
.quiz__next:disabled { opacity: 0.5; cursor: not-allowed; animation: none; box-shadow: none; }

/* =========================================================
   Savings calculator
   ========================================================= */
.savings__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.savings__intro .eyebrow { justify-content: flex-start; }
.savings__facts { list-style: none; display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.savings__facts li { display: flex; flex-direction: column; }
.savings__facts b { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--c-gold-deep); }
.savings__facts span { font-size: 0.83rem; color: var(--text-mute); }

.savings__panel { position: relative; padding: 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-lg); }
.savings__glow { position: absolute; inset: -1px; border-radius: inherit; background: var(--grad-gold); opacity: 0.08; filter: blur(28px); z-index: -1; }

.calc__field { margin-bottom: 24px; }
.calc__field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.calc__field-top label { font-size: 0.88rem; color: var(--text-soft); }
.calc__val { font-family: 'JetBrains Mono'; font-weight: 600; color: var(--c-gold-deep); font-size: 1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background-color: rgba(38,30,15,0.12); outline: none; --pct: 20%; background-image: linear-gradient(90deg, #a6790c, #d8ab4e); background-repeat: no-repeat; background-size: var(--pct) 100%; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--c-gold); box-shadow: 0 4px 14px rgba(184,134,11,0.45); cursor: pointer; transition: transform 0.2s; }
.range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--c-gold); box-shadow: 0 4px 14px rgba(184,134,11,0.45); cursor: pointer; }

.savings__result { text-align: center; margin: 28px 0 22px; padding: 24px; border-radius: var(--radius); background: rgba(184,134,11,0.09); border: 1px solid var(--gold-stroke); }
.savings__result-label { font-size: 0.85rem; color: var(--text-mute); }
.savings__result-num { font-family: 'Playfair Display', serif; font-size: 2.7rem; font-weight: 700; color: var(--ink); margin: 4px 0; font-variant-numeric: tabular-nums; }
.savings__result-num span { color: var(--c-gold-deep); }
.savings__result-num small { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500; color: var(--text-soft); }
.savings__result-year { font-size: 0.88rem; color: var(--text-soft); }
.savings__result-year b { color: var(--ink); }
.savings__disclaimer { margin-top: 14px; font-size: 0.76rem; color: var(--text-mute); text-align: center; }

/* =========================================================
   Features bento
   ========================================================= */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-rows: 1fr; }
.feature { position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.feature:hover { border-color: var(--gold-stroke); box-shadow: var(--shadow-md); }
.feature__spot { position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(184,134,11,0.16), transparent 70%); opacity: 0.7; }
.feature--wide { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.feature__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: var(--c-gold); background: var(--grad-gold-soft); border: 1px solid var(--gold-stroke); margin-bottom: 20px; }
.feature__title { font-size: 1.3rem; margin-bottom: 10px; }
.feature--wide .feature__title { font-size: 1.65rem; }
.feature__text { color: var(--text-soft); font-size: 0.94rem; }
.feature__list { list-style: none; margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.feature__list li { position: relative; padding-left: 28px; font-size: 0.92rem; color: var(--text-soft); }
.feature__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(184,134,11,0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8860b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 11px; }
.feature--cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; background: linear-gradient(155deg, #fffaf0, #fdf6e8); border-color: var(--gold-stroke); }
.feature--cta .feature__title { font-size: 1.45rem; }

/* =========================================================
   How it works (steps)
   ========================================================= */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps__line { position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: var(--stroke-strong); border-radius: 2px; }
.steps__line span { display: block; height: 100%; width: 0%; background: var(--grad-gold); border-radius: 2px; transition: width 1.6s var(--ease); box-shadow: 0 0 10px rgba(184,134,11,0.5); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num { width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.4rem; color: var(--ink); background: var(--grad-gold); box-shadow: 0 10px 26px -8px rgba(184,134,11,0.6); position: relative; z-index: 1; }
.step__title { font-size: 1.2rem; margin-bottom: 10px; }
.step__text { font-size: 0.9rem; color: var(--text-soft); max-width: 260px; margin: 0 auto; }

/* =========================================================
   Stats band
   ========================================================= */
.stats { padding: 40px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 44px 34px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #fffaf0, #f7efe0); border: 1px solid var(--gold-stroke); box-shadow: var(--shadow-md); }
.stat { text-align: center; }
.stat__num { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 6px; color: var(--text-soft); font-size: 0.88rem; }

/* =========================================================
   Cases
   ========================================================= */
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; display: flex; flex-direction: column; }
.case-card:hover { border-color: var(--gold-stroke); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-card__img { height: 168px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; }
.case-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 30%, rgba(20,15,5,0.35)); }
.case-card__img--1 { background: linear-gradient(135deg, #8a6508, #d8ab4e); }
.case-card__img--2 { background: linear-gradient(135deg, #3a3f47, #9096a0); }
.case-card__img--3 { background: linear-gradient(135deg, #7a5c0a, #c99a3f); }
.case-card__img::before { content: ""; position: absolute; inset: 0; opacity: 0.5; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.28), transparent 40%), linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px); background-size: auto, 26px 26px, 26px 26px; }
.case-card__tag { position: relative; z-index: 1; font-size: 0.73rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(20,15,5,0.4); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.28); color: #fff; }
.case-card__metric { position: absolute; top: 16px; right: 16px; z-index: 1; font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.case-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-card__title { font-size: 1.14rem; margin-bottom: 10px; line-height: 1.25; }
.case-card__text { font-size: 0.89rem; color: var(--text-soft); margin-bottom: 16px; }
.case-card__result { margin-top: auto; font-family: 'JetBrains Mono'; font-size: 0.78rem; font-weight: 600; color: var(--c-gold-deep); padding-top: 14px; border-top: 1px solid var(--stroke); }

/* =========================================================
   Partners marquee
   ========================================================= */
.partners { padding: 40px 0 20px; }
.partners__label { text-align: center; color: var(--text-mute); font-size: 0.9rem; margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex-shrink: 0; padding: 14px 28px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-sm); font-family: 'Playfair Display', serif; font-weight: 500; font-size: 1.05rem; color: var(--text-soft); white-space: nowrap; transition: color 0.25s, border-color 0.25s; }
.marquee__item:hover { color: var(--ink); border-color: var(--gold-stroke); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq__wrap { max-width: 860px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.acc-item.is-open { border-color: var(--gold-stroke); box-shadow: var(--shadow-md); }
.acc-item__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.acc-item__ic { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.acc-item__ic::before, .acc-item__ic::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--c-gold); transform: translate(-50%,-50%); transition: transform 0.35s var(--ease); }
.acc-item__ic::after { transform: translate(-50%,-50%) rotate(90deg); }
.acc-item.is-open .acc-item__ic::after { transform: translate(-50%,-50%) rotate(0); }
.acc-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.acc-item.is-open .acc-item__body { grid-template-rows: 1fr; }
.acc-item__inner { overflow: hidden; padding: 0 24px; color: var(--text-soft); font-size: 0.95rem; line-height: 1.7; }
.acc-item.is-open .acc-item__inner { padding-bottom: 22px; }

/* =========================================================
   Как нас найти
   ========================================================= */
.location__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; align-items: stretch; }
.location__info { padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.loc-line { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--stroke); }
.loc-line:first-child { padding-top: 0; }
.loc-line__ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: var(--c-gold); background: var(--grad-gold-soft); border: 1px solid var(--gold-stroke); }
.loc-line b { display: block; font-size: 0.98rem; color: var(--ink); }
.loc-line small { color: var(--text-mute); font-size: 0.82rem; }
.loc-actions { display: flex; gap: 12px; margin: 22px 0; }
.loc-btn { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--ink); background: var(--grad-gold); box-shadow: var(--shadow-gold); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.loc-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -14px rgba(184,134,11,0.6); }
.loc-route { margin-top: auto; }

.location__map { position: relative; min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--stroke); box-shadow: var(--shadow-md); }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location__map-fallback { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; background: linear-gradient(160deg, #f3ede1, #e9e0cf); background-image: linear-gradient(160deg, rgba(243,237,225,0.9), rgba(233,224,207,0.9)), linear-gradient(rgba(38,30,15,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(38,30,15,0.05) 1px, transparent 1px); background-size: auto, 34px 34px, 34px 34px; }
.location__map-fallback b { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--ink); }
.location__map-fallback span:last-child { font-size: 0.84rem; color: var(--text-mute); }
.location__map-pin { color: var(--c-gold); filter: drop-shadow(0 6px 10px rgba(184,134,11,0.4)); animation: floatCard 3s ease-in-out infinite; }

/* =========================================================
   CTA band + Contacts
   ========================================================= */
.cta-band { position: relative; text-align: center; padding: 60px 34px; border-radius: var(--radius-lg); background: linear-gradient(140deg, #fff6e4, #f4ecdc); border: 1px solid var(--gold-stroke); box-shadow: var(--shadow-md); overflow: hidden; margin-bottom: 50px; }
.cta-band__glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(184,134,11,0.2), transparent 70%); top: -60%; left: 50%; transform: translateX(-50%); filter: blur(40px); }
.cta-band__title { position: relative; font-size: clamp(1.6rem, 3.3vw, 2.5rem); max-width: 720px; margin: 0 auto 14px; }
.cta-band__text { position: relative; color: var(--text-soft); max-width: 560px; margin: 0 auto; }

.contacts__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; }
.form { padding: 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--stroke); box-shadow: var(--shadow-sm); }
.form__title { font-size: 1.5rem; margin-bottom: 22px; }
.form__field { margin-bottom: 18px; }
.form__field label { display: block; font-size: 0.86rem; color: var(--text-soft); margin-bottom: 8px; }
.form__field input, .form__select { width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--stroke-strong); color: var(--ink); font-size: 0.95rem; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.form__select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c626b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.form__select option { background: #fff; color: var(--ink); }
.form__field input::placeholder { color: var(--text-mute); }
.form__field input:focus, .form__select:focus { outline: none; border-color: var(--c-gold); background: #fff; box-shadow: 0 0 0 4px rgba(184,134,11,0.14); }
.form__field input.is-invalid { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,0.14); }
.form__error { display: block; min-height: 16px; font-size: 0.78rem; color: #c9302c; margin-top: 6px; }
.form__note { font-size: 0.78rem; color: var(--text-mute); margin-top: 14px; text-align: center; }
.form__success { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 16px; border-radius: 12px; background: #e8f5ea; border: 1px solid #b7e0bf; color: #1a7a3c; font-size: 0.9rem; }

.contacts__info { padding: 8px 4px; }
.contacts__info-title { font-size: 1.3rem; margin-bottom: 18px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--stroke); transition: padding-left 0.25s; }
.contact-line:hover { padding-left: 6px; }
.contact-line__ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: var(--c-gold); background: var(--grad-gold-soft); border: 1px solid var(--gold-stroke); }
.contact-line b { display: block; font-size: 1rem; color: var(--ink); }
.contact-line small { color: var(--text-mute); font-size: 0.82rem; }
.contacts__socials { display: flex; gap: 12px; margin-top: 22px; }
.soc { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--text-soft); background: var(--surface-2); border: 1px solid var(--stroke); transition: color 0.25s, transform 0.25s, border-color 0.25s; }
.soc:hover { color: var(--c-gold-deep); transform: translateY(-3px); border-color: var(--gold-stroke); }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--stroke); padding: 60px 0 30px; margin-top: 40px; background: var(--surface-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid var(--stroke); }
.brand--footer { margin-bottom: 16px; }
.footer__desc { color: var(--text-mute); font-size: 0.9rem; max-width: 300px; }
.footer__col h4 { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 16px; color: var(--ink); }
.footer__col a, .footer__muted { display: block; color: var(--text-soft); font-size: 0.9rem; padding: 6px 0; transition: color 0.25s; }
.footer__col a:hover { color: var(--c-gold-deep); }
.footer__muted { color: var(--text-mute); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 0.82rem; color: var(--text-mute); flex-wrap: wrap; }
.footer__legal { font-family: 'JetBrains Mono'; }

/* Back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 800; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); background: var(--grad-gold); box-shadow: var(--shadow-gold); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 810; display: none; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 16px; font-weight: 600; color: var(--ink); background: linear-gradient(120deg, #a6790c, #d8ab4e, #e8c877); background-size: 200% 100%; box-shadow: 0 14px 34px -10px rgba(184,134,11,0.6); animation: btnFlow 7s linear infinite; transform: translateY(120%); transition: transform 0.4s var(--ease); }
.sticky-cta.is-visible { transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature--wide { grid-column: span 2; grid-row: auto; }
  .quiz__grid, .savings__grid { grid-template-columns: 1fr; gap: 36px; }
  .quiz__intro .section__head { text-align: center; }
  .quiz__intro .eyebrow, .savings__intro .eyebrow { justify-content: center; }
  .quiz__perks { max-width: 420px; margin-left: auto; margin-right: auto; }
  .quiz__guarantee { margin-left: auto; margin-right: auto; }
  .cases__grid { grid-template-columns: 1fr; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .steps--4 .steps__line { display: none; }
  .location__grid { grid-template-columns: 1fr; }
  .location__map { min-height: 320px; }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .seg-panel { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 760px) {
  :root { --space-6: 64px; --space-5: 44px; }
  .nav { display: none; }
  .header__phone { display: none; }
  .header__actions .btn--primary { display: none; }
  .burger { display: flex; }
  .hero { padding: 116px 0 60px; }
  .hero__trust { gap: 22px; }
  .cards { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: auto; }
  .segments__grid { grid-template-columns: 1fr; }
  .seg-panel__list { grid-template-columns: 1fr; }
  .quiz-opts--2, .quiz-opts--3 { grid-template-columns: 1fr; }
  .quiz-opts--3 .quiz-opt__box { flex-direction: row; text-align: left; min-height: 54px; justify-content: flex-start; }
  .quiz__panel { padding: 24px; }
  .steps--4 { grid-template-columns: 1fr; gap: 36px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .float-card--1 { left: -6px; }
  .float-card--2 { right: -6px; }
  .cta-band { padding: 44px 22px; }
  .sticky-cta { display: flex; }
  .to-top { bottom: 84px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr; }
  .savings__result-num { font-size: 2.1rem; }
  .loc-actions { justify-content: space-between; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .reveal-line > span { transform: none !important; }
  .orb, .marquee__track, .bg-contours { animation: none !important; }
  .cursor, .cursor-ring, .cursor-glow { display: none !important; }
  .quiz-step { animation: none !important; }
}
