:root{
  --blue: #6F89AE;
  --blue-l: #95B7DD;
  --blue-d: #435875;
  --navy: #243242;
  --navy-d: #18222E;
  --white: #fff;
  --bg: #F4F7FA;
  --border: #D3DFEE;
  --muted: #6B7E96;
  --text: #243242;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Manrope',sans-serif;color:var(--text);background:#fff;overflow-x:hidden}
h1{font-size:clamp(2rem, 5vw, 3.5rem);font-weight:800;line-height:1.15;letter-spacing:-0.02em}
h2{font-size:clamp(1.5rem,3.5vw,2.4rem);font-weight:700;line-height:1.2}
h3{font-size:clamp(1.2rem,2.5vw,1.6rem);font-weight:700;line-height:1.3}
p{line-height:1.7;color:var(--muted)}

/* ── 1. NAV BAR (ШАПКА) ── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:200;
  background:rgba(24,34,46,.96);backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(149,183,221,.25);
  height:80px;display:flex;align-items:center;padding:0 2rem;
}
.nav-container{
  display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1400px;margin:0 auto;gap:1rem;
}
.nav-logo { display: inline-flex; align-items: center; max-width: 160px; flex-shrink: 0; }
.logo-img { width: 100%; height: auto; max-height: 45px; object-fit: contain; display: block; }
.nav-links{display:flex;align-items:center;gap:.2rem;list-style:none;margin-left:2rem;flex:1}
.nav-links a{color:rgba(255,255,255,.75);text-decoration:none;font-size:.85rem;font-weight:500;padding:.4rem .7rem;border-radius:4px;transition:.2s;white-space:nowrap}
.nav-links a:hover{color:#fff;background:rgba(149,183,221,.15)}
.nav-contact-group{display:flex;align-items:center;gap:1.5rem;flex-shrink:0}
.nav-phone-block{display:flex;flex-direction:column;align-items:flex-end}
.nav-phone{color:#fff;text-decoration:none;font-size:0.9rem;font-weight:700;transition:.2s;white-space:nowrap}
.nav-phone:hover{color:var(--blue-l)}
.nav-email{color:var(--blue-l);text-decoration:none;font-size:.75rem}
.nav-messengers{display:flex;align-items:center;gap:.4rem}
.nav-msg-ico{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;transition:0.2s}
.nav-msg-ico:hover{background:var(--blue-l);transform:translateY(-1px);color:#fff}
.nav-msg-ico .svg-ico { width: 16px; height: 16px; }
.f-contacts {color:#fff;text-decoration:none;font-size:0.9rem;font-weight:700;transition:.2s;white-space:nowrap}
/* Базовый класс для всех SVG-иконок */
.svg-ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn{
  display:inline-block;padding:.8rem 1.8rem;
  font-family:'Manrope',sans-serif;font-size:.85rem;font-weight:700;
  border-radius:4px;cursor:pointer;text-decoration:none;transition:.25s;
  border:none;letter-spacing:.02em;text-align:center;white-space:nowrap;
}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-l);transform:translateY(-1px);box-shadow:0 6px 20px rgba(111,137,174,.4)}
.btn-outline{background:transparent;color:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,0.25)}
.btn-outline:hover{background:rgba(255,255,255,.1);border-color:#fff}
.btn-nav{padding:0.6rem 1.2rem;font-size:0.8rem}

/* ── SECTIONS COMMON ── */
section{padding:6rem 2rem}
.container{max-width:1600px;margin:0 auto}
.sec-head{margin-bottom:2.5rem}
.sec-head h2::before{content:'';display:block;width:40px;height:4px;background:var(--blue);margin-bottom:1rem}
.sec-head p{margin-top:0.5rem;font-size:1.1rem;color:var(--muted);max-width:700px;text-align: left;}

.obj-head{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:1.5rem;flex-wrap:wrap}
.obj-badge{display:inline-block;padding:0.25rem 0.75rem;background:var(--blue);color:#fff;font-size:0.75rem;font-weight:700;border-radius:4px;text-transform:uppercase;letter-spacing:0.05em;margin-bottom:0.75rem}
.dl-badge{background:#fff;border:1px solid var(--border);padding:1rem 1.25rem;border-radius:6px;font-size:0.85rem;line-height:1.4;color:var(--text);box-shadow:0 4px 12px rgba(0,0,0,0.02)}
.dl-badge strong{color:var(--blue);font-size:1rem;display:block;margin:0.2rem 0}
.ph-flag{display:inline-block;font-size:0.7rem;text-transform:uppercase;background:rgba(149,183,221,0.15);color:var(--blue);padding:0.1rem 0.4rem;border-radius:3px;font-weight:700;margin-left:0.5rem;vertical-align:middle}

.params-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-bottom:2.5rem;text-align: center;}
.pc{background:#fff;border:1px solid var(--border);padding:1.25rem;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,0.01)}
.pc-ico{font-size:1.6rem;margin-bottom:0.5rem;color:var(--blue);display:flex;justify-content:center;align-items:center}
.pc-ico .svg-ico { width: 1.6rem; height: 1.6rem; }
.pc-val{font-size:1.3rem;font-weight:800;color:var(--navy);line-height:1.2}
.pc-lbl{font-size:0.8rem;color:var(--muted);margin-top:0.25rem;font-weight:500}

/* Таблицы БЦ и Склада */
.table-wrap{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:auto;margin-bottom:2.5rem}
.tw-head{background:var(--navy);color:#fff;padding:1rem 1.5rem;font-weight:700;font-size:1rem}
table{width:100%;border-collapse:collapse;text-align:left}
th,td{padding:1rem 1.5rem;border-bottom:1px solid var(--border);font-size:0.9rem}
th{background:#F8FAFC;color:var(--navy);font-weight:700}
.fb{display:inline-flex;width:24px;height:24px;background:var(--bg);color:var(--blue);font-weight:800;border-radius:4px;align-items:center;justify-content:center}

.infra-list{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:3rem}
.ii{display:flex;align-items:center;gap:0.75rem;font-size:0.9rem;font-weight:600;color:var(--text)}
.ii-dot{width:20px;height:20px;border-radius:50%;background:rgba(149,183,221,0.15);color:var(--blue);display:flex;align-items:center;justify-content:center;}
.ii-dot .svg-ico { width: 10px; height: 10px; }
#warehouse .params-row{grid-template-columns:repeat(5,1fr);}

/* Блок планировок внутри объектов */
.plans-box{background:#fff;border:1px solid var(--border);border-radius:12px;padding:2rem;margin-bottom:3rem;box-shadow:0 4px 20px rgba(0,0,0,0.02)}
.plans-box h3{font-size:1.2rem;margin-bottom:1.5rem;color:var(--navy);display:flex;align-items:center;gap:0.5rem}
.floor-tabs{display:flex;gap:0.5rem;border-bottom:1px solid var(--border);padding-bottom:1rem;margin-bottom:1.5rem;overflow-x:auto}
.ftab{background:#fff;border:1px solid var(--border);padding:0.6rem 1.2rem;font-family:inherit;font-size:0.9rem;font-weight:600;color:var(--text);border-radius:4px;cursor:pointer;transition:0.2s;white-space:nowrap}
.ftab:hover{border-color:var(--blue-l)}
.ftab.on{background:var(--blue);color:#fff;border-color:var(--blue)}
.fplan-ph{background:#F8FAFC;border:1px dashed var(--border);border-radius:8px;padding:2rem;text-align:center;position:relative;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.5rem}
.plan-img-element{display:none;max-width:100%;max-height:450px;object-fit:contain;margin-top:1rem;cursor:zoom-in}
.plan-img-element.active{display:block}

/* Спецификации и использование склада */
.wh-specs{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2.5rem}
.st{border:1px solid;}
.st-head{background:var(--navy);color:#fff;padding:1rem 1.5rem;font-weight:700;font-size:1rem}
.spec-table{width:100%;}
.spec-table td{padding:0.75rem 1rem;font-size:0.88rem}
.spec-table tr:nth-child(even){background:#F8FAFC}
.spec-table td:first-child{font-weight:600;color:var(--muted);width:45%}

.uc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-bottom:3rem}
.uc{background:#fff;border:1px solid var(--border);padding:1.5rem;border-radius:8px}
.uc-ico{font-size:1.8rem;margin-bottom:0.75rem;color:var(--blue);display:flex;align-items:center}
.uc-ico .svg-ico { width: 1.8rem; height: 1.8rem; }
.uc h4{font-size:1rem;color:var(--navy);margin-bottom:0.5rem}
.uc p{font-size:0.85rem;line-height:1.5}

.rent-box{background:var(--navy-d);color:rgba(255,255,255,0.7);padding:2.5rem;border-radius:12px;margin-bottom:3rem}
.rent-box h3{color:#fff;margin-bottom:1.5rem}
.price-card{border-bottom:1px solid rgba(255,255,255,0.1);padding-bottom:1.5rem;margin-bottom:2rem}
.price-big{font-size:3rem;font-weight:800;color:#fff;line-height:1}
.price-sub{font-size:1.1rem;color:var(--blue-l);font-weight:600;margin-top:0.5rem}
.price-note{font-size:0.85rem;color:rgba(255,255,255,0.4);margin-top:0.25rem}
.rent-cols{display:grid;grid-template-columns:1.2fr 0.8fr;gap:3rem}
.rent-items{display:flex;flex-direction:column;gap:0.5rem}
.ri{font-size:0.9rem;display:flex;align-items:center;gap:0.5rem;color:#fff}
.ri-ico{font-size:1rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.ri-ico .svg-ico { width: 1rem; height: 1rem; }
.ri-ico.ok{color:#95B7DD}
.ri-ico.no{color:rgba(255,255,255,0.25)}
.rent-rows{display:flex;flex-direction:column;gap:0.75rem}
.rr{display:flex;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,0.05);padding-bottom:0.5rem;font-size:0.88rem}
.rr span:first-child{color:rgba(255,255,255,0.4)}
.rr span:last-child{color:#fff;font-weight:600;text-align:right}

.cta-strip{background:rgba(111,137,174,0.05);border:1px solid var(--border);padding:2rem;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap}
.cta-strip h3{color:var(--navy)}
.cta-btns{display:flex;gap:1rem;align-items:center}

/* ── 2. HERO SECTION (БАННЕР) ── */
#hero{
  min-height:100vh;
  background: linear-gradient(rgba(24,34,46,0.65), rgba(24,34,46,0.55)), url('/assets/img/gallery/back.jpg') center/cover no-repeat;
  position:relative;display:flex;align-items:center;
  overflow:hidden;padding-top:80px;
}
.hero-inner{
  position:relative;z-index:2;
  max-width:1180px;margin:0 auto;padding:4rem 0;
  display:grid;grid-template-columns:1.2fr 0.8fr;gap:4rem;align-items:center;width:100%
}
.hero-title{color:#fff;margin-bottom:1rem}
.hero-sub{color:#fff;font-size:1.35rem;font-weight:600;line-height:1.4;margin-bottom:2.5rem}
.hero-params{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2.5rem
}
.hp{
  display:flex;align-items:flex-start;gap:.75rem;padding:1rem;
  background:rgba(0,0,0,.4);
  border:1px solid rgba(149,183,221,.2);border-radius:6px
}
.hp-icon{color:var(--blue-l);font-size:1.3rem;display:flex;align-items:center;margin-top:0.1rem}
.hp-icon .svg-ico { width: 1.3rem; height: 1.3rem; }
.hp-l{font-size:.7rem;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.08em;font-weight:600}
.hp-v{font-size:.95rem;color:#fff;font-weight:700;margin-top:.15rem;text-decoration: none;}
.hero-cta{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}

/* ── 3. VIDEO BLOCK (АЭРОСЪЕМКА НА СВЕТЛОМ) ── */
#video-section {
  background: #fff;
  color: var(--text);
}
.video-wrapper {
  max-width: 960px;
  margin: 2.5rem auto 0;
  aspect-ratio: 16/9;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ── 4. УДОБНАЯ ЛОГИСТИКА ── */
.location-section { background: #fff; }
.location-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; margin-top: 2rem; }
.map-wrapper { position: relative; }
.map-box { aspect-ratio: 4/3; background: #EEF3F8; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.map-box iframe { border: 0; width: 100%; height: 100%; }
.map-address { margin-top: 0.75rem; font-size: 0.85rem; color: var(--text); }
.transp-col { display: flex; flex-direction: column; gap: 1.1rem; }
.transp-card { padding: 1.25rem 1.5rem; border: 1px solid var(--border); border-radius: 8px; background: #fff; border: 2px solid var(--blue); background: rgba(111,137,174, 0.02); box-shadow: 0 4px 15px rgba(111,137,174, 0.05); }
.transp-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.transp-card h4 { color: var(--blue); }
.transp-card h4 .svg-ico { width: 1.15rem; height: 1.15rem; }
.transp-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; padding: 0; }
.transp-item { font-size: .85rem; color: var(--muted); padding-left: 1rem; position: relative; line-height: 1.5; }
.transp-card .transp-item { color: var(--text); }
.transp-item::before { content: '—'; position: absolute; left: 0; color: var(--blue); }

/* ==== ЛАЙТБОКС ==== */
.plan-modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(24,34,46, 0.95); 
    z-index: 2000; 
    justify-content: center; 
    align-items: center; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.plan-modal.show { 
    display: flex; 
    opacity: 1; 
}

.plan-modal-content { 
    max-width: 95%; 
    max-height: 90vh; 
    background: transparent; 
    padding: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

#modal-img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    user-select: none;
    cursor: grab;
    border-radius: 4px;
    transform-origin: 0 0; /* <--- ЭТО ДОБАВИТЬ */
}

.plan-modal-close { 
    position: absolute; 
    top: 20px; 
    right: 25px; 
    color: #fff; 
    font-size: 2.5rem; 
    font-weight: 300; 
    cursor: pointer; 
    user-select: none;
    z-index: 10;
    background: rgba(0,0,0,0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.plan-modal-close:hover {
    background: rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
    .plan-modal-content {
        max-width: 98%;
        max-height: 95vh;
    }
    
    #modal-img {
        max-height: 90vh;
        cursor: default;
    }
    
    .plan-modal-close {
        top: 15px;
        right: 15px;
        font-size: 1.8rem;
        width: 36px;
        height: 36px;
        background: rgba(0,0,0,0.4);
    }
}

@media (max-width: 480px) {
    .plan-modal-content {
        max-width: 100%;
        max-height: 98vh;
        padding: 0;
    }
    
    #modal-img {
        max-height: 95vh;
        border-radius: 0;
    }
    
    .plan-modal-close {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
        width: 32px;
        height: 32px;
    }
}
/* ── 7. ИНФОРМАЦИЯ О ЗАСТРОЙЩИКЕ ── */
#developer { background: #fff; }
.dev-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
.dev-text-block h3 { font-size: 1.8rem; color: var(--navy); margin-bottom: 1.5rem; }
.dev-text-block p { margin-bottom: 1.25rem; font-size: 1.05rem; }
.dev-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.stat-card { background: var(--bg); padding: 2rem 1.5rem; border-radius: 8px; border: 1px solid var(--border); text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 600; line-height: 1.4; }
/* Сетка для десктопа: 2 колонки */
.dev-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* Стили слайдера */
.dev-slider-wrap { position: relative; overflow: hidden; border-radius: 12px; }
.dev-slider-container { width: 100%; overflow: hidden; }
.dev-slider-track { display: flex; transition: transform 0.4s ease; }
.dev-slide { min-width: 100%; }
.dev-slide img { width: 100%; height: 400px; object-fit: cover; display: block; }

/* Кнопки внутри слайдера */
.dev-nav-btn-prev { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: none; cursor: pointer; padding: 10px; z-index: 2;left: 10px; }
.dev-nav-btn-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: none; cursor: pointer; padding: 10px; z-index: 2;right: 10px; }

/* АДАПТИВ: если экран меньше 960px, ставим один под другим */
@media (max-width: 960px) {
  .dev-layout { grid-template-columns: 1fr; gap: 20px; }
}

/* ── 8. БЛОК КОНТАКТЫ (В ЦВЕТЕ FOOTER С ФОРМОЙ) ── */
#contacts-section { background: var(--navy-d); color: rgba(255,255,255,0.7); padding: 6rem 2rem 4rem; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contacts-info-side { display: flex; flex-direction: column; gap: 2.5rem; }
.c-group h3 { color: #fff; margin-bottom: 1rem; }
.c-phones { display: flex; flex-direction: column; gap: 0.5rem; }
.c-phone-link { color: #fff; font-size: 1.5rem; font-weight: 700; text-decoration: none; transition: 0.2s; }
.c-phone-link:hover { color: var(--blue-l); }
.c-email-link { color: var(--blue-l); text-decoration: none; font-size: 1rem; }
.c-email-link:hover { text-decoration: underline; }
.c-msg-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }

/* Форма обратной связи */
.contact-form-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 3rem; border-radius: 12px; }
.form-title { color: #fff; margin-bottom: 0.5rem; }
.form-subtitle { font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; margin-bottom: 0.5rem; font-weight: 600; letter-spacing: 0.05em; }
.form-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); padding: 0.9rem 1rem; color: #fff; font-family: inherit; font-size: 0.95rem; border-radius: 4px; transition: 0.2s; }
.form-input:focus { outline: none; border-color: var(--blue-l); background: rgba(255,255,255,0.08); }
.form-footer-text { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 1rem; line-height: 1.4; }
/* ── БЛОК FAQ ── */
#faq-section { background: #fff;}
.faq-container { margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-card { border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.faq-card:hover { border-color: var(--blue-l); box-shadow: 0 4px 15px rgba(111, 137, 174, 0.08); }
.faq-trigger { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; font-size: 1.05rem; font-weight: 700; color: var(--navy); cursor: pointer; user-select: none; gap: 1.5rem; transition: color 0.25s ease, background-color 0.25s ease; }
.faq-trigger:hover { background: rgba(149, 183, 221, 0.03); }
.faq-icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background-color: var(--blue); transition: transform 0.3s ease, opacity 0.25s ease; }
.faq-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-icon::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-content { height: 0; overflow: hidden; transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-content p { padding: 0 1.5rem 1.25rem 1.5rem; margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--muted); }
.faq-card.active { border-color: var(--blue); box-shadow: 0 4px 15px rgba(111, 137, 174, 0.05); }
.faq-card.active .faq-trigger { color: var(--blue-d); background: rgba(149, 183, 221, 0.02); }
.faq-card.active .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-card.active .faq-icon::before { transform: rotate(180deg); }
@media (max-width: 960px) { .faq-trigger { padding: 1rem 1.25rem; font-size: 0.95rem; } .faq-content p { padding: 0 1.25rem 1rem 1.25rem; font-size: 0.9rem; } }
.contacts-bottom-map { margin-top: 4rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 4rem; }
.contacts-map-title { color: #fff; margin-bottom: 1.5rem; }
.c-map-box { aspect-ratio: 21/9; width: 100%; background: rgba(255,255,255,0.05); border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.c-map-box iframe { width: 100%; height: 100%; border: 0; }

.footer-copyright { margin-top: 4rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; }

/* ── МОБИЛЬНАЯ АДАПТАЦИЯ ── */
@media(max-width:960px){
  section{padding:4rem 1rem}
  .location-grid, .dev-grid, .contacts-grid, .wh-specs, .rent-cols {grid-template-columns:1fr;gap:2.5rem}
  .cta-btns {flex-direction: column}
  .params-row, .infra-list, .uc-grid{grid-template-columns:repeat(2,1fr)}
  nav{padding:0 1rem; height:70px;}
  .nav-links, .nav-email, .nav-messengers, .nav-phone{display:none}
  .hero-inner{grid-template-columns:1fr;gap:2.5rem;text-align:center;padding-top:2rem}
  .hero-params{grid-template-columns:1fr}
  .hero-cta{justify-content:center}
  .contact-form-box{padding:1.5rem}
  .c-map-box{aspect-ratio:4/3}
}
@media(max-width:480px){
  .params-row, .infra-list, .uc-grid{grid-template-columns:1fr}
  #warehouse .params-row {grid-template-columns:1fr}
}
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #78b1fd;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.scroll-to-top.show {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cookie-message {
    position: fixed;
    z-index: 1000;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    padding: 0;
    font-family: Arial, sans-serif;
    animation: fadeIn 0.5s ease-in-out;
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-message-inner {
    display: grid;
    justify-items: start;
    grid-gap: 15px;
    font-size: 14px;
    padding: 20px;
    line-height: 1.5;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.15);
}

.cookie-message-text {
    color: #5a5a5a;
}

.cookie-message-link {
    color: var(--blue);
    text-decoration: underline;
}

.cookie-message-inner .button {
    background: #e1e1e1;
    color: #878787;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width:40%;
    margin:auto;
}

.cookie-message-inner .button:hover {
    background-color: var(--blue);
    color: #fff;
}

.cookie-message-text a {
    color:var(--blue);
}

@media (max-width: 480px) {
    .cookie-message {
        max-width: 100%;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}
/* =========================================
        СЛАЙДЕР ВНУТРИ ПЛАНОВ
========================================= */
.plan-slider-wrap {
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #F8FAFC;
}

.plan-slider-container {
    overflow: hidden;
    width: 100%;
}

.plan-slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.plan-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.plan-slide img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 4px;
    cursor: zoom-in;
}

.plan-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 10px 18px;
    z-index: 2;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--navy);
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.plan-slider-btn:hover {
    background: var(--blue);
    color: #fff;
}

.plan-slider-btn.prev {
    left: 10px;
}

.plan-slider-btn.next {
    right: 10px;
}

.plan-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0 1rem;
}

.plan-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.plan-slider-dot.active {
    background: var(--blue);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .plan-slide img {
        max-height: 300px;
    }
    .plan-slider-btn {
        padding: 6px 10px;
        font-size: 1rem;
    }
}
img-comparison-slider {
  visibility: hidden;
}

img-comparison-slider [slot='second'] {
  display: none;
}

img-comparison-slider.rendered {
  visibility: inherit;
}

img-comparison-slider.rendered [slot='second'] {
  display: unset;
}
img-comparison-slider {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

img-comparison-slider figure {
    margin: 0;
}

img-comparison-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
img-comparison-slider:focus-visible,
img-comparison-slider:focus {
    outline: none !important;
}
@media (max-width: 768px) {
    img-comparison-slider {
        min-height: 200px;
        max-height: 350px;
    }
}