@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --clr-primary: #0A192F; 
    --clr-accent: #2563EB;  
    --clr-accent-hover: #1D4ED8;
    --clr-promo: #ff6b6b; 
    --clr-promo-hover: #d93838;
    --clr-bg: #F8F9FA;      
    --clr-surface: #FFFFFF; 
    --clr-text-main: #1E293B;
    --clr-text-muted: #64748B;
    --clr-border: #E2E8F0;
    --font-main: 'Inter', sans-serif;
    --container-padding: 1.5rem;
    --section-padding: 4rem 0;
    --radius-sm: 4px;
    --radius-md: 8px;
    --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); background-color: var(--clr-bg); color: var(--clr-text-main); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
h1, h2, h3, h4 { color: var(--clr-primary); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { color: var(--clr-accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--clr-accent-hover); }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--container-padding); }
.container-fluid { width: 100%; }
.padding-0 { padding: 0 !important; }
.section { padding: var(--section-padding); }
.bg-white { background-color: var(--clr-surface); }
.page-title { text-align: center; font-size: 2.5em; color: #1a1a24; margin-bottom: 40px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* === КНОПКИ === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-weight: 600; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-align: center; }
.btn-primary { background-color: var(--clr-accent); color: var(--clr-surface); }
.btn-primary:hover { background-color: var(--clr-accent-hover); color: var(--clr-surface); }
.btn-outline { background-color: transparent; border-color: var(--clr-primary); color: var(--clr-primary); }
.btn-outline:hover { background-color: var(--clr-primary); color: var(--clr-surface); }
.btn-teal { background-color: #49bdae; color: white; }
.btn-teal:hover { background-color: #3aa899; color: white; }
.btn-purple { background-color: #8b5cf6; color: white; gap: 8px; }
.btn-purple:hover { background-color: #7c3aed; color: white; }

.btn-teal-outline {
    background-color: transparent;
    border: 2px solid #0d9488;
    color: #0d9488;
    transition: all 0.2s ease;
}
.btn-teal-outline:hover {
    background-color: #0d9488;
    color: #ffffff;
}

/* === COMMON HELPERS === */
.text-center { text-align: center; }
.section-header-center { text-align: center; max-width: 800px; margin: 0 auto 3rem auto; }
.section-header-center h2 { font-size: 2.2rem; margin-bottom: 1rem; color: #111827; font-weight: 700;}
.section-header-center p { color: var(--clr-text-muted); font-size: 1.1rem; }
.section-header-left { text-align: left; margin: 0 auto 2rem auto; }
.section-header-left h2 { font-size: 2.2rem; margin-bottom: 1rem; color: #111827; font-weight: 700;}

/* === HEADER === */
.header { background-color: #ffffff; position: sticky; top: 0; z-index: 1000; font-family: var(--font-main); border-bottom: 1px solid #E5E7EB; }
.header-top { padding: 1rem 0; border-bottom: 1px solid #E5E7EB; }

.header-row-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo { font-size: 1.6rem; font-weight: 400; color: #111827; display: flex; align-items: center; gap: 0.5rem; text-decoration: none; letter-spacing: -0.5px; }
.logo span { font-weight: 600; color: #374151; }
.logo svg { color: #374151; }

.top-nav { display: none; }
.top-nav a { color: #4B5563; font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.top-nav a.active-bold { font-weight: 700; color: #1F2937; }
.top-nav a:hover { color: #5E93B4; }

.header-contacts { display: none; }
.contact-block { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.contact-main { font-size: 1.1rem; font-weight: 700; color: #111827; text-decoration: none; display: flex; align-items: center; justify-content: flex-end; }
.drop-icon { font-size: 0.6rem; margin-left: 5px; color: #9CA3AF; }
.contact-sub { font-size: 0.75rem; color: #9CA3AF; margin-top: 0.1rem; }

/* ИНСТРУМЕНТЫ, СОЦСЕТИ И ЗАКАЗ */
.header-row-tools { display: none; margin-top: 1.2rem; }
.tools-left { display: flex; align-items: center; gap: 1.5rem; flex: 1; }
.tool-catalog-btn { background-color: #49bdae; color: white; padding: 0.6rem 1.5rem; border-radius: 4px; font-weight: 600; text-decoration: none; font-size: 0.95rem; transition: background-color 0.2s; white-space: nowrap; }
.tool-catalog-btn:hover { background-color: #3aa899; }

.tool-search-group { display: flex; align-items: center; gap: 0.8rem; flex: 1; max-width: 800px; }
.search-input-wrapper { position: relative; flex: 1; }
.search-input-wrapper input { width: 100%; padding: 0.6rem 2.5rem 0.6rem 1.2rem; border: 2px solid #E2E8F0; border-radius: 20px; font-family: var(--font-main); font-size: 0.95rem; background: #F8F9FA; transition: border-color 0.2s; outline: none; }
.search-input-wrapper input:focus { border-color: var(--clr-accent); background: #fff; }
.search-submit-btn { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #9CA3AF; cursor: pointer; font-size: 1rem; }
.search-submit-btn:hover { color: var(--clr-accent); }

.tool-icons { display: flex; gap: 0.6rem; }
.tool-icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #E2E8F0; color: #64748B; font-size: 1.1rem; text-decoration: none; transition: all 0.2s; background: #fff; }
.tool-icon-btn:hover { border-color: var(--clr-accent); color: var(--clr-accent); }

.tools-right { display: flex; align-items: center; gap: 1.5rem; }
.social-links { display: flex; gap: 0.8rem; }
.social-btn { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white !important; font-size: 1.2rem; text-decoration: none; transition: opacity 0.2s; }
.social-btn:hover { opacity: 0.8; }
.social-btn.tg { background-color: #2CA5E0; }
.social-btn.wa { background-color: #25D366; }
.social-btn.vb { background-color: #7360F2; }

/* Кнопка и иконка для мессенджера Max */
.social-btn.max { background-color: #FF3366; }
.max-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/assets/images/MAX.svg') center/contain no-repeat;
}

/* === ВЫПАДАЮЩЕЕ МЕНЮ ЧАТА (АККОРДЕОН МЕССЕНДЖЕРОВ) === */
.chat-dropdown {
    position: relative;
    display: inline-block;
}
.chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 20px;
}
.chat-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 10px;
    display: flex;
    gap: 0.5rem;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--clr-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 50;
}
.chat-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-order { background-color: #5E93B4; color: white; font-weight: 600; padding: 0.6rem 1.5rem; border-radius: 4px; font-size: 0.95rem; text-decoration: none; transition: background-color 0.2s; }
.btn-order:hover { background-color: #4A7A96; }

.mobile-toggle { display: block; background: none; border: none; font-size: 1.6rem; color: #333; cursor: pointer; }

/* НИЖНЯЯ ПАНЕЛЬ НАВИГАЦИИ */
.header-bottom { background-color: #ffffff; position: relative; }
.header-bottom-inner { display: none; height: 50px; }
.bottom-nav-left { display: flex; height: 100%; border-right: 1px solid #E5E7EB; }
.nav-block-btn { display: flex; align-items: center; gap: 0.6rem; padding: 0 1.5rem; font-weight: 500; font-size: 0.85rem; text-decoration: none; height: 100%; transition: background-color 0.2s; color: #374151; }
.nav-block-btn.all-services { cursor: pointer; }
.nav-block-btn.all-services:hover { background-color: #F8F9FA; }
.nav-block-btn.calc-btn { background-color: #F0F4F8; color: #2C5263; }
.nav-block-btn.calc-btn:hover { background-color: #E2E8F0; }

.bottom-nav-links { display: flex; align-items: center; justify-content: space-between; flex: 1; padding: 0 2rem; }
.bottom-nav-links a { color: #2C5263; font-weight: 500; font-size: 0.85rem; text-transform: uppercase; text-decoration: none; letter-spacing: 0.5px; }
.bottom-nav-links a:hover { color: #5E93B4; }

.mega-menu { position: absolute; top: 100%; left: 0; width: 100%; background-color: #ffffff; border-top: 1px solid #E5E7EB; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); padding: 3rem 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 999; max-height: 80vh; overflow-y: auto; }
.mega-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.menu-category { margin-bottom: 2.5rem; }
.menu-category h4 { font-size: 1.1rem; color: #2C5263; font-weight: 600; margin-bottom: 0.5rem; }
.cat-line { width: 20px; height: 2px; background-color: #5E93B4; margin-bottom: 1.2rem; }
.menu-category ul { list-style: none; padding: 0; margin: 0; }
.menu-category li { margin-bottom: 0.9rem; }
.menu-category a { color: #6B7280; font-size: 0.85rem; font-weight: 400; text-decoration: none; transition: color 0.2s; display: block; }
.menu-category a:hover { color: #2C5263; font-weight: 500; }

@media (min-width: 1200px) {
    .mobile-toggle { display: none; }
    .top-nav { display: flex; gap: 1.5rem; align-items: center; }
    .header-contacts { display: flex; gap: 2rem; }
    .header-row-tools { display: flex; justify-content: space-between; }
    .header-bottom-inner { display: flex; align-items: center; }
}

/* === ГЛАВНЫЙ ВИДЕО-БАННЕР И ПОЛОСКА === */
.video-strip-module { width: 100%; height: 5px; background: #000; overflow: hidden; display: flex; pointer-events: none; }
.video-strip-module video { flex: 1 1 20%; height: 100%; object-fit: cover; min-width: 250px; }
@media (max-width: 768px) { .video-strip-module video { flex: 1 1 33.333%; } .video-strip-module video:nth-child(n+4) { display: none; } }

.video-hero { position: relative; width: 100%; height: 75vh; min-height: 550px; display: flex; align-items: center; overflow: hidden; }
.hero-video-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); z-index: 1; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; width: 100%; }
.hero-text-box { max-width: 600px; padding: 2rem 0; }
.hero-text-box h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; color: #111827; }
.hero-text-box p { font-size: 1.15rem; color: #374151; margin-bottom: 2.5rem; line-height: 1.6; }

/* === CARDS, TABLES, FORMS === */
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
.card { background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transform: translateY(-5px); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-content p { color: var(--clr-text-muted); flex: 1; }
.card-content .btn { margin-top: 1rem; align-self: flex-start; }

.tech-table { width: 100%; border-collapse: collapse; margin: 2rem 0; background: var(--clr-surface); }
.tech-table th, .tech-table td { padding: 1rem; border: 1px solid var(--clr-border); text-align: left; }
.tech-table th { background-color: var(--clr-primary); color: var(--clr-surface); font-weight: 600; }
.tech-table tr:nth-child(even) { background-color: var(--clr-bg); }

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--clr-border); border-radius: var(--radius-sm); font-family: var(--font-main); transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--clr-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* === ВОССТАНОВЛЕННЫЙ MIXAM ФУТЕР === */
.footer-cta { background-color: #333333; padding: 1.2rem 1.5rem; text-align: center; color: white; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem; }
.footer-cta p { margin: 0; font-size: 1.1rem; font-weight: 500; }
.footer-cta .btn-cta { background-color: #49bdae; color: white; padding: 0.6rem 1.5rem; border-radius: 4px; text-decoration: none; font-weight: 600; transition: background 0.2s; border: none; font-size: 0.95rem; }
.footer-cta .btn-cta:hover { background-color: #3aa899; }

.footer-main { background-color: #ffffff; padding: 3rem 0 1rem; margin-top: auto; color: #4B5563; font-size: 0.85rem; border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; font-family: var(--font-main); }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }

.footer-col h4 { color: #111827; font-size: 0.95rem; font-weight: 600; margin-bottom: 1.2rem; margin-top: 0; }
.footer-link { display: block; color: #4B5563; margin-bottom: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: #49bdae; text-decoration: underline; }

.footer-logo { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 2rem; font-weight: 400; color: #111827; text-decoration: none; letter-spacing: -0.5px; margin-bottom: 0.2rem; }
.footer-logo span { font-weight: 600; color: #374151; }
.footer-logo svg { color: #49bdae; width: 40px; height: 40px; }
.footer-slogan { color: #49bdae; font-size: 1rem; font-weight: 600; margin-bottom: 1rem; display: block; }
.footer-desc { line-height: 1.6; margin-bottom: 1.5rem; padding-right: 1rem; }

.footer-socials { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.footer-socials a { color: #111827; font-size: 1.2rem; transition: color 0.2s; }
.footer-socials a:hover { color: #49bdae; }

.footer-rating { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-rating-title { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: #111827; font-size: 1.1rem; }
.footer-stars { color: #00B67A; font-size: 1.2rem; letter-spacing: 2px; }
.footer-rating-text { font-size: 0.8rem; }

.footer-info-block { margin-bottom: 1.5rem; }
.footer-info-block p { margin-bottom: 0.4rem; line-height: 1.5; }

.footer-bottom { padding: 1.5rem var(--container-padding); max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #6B7280; flex-wrap: wrap; gap: 1rem; }
.footer-payments { display: flex; gap: 1rem; align-items: center; font-size: 1.5rem; color: #111827; }

@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-grid > .footer-col:nth-child(2) { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem;}
    .footer-grid > .footer-col:nth-child(2) .footer-info-block { flex: 1; }
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > .footer-col:nth-child(1) { grid-column: 1 / -1; }
    .footer-grid > .footer-col:nth-child(2) { grid-column: 1 / -1; flex-direction: column; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}

/* === ИНФО-ГАЛЕРЕЯ И ЛАЙТБОКС === */
.service-info-section { display: flex; flex-wrap: wrap; gap: 50px; background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--clr-border); }
.info-col { flex: 1 1 450px; display: flex; flex-direction: column; }
.tabs { display: flex; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; }
.tab { padding: 8px 24px; border: 1px solid #e0e0e0; border-radius: 6px; cursor: pointer; background: transparent; font-weight: 600; font-size: 0.9em; transition: all 0.2s ease; font-family: var(--font-main); color: var(--clr-text-muted); }
.tab.active { background-color: var(--clr-accent); color: white; border-color: var(--clr-accent); }
.tab:hover:not(.active) { background-color: #f9f9f9; }
.desc-block { color: #4a4a4a; font-size: 1.05em; line-height: 1.7; margin-bottom: 30px; }
.full-desc { display: none; margin-top: 10px; } 

.portfolio-link-btn { color: var(--clr-accent); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; border: none; outline: none; }
.portfolio-link-btn:hover { color: var(--clr-accent-hover); }
.read-more-btn { color: var(--clr-accent); font-weight: 600; cursor: pointer; display: inline-block; margin-top: 10px; font-size: 0.95em; border-bottom: 1px dashed var(--clr-accent); transition: color 0.2s; text-decoration: none; }
.read-more-btn:hover { color: var(--clr-accent-hover); border-bottom-color: var(--clr-accent-hover); }
.read-more-btn.promo-style { color: var(--clr-promo); border-bottom-color: var(--clr-promo); }
.read-more-btn.promo-style:hover { color: var(--clr-promo-hover); border-bottom-color: var(--clr-promo-hover); }

.gallery-col { flex: 1 1 500px; display: flex; flex-direction: column; min-width: 0; }
.main-image-wrapper { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #f8f9fa; border-radius: 8px; overflow: hidden; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; }
.main-image-wrapper img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; transition: transform 0.4s ease; padding: 20px; }
.main-image-wrapper img:hover { transform: scale(1.03); }
.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(255,255,255,0.9); color: #333; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; font-size: 1.2em; user-select: none; transition: all 0.2s; z-index: 10; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.nav-arrow:hover { background: #fff; color: var(--clr-accent); }
.nav-arrow.left { left: 15px; } .nav-arrow.right { right: 15px; }
.media-caption { font-size: 0.9em; color: #666; text-align: center; margin-bottom: 20px; font-style: italic; min-height: 22px; }
.thumbnails { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; }
.thumbnails::-webkit-scrollbar { height: 4px; }
.thumbnails::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.thumb { width: 70px; height: 60px; background: #fff; border-radius: 4px; cursor: pointer; flex-shrink: 0; border: 2px solid #eaeaea; overflow: hidden; position: relative; transition: border-color 0.2s; padding: 4px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; opacity: 0.6; transition: opacity 0.2s; }
.thumb:hover img { opacity: 1; }
.thumb.active { border-color: var(--clr-accent); }
.thumb.active img { opacity: 1; }
.thumb.video::after { content: '\25B6'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; background: rgba(0,0,0,0.6); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; padding-left: 2px; pointer-events: none; }

.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 10000; display: none; align-items: center; justify-content: center; flex-direction: column; opacity: 0; transition: opacity 0.3s ease; }
.lightbox.show { display: flex; opacity: 1; }
.lightbox-content { position: relative; max-width: 90%; max-height: 85vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { max-width: 100%; max-height: 80vh; border-radius: 4px; box-shadow: 0 5px 30px rgba(0,0,0,0.6); object-fit: contain; background: #fff; padding: 20px; }
.lightbox-caption { color: #fff; margin-top: 15px; font-size: 1.1em; text-align: center; max-width: 800px; font-weight: 300; }
.lightbox-close { position: absolute; top: 15px; right: 30px; color: rgba(255,255,255,0.7); font-size: 3em; cursor: pointer; user-select: none; transition: 0.2s; line-height: 1; }
.lightbox-close:hover { color: #fff; transform: scale(1.1); }

.portfolio-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; margin-top: 2rem; }
.portfolio-gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; border: 1px solid var(--clr-border); }
.portfolio-gallery-item img, .portfolio-gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.portfolio-gallery-item:hover img, .portfolio-gallery-item:hover video { transform: scale(1.05); }
.portfolio-gallery-item.video::after { content: '\25B6'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; background: rgba(0,0,0,0.6); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; padding-left: 4px; pointer-events: none; }

/* === МОДУЛИ: НОВОСТИ И АКЦИИ === */
.nav-sections { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; }
.nav-btn { padding: 10px 24px; border: 2px solid var(--clr-accent); border-radius: 8px; background: transparent; color: var(--clr-accent); font-weight: bold; font-size: 1em; cursor: pointer; transition: all 0.2s; font-family: var(--font-main); }
.nav-btn.active, .nav-btn:hover { background: var(--clr-accent); color: white; }
.nav-btn.promo-style { border-color: var(--clr-promo); color: var(--clr-promo); }
.nav-btn.promo-style.active, .nav-btn.promo-style:hover { background: var(--clr-promo); color: white; }

.nav-subsections { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; justify-content: center; }
.sub-btn { padding: 6px 16px; border: 1px solid #ccc; border-radius: 20px; background: white; color: #555; font-size: 0.9em; cursor: pointer; transition: all 0.2s; font-family: var(--font-main); }
.sub-btn.active, .sub-btn:hover { background: #555; color: white; border-color: #555; }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.project-card { position: relative; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--clr-border); }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.project-cover { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid #eee; }
.project-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.project-info h3 { margin: 0 0 10px; font-size: 1.2em; color: var(--clr-text-main); line-height: 1.3; }
.project-info p { margin: 0; color: var(--clr-text-muted); font-size: 0.95em; flex-grow: 1; }

.promo-badge { position: absolute; top: 15px; right: 15px; background: var(--clr-promo); color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.8em; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 2; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #555; font-weight: 600; cursor: pointer; padding: 8px 16px; background: #e9ecef; border-radius: 6px; transition: background 0.2s; text-decoration: none; }
.back-btn:hover { background: #dee2e6; }

/* === АККОРДЕОН ОБОРУДОВАНИЯ === */
.accordion-item { margin-bottom: 15px; border: 1px solid var(--clr-border); border-radius: var(--radius-md); background: var(--clr-surface); overflow: hidden; }
.accordion-header { width: 100%; text-align: left; padding: 20px 25px; background: #f9fafb; border: none; outline: none; font-size: 1.3em; font-weight: 700; color: var(--clr-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; font-family: var(--font-main); }
.accordion-header:hover { background: #f1f5f9; }
.accordion-header i { transition: transform 0.3s ease; color: var(--clr-accent); }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-content { display: none; padding: 30px; background: var(--clr-surface); }
.accordion-content.active { display: block; animation: fadeIn 0.4s; }

.eq-card { background: #fff; border-radius: 12px; padding: 30px; margin-bottom: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); border: 1px solid #f0f0f0; }
.eq-title { font-size: 1.6em; font-weight: 700; color: #1a1a24; margin: 0 0 25px 0; padding-bottom: 15px; border-bottom: 2px solid #f4f6f8; }
.eq-body { display: flex; flex-wrap: wrap; gap: 40px; }
.eq-left { flex: 1 1 300px; display: flex; flex-direction: column; }
.eq-image { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #ffffff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; }
.eq-right { flex: 1.5 1 400px; display: flex; flex-direction: column; }
.eq-desc { font-size: 1.05em; line-height: 1.8; color: #4a4a4a; margin-bottom: 25px; }
.eq-params { margin: 0; padding: 20px; list-style: none; background: #f9fafb; border-radius: 8px; border: 1px solid #eee; }
.eq-params li { padding: 10px 0; border-bottom: 1px dashed #ddd; display: flex; justify-content: space-between; align-items: center; font-size: 0.95em; }
.eq-params span:first-child { color: #555; width: 60%; padding-right: 15px; }
.eq-params span:last-child { font-weight: 700; color: #1a1a24; width: 40%; text-align: right; }

/* === INFO TABS MODULE (EVERYTHING YOU NEED) === */
.info-tabs-section { max-width: 1200px; margin: 0 auto; }
.info-tabs-section .tabs-header { text-align: center; max-width: 800px; margin: 0 auto 2rem auto; }
.info-tabs-section .tabs-header h2 { font-size: 2rem; margin-bottom: 0.8rem; color: #111827; font-weight: 700; }
.info-tabs-section .tabs-header p { color: #4B5563; font-size: 1rem; }

.info-tabs-section .tabs-navigation { display: flex; justify-content: center; gap: 15px; margin-bottom: 3rem; flex-wrap: wrap; }
.info-tabs-section .tab-btn { background: #fff; border: 1px solid #64748B; color: #111827; padding: 10px 30px; border-radius: 30px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-main); }
.info-tabs-section .tab-btn:hover { border-color: #49bdae; color: #49bdae; }
.info-tabs-section .tab-btn.active { background: #49bdae; border-color: #49bdae; color: #fff; }

.info-tabs-section .tabs-content-container { background-color: #eaf5f4; border-radius: 12px; padding: 4rem 5rem; }
.info-tabs-section .tab-pane { display: none; align-items: center; gap: 4rem; animation: fadeIn 0.4s; }
.info-tabs-section .tab-pane.active { display: flex; }
.info-tabs-section .tab-text { flex: 1; }
.info-tabs-section .tab-text h3 { font-size: 1.8rem; font-weight: 700; color: #111827; margin-bottom: 1.2rem; line-height: 1.3; }
.info-tabs-section .tab-text p { font-size: 0.95rem; color: #374151; line-height: 1.6; margin: 0; }
.info-tabs-section .tab-media { flex: 1.2; display: flex; justify-content: flex-end; }
.info-tabs-section .tab-media video { width: 100%; max-width: 550px; border-radius: 8px; }

@media (max-width: 900px) {
    .info-tabs-section .tab-pane.active { flex-direction: column; }
    .info-tabs-section .tab-media { justify-content: center; width: 100%; }
    .info-tabs-section .tabs-content-container { padding: 2rem; }
}

/* === СЕТКА ПРОДУКТОВ И ИНФО-ВКЛАДКИ === */
.products-section { background-color: #38958b; padding: 5rem 0; }
.products-header h2 { color: #ffffff; text-align: center; margin-bottom: 3rem; font-size: 2.2rem; font-weight: 700; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; justify-items: center; max-width: 1000px; margin: 0 auto; }
.product-item-link { text-decoration: none; display: block; width: 100%; max-width: 220px; margin: 0 auto; }
.product-item { display: flex; flex-direction: column; align-items: flex-start; width: 100%; transition: transform 0.3s ease; cursor: pointer; }
.product-item:hover { transform: translateY(-5px); }
.product-card-bg { background-color: #ffffff; width: 100%; aspect-ratio: 1 / 1; position: relative; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-bottom: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 15px; }
.product-card-bg img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15)); transition: transform 0.3s ease; }
.product-item:hover .product-card-bg img { transform: scale(1.05); }
.product-title { color: #ffffff; font-size: 14px; font-weight: 600; text-align: left; transition: opacity 0.2s; padding-left: 5px; width: 100%; }
.product-item:hover .product-title { opacity: 0.9; }

/* === ВИДЫ ПЕРЕПЛЕТА === */
.binding-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 2rem; list-style: none; padding: 0; }
.bind-card { text-align: center; }
.bind-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background-color: #e0e0e0; margin-bottom: 15px; border-radius: 8px; }

/* === КАТАЛОГ === */
.catalog-hero { position: relative; padding: 6rem 0; text-align: center; background-color: #5E93B4; background-position: center; background-size: cover; background-repeat: no-repeat; }
.catalog-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); }
.catalog-hero-content { position: relative; z-index: 2; }
.catalog-hero-content h1 { font-size: 3rem; color: #ffffff; margin: 0; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

.catalog-container { display: flex; gap: 3rem; align-items: flex-start; }
.catalog-sidebar { width: 280px; flex-shrink: 0; background: #F8F9FA; border-radius: 8px; padding: 1.5rem; }
.catalog-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.catalog-nav a { padding: 0.8rem 1rem; color: #4B5563; text-decoration: none; border-radius: 6px; font-weight: 500; transition: all 0.2s; font-size: 0.95rem; }
.catalog-nav a:hover, .catalog-nav a.active { background: #E2E8F0; color: #111827; }
.catalog-content { flex: 1; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid #E2E8F0; padding-bottom: 1rem; }
.catalog-title { font-size: 1.5rem; margin: 0; color: #111827; font-weight: 700; }
.catalog-sort select { padding: 0.5rem 1rem; border: 1px solid #E2E8F0; border-radius: 6px; font-family: var(--font-main); outline: none; background: #fff; cursor: pointer; color: #4B5563; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2.5rem 2rem; }
.catalog-card { display: flex; flex-direction: column; }

.catalog-card-img-wrapper {
    position: relative;
    z-index: 1;
}
.catalog-card-img-wrapper:hover {
    z-index: 20; 
}

.catalog-card-img { 
    position: relative;
    background: #F4F5F7; 
    border-radius: 8px; 
    padding: 1.5rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    aspect-ratio: 4/5; 
    margin-bottom: 1rem; 
    transition: transform 0.3s, box-shadow 0.3s; 
    border: 1px solid #f0f0f0; 
    text-decoration: none;
    overflow: hidden; 
}
.catalog-card-img img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    transition: transform 0.3s ease; 
    position: relative;
    z-index: 1;
}

.catalog-card-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    border-radius: 8px;
    pointer-events: none;
}

.catalog-tooltip {
    position: absolute;
    bottom: 100%; 
    left: 0;
    width: 100%;
    background: #ffffff;
    color: #333333;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.625rem; 
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12); 
    border: 1px solid #E2E8F0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); 
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
    margin-bottom: 12px; 
}
.catalog-tooltip p {
    margin: 0;
    text-align: left;
}

.catalog-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}
.catalog-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 9px;
    border-style: solid;
    border-color: #E2E8F0 transparent transparent transparent;
    z-index: -1;
}

.catalog-card-img-wrapper:hover .catalog-card-img { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); 
}
.catalog-card-img-wrapper:hover .catalog-card-img img {
    transform: scale(1.05); 
}
.catalog-card-img-wrapper:hover .catalog-card-img::before {
    opacity: 1; 
}
.catalog-card-img-wrapper:hover .catalog-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
}

.catalog-card-info { text-align: left; }
.catalog-card-info h3 { font-size: 1.1rem; margin: 0 0 0.5rem 0; color: #111827; line-height: 1.3; font-weight: 600; text-align: left; }
.catalog-link { color: #5E93B4; font-size: 0.9rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; text-align: left; }
.catalog-link:hover { color: #4A7A96; text-decoration: underline; }

@media (max-width: 992px) { 
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; } 
    .binding-grid { grid-template-columns: repeat(3, 1fr); }
    .catalog-container { flex-direction: column; gap: 2rem; }
    .catalog-sidebar { width: 100%; }
}
@media (max-width: 900px) {
    .eq-body { gap: 25px; } .eq-params li { flex-direction: column; align-items: flex-start; gap: 5px; }
    .eq-params span:first-child, .eq-params span:last-child { width: 100%; text-align: left; }
    .service-info-section { gap: 30px; padding: 25px; } .main-image-wrapper { height: 300px; } .nav-arrow { width: 36px; height: 36px; font-size: 1.2em; }
    .tabs-navigation { flex-direction: column; align-items: center; } .tab-pane.active { flex-direction: column; } .tabs-content-container { padding: 30px 20px; }
    .header-row-tools { flex-direction: column; gap: 1rem; display: none; }
}
@media (max-width: 768px) { 
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } 
    .binding-grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-hero { padding: 4rem 0; }
    .catalog-hero-content h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) { 
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } 
    .binding-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* === FAQ SHORT MODULE === */
.faq-short-module { background-color: var(--clr-bg); padding: 5rem 0; border-top: 1px solid var(--clr-border); }
.faq-short-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 4rem; max-width: 1200px; margin: 0 auto; }
.faq-short-left h2 { font-size: 2.2rem; color: #111827; margin-bottom: 1.5rem; line-height: 1.2; font-weight: 600; }
.faq-short-left p { color: #4B5563; font-size: 0.95rem; line-height: 1.6; }
.faq-short-left a { color: var(--clr-accent); text-decoration: underline; }

.faq-accordion-item { border-bottom: 1px solid #E2E8F0; }
.faq-accordion-item:first-child { border-top: 1px solid #E2E8F0; }
.faq-accordion-header { width: 100%; text-align: left; padding: 1.2rem 0; background: transparent; border: none; font-size: 0.95rem; font-weight: 600; color: #111827; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-main); transition: color 0.2s; outline: none; }
.faq-accordion-header:hover { color: var(--clr-accent); }
.faq-accordion-header i { font-size: 1rem; transition: transform 0.3s ease; color: #111827; }
.faq-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-accordion-content { padding-bottom: 1.5rem; color: #4B5563; font-size: 0.9rem; line-height: 1.6; }

@media (max-width: 900px) {
    .faq-short-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* === УНИВЕРСАЛЬНАЯ КАРУСЕЛЬ (ДЛЯ CTA И ОТЗЫВОВ) === */
.universal-carousel-container { position: relative; max-width: 1200px; margin: 0 auto; overflow: hidden; padding: 0 10px; }
.carousel-track-wrapper { overflow: hidden; padding: 10px 0; margin: 0 20px; }
.carousel-track { display: flex; transition: transform 0.4s ease; }
.carousel-card-wrapper { flex: 0 0 33.3333%; padding: 0 10px; box-sizing: border-box; }

.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background-color: #fff; border: 1px solid var(--clr-border); color: #111827; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: all 0.2s; outline: none; }
.carousel-nav:hover { background-color: var(--clr-border); color: #000; }
.carousel-nav.prev { left: 0px; }
.carousel-nav.next { right: 0px; }

@media (max-width: 1024px) { .carousel-card-wrapper { flex: 0 0 50%; } }
@media (max-width: 768px) { .carousel-card-wrapper { flex: 0 0 100%; } .carousel-nav { width: 36px; height: 36px; font-size: 0.9rem;} }

/* === PHOTO GRID CTA MODULE === */
.photo-grid-cta-module { background-color: var(--clr-surface); padding: 5rem 0 3rem; }
.photo-cta-card { position: relative; width: 100%; border-radius: var(--radius-md); overflow: hidden; text-decoration: none; display: block; aspect-ratio: 16/20; border: 1px solid var(--clr-border); }
.photo-cta-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-cta-card:hover img { transform: scale(1.05); }
.photo-cta-overlay { position: absolute; bottom: 15px; left: 15px; right: 15px; background: rgba(30, 41, 59, 0.85); backdrop-filter: blur(4px); padding: 1.2rem; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; justify-content: center; transition: background 0.3s ease; }
.photo-cta-card:hover .photo-cta-overlay { background: rgba(30, 41, 59, 0.95); }
.photo-cta-overlay h3 { color: #ffffff; font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem 0; line-height: 1.3; }
.photo-cta-overlay p { color: rgba(255,255,255,0.85); font-size: 0.85rem; line-height: 1.4; margin: 0; }

/* === REVIEWS SHORT MODULE === */
.reviews-short-module { background-color: var(--clr-surface); padding: 3rem 0 5rem; }
.review-card-clean { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-sm); padding: 1.5rem; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,0.02); height: 100%; }
.review-stars-block { display: flex; align-items: center; margin-bottom: 1rem; }
.star-box { background: #00B67A; color: white; display: inline-flex; align-items: center; justify-content: center; padding: 3px 4px; border-radius: 2px; font-size: 0.7rem; margin-right: 3px; }
.score { font-weight: 600; color: #111827; margin-left: 0.5rem; font-size: 0.95rem; }
.review-title { font-weight: 700; color: #111827; font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.3; }
.review-date { color: #9CA3AF; font-size: 0.85rem; margin-bottom: 1rem; }
.review-text { color: #4B5563; font-size: 0.9rem; line-height: 1.6; }

/* === SAMPLE PACK PAGE NEW LAYOUT === */
.sp-page-wrapper { padding-top: 4rem; padding-bottom: 5rem; }
.sp-top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 5rem; align-items: start; }
.sp-top-text h1 { font-size: 2.2rem; color: #111827; margin-bottom: 1.5rem; font-weight: 600; }
.sp-top-text p { color: #666; font-size: 0.95rem; line-height: 1.6; }
.sp-top-img img { width: 100%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.sp-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.sp-bottom-left h2 { font-size: 1.8rem; color: #111827; margin-bottom: 0.5rem; font-weight: 600; }
.sp-subtitle { color: #888; font-size: 0.95rem; margin-bottom: 2rem; }

.sp-pack-info-card { background: #f8f9fa; border: 1px solid #E2E8F0; border-radius: 4px; padding: 1.5rem; }
.sp-slider-wrapper { position: relative; width: 100%; overflow: hidden; border-radius: 4px; margin-bottom: 1.5rem; background: #fff; border: 1px solid #eee; }
.sp-slider-track { display: flex; transition: transform 0.4s ease; }
.sp-slider-track img { width: 100%; flex-shrink: 0; object-fit: contain; padding: 20px; aspect-ratio: 16/9; }
.sp-nav { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; border: none; font-size: 24px; color: rgba(255,255,255,0.8); cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: color 0.2s; }
.sp-nav:hover { color: #fff; }
.sp-nav.prev { left: 10px; }
.sp-nav.next { right: 10px; }
.sp-dots { position: absolute; bottom: 10px; width: 100%; display: flex; justify-content: center; gap: 6px; }
.sp-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,0.2); transition: 0.3s; cursor: pointer; }
.sp-dot.active { background: var(--clr-accent); }

.sp-pack-details h3 { font-size: 1.1rem; color: #111827; margin-bottom: 0.5rem; font-weight: 600;}
.sp-pack-details p { color: #666; font-size: 0.85rem; line-height: 1.5; margin-bottom: 0; }
.sp-pack-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; font-size: 0.85rem; color: #666; }
.sp-pack-list li::before { content: '•'; color: #666; margin-right: 8px; }

.sp-form-box { background: #fff; border: 1px solid #E2E8F0; border-radius: 4px; padding: 2.5rem; }
.sp-form-box h3 { font-size: 1.4rem; color: #111827; margin-top: 0; margin-bottom: 2rem; font-weight: 600; text-align: center; }
.sp-select-pack { margin-bottom: 2rem; }
.sp-select-pack label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.8rem; color: #111827; }
.sp-pack-option { border: 2px solid #49bdae; border-radius: 4px; padding: 10px; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; background: #fff; cursor: pointer; width: 100px; text-align: center; }
.sp-pack-option img { width: 60px; height: auto; }
.sp-pack-option span { font-size: 0.8rem; font-weight: 600; color: #111827; }

.phone-input-group { display: flex; border: 1px solid var(--clr-border); border-radius: 4px; overflow: hidden; background: #fff; }
.phone-input-group:focus-within { border-color: var(--clr-accent); }
.phone-flag { padding: 0 12px; display: flex; align-items: center; background: #f8f9fa; border-right: 1px solid var(--clr-border); color: #333; font-size: 0.85rem; }
.phone-input-group input { flex: 1; outline: none; box-shadow: none; border-radius: 0; }
.sp-manual-address { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; color: #49bdae; text-decoration: underline; }

.sp-form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; margin-bottom: 1rem; border-top: 1px solid #E2E8F0; padding-top: 2rem; }
.sp-clear-btn { border-color: #ccc; color: #333; padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.sp-submit-btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
.sp-terms { font-size: 0.75rem; color: #888; margin: 0; }
.sp-terms a { color: #49bdae; text-decoration: none; }
.sp-terms a:hover { text-decoration: underline; }

.sample-cta-module { padding: 4rem 0; background-color: var(--clr-bg); border-top: 1px solid var(--clr-border); }
.sample-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1000px; margin: 0 auto; align-items: center; }
.sample-cta-img-col { background-color: #92a8a3; padding: 2rem; border-radius: 4px; display: flex; justify-content: center; align-items: center; }
.sample-cta-img-col img { width: 100%; max-width: 400px; display: block; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15)); transform: rotate(-5deg); transition: transform 0.3s ease; }
.sample-cta-img-col img:hover { transform: rotate(0deg) scale(1.05); }
.sample-cta-content h2 { font-size: 2.2rem; color: #111827; margin-bottom: 1rem; line-height: 1.2; font-weight: 700; }
.sample-cta-content p { color: #4B5563; font-size: 1.1rem; margin-bottom: 2rem; }
.btn-yellow-cta { background-color: #fcb900; color: #111; padding: 0.8rem 2rem; border-radius: 4px; font-weight: 600; text-decoration: none; display: inline-block; transition: all 0.2s; font-size: 1.05rem; }
.btn-yellow-cta:hover { background-color: #e5a700; color: #111; transform: translateY(-2px); }

@media (max-width: 900px) {
    .sp-top-grid, .sp-bottom-grid { grid-template-columns: 1fr; gap: 2rem; }
    .sp-pack-list { grid-template-columns: 1fr; }
    .sample-cta-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .sample-cta-img-col img { transform: rotate(0deg); }
}

/* === RELATED SERVICES MODULE (ПОХОЖИЕ УСЛУГИ) === */
.related-services-module { 
    padding: 5rem 0; 
    background-color: #f3f4f6; 
    border-top: 1px solid var(--clr-border); 
}
.related-services-module .universal-carousel-container { 
    max-width: 100%; 
    padding: 0; 
}
.related-header-wrapper { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 2.5rem; 
    padding: 0 10px; 
}
.related-services-module .carousel-track-wrapper { 
    margin: 0 -10px; 
}
.related-services-title { 
    font-size: 1.5rem; 
    font-weight: 500;
    color: #111827; 
    margin: 0; 
}
.related-nav-buttons { 
    display: flex; 
    gap: 12px; 
}
.related-services-module .carousel-nav { 
    position: static; 
    transform: none; 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    background: #fff; 
    border: 1px solid #e5e7eb; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    transition: all 0.2s; 
    color: #111827;
    font-size: 1rem;
}
.related-services-module .carousel-nav:hover { 
    background: #f8f9fa; 
    border-color: #d1d5db;
}
.related-card { 
    display: flex; 
    flex-direction: column; 
    background: #fff; 
    border: 1px solid #e5e7eb; 
    border-radius: 4px; 
    overflow: hidden; 
    text-decoration: none; 
    color: #333; 
    transition: border-color 0.3s, box-shadow 0.3s; 
    height: 100%; 
}
.related-card:hover { 
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.related-card-img-wrap { 
    background-color: #cfd3d4; 
    aspect-ratio: 1 / 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
    overflow: hidden; 
    border-bottom: 1px solid #e5e7eb; 
}
.related-card-img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    transition: transform 0.4s ease; 
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}
.related-card:hover .related-card-img { 
    transform: scale(1.03); 
}
.related-card-content { 
    padding: 20px; 
    background: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
}
.related-card-title { 
    font-size: 1rem; 
    font-weight: 600; 
    margin: 0; 
    color: #111827; 
    text-align: left; 
    line-height: 1.3; 
}

/* === CATALOG IMPACT MODULE === */
.catalog-impact-module { 
    padding: 6rem 0; 
    background-color: #f4f5f7; 
    border-top: 1px solid var(--clr-border); 
}
.impact-header { 
    text-align: center; 
    max-width: 1000px; 
    margin: 0 auto 4rem; 
}
.impact-header h2 { 
    font-size: 2.2rem; 
    color: #111827; 
    margin-bottom: 1rem; 
    font-weight: 700; 
    line-height: 1.3; 
}
.impact-header p { 
    font-size: 1.05rem; 
    color: #4B5563; 
    line-height: 1.6; 
}
.impact-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2.5rem; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.impact-card { 
    display: flex; 
    flex-direction: column; 
}
.impact-img-wrapper { 
    border-radius: 8px; 
    overflow: hidden; 
    margin-bottom: 1.5rem; 
    background: #e2e8f0; 
    aspect-ratio: 4 / 3; 
}
.impact-img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease;
}
.impact-card:hover .impact-img-wrapper img { 
    transform: scale(1.03); 
}
.impact-content h3 { 
    font-size: 1.25rem; 
    font-weight: 600; 
    color: #111827; 
    margin-bottom: 0.8rem; 
    line-height: 1.3; 
}
.impact-content p { 
    font-size: 0.95rem; 
    color: #4B5563; 
    line-height: 1.6; 
    margin: 0; 
}

@media (max-width: 900px) { 
    .impact-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    } 
    .impact-header h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   МОДУЛЬ ГЛОБАЛЬНОГО ПОИСКА
   ========================================================================== */
#globalSearchWrapper {
    position: relative;
    width: 100%;
}

.search-clear-btn {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1rem;
}

.search-loader {
    position: absolute; right: 15px; top: 50%; margin-top: -8px; width: 16px; height: 16px; border: 2px solid #e2e8f0; border-top-color: var(--clr-accent); border-radius: 50%; animation: searchSpin 0.8s linear infinite; z-index: 5;
}

@keyframes searchSpin {
    to { transform: rotate(360deg); }
}

.global-search-dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; width: 100%; min-width: 450px; background: #ffffff; border-radius: 12px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); border: 1px solid #e2e8f0; z-index: 1000; overflow: hidden; display: flex; flex-direction: column;
}

.search-results-container {
    max-height: 480px; overflow-y: auto; padding: 8px 0;
}

.search-results-container::-webkit-scrollbar { width: 6px; }
.search-results-container::-webkit-scrollbar-track { background: #f8fafc; }
.search-results-container::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.search-category-title {
    font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: #64748b; padding: 12px 20px 6px; letter-spacing: 0.5px; background: #ffffff; position: sticky; top: 0; z-index: 2;
}

.search-item {
    display: flex; align-items: center; padding: 12px 20px; text-decoration: none; transition: background-color 0.2s; gap: 15px;
}
.search-item:hover { background: #f8fafc; }

.search-item-media {
    flex: 0 0 50px; height: 50px; border-radius: 6px; overflow: hidden; background: #f1f5f9; display: flex; align-items: center; justify-content: center;
}
.search-item-media img { width: 100%; height: 100%; object-fit: cover; }
.search-item-media i { font-size: 1.4rem; color: var(--clr-accent); }

.search-item-content { flex: 1; overflow: hidden; }
.search-item-content h4 { margin: 0 0 4px 0; font-size: 0.95rem; color: #1e293b; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item-content p { margin: 0; font-size: 0.85rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.search-highlight { background-color: #fef08a; color: #92400e; font-weight: 600; padding: 0 2px; border-radius: 2px; }
.search-empty { padding: 50px 20px; text-align: center; }

.search-footer { padding: 15px 20px; background: #f8fafc; border-top: 1px solid #e2e8f0; text-align: center; }
.search-footer a { color: var(--clr-accent); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.2s; }
.search-footer a:hover { color: var(--clr-accent-hover); text-decoration: underline; }

@media (max-width: 1024px) {
    .global-search-dropdown {
        position: fixed; top: 120px; left: 0; width: 100%; min-width: 100%; height: calc(100vh - 120px); border-radius: 0; box-shadow: none; border: none;
    }
    .search-results-container { max-height: calc(100vh - 170px); }
}

/* === ВЫПАДАЮЩЕЕ МЕНЮ === */
.nav-dropdown {
    position: relative;
    display: inline-block;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    height: 100%;
    color: #2C5263;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-dropdown-toggle:hover {
    color: #5E93B4;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: 1px solid var(--clr-border);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    padding: 0.8rem 1.5rem;
    color: var(--clr-text-main) !important;
    text-transform: none !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: normal !important;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--clr-accent) !important;
}

/* === CTA CALCULATOR BANNER MODULE === */
.cta-calc-banner-module {
    padding: 4rem 0;
    background-color: var(--clr-bg);
}
.cta-calc-banner-inner {
    position: relative;
    background: linear-gradient(135deg, #3aa899 0%, #4cb2aa 100%);
    border-radius: var(--radius-md);
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(76, 178, 170, 0.2);
}
.cta-calc-banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    color: #ffffff;
}
.cta-calc-banner-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}
.cta-calc-banner-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.cta-calc-banner-inner .cta-flying-icons {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.cta-calc-banner-inner .cta-flying-icon {
    position: absolute;
    opacity: 0.25;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.cta-calc-banner-inner .cta-flying-icon svg {
    fill: #ffffff;
    width: 100%; height: 100%;
}
.cta-calc-banner-inner .cta-f-icon-1 { left: 10%; top: 20%; width: 60px; animation: ctaFloat1 25s infinite ease-in-out; }
.cta-calc-banner-inner .cta-f-icon-2 { left: 85%; top: 30%; width: 45px; animation: ctaFloat2 30s infinite ease-in-out; }
.cta-calc-banner-inner .cta-f-icon-3 { left: 20%; top: 70%; width: 55px; animation: ctaFloat3 22s infinite ease-in-out; }
.cta-calc-banner-inner .cta-f-icon-4 { left: 75%; top: 60%; width: 50px; animation: ctaFloat4 28s infinite ease-in-out; }
.cta-calc-banner-inner .cta-f-icon-5 { left: 50%; top: 10%; width: 40px; animation: ctaFloat1 26s infinite ease-in-out reverse; }
.cta-calc-banner-inner .cta-f-icon-6 { left: 40%; top: 80%; width: 45px; animation: ctaFloat2 24s infinite ease-in-out reverse; }

@keyframes ctaFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -40px) rotate(120deg); }
    66% { transform: translate(-20px, 30px) rotate(240deg); }
}
@keyframes ctaFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-40px, 30px) rotate(-90deg); }
    66% { transform: translate(30px, -40px) rotate(-180deg); }
}
@keyframes ctaFloat3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(40px, 50px) rotate(150deg); }
    66% { transform: translate(-30px, -20px) rotate(300deg); }
}
@keyframes ctaFloat4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-50px, -30px) rotate(-120deg); }
    66% { transform: translate(40px, 20px) rotate(-240deg); }
}

@media (max-width: 768px) {
    .cta-calc-banner-content h2 { font-size: 2rem; }
    .cta-calc-banner-inner { padding: 3rem 1.5rem; }
}

/* ==========================================================================
   КОМПОНЕНТЫ МОДУЛЯ ОНЛАЙН-ЗАКАЗА С ОНЛАЙН-ЗАГРУЗКОЙ МАКЕТОВ
   ========================================================================== */
.order-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999; 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.order-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.order-modal-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 680px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
}

.order-modal-overlay.open .order-modal-container {
    transform: translateY(0);
}

.order-modal-header {
    padding: 24px 30px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.order-modal-title-group h2 {
    font-size: 1.4rem;
    color: #0f172a;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.order-modal-title-group p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.order-modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.order-modal-close:hover {
    color: #1e293b;
}

.order-modal-form {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
}

.order-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.order-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.order-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.order-form-group input[type="text"],
.order-form-group input[type="email"],
.order-form-group input[type="tel"],
.order-form-group textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.order-form-group input:focus,
.order-form-group textarea:focus {
    border-color: #4cb2aa;
    box-shadow: 0 0 0 3px rgba(76, 178, 170, 0.15);
}

/* СТИЛИ ЗОНЫ СБРОСА ФАЙЛОВ */
.order-dropzone {
    position: relative;
    border: 2px dashed #cbd5e1;
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.order-dropzone:hover, .order-dropzone.dragover {
    border-color: #4cb2aa;
    background-color: #f0fdfa;
}

.order-file-input {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropzone-icon {
    font-size: 2.2rem;
    color: #4cb2aa;
    margin-bottom: 12px;
}

.dropzone-main-text {
    font-size: 0.95rem;
    color: #334155;
    margin: 0 0 4px 0;
}

.dropzone-main-text span {
    color: #0d9488;
    font-weight: 600;
    text-decoration: underline;
}

.dropzone-sub-text {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* ЭЛЕМЕНТЫ ФАЙЛОВОГО СПИСКА */
.order-file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f1f5f9;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #334155;
    animation: fileIn 0.2s ease-out;
}

@keyframes fileIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.order-file-name-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.order-file-name-info i {
    color: #64748b;
    flex-shrink: 0;
}

.order-file-name-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-file-size {
    color: #64748b;
    font-size: 0.8rem;
    margin-left: 6px;
}

.order-file-remove {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 2px;
    transition: color 0.2s;
}

.order-file-remove:hover {
    color: #ef4444;
}

/* ШКАЛА ХОДА ЗАГРУЗКИ */
.order-progress-container {
    margin-top: 15px;
    background-color: #f1f5f9;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.order-progress-bar-wrapper {
    width: 100%;
    height: 8px;
    background-color: #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.order-progress-bar-fill {
    width: 0%;
    height: 100%;
    background-color: #4cb2aa;
    border-radius: 4px;
    transition: width 0.1s linear;
}

.order-progress-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    text-align: left;
}

/* ОПОВЕЩЕНИЯ */
.order-message-box {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.92rem;
    text-align: left;
    line-height: 1.4;
}

.order-message-box.success {
    background-color: #d1fee7;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.order-message-box.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.order-modal-footer {
    padding: 20px 30px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.order-btn-cancel {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.order-btn-cancel:hover {
    background-color: #f1f5f9;
}

.order-btn-submit {
    background-color: #f97316;
    border: none;
    color: #ffffff;
    padding: 10px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.1s;
}

.order-btn-submit:hover {
    background-color: #ea580c;
}

.order-btn-submit:active {
    transform: scale(0.98);
}

.order-btn-submit:disabled {
    background-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 640px) {
    .order-form-row { grid-template-columns: 1fr; gap: 0; }
    .order-modal-container { max-height: 100vh; border-radius: 0; height: 100%; }
    .order-modal-form { padding: 20px; }
    .order-modal-footer { padding: 15px 20px; }
}

/* === МОБИЛЬНОЕ МЕНЮ (АККОРДЕОН) === */
body.mobile-menu-open { overflow: hidden; }
body.mobile-menu-open .mega-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
    position: fixed; top: 73px; left: 0; width: 100%; height: calc(100vh - 73px);
    overflow-y: auto; display: block; background: #ffffff; z-index: 1000; box-shadow: none; padding: 0;
}
.mobile-only-links { display: none; }
@media (max-width: 1199px) {
    .mobile-only-links { display: block; }
    body.mobile-menu-open .mega-menu-grid { display: flex; flex-direction: column; gap: 0; padding: 0; }
    body.mobile-menu-open .mega-col { width: 100%; }
    body.mobile-menu-open .menu-category { margin-bottom: 0; border-bottom: 1px solid #E5E7EB; }
    body.mobile-menu-open .menu-category h4 {
        padding: 1.2rem 1.5rem; margin: 0; cursor: pointer; display: flex;
        justify-content: space-between; align-items: center; font-size: 1.1rem;
    }
    body.mobile-menu-open .menu-category:not(.direct-link) h4::after {
        content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
        font-size: 0.9rem; transition: transform 0.3s ease;
    }
    body.mobile-menu-open .menu-category.open h4::after { transform: rotate(180deg); }
    body.mobile-menu-open .cat-line { display: none; }
    body.mobile-menu-open .menu-category ul { display: none; padding: 0 1.5rem 1.5rem; background: #F8F9FA; }
    body.mobile-menu-open .menu-category.open ul { display: block; }
    body.mobile-menu-open .menu-category li { margin-bottom: 0.8rem; }
    body.mobile-menu-open .menu-category li:last-child { margin-bottom: 0; }
    body.mobile-menu-open .menu-category a { font-size: 0.95rem; padding: 0.4rem 0; display: block; }
}

/* === ПРОМО-БЛОКИ В УСЛУГАХ === */
.service-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.action-promo-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.action-promo-card.primary-promo {
    background: #eff6ff;
    border: 1px solid #dbeafe;
}
.action-promo-card.primary-promo:hover {
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}
.action-promo-card.primary-promo .action-promo-icon {
    color: var(--clr-accent);
}

.action-promo-card.secondary-promo {
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
}
.action-promo-card.secondary-promo:hover {
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.1);
}
.action-promo-card.secondary-promo .action-promo-icon {
    color: #0d9488;
}

.action-promo-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}
.action-promo-text {
    flex-grow: 1;
}
.action-promo-text h4 {
    margin: 0 0 5px 0;
    color: #111827;
    font-size: 1.1rem;
}
.action-promo-text p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.4;
}
.action-promo-card .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* === МОДАЛЬНОЕ ОКНО БЛОГА === */
.blog-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.blog-modal-overlay.open { opacity: 1; visibility: visible; }
.blog-modal-container {
    background: #fff; width: 100%; max-width: 900px;
    border-radius: 12px; overflow: hidden;
    transform: translateY(-20px); transition: transform 0.3s ease;
    display: flex; flex-direction: column; max-height: 85vh;
    margin: 0 15px;
}
.blog-modal-overlay.open .blog-modal-container { transform: translateY(0); }
.blog-modal-header {
    padding: 20px 30px; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
    display: flex; justify-content: space-between; align-items: center;
}
.blog-modal-header h2 { margin: 0; font-size: 1.4rem; color: #0f172a; }
.blog-modal-close { background: none; border: none; font-size: 1.5rem; color: #64748b; cursor: pointer; transition: color 0.2s; }
.blog-modal-close:hover { color: #0f172a; }
.blog-modal-body { padding: 30px; overflow-y: auto; }
.blog-tiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.blog-tile {
    display: flex; flex-direction: column;
    border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden;
    text-decoration: none; color: #1e293b; transition: transform 0.2s, box-shadow 0.2s;
}
.blog-tile:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.blog-tile-img { width: 100%; height: 150px; object-fit: cover; }
.blog-tile-content { padding: 15px; }
.blog-tile-title { font-weight: 600; font-size: 1.05rem; margin: 0 0 10px 0; line-height: 1.3; }
.blog-tile-desc { font-size: 0.85rem; color: #64748b; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }

@media (max-width: 640px) {
    .action-promo-card { flex-direction: column; text-align: center; }
    .action-promo-card .btn { width: 100%; }
    .blog-tiles-grid { grid-template-columns: 1fr; }
    .blog-modal-body { padding: 20px; }
    .blog-modal-header { padding: 15px 20px; }
}