
 /* ---------- RESET & BASE ---------- */
 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

 :root {
 --bg: #f5f2ed;
 --bg-alt: #ebe6dd;
 --surface: #ffffff;
 --text: #2a2a2a;
 --text-muted: #6b6560;
 --accent: #a67c52;
 --accent-dark: #8a6340;
 --border: #d9d2c5;
 --radius: 14px;
 --radius-lg: 24px;
 --shadow-sm: 0 4px 16px rgba(42,42,42,0.06);
 --shadow: 0 12px 40px rgba(42,42,42,0.08);
 --shadow-lg: 0 24px 60px rgba(42,42,42,0.14);
 --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 }

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

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

 img { max-width: 100%; display: block; }
 a { color: inherit; text-decoration: none; }
 button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
 ul { list-style: none; }

 .container {
 width: 100%;
 max-width: 1280px;
 margin: 0 auto;
 padding: 0 24px;
 }
 @media (min-width: 768px) { .container { padding: 0 40px; } }

 /* ---------- TYPOGRAPHY HELPERS ---------- */
 .eyebrow {
 display: inline-block;
 font-size: 12px;
 font-weight: 600;
 letter-spacing: 0.18em;
 text-transform: uppercase;
 color: var(--accent);
 margin-bottom: 16px;
 }

 .section-title {
 font-size: clamp(28px, 4vw, 44px);
 font-weight: 300;
 line-height: 1.15;
 letter-spacing: -0.02em;
 margin-bottom: 16px;
 }

 .section-sub {
 font-size: 16px;
 color: var(--text-muted);
 max-width: 560px;
 }

 section { padding: 80px 0; }
 @media (min-width: 768px) { section { padding: 120px 0; } }

 /* ---------- ANIMATIONS ---------- */
 .fade-up {
 opacity: 0;
 transform: translateY(32px);
 transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
 transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
 }
 .fade-up.visible { opacity: 1; transform: none; }

 /* ---------- BUTTONS ---------- */
 .btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
 padding: 16px 32px;
 border-radius: 999px;
 font-size: 15px;
 font-weight: 600;
 letter-spacing: 0.01em;
 transition: var(--transition);
 white-space: nowrap;
 }
 .btn-primary { background: var(--accent); color: #fff; }
 .btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(166,124,82,0.32); }
 .btn-outline { border: 1.5px solid var(--text); color: var(--text); background: transparent; }
 .btn-outline:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }
 .btn-ghost { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; background: transparent; }
 .btn-ghost:hover { background: #fff; color: var(--text); border-color: #fff; }

/* ---------- HEADER ---------- */
.header {
 position: fixed;
 top: 0; left: 0; right: 0;
 z-index: 100;
 padding: 18px 0;
 transition: background var(--transition), padding var(--transition),
 box-shadow var(--transition), backdrop-filter var(--transition);
}
.header.scrolled,
.header.force-solid {
 background: rgba(245,242,237,0.95);
 backdrop-filter: saturate(180%) blur(16px);
 -webkit-backdrop-filter: saturate(180%) blur(16px);
 padding: 12px 0;
 box-shadow: 0 1px 0 var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { position: relative; display: inline-flex; align-items: center; height: 44px; flex-shrink: 0; transition: color var(--transition); }
.logo-text { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #fff; transition: color var(--transition); }
.logo-text span { color: var(--accent); }
.logo-img { height: 40px; width: auto; display: none; }
.header.scrolled .logo-img, .header.force-solid .logo-img { display: block; }
.header.scrolled .logo-text, .header.force-solid .logo-text { display: none; }
.logo-img.failed { display: none !important; }
.logo-img.failed ~ .logo-text { display: block !important; }

.nav { display: none; align-items: center; gap: 18px; }
@media (min-width: 1180px) { .nav { display: flex; } }

.nav-link {
 display: inline-flex; align-items: center; gap: 4px;
 padding: 8px 0; font-size: 14px; font-weight: 500;
 color: rgba(255,255,255,0.92); background: none; border: none;
 cursor: pointer; white-space: nowrap; position: relative;
 transition: color var(--transition);
}
.header.scrolled .nav-link, .header.force-solid .nav-link { color: var(--text); }
.nav-link::after {
 content: ''; position: absolute; bottom: 0; left: 0;
 width: 0; height: 1.5px; background: var(--accent);
 transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-chevron { width: 14px; height: 14px; transition: transform var(--transition); opacity: 0.7; }
.has-mega.open > .nav-link .nav-chevron,
.has-mega:hover > .nav-link .nav-chevron,
.has-dropdown.open > .nav-link .nav-chevron,
.has-dropdown:hover > .nav-link .nav-chevron { transform: rotate(180deg); }
.nav-item { position: static; }

.megamenu {
 position: absolute; top: 100%; left: 0; right: 0;
 background: var(--bg); border-top: 1px solid var(--border);
 box-shadow: var(--shadow); padding: 40px 0 48px;
 opacity: 0; visibility: hidden; transform: translateY(-8px);
 transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
 z-index: 50;
}
.has-mega.open .megamenu, .has-mega:hover .megamenu, .has-mega:focus-within .megamenu {
 opacity: 1; visibility: visible; transform: none;
}
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.mega-col { display: flex; flex-direction: column; gap: 28px; }
.mega-group { display: flex; flex-direction: column; gap: 10px; }
.mega-title { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin: 0; }
.mega-title-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); text-decoration: none; transition: color var(--transition); }
.mega-title-link:hover { color: var(--accent-dark); }
.mega-title-link svg { width: 14px; height: 14px; }
.mega-group ul { display: flex; flex-direction: column; gap: 8px; }
.mega-group ul a { font-size: 14.5px; color: var(--text-muted); transition: color var(--transition), padding-left var(--transition); padding-left: 0; }
.mega-group ul a:hover { color: var(--accent); padding-left: 4px; }

.has-dropdown { position: relative; }
.dropdown {
 position: absolute; top: 100%; left: 50%; transform: translate(-50%, -8px);
 min-width: 260px; background: var(--surface); border-radius: 12px;
 box-shadow: var(--shadow-lg); padding: 10px;
 opacity: 0; visibility: hidden;
 transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
 z-index: 60; margin-top: 8px;
}
.has-dropdown.open .dropdown, .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
 opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown a { display: block; padding: 12px 16px; border-radius: 8px; font-size: 14.5px; color: var(--text); transition: background var(--transition), color var(--transition); }
.dropdown a:hover { background: var(--bg-alt); color: var(--accent); }

.mega-backdrop {
 position: fixed; inset: 0; background: rgba(20, 20, 20, 0.25);
 opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
 z-index: 98; pointer-events: none;
}
.mega-backdrop.show { opacity: 1; visibility: visible; pointer-events: auto; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: #fff; transition: color var(--transition); }
.header.scrolled .header-phone, .header.force-solid .header-phone { color: var(--text); }
.header-phone:hover { color: var(--accent); }
.phone-icon { width: 18px; height: 18px; flex-shrink: 0; }
.phone-text { display: none; }
@media (min-width: 1180px) { .phone-text { display: inline; } }
.header-cta { display: none; padding: 11px 22px; font-size: 14px; }
@media (min-width: 1180px) { .header-cta { display: inline-flex; } }

.menu-toggle {
 display: flex; flex-direction: column; justify-content: center; gap: 5px;
 width: 42px; height: 42px; border-radius: 50%;
 background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35);
 transition: var(--transition); flex-shrink: 0;
}
.header.scrolled .menu-toggle, .header.force-solid .menu-toggle { background: transparent; border-color: var(--border); }
@media (min-width: 1180px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 18px; height: 1.5px; margin: 0 auto; background: #fff; transition: var(--transition); }
.header.scrolled .menu-toggle span, .header.force-solid .menu-toggle span { background: var(--text); }
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
 position: fixed;
 inset: 0; /* top:0; right:0; bottom:0; left:0 */
 background: var(--bg);
 z-index: 101; /* выше .header (100) — перекрывает шапку */
 padding: 0 24px 32px; /* было: 90px 24px 32px */
 overflow-y: auto;
 -webkit-overflow-scrolling: touch;
 transform: translateX(100%);
 transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { transform: translateX(0); }
@media (min-width: 1180px) { .mobile-nav { display: none; } }

.mobile-nav-header {
 position: sticky;
 top: 0;
 z-index: 2;
 background: var(--bg);
 padding: max(20px, env(safe-area-inset-top)) 0 20px;
 margin-bottom: 8px;
 border-bottom: 1px solid var(--border);
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
}
.mobile-logo { display: inline-flex; align-items: center; height: 40px; flex-shrink: 0; }
.mobile-logo img { display: block; height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.mobile-logo img.failed { display: none; }
.mobile-logo-text { display: none; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.mobile-logo-text span { color: var(--accent); }
.mobile-logo img.failed ~ .mobile-logo-text { display: block; }
.mobile-close {
 display: inline-flex; align-items: center; justify-content: center;
 width: 40px; height: 40px; border-radius: 50%;
 border: 1px solid var(--border); background: transparent; color: var(--text);
 transition: background var(--transition), border-color var(--transition), color var(--transition);
 flex-shrink: 0;
}
.mobile-close:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.mobile-close svg { width: 18px; height: 18px; }

.mobile-link, .mobile-sublink {
 display: flex; align-items: center; justify-content: space-between;
 width: 100%; padding: 14px 0; font-size: 17px; font-weight: 500;
 color: var(--text); text-align: left; border-bottom: 1px solid var(--border);
 transition: color var(--transition);
}
.mobile-link:hover, .mobile-sublink:hover { color: var(--accent); }
.mobile-sublink { font-size: 15px; font-weight: 500; color: var(--text-muted); padding: 12px 0; }
.mobile-accordion-toggle { cursor: pointer; background: none; border: none; font-family: inherit; }
.mobile-accordion-toggle .chevron { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s ease; color: var(--text-muted); }
.mobile-accordion.open > .mobile-accordion-toggle .chevron { transform: rotate(180deg); }
.mobile-accordion.open > .mobile-accordion-toggle { color: var(--accent); }
.mobile-accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; padding-left: 12px; }
.mobile-accordion-panel > .mobile-accordion { padding-left: 0; }
.mobile-leaf { display: block; padding: 10px 0 10px 12px; font-size: 14.5px; color: var(--text-muted); border-bottom: 1px dashed var(--border); transition: color var(--transition); }
.mobile-leaf:hover { color: var(--accent); }
.mobile-phone { margin-top: 24px; width: 100%; }

@media (max-width: 1179px) {
 .logo-img { display: block !important; }
 .logo-text { display: none !important; }
 .logo-img.failed { display: none !important; }
 .logo-img.failed ~ .logo-text { display: block !important; }
 .header {
 background: rgba(245,242,237,0.95);
 backdrop-filter: saturate(180%) blur(16px);
 -webkit-backdrop-filter: saturate(180%) blur(16px);
 box-shadow: 0 1px 0 var(--border);
 }
 .header .header-phone { color: var(--text); }
 .header .menu-toggle { background: transparent; border-color: var(--border); }
 .header .menu-toggle span { background: var(--text); }
 .header .logo-text { color: var(--text); }
}

.logo-img { display: block; }
.logo-text { display: none; }
.logo-img.failed { display: none; }
.logo-img.failed ~ .logo-text { display: block; }
.header:not(.scrolled):not(.force-solid) .logo {
 background: rgba(245,242,237,0.92);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 padding: 6px 14px; border-radius: 999px;
 height: auto; min-height: 48px;
}

/* ---------- HERO ---------- */
.hero {
 position: relative; min-height: 100vh; min-height: 100svh;
 display: flex; align-items: flex-end;
 padding: 120px 0 60px; overflow: hidden; color: #fff;
}
.hero-bg {
 position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #141210;
}
.hero-bg img {
 position: absolute; inset: 0; width: 100%; height: 100%;
 object-fit: cover; z-index: 0; transform: scale(1.08); will-change: transform;
}
.hero-bg::after {
 content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
 background:
 linear-gradient(180deg, rgba(14,11,9,0.60) 0%, rgba(14,11,9,0.25) 45%, rgba(14,11,9,0.88) 100%),
 linear-gradient(90deg, rgba(14,11,9,0.78) 0%, rgba(14,11,9,0.40) 45%, rgba(14,11,9,0.00) 78%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow {
 display: inline-block; font-size: 12px; font-weight: 600;
 letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
 opacity: 0.85; margin-bottom: 24px; padding: 8px 16px;
 border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
 backdrop-filter: blur(6px);
}
.hero h1 {
 font-size: clamp(30px, 4.8vw, 58px); font-weight: 300;
 line-height: 1.1; letter-spacing: -0.025em; max-width: 880px; margin-bottom: 20px;
}
.hero h1 strong { font-weight: 600; }
.hero-lead {
 font-size: clamp(18px, 2vw, 24px); line-height: 1.4; font-weight: 400;
 max-width: 620px; opacity: 0.95; margin-bottom: 20px;
}
.hero-sub {
 font-size: clamp(15px, 1.5vw, 17px); max-width: 560px;
 opacity: 0.85; margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-case {
 display: inline-flex; align-items: center; gap: 12px;
 padding: 12px 18px; border-radius: 999px;
 background: rgba(255,255,255,0.08);
 border: 1px solid rgba(255,255,255,0.18);
 backdrop-filter: blur(8px);
 font-size: 13.5px; opacity: 0.9; margin-bottom: 32px;
}
.hero-case b { color: #fff; }
.hero-meta {
 display: flex; flex-wrap: wrap; gap: 12px 36px;
 font-size: 13.5px; opacity: 0.85;
 padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- STATS ---------- */
.stats { padding: 60px 0; background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 24px 16px; border-radius: var(--radius); transition: var(--transition); }
.stat-num {
 font-size: clamp(32px, 4vw, 48px); font-weight: 300;
 letter-spacing: -0.03em; color: var(--text); line-height: 1; margin-bottom: 8px;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 13.5px; color: var(--text-muted); }

/* ---------- PORTFOLIO ---------- */
.portfolio-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn {
 padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
 color: var(--text-muted); border: 1px solid var(--border);
 background: transparent; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.project {
 position: relative; border-radius: var(--radius-lg); overflow: hidden;
 background: var(--bg-alt); aspect-ratio: 4 / 5; cursor: pointer;
 transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.project.hidden { display: none; }
.project:hover { transform: translateY(-4px); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.project:hover img { transform: scale(1.06); }
.project::after {
 content: ''; position: absolute; inset: 0;
 background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.78) 100%);
 pointer-events: none;
}
.project-body {
 position: absolute; left: 0; right: 0; bottom: 0;
 padding: 24px; color: #fff; z-index: 2;
 display: flex; justify-content: space-between; align-items: flex-end;
 gap: 16px; transition: var(--transition);
}
.project-title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.project-tag { font-size: 13px; opacity: 0.78; }
.project-cta {
 flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
 background: var(--accent); display: flex; align-items: center; justify-content: center;
 color: #fff; opacity: 0; transform: translateX(8px); transition: var(--transition);
}
.project:hover .project-cta { opacity: 1; transform: none; }
.project-cta svg { width: 18px; height: 18px; }

/* ---------- PROCESS ---------- */
.process { background: var(--bg-alt); }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.step {
 background: var(--surface); border-radius: var(--radius-lg);
 padding: 32px 28px; position: relative; transition: var(--transition);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
 display: inline-flex; align-items: center; justify-content: center;
 width: 44px; height: 44px; border-radius: 50%;
 background: var(--bg-alt); color: var(--accent);
 font-weight: 600; font-size: 15px; margin-bottom: 20px;
}
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
.step-meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--accent); font-weight: 600; }

/* ---------- REVIEWS ---------- */
.reviews-head { margin-bottom: 48px; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--surface); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; transition: var(--transition); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.review-text { font-size: 15px; line-height: 1.65; color: var(--text); margin-bottom: 24px; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.review-avatar {
 width: 42px; height: 42px; border-radius: 50%; background: var(--bg-alt); color: var(--accent);
 display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px;
}
.review-name { font-weight: 600; font-size: 14.5px; }
.review-meta { font-size: 12.5px; color: var(--text-muted); }

/* ---------- CTA / FORM (used in modal) ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.form-field input, .form-field textarea {
 width: 100%; padding: 14px 16px; background: var(--surface);
 border: 1px solid var(--border); border-radius: 10px;
 color: var(--text); font-family: inherit; font-size: 15px;
 transition: var(--transition); outline: none;
}
.form-field textarea { resize: vertical; min-height: 88px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field input.error, .form-field textarea.error { border-color: #e0604a; }

/* ---------- FOOTER ---------- */
.footer { background: #1f1f1f; color: rgba(255,255,255,0.6); padding: 48px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
/*.footer .logo { color: #fff; font-size: 20px; margin-bottom: 12px; }*/
.footer p { max-width: 320px; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { transition: color var(--transition); }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
 padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
 display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
 font-size: 12.5px; opacity: 0.6;
}

/* ---------- FLOATING CTA ---------- */
.floating-cta {
 position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 90;
 opacity: 0; pointer-events: none; transform: translateY(20px);
 transition: var(--transition);
}
.floating-cta.show { opacity: 1; pointer-events: auto; transform: none; }
.floating-cta .btn { width: 100%; box-shadow: 0 12px 32px rgba(166,124,82,0.4); }
@media (min-width: 1024px) { .floating-cta { display: none; } }

/* ============================================
 НОВЫЕ БЛОКИ
 ============================================ */

/* ---------- CATALOG ---------- */
.catalog { background: var(--bg); }
.catalog-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 16px;
 margin-top: 48px;
}
@media (min-width: 640px) {
 .catalog-grid { gap: 20px; }
}
@media (min-width: 900px) {
 .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.catalog-card {
 display: block;
 position: relative;
 overflow: hidden;
 border-radius: var(--radius-lg);
 aspect-ratio: 4 / 3;
 background: var(--bg-alt);
 transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 isolation: isolate;
}
.catalog-card:hover { transform: translateY(-4px); }

.catalog-card img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
 position: relative;
 z-index: 1;
 transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.catalog-card:hover img { transform: scale(1.06); }

.catalog-card::after {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(180deg, transparent 45%, rgba(14,11,9,0.85) 100%);
 pointer-events: none;
 z-index: 2;
}

.catalog-card-body {
 position: absolute;
 left: 0; right: 0; bottom: 0;
 padding: 20px 20px 20px 22px;
 z-index: 3;
 display: flex;
 align-items: flex-end;
 justify-content: space-between;
 gap: 12px;
 color: #fff;
}
.catalog-card-title {
 font-size: 17px;
 font-weight: 600;
 letter-spacing: -0.01em;
 line-height: 1.25;
 margin-bottom: 4px;
 color: #fff;
}
.catalog-card-desc {
 font-size: 12.5px;
 line-height: 1.45;
 color: rgba(255,255,255,0.82);
}
.catalog-card-arrow {
 flex-shrink: 0;
 width: 34px;
 height: 34px;
 border-radius: 50%;
 background: var(--accent);
 color: #fff;
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 transform: translateX(6px);
 transition: opacity 0.3s, transform 0.3s;
}
.catalog-card:hover .catalog-card-arrow { opacity: 1; transform: none; }
.catalog-card-arrow svg { width: 16px; height: 16px; }

/* Мобильный режим: 2 колонки — карточки узкие, описание скрываем */
@media (max-width: 639px) {
 .catalog-card-desc { display: none; }
 .catalog-card-title { font-size: 14.5px; line-height: 1.2; }
 .catalog-card-body { padding: 14px 14px 14px 16px; gap: 8px; }
 .catalog-card-arrow { width: 26px; height: 26px; }
 .catalog-card-arrow svg { width: 13px; height: 13px; }
}

/* На десктопе — крупнее типографика */
@media (min-width: 900px) {
 .catalog-card-title { font-size: 18px; }
 .catalog-card-desc { font-size: 13px; }
 .catalog-card-body { padding: 24px; }
}

/* ---------- PRICE ---------- */
.price { background: var(--bg-alt); }
.price-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
@media (min-width: 768px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
 background: var(--surface); border-radius: var(--radius-lg);
 padding: 32px 28px; display: flex; flex-direction: column;
 transition: var(--transition); position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-tag {
 display: inline-block; font-size: 11px; font-weight: 700;
 letter-spacing: 0.16em; text-transform: uppercase;
 color: var(--accent); margin-bottom: 12px;
}
.price-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.price-spec { font-size: 13.5px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.55; flex: 1; }
.price-amount { font-size: 32px; font-weight: 300; letter-spacing: -0.02em; color: var(--text); margin-bottom: 24px; }
.price-amount small { font-size: 14px; color: var(--text-muted); font-weight: 400; display: block; margin-top: 4px; }
.price-card .btn { width: 100%; padding: 12px 20px; font-size: 14px; }
.price-note {
 margin-top: 32px; padding: 20px 24px;
 background: rgba(166,124,82,0.08); border-radius: var(--radius);
 font-size: 14px; color: var(--text-muted); text-align: center;
}
.price-note strong { color: var(--text); }

/* ---------- ====================
QUIZ 
================= ---------- */
.quiz-section { background: var(--bg); }
.quiz-wrap {
 max-width: 720px; margin: 48px auto 0;
 background: var(--surface); border-radius: var(--radius-lg);
 padding: 40px 32px; box-shadow: var(--shadow); position: relative;
}
@media (min-width: 768px) { .quiz-wrap { padding: 48px; } }
.quiz-progress {
 height: 4px; background: var(--bg-alt); border-radius: 99px;
 overflow: hidden; margin-bottom: 32px;
}
.quiz-progress-bar {
 height: 100%; background: var(--accent); border-radius: 99px;
 width: 20%; transition: width 0.4s ease;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: quizFade 0.3s ease; }
@keyframes quizFade {
 from { opacity: 0; transform: translateY(8px); }
 to { opacity: 1; transform: none; }
}
.quiz-step h3 {
 font-size: 20px; font-weight: 600; letter-spacing: -0.01em;
 margin-bottom: 8px;
}
.quiz-step p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 640px) { .quiz-options { gap: 14px; } }
.quiz-option {
 padding: 18px 20px; background: var(--bg);
 border: 1.5px solid var(--border); border-radius: 14px;
 font-size: 15px; font-weight: 500; color: var(--text);
 text-align: left; transition: var(--transition); cursor: pointer;
}
.quiz-option:hover { border-color: var(--accent); background: var(--surface); }
.quiz-option.selected { border-color: var(--accent); background: rgba(166,124,82,0.08); color: var(--accent-dark); }
.quiz-buttons { display: flex; gap: 12px; margin-top: 24px; justify-content: space-between; }
.quiz-back {
 font-size: 14px; font-weight: 500; color: var(--text-muted);
 padding: 10px 0; text-decoration: underline; transition: color var(--transition);
}
.quiz-back:hover { color: var(--text); }
.quiz-form .form-field input { background: var(--bg); }
.quiz-form .btn { width: 100%; margin-top: 16px; }
.quiz-success { text-align: center; padding: 32px 0; }
.quiz-success-icon {
 width: 72px; height: 72px; border-radius: 50%;
 background: rgba(166,124,82,0.15); color: var(--accent);
 display: inline-flex; align-items: center; justify-content: center;
 margin-bottom: 20px; font-size: 32px;
}
.quiz-success h3 { margin-bottom: 8px; }

/*-- доп. стили для квиза -->

 /* только то, чего не было в теме */
 .quiz-wrap { --quiz-accent: var(--accent, var(--primary, #b08d57)); }

 .quiz-wrap .quiz-step { display: none; }
 .quiz-wrap .quiz-step.active {
 display: block;
 animation: quizFade .22s ease both;
 }
 @keyframes quizFade {
 from { opacity: 0; transform: translateY(6px); }
 to { opacity: 1; transform: none; }
 }

 .quiz-wrap .quiz-option { cursor: pointer; }
 .quiz-wrap .quiz-option.selected {
 border-color: var(--quiz-accent);
 box-shadow: inset 0 0 0 1px var(--quiz-accent);
 }

 .quiz-wrap .form-field.error input { border-color: #d9534f; }
 .quiz-wrap .quiz-error {
 display: block;
 min-height: 15px;
 margin-top: 4px;
 font-size: 12px;
 line-height: 1.3;
 color: #d9534f;
 }

 .quiz-wrap .quiz-step-label {
 font-size: 12px;
 color: var(--text-muted);
 align-self: center;
 }

 .quiz-wrap button[type="submit"][disabled] { opacity: .6; pointer-events: none; }

/*-- добавка 2 --*/
  .quiz-wrap { --quiz-accent: var(--accent, var(--primary, #b08d57)); }

  .quiz-wrap .quiz-step { display: none; }
  .quiz-wrap .quiz-step.active { display: block; animation: quizFade .22s ease both; }
  @keyframes quizFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
  }

  .quiz-wrap .quiz-option { cursor: pointer; }
  .quiz-wrap .quiz-option.selected {
    border-color: var(--quiz-accent);
    box-shadow: inset 0 0 0 1px var(--quiz-accent);
  }

  .quiz-wrap .quiz-step-label {
    font-size: 12px;
    color: var(--text-muted);
    align-self: center;
  }

  /* поля, пришедшие из $MFORM_8$ */
  .quiz-wrap .quiz-mf-slot { margin-top: 8px; }
  .quiz-wrap .quiz-mf-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 8px;
    padding: 12px 14px;
    border: 1px solid var(--border, #d8d8d8);
    border-radius: 8px;
    font: inherit;
    background: #fff;
    color: var(--text, #222);
  }
  .quiz-wrap .quiz-mf-input:focus {
    outline: none;
    border-color: var(--quiz-accent);
  }
  .quiz-wrap .quiz-mf-error {
    display: block;
    min-height: 15px;
    margin: -4px 0 8px;
    font-size: 12px;
    color: #d9534f;
  }
  .quiz-wrap .quiz-mf-submit { margin-top: 8px; }


/* ---------- WHY US ---------- */
.why-us { background: var(--bg-alt); }
.why-us-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 48px; align-items: start; }
@media (min-width: 900px) { .why-us-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.why-video {
 position: relative;
 aspect-ratio: 4 / 3;
 border-radius: var(--radius-lg);
 overflow: hidden;
 background: #1a1a1a;
}

.why-video-el {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
 background: #1a1a1a;
}

.why-video-caption-text {
 margin-top: 12px;
 font-size: 13px;
 color: var(--text-muted);
 text-align: center;
 line-height: 1.5;
}
.why-features { display: grid; grid-template-columns: 1fr; gap: 24px; }
.why-feature {
 display: flex; gap: 18px;
 padding: 20px 0; border-bottom: 1px solid var(--border);
}
.why-feature:last-child { border-bottom: none; }
.why-feature-icon {
 width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
 background: var(--surface); color: var(--accent);
 display: flex; align-items: center; justify-content: center;
}
.why-feature-icon svg { width: 22px; height: 22px; }
.why-feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.why-feature p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.why-partners {
 display: flex; flex-wrap: wrap; gap: 16px 32px;
 margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border);
 font-size: 13px; color: var(--text-muted); align-items: center;
}
.why-partner-logo { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--text); opacity: 0.7; }

/* ---------- COMPARISON ---------- */
.comparison { background: var(--bg); }
.compare-wrap {
 margin-top: 48px; overflow-x: auto;
 border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.compare-table {
 width: 100%; border-collapse: collapse; background: var(--surface);
 min-width: 640px;
}
.compare-table th, .compare-table td {
 padding: 20px 24px; text-align: left;
 border-bottom: 1px solid var(--border); font-size: 14.5px;
}
.compare-table thead th {
 background: var(--bg-alt); font-size: 12px; font-weight: 700;
 letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
}
.compare-table thead th:nth-child(2) {
 background: var(--accent); color: #fff;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:nth-child(2) {
 background: rgba(166,124,82,0.05); font-weight: 600;
}
.compare-table td:first-child { color: var(--text-muted); }
.compare-yes { color: #2d7a3f; font-weight: 600; }
.compare-no { color: #b04040; }

/* ---------- GUARANTEES ---------- */
.guarantees { background: var(--bg-alt); }
.guarantees-grid {
 display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px;
}
@media (min-width: 640px) { .guarantees-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .guarantees-grid { grid-template-columns: repeat(3, 1fr); } }
.guarantee-card {
 background: var(--surface); border-radius: var(--radius-lg);
 padding: 28px 24px; transition: var(--transition);
}
.guarantee-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guarantee-icon {
 width: 44px; height: 44px; border-radius: 12px;
 background: var(--bg-alt); color: var(--accent);
 display: flex; align-items: center; justify-content: center;
 margin-bottom: 16px;
}
.guarantee-icon svg { width: 22px; height: 22px; }
.guarantee-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.guarantee-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ---------- MATERIALS ---------- */
.materials { background: var(--bg); }
.materials-grid {
 display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px;
}
@media (min-width: 640px) { .materials-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .materials-grid { grid-template-columns: repeat(6, 1fr); } }
.material-swatch {
 background: var(--surface); border-radius: var(--radius);
 padding: 16px; text-align: center; transition: var(--transition);
}
.material-swatch:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.material-swatch-color {
 width: 100%; aspect-ratio: 1; border-radius: 10px;
 margin-bottom: 12px; position: relative; overflow: hidden;
}
.material-swatch-color::after {
 content: ''; position: absolute; inset: 0;
 background: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(0,0,0,0.03) 4px, rgba(0,0,0,0.03) 5px);
}
.material-swatch-name { font-size: 13px; font-weight: 600; color: var(--text); }
.material-swatch-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.materials-note {
 margin-top: 32px; padding: 24px 28px;
 background: var(--bg-alt); border-radius: var(--radius);
 font-size: 14.5px; line-height: 1.6; color: var(--text);
}
.materials-note b { color: var(--accent-dark); }

/* ---------- TEAM + MAP ---------- */
.team-map { background: var(--bg-alt); }
.team-map-grid {
 display: grid; grid-template-columns: 1fr; gap: 48px;
 margin-top: 48px; align-items: start;
}
@media (min-width: 900px) { .team-map-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.team-card {
 background: var(--surface); border-radius: var(--radius);
 padding: 20px 16px; text-align: center;
 transition: var(--transition);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.team-avatar {
 width: 64px; height: 64px; border-radius: 50%;
 background: var(--bg-alt); color: var(--accent);
 display: inline-flex; align-items: center; justify-content: center;
 font-size: 22px; font-weight: 600; margin-bottom: 12px;
}
.team-name { font-size: 14px; font-weight: 600; color: var(--text); }
.team-role { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

.map-wrap {
 border-radius: var(--radius-lg); overflow: hidden;
 background: var(--surface); aspect-ratio: 4 / 3;
 position: relative;
}
.map-wrap iframe {
 width: 100%; height: 100%; border: none; display: block;
}
.map-placeholder {
 width: 100%; height: 100%;
 display: flex; align-items: center; justify-content: center;
 background: linear-gradient(135deg, #e8e0d2 0%, #d4c8b5 100%);
 color: var(--text-muted); text-align: center; padding: 32px;
 font-size: 14px; line-height: 1.6;
}
.map-placeholder b { display: block; color: var(--text); font-size: 16px; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq-list { max-width: 880px; margin: 48px auto 0; }
.faq-item {
 border-bottom: 1px solid var(--border);
 transition: var(--transition);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
 display: flex; align-items: center; justify-content: space-between; gap: 24px;
 width: 100%; padding: 24px 0;
 font-size: 17px; font-weight: 600; color: var(--text);
 text-align: left; cursor: pointer; background: none; border: none;
 font-family: inherit; transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
 flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
 border: 1px solid var(--border);
 display: flex; align-items: center; justify-content: center;
 transition: var(--transition); position: relative;
}
.faq-icon::before, .faq-icon::after {
 content: ''; position: absolute; background: var(--text);
 transition: var(--transition);
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-answer {
 max-height: 0; overflow: hidden;
 transition: max-height 0.35s ease, padding 0.35s ease;
 font-size: 15px; line-height: 1.7; color: var(--text-muted);
}
.faq-item.open .faq-answer { padding-bottom: 24px; }

/* ---------- FINAL CTA ---------- */
.final-cta {
 background: var(--text); color: #fff;
 position: relative; overflow: hidden; text-align: center;
}
.final-cta::before {
 content: ''; position: absolute; top: -50%; left: 50%;
 width: 800px; height: 800px; transform: translateX(-50%);
 background: radial-gradient(circle, rgba(166,124,82,0.18) 0%, transparent 70%);
 pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
 font-size: clamp(28px, 4vw, 44px); font-weight: 300;
 line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px;
}
.final-cta p {
 color: rgba(255,255,255,0.75); font-size: 17px;
 margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto;
}
.final-cta-buttons {
 display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.final-cta-buttons .btn-outline {
 border-color: rgba(255,255,255,0.6); color: #fff;
}
.final-cta-buttons .btn-outline:hover {
 background: #fff; color: var(--text); border-color: #fff;
}

/* ---------- MODAL ---------- */
.modal-overlay {
 position: fixed; inset: 0; z-index: 200;
 background: rgba(20,18,16,0.65);
 backdrop-filter: blur(6px);
 -webkit-backdrop-filter: blur(6px);
 display: flex; align-items: center; justify-content: center;
 padding: 20px; opacity: 0; visibility: hidden;
 transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
 background: var(--surface); border-radius: var(--radius-lg);
 padding: 40px 32px; max-width: 460px; width: 100%;
 position: relative; transform: translateY(20px); transition: transform 0.3s;
 max-height: 90vh; overflow-y: auto;
}
.modal-overlay.show .modal { transform: none; }
.modal-close {
 position: absolute; top: 16px; right: 16px;
 width: 36px; height: 36px; border-radius: 50%;
 display: flex; align-items: center; justify-content: center;
 color: var(--text-muted); transition: var(--transition);
}
.modal-close:hover { background: var(--bg-alt); color: var(--text); }
.modal h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.modal p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 24px; }
.modal .btn { width: 100%; margin-top: 8px; }
.modal .form-note {
 font-size: 12px; color: var(--text-muted);
 margin-top: 14px; text-align: center; line-height: 1.5;
}
.modal-success {
 display: none; text-align: center; padding: 20px 0;
}
.modal-success.show { display: block; }
.modal-success-icon {
 width: 64px; height: 64px; border-radius: 50%;
 background: rgba(166,124,82,0.15); color: var(--accent);
 display: inline-flex; align-items: center; justify-content: center;
 margin-bottom: 16px; font-size: 28px;
}

/* ---------- MAP ---------- */
.map-container {
 width: 100%;
 height: 100%;
 min-height: 360px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 background: var(--bg-alt);
}
.map-container .leaflet-container {
 font-family: 'Manrope', sans-serif;
 border-radius: var(--radius-lg);
}

/* Кастомные маркеры Leaflet */
.artluxe-marker {
 background: var(--accent);
 width: 28px;
 height: 28px;
 border-radius: 50%;
 border: 3px solid #fff;
 box-shadow: 0 4px 12px rgba(0,0,0,0.3);
 display: flex;
 align-items: center;
 justify-content: center;
 color: #fff;
 font-size: 12px;
 font-weight: 700;
}
.artluxe-marker.production { background: var(--text); }

/* Popup */
.leaflet-popup-content-wrapper {
 border-radius: 12px;
 box-shadow: var(--shadow);
 padding: 4px;
}
.leaflet-popup-content {
 margin: 12px 16px;
 font-size: 13.5px;
 line-height: 1.5;
 color: var(--text);
}
.leaflet-popup-content b { font-weight: 600; }
.leaflet-popup-content a { color: var(--accent); text-decoration: none; }
.leaflet-popup-content a:hover { text-decoration: underline; }

/* Карточки адресов */
.map-addresses {
 display: grid;
 grid-template-columns: 1fr;
 gap: 16px;
 margin-top: 24px;
}
@media (min-width: 640px) {
 .map-addresses { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.map-address-card {
 background: var(--surface);
 border-radius: var(--radius-lg);
 padding: 24px 22px;
 transition: var(--transition);
}
.map-address-card:hover {
 transform: translateY(-3px);
 box-shadow: var(--shadow);
}
.map-address-type {
 display: inline-block;
 font-size: 11px;
 font-weight: 700;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--accent);
 margin-bottom: 10px;
}
.map-address-title {
 font-size: 17px;
 font-weight: 600;
 letter-spacing: -0.01em;
 margin-bottom: 8px;
 color: var(--text);
}
.map-address-desc {
 font-size: 13.5px;
 color: var(--text-muted);
 line-height: 1.55;
 margin-bottom: 16px;
}
.map-address-contacts {
 display: flex;
 flex-direction: column;
 gap: 6px;
 padding-top: 14px;
 border-top: 1px solid var(--border);
 font-size: 13.5px;
}
.map-address-contacts a {
 color: var(--text);
 transition: color var(--transition);
}
.map-address-contacts a:hover { color: var(--accent); }

/* На мобильных карта ниже */
@media (max-width: 899px) {
 .map-container { min-height: 300px; }
}
/*--==================================
КНОПКИ ВВЕРХ И ВНИЗ
=================================== --*/
    /* Общий стиль кнопок */
  .scroll-btn {
    position: fixed;
    right: 24px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #e0bb6d;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, background .2s;
    z-index: 9999;
  }
  .scroll-btn.show { opacity: 1; visibility: visible; }
  .scroll-btn:hover { background: #d4a94f; transform: translateY(-2px); }
  .scroll-btn:active { transform: scale(.95); }

  /* Позиции */
  #scroll-up   { bottom: 390px; }
  #scroll-down { bottom: 310px; }

  /* Стрелки */
  .scroll-btn .arrow { line-height: 1; }

  /* Скрываем кнопки на маленьких экранах смартфонов */
  @media (max-width: 600px) {
    .scroll-btn {
      display: none !important;
    }
  }

/* ---------- FOOTER LOGO ---------- */
.footer-logo {
  display: inline-flex;
  align-items: center;
  background: rgba(245,242,237,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 999px;
  min-height: 48px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.footer-logo:hover {
  background: rgba(245,242,237,1);
}
.footer-logo img {
  height: 34px;
  width: auto;
  display: block;
}
.footer-logo img.failed {
  display: none;
}
.footer-logo-text {
  display: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.footer-logo-text span { color: var(--accent); }
.footer-logo img.failed ~ .footer-logo-text { display: block; }