:root {
    --primary-blue: #2563EB; --dark-blue: #112349; --light-blue: #EFF6FF;
    --yellow: #FFB800; --orange: #FF6B35; --green: #22C55E; --purple: #8B5CF6;
    --black: #0F172A; --white: #FFFFFF; --bg-light: #F8FAFC;
    --font-heading: 'Cabinet Grotesk', sans-serif;
    --font-body: 'Satoshi', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--black); background: var(--bg-light); line-height: 1.6; overflow-x: hidden; width: 100%; position: relative; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--dark-blue); }
.gradient-text { background: linear-gradient(90deg, var(--yellow), var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tag { display: inline-block; padding: 6px 14px; border-radius: 20px; background: var(--light-blue); color: var(--primary-blue); font-weight: 700; font-size: 0.9rem; margin-bottom: 15px; }
.tag-light { background: rgba(255,255,255,0.2); color: var(--white); }

.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; text-align: center; transition: 0.3s; border: none; cursor: pointer; }
.btn-primary { background: var(--primary-blue); color: var(--white); }
.btn-primary:hover { background: #1D4ED8; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: #e6a600; }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--dark-blue); }
.btn-full { width: 100%; }
.btn-large { padding: 18px 36px; font-size: 1.1rem; }
.mt-2 { margin-top: 10px; }

header { position: fixed; top: 0; width: 100%; background: var(--white); z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 40px; }
.nav-desktop a { margin: 0 15px; text-decoration: none; color: var(--black); font-weight: 500; transition: 0.3s; }
.nav-desktop a:hover { color: var(--primary-blue); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.phone { font-weight: 700; color: var(--black); text-decoration: none; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--dark-blue); padding: 5px; }
.nav-desktop.active { display: flex; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background: var(--white); padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid #E2E8F0; }
.nav-desktop.active a { margin: 15px 0; font-size: 1.2rem; text-align: center; }

/* ДИНАМІКА - АНІМАЦІЇ */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.grid-4 > div:nth-child(1) { transition-delay: 0.1s; }
.grid-4 > div:nth-child(2) { transition-delay: 0.2s; }
.grid-4 > div:nth-child(3) { transition-delay: 0.3s; }
.grid-4 > div:nth-child(4) { transition-delay: 0.4s; }
.grid-3 > div:nth-child(1) { transition-delay: 0.1s; }
.grid-3 > div:nth-child(2) { transition-delay: 0.2s; }
.grid-3 > div:nth-child(3) { transition-delay: 0.3s; }

/* HERO */
.hero { padding: 160px 0 100px; background: linear-gradient(rgba(10, 26, 63, 0.85), rgba(10, 26, 63, 0.85)), url('assets/hero.jpg') center/cover no-repeat; color: var(--white); text-align: center; }
.badge { display: inline-block; padding: 5px 15px; border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; font-size: 0.9rem; margin-bottom: 20px; }
.title { font-size: 4rem; margin-bottom: 20px; word-wrap: break-word; }
.subtitle { font-size: 1.2rem; max-width: 800px; margin: 0 auto 40px; opacity: 0.9; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.trust-chips { display: flex; justify-content: center; gap: 20px; margin-bottom: 60px; flex-wrap: wrap; }
.chip { background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; }
.hero-stats { display: flex; justify-content: center; gap: 60px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 2.5rem; font-family: var(--font-heading); color: var(--yellow); }

.benefits, .products, .how-it-works, .key-areas, .faq { padding: 80px 0; overflow: hidden; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.card { background: var(--white); padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); position: relative; }
.border-orange { border-bottom: 4px solid var(--orange); }
.border-blue { border-bottom: 4px solid var(--primary-blue); }
.border-green { border-bottom: 4px solid var(--green); }
.border-purple { border-bottom: 4px solid var(--purple); }
.icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* КАРТОЧКИ ПРОДУКЦИИ */
.product-card { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; border: 1.5px solid #E2E8F0; border-radius: 16px; background: var(--white); }
.product-card.border-yellow { border-color: var(--yellow); }
.product-card.border-blue { border-color: var(--primary-blue); }
.product-card.border-green { border-color: var(--green); }
.card-img-wrap { position: relative; height: 220px; width: 100%; background: #F1F5F9; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder { height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 0.9rem; text-align: center; }
.card-badge { position: absolute; top: 16px; right: 16px; background: var(--yellow); color: var(--black); padding: 6px 16px; border-radius: 24px; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { font-size: 1.45rem; margin-bottom: 12px; color: var(--dark-blue); }
.card-body .desc { font-size: 0.95rem; color: #64748B; margin-bottom: 24px; line-height: 1.5; }
.check-list { list-style: none; margin: 0 0 24px 0; padding: 0; flex-grow: 1; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 0.95rem; color: #334155; line-height: 1.4; }
.check-list li::before { content: '✔'; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 11px; color: white; font-weight: bold; }
.list-yellow li::before { background: var(--yellow); color: var(--black); }
.list-blue li::before { background: var(--primary-blue); }
.list-green li::before { background: var(--green); }
.price-wrap { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.price-from { font-size: 1rem; color: #94A3B8; }
.price-value { font-size: 2.5rem; font-weight: 800; font-family: var(--font-heading); color: var(--dark-blue); }
.card-actions { display: flex; gap: 12px; flex-direction: row; }
.card-actions .btn { padding: 14px 10px; font-size: 0.95rem; border-radius: 30px; text-align: center; border: none; font-weight: 700; cursor: pointer; text-decoration: none; transition: 0.2s; }
.btn-buy { background: var(--primary-blue); color: white; flex: 1; min-width: 100px; }
.btn-buy:hover { background: #1D4ED8; }
.btn-consult { background: #F8FAFC; color: var(--dark-blue); border: 1px solid #E2E8F0; flex: 1.5; min-width: 150px; }
.btn-consult:hover { background: #E2E8F0; }

.gallery { padding: 80px 0; overflow: hidden; background: var(--white); }
.gallery-scroll { display: flex; gap: 20px; overflow-x: auto; padding: 20px 0; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; width: 100%; margin: 0; }
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 4px; }
.gallery-img-wrap { position: relative; height: 300px; min-width: 400px; background: #F1F5F9; border-radius: 16px; flex-shrink: 0; overflow: hidden; scroll-snap-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.how-it-works { background: var(--dark-blue); color: var(--white); }
.text-white h2, .text-white p { color: var(--white); }
.step-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); }
.step-num { font-size: 3rem; font-family: var(--font-heading); font-weight: 800; color: var(--primary-blue); opacity: 0.5; margin-bottom: 10px; }

.merged-block { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; background: var(--white); padding: 50px; border-radius: 24px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.lead-text { font-size: 1.2rem; margin-bottom: 30px; color: var(--primary-blue); font-weight: 500; }
.custom-list { list-style: none; }
.custom-list li { margin-bottom: 15px; padding-left: 30px; position: relative; color: #334155; }
.custom-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: bold; font-size: 1.2rem; }
.merged-right { background: var(--dark-blue); padding: 50px; border-radius: 24px; color: var(--white); text-align: center; }
.merged-right h3 { font-size: 2rem; margin-bottom: 15px; }

.faq-container { max-width: 800px; margin: 0 auto; }
details { background: var(--white); margin-bottom: 15px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
summary { padding: 20px; font-weight: 700; cursor: pointer; list-style: none; font-family: var(--font-heading); font-size: 1.1rem; color: var(--dark-blue); }
summary::-webkit-details-marker { display: none; }
.faq-content { padding: 0 20px 20px; color: #64748B; }

/* CONTACT BLOCK REDESIGN */
.contact { background: var(--dark-blue); padding: 80px 0; overflow: hidden;}
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.contact-left h2 { font-size: 3rem; margin-bottom: 20px; line-height: 1.1; color: white; }
.contact-left p { color: #E2E8F0; font-size: 1rem; margin-bottom: 30px; line-height: 1.5; }
.contact-links { margin-bottom: 30px; }
.contact-links a { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; }
.contact-links svg { fill: var(--yellow); width: 20px; height: 20px; }
.contact-schedule h4 { color: var(--yellow); margin-bottom: 10px; font-size: 1rem; }
.contact-schedule p { color: #CBD5E1; font-size: 0.95rem; margin-bottom: 5px; }
.contact-socials { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.soc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 30px; color: white; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.soc-btn:hover { filter: brightness(1.1); transform: translateY(-3px); }

/* КОМПАКТНА ФОРМА */
.compact-form { background: white; padding: 30px 40px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); width: 100%; box-sizing: border-box;}
.compact-form .form-group { margin-bottom: 12px; }
.compact-form label { display: block; font-weight: 700; color: var(--dark-blue); font-size: 0.85rem; margin-bottom: 4px; }
.compact-form input, .compact-form select, .compact-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #CBD5E1; border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; color: #334155; background: #F8FAFC; transition: 0.3s; box-sizing: border-box; }
.compact-form input:focus, .compact-form select:focus, .compact-form textarea:focus { outline: none; border-color: var(--primary-blue); background: white; }
.compact-form textarea { height: 75px; resize: none; }
.compact-form .disclaimer { font-size: 0.75rem; color: #94A3B8; text-align: center; margin-top: 10px; }
.btn-icon { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border-radius: 30px; font-size: 1rem; margin-top: 10px; font-weight: 700; color: white; background: var(--primary-blue); border: none; cursor: pointer; transition: 0.3s;}
.btn-icon:hover { background: #1D4ED8; }

.footer { background: #050d21; color: #94A3B8; padding: 60px 0 30px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h2 { color: white; margin-bottom: 15px; }
.footer-nav h4 { color: white; margin-bottom: 20px; font-size: 1.2rem; }
.footer-nav a, .footer-nav p { display: block; color: #94A3B8; text-decoration: none; margin-bottom: 10px; }
.footer-nav a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 0.9rem; flex-wrap: wrap; }

/* ПЛАВАЮЩИЕ КНОПКИ */
.floating-messengers { position: fixed; bottom: 20px; right: 15px; display: flex; flex-direction: column; gap: 10px; z-index: 1000; }
.ms-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: 0.3s; }
.ms-btn:hover { transform: scale(1.1); }
.ms-btn svg { width: 24px; height: 24px; fill: white;}

.btn-call-float { background: #10B981; } /* Зелений */
.btn-feedback-float { background: #F59E0B; } /* Помаранчевий */
.tg { background: #229ED9; }
.wa { background: #25D366; }
.vb { background: #7360F2; }

/* === МОБИЛЬНАЯ АДАПТАЦИЯ === */
@media (max-width: 992px) {
    .title { font-size: 3rem; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .merged-block, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .merged-block { padding: 30px 20px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .contact-left h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .header-actions { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero { padding: 120px 0 60px; }
    .benefits, .products, .how-it-works, .key-areas, .faq, .contact { padding: 50px 0; }
    
    .title { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; width: 100%; padding: 0 20px; }
    .hero-buttons .btn { width: 100%; }
    
    .grid-3 { grid-template-columns: 1fr; }
    .card-actions { flex-direction: column; } 
    .btn-consult, .btn-buy { width: 100%; }
    
    .gallery-img-wrap { height: 220px; min-width: 85vw; }
    
    .footer-top { grid-template-columns: 1fr; gap: 30px; text-align: left; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    
    .ms-btn { width: 45px; height: 45px; }
    .ms-btn svg { width: 20px; height: 20px; }
    
    .contact-left h2 { font-size: 2rem; }
    .compact-form { padding: 25px 20px; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    .container { padding: 0 15px; }
    .merged-right { padding: 30px 15px; }
    .price-value { font-size: 2rem; }
    .card-img-wrap { height: 180px; }
    .step-num { font-size: 2.5rem; }
    .contact-socials { justify-content: center; }
}