/* ==========================================================================
   Стили сайта «Земля • Славянское».
   Собрано из блоков «сайт коды.rtf» + «План поселка.html» в порядке блоков на странице.
   ========================================================================== */

/* === ПЕРЕМЕННЫЕ ===
   На Tilda каждый блок объявлял свой :root, и действовало последнее значение.
   Здесь оставлены именно эти итоговые значения, чтобы вид не изменился. */
:root {
    --gold-kino: #D4AF37;
    --brown-text: #423120;
    --gold: #FFD700;

    --pine-graphite: #121916;
    --bg-dark: #121916;
    --bg-pine: #121916;

    --text-white: #FFFFFF;
    --white: #FFFFFF;
    --text-grey: #B0B0B0;
    --grey-text: #B0B0B0;
    --grey: #B0B0B0;

    --card-bg: #1A2220;
    --card-dark: #1A2220;
    --border-dim: rgba(255, 255, 255, 0.1);
}

/* === БАЗА (раньше это давала Tilda) === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-pine); color: var(--white); font-family: 'Manrope', sans-serif; }

/* === ОБЩИЕ КЛАССЫ (повторялись в каждом блоке) === */
.gold-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold);
    text-shadow: 0 2px 15px rgba(0,0,0,0.9);
}
.gold-text { color: var(--gold); font-weight: 600; }
.section-title {
    font-family: 'Manrope', sans-serif; font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; margin: 0 0 15px 0; color: #FFF;
}


/* ==========================================================================
   БЛОК 1: HERO
   ========================================================================== */
.hero-premium-kino { position: relative; width: 100%; min-height: 100vh; display: flex; align-items: center; justify-content: center; font-family: 'Manrope', sans-serif; padding: 80px 20px; overflow: hidden; background: #000; }
.hero-bg-kino { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-img-kino { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) contrast(1.1); animation: zoomKino 40s infinite alternate; }
.hero-overlay-kino { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%); }
.hero-container-kino { position: relative; z-index: 10; max-width: 1000px; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title-kino { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.1; color: #FFFFFF; margin: 0 0 30px 0; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.nowrap-line { white-space: nowrap; }
.gold-accent-kino { color: var(--gold-kino); font-family: 'Playfair Display', serif; font-style: italic; }
.thin-text-kino { font-weight: 300; display: block; margin-top: 10px; font-size: 0.7em; opacity: 0.95; }
.hero-divider-kino { width: 80px; height: 2px; background: var(--gold-kino); margin-bottom: 40px; box-shadow: 0 0 10px var(--gold-kino); }
.hero-facts-kino { margin-bottom: 50px; color: rgba(255,255,255,0.95); font-size: 1.2rem; line-height: 1.6; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.hero-facts-kino p { margin: 5px 0; }
.gold-text-kino { color: var(--gold-kino); font-weight: 700; }
.hero-discount { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 !important; padding: 6px 16px 6px 6px; border: 1px solid rgba(212,175,55,0.6); border-radius: 100px; background: rgba(0,0,0,0.35); backdrop-filter: blur(4px); font-size: 1rem; }
.hero-discount strong { color: var(--gold-kino); }
.hero-discount-tag { padding: 3px 10px; border-radius: 100px; background: var(--gold-kino); color: #423120; font-weight: 800; font-size: 0.9rem; }
@media (max-width: 768px) { .hero-discount { font-size: 0.88rem; padding-right: 12px; text-align: left; } }
.hero-btns-kino { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 60px; }
.btn-kino-final { background-color: #D6B04E !important; color: #423120 !important; padding: 22px 50px; border-radius: 100px; font-size: 1.1rem; font-weight: 800 !important; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 5px 20px rgba(0,0,0,0.3); border: none; display: inline-block; }
.btn-kino-final:hover { background-color: #F0D06E !important; transform: translateY(-3px); box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 50px rgba(255, 255, 255, 0.3) !important; }
.btn-hero-outline { display: inline-block; text-decoration: none; text-align: center; background: rgba(0,0,0,0.25); color: #FFF; padding: 20px 48px; border-radius: 100px; font-size: 1.1rem; font-weight: 800; font-family: inherit; border: 2px solid rgba(255,255,255,0.85); cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(4px); }
.btn-hero-outline:hover { background: #FFF; color: #423120; transform: translateY(-3px); }
.hero-stock { margin: -35px 0 50px 0; font-size: 0.95rem; color: rgba(255,255,255,0.85); text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.hero-stock strong { color: var(--gold-kino); font-size: 1.1rem; }
.hero-stock-dot { color: var(--gold-kino); margin: 0 8px; }
.hero-review-kino { max-width: 600px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 30px; }
.review-text-kino { font-style: italic; color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.5; margin-bottom: 10px; }
.review-author-kino { color: var(--gold-kino); font-weight: 600; font-size: 0.9rem; }
@keyframes zoomKino { 0% { transform: scale(1.0); } 100% { transform: scale(1.1); } }

.mobile-break { display: none; }

@media (max-width: 768px) {
    .hero-title-kino { font-size: 2.2rem; }
    .hero-btns-kino { flex-direction: column; width: 100%; }
    .btn-kino-final, .btn-hero-outline { width: 100%; text-align: center; padding: 18px 20px; }
    .hero-stock { margin: -45px 0 40px 0; font-size: 0.85rem; }
    .nowrap-line { white-space: normal; }
    .mobile-break { display: block; }
}


/* ==========================================================================
   БЛОК 2: МЕЧТЫ + ГАЛЕРЕЯ
   ========================================================================== */
.dreams-dark-pine { background-color: var(--pine-graphite); padding: 100px 20px; font-family: 'Manrope', sans-serif; color: var(--text-white); }
.dreams-container { max-width: 1100px; margin: 0 auto; }
.dreams-header { text-align: left; margin-bottom: 60px; border-left: 3px solid var(--gold-kino); padding-left: 30px; }
.dreams-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.1; margin: 0 0 20px 0; }
.dreams-italic { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold-kino); }
.dreams-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 700px; line-height: 1.6; }
.dreams-subtitle strong { color: #FFF; font-weight: 600; }

.dreams-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.dream-card { position: relative; height: 450px; border-radius: 2px; overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); transition: all 0.4s ease; }
.dream-card:hover { border-color: var(--gold-kino); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.dream-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dream-card:hover .dream-img { transform: scale(1.05); }
.dream-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 28%, rgba(0,0,0,0) 50%); }
.dream-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; }
.dream-name { font-size: 1.5rem; margin: 0 0 10px 0; color: #FFF; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.dream-desc { font-size: 0.95rem; margin: 0; color: rgba(255,255,255,0.9); line-height: 1.5; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }

/* Галерея. Классы переименованы (.modal-content → .gallery-img, .close-btn → .gallery-close):
   на Tilda их перебивали одноимённые стили окна политики из блока 14. */
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.95); backdrop-filter: blur(5px); user-select: none; }
.gallery-img { margin: auto; display: block; width: auto; max-width: 90%; max-height: 85vh; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid var(--gold-kino); }
.prev-btn, .next-btn { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -50px; color: white; font-weight: bold; font-size: 40px; transition: 0.3s ease; border-radius: 0 3px 3px 0; user-select: none; -webkit-user-select: none; z-index: 10000; }
.next-btn { right: 0; border-radius: 3px 0 0 3px; }
.prev-btn { left: 0; border-radius: 3px 0 0 3px; }
.prev-btn:hover, .next-btn:hover { background-color: rgba(212, 175, 55, 0.2); color: var(--gold-kino); }
.gallery-close { position: absolute; top: 20px; right: 30px; color: #f1f1f1; font-size: 50px; font-weight: bold; cursor: pointer; z-index: 10001; }
.gallery-close:hover { color: var(--gold-kino); }

@media (max-width: 768px) {
    .dreams-header { padding-left: 20px; border-width: 2px; }
    .dream-card { height: 380px; }
    .prev-btn, .next-btn { display: none; }
    .gallery-img { width: 100%; max-width: 100%; border: none; }
}


/* ==========================================================================
   БЛОК 3: ЛОГИСТИКА
   ========================================================================== */
.logistics-dark-premium { background-color: var(--pine-graphite); padding: 100px 20px; font-family: 'Manrope', sans-serif; color: var(--text-white); overflow: hidden; }
.log-container { max-width: 1100px; margin: 0 auto; }

.log-header { margin-bottom: 60px; text-align: left; border-left: 3px solid var(--gold-kino); padding-left: 30px; }
.log-title { font-weight: 400; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; color: #FFF; margin: 0 0 20px 0; }
.log-subtitle-lead { font-weight: 400; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.6; color: rgba(255,255,255,0.9); margin: 0; }

.log-grid-equal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 80px; }

.log-card { position: relative; background-color: var(--card-bg); border-radius: 12px; border: 1px solid rgba(255,255,255,0.15); transition: all 0.4s ease; height: 100%; min-height: 320px; display: flex; flex-direction: column; overflow: hidden; }
.card-content { padding: 25px; flex-grow: 1; position: relative; z-index: 2; }

.glow-effect { position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(0,0,0,0) 70%); border-radius: 50%; opacity: 0; transform: translate(-50%, -50%); transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease; pointer-events: none; z-index: 1; }
.log-card:hover { transform: translateY(-5px); border-color: rgba(212, 175, 55, 0.5); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.log-card:hover .glow-effect { width: 350px; height: 350px; opacity: 1; }

.log-item-title { font-weight: 600; font-size: 1.3rem; color: #FFF; margin: 0 0 15px 0; }
.log-separator { width: 100%; height: 1px; background: rgba(255,255,255,0.2); margin-bottom: 20px; }
.log-text { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.85); margin: 0; }
.log-label { font-weight: 700; color: var(--gold-kino); }

.log-visual-wrapper { width: 100%; }
.log-scroll-container { display: grid; grid-template-columns: 1fr 1fr 225px; gap: 20px; }
.log-video-box { background: #000; }
.log-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.log-video-box .season-badge { pointer-events: none; }
.log-img-box { position: relative; width: 100%; height: 400px; border-radius: 2px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.log-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.log-img-box:hover .log-img { transform: scale(1.05); }
.season-badge { position: absolute; top: 20px; left: 20px; background: rgba(0,0,0,0.7); color: #FFF; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.3); font-size: 0.85rem; backdrop-filter: blur(5px); z-index: 3; }
.winter-badge { color: var(--gold-kino); border-color: var(--gold-kino); }

@media (max-width: 1024px) {
    .log-grid-equal { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .log-header { padding-left: 20px; border-width: 2px; }
    .log-grid-equal { grid-template-columns: 1fr; gap: 20px; }
    .log-scroll-container { grid-template-columns: 1fr; }
    .log-img-box { height: 300px; }
    .log-video-box { height: auto; aspect-ratio: 9 / 16; max-height: 80vh; }
    .log-text { font-size: 1.1rem; color: #FFF; }
    .log-card { min-height: auto; }
}


/* ==========================================================================
   БЛОК 4: ТРИ ОСНОВЫ
   ========================================================================== */
.foundations-fixed-v2 { background-color: var(--bg-dark); padding: 100px 20px; font-family: 'Manrope', sans-serif; color: var(--text-white); }
.found-container { max-width: 1200px; margin: 0 auto; }

.found-header { margin-bottom: 60px; }
.found-title { font-family: 'Manrope', sans-serif; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 400; line-height: 1.1; color: #FFF; margin: 0; }

.found-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.found-item { display: flex; flex-direction: column; align-items: flex-start; }

.icon-svg-box { width: 64px; height: 64px; margin-bottom: 25px; display: flex; align-items: center; justify-content: flex-start; }
.icon-svg-box svg { width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4)); }

.found-head { font-family: 'Manrope', sans-serif; font-size: 1.6rem; color: #FFF; margin: 0 0 20px 0; font-weight: 600; }
.found-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.15); margin-bottom: 20px; }
.found-desc { font-family: 'Manrope', sans-serif; font-size: 1rem; line-height: 1.6; color: var(--text-grey); margin: 0; }
.found-gold { color: var(--gold); font-weight: 700; }

@media (max-width: 900px) {
    .found-grid { grid-template-columns: 1fr; gap: 50px; }
}


/* ==========================================================================
   БЛОК 5: НАПРАВЛЕНИЯ + STORY-МОДАЛКА
   ========================================================================== */
.directions-exact-font { background-color: var(--pine-graphite); padding: 100px 20px; font-family: 'Manrope', sans-serif; color: var(--text-white); }
.dir-container { max-width: 1200px; margin: 0 auto; }
.hidden-full-text { display: none; }

.dir-header { margin-bottom: 60px; }
.dir-title { font-family: 'Manrope', sans-serif; font-weight: 400; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; color: #FFF; margin: 0; }

.dir-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; height: 600px; }
.dir-col-right { display: grid; grid-template-rows: 1fr 1fr; gap: 30px; }

.dir-card { position: relative; border-radius: 20px; background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,0.15); cursor: pointer; overflow: hidden; }
.dir-card .card-content-bottom { position: absolute; bottom: 0; left: 0; padding: 30px; z-index: 2; }
.card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%); }

.dir-number { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--gold-kino); font-weight: 700; margin-bottom: 5px; }
.dir-card-title { font-family: 'Manrope', sans-serif; font-size: 1.6rem; font-weight: 600; color: #FFF; margin: 0 0 10px 0; text-transform: uppercase; }
.dir-text { font-family: 'Manrope', sans-serif; font-size: 1rem; color: rgba(255,255,255,0.9); margin: 0; font-weight: 400; line-height: 1.5; }

.story-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 9999; opacity: 0; visibility: hidden; transition: 0.3s ease; display: flex; align-items: center; justify-content: center; }
.story-overlay.active { opacity: 1; visibility: visible; }
.story-wrapper { width: 100%; height: 100%; display: flex; position: relative; background: var(--pine-graphite); }
.story-close { position: absolute; top: 30px; right: 30px; font-size: 40px; color: #fff; cursor: pointer; z-index: 100; }

@media (min-width: 901px) {
    .story-wrapper { width: 90vw; height: 90vh; max-width: 1600px; margin: auto; border-radius: 20px; overflow: hidden; }
    .story-image-side { width: 65%; height: 100%; background-size: cover; background-position: center; }
    .story-text-side { width: 35%; height: 100%; padding: 60px; display: flex; align-items: center; background: #1a2220; }
    .story-num { font-size: 4rem; }
    .story-title { font-size: 2.5rem; margin-bottom: 20px; }
    .story-desc { font-size: 1.1rem; line-height: 1.6; }
    .story-divider { width: 60px; height: 3px; background: var(--gold-kino); margin-bottom: 30px; }
}

@media (max-width: 900px) {
    .dir-grid { grid-template-columns: 1fr; height: auto; }
    .dir-col-right { grid-template-rows: auto; }
    .dir-card { height: 350px; }
    .story-wrapper { width: 100vw; height: 100vh; display: block; }
    .story-image-side { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background-size: cover; background-position: center; }
    .story-text-side { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0) 100%); padding: 100px 30px 60px 30px; }
    .story-num { font-size: 2.5rem; color: var(--gold-kino); }
    .story-title { font-size: 2rem; margin-bottom: 15px; }
    .story-divider { display: none; }
}


/* ==========================================================================
   БЛОК 6: ВЫГОДЫ
   ========================================================================== */
.benefits-typo { background-color: var(--bg-dark); padding: 120px 20px; font-family: 'Manrope', sans-serif; color: var(--text-white); }
.ben-container { max-width: 1000px; margin: 0 auto; }

.ben-header { margin-bottom: 80px; text-align: left; }
.ben-title { font-family: 'Manrope', sans-serif; font-weight: 400; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; color: #FFF; margin: 0; }

.ben-list { display: flex; flex-direction: column; }
.ben-row { display: grid; grid-template-columns: 80px 1fr; gap: 40px; align-items: center; padding: 40px 0; transition: transform 0.3s ease; }
.ben-row:hover { transform: translateX(10px); }

.ben-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); opacity: 0.5; }
.ben-content { display: grid; grid-template-columns: 1fr 50px 1.5fr; align-items: center; gap: 30px; }
.ben-bad { font-size: 1.1rem; color: var(--grey); text-align: right; font-weight: 300; }
.ben-arrow { color: var(--gold); font-size: 1.5rem; text-align: center; font-weight: 300; }
.ben-good { font-size: 1.5rem; color: #FFF; font-weight: 500; line-height: 1.3; }

.ben-divider { width: 100%; height: 1px; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 20%, rgba(255,255,255,0.1) 80%, rgba(255,255,255,0) 100%); }

@media (max-width: 768px) {
    .ben-row { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
    .ben-num { margin-bottom: 10px; font-size: 1.5rem; }
    .ben-content { grid-template-columns: 1fr; gap: 15px; text-align: left; }
    .ben-bad { text-align: left; font-size: 1rem; }
    .ben-arrow { transform: rotate(90deg); width: 20px; text-align: left; margin: 0; }
    .ben-good { font-size: 1.3rem; }
}


/* ==========================================================================
   БЛОК 7: ЧЕСТНАЯ ЦЕНА
   ========================================================================== */
.fair-price-text { background-color: var(--bg-dark); padding: 120px 20px; font-family: 'Manrope', sans-serif; color: var(--text-white); border-top: 1px solid rgba(255,255,255,0.05); }
.fp-container { max-width: 1100px; margin: 0 auto; }
.fp-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }

.fp-badge { display: inline-block; border: 1px solid var(--gold); color: var(--gold); padding: 8px 16px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 30px; font-family: 'Manrope', sans-serif; font-weight: 700; }
.fp-title { font-family: 'Manrope', sans-serif; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 400; line-height: 1.3; color: #FFF; margin: 0 0 40px 0; }
.fp-line { width: 60px; height: 3px; background-color: var(--gold); opacity: 0.5; }

.fp-paragraph { font-family: 'Manrope', sans-serif; font-size: 1.1rem; line-height: 1.7; color: var(--grey); margin-bottom: 30px; }
.text-white { color: #FFF; font-weight: 700; }

.fp-highlight-box { border-left: 2px solid var(--gold); padding-left: 30px; margin-top: 40px; }
.fp-paragraph-final { font-family: 'Playfair Display', serif; font-size: 1.2rem; line-height: 1.6; color: #FFF; margin: 0; font-style: italic; }

@media (max-width: 900px) {
    .fp-layout { grid-template-columns: 1fr; gap: 40px; }
    .fp-title { font-size: 2rem; margin-bottom: 20px; }
    .fp-line { margin-bottom: 20px; }
    .fp-highlight-box { margin-top: 20px; }
}


/* ==========================================================================
   БЛОК 8: АНАЛИЗ РЫНКА
   ========================================================================== */
.market-analysis-dark { background-color: var(--bg-pine); padding: 100px 20px; font-family: 'Manrope', sans-serif; color: var(--white); }
.ma-container { max-width: 1100px; margin: 0 auto; }

.ma-header { text-align: center; margin-bottom: 50px; }
.ma-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.1; margin: 0 0 20px 0; }
.ma-subtitle { color: var(--grey-text); font-size: 1.1rem; line-height: 1.5; max-width: 800px; margin: 0 auto; }

.ma-grid-wrapper { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.02); border: 1px solid var(--border-dim); }

.ma-row-head { display: grid; grid-template-columns: 1.5fr 1.3fr 2fr; padding: 20px 30px; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--border-dim); }
.ma-col-head { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }

.ma-row { display: grid; grid-template-columns: 1.5fr 1.3fr 2fr; padding: 30px; border-bottom: 1px solid var(--border-dim); align-items: center; transition: background 0.3s; }
.ma-row:hover { background: rgba(255,255,255,0.03); }
.ma-row:last-child { border-bottom: none; }

.ma-col-loc { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; }
.ma-dir-badge { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 8px; border: 1px solid rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 4px; }
.ma-loc-name { font-size: 1.2rem; font-weight: 600; color: #FFF; }

.ma-col-price { display: flex; flex-direction: column; justify-content: center; }
.ma-price-val { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #FFF; font-weight: 400; }

.ma-col-desc { font-size: 0.95rem; color: var(--grey-text); line-height: 1.5; }

.ma-row-winner { background: radial-gradient(circle at left, rgba(255, 215, 0, 0.08) 0%, rgba(0,0,0,0) 80%); border: 1px solid rgba(255, 215, 0, 0.4); position: relative; margin: -1px -1px -1px -1px; z-index: 2; border-radius: 8px; }
.ma-winner-badge { position: absolute; top: -12px; left: 30px; background: var(--gold); color: #121916; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; }

.ma-dir-gold { color: var(--gold); border-color: var(--gold); }
.ma-loc-name-gold { font-size: 1.4rem; font-weight: 700; color: #FFF; }
.ma-price-gold { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.ma-price-sub { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 5px; }
.ma-desc-gold { color: #FFF; font-size: 1rem; }
.ma-desc-gold strong { color: var(--gold); font-weight: 600; }

.ma-label-mobile { display: none; }
.ma-footer-note { margin-top: 30px; text-align: center; color: rgba(255,255,255,0.3); font-size: 0.8rem; }

@media (max-width: 850px) {
    .ma-row-head { display: none; }
    .ma-row { grid-template-columns: 1fr; gap: 20px; padding: 30px 20px; text-align: left; }
    .ma-col-loc { align-items: flex-start; }
    .ma-winner-badge { left: 20px; transform: none; top: -12px; }
    .ma-col-price { flex-direction: row; align-items: baseline; gap: 10px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; margin-top: 0; }
    .ma-label-mobile { display: block; font-size: 0.9rem; color: #666; min-width: 60px; }
    .ma-price-val { font-size: 1.3rem; }
    .ma-col-desc { font-size: 0.95rem; }
    .ma-row-winner .ma-col-price { flex-direction: column; align-items: flex-start; gap: 0; }
    .ma-price-gold { font-size: 2rem; }
}


/* ==========================================================================
   БЛОК 9: РЕЕСТР УЧАСТКОВ
   ========================================================================== */
.catalog-section { background: var(--bg-dark); padding: 60px 0; color: var(--white); font-family: 'Manrope', sans-serif; overflow-x: hidden; }
.catalog-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.catalog-header { text-align: center; margin-bottom: 40px; }
.catalog-title { font-size: 2.5rem; margin-bottom: 10px; line-height: 1.1; }
.catalog-subtitle { color: #888; font-size: 0.95rem; }

.catalog-controls { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; justify-content: space-between; align-items: center; }
.search-wrapper { position: relative; flex-grow: 1; max-width: 400px; }
#searchInput { width: 100%; padding: 12px 15px 12px 40px; background: rgba(255,255,255,0.05); border: 1px solid #444; color: #FFF; border-radius: 30px; font-size: 1rem; font-family: inherit; }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); opacity: 0.5; }

.filter-group { display: flex; gap: 10px; }
.filter-btn { background: transparent; border: 1px solid #444; color: #CCC; padding: 10px 25px; border-radius: 30px; cursor: pointer; transition: 0.3s; font-size: 0.9rem; font-family: inherit; }
.filter-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(255,215,0,0.1); }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin-bottom: 40px; }
.no-results { grid-column: 1/-1; text-align: center; padding: 40px; color: #666; font-size: 1.2rem; }

.catalog-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 25px; border-radius: 8px; transition: 0.2s; display: flex; flex-direction: column; }
.catalog-card:hover { border-color: var(--gold); transform: translateY(-5px); background: rgba(255,255,255,0.05); }
.catalog-card.sold { opacity: 0.5; pointer-events: none; border-color: #333; }

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.card-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--gold); line-height: 1; }
.card-status-badge { font-size: 0.7rem; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--gold); color: var(--gold); border-radius: 4px; letter-spacing: 1px; }
.sold-badge { border-color: #666; color: #888; }

.info-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 1rem; }
.label { color: #888; }
.val { font-weight: 600; }
.val.gold { color: var(--gold); font-size: 1.1rem; }

.card-links { display: flex; gap: 18px; margin-top: 15px; }
.map-link { font-size: 0.85rem; color: #666; text-decoration: none; border: none; border-bottom: 1px dotted #666; background: none; padding: 0; cursor: pointer; font-family: inherit; transition: 0.2s; }
.map-link:hover { color: var(--gold); border-color: var(--gold); }


.card-btn { margin-top: 25px; width: 100%; padding: 15px; background: var(--gold); border: none; font-weight: 700; text-transform: uppercase; cursor: pointer; border-radius: 4px; letter-spacing: 1px; transition: 0.2s; font-family: inherit; }
.card-btn:hover { background: #FFF; box-shadow: 0 5px 15px rgba(255,215,0,0.3); }
.card-btn.disabled { background: #333; color: #666; cursor: default; box-shadow: none; }

.load-more-btn { background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 12px 40px; border-radius: 30px; cursor: pointer; font-size: 1rem; transition: 0.3s; margin-top: 20px; font-family: inherit; }
.load-more-btn:hover { background: var(--gold); color: #000; }

@media (max-width: 768px) {
    .catalog-controls { flex-direction: column; gap: 15px; }
    .search-wrapper { max-width: 100%; width: 100%; }
    .filter-group { width: 100%; overflow-x: auto; padding-bottom: 5px; }
    .filter-btn { white-space: nowrap; }
}


/* ==========================================================================
   БЛОК 10: СРАВНЕНИЕ (VS)
   ========================================================================== */
.vs-section-final { background-color: var(--bg-pine); padding: 100px 20px; font-family: 'Manrope', sans-serif; color: var(--white); }
.vs-container { max-width: 1100px; margin: 0 auto; }
.vs-header { text-align: center; margin-bottom: 60px; }
.vs-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.1; margin: 0; }

.vs-grid { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; align-items: stretch; position: relative; }

.vs-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; }
.vs-city { border-right: none; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.vs-house { border-left: none; border-top-left-radius: 0; border-bottom-left-radius: 0; border-color: rgba(212, 175, 55, 0.4); }

.vs-img-box { height: 300px; position: relative; background-size: cover; background-position: center; }
.house-air { background-size: cover; background-position: center 60%; }
.vs-overlay-grey { position: absolute; inset: 0; background: rgba(0,0,0,0.08); }
.vs-overlay-gold-air { display: none; }

.vs-content { padding: 40px; flex-grow: 1; display: flex; flex-direction: column; }
.vs-card-title { font-size: 1.5rem; margin-bottom: 25px; text-align: center; font-weight: 600; color: #FFF; }

.vs-list { list-style: none; padding: 0; margin: 0; }
.vs-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-size: 1rem; color: #DDD; font-weight: 300; }
.cross { color: #555; font-size: 1.5rem; line-height: 1; }
.check-icon { width: 20px; height: 20px; flex-shrink: 0; }

.vs-circle-wrapper { display: flex; align-items: center; justify-content: center; position: relative; z-index: 10; }
.vs-circle { width: 60px; height: 60px; background: #000; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; color: var(--gold); font-size: 1.2rem; margin: 0 -30px; }


/* ==========================================================================
   БЛОК 11: ЭТАПЫ (TIMELINE)
   ========================================================================== */
.timeline-premium { background-color: var(--bg-pine); padding: 100px 20px; font-family: 'Manrope', sans-serif; color: var(--white); overflow: hidden; }
.tl-container { max-width: 1000px; margin: 0 auto; }
.tl-container { max-width: 1200px; }
.tl-header { text-align: center; margin-bottom: 50px; }

/* Компактно: 5 шагов в один ряд, на телефоне — короткий список */
.timeline-wrapper { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tl-line { position: absolute; left: 10%; right: 10%; top: 44px; height: 1px; background: rgba(255,215,0,0.25); }

.tl-item { position: relative; }
.tl-content { height: 100%; position: relative; padding: 24px 20px; background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-dim); text-align: left; }

.tl-bg-number { position: absolute; top: 14px; right: 16px; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--gold); opacity: 0.55; pointer-events: none; }

.tl-header-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 12px; position: relative; z-index: 1; }
.tl-icon-box { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,215,0,0.4); border-radius: 50%; background: var(--card-bg); }
.tl-icon-box svg { width: 22px; height: 22px; }
.tl-step-name { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 1.1rem; margin: 0; color: #FFF; }
.tl-desc { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: 0.92rem; color: #B0B0B0; line-height: 1.5; margin: 0; position: relative; z-index: 1; }
.tl-desc strong { color: #FFF; font-weight: 600; }

@media (max-width: 1024px) and (min-width: 901px) {
    .timeline-wrapper { grid-template-columns: repeat(3, 1fr); }
    .tl-line { display: none; }
}

/* Адаптив блоков 10 и 11 */
@media (max-width: 900px) {
    .vs-grid { grid-template-columns: 1fr; gap: 40px; }
    .vs-img-box { display: block !important; height: 200px; }
    .vs-circle-wrapper { height: 40px; margin: -40px 0; z-index: 20; }
    .vs-circle { margin: 0; width: 60px; height: 60px; background: #000; border: 2px solid var(--gold); color: transparent; font-size: 0; transform: none !important; box-shadow: 0 0 15px rgba(0,0,0,0.8); position: relative; }
    .vs-circle::after { content: 'ИЛИ'; color: var(--gold); font-size: 1rem; font-family: 'Manrope', sans-serif; font-weight: 700; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

    .tl-header { margin-bottom: 35px; }
    .timeline-wrapper { grid-template-columns: 1fr; gap: 10px; }
    .tl-line { display: none; }
    .tl-content { padding: 18px 18px 18px 64px; }
    .tl-bg-number { top: 18px; left: 18px; right: auto; font-size: 1.5rem; opacity: 0.9; }
    .tl-icon-box { display: none; }
    .tl-header-row { margin-bottom: 6px; }
}


/* ==========================================================================
   БЛОК 12: FAQ
   ========================================================================== */
.faq-premium { background-color: var(--bg-pine); padding: 100px 20px; font-family: 'Manrope', sans-serif; color: var(--white); }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 60px; }

.faq-wrapper { border-top: 1px solid var(--border-dim); }
.faq-item { border-bottom: 1px solid var(--border-dim); }

.faq-question { padding: 30px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.3s; }
.faq-question:hover .faq-q-text { color: var(--gold); }

.faq-q-text { font-size: 1.3rem; font-weight: 500; color: #FFF; transition: 0.3s; font-family: 'Manrope', sans-serif; }
.faq-icon { font-size: 2rem; color: var(--gold); font-weight: 300; margin-left: 20px; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { margin: 0 0 30px 0; font-size: 1rem; color: #BBB; line-height: 1.7; font-weight: 300; max-width: 90%; }
.faq-answer strong { color: #FFF; font-weight: 600; }


/* ==========================================================================
   БЛОК 13: ОТЗЫВЫ
   ========================================================================== */
.reviews-premium { background-color: var(--bg-pine); padding: 100px 20px; font-family: 'Manrope', sans-serif; }
.rev-container { max-width: 1100px; margin: 0 auto; }
.rev-header { text-align: center; margin-bottom: 60px; }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.rev-card { background: var(--card-dark); border: 1px solid var(--border-dim); padding: 40px; border-radius: 12px; position: relative; transition: 0.3s; display: flex; flex-direction: column; }
.rev-card:hover { border-color: rgba(212, 175, 55, 0.3); transform: translateY(-5px); }

.rev-quote-icon { font-family: 'Playfair Display', serif; font-size: 4rem; color: var(--gold); opacity: 0.2; line-height: 1; margin-bottom: -20px; }
.rev-text { font-size: 1.1rem; color: #DDD; line-height: 1.6; font-style: italic; font-family: 'Manrope', sans-serif; font-weight: 300; margin-bottom: 30px; flex-grow: 1; }

.rev-author-simple { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }
.rev-name-gold { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold); font-size: 1.1rem; margin-bottom: 5px; }
.rev-status-simple { font-size: 0.85rem; color: #888; }

@media (max-width: 768px) {
    .faq-q-text { font-size: 1.1rem; }
    .rev-grid { grid-template-columns: 1fr; }
    .rev-card { padding: 30px; }
}


/* ==========================================================================
   БЛОК 14: ФИНАЛЬНЫЙ CTA + ФОРМА
   ========================================================================== */
.final-cta-section { position: relative; padding: 100px 20px; font-family: 'Manrope', sans-serif; color: #FFFFFF !important; background-color: #2b3a35; }
.cta-bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; background-color: #2b3a35; }
.cta-overlay { position: absolute; inset: 0; background: rgba(14, 19, 17, 0.75); z-index: 1; }
.cta-container { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; text-align: center; }

.cta-title { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 30px; font-weight: 400; color: #FFFFFF !important; text-shadow: 0 2px 15px rgba(0,0,0,0.9); display: flex; flex-direction: column; gap: 15px; }
.cta-top-text { display: block; transform: translateY(-10px); }
.cta-subtitle { font-size: 1.2rem; color: #EEE !important; margin-bottom: 40px; line-height: 1.6; font-weight: 300; text-shadow: 0 2px 8px rgba(0,0,0,0.9); }

.cta-form { background: rgba(30, 40, 35, 0.85); padding: 40px; border-radius: 20px; border: 1px solid rgba(255,215,0,0.3); backdrop-filter: blur(10px); margin: 0 auto; width: 100%; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; width: 100%; }
.form-plot { margin: 0 0 20px 0; color: var(--gold); font-weight: 600; }

.cta-input { width: 100%; padding: 20px; background: #FFF; border: 1px solid #CCC; border-radius: 8px; color: #000; font-size: 1rem; font-family: 'Manrope', sans-serif; transition: 0.3s; }
.cta-input:focus { border-color: var(--gold); outline: none; }

.cta-btn { width: 100%; max-width: 100%; padding: 22px; background: var(--gold); border: none; border-radius: 8px; color: #121916; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: 'Manrope', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.cta-btn:hover { background: #E6C200; transform: translateY(-2px); }

.form-privacy { margin-top: 15px; font-size: 0.8rem; color: #CCC; }


/* ==========================================================================
   БЛОК 15: ПОДВАЛ + ОКНО ПОЛИТИКИ
   ========================================================================== */
.footer-private { background-color: #0B0F0E; padding: 60px 20px 40px; border-top: 1px solid rgba(255,255,255,0.05); font-family: 'Manrope', sans-serif; color: var(--white); }
.footer-container { max-width: 1100px; margin: 0 auto; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-project-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; letter-spacing: 1px; color: var(--gold); margin-bottom: 10px; text-transform: uppercase; }
.footer-desc { font-size: 0.9rem; color: #888; line-height: 1.5; }
.footer-right { text-align: right; }
.footer-phone { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: #FFF; text-decoration: none; margin-bottom: 10px; }
.footer-messengers { font-size: 0.95rem; color: #888; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.msg-link { color: #FFF; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); transition: 0.3s; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 30px; font-size: 0.85rem; color: #555; gap: 30px; }
.privacy-link-footer { color: #997a5b; cursor: pointer; }
.copyright-block { text-align: right; }
/* Подпись автора сайта — самая нижняя строка, неброская */
.footer-credit { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.04); text-align: center; font-size: 0.8rem; color: #666; }
.footer-credit a { color: #997a5b; text-decoration: none; border-bottom: 1px solid rgba(153,122,91,0.35); }
.footer-credit a:hover { color: var(--gold); border-color: var(--gold); }

.modal-overlay { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px); justify-content: center; align-items: center; }
.modal-content { background-color: #1A2220; border: 1px solid rgba(255,215,0,0.3); width: 90%; max-width: 800px; max-height: 80vh; overflow-y: auto; border-radius: 12px; padding: 40px; position: relative; color: #DDD; }
.close-btn { position: absolute; top: 15px; right: 20px; color: #FFF; font-size: 30px; cursor: pointer; }
.modal-body h3 { color: #FFF; font-size: 1.6rem; font-weight: 600; margin: 0 0 5px 0; padding-right: 30px; }
.modal-body h4 { color: var(--gold); font-size: 1.05rem; font-weight: 600; margin: 28px 0 10px 0; }
.modal-body p { margin: 0 0 10px 0; line-height: 1.6; font-size: 0.95rem; }
.modal-body a { color: var(--gold); }
.policy-date { color: #888; font-size: 0.85rem !important; }

@media (max-width: 768px) {
    .final-cta-section { padding: 50px 20px; }
    .cta-title { font-size: 2rem; gap: 5px; margin-bottom: 20px; }
    .cta-top-text { transform: none; }
    .cta-subtitle { font-size: 1rem; margin-bottom: 25px; }
    .pc-br { display: none; }
    .cta-form { padding: 30px 20px; width: 100%; max-width: 400px; margin: 0 auto; }
    .form-row { flex-direction: column; gap: 15px; margin-bottom: 15px; width: 100%; }
    .cta-input, .cta-btn { width: 100%; height: 60px; padding: 0 20px; font-size: 16px; }
    .cta-btn { display: flex; align-items: center; justify-content: center; }
    .cta-input { background: #FFFFFF; color: #000; }
    .form-privacy { margin-top: 10px; font-size: 0.75rem; text-align: center; }
    .footer-content { flex-direction: column; text-align: center; gap: 30px; }
    .footer-right { text-align: center; }
    .footer-messengers { justify-content: center; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}


/* ==========================================================================
   ОКНО «СВЯЗАТЬСЯ» + ПЛАВАЮЩАЯ КНОПКА
   ========================================================================== */
.contact-overlay { position: fixed; inset: 0; z-index: 10050; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: 0.25s ease; }
.contact-overlay.active { opacity: 1; visibility: visible; }
.contact-sheet { position: relative; width: 100%; max-width: 420px; background: var(--card-dark); border: 1px solid rgba(255,215,0,0.3); border-radius: 16px; padding: 36px 28px 28px; font-family: 'Manrope', sans-serif; text-align: center; transform: translateY(20px); transition: transform 0.25s ease; }
.contact-overlay.active .contact-sheet { transform: none; }
.contact-close { position: absolute; top: 10px; right: 18px; font-size: 30px; color: #FFF; cursor: pointer; }
.contact-title { margin: 0 0 6px 0; font-size: 1.5rem; color: #FFF; font-weight: 600; }
.contact-sub { margin: 0 0 24px 0; color: #999; font-size: 0.9rem; }
.contact-opt { display: block; padding: 18px; margin-bottom: 12px; border-radius: 10px; font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: transform 0.2s ease, filter 0.2s ease; }
.contact-opt:hover { transform: translateY(-2px); filter: brightness(1.1); }
.contact-wa { background: #25D366; color: #0B2E17; }
.contact-tg { background: #2AABEE; color: #FFF; }
.contact-call { background: transparent; color: var(--gold); border: 1px solid var(--gold); margin-bottom: 0; }

.float-contact { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 9000; display: flex; align-items: center; gap: 10px; padding: 14px 22px; border: none; border-radius: 100px; background: var(--gold); color: #121916; font: 700 1rem 'Manrope', sans-serif; cursor: pointer; box-shadow: 0 8px 25px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transform: translateY(20px); transition: 0.3s ease; }
.float-contact.visible { opacity: 1; visibility: visible; transform: none; }
.float-contact:hover { background: #FFF; }
.float-contact svg { width: 22px; height: 22px; }

@media (max-width: 768px) {
    .float-contact { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 14px 18px; }
}
/* ==========================================================================
   ОБЩЕЕ ДЛЯ НОВЫХ ЭЛЕМЕНТОВ
   ========================================================================== */
:root {
    --green: #2F5D3A;
    --green-hover: #264B2F;
    --milk: #FAF8F3;
    --ink: #1E140A;
    --ink-soft: #4A4F47;
}

/* Призыв к действию в середине страницы */
.mid-cta { text-align: center; margin-top: 60px; }
.mid-cta-note { margin: 14px 0 0 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); }


/* ==========================================================================
   БЕЖЕВЫЕ БЛОКИ (палитра из «палитра шрифты земля.docx»)
   Тёмные и бежевые блоки чередуются. Карточки внутри — светлее фона, но не белые.
   ========================================================================== */
:root {
    --sand: #E9DCC4;
    --sand-card: #F2E8D6;
    --sand-line: rgba(47, 93, 58, 0.18);
}

section.theme-beige { background-color: var(--sand); color: var(--ink); border-top: none; }
.theme-beige .gold-italic { color: var(--green); text-shadow: none; }
.theme-beige .section-title { color: var(--ink); }
.theme-beige .gold-text { color: var(--green); }
.theme-beige .mid-cta-note { color: var(--ink-soft); }

/* Кнопки для бежевых блоков */
.btn-green, .btn-green-outline { display: inline-block; padding: 18px 40px; border-radius: 100px; font: 800 1.05rem 'Manrope', sans-serif; text-decoration: none; text-align: center; cursor: pointer; transition: all 0.3s ease; }
.btn-green { background: var(--green); color: var(--milk); border: 2px solid var(--green); }
.btn-green:hover { background: var(--green-hover); border-color: var(--green-hover); transform: translateY(-2px); }
.btn-green-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-green-outline:hover { background: var(--green); color: var(--milk); }

/* --- Логистика --- */
.theme-beige .log-header { border-left-color: var(--green); }
.theme-beige .log-title { color: var(--ink); }
.theme-beige .log-subtitle-lead { color: var(--ink-soft); }
.theme-beige .log-card { background: var(--sand-card); border-color: var(--sand-line); box-shadow: 0 10px 25px rgba(66,49,32,0.08); }
.theme-beige .log-card:hover { border-color: var(--green); box-shadow: 0 16px 40px rgba(47,93,58,0.15); }
.theme-beige .glow-effect { background: radial-gradient(circle, rgba(47,93,58,0.12) 0%, rgba(0,0,0,0) 70%); }
.theme-beige .log-item-title { color: var(--green); }
.theme-beige .log-separator { background: var(--sand-line); }
.theme-beige .log-text { color: var(--ink-soft); }
.theme-beige .log-label { color: var(--green); }
.theme-beige .log-img-box, .theme-beige .real-item { border-color: var(--sand-line); }

/* --- Реестр + схема --- */
section.catalog-section.theme-beige { padding: 100px 0; }
.theme-beige .catalog-title { color: var(--ink); font-weight: 400; font-size: clamp(2rem, 4vw, 3.5rem); }
.theme-beige .catalog-subtitle { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }
.theme-beige .plot-map-legend { color: var(--ink-soft); }
.theme-beige .plot-map-hint { color: var(--ink-soft); }
.theme-beige #searchInput { background: var(--sand-card); border-color: var(--sand-line); color: var(--ink); }
.theme-beige .filter-btn { border-color: var(--sand-line); color: var(--ink-soft); }
.theme-beige .filter-btn.active { border-color: var(--green); color: var(--green); background: rgba(47,93,58,0.08); }
.theme-beige .catalog-card { background: var(--sand-card); border-color: var(--sand-line); box-shadow: 0 8px 20px rgba(66,49,32,0.06); }
.theme-beige .catalog-card:hover { border-color: var(--green); background: var(--sand-card); }
.theme-beige .catalog-card.sold { opacity: 0.5; }
.theme-beige .card-header { border-bottom-color: var(--sand-line); }
.theme-beige .card-number { color: var(--green); }
.theme-beige .card-status-badge { border-color: var(--green); color: var(--green); }
.theme-beige .sold-badge { border-color: #A99C84; color: #8C806B; }
.theme-beige .label { color: #7A705F; }
.theme-beige .val { color: var(--ink); }
.theme-beige .val.gold { color: var(--green); }
.theme-beige .map-link { color: #7A705F; border-bottom-color: #A99C84; }
.theme-beige .map-link:hover { color: var(--green); border-color: var(--green); }
.theme-beige .card-btn { background: var(--green); color: var(--milk); }
.theme-beige .card-btn:hover { background: var(--green-hover); box-shadow: 0 6px 18px rgba(47,93,58,0.3); }
.theme-beige .card-btn.disabled { background: #DCCDB0; color: #8C806B; }
.theme-beige .load-more-btn { border-color: var(--green); color: var(--green); }
.theme-beige .load-more-btn:hover { background: var(--green); color: var(--milk); }
.theme-beige .no-results { color: #8C806B; }

/* Текстовая таблица свободных участков (собирается deploy/build-plots-table.ps1) */
.plots-table-box { margin-top: 40px; border: 1px solid var(--sand-line); border-radius: 12px; background: var(--sand-card); color: var(--ink); }
.plots-table-box summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--green); list-style-position: inside; }
.plots-table-box summary:hover { color: var(--green-hover); }
.plots-table-scroll { overflow-x: auto; padding: 0 20px 20px; }
.plots-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.plots-table caption { text-align: left; color: var(--ink-soft); padding: 4px 0 12px; line-height: 1.5; }
.plots-table th, .plots-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--sand-line); white-space: nowrap; }
.plots-table th { color: var(--ink-soft); font-weight: 600; }
.plots-table td:nth-child(4) { color: var(--green); font-weight: 600; }

/* --- Честная цена --- */
.theme-beige .fp-badge { border-color: var(--green); color: var(--green); }
.theme-beige .fp-title { color: var(--ink); }
.theme-beige .fp-line { background-color: var(--green); }
.theme-beige .fp-paragraph { color: var(--ink-soft); }
.theme-beige .text-white { color: var(--ink); }
.theme-beige .fp-highlight-box { border-left-color: var(--green); }
.theme-beige .fp-paragraph-final { color: var(--ink); }

/* --- Квартира vs земля --- */
.theme-beige .vs-title { color: var(--ink); }
.theme-beige .vs-card { background: var(--sand-card); border-color: var(--sand-line); box-shadow: 0 10px 25px rgba(66,49,32,0.08); }
.theme-beige .vs-house { border-color: rgba(47,93,58,0.4); }
.theme-beige .vs-card-title { color: var(--ink); }
.theme-beige .vs-card-title.gold-text { color: var(--green); }
.theme-beige .vs-list li { color: var(--ink-soft); font-weight: 400; }
.theme-beige .cross { color: #A99C84; }
.theme-beige .check-icon path { stroke: var(--green); }
.theme-beige .vs-circle { background: var(--green); border-color: var(--green); color: var(--milk); }
@media (max-width: 900px) { .theme-beige .vs-circle::after { color: var(--milk); } }

/* --- FAQ --- */
.theme-beige .faq-wrapper, .theme-beige .faq-item { border-color: var(--sand-line); }
.theme-beige .faq-q-text { color: var(--ink); }
.theme-beige .faq-question:hover .faq-q-text { color: var(--green); }
.theme-beige .faq-icon { color: var(--green); }
.theme-beige .faq-answer p { color: var(--ink-soft); font-weight: 400; }
.theme-beige .faq-answer strong { color: var(--ink); }


/* ==========================================================================
   БЛОК 3: РЕАЛЬНЫЕ ФОТО ВНУТРИ ЛОГИСТИКИ
   ========================================================================== */
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.real-item { position: relative; margin: 0; border-radius: 2px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; background: #000; border: 1px solid rgba(255,255,255,0.1); }
.real-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.real-item:hover img { transform: scale(1.05); }

@media (max-width: 900px) {
    .real-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .real-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   БЛОК 6: ИНТЕРАКТИВНАЯ СХЕМА УЧАСТКОВ
   ========================================================================== */
.plot-map-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0 0 18px 0; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.plot-map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.lg-free { background: #2F5D3A; }
.lg-sold { background: #BFB49B; }
.lg-other { background: #E6DDC8; border: 1px solid #C9BB9C; }
.lg-road { background: #F3ECDD; border: 1px solid #D2C4A6; }

.plot-map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; box-shadow: 0 25px 60px rgba(66,49,32,0.28); margin-bottom: 24px; }
.plot-map { position: relative; width: 100%; min-width: 760px; background: #DCD3B8; }
.genplan { display: block; width: 100%; height: auto; }
.gp-ground { fill: #F3ECDD; }
.gp-roads polygon { fill: #F3ECDD; stroke: #D2C4A6; stroke-width: 0.6; }
.gp-asphalt { pointer-events: none; }
.gp-asphalt polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gp-asphalt-road { stroke: #6B675F; stroke-width: 9; }
.gp-asphalt-mark { stroke: #F3ECDD; stroke-width: 0.8; stroke-dasharray: 6 5; }
.gp-lanes { pointer-events: none; }
.gp-lanes polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gp-lane-edge { stroke: #C4B48F; stroke-width: 8; }
.gp-lane { stroke: #FBF6EA; stroke-width: 5.6; }
.gp-streets { pointer-events: none; }
.gp-street { font: italic 600 9px 'Manrope', sans-serif; fill: #7A6A4F; paint-order: stroke; stroke: #F3ECDD; stroke-width: 2.5px; stroke-linejoin: round; letter-spacing: 0.3px; }
.gp-street-road { font-style: normal; font-weight: 700; fill: #4A463F; text-transform: uppercase; font-size: 8px; letter-spacing: 1px; stroke: #E4EBCF; }
.gp-others polygon { fill: #E2D6BC; stroke: #B3A27E; stroke-width: 0.9; }
.gp-trees { opacity: 0.85; pointer-events: none; }
.gp-plot { cursor: pointer; outline: none; }
.gp-plot .gp-top, .gp-plot .gp-side { transition: transform 0.2s ease, fill 0.2s ease; }
.gp-plot .gp-side { fill: #1D3B25; }
.gp-plot .gp-top { fill: url(#gpFree); stroke: #A9C9A0; stroke-width: 0.6; filter: url(#gpShadow); }
.gp-plot.sold .gp-side { fill: #8F846D; }
.gp-plot.sold .gp-top { fill: #BFB49B; stroke: #A79C83; }
.gp-label { font: 700 8.5px 'Manrope', sans-serif; fill: #FAF8F3; pointer-events: none; transition: transform 0.2s ease; }
.gp-plot.sold .gp-label { fill: #6B6250; font-weight: 600; }
.gp-plot:hover .gp-top, .gp-plot:focus .gp-top, .gp-plot:hover .gp-label, .gp-plot:focus .gp-label { transform: translateY(-1.6px); }
.gp-plot.free:hover .gp-top, .gp-plot.free:focus .gp-top { stroke: #F0D06E; stroke-width: 1.2; }
.gp-plot.big .gp-top { fill: url(#gpBig); stroke: #2F5D3A; stroke-width: 1.4; filter: none; }
.gp-plot.big .gp-label { font-size: 11px; fill: #1F4029; paint-order: stroke; stroke: #EEF3E4; stroke-width: 2.5px; }
.gp-plot.big .gp-label-ha { font-size: 9px; font-weight: 600; }
.gp-plot.big:hover .gp-top, .gp-plot.big:focus .gp-top { transform: none; stroke: #D4AF37; stroke-width: 2; }
.gp-plot.selected .gp-top { fill: #D4AF37; stroke: #FFF; stroke-width: 1.2; transform: translateY(-2px); }
.gp-plot.selected .gp-side { fill: #8A6E17; }
.gp-plot.selected .gp-label { fill: #1E140A; transform: translateY(-2px); }
.gp-north circle { fill: rgba(250,248,243,0.9); stroke: #2F5D3A; stroke-width: 1; }
.gp-north path { fill: #2F5D3A; }
.gp-north text { font: 700 9px 'Manrope', sans-serif; fill: #2F5D3A; }
.plot-pop { position: absolute; z-index: 10; width: 270px; background: #FFF; color: var(--ink); border-radius: 14px; padding: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); font-family: 'Manrope', sans-serif; }
.plot-pop-close { position: absolute; top: 6px; right: 10px; background: none; border: none; font-size: 24px; color: #999; cursor: pointer; }
.plot-pop-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-right: 20px; }
.plot-pop-num { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: var(--green); }
.plot-pop-status { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 8px; border-radius: 4px; }
.plot-pop-status.free { background: rgba(31,157,85,0.12); color: #1F7A45; }
.plot-pop-status.sold { background: #EEE; color: #888; }
.plot-pop-row { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px 0; font-size: 0.92rem; }
.plot-pop-row span { color: #888; }

.plot-pop-btn { width: 100%; padding: 14px; border: none; border-radius: 8px; background: var(--green); color: var(--milk); font: 700 0.95rem 'Manrope', sans-serif; cursor: pointer; }
.plot-pop-btn:hover { background: var(--green-hover); }
.plot-pop-note { margin: 0; font-size: 0.85rem; color: #888; }
.plot-pop-copy { display: block; width: 100%; margin: 4px 0 12px 0; padding: 9px; border: 1px dashed #B9AD93; border-radius: 8px; background: #F7F2E8; color: #4A4F47; font: 600 0.82rem 'Manrope', sans-serif; cursor: pointer; }
.plot-pop-copy:hover { border-color: var(--green); color: var(--green); }
.plot-map-source { max-width: 760px; margin: 0 auto 50px; text-align: center; font-size: 0.88rem; line-height: 1.6; color: #888; }
.plot-map-source a { color: var(--gold-kino); font-weight: 700; }
.theme-beige .plot-map-source { color: var(--ink-soft); }
.theme-beige .plot-map-source a { color: var(--green); }
.plot-map-hint { display: none; text-align: center; font-size: 0.85rem; color: #888; margin: -35px 0 40px; }

@media (max-width: 768px) {
    .plot-map { min-width: 1150px; }
    .plot-map-hint { display: block; }
    /* На телефоне метка может быть за краем экрана — карточка выезжает снизу */
    .plot-pop { position: fixed; left: 12px !important; right: 12px !important; top: auto !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; z-index: 10040; }
}


/* ==========================================================================
   БЛОК 11: О СОБСТВЕННИКЕ
   ========================================================================== */
.owner-section { background: var(--sand); padding: 100px 20px; font-family: 'Manrope', sans-serif; color: var(--ink); }
.owner-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: center; }
.owner-photo img { width: 100%; height: auto; border-radius: 20px; display: block; box-shadow: 0 25px 60px rgba(66,49,32,0.25); }
.owner-badge { display: inline-block; border: 1px solid var(--green); color: var(--green); padding: 8px 16px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; font-weight: 700; margin-bottom: 20px; }
.owner-title { font-family: 'Playfair Display', serif; font-weight: 400; font-style: italic; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--green); margin: 0 0 25px 0; line-height: 1.1; }
.owner-lead { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.25rem; line-height: 1.6; color: var(--ink); margin: 0 0 30px 0; padding-left: 24px; border-left: 3px solid var(--green); }
.owner-list { list-style: none; padding: 0; margin: 0 0 35px 0; }
.owner-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 1.05rem; line-height: 1.5; color: var(--ink-soft); }
.owner-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.owner-btns { display: flex; flex-wrap: wrap; gap: 15px; }

@media (max-width: 900px) {
    .owner-container { grid-template-columns: 1fr; gap: 40px; }
    .owner-photo { max-width: 360px; margin: 0 auto; }
    .owner-btns > * { flex: 1 1 100%; text-align: center; }
}


/* ==========================================================================
   «ЗЕМЛЯ, КОТОРАЯ РАБОТАЕТ НА ВАС»: фон тёмный, а картинки яркие —
   затемнение только узкой полосой внизу, под текстом.
   ========================================================================== */
.directions-exact-font .dir-card { border: none; box-shadow: 0 18px 45px rgba(0,0,0,0.45); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.directions-exact-font .dir-card:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(0,0,0,0.6); }
.directions-exact-font .card-overlay { background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0) 55%); }
.directions-exact-font .dir-text { text-shadow: 0 1px 6px rgba(0,0,0,0.6); }

/* «Как доехать» в блоке логистики (бежевый) */
.route-box { margin: -30px 0 50px 0; padding: 26px 30px; background: var(--sand-card); border: 1px solid var(--sand-line); border-radius: 12px; box-shadow: 0 10px 25px rgba(66,49,32,0.08); }
.route-title { margin: 0 0 10px 0; font-size: 1.25rem; font-weight: 600; color: var(--green); }
.route-text { margin: 0 0 14px 0; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.route-text strong { color: var(--ink); }
.route-link { color: var(--green); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(47,93,58,0.4); }
.route-link:hover { border-color: var(--green); }

/* «Характеристики и как проверить землю» — раскрывается по кнопке (тёмный блок) */
.specs { margin-top: 60px; border: 1px solid rgba(255,215,0,0.3); border-radius: 12px; background: var(--card-bg); }
.specs-btn { list-style: none; cursor: pointer; padding: 22px 30px; font-size: 1.15rem; font-weight: 600; color: #FFF; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.specs-btn::-webkit-details-marker { display: none; }
.specs-btn::after { content: '+'; color: var(--gold); font-size: 1.8rem; font-weight: 300; line-height: 1; }
.specs[open] .specs-btn::after { content: '−'; }
.specs-btn:hover { color: var(--gold); }
.specs-body { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 10px 30px 34px; }
.specs-title { margin: 0 0 18px 0; font-size: 1.1rem; font-weight: 600; color: var(--gold); }
.specs-list { display: grid; grid-template-columns: 150px 1fr; gap: 10px 18px; margin: 0; font-size: 0.95rem; line-height: 1.5; }
.specs-list dt { color: rgba(255,255,255,0.55); }
.specs-list dd { margin: 0; color: #DDD; }
.check-list { margin: 0; padding-left: 20px; color: #BBB; font-size: 0.95rem; line-height: 1.6; }
.check-list li { margin-bottom: 12px; padding-left: 4px; }
.check-list li::marker { color: var(--gold); font-weight: 700; }
.check-list strong { color: #FFF; }
.check-list a { color: var(--gold); }

/* Подсказка у ссылок на НСПД (сертификат Минцифры) */
.nspd-note { display: block; margin-top: 4px; font-size: 0.78rem; line-height: 1.45; color: inherit; opacity: 0.75; }

/* FAQ: вопросы — заголовки h3 */
h3.faq-q-text { margin: 0; line-height: 1.35; }
.faq-answer a { color: var(--green); font-weight: 600; }

/* Ссылки по разделам в подвале */
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 0.9rem; }
.footer-nav a { color: #AAA; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-nav a:hover { color: var(--gold); border-color: var(--gold); }

@media (max-width: 768px) {
    .route-box { margin: -20px 0 40px 0; padding: 22px 20px; }
    .specs-btn { padding: 20px; font-size: 1.05rem; }
    .specs-body { grid-template-columns: 1fr; gap: 30px; padding: 0 20px 26px; }
    .specs-list { grid-template-columns: 1fr; gap: 2px; }
    .specs-list dd { margin-bottom: 10px; }
    .footer-nav { justify-content: center; }
}

/* Финальный блок: вместо формы одна кнопка */
.cta-btn-single { max-width: 480px; margin: 0 auto; border-radius: 100px; }


/* ==========================================================================
   РАЗДЕЛ СТАТЕЙ (stati/): верхняя панель, шапка статьи, текст, карточки
   ========================================================================== */
.top-bar { position: sticky; top: 0; z-index: 8000; background: rgba(18,25,22,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.top-bar-inner { max-width: 1100px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top-logo { font-family: 'Playfair Display', serif; font-size: 1.15rem; letter-spacing: 1px; color: var(--gold); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.top-nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.top-nav a { color: #CCC; text-decoration: none; }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--gold); }
.top-nav-btn { padding: 9px 20px; border: 1px solid var(--gold); border-radius: 100px; background: transparent; color: var(--gold); font: 700 0.9rem 'Manrope', sans-serif; cursor: pointer; transition: 0.25s ease; }
.top-nav-btn:hover { background: var(--gold); color: #121916; }

.article-hero { position: relative; padding: 90px 20px 70px; overflow: hidden; background: #000; }
.article-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.article-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,25,22,0.35) 0%, rgba(18,25,22,0.95) 100%); }
.article-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.article-hero--plain { background: var(--bg-pine); padding-bottom: 50px; }
.article-hero--plain::after { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px 0; padding: 0; list-style: none; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: rgba(255,255,255,0.75); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
.crumbs a:hover { color: var(--gold); border-color: var(--gold); }
.article-h1 { margin: 0 0 22px 0; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.12; color: #FFF; }
.article-lead { margin: 0 0 26px 0; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.6; color: #DDD; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.article-meta strong { color: var(--gold-kino); font-weight: 600; }

.article-body { background: var(--sand); color: var(--ink); padding: 70px 20px 90px; }
.article-text { max-width: 760px; margin: 0 auto; font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); }
.article-text h2 { margin: 56px 0 18px 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.25; color: var(--ink); }
.article-text h2 .step-num { display: inline-block; min-width: 1.6em; font-family: 'Playfair Display', serif; font-style: italic; color: var(--green); }
.article-text h3 { margin: 30px 0 10px 0; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.article-text p { margin: 0 0 18px 0; }
.article-text strong { color: var(--ink); }
.article-text a { color: var(--green); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(47,93,58,0.35); }
.article-text a:hover { border-color: var(--green); }
.article-text ul, .article-text ol { margin: 0 0 22px 0; padding-left: 24px; }
.article-text li { margin-bottom: 10px; padding-left: 4px; }
.article-text li::marker { color: var(--green); font-weight: 700; }

.article-toc { margin: 0 0 40px 0; padding: 26px 30px; background: var(--sand-card); border: 1px solid var(--sand-line); border-radius: 12px; }
.article-toc-title { margin: 0 0 12px 0; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.article-text .article-toc ol { margin: 0; }
.article-text .article-toc li { margin-bottom: 6px; }
.article-text .article-toc a { font-weight: 500; color: var(--ink); border-bottom-color: var(--sand-line); }

.note-box { margin: 26px 0; padding: 22px 26px; background: var(--sand-card); border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; font-size: 1rem; }
.note-box p:last-child { margin-bottom: 0; }
.note-box-title { display: block; margin-bottom: 6px; font-weight: 700; color: var(--green); }
.note-box--warn { border-left-color: #A86A2C; }
.note-box--warn .note-box-title { color: #A86A2C; }

/* Блок «Как у нас в Славянском» в конце разделов статьи */
.local-box { margin: 26px 0 10px; padding: 22px 26px; background: rgba(47,93,58,0.08); border: 1px solid rgba(47,93,58,0.3); border-radius: 12px; font-size: 1rem; }
.local-box-title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.82rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.local-box-title::before { content: ''; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5D3A' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10l7-6 7 6v11'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E") no-repeat center / contain; }
.local-box p { margin: 0 0 12px 0; }
.local-box p:last-child { margin-bottom: 0; }

/* Таблица сравнения в статье; на телефоне строки превращаются в карточки */
.article-table-wrap { margin: 26px 0 14px; }
.article-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--sand-card); border: 1px solid var(--sand-line); border-radius: 12px; overflow: hidden; font-size: 0.95rem; line-height: 1.5; }
.article-table th, .article-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sand-line); }
.article-table tr:last-child th, .article-table tr:last-child td { border-bottom: none; }
.article-table thead th { background: var(--green); color: var(--milk); font-weight: 700; font-size: 0.92rem; }
.article-table tbody th { width: 26%; color: var(--ink); font-weight: 700; }
.article-table td { color: var(--ink-soft); }
.article-table .no { color: #A86A2C; font-weight: 600; }
.article-table .yes { color: var(--green); font-weight: 600; }
.table-note { margin: 0 0 18px 0; font-size: 0.88rem; color: #7A705F; }

.article-checklist { margin: 26px 0; padding: 30px; background: var(--bg-pine); border-radius: 14px; color: #CCC; }
.article-checklist h3 { margin: 0 0 18px 0; color: var(--gold); font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; font-size: 1.5rem; }
.article-text .article-checklist ul { list-style: none; padding: 0; margin: 0; }
.article-checklist li { position: relative; padding-left: 34px !important; margin-bottom: 12px; font-size: 1rem; line-height: 1.55; }
.article-checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border: 1.5px solid var(--gold); border-radius: 4px; }
.article-checklist strong { color: #FFF; }

.article-end { max-width: 760px; margin: 60px auto 0; padding: 40px 36px; background: var(--bg-pine); border-radius: 16px; text-align: center; color: #DDD; }
.article-text .article-end-title { margin: 0 0 12px 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 400; line-height: 1.25; color: #FFF; }
.article-end p { margin: 0 auto 28px; max-width: 560px; line-height: 1.6; }
.article-text .article-end-btns a { border-bottom: none; }
.article-end-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.article-cards { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.article-card { display: flex; flex-direction: column; background: var(--sand-card); border: 1px solid var(--sand-line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink-soft); box-shadow: 0 10px 25px rgba(66,49,32,0.08); transition: 0.3s ease; }
.article-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(47,93,58,0.15); }
.article-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.article-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.article-card-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.article-card-title { margin: 0 0 12px 0; font-size: 1.35rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.article-card-text { margin: 0 0 20px 0; font-size: 0.98rem; line-height: 1.6; flex: 1; }
.article-card-more { font-weight: 700; color: var(--green); }

@media (max-width: 768px) {
    .top-bar-inner { padding: 12px 16px; }
    .top-logo { font-size: 0.95rem; }
    .top-nav { gap: 14px; font-size: 0.88rem; }
    .top-nav-link-home { display: none; }
    .top-nav-btn { padding: 8px 14px; }
    .article-hero { padding: 60px 16px 50px; }
    .article-body { padding: 50px 16px 70px; }
    .article-text { font-size: 1.02rem; }
    .article-toc, .article-checklist { padding: 22px 20px; }
    .note-box, .local-box { padding: 18px 20px; }
    .article-table, .article-table tbody, .article-table tr, .article-table th, .article-table td { display: block; width: 100%; }
    .article-table thead { display: none; }
    .article-table tbody tr { border-bottom: 1px solid var(--sand-line); }
    .article-table tbody tr:last-child { border-bottom: none; }
    .article-table tbody th { width: 100%; padding: 14px 16px 6px; border-bottom: none; color: var(--green); }
    .article-table td { padding: 4px 16px; border-bottom: none; }
    .article-table td:last-child { padding-bottom: 14px; }
    .article-table td::before { content: attr(data-label) ': '; font-weight: 700; color: var(--ink); }
    .article-end { padding: 32px 20px; }
    .article-end-btns .btn-kino-final, .article-end-btns .btn-hero-outline { width: 100%; }
    .article-cards { grid-template-columns: 1fr; }
}


/* ==========================================================================
   УВЕДОМЛЕНИЕ О COOKIE (js/cookie.js): слева внизу, плавающая кнопка связи — справа
   ========================================================================== */
.cookie-bar { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 9500; max-width: 520px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--card-dark); border: 1px solid rgba(255,215,0,0.3); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); font-family: 'Manrope', sans-serif; }
.cookie-bar[hidden] { display: none; }
.cookie-text { margin: 0; font-size: 0.85rem; line-height: 1.5; color: #CCC; }
.cookie-link { padding: 0; border: none; background: none; font: inherit; color: var(--gold); text-decoration: underline; cursor: pointer; }
.cookie-btn { flex: none; padding: 10px 22px; border: none; border-radius: 100px; background: var(--gold); color: #121916; font: 700 0.9rem 'Manrope', sans-serif; cursor: pointer; transition: background 0.2s ease; }
.cookie-btn:hover { background: #FFF; }

@media (max-width: 768px) {
    .cookie-bar { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: none; padding: 14px 16px; gap: 12px; }
    .cookie-text { font-size: 0.8rem; }
    .cookie-btn { padding: 10px 16px; }
    .cookie-open .float-contact { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}


/* ==========================================================================
   ПЛАВНОЕ ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ (классы ставит js/main.js)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.revealed { opacity: 1; transform: none; }
