/* --- ГЛАВНЫЕ НАСТРОЙКИ И ЦВЕТА --- */
:root {
    --primary: #1b5e20;        /* Темно-зеленый (основной) */
    --primary-dark: #003300;   /* Очень темный зеленый */
    --gold: #fbc02d;           /* Золотой (акценты) */
    --alert: #c62828;          /* Красный (для важных предупреждений) */
    --tech: #455a64;           /* Серый */
    --gray-bg: #f5f7f6;        /* Светло-серый фон */
    --white: #ffffff;
    --text-main: #263238;      /* Основной цвет текста */
    --whatsapp: #25D366;       
    --telegram: #0088cc;       /* 🔥 ЦВЕТ ТЕЛЕГРАМА */
    --max: #0077FF;                        /*   Макс */
    
    /* 🔥 НОВЫЙ ШРИФТ MONTSERRAT */
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    color-scheme: only light;
}

html { 
    scroll-behavior: smooth; 
    background-color: white; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 🔥 ЗОЛОТОЕ ВЫДЕЛЕНИЕ ТЕКСТА (Эффект "на миллион") */
::selection {
    background: var(--gold);
    color: #3e2723;
}

body {
    font-family: var(--font);
    line-height: 1.6;
    background-color: #ffffff !important; 
    color: #263238 !important;            
    padding-bottom: 80px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- АНИМАЦИЯ ПОЯВЛЕНИЯ (FADE IN UP) --- */
.fade-in-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* --- ШАПКА (HEADER) --- */
header { 
    background: var(--white); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    position: fixed; width: 100%; top: 0; z-index: 5000; 
    padding: 10px 0; height: 90px; 
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo { 
    display: flex; align-items: center; text-decoration: none !important; 
    font-size: 1.1rem; font-weight: 800; color: var(--primary); 
    text-transform: uppercase; line-height: 1; z-index: 6000;
}
.logo img { height: 70px; width: auto; margin-right: 10px; }
.logo span { color: var(--gold); font-size: 0.6rem; display: block; letter-spacing: 1px; font-weight: 600; }

.header-city-badge {
    margin-left: auto; margin-right: 15px;
    font-size: 0.85rem; font-weight: 700; color: var(--primary);
    background: #e8f5e9; padding: 5px 12px; border-radius: 20px;
    display: inline-block; white-space: nowrap; border: 1px solid var(--primary);
    cursor: pointer; user-select: none; position: relative; padding-right: 25px;
}
.header-city-badge::after {
    content: "▼"; font-size: 0.7rem; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); opacity: 0.7;
}

.burger-btn { font-size: 28px; cursor: pointer; color: var(--primary); padding: 5px; z-index: 5001; }

/* --- МОБИЛЬНОЕ МЕНЮ --- */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: #1b5e20 !important; color: white !important;
    z-index: 4900; transition: 0.4s;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5); 
    display: flex; flex-direction: column; justify-content: flex-start !important; 
    overflow-y: auto; font-family: var(--font);
}
.mobile-menu.active { right: 0 !important; }

.mm-header { padding: 25px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.mm-logo { font-weight: 800; font-size: 1.1rem; letter-spacing: 1px; color: white !important; }
.close-menu { font-size: 24px; cursor: pointer; color: white !important; opacity: 0.8; }

.mm-nav { padding: 15px 0 5px 0; flex-grow: 0 !important; margin-bottom: 0 !important; }
.mm-link { display: block; padding: 10px 25px; color: rgba(255,255,255,0.95) !important; text-decoration: none !important; font-size: 1rem; font-weight: 500; border-left: 3px solid transparent; cursor: pointer; transition: 0.2s; background: transparent !important; }
.mm-link:hover, .mm-link.active-parent { background: rgba(255,255,255,0.05) !important; color: #fbc02d !important; border-left-color: #fbc02d; }
.arrow { float: right; font-size: 0.8rem; transition: transform 0.3s; opacity: 0.7; }
.mm-link.active-parent .arrow { transform: rotate(180deg); color: #fbc02d; }

.mm-submenu { max-height: 0; overflow: hidden; background-color: rgba(0,0,0,0.1) !important; transition: max-height 0.3s ease-out; }
.mm-submenu a { display: block; padding: 8px 25px 8px 40px; color: #a5d6a7 !important; font-size: 0.9rem; text-decoration: none !important; }

.mm-footer { padding: 10px 25px 40px 25px; background: transparent !important; border-top: none !important; margin-top: 0 !important; }
.mm-contact-row { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 600; color: white !important; margin-bottom: 12px; opacity: 0.9; }
.mm-socials { display: flex; gap: 10px; margin-top: 20px; }
.mm-soc-btn { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: white !important; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); z-index: 4000; display: none; }
.overlay.active { display: block; }

/* --- HERO (ГЛАВНЫЙ ЭКРАН) --- */
section { padding: 50px 0; }
section[id] { scroll-margin-top: 90px; }

.hero {
    /* Делаем дорогой темно-зеленый градиент поверх твоей картинки */
    background: linear-gradient(to right, rgba(10, 25, 10, 0.95) 0%, rgba(10, 25, 10, 0.5) 100%), url('header-bg.webp'); 
    background-size: cover; background-position: center;
    min-height: 100vh; display: flex; flex-direction: column; 
    justify-content: center; align-items: flex-start; text-align: left; 
    color: #ffffff !important; 
    padding-top: 110px;
    padding-bottom: 50px;
}
.hero-wrapper { width: 100%; display: flex; justify-content: flex-start; }
.hero-content { max-width: 750px; } /* Ограничиваем ширину текста */

.hero-badge { 
    display: inline-block; background: var(--gold); color: #3e2723; 
    padding: 6px 16px; border-radius: 4px; font-weight: 800; font-size: 0.85rem; 
    text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; 
}
.hero h1 { 
    font-size: 2.6rem; margin-bottom: 20px; font-weight: 800; 
    line-height: 1.2; text-shadow: 0 2px 5px rgba(0,0,0,0.5); 
}
.hero-subtitle { 
    font-size: 1.15rem; margin-bottom: 35px; font-weight: 500; 
    line-height: 1.6; color: #e0e0e0; 
}

/* Новые галочки-триггеры */
.hero-bullets { list-style: none; padding: 0; margin: 0 0 40px 0; }
.hero-bullets li { 
    display: flex; align-items: flex-start; margin-bottom: 18px; 
    font-size: 0.95rem; line-height: 1.4; color: #f5f5f5; 
}
.hero-bullets li strong { color: var(--gold); font-size: 1.05rem; }
.hb-icon { font-size: 1.6rem; margin-right: 15px; line-height: 1; }

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-price-tag { 
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); 
    padding: 10px 20px; border-radius: 8px; font-size: 0.9rem; line-height: 1.3; 
}
.hero-price-tag strong { font-size: 1.4rem; color: var(--gold); }

/* КНОПКА С БЛЕСКОМ */
.btn-main { 
    background: linear-gradient(45deg, #fbc02d, #fdd835); 
    color: #3e2723 !important; 
    padding: 18px 35px; 
    border-radius: 50px; 
    font-weight: 800; 
    text-transform: uppercase; 
    box-shadow: 0 5px 20px rgba(251, 192, 45, 0.4); 
    display: inline-block; 
    text-shadow: none !important;
    position: relative; overflow: hidden; 
    transition: transform 0.2s;
}
.btn-main:active { transform: scale(0.95); }

.shiny-btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); animation: shine 6s infinite;
}
@keyframes shine { 0% { left: -100%; } 20% { left: 100%; } 100% { left: 100%; } }

/* АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ */
@media (max-width: 768px) {
    .hero { 
        align-items: center; text-align: center; 
        /* На телефоне делаем фон равномерно темным, чтобы текст читался */
        background: linear-gradient(rgba(10, 25, 10, 0.85), rgba(10, 25, 10, 0.85)), url('header-bg.webp'); 
    }
    .hero h1 { font-size: 1.8rem !important; }
    .hero-bullets li { text-align: left; }
    .hero-actions { justify-content: center; }
    .btn-main { margin-top: 0; }
}



.sec-title { text-align: center; font-size: 1.8rem; margin-bottom: 30px; font-weight: 800; color: var(--primary-dark); }

/* Блок доверия под кнопкой */
.hero-trust-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #e0e0e0;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}
.trust-item .stars {
    color: #fbc02d;
    letter-spacing: 1px;
    font-size: 1rem;
}
.trust-item strong {
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero-trust-bottom {
        justify-content: center;
    }
}


/* --- СТАТИСТИКА --- */
.stats { background: var(--primary); color: white; padding: 30px 0; width: 100%; position: relative; z-index: 10; }
.stats-grid { display: flex; justify-content: space-around; align-items: center; text-align: center; gap: 10px; }
.st-num { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; text-shadow: none !important; }
.stats-grid div { flex: 1; } 

/* --- КАРТОЧКИ --- */
.serv-grid, .diag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.srv-card, .diag-card { 
    background: white; padding: 20px; border-radius: 12px; border: 1px solid #e0e0e0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); position: relative; transition: transform 0.3s;
}
.srv-card:hover, .diag-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }

.srv-card { border-top: 5px solid var(--primary); }
.diag-card { border-top: 5px solid var(--alert); }

.alert-icon { position: absolute; top: 15px; right: 20px; font-size: 1.4em; color: var(--alert); margin: 0; }
.diag-head { font-weight: 800; font-size: 1.2rem; margin-bottom: 15px; color: var(--text-main); padding-right: 30px; }
.diag-list li { margin-bottom: 8px; font-size: 0.95rem; }
.diag-list li strong { color: var(--alert); }

.srv-name { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.srv-sub { font-size: 0.85rem; color: #607d8b; margin-bottom: 12px; font-weight: 600; border-bottom: 1px solid #eee; padding-bottom: 5px; }


.srv-ul { list-style: none; padding: 0; margin: 0; }
.srv-ul li { margin-bottom: 8px; font-size: 0.95rem; padding-left: 20px; position: relative; color: #444; }
.srv-ul li::before { content: "✓"; color: var(--primary); position: absolute; left: 0; font-weight: bold; }
.price-badge { background: #e8f5e9; color: var(--primary); padding: 4px 8px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; float: right; }

/* АККОРДЕОНЫ */
details { background: white; border: 1px solid #e0e0e0; border-radius: 8px; padding: 15px; margin-bottom: 15px; cursor: pointer; transition: 0.3s; }
details[open] { border-color: var(--primary); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
summary { font-weight: 800; color: var(--primary); list-style: none; outline: none; font-size: 1.1rem; }
details[open] summary { border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 10px; color: var(--primary-dark); }

/* ГАЛЕРЕЯ */
.case-grid, .cert-carousel { display: flex; overflow-x: auto; gap: 20px; padding: 10px 5px 25px 5px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.case-grid::-webkit-scrollbar, .cert-carousel::-webkit-scrollbar { display: none; }
.case-box { min-width: 280px; max-width: 280px; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border: 1px solid #eee; scroll-snap-align: center; flex-shrink: 0; }
.case-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.case-info { padding: 15px; font-size: 0.95rem; color: #444; line-height: 1.5; }
.cert-item { flex: 0 0 auto; width: 220px; height: 300px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: white; display: flex; align-items: center; justify-content: center; }
.cert-item img { max-width: 100%; max-height: 100%; padding: 5px; }

/* ШАГИ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.step-item { background: white; padding: 20px; border-radius: 12px; border: 1px solid #eee; }
.step-num { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; line-height: 40px; font-weight: bold; margin: 0 auto 15px; }

/* ГОРОДА */
.geo-compact { max-height: 140px; overflow: hidden; position: relative; transition: 0.5s; }
.geo-compact.expanded { max-height: 5000px; }
.geo-compact::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; background: linear-gradient(transparent, #f5f7f6); pointer-events: none; }
.geo-compact.expanded::after { display: none; }
.btn-more-cities { display: block; margin: 20px auto 0; background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 10px 25px; border-radius: 30px; cursor: pointer; font-weight: bold; }
.city-tag { display: inline-block; padding: 8px 15px; border: 1px solid #e0e0e0; border-radius: 50px; color: #555; background: white; margin: 3px; font-size: 0.9rem; text-decoration: none !important; }

/* ВЫПАДАЮЩИЙ СПИСОК ГОРОДОВ */
.city-selector-wrap { position: relative; margin-left: auto; margin-right: 15px; z-index: 6001; }
.header-city-dropdown { display: none; position: absolute; top: 100%; right: 0; width: 220px; max-height: 400px; overflow-y: auto; background: white; border: 1px solid #ddd; box-shadow: 0 10px 25px rgba(0,0,0,0.15); border-radius: 8px; margin-top: 10px; padding: 10px 0; }
.header-city-dropdown.active { display: block; }
.header-city-link { display: block; padding: 8px 20px; color: #333 !important; text-decoration: none; font-size: 0.95rem; border-bottom: 1px solid #f5f5f5; }
.header-city-link:hover { background-color: #f1f8e9; color: var(--primary) !important; padding-left: 25px; }

/* КОНТАКТЫ */
.contact-wrapper { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 769px) { .contact-wrapper { grid-template-columns: 1fr 1fr; } }
.c-block { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #eee; margin-bottom: 20px; }
.c-block h3 { margin-bottom: 15px; color: var(--primary); font-size: 1.3rem; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; }
.phone-big { font-size: 1.6rem; font-weight: 900; color: var(--text-main); display: block; margin-bottom: 15px; text-decoration: none !important; }
.soc-buttons { display: flex; gap: 10px; margin-top: 15px; }
.sb-btn { flex: 1; text-align: center; padding: 12px; border-radius: 8px; color: white; font-weight: bold; font-size: 1rem; }
.wa-btn { background: var(--whatsapp); }
.tg-btn { background: var(--telegram); }
.max-btn {background: var(--max); }

.f-box { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.inp { width: 100%; padding: 18px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 12px; font-size: 1.1rem; background: #f9f9f9; transition: 0.3s; font-family: var(--font); }
.inp:focus { border-color: var(--primary); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1); }
.sub { width: 100%; padding: 20px; background: var(--primary); color: white; border: none; border-radius: 12px; font-weight: bold; cursor: pointer; font-size: 1.2rem; transition: 0.3s; font-family: var(--font); }
.sub:hover { background: var(--primary-dark); }

/* МОДАЛКА */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 9999; justify-content: center; align-items: center; backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.open { display: flex; opacity: 1; }
.modal-window { background: white; padding: 30px; border-radius: 15px; width: 90%; max-width: 400px; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.25); transform: translateY(20px); transition: transform 0.3s ease; }
.modal-overlay.open .modal-window { transform: translateY(0); }
.modal-close { position: absolute; top: 15px; right: 15px; font-size: 24px; color: #aaa; cursor: pointer; }

/* ПАРТНЕРЫ */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 20px; }
.partner-item { background: white; border: 1px solid #eee; border-radius: 8px; height: 120px; display: flex; align-items: center; justify-content: center; padding: 15px; transition: 0.3s; }
.partner-item:hover { border-color: var(--primary); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.partner-item img { width: 100%; height: 100%; object-fit: contain; opacity: 0.8; }

/* ПРОМО */
.promo-section { background: #fff8e1; padding: 40px 0; border-bottom: 1px solid #ffe0b2; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.promo-item { background: white; padding: 25px; border-radius: 12px; border: 2px solid #ffd54f; }
.promo-item h3 { color: #e65100; margin-bottom: 10px; font-size: 1.2rem; font-weight: 800; }

/* ФУТЕР */
footer { background: #263238; color: #90a4ae; padding: 40px 0 120px 0 !important; text-align: center; }

/* 🔥 НИЖНЯЯ ПАНЕЛЬ (4 КНОПКИ - ВЫСОКИЕ) 🔥 */
.mob-panel { 
    position: fixed; bottom: 0; left: 0; width: 100%; 
    background: white; 
    display: grid; 
    
    /* 4 равные колонки */
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    
    gap: 5px; 
    padding: 8px; /* Отступ от краев экрана */
    
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1); 
    z-index: 2000; 
    box-sizing: border-box; 
}

.m-btn { 
    /* ГЛАВНОЕ: Задаем высоту кнопки */
    min-height: 55px; /* <--- МЕНЯЙТЕ ЭТУ ЦИФРУ, ЧТОБЫ СДЕЛАТЬ ЕЩЕ ВЫШЕ (было ~35px) */
    
    border-radius: 8px; 
    font-weight: 700; 
    text-decoration: none; 
    font-size: 14px; /* Шрифт чуть меньше, чтобы влез длинный текст */
    font-family: var(--font); 
    line-height: 1.1;
    
    /* Центровка текста строго по центру (вертикально и горизонтально) */
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center;
    padding: 0 2px; /* Небольшой отступ по бокам внутри кнопки */
}

/* Цвета кнопок */
.m-btn.mc { background: #e0e0e0; color: #333; }
.m-btn.mw { background: var(--whatsapp); color: white; }
.m-btn.mt { background: var(--telegram); color: white; }
.m-btn.mm { background: var(--max); color: white; }



.scroll-top-btn { position: fixed; bottom: 90px; right: 20px; width: 50px; height: 50px; background: var(--primary); color: white; border-radius: 50%; text-align: center; line-height: 50px; font-size: 28px; cursor: pointer; z-index: 9999; opacity: 0; visibility: hidden; transition: 0.3s; box-shadow: 0 4px 15px rgba(27, 94, 32, 0.4); }
.scroll-top-btn.show { opacity: 1; visibility: visible; } 

.lightbox { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); justify-content: center; align-items: center; }
.lightbox img { max-width: 95%; max-height: 80vh; }
.close-lb { position: absolute; top: 20px; right: 20px; color: white; font-size: 40px; cursor: pointer; }

/* МОБИЛЬНАЯ АДАПТАЦИЯ */
@media (max-width: 480px) {
    html { font-size: 14.5px !important; }
    .hero h1 { font-size: 1.6rem !important; margin-bottom: 15px !important; }
    .sec-title { font-size: 1.6rem !important; margin-bottom: 20px !important; }
    .srv-card, .diag-card, .case-box, .c-block, .f-box, .promo-item { padding: 15px !important; }
    .mobile-menu { width: 270px !important; }
    .mm-link { padding: 9px 20px !important; }
    .mm-header { padding: 15px 20px !important; }
    .btn-main, .sub { padding: 14px 25px !important; font-size: 0.95rem !important; width: 100%; text-align: center; }
    .header-city-dropdown { position: fixed; bottom: 0; top: auto; left: 0; right: 0; width: 100%; max-height: 50vh; border-radius: 20px 20px 0 0; box-shadow: 0 -5px 20px rgba(0,0,0,0.2); }
}
@media (min-width: 769px) { .mob-panel, .burger-btn { display: none !important; } }

/* Убираем подчеркивание у телефона и почты */
a, .mm-contact-row, .phone-big, .header-city-link {
    text-decoration: none !important;
}

/* Убираем подчеркивание при наведении */
a:hover, .mm-contact-row:hover {
    text-decoration: none !important;
}

/* --- СТРЕЛКИ НАВИГАЦИИ (ДЛЯ ПК) --- */
.slider-wrapper {
    position: relative; /* Чтобы кнопки висели ровно */
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    color: var(--primary);
    border: 1px solid #eee;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 20;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0; /* Скрыты по умолчанию */
    pointer-events: none;
}

/* Показываем кнопки только когда наводим мышку на блок */
.slider-wrapper:hover .nav-arrow {
    opacity: 1;
    pointer-events: auto;
}

.nav-arrow:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 15px rgba(27, 94, 32, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.nav-prev { left: -20px; }
.nav-next { right: -20px; }

/* На мобильных скрываем стрелки (там свайп) */
@media (max-width: 768px) {
    .nav-arrow { display: none !important; }
}

.stealth-legal {
    font-size: 0.7rem !important;
    color: #d1d1d1 !important; /* Очень светлый серый, почти сливается с формой */
    text-align: center;
    display: block;
    margin-top: 10px;
    line-height: 1.1;
}
.stealth-legal a { color: #d1d1d1 !important; text-decoration: underline; }
}

/* ТОЧКИ-НЕВИДИМКИ: ЦВЕТ КАК У ТЕКСТА */
.legal-dot {
    color: #37474f !important; /* Тот же серый цвет, что и у копирайта */
    text-decoration: none !important; /* Убираем синее подчеркивание */
    font-size: 14px !important;    /* Размер обычной точки */
    opacity: 1;                    /* Делаем их четкими, как обычный текст */
    cursor: default;               /* При наведении остается обычная стрелка */
    padding: 0;
    margin: 0;
}

/* Полная маскировка под обычный текст */
footer p a.legal-dot, 
footer p a.legal-dot:link, 
footer p a.legal-dot:visited, 
footer p a.legal-dot:hover, 
footer p a.legal-dot:active {
    color: inherit !important;       /* Берет цвет у текста рядом */
    text-decoration: none !important; /* Убирает подчеркивание */
    font-size: inherit !important;    /* Размер как у текста */
    font-weight: inherit !important;  /* Жирность как у текста */
    opacity: 1 !important;            /* Убираем прозрачность, чтобы не выделялась */
    cursor: default !important;       /* Обычная стрелка вместо пальца */
    -webkit-tap-highlight-color: transparent; /* Убирает синюю вспышку при нажатии на телефоне */
}

/* =========================================
   СТРАНИЦА ЛЕЧЕНИЯ: ТЕГИ, ПРАЙС, АККОРДЕОНЫ И ГАЛЕРЕЯ
   ========================================= */

/* 1. Теги навигации под Hero */
.seo-tags-wrapper {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.seo-tags-wrapper .container {
    display: flex;
    gap: 10px;
    align-items: center;
}
.seo-tag {
    background: var(--gold);
    color: #3e2723 !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}
.seo-tag:hover {
    background: #fdd835;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(251, 192, 45, 0.3);
}

/* 2. Современный Прайс-лист */
.price-table-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ptr-row {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.ptr-row:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.08);
}
.ptr-info {
    flex: 1;
    padding-right: 20px;
}
.ptr-info strong {
    display: block;
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 5px;
}
.ptr-info span {
    font-size: 0.9rem;
    color: #666;
}
.ptr-price {
    font-size: 1rem;
    color: var(--text-main);
    padding: 0 20px;
    white-space: nowrap;
}
.ptr-price strong {
    font-size: 1.4rem;
}
.ptr-btn {
    background: var(--gold);
    color: #3e2723;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.ptr-btn:hover {
    background: #fdd835;
    transform: scale(1.05);
}

/* 3. Аккордеоны для каталога деревьев */
.tree-accordion {
    background: white;
    border: 2px solid #333; 
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: 0.3s;
}
.tree-accordion summary {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    outline: none;
    background: white;
}
.tree-accordion summary::-webkit-details-marker {
    display: none;
}
.acc-arrow {
    font-size: 1.2rem;
    color: #666;
    transition: transform 0.3s;
}
.tree-accordion[open] .acc-arrow {
    transform: rotate(180deg);
}
.tree-accordion[open] {
    border-color: var(--primary);
    box-shadow: 8px 8px 0px rgba(27, 94, 32, 0.1);
}
.acc-content {
    padding: 0 25px 25px 25px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 20px;
}
.acc-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}
.acc-grid h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.acc-grid ul {
    list-style: none;
    padding: 0;
}
.acc-grid li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #444;
}
.acc-grid li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 4. Фотогалерея болезней внутри аккордеонов */
.disease-gallery-wrap {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed #ddd;
}
.dg-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.disease-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.d-card {
    background: #f9fbf9;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.d-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--gold);
}
.d-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid var(--gold);
}
.d-card span {
    display: block;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

/* 5. Мобильная адаптация */
@media (max-width: 768px) {
    .ptr-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .ptr-price { padding: 0; }
    .ptr-btn { width: 100%; }
    .acc-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
@media (max-width: 480px) {
    .disease-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .d-card img {
        height: 100px;
    }
    .d-card span {
        font-size: 0.75rem;
        padding: 8px 5px;
    }
}
