/*
Theme Name: ОЛИМП АРЕНДА
Theme URI: https://olimparenda.ru
Author: Olimp Group
Description: Кастомная тема аренды строительного оборудования
Version: 2.4
License: GPL v2 or later
Text Domain: olimp
*/

/* ---------- Базовые переменные (обновлены под новый бренд) ---------- */
:root {
    --primary: #29265b;          /* тёмно-синий (основной) */
    --primary-dark: #1a163b;     /* затемнённый primary */
    --accent: #f7b032;           /* золотисто-оранжевый (акцент) */
    --accent-hover: #e0a020;     /* приглушённый акцент при наведении */
    --text: #1A1F2C;
    --text-light: #64748B;
    --bg: #FFFFFF;
    --bg-secondary: #F8FAFE;
    --bg-tertiary: #F0F4FA;
    --border: #E2E8F0;
    --success: #10B981;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Типографика ---------- */
h1, h2, h3, h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 24px; }
h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 48px;
    text-align: center;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ---------- Контейнер ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 48px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    box-shadow: 0 4px 15px rgba(247, 176, 50, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 176, 50, 0.5);
    color: white;
}
.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: white;
}
.btn-outline-light {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    backdrop-filter: blur(10px);
}
.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* ---------- Шапка ---------- */
.site-header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px; /* Увеличена высота */
    min-height: 120px;   /* Минимальная высота для просторности */
}
.logo img {
    height: 100px;
    width: auto;
    vertical-align: middle;
}
@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }
}
@media (max-width: 480px) {
    .logo img {
        max-height: 50px; /* Адаптация для мобильных */
    }
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.header-phone {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-icon { display: none; font-size: 24px; cursor: pointer; color: var(--primary); }

@media (max-width: 1024px) {
    .header-phone span { display: none; }
    .header-phone i { font-size: 22px; margin-right: 0; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: 20px;
        gap: 16px;
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 16px; padding: 8px 0; }
    .menu-icon { display: block; }
}

/* ---------- Герой ---------- */
.hero {
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 176, 50, 0.2);
    border: 1px solid rgba(247, 176, 50, 0.3);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}
.hero h1 { color: white; }
.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}
.hero-subtitle a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,0.5);
}
.hero-subtitle a:hover { opacity: 0.8; }
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 48px 0;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}
.stat-item i { color: var(--accent); font-size: 18px; }
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}
.guarantee-badge {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.9;
}

/* ---------- Преимущества ---------- */
.advantages { background: var(--bg-secondary); padding: 100px 0; }
.advantages-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.adv-item {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    flex: 1 1 320px;
    max-width: 380px;
}
.adv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.adv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
}
.adv-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.adv-text { color: var(--text-light); }

/* ---------- Карточки оборудования ---------- */
.equipment-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin: 40px 0; }
.equip-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    flex: 1 1 280px;
    max-width: 360px;
    position: relative;
}
.equip-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.equip-image {
    height: 200px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.equip-image img { width: 100%; height: 100%; object-fit: cover; }
.equip-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}
.equip-info { padding: 24px; }
.equip-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.equip-price { color: var(--accent); font-weight: 800; font-size: 20px; margin: 12px 0; }
.equip-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.equip-actions .btn { flex: 1; padding: 10px; font-size: 13px; }

/* ---------- Карусель оборудования (главная) ---------- */
.equipment-swiper .swiper-slide { width: 300px; height: auto; }
@media (max-width: 480px) { .equipment-swiper .swiper-slide { width: 260px; } }
.equipment-swiper .equip-card { height: 100%; }
.equipment-swiper .swiper-button-prev,
.equipment-swiper .swiper-button-next {
    color: var(--primary);
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.equipment-swiper .swiper-button-prev:hover,
.equipment-swiper .swiper-button-next:hover {
    background: var(--accent);
    color: white;
}
.equipment-swiper .swiper-button-prev::after,
.equipment-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

/* ---------- Фильтр оборудования ---------- */
.equipment-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 40px;
    background: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ---------- Услуги ---------- */
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin: 40px 0; }
.service-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    flex: 1 1 220px;
    max-width: 280px;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: transform 0.3s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    transform: rotateY(360deg);
}
.service-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.service-text { color: var(--text-light); font-size: 14px; }

/* ---------- Кейсы ---------- */
.cases { background: var(--bg-secondary); padding: 80px 0; }
.cases-slider { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.case-slide {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}
.case-slide img { width: 100%; height: 100%; object-fit: cover; }
.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 22, 59, 0.95), transparent);
    padding: 48px 40px 40px;
    color: white;
}
.case-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.case-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.case-info { display: flex; gap: 24px; flex-wrap: wrap; opacity: 0.9; }

/* ---------- Клиенты ---------- */
.clients-swiper { padding: 20px 0; }
.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    padding: 20px;
    transition: var(--transition);
}
.client-logo:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.client-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}
.client-logo:hover img { filter: grayscale(0%); opacity: 1; }

/* ---------- Карта и филиалы ---------- */
.branches-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.branch-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    flex: 1 1 250px;
    max-width: 320px;
    position: relative;
}
.branch-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.branch-card.featured::before {
    content: 'Главный офис';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.branch-card h3 { font-size: 20px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.branch-card h3 i { color: var(--accent); }
.branch-card p a { color: var(--text-light); text-decoration: none; }
.branch-card p a:hover { color: var(--accent); }
.branch-card a[href^="tel"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}
.branch-card a[href^="tel"]:hover { color: var(--accent); }

/* ---------- Документы ---------- */
.documents-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.doc-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    flex: 1 1 220px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.doc-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doc-card i { font-size: 40px; color: var(--accent); }
.doc-card h3 { font-size: 18px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--accent); }
.faq-item.active { border-color: var(--accent); box-shadow: var(--shadow); }
.faq-question {
    padding: 24px 28px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.3s;
}
.faq-item.active .faq-question { color: var(--accent); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 500px; padding: 0 28px 24px; }
.faq-answer p { color: var(--text-light); line-height: 1.7; }

/* ---------- Формы CF7 ---------- */
.wpcf7 .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.wpcf7 .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wpcf7 label { font-weight: 600; font-size: 14px; color: var(--text); }
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    transition: var(--transition);
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(247, 176, 50, 0.2);
    outline: none;
}
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 48px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.wpcf7 input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 176, 50, 0.5);
}
.wpcf7 .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
}
.wpcf7 .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

/* ---------- Футер ---------- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 800; color: white; }
.footer-logo span { color: var(--accent); }
.footer-title { color: white; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-contacts p { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-contacts a { color: white; text-decoration: none; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}

/* ---------- Плавающие кнопки ---------- */
.floating-call {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border-radius: 60px;
    padding: 16px 28px;
    font-weight: 700;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(247, 176, 50, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-size: 15px;
}
.floating-call:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(247, 176, 50, 0.5);
}
.scroll-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    background: var(--primary);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    border: none;
    font-size: 20px;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent); transform: translateY(-4px); }

/* ---------- Модальные окна ---------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 22, 59, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}
.modal.active { display: flex; }
.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px 40px;
    position: relative;
    animation: modalIn 0.3s ease;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-light);
    transition: var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--text); transform: rotate(90deg); }
.modal-title { font-size: 28px; margin-bottom: 12px; text-align: center; }
.modal-subtitle { color: var(--text-light); text-align: center; margin-bottom: 32px; }

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

/* ---------- Хлебные крошки ---------- */
.breadcrumbs {
    background: var(--bg-secondary);
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--border); }

/* ---------- Progress Bar ---------- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    z-index: 1001;
    width: 0;
    transition: width 0.1s;
}

/* ---------- Блок Max ---------- */
.max-block {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    margin-top: 60px;
    text-align: center;
}
.max-block h2 { margin-bottom: 16px; }
.max-block p { color: var(--text-light); margin-bottom: 32px; font-size: 18px; }
.max-block .qr-code { max-width: 200px; margin: 0 auto 32px; }
.max-block .qr-code img { width: 100%; border-radius: var(--radius); }

/* ---------- Калькулятор ---------- */
.calculator-wrapper {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}
.calc-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.calc-field label { font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.calc-field label i { color: var(--accent); }
.calc-field select,
.calc-field input {
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: white;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}
.calc-field select:focus,
.calc-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(247, 176, 50, 0.2);
}
.calc-result {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 32px;
    position: relative;
    overflow: hidden;
}
.calc-result::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}
.calc-price { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin: 16px 0; position: relative; z-index: 1; }

/* ---------- Промо-блоки ---------- */
.promo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}
.promo-text { max-width: 600px; }
.promo-text ul { list-style: none; padding: 0; margin: 20px 0; }
.promo-text ul li::before { content: "✓ "; color: var(--accent); font-weight: bold; }
.promo-text .btn { margin-top: 20px; }

/* ---------- Карусель блога ---------- */
.blog-swiper .swiper-wrapper { padding-bottom: 40px; }
.blog-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-thumb { height: 180px; overflow: hidden; border-radius: var(--radius); margin-bottom: 15px; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card h3 { font-size: 18px; margin-bottom: 10px; }
.blog-card h3 a { text-decoration: none; color: var(--text); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--text-light); font-size: 14px; }

/* ---------- Сетка видео ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.video-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; }
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-card h3 { font-size: 16px; font-weight: 600; padding: 14px; margin: 0; }
@media (max-width: 768px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- Одиночная страница оборудования ---------- */
.single-equip-thumb {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}
@media (max-width: 768px) { .single-equip-thumb { max-width: 100%; } }

/* ---------- Адаптив ---------- */
@media (max-width: 768px) {
    .hero { padding: 80px 0; }
    .hero-stats { flex-direction: column; align-items: center; }
    .stat-item { width: 100%; max-width: 300px; justify-content: center; }
    .guarantee-badge { flex-direction: column; gap: 12px; }
    .case-slide { height: 400px; }
    .case-overlay { padding: 32px 24px 24px; }
    .case-title { font-size: 22px; }
    .floating-call { bottom: 20px; right: 20px; left: 20px; justify-content: center; }
    .scroll-top { bottom: 90px; left: 20px; }
}

/* ---------- Общие отступы ---------- */
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 60px 0; } }
/* Исправление отступа для списков на мобильных */
@media (max-width: 768px) {
    .content ol,
    .content ul {
        padding-left: 20px;
        margin-left: 0;
    }
}