/*
Theme Name: ВивозМусораМСК
Theme URI: https://vivozmusoramsk.ru
Author: Custom Theme
Description: Профессиональная тема для компании по вывозу мусора контейнерами в Москве и МО
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: vivozmusoramsk
*/

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green:       #2e7d32;
    --green-dark:  #1b5e20;
    --green-light: #4caf50;
    --accent:      #ff6f00;
    --accent-hover:#e65100;
    --gray-dark:   #212121;
    --gray:        #424242;
    --gray-light:  #f5f5f5;
    --white:       #ffffff;
    --shadow:      0 4px 24px rgba(0,0,0,.12);
    --radius:      10px;
    --font:        'Montserrat', 'Arial', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
}

a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-light); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--gray-dark);
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 50px;
}
.text-center { text-align: center; }
.text-green { color: var(--green); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    border: none;
    transition: all .25s;
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,111,0,.4);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--green);
}
.btn-green {
    background: var(--green);
    color: var(--white);
}
.btn-green:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46,125,50,.4);
}

/* ───── TOP BAR ───── */
.topbar {
    background: var(--green-dark);
    color: rgba(255,255,255,.85);
    font-size: .82rem;
    padding: 8px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--white); }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 6px; }

/* ───── HEADER ───── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
/* WordPress admin bar занимает 32px сверху (46px на мобильных) */
body.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 20px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 52px;
    height: 52px;
    background: var(--green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-icon svg { width: 32px; height: 32px; fill: var(--white); }
.logo-text { line-height: 1.1; }
.logo-text strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--green-dark);
    letter-spacing: -.5px;
}
.logo-text span {
    font-size: .72rem;
    color: var(--gray);
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Nav */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.main-nav a {
    display: block;
    padding: 8px 14px;
    color: var(--gray-dark);
    font-weight: 600;
    font-size: .9rem;
    border-radius: 6px;
    transition: all .2s;
}
.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--green);
    background: rgba(46,125,50,.08);
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}
.header-phone a {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--gray-dark);
    letter-spacing: -.5px;
    transition: color .2s;
}
.header-phone a:hover { color: var(--green); }
.header-phone span {
    font-size: .75rem;
    color: var(--gray);
    font-weight: 500;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}
.burger span {
    width: 26px;
    height: 2.5px;
    background: var(--gray-dark);
    border-radius: 2px;
    transition: all .3s;
    display: block;
}

/* ───── HERO ───── */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--green-dark) 0%, #2e7d32 50%, #388e3c 100%);
    color: var(--white);
    padding: 90px 0 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.3); }
}
.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -.5px;
}
.hero h1 span { color: #a5d6a7; }
.hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: .9;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.2);
}
.hero-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.hero-stat-label {
    font-size: .8rem;
    opacity: .75;
    margin-top: 4px;
}

/* Hero illustration */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-truck-wrap {
    position: relative;
    width: 100%;
    max-width: 460px;
}
.hero-truck-bg {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}
.truck-svg-wrap {
    background: rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
}

/* ───── CONTAINERS ───── */
.containers { background: var(--gray-light); }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.card-popular {
    position: relative;
    border: 2px solid var(--accent);
}
.popular-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 14px 6px;
    border-radius: 0 0 10px 10px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.card-header {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--white);
    padding: 30px 28px 24px;
    position: relative;
    overflow: hidden;
}
.card-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.card-popular .card-header {
    background: linear-gradient(135deg, #e65100, var(--accent));
}
.card-volume {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}
.card-volume span { font-size: 1.2rem; font-weight: 400; }
.card-name { font-size: 1rem; opacity: .85; margin-top: 6px; }
.card-body { padding: 28px; }
.card-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--green-dark);
    margin-bottom: 4px;
}
.card-price-note { font-size: .8rem; color: var(--gray); margin-bottom: 20px; }
.card-features { list-style: none; margin-bottom: 24px; }
.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: .9rem;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.card-features li:last-child { border-bottom: none; }
.feat-icon {
    width: 20px;
    height: 20px;
    background: rgba(46,125,50,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.feat-icon svg { width: 11px; height: 11px; fill: var(--green); }

/* ───── HOW IT WORKS ───── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 18px);
    right: calc(12.5% + 18px);
    height: 2px;
    background: linear-gradient(90deg, var(--green-light), var(--green));
    z-index: 0;
}
.step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-num {
    width: 72px;
    height: 72px;
    background: var(--green);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(46,125,50,.4);
    border: 4px solid var(--white);
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--gray); line-height: 1.5; }

/* ───── ADVANTAGES ───── */
.advantages { background: var(--green-dark); color: var(--white); }
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.adv-item {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: background .3s;
}
.adv-item:hover { background: rgba(255,255,255,.12); }
.adv-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.adv-icon svg { width: 28px; height: 28px; fill: var(--white); }
.adv-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.adv-item p { font-size: .88rem; opacity: .75; line-height: 1.6; }

/* ───── ZONES ───── */
.zones-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.zone-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.zone-tag {
    background: rgba(46,125,50,.1);
    color: var(--green-dark);
    border: 1px solid rgba(46,125,50,.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: .83rem;
    font-weight: 600;
    transition: all .2s;
}
.zone-tag:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.map-placeholder {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 16px;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--green-dark);
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px dashed rgba(46,125,50,.3);
}
.map-placeholder svg { width: 60px; height: 60px; fill: var(--green); opacity: .5; }

/* ───── REVIEWS ───── */
.reviews { background: var(--gray-light); }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
}
.review-stars { color: #ffc107; font-size: 1.1rem; margin-bottom: 14px; }
.review-text {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 20px;
    font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: .9rem; }
.review-date { font-size: .78rem; color: var(--gray); }

/* ───── CTA SECTION ───── */
.cta-section {
    background: linear-gradient(135deg, var(--accent), #e65100);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}
.cta-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 14px;
}
.cta-section p { font-size: 1.1rem; opacity: .9; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
    background: var(--white);
    color: var(--accent);
    font-weight: 800;
}
.btn-white:hover {
    background: var(--gray-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ───── CONTACT FORM ───── */
.contact-section { padding: 80px 0; }
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--gray); margin-bottom: 32px; }
.contact-list { list-style: none; }
.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
}
.contact-list li:last-child { border-bottom: none; }
.c-icon {
    width: 42px;
    height: 42px;
    background: rgba(46,125,50,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.c-icon svg { width: 20px; height: 20px; fill: var(--green); }
.c-label { font-size: .78rem; color: var(--gray); font-weight: 500; margin-bottom: 2px; }
.c-value { font-weight: 700; color: var(--gray-dark); font-size: .97rem; }
.c-value a { color: var(--gray-dark); }
.c-value a:hover { color: var(--green); }

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,.05);
}
.form-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.form-subtitle { font-size: .88rem; color: var(--gray); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: .93rem;
    font-family: var(--font);
    color: var(--gray-dark);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(46,125,50,.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-note {
    font-size: .77rem;
    color: var(--gray);
    margin-top: 10px;
    line-height: 1.5;
}
.form-note a { color: var(--green); }

/* ───── FOOTER ───── */
.site-footer {
    background: var(--gray-dark);
    color: rgba(255,255,255,.8);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-brand { }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    text-decoration: none;
}
.footer-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-icon svg { width: 26px; height: 26px; fill: var(--white); }
.footer-logo-text strong {
    display: block;
    font-weight: 900;
    color: var(--white);
    font-size: 1.1rem;
}
.footer-logo-text span { font-size: .72rem; opacity: .6; text-transform: uppercase; letter-spacing: .5px; }
.footer-desc { font-size: .88rem; line-height: 1.7; opacity: .7; margin-bottom: 20px; }
.footer-phone-big a {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -.5px;
}
.footer-phone-big a:hover { color: var(--green-light); }
.footer-phone-caption { font-size: .75rem; opacity: .5; margin-top: 2px; }
.footer-col h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 18px;
    font-size: .95rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--green-light);
    border-radius: 2px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    transition: color .2s;
}
.footer-links a:hover { color: var(--green-light); }
.footer-contacts li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: .87rem;
    color: rgba(255,255,255,.7);
}
.footer-contacts svg { width: 16px; height: 16px; fill: var(--green-light); flex-shrink: 0; margin-top: 2px; }
.footer-contacts a { color: rgba(255,255,255,.7); }
.footer-contacts a:hover { color: var(--green-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .8rem;
    opacity: .5;
}

/* ───── FLOATING CALL BTN ───── */
.float-call {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255,111,0,.5);
    transition: transform .3s, box-shadow .3s;
    animation: float-bounce 3s ease-in-out infinite;
}
.float-call svg { width: 26px; height: 26px; fill: var(--white); }
.float-call:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255,111,0,.6);
}
@keyframes float-bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ───── PAGE / SINGLE ───── */
.page-content, .post-content {
    max-width: 860px;
    margin: 60px auto;
    padding: 0 20px;
}
.page-content h1, .post-content h1 { margin-bottom: 24px; }
.page-content h2, .post-content h2 { margin: 32px 0 12px; }
.page-content p, .post-content p { margin-bottom: 16px; line-height: 1.8; }
.page-content ul, .post-content ul { padding-left: 20px; margin-bottom: 16px; }
.page-content li, .post-content li { margin-bottom: 6px; }

/* 404 */
.not-found {
    text-align: center;
    padding: 120px 20px;
}
.not-found h1 { font-size: 8rem; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 10px; }
.not-found h2 { font-size: 1.8rem; margin-bottom: 16px; }
.not-found p { color: var(--gray); margin-bottom: 32px; }

/* ───── RESPONSIVE ───── */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .adv-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .topbar .container { justify-content: center; }
    .topbar-info { justify-content: center; }
    .header-inner { flex-wrap: wrap; gap: 12px; }
    .main-nav { display: none; width: 100%; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid #eee; }
    .main-nav a { padding: 10px 8px; }
    .burger { display: flex; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .hero-truck-wrap { max-width: 320px; margin: 0 auto; }
    .cards-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .zones-inner { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .adv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero { padding: 60px 0 50px; }
    .hero-actions { flex-direction: column; }
    .hero-stats { gap: 20px; }
    .hero-stat-num { font-size: 1.6rem; }
    .cta-actions { flex-direction: column; align-items: center; }
    .header-phone a { font-size: 1.1rem; }
}

/* ═══ Modal overlay ═══ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(2px);
    animation: modalFadeIn .2s ease;
}
.modal-overlay[hidden] { display: none; }

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    width: 100%;
    max-width: 460px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: modalSlideUp .25s ease;
}

@keyframes modalSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #9e9e9e;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color .15s, background .15s;
}
.modal-close:hover { color: #333; background: #f5f5f5; }

/* btn-sm helper */
.btn-sm { padding: 8px 18px !important; font-size: .85rem !important; }

/* Header order button overrides */
.header-phone .btn { white-space: nowrap; }

@media (max-width: 480px) {
    .modal-wrap { padding: 32px 20px 24px; }
}

/* ═══ Privacy Policy page ═══ */
.privacy-page {
    padding: 60px 0 80px;
}
.privacy-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin: 36px 0 12px;
}
.privacy-body p,
.privacy-body li {
    color: #424242;
    line-height: 1.85;
    font-size: .97rem;
}
.privacy-body ul {
    padding-left: 20px;
    margin: 8px 0 16px;
}
.privacy-body li {
    margin-bottom: 6px;
}
.privacy-body a {
    color: var(--green);
}
.privacy-body a:hover {
    text-decoration: underline;
}

/* ═══ FAQ Section ═══ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.faq-item[open] {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--green);
    flex-shrink: 0;
    transition: transform .25s;
}
.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 24px 20px;
    color: #616161;
    line-height: 1.8;
    font-size: .97rem;
}
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 10px; }

/* ═══ SEO Text Section ═══ */
.seo-text-inner {
    max-width: 900px;
    margin: 0 auto;
    color: #424242;
    line-height: 1.85;
}
.seo-text-inner h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}
.seo-text-inner h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 28px 0 10px;
}
.seo-text-inner p {
    margin-bottom: 14px;
    font-size: .97rem;
}
.seo-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 8px 0;
}
@media (max-width: 700px) {
    .seo-cols { grid-template-columns: 1fr; gap: 0; }
    .faq-question { padding: 16px 18px; font-size: .95rem; }
    .faq-answer { padding: 0 18px 16px; }
}

/* ═══════════════════════════════════════════════════
   ЛОКАЦИОННЫЕ СТРАНИЦЫ (page-location.php)
════════════════════════════════════════════════════ */

/* ── Hero локации ── */
.loc-hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    color: var(--white);
    padding: 60px 0 70px;
}
.loc-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 32px;
}
.loc-breadcrumbs a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    transition: color .2s;
}
.loc-breadcrumbs a:hover { color: var(--white); }
.loc-breadcrumbs span[aria-current] { color: var(--white); font-weight: 600; }

.loc-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}
.loc-hero-content h1 { color: var(--white); margin-bottom: 16px; }
.loc-hero-content h1 span { color: #a5d6a7; }
.loc-hero-icon { width: 200px; flex-shrink: 0; opacity: .9; }
.loc-hero-icon svg { width: 100%; height: auto; }

/* ── Преимущества ── */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform .25s;
}
.advantage-card:hover { transform: translateY(-4px); }
.advantage-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.advantage-icon svg { width: 26px; height: 26px; }
.advantage-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.advantage-card p  { font-size: .9rem; color: var(--gray); line-height: 1.5; }

/* ── Цены ── */
.containers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.container-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform .25s;
}
.container-card:hover { transform: translateY(-4px); }
.container-card--popular {
    border: 2px solid var(--green);
}
.container-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    white-space: nowrap;
}
.container-volume {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--green-dark);
    line-height: 1;
    margin-bottom: 8px;
}
.container-desc {
    color: var(--gray);
    font-size: .9rem;
    margin-bottom: 20px;
    min-height: 40px;
}
.container-features {
    list-style: none;
    margin-bottom: 24px;
}
.container-features li {
    font-size: .88rem;
    color: var(--gray);
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.container-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-light);
    flex-shrink: 0;
}
.container-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
}

/* ── О районе / городе ── */
.loc-about-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}
.loc-rich-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
}
.loc-rich-text p { margin-bottom: 16px; }
.loc-rich-text p:last-child { margin-bottom: 0; }

.loc-info-card {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid #e8e8e8;
    position: sticky;
    top: 100px;
}
.loc-info-card h4 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gray);
    margin-bottom: 16px;
}
.loc-info-card ul { list-style: none; }
.loc-info-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: .9rem;
    line-height: 1.4;
}
.loc-info-card li:last-child { border-bottom: none; }
.loc-info-card li svg {
    width: 18px;
    height: 18px;
    fill: var(--green);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Когда нужен контейнер ── */
.loc-usecases-text { max-width: 860px; }

/* ── FAQ локации ── */
.loc-faq-list { max-width: 860px; }

/* ── Шаги ── */
.loc-steps { overflow: hidden; }
.loc-steps .section-title { position: relative; z-index: 1; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 40px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(12.5% + 8px);
    right: calc(12.5% + 8px);
    height: 2px;
    background: rgba(255,255,255,.2);
    z-index: 0;
}
.step-card {
    text-align: center;
    padding: 0 16px 24px;
    position: relative;
    z-index: 1;
}
.step-num {
    width: 52px;
    height: 52px;
    background: var(--accent);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    border: 3px solid var(--green-dark);
}
.step-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.step-card p  { color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.6; }

/* ── Соседние районы ── */
.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 32px;
}
.nearby-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--gray-light);
    border-radius: var(--radius);
    font-size: .9rem;
    color: var(--gray-dark);
    text-decoration: none;
    border: 1px solid #e8e8e8;
    transition: all .2s;
}
.nearby-card svg { fill: var(--green); flex-shrink: 0; }
.nearby-card:hover {
    background: var(--white);
    border-color: var(--green);
    color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46,125,50,.15);
}

/* ── CTA блок ── */
.loc-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white);
}
.loc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.loc-cta-inner h2 { color: var(--white); margin-bottom: 8px; font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
.loc-cta-inner p  { color: rgba(255,255,255,.85); }
.loc-cta-actions  { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }
.loc-cta .btn-primary { background: var(--white); color: var(--accent); }
.loc-cta .btn-primary:hover { background: rgba(255,255,255,.9); }
.loc-cta .btn-green { background: var(--green); }

/* ── Районы округа (страница округа) ── */
.loc-districts { background: #f8f9fa; }
.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.district-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
.district-card:hover {
    border-color: var(--green);
    box-shadow: 0 2px 8px rgba(46,125,50,.12);
}
.district-name  { font-size: .875rem; font-weight: 600; color: var(--green-dark); }
.district-arrow { font-size: 1rem; color: var(--green); flex-shrink: 0; }

/* ── Навигация по локациям (главная страница) ── */
.loc-nav-section { background: #f8f9fa; }
.loc-nav-group   { margin-bottom: 36px; }
.loc-nav-group:last-child { margin-bottom: 0; }
.loc-nav-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--green-light);
}
.loc-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.loc-nav-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
.loc-nav-card:hover {
    border-color: var(--green);
    box-shadow: 0 2px 8px rgba(46,125,50,.12);
}
.loc-nav-name {
    font-size: .875rem;
    font-weight: 600;
    color: var(--green-dark);
    line-height: 1.3;
}
.loc-nav-meta {
    font-size: .75rem;
    color: #888;
}
.loc-nav-more { margin-top: 14px; }
.loc-nav-more-link {
    font-size: .875rem;
    font-weight: 600;
    color: var(--green-dark);
    text-decoration: none;
    border-bottom: 1px dashed var(--green);
}
.loc-nav-more-link:hover { border-bottom-style: solid; }

/* ════════════════════════════════════════
   ХАБ-СТРАНИЦЫ (page-hub.php)
════════════════════════════════════════ */
.hub-hero { padding: 40px 0 48px; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); }
.hub-hero-inner { max-width: 700px; }
.hub-hero .loc-hero-title { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.hub-hero .loc-hero-sub   { color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 1.6; margin-bottom: 28px; }
.hub-hero .loc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hub-hero .loc-breadcrumbs { margin-bottom: 20px; }
.hub-hero .loc-breadcrumbs a,
.hub-hero .loc-breadcrumbs span { color: rgba(255,255,255,.8); }
.hub-hero .loc-breadcrumbs a:hover { color: var(--white); }

.hub-content { padding: 52px 0 60px; }

.hub-section { margin-bottom: 52px; }
.hub-section:last-child { margin-bottom: 0; }
.hub-section-title { font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--green-dark); margin-bottom: 8px; }
.hub-section-sub   { color: #666; margin-bottom: 24px; }

/* Округа */
.hub-okrug-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.hub-okrug-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.hub-okrug-card:hover {
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(46,125,50,.15);
}
.hub-okrug-name  { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); }
.hub-okrug-label { font-size: .75rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.hub-okrug-hint  { font-size: .8rem; color: #777; line-height: 1.4; margin-top: 4px; }

/* Районы по округам */
.hub-district-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.hub-district-heading {
    font-size: .85rem;
    font-weight: 700;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--green-light);
}
.hub-district-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.hub-district-list a { font-size: .875rem; color: var(--text); text-decoration: none; }
.hub-district-list a:hover { color: var(--green-dark); text-decoration: underline; }

/* Города МО */
.hub-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}
.hub-city-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
.hub-city-card:hover { border-color: var(--green); box-shadow: 0 2px 8px rgba(46,125,50,.12); }
.hub-city-name { font-size: .875rem; font-weight: 600; color: var(--green-dark); }
.hub-city-dist { font-size: .75rem; color: #888; }

/* SEO-текст */
.hub-text-section { background: #f8f9fa; border-radius: 10px; padding: 32px; }
.hub-text p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.hub-text p:last-child { margin-bottom: 0; }

/* ── Адаптив ── */
@media (max-width: 1024px) {
    .advantages-grid    { grid-template-columns: repeat(2, 1fr); }
    .containers-grid    { grid-template-columns: repeat(2, 1fr); }
    .steps-grid         { grid-template-columns: repeat(2, 1fr); }
    .loc-about-inner    { grid-template-columns: 1fr; }
    .loc-info-card      { position: static; }
}
@media (max-width: 768px) {
    .loc-hero-inner     { grid-template-columns: 1fr; }
    .loc-hero-icon      { display: none; }
    .advantages-grid    { grid-template-columns: 1fr; }
    .containers-grid    { grid-template-columns: 1fr; }
    .steps-grid         { grid-template-columns: 1fr; }
    .loc-cta-inner      { flex-direction: column; text-align: center; }
    .loc-cta-actions    { justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   СТРАНИЦЫ УСЛУГ (page-service.php)
════════════════════════════════════════════════════ */

/* Features strip */
.svc-features-strip {
    background: var(--white);
    border-bottom: 1px solid #e8e8e8;
    padding: 18px 0;
}
.svc-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    justify-content: center;
}
.svc-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--gray-dark);
}
.svc-feature-item svg {
    flex-shrink: 0;
}

/* Related services */
.svc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.svc-related-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 24px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-dark);
    transition: border-color .2s, box-shadow .2s, transform .2s;
    text-decoration: none;
}
.svc-related-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    color: var(--gray-dark);
}
.svc-related-card strong {
    font-size: 1rem;
    color: var(--green-dark);
    font-weight: 700;
}
.svc-related-card span {
    font-size: .88rem;
    color: var(--gray);
    line-height: 1.5;
}
.svc-related-card em {
    font-style: normal;
    font-size: .85rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: auto;
}

/* Zone cards */
.svc-zones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}
.svc-zone-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 2px solid #e0e0e0;
    text-align: center;
    color: var(--gray-dark);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc-zone-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    color: var(--gray-dark);
}
.svc-zone-icon {
    width: 48px;
    height: 48px;
    background: rgba(46,125,50,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-zone-icon svg { width: 24px; height: 24px; }
.svc-zone-card strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-dark);
}
.svc-zone-card span {
    font-size: .88rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Services block on location pages */
.loc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.loc-service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    color: var(--gray-dark);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
.loc-service-link:hover {
    border-color: var(--green);
    box-shadow: 0 2px 12px rgba(46,125,50,.12);
    color: var(--green-dark);
}
.loc-service-link svg {
    flex-shrink: 0;
    color: var(--green);
}

@media (max-width: 768px) {
    .svc-features-grid { gap: 10px 20px; }
    .svc-zones-grid    { grid-template-columns: 1fr; }
    .svc-related-grid  { grid-template-columns: 1fr; }
    .loc-services-grid { grid-template-columns: 1fr 1fr; }
}
