
/* ========================================
   RESET & BASE STYLES
======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3c6b;
    --primary-light: #2554a0;
    --accent: #cc3333;
    --accent-light: #d94d4d;
    --accent-dark: #a82929;
    --white: #ffffff;
    --light-bg: #f4f7fc;
    --text-dark: #1a1f2e;
    --text-mid: #3d4a5c;
    --text-light: #6b7a90;
    --border: #dce3ef;
    --success: #18a85f;
    --gradient-hero: linear-gradient(135deg, #0a1f44 0%, #1a3c6b 50%, #1e4d8c 100%);
    --shadow-card: 0 8px 32px rgba(26, 60, 107, 0.12);
    --shadow-hover: 0 16px 48px rgba(26, 60, 107, 0.22);
    --radius-card: 16px;
    --radius-btn: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   SCROLLBAR
======================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f4f8; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ========================================
   UTILITIES
======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 60, 107, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(26, 60, 107, 0.15);
    margin-bottom: 16px;
}

.section-badge.accent {
    background: rgba(232, 80, 10, 0.08);
    color: var(--accent);
    border-color: rgba(232, 80, 10, 0.2);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--accent);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 640px;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 80, 10, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.header-catalog {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}
.header-catalog:hover{
    color: var(--accent);
}
/* ========================================
   TOP BAR
======================================== */
.top-bar {
    background: var(--primary);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.top-bar-links a:hover { color: var(--white); }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.working-hours {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   HEADER
======================================== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(26, 60, 107, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 56px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.header-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-weight: 600;
    font-size: 14px;
}

.header-delivery i { font-size: 18px; }

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}
.header-phone:hover { color: var(--accent); }

.header-contact-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-contact-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.header-contact-links a:hover { color: var(--primary); }
.header-contact-links .tg { color: #0088cc; }
.header-contact-links .max { color: var(--accent); }
.header-contact-links .maxx { color: #294cf9; }
.header-contact-links .maxx svg {
    width: 20px;
    height: 20px;
    fill: #294cf9;
}
.header-contact-links .maxx:hover svg { fill: var(--primary); }

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}
.nav a:hover { color: var(--primary); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO / BANNER
======================================== */
.hero {
    background: var(--gradient-hero);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/hero-bg.jpg') center center / cover no-repeat;
    opacity: 1;
    z-index: 0;
}

.hero::after {
    content: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content {}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,80,10,0.2);
    color: #ffa07a;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(232,80,10,0.4);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero-title-highlight {
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

.hero-usp {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    font-weight: 500;
}

.usp-icon {
    width: 38px;
    height: 38px;
    background: rgba(232,80,10,0.2);
    border: 1px solid rgba(232,80,10,0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 15px;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-product-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.hero-product-image {
    width: 260px;
    height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-product-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* ========================================
   ADVANTAGES STRIP
======================================== */
.advantages-strip {
    background: #70bfdd;
    padding: 18px 0;
}

.advantages-strip .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
}

.adv-item i {
    font-size: 20px;
    opacity: 0.85;
}

/* ========================================
   CATALOG
======================================== */
.catalog {
    padding: 96px 0;
    background: var(--light-bg);
}

.catalog-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

/* ---- NEW CARD HEADER LAYOUT ---- */
.product-card-header {
    background: var(--gradient-hero);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.product-card-header::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.product-header-info {
    padding: 24px 20px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.product-header-image {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px 16px 0;
    position: relative;
    z-index: 2;
}

.product-header-image img {
    width: 160px;
    height: 168px;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.45));
    transition: var(--transition);
}

.product-card:hover .product-header-image img {
    transform: scale(1.06);
}

.product-type-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.25);
    margin-bottom: 10px;
    align-self: flex-start;
}

.product-model {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1;
}

.product-full-name {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
    font-weight: 400;
}

.product-price-block {
    margin-top: 16px;
}

.product-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-light);
    line-height: 1;
}

.product-price-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.product-price-min {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.12);
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-card-body {
    padding: 24px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* убрана старая .product-image-area — фото теперь в хедере */
.product-image-area { display: none; }
.product-img { display: none; }

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.spec-item {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border);
}

.spec-label {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
}

.spec-label i { color: var(--primary); font-size: 10px; }

.spec-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.product-features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-mid);
}

.product-feature i {
    color: var(--success);
    font-size: 13px;
    flex-shrink: 0;
}

.product-card-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 20px;
}

.product-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.product-card-actions .btn {
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.btn-order {
    background: var(--accent);
    color: var(--white);
}
.btn-order:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,80,10,0.35);
}

.btn-consult {
    background: var(--primary);
    color: var(--white);
}
.btn-consult:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-kp {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-kp:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   WHY US / BENEFITS
======================================== */
.why-us {
    padding: 96px 0;
    background: var(--white);
}

.why-us-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-left {}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 14px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.benefit-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 20px rgba(26,60,107,0.08);
    transform: translateX(4px);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-hero);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
}

.benefit-content {}

.benefit-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.benefit-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.why-us-right {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--gradient-hero);
    border-radius: 16px;
    padding: 28px 24px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.stat-card.accent-card {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

.stat-num {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.distributor-badge {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border: 2px solid var(--primary-light);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.distributor-badge i {
    font-size: 32px;
    color: var(--primary);
}

.distributor-text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.distributor-text span {
    font-size: 13px;
    color: var(--text-light);
}

/* ========================================
   REVIEWS
======================================== */
.reviews {
    padding: 96px 0;
    background: var(--light-bg);
}

.reviews-header {
    text-align: center;
    margin-bottom: 60px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.reviewer-info {}

.reviewer-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.reviewer-company {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
    color: #f59e0b;
    font-size: 15px;
}

.review-text {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    flex: 1;
}

.review-product {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-recommendation {
    background: linear-gradient(135deg, #0a1f44 0%, #1a3c6b 100%);
    border-radius: var(--radius-card);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    color: var(--white);
}

.review-recommendation i {
    font-size: 40px;
    color: var(--accent-light);
    flex-shrink: 0;
    margin-top: 4px;
}

.rec-content {}

.rec-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.rec-text {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.7;
}

.rec-signature {
    margin-top: 14px;
    font-size: 13px;
    opacity: 0.7;
    font-style: italic;
}

/* ========================================
   ABOUT COMPANY
======================================== */
.about {
    padding: 96px 0;
    background: var(--white);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-right {}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.04);
}

.about-img.tall {
    grid-row: span 2;
}

.about-img.tall img {
    height: 416px;
}

.about-text {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.8;
    margin: 24px 0;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.about-fact {
    text-align: center;
    padding: 16px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.about-fact-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.about-fact-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
    line-height: 1.4;
}

.clients-strip {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.clients-title {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 24px;
    text-align: center;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.client-logo {
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
    max-height: 36px;
    width: auto;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
}

/* ========================================
   OBJECTS / PORTFOLIO
======================================== */
.objects {
    padding: 96px 0;
    background: var(--light-bg);
}

.objects-header {
    text-align: center;
    margin-bottom: 60px;
}

.objects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.object-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.object-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.object-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.object-card:hover .object-img {
    transform: scale(1.05);
}

.object-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 31, 68, 0.9));
    padding: 20px 16px 16px;
    color: var(--white);
}

.object-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.object-detail {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 3px;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: rgba(232,80,10,0.12);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-inner .section-title {
    color: var(--white);
}

.cta-inner .section-subtitle {
    color: rgba(255,255,255,0.75);
    margin: 16px auto 40px;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-input {
    flex: 1;
    min-width: 220px;
    padding: 14px 20px;
    border-radius: var(--radius-btn);
    border: 2px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.cta-input::placeholder { color: rgba(255,255,255,0.5); }

.cta-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.15);
}

.cta-privacy {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}
.cta-privacy a{
    color: rgba(255,255,255,0.45);
}

/* ========================================
   CONTACTS
======================================== */
.contacts {
    padding: 96px 0;
    background: var(--white);
}

.contacts-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-value a:hover { color: var(--primary); }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
    color: var(--white);
}

.social-max { background: linear-gradient(45deg, #56cafd, #294cf9, #983ddb); }
.social-tg { background: #0088cc; }
.social-vk { background: #4c75a3; }
.social-wa { background: #25d366; }
.social-tg:hover, .social-vk:hover, .social-wa:hover,.social-max:hover { transform: translateY(-3px); filter: brightness(1.1); }

.social-max svg {
    fill: white;
    transition: .3s;
    width: 30px;
    height: 30px;
}

.contact-form {
    background: var(--light-bg);
    border-radius: var(--radius-card);
    padding: 40px;
    border: 1px solid var(--border);
}

.contact-form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 60, 107, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: #0a1f44;
    padding: 64px 0 32px;
    color: rgba(255,255,255,0.75);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: white;
}

.footer-logo-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 13px;
}
.footer-copy a {
    color: rgba(255, 255, 255, 0.75);
}
.footer-copy a:hover {
     color: var(--accent-light); 
}
.footer-hoocon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ========================================
   MODAL
======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 68, 0.7);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 680px;
    height: 90vh;          /* фиксированная высота */
    display: flex;
    flex-direction: column;
    overflow: hidden;      /* сам НЕ скроллится */
    position: relative;
    animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.88) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    background: var(--gradient-hero);
    padding: 0;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 150px; /* фото фиксированная ширина */
    flex-shrink: 0;        /* не сжимается */
    min-height: 180px;
}

.modal-header-info {
    padding: 28px 24px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.modal-header-image {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 16px 16px 0; /* сверху отступ — место под крестик */
    position: relative;
    z-index: 2;
}

.modal-header-image img {
    width: 120px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10; /* поверх фото и всех элементов шапки */
}
.modal-close:hover { background: rgba(255,255,255,0.25); color: white; }

.modal-type-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.modal-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
}

.modal-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-top: 5px;
}

.modal-price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.modal-price {
    font-size: 30px;
    font-weight: 900;
    color: var(--accent-light);
}

.modal-price-info {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.modal-body {
    padding: 28px 32px;
    overflow-y: auto;  /* ТОЛЬКО эта зона скроллится */
    overflow-x: hidden;
    flex: 1;           /* занимает всё пространство между шапкой и футером */
    min-height: 0;     /* важно для flex: без этого flex-child не скроллится */
}

.modal-section {
    margin-bottom: 28px;
}

.modal-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section-title i {
    color: var(--primary);
}

.modal-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.modal-specs-table tr:nth-child(odd) {
    background: var(--light-bg);
}

.modal-specs-table td {
    padding: 10px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.modal-specs-table td:first-child {
    color: var(--text-light);
    font-weight: 500;
    width: 45%;
}

.modal-specs-table td:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

.modal-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-mid);
}

.modal-feature i {
    color: var(--success);
    margin-top: 2px;
    flex-shrink: 0;
}

.modal-scope-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.scope-tag {
    background: var(--light-bg);
    border: 1px solid var(--border);
    color: var(--text-mid);
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scope-tag i { color: var(--primary); font-size: 11px; }

/* Gallery in modal */
.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.modal-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    position: relative;
    cursor: zoom-in;
    transition: var(--transition);
    background: var(--light-bg);
}

.modal-gallery-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(26,60,107,0.18);
    transform: translateY(-2px);
}

.modal-gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    display: block;
    padding: 8px;
    transition: var(--transition);
}

.modal-gallery-item:hover img {
    transform: scale(1.03);
}

.modal-gallery-caption {
    padding: 7px 10px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    border-top: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.lightbox-overlay.active { display: flex; }

.lightbox-img {
    max-width: 92vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
    animation: modalIn 0.25s ease;
}

.lightbox-caption {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    font-size: 22px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.modal-actions {
    display: flex;
    gap: 12px;
    padding: 20px 32px;
    background: var(--light-bg);
    border-top: 2px solid var(--border);
    border-radius: 0 0 20px 20px;
    flex-shrink: 0;    /* не сжимается — всегда виден внизу */
}

.modal-actions .btn {
    flex: 1;
    justify-content: center;
}

/* ========================================
   FORM MODAL
======================================== */
.form-modal {
    max-width: 520px;
}

/* form-modal: однoколоночный хедер без фото, авто-высота */
.form-modal {
    height: auto;
    max-height: 90vh;
    overflow: hidden;  /* скролл ВНУТРИ, не ломает скруглённые углы */
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}
.form-modal > .modal-header {
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
}
.form-modal > .modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.form-modal > .modal-body::-webkit-scrollbar { width: 5px; }
.form-modal > .modal-body::-webkit-scrollbar-track { background: transparent; }
.form-modal > .modal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.form-modal .modal-header {
    display: block;
    padding: 28px 32px 24px;
    min-height: unset;
    flex-shrink: unset;
}

.form-modal .modal-title {
    font-size: 22px;
    text-align: center;
}

.form-modal .modal-type-badge {
    display: none;
}

.form-modal .modal-subtitle {
    display: none;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(24, 168, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--success);
    margin: 0 auto 20px;
}

.success-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.success-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   SCROLL TO TOP
======================================== */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(26,60,107,0.3);
}

.scroll-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.scroll-top.visible { display: flex; }

/* ========================================
   STICKY CTA BUTTON (MOBILE)
======================================== */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 800;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.sticky-cta .btn {
    width: 100%;
    justify-content: center;
}

/* ========================================
   MOBILE MENU
======================================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 10001; /* перекрывает top-bar и header */
    padding: 24px;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}
/* скрываем top-bar когда мобильное меню открыто */
body.menu-open .top-bar {
    display: none;
}

.mobile-menu.open { display: flex; }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ========================================
   GUARANTEE BADGES
======================================== */
.guarantee-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    flex: 1;
    min-width: 180px;
}

.guarantee-badge i {
    font-size: 24px;
    color: var(--primary);
}

.guarantee-badge-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.guarantee-badge-text span {
    font-size: 12px;
    color: var(--text-light);
}

/* ==========================================
   MODAL CONTENT TYPOGRAPHY
   ========================================== */
.modalform {
    margin: 0 auto;
    max-width: 1100px;
    box-shadow: 0 .4rem 50px rgb(0 0 0 / 10%);
    border-radius: 22px;
    width: 100%;
    padding: 40px;
    background: #FFFFFF;
}
.modalform .title {
    display: block;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
    padding-right:30px;
}

/* Основной блок текста */
.modalform .textBl {
    margin-top: 20px;
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
}

/* Параграфы */
.modalform .textBl p {
    margin-bottom: 16px;
}

.modalform .textBl p:last-child {
    margin-bottom: 0;
}

/* Ссылки внутри текста (если будут) */
.modalform .textBl a {
    color: #0056b3; /* Ваш основной цвет ссылки */
    text-decoration: underline;
    transition: color 0.2s ease;
}

.modalform .textBl a:hover {
    color: #003d80;
    text-decoration: none;
}

/* Жирный текст */
.modalform .textBl strong,
.modalform .textBl b {
    font-weight: 700;
    color: #000000;
}

/* Списки (ul, ol) */
.modalform .textBl ul,
.modalform .textBl ol {
    margin: 16px 0;
    padding-left: 25px;
}

/* Элементы списка */
.modalform .textBl li {
    margin-bottom: 8px;
    position: relative;
}

.modalform .textBl li:last-child {
    margin-bottom: 0;
}

/* Кастомные маркеры для ul (опционально, делает их аккуратнее) */
.modalform .textBl ul {
    list-style: none;
    padding-left: 0;
}

.modalform .textBl ul li {
    padding-left: 25px;
}

.modalform .textBl ul li::before {
    content: "•";
    color: #0056b3; /* Цвет маркера */
    font-weight: bold;
    font-size: 20px;
    line-height: 1.4;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Заголовки внутри текста (если вдруг добавите h3-h4) */
.modalform .textBl h3,
.modalform .textBl h4 {
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #000;
}

.modalform .textBl h3 {
    font-size: 20px;
}

.modalform .textBl h4 {
    font-size: 18px;
}
.modal-body .descr{    
    color:var(--text-light);
}
.descr{
    margin-top: 10px;
    font-size:12px;
    text-align:center;
    margin-top:12px;
    display: block;
}
.descr a{
    color: var(--accent);
}
@media (max-width: 900px) {
    .modalform{        
        padding: 20px;
    }
    .modalform .title {
        font-size: 20px;
    }
    .modalform .textBl {
        font-size: 14px;
        line-height: 1.3;
    }
}
/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1100px) {
    .footer{
        padding-bottom: 80px;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-image-wrap { display: none; }
    .why-us-inner { grid-template-columns: 1fr; gap: 48px; }
    .about-inner { grid-template-columns: 1fr; gap: 48px; }
    .contacts-inner { grid-template-columns: 1fr; gap: 40px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .objects-grid { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .hamburger { display: flex; }
    .header-delivery { display: none; }
    .sticky-cta { display: block; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .mobHide{display: none;}
    .products-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .about-image-grid { grid-template-columns: 1fr 1fr; }
    .about-img.tall img { height: 200px; }
    .objects-grid { grid-template-columns: 1fr; }
    .top-bar .container { flex-direction: column; align-items: flex-start; }
    .header .container { flex-wrap: wrap; padding: 16px;}
    
    .modal { height: 92vh; }
    .modal-body { padding: 16px; }
    .modal-header { grid-template-columns: 1fr 100px; min-height: 160px; }
    .modal-header-info { padding: 16px 8px 14px 16px; }
    .modal-header-image { width: 100px; padding: 40px 10px 10px 0; }
    .modal-header-image img { width: 86px; height: 96px; }
    .form-modal .modal-header { padding: 20px 16px 16px; }
    .modal-actions { padding: 12px 16px; gap: 8px; flex-direction: column; }
    .about-facts { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-title { font-size: 28px; }
}

/* ========================================
   CERTIFICATION BLOCK
======================================== */
.cert-block {
    padding: 80px 0 60px;
    background: var(--white);
}

.cert-para {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 16px;
}

/* Аккордион */
.cert-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* .open управляется через JS: accordion.style.maxHeight = scrollHeight + 'px' */

/* Список документов */
.cert-docs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 8px;
    padding: 20px 24px;
    background: var(--light-bg);
    border-radius: var(--radius-card);
    border-left: 4px solid var(--accent);
}

.cert-docs-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.55;
}

.cert-docs-list li i {
    color: var(--success);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Заголовок блока применения */
.cert-apply-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 28px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-apply-title i { color: var(--primary); }

/* Сетка применения */
.cert-apply-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.cert-apply-item {
    background: var(--light-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition);
}

.cert-apply-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.cert-apply-icon {
    width: 44px;
    height: 44px;
    background: rgba(26, 60, 107, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.cert-apply-text {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.5;
    font-weight: 500;
}

/* Кнопка аккордиона */
.cert-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.cert-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    padding: 10px 28px;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: var(--transition);
}

.cert-toggle-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.cert-toggle-btn i {
    transition: transform 0.35s ease;
}

.cert-toggle-btn.open i {
    transform: rotate(180deg);
}

/* Адаптив */
@media (max-width: 900px) {
    .cert-apply-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .cert-apply-grid { grid-template-columns: 1fr; }
}

/* ========================================
   DRIVES INFO BLOCK
======================================== */
.drives-block {
    padding: 80px 0 60px;
    background: var(--light-bg);
}

/* Сетка 4 колонки для блоков характеристик */
.drives-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .drives-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .drives-grid-4 { grid-template-columns: 1fr; }
}
/* ========================================
   FAQ SECTION
======================================== */
.faq-section {
    padding: 96px 0;
    background: var(--white);
}

.faq-header {
    text-align: center;
    margin-bottom: 56px;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.25s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question.active {
    color: var(--accent);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--primary);
    transition: transform 0.3s ease, background 0.25s, border-color 0.25s, color 0.25s;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 4px 22px;
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.75;
    margin: 0;
}