/* === ПЕРЕМЕННЫЕ И СБРОС === */
:root {
    /* ========================================
       ОСНОВНЫЕ ЦВЕТА САЙТА
       ======================================== */
    --color-primary: #2c3e50;           /* Основной тёмно-синий: подвал, иконки в контактах */
    --color-accent: #ffcc00;            /* Акцентный жёлтый: кнопки, иконки услуг, hover-эффекты */
    --color-heading: #222222;           /* Цвет заголовков H1, H2, H3 (тёмно-серый, без синевы) */
    --color-bg-light: #eeeeee;          /* Светло-серый фон секций: услуги, контакты, форма */
    --color-bg-white: #ffffff;          /* Белый фон: основной фон сайта, карточки */
    --color-text: #333333;              /* Основной цвет текста: абзацы, описания */
    --color-text-light: #777777;        /* Вторичный цвет текста: приглушённые описания */
    
    /* ========================================
       ШРИФТЫ (Google Fonts)
       ======================================== */
    --font-heading: 'Science Gothic', Arial, sans-serif;  /* Шрифт заголовков: логотип, H1, H2, меню */
    --font-body: 'Roboto', sans-serif;                    /* Шрифт основного текста: абзацы, формы */
    
    /* ========================================
       АНИМАЦИИ И РАЗМЕРЫ
       ======================================== */
    --transition: all 0.3s ease;        /* Плавные переходы для hover-эффектов */
    --container-width: 1200px;          /* Максимальная ширина контентной области */
    
    /* ========================================
       ЦВЕТОВЫЕ ПЕРЕМЕННЫЕ СЛАЙДЕРА
       ======================================== */
    --slider-bg-full: #ffcc00;              /* Фон всего слайдера (от края до края) */
    --slider-bg-content: transparent;       /* Фон области слайдов (1200px) */
    --slider-text: #222222;                 /* Цвет текста на слайдере */
    --slider-text-sub: #333333;             /* Цвет подзаголовка */
    --slider-accent: #222222;               /* Цвет акцентного слова */
    --slider-btn-bg: #806600;               /* Фон кнопки */
    --slider-btn-text: #ffcc00;             /* Текст кнопки */
    --slider-arrow-bg: rgba(0,0,0,0.15);    /* Фон стрелок */
    --slider-arrow-color: #222222;          /* Цвет стрелок */
    --slider-dot: rgba(0,0,0,0.3);          /* Цвет неактивных точек */
    --slider-dot-active: #222222;           /* Цвет активной точки */
    
    /* ========================================
       ЦВЕТОВЫЕ ПЕРЕМЕННЫЕ ШАПКИ (HEADER)
       ======================================== */
    --header-bg: #2c3e50;                       /* Фон шапки (тёмный) */
    --header-border: none;                      /* Граница снизу: none или '1px solid #333' */
    --header-shadow: 0 2px 15px rgba(0,0,0,0.3);/* Тень под шапкой */
    --header-height: 80px;                      /* Высота шапки на ПК */
    --header-height-mobile: 70px;               /* Высота шапки на мобильных */
    
    /* Текст в шапке */
    --header-logo-color: #ffffff;               /* Цвет логотипа */
    --header-logo-hover: #ffcc00;               /* Цвет логотипа при hover */
    --header-nav-color: #ffffff;                /* Цвет пунктов меню */
    --header-nav-hover: #ffcc00;                /* Цвет пунктов меню при hover */
    --header-phone-color: #ffffff;              /* Цвет номера телефона */
    --header-phone-hover: #ffcc00;              /* Цвет телефона при hover */
    --header-phone-icon: #ffcc00;               /* Цвет иконки телефона (акцент) */
    
    /* Бургер-меню */
    --header-burger-color: #ffffff;             /* Цвет линий бургера */
    --header-mobile-bg: #1a1a1a;                /* Фон мобильного меню */
    --header-mobile-link-color: #ffffff;        /* Цвет ссылок в мобильном меню */
    --header-mobile-link-hover: #ffcc00;        /* Цвет ссылок при hover */
    --header-mobile-phone-color: #ffcc00;       /* Цвет телефона в мобильном меню */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
	scroll-behavior: smooth; 
	scroll-padding-top: 80px; /* 👈 Отступ сверху при переходе по якорям */
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* === ТИПОГРАФИКА === */
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-heading); }
h1 { font-size: 42px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; text-transform: uppercase; }
h2.section-title { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 50px; color: var(--color-heading); }
h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; }

.accent { color: var(--color-accent); }

/* === КНОПКИ === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}
.btn-primary {
    background-color: var(--color-accent);
    color: #000;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
}

/* === ШАПКА === */
.header {
    background: var(--header-bg);
    box-shadow: var(--header-shadow);
    border-bottom: var(--header-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Логотип */
.logo {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: var(--header-logo-color);
    line-height: 1;
    transition: var(--transition);
}
.logo:hover {
    color: var(--header-logo-hover);
}

/* Меню навигации */
.nav { display: flex; gap: 30px; }
.nav a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: var(--header-nav-color);
    transition: var(--transition);
}
.nav a:hover { color: var(--header-nav-hover); }

/* Правая часть шапки (телефон + бургер) */
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: var(--header-phone-color);
    transition: var(--transition);
}
.header-phone:hover { color: var(--header-phone-hover); }
.header-phone i,
.mobile-phone-link i {
    margin-right: 8px;
    color: var(--header-phone-icon);
}

/* Бургер-кнопка */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.burger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--header-burger-color);
    transition: var(--transition);
    border-radius: 2px;
}
.burger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Телефон в мобильном меню (скрыт на ПК) */
.mobile-phone-link { 
    display: none; 
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* === СЛАЙДЕР (HERO) === */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--slider-bg-full);
}
.slider-container-custom {
    position: relative;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    color: var(--slider-text);
    background: var(--slider-bg-content);
}
.slide.active { opacity: 1; z-index: 1; }

.slide-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.slide-content-left {
    position: relative;
    z-index: 2;
    color: var(--slider-text);
}
.slide-content-left h1 { 
    color: var(--slider-text); 
}
.slide-content-left h1 .accent {
    color: var(--slider-accent);
}
.slide-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--slider-text-sub);
    opacity: 0.85;
}

.slide-content-left .btn-primary {
    background-color: var(--slider-btn-bg);
    color: var(--slider-btn-text);
}
.slide-content-left .btn-primary:hover {
    background-color: #000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.slide-content-right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}
.slide-image-placeholder {
    width: 100%;
    height: 350px;
    background: rgba(0, 0, 0, 0.05);
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.3);
}

.slider-arrow {
    position: absolute;
    bottom: 30px;
    background: transparent;
    border: none;
    color: var(--slider-arrow-color);
    cursor: pointer;
    z-index: 10;
    font-size: 30px;
    transition: var(--transition);
}
.slider-arrow:hover { 
    background: #222222; 
    color: #ffcc00; 
}
.prev { left: 20px; }
.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--slider-dot);
    cursor: pointer;
    transition: var(--transition);
}
.dot.active { 
    background: var(--slider-dot-active); 
    transform: scale(1.2); 
}

/* === СЕКЦИИ === */
.section { padding: 40px 0; }

/* === УСЛУГИ === */
.services { background: var(--color-bg-light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--color-bg-white);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--color-accent);
}

.service-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #34495e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}
.service-icon {
    font-size: 36px;
    color: #ffffff;
    transition: var(--transition);
}
.service-card:hover .service-icon-wrapper {
    background: var(--color-accent);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}
.service-card:hover .service-icon {
    color: #000000;
}

.service-card h3 {
    color: var(--color-heading);
    margin-bottom: 15px;
    font-size: 20px;
}
.service-card p {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.5;
}

/* === О НАС (3 КАРТОЧКИ) === */
.about-section {
    background: var(--color-bg-white);
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.about-card {
    background: var(--color-bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--color-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.about-card-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
    transition: var(--transition);
}
.about-card:hover .about-card-icon {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: scale(1.1);
}
.about-card h3 {
    color: var(--color-heading);
    margin-bottom: 15px;
    font-size: 22px;
}
.about-card p {
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    text-align: left;
}

/* === FAQ (АККОРДЕОН) === */
.faq-section { background: var(--color-bg-white); }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}
.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-heading);
    cursor: pointer;
    font-family: var(--font-body);
}
.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--color-accent);
}
.accordion-header.active i { transform: rotate(45deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--color-text-light);
}
.accordion-content p { padding-bottom: 20px; line-height: 1.6; }

/* === КОНТАКТЫ === */
.contacts-section { background: var(--color-bg-light); }
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.info-item i {
    font-size: 24px;
    color: var(--color-accent);
    margin-top: 4px;
}
.info-item strong { display: block; color: var(--color-heading); margin-bottom: 5px; }
.info-item a { color: var(--color-primary); font-weight: 600; }
.info-item a:hover { color: var(--color-accent); }

/* КРУГЛЫЕ ИКОНКИ МЕССЕНДЖЕРОВ */
.messengers-circle {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.messenger-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.messenger-circle i {
    color: #ffffff;  /* 👈 Белые иконки */
    margin-top: 0;
}

/* Фирменные цвета мессенджеров */
.messenger-circle.whatsapp { background: #25D366; }
.messenger-circle.whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.messenger-circle.telegram { background: #0088cc; }
.messenger-circle.telegram:hover {
    background: #0077b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.4);
}

.messenger-circle.vk { background: #0077FF; }
.messenger-circle.vk:hover {
    background: #0066dd;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 119, 255, 0.4);
}

.messenger-circle.max { background: #6c5ce7; }
.messenger-circle.max:hover {
    background: #5a4bd6;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(108, 92, 231, 0.4);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #eee;
}

/* === ФОРМА === */
.form-section { background: var(--color-bg-white); }
.repair-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: 10px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-heading);
}
.required { color: red; }
.form-group input, .form-group select, .form-group textarea {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
}
.btn-submit { width: 100%; font-size: 18px; padding: 16px; }
.form-status {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    min-height: 24px;
}
.form-status.success { color: #27ae60; }
.form-status.error { color: #e74c3c; }
/* === ЧЕКБОКС СОГЛАСИЯ === */
.captcha-group {
    margin-top: 15px;
    margin-bottom: 30px;
}
.consent-group {
    margin-top: 10px;
    margin-bottom: 20px;
}
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
}
.consent-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}
.consent-checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #fff;
    position: relative;
    transition: var(--transition);
    margin-top: 1px;
}
.consent-label:hover .consent-checkmark {
    border-color: var(--color-accent);
}
.consent-label input[type="checkbox"]:checked + .consent-checkmark {
    background: var(--color-accent);
    border-color: var(--color-accent);
}
.consent-label input[type="checkbox"]:checked + .consent-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #000;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.consent-text a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}
.consent-text a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Состояние фокуса для доступности */
.consent-label input[type="checkbox"]:focus + .consent-checkmark {
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.3);
}

/* === ПОДВАЛ === */
.footer {
    background: var(--color-primary);
    color: #fff;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
    color: var(--color-accent);
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-size: 18px;
}
.footer p, .footer li {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.5;
}
.footer-links a:hover { color: var(--color-accent); }
.social-links { display: flex; gap: 15px; flex-wrap: wrap; }
.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
}
.social-links a:hover { background: var(--color-accent); color: #000; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* === МОБИЛЬНАЯ КНОПКА === */
.mobile-sticky-call {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 999;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

/* ========================================
   СТРАНИЦА УСЛУГИ (remont-noutbukov.html)
   ======================================== */

/* === ХЛЕБНЫЕ КРОШКИ === */
.breadcrumbs-section {
    background: var(--color-bg-light);
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: var(--color-text-light);
}
.breadcrumbs a {
    color: var(--color-primary);
    transition: var(--transition);
}
.breadcrumbs a:hover {
    color: var(--color-accent);
}
.breadcrumbs .separator {
    color: #ccc;
}
.breadcrumbs .current {
    color: var(--color-text);
    font-weight: 500;
}

/* === HERO-БЛОК УСЛУГИ === */
.service-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a252f 100%);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}
.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.service-hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--color-primary);
}
.service-hero h1 {
    color: #fff;
    margin-bottom: 20px;
}
.service-hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}
.service-hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline:hover {
    background: #fff;
    color: var(--color-primary);
}
.btn-outline i {
    color: inherit;
}

/* === ПРЕИМУЩЕСТВА УСЛУГИ === */
.service-advantages {
    background: var(--color-bg-white);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.advantage-card {
    background: var(--color-bg-light);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.advantage-card h3 {
    color: var(--color-heading);
    font-size: 18px;
    margin-bottom: 10px;
}
.advantage-card p {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* === ПРАЙС-ЛИСТ === */
.price-section {
    background: var(--color-bg-light);
}
.price-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
}
.price-table-wrapper {
    background: var(--color-bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow-x: auto;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}
.price-table thead {
    background: var(--color-primary);
    color: #fff;
}
.price-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-heading);
}
.price-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
.price-table tbody tr {
    transition: var(--transition);
}
.price-table tbody tr:hover {
    background: var(--color-bg-light);
}
.price-table tbody tr:last-child td {
    border-bottom: none;
}
.price-table .price-free {
    color: #27ae60;
    font-weight: 700;
}
.price-cta {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background: var(--color-bg-white);
    border-radius: 10px;
}
.price-cta p {
    margin-bottom: 15px;
    color: var(--color-text);
    font-size: 16px;
}

/* === ЭТАПЫ РАБОТЫ === */
.steps-section {
    background: var(--color-bg-white);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.step-card {
    background: var(--color-bg-light);
    padding: 30px 25px;
    border-radius: 10px;
    position: relative;
    transition: var(--transition);
    border-left: 4px solid var(--color-accent);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}
.step-card h3 {
    color: var(--color-heading);
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 18px;
}
.step-card p {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* === CTA-БЛОК === */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a252f 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.cta-content {
    max-width: 700px;
    margin: 0 auto;
}
.cta-content h2 {
    color: #fff;
    margin-bottom: 15px;
}
.cta-content p {
    font-size: 17px;
    margin-bottom: 25px;
    opacity: 0.9;
}
.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* === АДАПТИВНОСТЬ ДЛЯ СТРАНИЦЫ УСЛУГИ === */
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 40px 0;
    }
    .service-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    .service-hero-subtitle {
        font-size: 16px;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .price-table th,
    .price-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
    .cta-content h2 {
        font-size: 28px;
    }
}
/* ========================================
   СТРАНИЦА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ
   ======================================== */

/* Hero-блок политики */
.policy-hero {
    background: var(--color-bg-light);
    padding: 50px 0 30px;
    border-bottom: 1px solid #ddd;
}
.policy-hero h1 {
    color: var(--color-heading);
    font-size: 36px;
    margin-bottom: 15px;
}
.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: var(--color-text-light);
    font-size: 14px;
}
.policy-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.policy-meta i {
    color: var(--color-accent);
}
.policy-meta a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: var(--transition);
}
.policy-meta a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Навигация по разделам (содержание) */
.policy-toc {
    background: var(--color-bg-white);
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}
.policy-toc h2 {
    color: var(--color-heading);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
}
.toc-list {
    list-style: none;
    counter-reset: toc-counter;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 👈 3 колонки */
    gap: 10px 30px;
    max-width: 1200px; /* 👈 Убрали ограничение ширины */
}
.toc-list li {
    counter-increment: toc-counter;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    transition: var(--transition);
}
.toc-list li:hover {
    border-bottom-color: var(--color-accent);
}
.toc-list li::before {
    content: counter(toc-counter) ". ";
    color: var(--color-accent);
    font-weight: 700;
    margin-right: 5px;
}
.toc-list a {
    color: var(--color-text);
    font-size: 15px;
    transition: var(--transition);
}
.toc-list a:hover {
    color: var(--color-primary);
}

/* Содержимое политики */
.policy-content {
    background: var(--color-bg-white);
    padding: 50px 0 80px;
}
.policy-content .container {
    max-width: 1200px;
}
.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.policy-section:last-child {
    border-bottom: none;
}
.policy-section h2 {
    color: var(--color-heading);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 15px;
    border-left: 4px solid var(--color-accent);
}
.policy-section p {
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.8; /* 👈 Было 1.7, стало 1.8 для лучшей читаемости */
    margin-bottom: 12px;
    text-align: justify;
    hyphens: auto; /* 👈 Автоматические переносы слов */
}
.policy-section ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}
.policy-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.6;
}
.policy-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}
.policy-section a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: var(--transition);
}
.policy-section a:hover {
    color: var(--color-accent);
}
.policy-section strong {
    color: var(--color-heading);
    font-weight: 600;
}

/* Адаптивность для страницы политики */
@media (max-width: 992px) {
    .toc-list {
        grid-template-columns: repeat(2, 1fr); /* 👈 На планшетах 2 колонки */
    }
}
@media (max-width: 768px) {
    .policy-hero h1 {
        font-size: 28px;
    }
    .toc-list {
        grid-template-columns: 1fr;
    }
    .policy-section h2 {
        font-size: 20px;
    }
    .policy-section p,
    .policy-section ul li {
        font-size: 14px;
        text-align: left;
    }
    .policy-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Стили для печати */
@media print {
    .header,
    .footer,
    .breadcrumbs-section,
    .policy-toc,
    .mobile-sticky-call,
    .policy-meta a {
        display: none !important;
    }
    .policy-hero {
        padding: 0;
        border-bottom: none;
    }
    .policy-content {
        padding: 20px 0;
    }
    .policy-section {
        page-break-inside: avoid;
    }
    body {
        font-size: 12pt;
        color: #000;
    }
}
/* === АДАПТИВНОСТЬ === */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .slide-inner {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
        text-align: center;
    }
    .slide-content-left {
        order: 2;
    }
    .slide-content-right {
        display: flex;
        order: 1;
    }
    .slide-image {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 30px; }
    h2.section-title { font-size: 28px; margin-bottom: 30px; }
    
    /* Шапка на мобильных */
    .header-container { height: var(--header-height-mobile); }
    .nav {
        position: fixed;
        top: var(--header-height-mobile);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height-mobile));
        background: var(--header-mobile-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    .nav.active { left: 0; }
    .nav a { 
        font-size: 20px; 
        color: var(--header-mobile-link-color);
    }
    .nav a:hover { color: var(--header-mobile-link-hover); }
    .mobile-phone-link { 
        display: block; 
        font-size: 22px; 
        font-weight: 700; 
        color: var(--header-mobile-phone-color);
    }
    
    .header-phone { display: none; }
    .burger-btn { display: flex; }
    
    /* Слайдер на мобильных */
    .hero-slider { height: 560px; }
    .slide-image { max-width: 320px; }
    .slide-content-left h1 { font-size: 28px; }
    .slide-subtitle { font-size: 16px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 16px; bottom: 20px; }
    .slider-dots { bottom: 20px; }
    
    /* Секции на мобильных */
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .repair-form { padding: 25px; }
    
    /* Подвал на мобильных */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    
    /* Мобильная кнопка звонка */
    .mobile-sticky-call { display: flex; align-items: center; gap: 10px; }
    body { padding-bottom: 80px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    h1 { font-size: 26px; }
    .slide-subtitle { font-size: 16px; }
    .slide-image { max-width: 260px; }
    .info-item { flex-direction: column; gap: 5px; }
}