/* =====================================================
   THEME.CSS — Эвакуатор Харьков (Новый дизайн)
   Загружается АСИНХРОННО, не блокирует первый экран.
   Critical CSS (nav + hero + facts) остаётся inline в header.php
   ===================================================== */

/* ── SECTION ── */
.sec{padding:40px 24px}
.sec+.sec{border-top:8px solid #f5f5f3}
.sec-inner{max-width:1100px;margin:0 auto}
.sec-label{font-size:11px;font-weight:700;color:#c9a000;letter-spacing:2px;text-transform:uppercase;margin-bottom:8px}
.sec-title{font-family:'Oswald',sans-serif;font-size:clamp(26px,6vw,40px);font-weight:700;color:#111;line-height:1.05;margin-bottom:24px}
@media(min-width:768px){.sec{padding:56px 40px}}
@media(min-width:1200px){.sec{padding:64px 40px}}

/* ── LIST ── */
.num-list{list-style:none;display:flex;flex-direction:column;gap:14px}
.num-list li{display:flex;align-items:flex-start;gap:14px;font-size:15px;color:#444;line-height:1.55}
.num{flex-shrink:0;width:30px;height:30px;background:#e9ff00;border-radius:7px;display:flex;align-items:center;justify-content:center;font-family:'Oswald',sans-serif;font-weight:700;font-size:14px;color:#000}
@media(min-width:768px){
.num-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}
}

/* ── CTA BAND ── */
.band{background:#111;padding:40px 24px;text-align:center}
.band-inner{max-width:600px;margin:0 auto}
.band-title{font-family:'Oswald',sans-serif;font-size:clamp(22px,5vw,32px);font-weight:700;color:#fff;margin-bottom:8px}
.band-sub{font-size:14px;color:rgba(255,255,255,.45);margin-bottom:24px}
.band-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#e9ff00;color:#000;font-family:'Oswald',sans-serif;font-size:18px;font-weight:700;border-radius:10px;padding:17px 36px;transition:background .2s}
.band-cta:hover{background:#d4e800}
.band-cta svg{width:18px;height:18px;flex-shrink:0}

/* ── STEPS ── */
.steps{display:flex;flex-direction:column;gap:0}
.step{display:flex;gap:18px;padding:20px 0;border-bottom:1px solid #f0f0f0}
.step:last-child{border-bottom:none}
.step-num{flex-shrink:0;width:44px;height:44px;border:2.5px solid #e9ff00;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'Oswald',sans-serif;font-weight:700;font-size:20px;color:#111}
.step-title{font-family:'Oswald',sans-serif;font-size:18px;font-weight:600;color:#111;margin-bottom:4px}
.step-text{font-size:14px;color:#666;line-height:1.55}
@media(min-width:768px){
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.step{flex-direction:column;border-bottom:none;border-right:1px solid #f0f0f0;padding:24px 28px}
.step:last-child{border-right:none}
}

/* ── WHY US ── */
.why-grid{display:flex;flex-direction:column;gap:12px}
.why-card{background:#f8f8f6;border-radius:12px;padding:18px;display:flex;gap:16px;align-items:flex-start}
.why-icon{flex-shrink:0;width:44px;height:44px;background:#e9ff00;border-radius:9px;display:flex;align-items:center;justify-content:center;font-family:'Oswald',sans-serif;font-weight:700;font-size:16px;color:#000}
.why-title{font-family:'Oswald',sans-serif;font-size:17px;font-weight:600;color:#111;margin-bottom:4px}
.why-text{font-size:13px;color:#666;line-height:1.5}
@media(min-width:600px){
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
}
@media(min-width:992px){
.why-grid{grid-template-columns:repeat(4,1fr)}
}

/* ── REVIEWS ── */
.reviews-grid{display:flex;flex-direction:column;gap:14px}
.review{background:#f8f8f6;border-radius:12px;padding:18px}
.review-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.review-avatar{width:42px;height:42px;border-radius:50%;background:#e9ff00;display:flex;align-items:center;justify-content:center;font-family:'Oswald',sans-serif;font-weight:700;font-size:15px;color:#000;flex-shrink:0}
.review-name{font-weight:600;font-size:14px;color:#111}
.review-stars{color:#d4a000;font-size:13px;margin-top:2px;letter-spacing:1px}
.review-text{font-size:14px;color:#555;line-height:1.6}
@media(min-width:768px){
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr)}
}

/* ── TEXT SECTION ── */
.text-block{font-size:15px;color:#555;line-height:1.75}
.text-block p+p{margin-top:14px}
.text-block strong{color:#111}
.text-block h2{font-family:'Oswald',sans-serif;font-size:clamp(22px,5vw,30px);font-weight:700;color:#111;line-height:1.1;margin:32px 0 14px}
.text-block h2:first-child{margin-top:0}
.text-block h3{font-family:'Oswald',sans-serif;font-size:clamp(18px,4vw,24px);font-weight:600;color:#111;line-height:1.15;margin:28px 0 12px}
.text-block h3:first-child{margin-top:0}
.text-block ul,.text-block ol{margin:16px 0;padding-left:0;list-style:none}
.text-block ul li,.text-block ol li{position:relative;padding-left:24px;margin-bottom:10px;line-height:1.6}
.text-block ul li::before{content:'';position:absolute;left:0;top:10px;width:8px;height:8px;background:#e9ff00;border-radius:2px}
.text-block ol{counter-reset:ol-counter}
.text-block ol li{counter-increment:ol-counter}
.text-block ol li::before{content:counter(ol-counter);position:absolute;left:0;top:0;width:22px;height:22px;background:#e9ff00;border-radius:5px;display:flex;align-items:center;justify-content:center;font-family:'Oswald',sans-serif;font-weight:700;font-size:12px;color:#000}
.text-block ol li{padding-left:32px}
.text-block a{color:#111;font-weight:600;text-decoration:underline;text-decoration-color:#e9ff00;text-decoration-thickness:2px;text-underline-offset:3px}
.text-block a:hover{color:#888}
.text-cols{display:flex;flex-direction:column;gap:0}
@media(min-width:768px){
.text-cols{display:grid;grid-template-columns:1fr 1fr;gap:40px}
}

/* ── SERVICES GRID ── */
.services-grid{display:flex;flex-direction:column;gap:10px}
.service-card{background:#f8f8f6;border-radius:10px;padding:16px 18px;display:flex;align-items:center;gap:14px;font-size:14px;font-weight:500;color:#111;transition:background .2s}
.service-card:hover{background:#f0f0ec}
.service-num{flex-shrink:0;width:32px;height:32px;background:#e9ff00;border-radius:6px;display:flex;align-items:center;justify-content:center;font-family:'Oswald',sans-serif;font-weight:700;font-size:13px;color:#000}
.service-arrow{margin-left:auto;color:#bbb;font-size:18px}
@media(min-width:600px){
.services-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
}
@media(min-width:992px){
.services-grid{grid-template-columns:repeat(3,1fr)}
}

/* ── CONTACTS ── */
.contacts-list{display:flex;flex-direction:column;gap:16px}
.contact-row{display:flex;align-items:flex-start;gap:14px}
.contact-icon{width:42px;height:42px;background:#f0f0f0;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.contact-icon svg{width:20px;height:20px}
.contact-label{font-size:11px;color:#999;margin-bottom:3px;text-transform:uppercase;letter-spacing:.5px}
.contact-val{font-size:15px;font-weight:500;color:#111}
.contact-val a{color:#111}

/* ── FAQ ── */
.faq{display:flex;flex-direction:column;gap:0}
.faq-item{border-bottom:1px solid #f0f0f0}
.faq-q{width:100%;background:none;border:none;padding:18px 0;text-align:left;font-family:'Inter',sans-serif;font-size:15px;font-weight:500;color:#111;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-q:hover{color:#000}
.faq-icon{flex-shrink:0;width:24px;height:24px;background:#f0f0f0;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:transform .25s,background .2s;font-size:16px;line-height:1;color:#555}
.faq-item.open .faq-icon{transform:rotate(45deg);background:#e9ff00;color:#000}
.faq-a{font-size:14px;color:#666;line-height:1.65;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s}
.faq-item.open .faq-a{max-height:400px;padding-bottom:16px}

/* ── MAP ── */
.map-wrap{border-radius:12px;overflow:hidden;height:280px}
.map-wrap iframe{width:100%;height:100%;border:0}
@media(min-width:768px){.map-wrap{height:380px}}

/* ── BREADCRUMBS ── */
.breadcrumbs{padding:16px 24px;font-size:13px;color:#888;background:#fff;border-bottom:1px solid #f0f0f0;overflow-x:auto;white-space:nowrap}
.breadcrumbs-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:8px;list-style:none}
.breadcrumbs a{color:#111;font-weight:500;transition:color .2s}
.breadcrumbs a:hover{color:#888}
.breadcrumbs-sep{color:#ccc;font-size:11px}

/* ── LANGUAGE SWITCHER ── */
.lang-switch{display:inline-flex;align-items:center;background:#f0f0ee;color:#111;font-weight:700;font-size:13px;padding:6px 10px;border-radius:6px;transition:background .2s;margin-left:8px}
.lang-switch:hover{background:#e9ff00}
.mob-lang-switch{font-weight:700;font-size:14px;color:#111;padding:4px 8px;border:1px solid #f0f0f0;border-radius:6px;background:#fafafa}

/* ── FOOTER ── */
.footer{background:#111;color:#fff;padding:48px 24px 24px;font-size:14px;margin-top:auto}
.footer-inner{max-width:1100px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px;margin-bottom:40px}
.footer-col-title{font-family:'Oswald',sans-serif;font-size:18px;font-weight:600;margin-bottom:16px;color:#e9ff00;letter-spacing:.5px;text-transform:uppercase}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:12px}
.footer-links a{color:#aaa;transition:color .2s}
.footer-links a:hover{color:#fff;text-decoration:underline;text-decoration-color:#e9ff00}
.footer-bottom{border-top:1px solid #333;padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;color:#777;font-size:13px}
.social-links{display:flex;gap:12px}
.social-links a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#222;color:#fff;transition:background .2s}
.social-links a:hover{background:#e9ff00;color:#111}

/* ── TABLES ── */
.table-wrap{overflow-x:auto;margin-bottom:24px;border-radius:10px;border:1px solid #f0f0f0}
.custom-table{width:100%;min-width:600px;border-collapse:collapse;text-align:left;font-size:14px}
.custom-table th{background:#f8f8f6;font-family:'Oswald',sans-serif;font-weight:600;padding:14px 16px;border-bottom:2px solid #e0e0e0;color:#111;text-transform:uppercase;letter-spacing:.5px;font-size:13px}
.custom-table td{padding:14px 16px;border-bottom:1px solid #f0f0f0;color:#444}
.custom-table tr:last-child td{border-bottom:none}
.custom-table tr:hover td{background:#fafafa}
.custom-table a{color:#111;font-weight:600;text-decoration:underline;text-decoration-color:#e9ff00;text-decoration-thickness:2px}
.custom-table a:hover{color:#888}

/* ── BLOG GRID ── */
.blog-grid{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:600px){.blog-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:992px){.blog-grid{grid-template-columns:repeat(3,1fr)}}
.blog-card{display:flex;flex-direction:column;background:#fff;border:1px solid #f0f0f0;border-radius:12px;overflow:hidden;transition:transform .2s}
.blog-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.05)}
.blog-card img{width:100%;height:200px;object-fit:cover}
.blog-body{padding:20px;display:flex;flex-direction:column;flex-grow:1}
.blog-title{font-family:'Oswald',sans-serif;font-size:18px;font-weight:700;color:#111;margin-bottom:10px;line-height:1.2}
.blog-desc{font-size:14px;color:#666;line-height:1.5;margin-bottom:20px;flex-grow:1}
.blog-btn{display:inline-flex;align-items:center;justify-content:center;background:#f8f8f6;color:#111;font-weight:600;font-size:13px;padding:10px 16px;border-radius:8px;transition:background .2s;align-self:flex-start}
.blog-btn:hover{background:#e9ff00}

/* ── DESKTOP HERO ALIGNMENT ── */
@media(min-width:992px){
.hero-body{max-width:1100px;margin:0 auto;padding:0 24px;width:100%}
.facts{max-width:1100px;margin:0 auto;border-radius:12px;overflow:hidden;margin-top:10px}
.fact{border-bottom:none}
.fact:last-child{border-right:none}
}

/* ── DEFERRED RENDER ── */
.defer-render{content-visibility:auto;contain-intrinsic-size:600px}
