/* main.css */
:root {
    --primary: #2563eb;
    --primary-soft: #eff6ff;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --green: #22c55e;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f8fafc;
    --radius: 20px;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 50px -15px rgba(0,0,0,0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.65; }
a { text-decoration: none; transition: color 0.25s; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── HEADER ─── */
header {
    background: #fff;
    padding: 14px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; gap: 20px; }
.logo { display: flex; flex-direction: column; }
.logo b { font-size: 1.4rem; color: var(--primary); letter-spacing: -1px; line-height: 1; }
.logo span { font-size: 0.68rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
nav { display: flex; gap: 22px; }
nav a { font-weight: 600; font-size: 0.88rem; color: var(--text-muted); white-space: nowrap; }
nav a:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.phone-top a { display: block; font-size: 1.1rem; font-weight: 800; color: var(--text-main); white-space: nowrap; }
.phone-top a:hover { color: var(--primary); }
.status-online { color: var(--green); font-size: 0.7rem; font-weight: 700; }
.btn-call {
    background: var(--primary); color: #fff; padding: 11px 22px;
    border-radius: var(--radius); font-weight: 700; font-size: 0.88rem;
    border: none; cursor: pointer; white-space: nowrap;
    box-shadow: 0 6px 18px rgba(37,99,235,0.25);
    transition: background 0.25s, transform 0.2s;
}
.btn-call:hover { background: var(--primary-dark); transform: translateY(-2px); }
.burger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ─── BREADCRUMBS ─── */
.breadcrumbs-wrap { background: #f1f5f9; padding: 10px 5%; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumbs { max-width: 1400px; margin: 0 auto; }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.bc-sep { margin: 0 6px; }

/* ─── HERO ─── */
.hero { padding: 70px 5% 60px; display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; gap: 50px; }
.hero-text { flex: 1; min-width: 0; }
.hero-text h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; margin-bottom: 22px; letter-spacing: -2px; }
.hero-text h1 span { color: var(--primary); }
.hero-text p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 30px; max-width: 520px; }
.hero-img { flex: 0 0 420px; }
.hero-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.badge { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; }
.badge-icon { color: var(--primary); font-size: 1.3rem; }

/* ─── SEARCH ─── */
.search-box { background: #fff; padding: 8px; border-radius: var(--radius); display: flex; box-shadow: var(--shadow); margin-bottom: 30px; max-width: 520px; }
.search-box input { border: none; padding: 10px 16px; flex: 1; font-size: 0.95rem; font-family: inherit; background: transparent; }
.search-box button { background: var(--accent); border: none; padding: 11px 24px; border-radius: 14px; color: #fff; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 0.9rem; white-space: nowrap; transition: background 0.2s; }
.search-box button:hover { background: #d97706; }

/* ─── TRUST BAR ─── */
.trust-bar { background: var(--primary); color: #fff; padding: 50px 5%; border-radius: 40px; margin: 50px 5%; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center; }
.trust-item b { font-size: 2.3rem; display: block; line-height: 1; }
.trust-item span { opacity: 0.8; font-size: 0.88rem; margin-top: 6px; display: block; }

/* ─── SECTION ─── */
.section { padding: 70px 5%; max-width: 1400px; margin: 0 auto; }
.section-h { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 40px; text-align: center; letter-spacing: -1px; }
.section-h span { color: var(--primary); }
.section-sub { text-align: center; color: var(--text-muted); margin-top: -28px; margin-bottom: 40px; font-size: 1rem; }

/* ─── CATEGORY CARDS ─── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.cat-card {
    background: #fff; padding: 28px; border-radius: var(--radius);
    border: 1px solid #f1f5f9; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #bfdbfe; }
.cat-card .icon { font-size: 2.3rem; margin-bottom: 16px; display: block; }
.cat-card h3 { margin-bottom: 14px; font-size: 1.2rem; }
.cat-card ul li { margin-bottom: 7px; font-size: 0.88rem; color: var(--text-muted); }
.cat-card ul li a:hover { color: var(--primary); text-decoration: underline; }
.cat-card .card-link { display: inline-block; margin-top: 18px; color: var(--primary); font-size: 0.88rem; font-weight: 700; }
.cat-card .card-link:hover { text-decoration: underline; }

/* ─── SEO TAGS ─── */
.seo-tags { padding: 40px 5%; background: #f1f5f9; border-radius: 36px; margin: 0 5% 50px; }
.tag-group { margin-bottom: 24px; }
.tag-group:last-child { margin-bottom: 0; }
.tag-group h4 { margin-bottom: 12px; font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { background: #fff; padding: 7px 16px; border-radius: 50px; font-size: 0.83rem; border: 1px solid #e2e8f0; transition: border-color 0.2s, color 0.2s; }
.tag-list a:hover { border-color: var(--primary); color: var(--primary); }

/* ─── SERVICE PAGE ─── */
.service-hero { background: linear-gradient(135deg, var(--primary-soft) 0%, #fff 100%); padding: 60px 5%; }
.service-hero-inner { max-width: 1400px; margin: 0 auto; }
.service-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -1.5px; margin-bottom: 16px; }
.service-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 620px; }
.service-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn-primary { background: var(--primary); color: #fff; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; border: none; cursor: pointer; font-size: 1rem; font-family: inherit; box-shadow: 0 8px 20px rgba(37,99,235,0.25); transition: background 0.25s, transform 0.2s; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--primary); padding: 14px 28px; border-radius: var(--radius); font-weight: 700; border: 2px solid var(--primary); font-size: 1rem; transition: background 0.25s; }
.btn-outline:hover { background: var(--primary-soft); }

/* ─── PRICE TABLE ─── */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th { background: var(--primary); color: #fff; padding: 14px 20px; text-align: left; font-size: 0.9rem; }
.price-table td { padding: 13px 20px; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: #f8fafc; }
.price-free { color: var(--green); font-weight: 700; }

/* ─── STEPS ─── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: step; }
.step { background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid #f1f5f9; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 24px; background: var(--primary); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; }
.step h4 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* ─── REVIEWS ─── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: #fff; padding: 24px; border-radius: var(--radius); border: 1px solid #f1f5f9; }
.review-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 12px; }
.review-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.review-author { font-weight: 700; font-size: 0.88rem; }
.review-service { font-size: 0.8rem; color: var(--text-muted); }

/* ─── DISTRICT PAGE ─── */
.district-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ds-card { background: #fff; padding: 20px 24px; border-radius: var(--radius); border: 1px solid #f1f5f9; display: flex; align-items: center; gap: 16px; transition: box-shadow 0.25s, transform 0.25s; }
.ds-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.ds-icon { font-size: 2rem; flex-shrink: 0; }
.ds-info h4 { font-size: 1rem; margin-bottom: 4px; }
.ds-info p { font-size: 0.82rem; color: var(--text-muted); }

/* ─── MODAL ─── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 28px; padding: 40px; width: 90%; max-width: 460px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.25); animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 16px; right: 16px; background: #f1f5f9; border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.modal-close:hover { background: #e2e8f0; }
.modal-box h3 { font-size: 1.5rem; margin-bottom: 6px; letter-spacing: -0.5px; }
.modal-box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
#lead-form input, #lead-form select, #lead-form textarea { display: block; width: 100%; padding: 13px 16px; margin-bottom: 14px; border: 2px solid #e2e8f0; border-radius: 14px; font-size: 0.95rem; font-family: inherit; transition: border-color 0.25s; }
#lead-form input:focus, #lead-form select:focus, #lead-form textarea:focus { border-color: var(--primary); }
#lead-form textarea { resize: vertical; }
.btn-submit { width: 100%; background: var(--primary); color: #fff; padding: 15px; border: none; border-radius: var(--radius); font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; box-shadow: 0 8px 20px rgba(37,99,235,0.25); transition: background 0.25s; }
.btn-submit:hover { background: var(--primary-dark); }
.form-note { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 12px; }
.form-note a { color: var(--primary); }

/* ─── FOOTER ─── */
footer { background: #fff; border-top: 1px solid #e2e8f0; margin-top: 80px; }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 70px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); margin: 14px 0 16px; max-width: 260px; }
.footer-phone { font-size: 1.3rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 8px; }
.footer-phone:hover { color: var(--primary-dark); }
.footer-hours, .footer-addr { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
.footer-col h4 { margin-bottom: 18px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #f1f5f9; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--text-muted); }

/* ─── FAB ─── */
.fab { position: fixed; bottom: 28px; right: 28px; background: var(--green); color: #fff; width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 8px 24px rgba(34,197,94,0.4); z-index: 1500; animation: pulse 2.5s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    nav a { font-size: 0.82rem; }
    nav { gap: 16px; }
}
@media (max-width: 900px) {
    .hero { flex-direction: column; padding: 50px 5%; }
    .hero-img { flex: none; width: 100%; max-width: 420px; margin: 0 auto; }
    .hero-text h1 { text-align: center; }
    .hero-text p { text-align: center; margin: 0 auto 24px; }
    .hero-badges { justify-content: center; }
    .search-box { max-width: 100%; }
    nav { display: none; }
    .burger { display: block; }
    nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px 5%; box-shadow: 0 10px 30px rgba(0,0,0,0.1); gap: 16px; }
}
@media (max-width: 640px) {
    .trust-bar { border-radius: 24px; margin: 40px 3%; padding: 40px 5%; }
    .seo-tags { margin: 0 3% 40px; border-radius: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .phone-top { display: none; }
    .modal-box { padding: 28px 22px; }
}
