/* ===========================
   CSS Variables & Reset
=========================== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    /*--transition: all 0.3s ease;*/
    --transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    padding-top: 70px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Предотвращаем горизонтальную прокрутку */
section {
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/webfonts/montserrat-v31-cyrillic_latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/static/webfonts/montserrat-v31-cyrillic_latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/static/webfonts/montserrat-v31-cyrillic_latin-700.woff2') format('woff2');
}



/* ===========================
   Header & Navigation
=========================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
    overflow-x: hidden;
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo i {
    font-size: 28px;
}

/* Горизонтальный логотип */
.logo-horizontal {
    height: 60px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.85;
}

.logo:hover .logo-horizontal {
    transform: scale(1.02);
}

/* Старый круглый логотип (на случай использования) */
.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.logo:hover .logo-img {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: rotate(5deg);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.phone-btn:hover {
    color: var(--primary-color);
}

.phone-btn i {
    font-size: 18px;
}

.cta-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
}

.nav-menu li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

/* Nav Phone */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-phone:hover {
    color: var(--primary-color);
}

.nav-phone i {
    font-size: 18px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   Hero Section
=========================== */
.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0 60px;
    width: 100%;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/index/img/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(16, 185, 129, 0.75));
    /*backdrop-filter: blur(1px);*/
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding-top: 20px;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.feature-item i {
    font-size: 36px;
    color: var(--accent-color);
}

.feature-item span {
    font-size: 14px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s backwards;
    flex-wrap: wrap;
    max-width: 100%;
    margin-bottom: 60px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 5;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 13px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ===========================
   Buttons
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    /*backdrop-filter: blur(10px);*/
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ===========================
   Sections
=========================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* Services Preview */
.services-preview {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    font-size: 36px;
    color: white;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card > p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.service-features {
    text-align: left;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
}

.service-features i {
    color: var(--secondary-color);
    font-size: 16px;
}

.service-card-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Why Us */
.why-us {
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 30px;
}

.advantage-item {
    position: relative;
    padding: 40px 25px;
    background: var(--bg-light);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    font-size: 32px;
    color: var(--primary-color);
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* How We Work */
.how-we-work {
    background: var(--bg-light);
}

.steps-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
}

.step-content {
    flex: 1;
}

.step-content i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-light);
}

/* Price Preview */
.price-preview {
    background: white;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.price-card {
    position: relative;
    padding: 40px 30px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.price-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.badge {
    position: absolute;
    top: -15px;
    right: 30px;
    padding: 8px 20px;
    background: var(--accent-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
}

.price-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.price-features {
    margin-bottom: 30px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-light);
}

.price-features i {
    color: var(--secondary-color);
    font-size: 18px;
}

.price-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===========================
   Footer
=========================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--accent-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--accent-color);
    font-size: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* ===========================
   Modal
=========================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    background: white;
    padding: 40px;
    border-radius: 16px;
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 24px;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-content > p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content input,
.modal-content textarea {
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.captcha-block {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.captcha-block label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.captcha-block span {
    color: var(--primary-color);
    font-weight: 700;
}

.captcha-block input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    margin-top: 5px;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.privacy-note i {
    color: var(--secondary-color);
}

/* Fixed Phone Button */
.fixed-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    font-size: 24px;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===========================
   Parallax Section
=========================== */
.parallax-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/index/img/window-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
}

.parallax-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.parallax-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.parallax-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    margin: 25px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 20px;
}

.parallax-image {
    position: relative;
}

.parallax-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.image-badge i {
    font-size: 28px;
    margin-bottom: 5px;
}

.image-badge span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

/* ===========================
   SEO Text Section
=========================== */
.seo-text-section {
    padding: 80px 0;
    background: white;
}

.seo-content {
    max-width: 1400px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.text-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
}

.text-column h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--primary-color);
    position: relative;
    padding-left: 20px;
}

.text-column h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

.text-column h3:first-child {
    margin-top: 0;
}

.text-column p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.text-column strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 968px) {
    .hero-bg {
        background-attachment: scroll;
        animation: none;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 100vw;
        height: calc(100vh - 70px);
        background: white;
        transition: var(--transition);
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 15px 10px;
        font-size: 18px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .burger-menu {
        display: flex;
    }

    /* Адаптация логотипа для планшетов */
    .logo-horizontal {
        height: 50px;
        max-width: 280px;
    }

    .nav-phone span {
        display: none;
    }

    .nav-phone {
        display: none;
    }

    .phone-btn span {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-features {
        flex-direction: row;
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons .btn {
        min-width: 180px;
    }

    .hero {
        min-height: 550px;
        padding: 30px 0;
    }

    .hero-content {
        padding: 0 15px;
    }

    .section-title {
        font-size: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .parallax-content {
        grid-template-columns: 1fr;
    }

    .parallax-bg {
        background-attachment: scroll;
    }

    .text-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .seo-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    /* Предотвращение горизонтальной прокрутки на мобильных */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    .hero-bg {
        background-attachment: scroll;
        animation: none;
    }

    * {
        max-width: 100vw;
    }

    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .text-columns {
        padding: 30px 20px;
        gap: 30px;
    }

    .nav-menu li a {
        font-size: 16px;
    }

    /* Вертикальное расположение кнопок на мобильных */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        margin-bottom: 80px;
    }

    .hero-buttons .btn {
        width: 100%;
        box-sizing: border-box;
        max-width: 400px;
        justify-content: center;
        margin: 0 auto;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

    .hero {
        min-height: 600px;
        padding: 30px 0 50px;
    }

    .hero-content {
        padding: 20px 15px 0;
        margin-bottom: 30px;
    }

    /* Скрываем scroll indicator на мобильных */
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    /* Адаптация логотипа для смартфонов */
    .logo-horizontal {
        height: 45px;
        max-width: 220px;
    }
    .hero-bg {
        background-attachment: scroll;
        animation: none;
    }

    .logo span {
        font-size: 18px;
    }

    .logo i {
        font-size: 22px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .hero-features {
        margin-bottom: 35px;
    }

    .feature-item {
        gap: 5px;
    }

    .feature-item i {
        font-size: 28px;
    }

    .feature-item span {
        font-size: 12px;
    }

    .hero-buttons {
        margin-bottom: 100px;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .hero {
        min-height: 650px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .modal-content {
        padding: 30px 20px;
    }
}

/* Экстра-маленькие экраны (iPhone SE, малые Android) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .logo-horizontal {
        height: 40px;
        max-width: 180px;
    }
}

/* Ландшафтная ориентация на мобильных */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 500px;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-features {
        display: none;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 180px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Высокие мобильные экраны (iPhone 15, iPhone 14 Pro Max и т.д.) */
@media (min-height: 800px) and (max-width: 768px) {
    .hero {
        min-height: 700px;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-buttons {
        margin-bottom: 120px !important;
    }

    .hero-subtitle {
        margin-bottom: 50px;
    }

    .hero-features {
        margin-bottom: 50px;
    }
}

/* Средние мобильные экраны (iPhone 12, iPhone 13) */
@media (min-height: 700px) and (max-height: 799px) and (max-width: 768px) {
    .hero {
        min-height: 650px;
    }

    .hero-buttons {
        margin-bottom: 100px !important;
    }
}

/* Компактные iPhone (iPhone SE, iPhone 8) */
@media (max-height: 667px) and (max-width: 768px) and (orientation: portrait) {
    .hero {
        min-height: 550px;
        padding: 20px 0 30px;
    }

    .hero-title {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .hero-features {
        margin-bottom: 25px;
    }

    .hero-buttons {
        margin-bottom: 60px;
        gap: 12px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* Nav Contact Buttons */
.nav-contact-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: var(--transition);
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.nav-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-icon-call {
    background: var(--primary-color);
}

.nav-icon-call:hover {
    background: var(--primary-dark);
}

.nav-icon-whatsapp {
    background: #25D366;
}

.nav-icon-whatsapp:hover {
    background: #1ebe5d;
}

.nav-icon-max {
    background: linear-gradient(135deg, #5b3df5, #b026ff);
    padding: 6px;
}

.nav-icon-max:hover {
    background: linear-gradient(135deg, #4a2fe0, #9a1fe5);
}

.nav-icon-max img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* На планшетах и мобильных */
@media (max-width: 768px) {
    .nav-contact-buttons {
        gap: 8px;
    }

    .nav-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .nav-icon-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .nav-contact-buttons {
        gap: 6px;
    }
}

/* ===========================
   REDESIGN v2
=========================== */
:root {
    --wa-color: #25D366;
    --wa-dark: #1ebe5d;
    --mobile-bar-h: 60px;
}

/* ---------- Header ---------- */
.logo-horizontal { height: 52px; max-width: 240px; }
.nav-list { gap: 22px; }
.nav-link { font-size: 14px; white-space: nowrap; }
.nav-phone { flex-direction: column; align-items: flex-end; gap: 0; line-height: 1.25; }
.nav-phone-number { font-size: 16px; font-weight: 700; }
.nav-phone-hours { font-size: 12px; font-weight: 400; color: var(--text-light); }
.nav-cta { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
.nav-mobile-extra { display: none; }

@media (max-width: 1199px) { .nav-cta { display: none; } }
@media (max-width: 1100px) { .nav-list { gap: 16px; } .nav-link { font-size: 13px; } }
@media (max-width: 968px) {
    .nav-mobile-extra { display: block; }
    .nav-menu li.nav-mobile-extra a.nav-mobile-phone { font-weight: 700; color: var(--primary-color); border-bottom: none; }
    .nav-mobile-extra .btn { width: 100%; justify-content: center; margin-top: 8px; }
}

/* ---------- Buttons ---------- */
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-whatsapp { background: var(--wa-color); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.btn-outline-light { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-buttons--left { justify-content: flex-start; }

/* ---------- Hero ---------- */
.hero--v2 { min-height: auto; padding: 90px 0 80px; }
.hero--v2 .hero-bg { animation: none; background-attachment: scroll; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero--with-photo .hero-grid { grid-template-columns: 1.25fr .75fr; }
.hero--v2 .hero-content { text-align: left; max-width: 760px; padding-top: 0; animation: none; }
.hero-eyebrow {
    display: inline-block; padding: 6px 14px; margin-bottom: 18px;
    border-radius: 20px; background: rgba(255,255,255,.18);
    font-size: 14px; font-weight: 600;
}
.hero--v2 .hero-title { font-size: 48px; animation: none; }
.hero--v2 .hero-subtitle { font-size: 20px; margin-bottom: 24px; animation: none; }
.hero--v2 .hero-subtitle strong { color: #fde68a; white-space: nowrap; }
.hero-points { display: grid; gap: 12px; margin-bottom: 32px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.hero-points i {
    width: 36px; height: 36px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,.18); color: var(--accent-color);
}
.hero--v2 .hero-buttons { justify-content: flex-start; margin-bottom: 20px; animation: none; }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; opacity: .95; }
.hero-rating i { color: #fde68a; }
.hero-master { margin: 0; }
.hero-master img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-xl); }
.hero-master figcaption { margin-top: 10px; font-size: 14px; color: #fff; text-align: center; opacity: .9; }

@media (max-width: 968px) {
    .hero--with-photo .hero-grid { grid-template-columns: 1fr; }
    .hero-master { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .hero--v2 { min-height: auto !important; padding: 32px 0 40px; }
    .hero--v2 .hero-content { padding: 0; margin-bottom: 0; }
    .hero--v2 .hero-title { font-size: 30px; }
    .hero--v2 .hero-subtitle { font-size: 16px; margin-bottom: 20px !important; }
    .hero-points { margin-bottom: 24px !important; }
    .hero-points li { font-size: 14px; }
    .hero--v2 .hero-buttons { flex-direction: column; padding: 0; margin-bottom: 16px !important; }
    .hero--v2 .hero-buttons .btn { width: 100%; max-width: none; justify-content: center; }
}
@media (max-width: 375px) { .hero--v2 .hero-title { font-size: 26px; } }

/* ---------- Directions ---------- */
.directions { background: var(--bg-light); }
.directions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.direction-card {
    display: flex; flex-direction: column; background: #fff; color: inherit;
    border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition);
}
.direction-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.direction-media {
    aspect-ratio: 16/7; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff; font-size: 64px;
}
.direction-media--nets { background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); }
.direction-media img { width: 100%; height: 100%; object-fit: cover; }
.direction-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.direction-body h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.direction-body p { color: var(--text-light); margin-bottom: 18px; }
.direction-prices { display: grid; gap: 8px; margin-bottom: 24px; }
.direction-prices li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--border-color); font-size: 15px; }
.direction-prices b { color: var(--primary-color); white-space: nowrap; }
.direction-link { margin-top: auto; align-self: flex-start; }
.direction-card:hover .direction-link { background: var(--primary-color); color: #fff; }
.directions-combo {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    margin-top: 30px; padding: 22px 28px; border: 2px dashed var(--primary-color); border-radius: 16px; background: #fff;
}
.directions-combo p { font-size: 17px; }
@media (max-width: 768px) {
    .directions-grid { grid-template-columns: 1fr; }
    .direction-body { padding: 22px; }
    .direction-body h3 { font-size: 22px; }
    .directions-combo .btn { width: 100%; justify-content: center; }
}

/* ---------- Price tables ---------- */
.price-table-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 24px; }
.price-table {
    display: flex; flex-direction: column;
    background: #fff; border: 2px solid var(--border-color); border-radius: 16px; padding: 28px;
}
.price-table h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.price-table h3 i { color: var(--primary-color); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.price-row span { font-size: 15px; }
.price-row b { font-size: 18px; color: var(--primary-color); white-space: nowrap; }
.price-table .price-row:last-of-type { margin-bottom: 18px; }   /* отступ над кнопкой */
.price-table .btn { width: 100%; justify-content: center; margin-top: auto; }   /* кнопка прижата к низу */
.price-package {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 24px 28px; margin-bottom: 20px; background: var(--bg-light); border-radius: 16px;
}
.price-package h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.price-package p { color: var(--text-light); font-size: 15px; }
.price-note { text-align: center; font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
@media (max-width: 768px) {
    .price-table-grid { grid-template-columns: 1fr; }
    .price-table { padding: 22px; }
    .price-package .btn { width: 100%; justify-content: center; }
}

/* ---------- Quiz ---------- */
.quiz-section { background: var(--bg-light); }
.quiz { max-width: 860px; margin: 0 auto; padding: 36px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); }
.quiz-progress { height: 6px; margin-bottom: 28px; background: var(--border-color); border-radius: 3px; overflow: hidden; }
.quiz-progress-bar { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); transition: width .3s ease; }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fadeIn .3s ease; }
.quiz-question { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.quiz-option {
    display: flex; align-items: center; gap: 12px; padding: 16px;
    border: 2px solid var(--border-color); border-radius: 12px; background: #fff;
    text-align: left; font-size: 15px; font-weight: 500; color: var(--text-dark);
    transition: border-color .2s ease, background .2s ease;
}
.quiz-option i { width: 24px; flex-shrink: 0; text-align: center; font-size: 20px; color: var(--primary-color); }
.quiz-option:hover, .quiz-option:focus-visible { border-color: var(--primary-color); background: #eff6ff; outline: none; }
.quiz-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--text-light); }
.quiz-result-price { font-size: 32px; font-weight: 800; color: var(--primary-color); margin-bottom: 10px; }
.quiz-result-hint { font-size: 16px; margin-bottom: 8px; }
.quiz-summary { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.quiz-result-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 576px) {
    .quiz { padding: 24px 18px; }
    .quiz-question { font-size: 19px; }
    .quiz-result-price { font-size: 26px; }
    .quiz-result-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; margin-bottom: 30px; }
.work-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.work-pair { display: grid; grid-template-columns: 1fr 1fr; }
.work-pair figure { position: relative; margin: 0; }
.work-pair img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.work-pair figcaption { position: absolute; top: 8px; left: 8px; padding: 2px 10px; border-radius: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; }
.work-body { padding: 18px; }
.work-body h3 { font-size: 17px; margin-bottom: 6px; }
.work-body p { font-size: 14px; color: var(--text-light); }

/* ---------- Reviews ---------- */
.reviews-section { background: #fff; }
.reviews-widget { max-width: 760px; height: 800px; margin: 0 auto 30px; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; }
.reviews-widget iframe { width: 100%; height: 100%; border: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-bottom: 30px; }
.review-card { padding: 24px; background: var(--bg-light); border-radius: 16px; }
.review-stars { margin-bottom: 10px; color: var(--accent-color); letter-spacing: 2px; }
.review-card p { font-size: 15px; margin-bottom: 12px; }
.review-meta { font-size: 13px; color: var(--text-light); }
.reviews-cta { text-align: center; }

/* ---------- Guarantee & zone ---------- */
.guarantee-zone { background: var(--bg-light); }
.gz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.gz-card { padding: 32px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); }
.gz-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.gz-card p { color: var(--text-light); }
.gz-big { font-size: 44px; font-weight: 800; line-height: 1; color: var(--primary-color); margin-bottom: 12px; }
.zone-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 15px; }
.zone-list li:last-child { border-bottom: none; }
.zone-list i { margin-top: 4px; color: var(--secondary-color); }
@media (max-width: 768px) { .gz-grid { grid-template-columns: 1fr; } .gz-card { padding: 24px; } }

/* ---------- FAQ ---------- */
.faq-section { background: #fff; }
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { border: 2px solid var(--border-color); border-radius: 12px; background: #fff; }
.faq-item[open] { border-color: var(--primary-color); }
.faq-item summary { position: relative; padding: 18px 52px 18px 20px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--primary-color); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 20px 18px; font-size: 15px; color: var(--text-light); }

/* ---------- SEO short ---------- */
.seo-short { max-width: 860px; }
.seo-short h2 { margin-bottom: 24px; }
.seo-short p { font-size: 15px; line-height: 1.8; color: var(--text-light); margin-bottom: 16px; }

/* ---------- Footer ---------- */
.footer-legal { font-size: 13px; }
.social-links img { width: 20px; height: 20px; }

/* ---------- Mobile sticky bar ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
    .mobile-cta-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
        display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.12);
    }
    .mobile-cta-bar a {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        height: 48px; border-radius: 10px; font-size: 16px; font-weight: 700; color: #fff;
    }
    .mobile-cta-call { background: var(--accent-color); }
    .mobile-cta-wa { background: var(--wa-color); }
    body { padding-bottom: calc(var(--mobile-bar-h) + 8px + env(safe-area-inset-bottom)); }
    .fixed-phone { display: none; }
    .cta-content h2 { font-size: 28px; }
    .cta-buttons .btn { width: 100%; justify-content: center; }
}

/* ===========================
   MAX — основной мессенджер
=========================== */
:root {
    --max-gradient: linear-gradient(135deg, #2fa4ff 0%, #3f5bf6 55%, #8b3cf5 100%);
}
.icon-max { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; border-radius: 5px; }

.btn-max { background: var(--max-gradient); color: #fff; }
.btn-max:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.btn-max .icon-max { width: 22px; height: 22px; }

.nav-max {
    display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 16px 0 12px; border-radius: 21px;
    background: var(--max-gradient); color: #fff;
    font-size: 14px; font-weight: 600; white-space: nowrap; transition: var(--transition);
}
.nav-max:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.nav-icon-btn--muted { background: #f3f4f6; color: var(--text-light); }
.nav-icon-btn--muted:hover { background: #e5e7eb; color: var(--primary-color); }

.alt-messengers { margin-top: 10px; font-size: 14px; opacity: .9; }
.alt-messengers a { text-decoration: underline; text-underline-offset: 3px; }
.hero .alt-messengers, .hero .alt-messengers a,
.cta-section .alt-messengers, .cta-section .alt-messengers a { color: #fff; }
.cta-section .alt-messengers { margin-top: 18px; }
.quiz .alt-messengers { color: var(--text-light); }
.quiz .alt-messengers a { color: var(--primary-color); }
.quiz-copy-note { margin-top: 12px; font-size: 13px; color: var(--text-light); }

.social-links .social-max .icon-max { width: 22px; height: 22px; }
.privacy-note a { color: var(--primary-color); font-weight: 600; }

/* Мобильное меню */
.nav-menu li.nav-mobile-extra a.btn {
    display: flex; justify-content: center; padding: 14px; margin-top: 8px;
    border-bottom: none; font-size: 16px; color: #fff;
}
.nav-mobile-extra a::after { display: none; }
.nav-mobile-messengers { display: flex; gap: 20px; margin-top: 14px; }
.nav-menu .nav-mobile-messengers a { padding: 6px 0; border-bottom: none; font-size: 15px; color: var(--text-light); }

/* Мобильная панель: звонок + MAX */
.mobile-cta-max { background: var(--max-gradient); }
.mobile-cta-max .icon-max { width: 22px; height: 22px; }

@media (max-width: 1199px) {
    .nav-max { width: 42px; padding: 0; justify-content: center; }
    .nav-max span { display: none; }
}
@media (max-width: 576px) {
    .nav-contact-buttons--secondary { display: none; }
    .nav-max { width: 38px; height: 38px; }
}

/* ===== FIX: шапка не должна обрезать выпадающее меню ===== */
#header { overflow: visible; }

/* ===== FIX: фото мастера поверх градиента hero ===== */
.hero--v2 .hero-grid { position: relative; z-index: 2; }

/* ===== NAV DROPDOWN «Услуги» ===== */
.has-dropdown { position: relative; display: flex; align-items: center; gap: 2px; }
.has-dropdown.is-active > .nav-link { color: var(--primary-color); }

.nav-dd-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; padding: 0; border-radius: 6px;
    color: var(--text-dark);
    transition: transform .2s ease, background-color .2s ease;
}
.nav-dd-toggle:hover { background: #eff6ff; color: var(--primary-color); }
.has-dropdown.is-open .nav-dd-toggle { transform: rotate(180deg); }

.nav-dropdown {
    position: absolute; top: 100%; left: 50%;
    transform: translate(-50%, 8px);
    padding-top: 14px;                 /* «мостик» для мыши */
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 1001;
}
.nav-dd-inner {
    width: 380px; padding: 10px;
    background: var(--bg-white); border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14), 0 0 0 1px rgba(15, 23, 42, .05);
}

@media (hover: hover) and (min-width: 969px) {
    .has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
    .has-dropdown:hover .nav-dd-toggle { transform: rotate(180deg); }
}
.has-dropdown.is-open .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}

/* Перебиваем старые правила .nav-menu li a */
.nav-menu .nav-dd-card {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; border-radius: 12px; border-bottom: none;
    font-size: inherit; color: var(--text-dark);
    transition: background-color .15s ease;
}
.nav-menu .nav-dd-card:hover,
.nav-menu .nav-dd-card:focus-visible { background: #f1f5f9; color: var(--text-dark); }
.nav-menu .nav-dd-card::after,
.nav-menu .nav-dd-all::after { display: none; }

.nav-dd-icon {
    flex: 0 0 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.nav-dd-icon--blue  { background: #eff6ff; color: var(--primary-color); }
.nav-dd-icon--green { background: #ecfdf5; color: var(--secondary-color); }

.nav-dd-text  { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nav-dd-title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.nav-dd-sub   { font-size: 12.5px; line-height: 1.35; color: var(--text-light); margin-top: 2px; }
.nav-dd-price { font-weight: 700; font-size: 14px; color: var(--primary-color); white-space: nowrap; }

.nav-menu .nav-dd-all {
    display: block; margin-top: 6px; padding: 10px 12px;
    border-top: 1px solid var(--border-color); border-bottom: none;
    font-weight: 600; font-size: 14px; color: var(--primary-color);
}
.nav-menu .nav-dd-all:hover { color: var(--primary-dark); }

/* Мобильное меню (тот же брейкпоинт, что у бургера) */
@media (max-width: 968px) {
    .has-dropdown { flex-wrap: wrap; border-bottom: 1px solid var(--border-color); }
    .nav-menu .has-dropdown > .nav-link { flex: 1; border-bottom: none; }
    .nav-dd-toggle { width: 44px; height: 44px; }
    .nav-dropdown {
        position: static; transform: none !important; width: 100%; padding: 0 0 12px;
        display: none; opacity: 1; visibility: visible; pointer-events: auto;
    }
    .has-dropdown.is-open .nav-dropdown { display: block; }
    .nav-dd-inner { width: 100%; box-shadow: none; background: var(--bg-light); }
    .nav-menu .nav-dd-card { font-size: 15px; }
}
/* ===========================
   HEADER FIX: компоновка без сжатия
=========================== */
.navbar { padding: 9px 0; }                 /* 52px лого + 18px = ровно 70px под body padding-top */

.nav-wrapper { gap: 24px; }
.logo { flex-shrink: 0; }
.logo-horizontal { height: 52px; width: auto; max-width: 190px; }

.nav-menu { gap: 24px; flex-shrink: 0; margin-left: auto; }
.nav-menu li a,
.nav-menu .nav-link { white-space: nowrap; font-size: 15px; }

.nav-actions { flex-shrink: 0; gap: 12px; }
.nav-phone { flex-shrink: 0; }
.nav-contact-buttons { flex-shrink: 0; }

/* 1200–1359: убираем TG/WA из шапки */
@media (min-width: 969px) and (max-width: 1359px) {
    .nav-contact-buttons--secondary { display: none; }
}

/* 1100–1199: CTA уже скрыт старым правилом, MAX возвращаем с текстом */
@media (min-width: 1100px) and (max-width: 1199px) {
    .nav-max { width: auto; padding: 0 16px 0 12px; }
    .nav-max span { display: inline; }
}

/* 969–1099: компактный режим */
@media (min-width: 969px) and (max-width: 1099px) {
    .nav-wrapper { gap: 16px; }
    .logo-horizontal { height: 44px; max-width: 160px; }
    .nav-menu { gap: 16px; }
    .nav-menu li a,
    .nav-menu .nav-link { font-size: 14px; }
    .nav-phone-hours { display: none; }
    .nav-phone-number { font-size: 15px; }
}

/* Планшет/мобильный: бургер */
@media (max-width: 968px) {
    .nav-menu { margin-left: 0; gap: 20px; }
    .nav-menu li a, .nav-menu .nav-link { white-space: normal; font-size: 18px; }
    .logo-horizontal { height: 50px; max-width: 200px; }
}
@media (max-width: 768px) {
    .nav-menu li a, .nav-menu .nav-link { font-size: 16px; }
}
@media (max-width: 576px) {
    .logo-horizontal { height: 44px; max-width: 170px; }
}
/* ===== FIX: перенос текста в выпадающем меню ===== */
.nav-menu .nav-dd-card,
.nav-menu .nav-dd-all,
.nav-dd-text,
.nav-dd-title,
.nav-dd-sub {
    white-space: normal;
}

.nav-menu .nav-dd-card { align-items: flex-start; }
.nav-dd-icon { margin-top: 2px; }
.nav-dd-price {
    flex-shrink: 0;
    margin-top: 2px;
    padding-left: 8px;
    white-space: nowrap;      /* «от 1 000 ₽» не разрывается */
}
.nav-dd-sub { overflow-wrap: anywhere; }

/* Меню открывается от левого края пункта, а не по центру */
@media (min-width: 969px) {
    .nav-dropdown { left: -12px; transform: translateY(8px); }
    .has-dropdown.is-open .nav-dropdown,
    .has-dropdown:focus-within .nav-dropdown { transform: translateY(0); }
    .nav-dd-inner { width: 400px; max-width: calc(100vw - 24px); }
}
@media (hover: hover) and (min-width: 969px) {
    .has-dropdown:hover .nav-dropdown { transform: translateY(0); }
}

/* ===========================
   HERO v3 — светлый, современный
=========================== */
.hero2 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 64px 0 76px;
}
.hero2-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(620px 420px at 85% 8%, rgba(37, 99, 235, .16), transparent 70%),
        radial-gradient(520px 420px at 5% 95%, rgba(16, 185, 129, .13), transparent 70%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.hero2-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

/* ---- Текст ---- */
.hero2-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; margin-bottom: 20px;
    background: #fff; border: 1px solid var(--border-color); border-radius: 999px;
    box-shadow: var(--shadow-sm);
    font-size: 13px; font-weight: 600; color: var(--text-dark);
}
.hero2-dot {
    position: relative; width: 8px; height: 8px; border-radius: 50%;
    background: var(--secondary-color);
}
.hero2-dot::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    background: rgba(16, 185, 129, .35);
    animation: hero2Ping 1.8s ease-out infinite;
}
@keyframes hero2Ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero2-title {
    margin: 0 0 18px;
    font-size: clamp(32px, 4.1vw, 54px);
    font-weight: 700; line-height: 1.12; letter-spacing: -.02em;
    color: #0f172a;
}
.hero2-accent {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.hero2-lead {
    max-width: 560px; margin-bottom: 22px;
    font-size: 18px; line-height: 1.6; color: #475569;
}
.hero2-lead b { color: #0f172a; white-space: nowrap; }

.hero2-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero2-points li {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; color: var(--text-dark);
}
.hero2-points i {
    width: 20px; height: 20px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #d1fae5; color: #059669; font-size: 10px;
}

.hero2-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero2-actions .btn { padding: 16px 26px; font-size: 16px; border-radius: 12px; justify-content: center; }
.hero2-actions .btn-primary { box-shadow: 0 12px 24px -10px rgba(245, 158, 11, .7); }
.hero2-actions .btn-max     { box-shadow: 0 12px 24px -10px rgba(63, 91, 246, .7); }

.hero2 .alt-messengers { margin-top: 14px; font-size: 14px; color: var(--text-light); opacity: 1; }
.hero2 .alt-messengers a { color: var(--primary-color); }

.hero2-trust {
    display: flex; flex-wrap: wrap; gap: 14px 32px;
    margin-top: 28px; padding-top: 22px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}
.hero2-trust-item { display: flex; flex-direction: column; line-height: 1.25; color: inherit; }
.hero2-trust-item b { font-size: 20px; font-weight: 700; color: #0f172a; }
.hero2-trust-item b i { color: var(--accent-color); font-size: 16px; }
.hero2-trust-item span { font-size: 13px; color: var(--text-light); }

/* ---- Визуал ---- */
.hero2-visual { position: relative; padding: 0 8px 0 24px; }
.hero2-photo {
    margin: 0; aspect-ratio: 10 / 11;
    border-radius: 28px; overflow: hidden;
    box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .4);
}
.hero2-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero2-card {
    position: absolute;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    box-shadow: 0 18px 40px -14px rgba(15, 23, 42, .3);
    animation: hero2Float 6s ease-in-out infinite;
}
.hero2-card--pay {
    top: 36px; left: -8px;
    display: flex; align-items: center; gap: 12px;
}
.hero2-card-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; background: #d1fae5; color: #059669; font-size: 18px;
}
.hero2-card--pay b { display: block; font-size: 14px; color: #0f172a; }
.hero2-card--pay small { font-size: 12px; color: var(--text-light); }

.hero2-card--prices { right: -12px; bottom: 32px; width: 250px; animation-delay: -3s; }
.hero2-card-title {
    margin-bottom: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--text-light);
}
.hero2-price-row {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 6px 0; font-size: 14px; color: var(--text-dark);
}
.hero2-price-row + .hero2-price-row { border-top: 1px dashed var(--border-color); }
.hero2-price-row b { color: var(--primary-color); white-space: nowrap; }

.hero2-badge {
    position: absolute; top: -14px; right: 28px;
    padding: 12px 18px; text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: #fff; border-radius: 16px;
    box-shadow: 0 14px 28px -10px rgba(37, 99, 235, .7);
}
.hero2-badge b { display: block; font-size: 22px; line-height: 1.1; }
.hero2-badge span { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }

@keyframes hero2Float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
    .hero2-card, .hero2-dot::after { animation: none; }
}

/* ---- Адаптив ---- */
@media (max-width: 1100px) {
    .hero2-grid { gap: 40px; }
    .hero2-card--prices { width: 230px; }
}
@media (max-width: 968px) {
    .hero2 { padding: 40px 0 56px; }
    .hero2-grid { grid-template-columns: 1fr; }
    .hero2-visual { max-width: 560px; width: 100%; margin: 8px auto 0; padding: 0; }
    .hero2-photo { aspect-ratio: 16 / 11; }
    .hero2-card--pay { left: 14px; top: 14px; }
    .hero2-card--prices { right: 14px; bottom: 14px; }
    .hero2-badge { top: auto; bottom: 14px; left: 14px; right: auto; }
}
@media (max-width: 576px) {
    .hero2 { padding: 28px 0 40px; }
    .hero2-title { font-size: 30px; }
    .hero2-lead { font-size: 16px; }
    .hero2-points { gap: 8px 16px; }
    .hero2-points li { font-size: 14px; }
    .hero2-actions { flex-direction: column; margin-top: 24px; }
    .hero2-actions .btn { width: 100%; }
    .hero2-trust { gap: 12px 22px; }
    .hero2-trust-item b { font-size: 17px; }
    .hero2-photo { aspect-ratio: 4 / 3; border-radius: 20px; }
    .hero2-card--pay { display: none; }
    .hero2-card--prices { width: 200px; padding: 10px 12px; }
    .hero2-price-row { font-size: 13px; padding: 4px 0; }
    .hero2-badge { padding: 8px 12px; }
    .hero2-badge b { font-size: 18px; }
}
@media (max-width: 375px) {
    .hero2-title { font-size: 27px; }
    .hero2-card--prices { width: 180px; }
}

/* ===========================
   Чекбокс согласия + ошибка телефона
=========================== */
.form-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
    text-align: left;
    cursor: pointer;
    user-select: none;
}
.form-agreement input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px !important;
    height: 18px;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    accent-color: #f59e0b;
    cursor: pointer;
}
.form-agreement span {
    flex: 1;
}
.form-agreement a {
    color: inherit;
    text-decoration: underline;
}
.form-agreement a:hover {
    color: #f59e0b;
}

input.is-invalid {
    border-color: #dc2626 !important;
}
.phone-error {
    display: none;
    margin: -6px 0 10px;
    font-size: 13px;
    color: #dc2626;
    text-align: left;
}
.phone-error.is-visible {
    display: block;
}

/* ===========================
   Universal Page Hero Styles
=========================== */
.page-hero {
    position: relative;
    padding: 150px 0 100px;
    margin-top: 70px;
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/index/img/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(16, 185, 129, 0.8));
    z-index: -1;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumbs a {
    transition: var(--transition);
}

.breadcrumbs a:hover {
    opacity: 0.8;
}

.breadcrumbs i {
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }

    .page-hero::before {
        background-attachment: scroll;
    }

    .page-hero-content h1 {
        font-size: 32px;
    }

    .page-hero-content p {
        font-size: 16px;
    }
}

/* ===========================
   FIX: мобильное меню и cookie-баннер
=========================== */

/* Шапка всегда ровно 70px — совпадает с body padding-top и top меню */
.navbar {
    height: 70px;
    padding: 0;
    display: flex;
    align-items: center;
}

@media (max-width: 968px) {
    /* Меню от низа шапки до низа экрана, без щелей */
    .nav-menu {
        top: 70px;
        bottom: 0;
        height: auto;
    }

    /* Страница под открытым меню не прокручивается */
    html:has(.nav-menu.active),
    body:has(.nav-menu.active) {
        overflow: hidden;
    }

    /* Пока открыто меню, баннер и нижняя панель не мешают */
    html:has(.nav-menu.active) .cookie-banner,
    html:has(.nav-menu.active) .mobile-cta-bar {
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    /* Баннер стоит у самого низа и перекрывает панель кнопок, пока его не закроют */
    .cookie-banner {
        z-index: 999;
        padding-bottom: calc(15px + env(safe-area-inset-bottom));
    }
}
/* ===== Картинки в карточках направлений ===== */
.direction-media,
.direction-media--nets {
    position: relative;
    aspect-ratio: 16 / 7;
    background: #eef4ff;
    overflow: hidden;
}
.direction-media--nets {
    background: #ecfdf5;
}
.direction-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}
.direction-card:hover .direction-media img {
    transform: scale(1.04);
}
@media (max-width: 768px) {
    .direction-media,
    .direction-media--nets {
        aspect-ratio: 16 / 9;
    }
}
@media (prefers-reduced-motion: reduce) {
    .direction-card:hover .direction-media img { transform: none; }
}

/* ===========================
   FIX: FAQ — ответ не «торчит» в закрытом состоянии
=========================== */
.faq-answer {
    padding: 0 20px;               /* без нижнего padding: при max-height:0 высота = 0 */
}
.faq-answer::after {               /* нижний отступ теперь внутри контента и скрывается вместе с ним */
    content: '';
    display: block;
    height: 18px;
}
.faq-answer p { margin: 0; }

.faq-item summary {
    display: block;                /* убирает системный маркер во всех браузерах */
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.faq-item summary::marker { content: ''; }
.faq-item summary:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; border-radius: 10px; }

/* ===========================
   FIX: HERO на мобильных — карточки не перекрывают друг друга
=========================== */
@media (max-width: 768px) {
    .hero2-visual {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 560px;
        padding: 0;
    }
    .hero2-photo {
        aspect-ratio: 16 / 10;
        border-radius: 20px;
    }

    /* Карточки — обычные блоки под фото, без плавания */
    .hero2-card {
        position: static;
        width: auto !important;
        animation: none;
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    .hero2-card--pay { display: none; }
    .hero2-card--prices { padding: 12px 16px; }

    .hero2-price-row {
        align-items: baseline;
        font-size: 15px;
        padding: 8px 0;
    }
    .hero2-price-row span { min-width: 0; }

    /* Бейдж — компактно в левом верхнем углу фото */
    .hero2-badge {
        top: 12px; left: 12px;
        right: auto; bottom: auto;
        padding: 8px 12px;
        border-radius: 12px;
    }
    .hero2-badge b { font-size: 17px; }
    .hero2-badge span {
        font-size: 11px;
        letter-spacing: 0;
        text-transform: none;
    }

    /* Цифры доверия — ровная сетка 2×2 вместо «лесенки» */
    .hero2-trust {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
    }
}

@media (max-width: 375px) {
    .hero2-price-row { font-size: 14px; }
    .hero2-trust-item b { font-size: 16px; }
}

/* ===========================
   FIX: бургер-меню на всю ширину
=========================== */
@media (max-width: 968px) {
    .nav-menu {
        left: 0;
        right: 0;
        width: 100%;
        align-items: stretch;              /* было flex-start → ul сжимался */
        padding: 20px 20px calc(30px + env(safe-area-inset-bottom));
        transform: translateX(-100%);
        visibility: hidden;                /* скрытое меню не ловит фокус и тапы */
        transition: transform .3s ease, visibility 0s linear .3s;
        overscroll-behavior: contain;      /* прокрутка меню не «протекает» на страницу */
        -webkit-overflow-scrolling: touch;
    }
    .nav-menu.active {
        left: 0;
        transform: none;
        visibility: visible;
        transition: transform .3s ease, visibility 0s;
    }

    .nav-list {
        width: 100%;
        align-items: stretch;              /* пункты на всю ширину */
        gap: 0;                            /* разделители и так дают ритм */
    }
    .nav-list > li { width: 100%; }

    .nav-menu li a,
    .nav-menu .nav-link {
        padding: 16px 4px;
    }

    /* «Услуги» + стрелка: стрелка прижата вправо */
    .has-dropdown { width: 100%; }
    .nav-dd-toggle { margin-left: auto; }

    /* Блок контактов */
    .nav-mobile-extra { padding-top: 16px; }
    .nav-menu li.nav-mobile-extra a.nav-mobile-phone { padding: 8px 4px 12px; font-size: 18px; }
    .nav-mobile-extra .btn { width: 100%; justify-content: center; }
    .nav-mobile-messengers { justify-content: center; gap: 28px; }
    .nav-menu .nav-mobile-messengers a { font-size: 15px; padding: 8px 0; }
}
