/* Общие стили для всех страниц */
:root {
    --primary: #27ae60;
    --primary-dark: #219653;
    --secondary: #e74c3c;
    --accent: #f39c12;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

body {
    line-height: 1.7;
    color: var(--dark);
    background-color: #f5f5f5;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    overflow-x: hidden;
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-icon {
    font-size: 2.5rem;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.logo-text span {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin-right: 30px;
}

.desktop-nav ul li {
    margin-left: 25px;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    transition: opacity 0.3s;
    padding: 8px 0;
    position: relative;
}

.desktop-nav ul li a:hover {
    opacity: 0.8;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

.contact-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.city {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
}

.callback-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
}

.callback-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 30px 30px;
    transition: right 0.4s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.3s;
}

.mobile-nav ul li a:hover {
    color: var(--accent);
}

.mobile-contact {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-contact .phone {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.mobile-contact .city {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
/* ==================== PREMIUM HERO SECTION ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    isolation: isolate;
}

/* Премиальный градиентный фон (на случай отключения видео) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(39, 174, 96, 0.4) 0%, rgba(20, 30, 35, 0.8) 100%),
                linear-gradient(125deg, #0f1a1f 0%, #1e2e3b 50%, #16232a 100%);
    z-index: 0;
}

/* Видео-фон с улучшенным оверлеем */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(1.2);
}

/* Дополнительный эффект зернистости/шума для премиум-стиля */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.05"/%3E%3C/svg%3E');
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
}

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

/* ===== Левая часть (текст) ===== */
.hero-text {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text h2 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.4);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
}

.hero-text h2 .accent {
    color: #2ecc71;
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
}

.hero-text p {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    max-width: 90%;
}

.hero-highlight {
    color: #ccff00;           /* яркий лайм */
    text-shadow: 0 0 12px rgba(0,0,0,0.9), 0 0 8px #27ae60;
    font-weight: 700;
}

/* Премиум кнопка CTA */
.cta-button {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 20px 48px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 20px 35px -8px rgba(39, 174, 96, 0.4),
                0 0 0 1px rgba(255,255,255,0.1) inset;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 28px 45px -10px rgba(39, 174, 96, 0.6),
                0 0 0 1px rgba(255,255,255,0.2) inset;
    background: linear-gradient(145deg, #27ae60, #1e8449);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    margin-left: 12px;
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(6px);
}

/* ===== Правая часть (форма) ===== */
.hero-form {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 45px 40px;
    border-radius: 32px;
    box-shadow: 0 30px 50px -15px rgba(0,0,0,0.3),
                0 0 0 1px rgba(255,255,255,0.5) inset,
                0 0 30px rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    
    animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-form:hover {
    box-shadow: 0 35px 60px -15px rgba(0,0,0,0.4),
                0 0 0 1px rgba(255,255,255,0.7) inset,
                0 0 40px rgba(39, 174, 96, 0.15);
}

.hero-form h3 {
    color: #1e2b37;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 20px;
}

.hero-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #27ae60, #2ecc71, #27ae60);
    border-radius: 4px;
}

/* Улучшенные поля формы */
.hero-form .form-group {
    margin-bottom: 25px;
}

.hero-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: #1e2b37;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.01em;
}

.hero-form .form-control {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid rgba(39, 174, 96, 0.15);
    border-radius: 18px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    color: #1e2b37;
}

.hero-form .form-control:focus {
    border-color: #27ae60;
    background: white;
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.15),
                0 0 0 4px rgba(39, 174, 96, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.hero-form .form-control::placeholder {
    color: #95a5a6;
    font-weight: 400;
}

/* Премиум кнопка отправки */
.hero-form .submit-btn {
    background: linear-gradient(145deg, #27ae60, #1e8449);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 60px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.25rem;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 12px 25px -5px rgba(39, 174, 96, 0.4),
                0 0 0 1px rgba(255,255,255,0.1) inset;
    letter-spacing: 0.5px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.hero-form .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.hero-form .submit-btn:hover {
    background: linear-gradient(145deg, #1e8449, #166b38);
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -5px rgba(39, 174, 96, 0.5),
                0 0 0 1px rgba(255,255,255,0.2) inset;
}

.hero-form .submit-btn:hover::before {
    left: 100%;
}

/* Стили для чекбоксов и радио в форме */
.hero-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: 500;
    cursor: pointer;
}

.hero-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #27ae60;
    cursor: pointer;
}

/* Сообщения об ошибках/успехе */
.hero-form .alert {
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 25px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.5);
    animation: fadeIn 0.4s ease;
}

.hero-form .alert.success {
    background: rgba(212, 237, 218, 0.9);
    color: #0e5c27;
    border-left: 5px solid #27ae60;
}

.hero-form .alert.error {
    background: rgba(248, 215, 218, 0.9);
    color: #721c24;
    border-left: 5px solid #e74c3c;
}

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
    
    .hero-text h2 {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-form {
        max-width: 650px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-text h2 {
        font-size: 2.4rem;
    }
    
    .hero-text p {
        font-size: 1.15rem;
    }
    
    .cta-button {
        padding: 16px 36px;
        font-size: 1.15rem;
    }
    
    .hero-form {
        padding: 20px 15px;
    }
    
    .hero-form h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-form {
        padding: 25px 20px;
    }
    
    .hero-form .form-control {
        padding: 14px 16px;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Скрытие видео на мобильных (оставляем градиент) */
@media (max-width: 768px) {
    .hero-video-bg {
        display: none;
    }
    .hero::before {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    }
}

/* Benefits Section */
.benefits {
    padding: 90px 0;
    background: white;
}

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

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title p {
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.benefit-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--light);
    border-radius: 12px;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.benefit-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Requirements Section */
.requirements {
    padding: 90px 0;
    background: var(--light);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.requirement-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border-left: 5px solid var(--primary);
}

.requirement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.requirement-content {
    padding: 30px;
}

.requirement-content h3 {
    color: var(--primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.requirement-icon {
    margin-right: 12px;
    font-size: 1.8rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.modal h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
}

.modal p {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.modal-close {
    background: #3498db;
    color: white;
    border: none;
    padding: 0px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.modal-close:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Alerts */
.alert {
    padding: 15px 18px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 500;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
/* ==================== ПРЕМИУМ ФУТЕР ==================== */
footer {
    background: linear-gradient(145deg, #1a2e3b 0%, #14222b 100%);
    color: #eef2f4;
    padding: 70px 0 25px;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #27ae60;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
}

/* Декоративные фоновые элементы */
footer::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(39,174,96,0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #27ae60 0%, #219653 25%, #f39c12 50%, #27ae60 75%, #219653 100%);
    opacity: 0.7;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 45px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

/* Заголовки колонок */
.footer-column h3 {
    color: #ffffff;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background: #27ae60;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 70px;
}

/* Текст и ссылки */
.footer-column p,
.footer-column a,
.footer-column li {
    color: #cbd5e0;
    line-height: 1.8;
    font-size: 1.05rem;
    transition: color 0.25s;
}

.footer-column a {
    text-decoration: none;
    position: relative;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-column a i {
    margin-right: 10px;
    color: #27ae60;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.footer-column a:hover i {
    transform: translateX(4px);
    color: #2ecc71;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
}

/* Специальное оформление для первой колонки (логотип) */
.footer-column:first-child p {
    font-size: 1.1rem;
    margin-top: 15px;
    border-left: 3px solid #27ae60;
    padding-left: 20px;
    color: #d1dce5;
    font-style: italic;
}

/* Социальные / мессенджер иконки (если добавите) */
.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.4rem;
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social a:hover {
    background: #27ae60;
    transform: translateY(-5px);
    border-color: #27ae60;
    box-shadow: 0 10px 20px -5px rgba(39,174,96,0.4);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9aaebb;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.copyright p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.copyright a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 600;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Иконка сердечка (опционально) */
.copyright i {
    color: #e74c3c;
    margin: 0 4px;
    animation: pulseHeart 1.8s infinite;
}

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

/* Адаптивность */
@media (max-width: 768px) {
    footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-column h3 {
        font-size: 1.4rem;
    }
    
    .footer-column:first-child p {
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul li {
        justify-content: center;
    }
    
    .footer-column:first-child p {
        border-left: none;
        border-top: 3px solid #27ae60;
        padding-left: 0;
        padding-top: 20px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Agreement checkbox styles */
.agreement-checkbox {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.agreement-checkbox .checkbox-group {
    display: flex;
    align-items: flex-start;
}

.agreement-checkbox .checkbox-group input {
    margin-top: 3px;
    margin-right: 12px;
    transform: scale(1.2);
}

.agreement-checkbox .checkbox-group label {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--dark);
    font-weight: 500;
}

.agreement-checkbox .checkbox-group label a {
    color: var(--primary);
    text-decoration: none;
}

.agreement-checkbox .checkbox-group label a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .desktop-nav ul {
        margin-right: 20px;
    }
    
    .desktop-nav ul li {
        margin-left: 18px;
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.3rem;
    }
    
    .section-title p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .logo-icon {
        font-size: 1.8rem;
        margin-right: 10px;
    }
    
    .logo-text h1 {
        font-size: 1.4rem;
    }
    
    .logo-text span {
        font-size: 0.8rem;
    }
    
    .header-container {
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        font-size: 1.5rem;
        margin-right: 8px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text span {
        font-size: 0.7rem;
    }
    
    .header-container {
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-form {
        padding: 20px 15px;
    }
    
    .benefits, .requirements {
        padding: 70px 0;
    }
    
    .mobile-nav {
        width: 85%;
    }
}

/* Специфичные стили для страницы отзывов */
.hero-reviews {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('courier.png') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-reviews h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-reviews p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.reviews-section {
    padding: 90px 0;
    background: white;
}

.reviews-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.reviews-list {
    overflow-y: visible;
    padding-right: 15px;
}

.review-card {
    background: var(--light);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-author {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
}

.review-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.review-rating {
    color: var(--accent);
    margin-bottom: 10px;
}

.review-text {
    line-height: 1.6;
    color: var(--dark);
}

.add-review-form {
    background: var(--light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.rating-stars {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.star {
    font-size: 1.8rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star.active, .star:hover {
    color: var(--accent);
}

/* Специфичные стили для главной страницы */
.calculator-section {
    padding: 90px 0;
    background: white;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calculator {
    background: var(--light);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.calculator h3 {
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.calculator-result {
    background: var(--primary);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 25px;
}

.calculator-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0;
    font-family: 'Montserrat', sans-serif;
}

.calculator-note {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.calculator-order-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.calculator-order-btn:hover {
    background: #c0392b;
}

/* ==================== PREMIUM SERVICES SECTION ==================== */
.services-premium {
    padding: 100px 0;
    background: linear-gradient(145deg, #ffffff 0%, #f9fcf9 100%);
    position: relative;
    overflow: hidden;
}

/* Декоративные фоновые элементы */
.services-premium::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(39,174,96,0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.services-premium::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(243,156,18,0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.services-premium .container {
    position: relative;
    z-index: 2;
}

/* Заголовок секции */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(39,174,96,0.1);
    color: #1f8f4d;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(39,174,96,0.2);
    backdrop-filter: blur(4px);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #27ae60; 
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #5a707d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Сетка карточек */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Карточка услуги */
.service-premium-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 50px -12px rgba(39,174,96,0.15), 0 12px 30px rgba(0,0,0,0.05);
    border-color: rgba(39,174,96,0.2);
}

/* Изображение карточки */
.service-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}



.image-overlay-grad {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #e74c3c;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
    letter-spacing: 0.5px;
}

.service-badge-green {
    background: #27ae60;
    box-shadow: 0 4px 12px rgba(39,174,96,0.3);
}

/* Контент карточки */
.service-card-content {
    padding: 30px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #27ae60, #1f8f4d);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-top: -50px;
    margin-bottom: 20px;
    box-shadow: 0 12px 20px -6px rgba(39,174,96,0.4);
    border: 3px solid white;
    position: relative;
    z-index: 3;
}

.service-card-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2e3b;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

.service-card-content p {
    color: #4a5a65;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
    flex: 1;
}

/* Блок с ценой */
.service-price-block {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px dashed #d0e0d8;
}

.price-from {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #e74c3c;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.price-unit {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Кнопка заказа */
.service-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    color: #27ae60;
    border: 2px solid #27ae60;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    text-decoration: none;
}

.service-order-btn:hover {
    background: #27ae60;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(39,174,96,0.4);
}

.service-order-btn i {
    transition: transform 0.3s;
}

.service-order-btn:hover i {
    transform: translateX(6px);
}

/* Блок гарантий */
.services-guarantee {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.guarantee-item i {
    color: #27ae60;
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    background: rgba(39,174,96,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .services-premium-grid {
        gap: 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .service-card-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 900px) {
    .services-premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-premium {
        padding: 70px 0;
    }
    
    .services-premium-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card-content {
        padding: 25px 20px 20px;
    }
    
    .services-guarantee {
        gap: 25px;
        flex-direction: column;
        align-items: center;
    }
}

/* Анимация появления карточек (опционально) */
.service-premium-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Coverage Map Section */
.coverage-map-section {
    padding: 90px 0 0 0;
    background: white;
}

.full-width-map-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
}

.map-wrapper {
    width: 100%;
    height: 500px;
    position: relative;
    background: #f8f9fa;
}

/* Постоянная подсветка позади карты */
.full-width-map-container {
    position: relative;
    z-index: 1;
}

.full-width-map-container::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(39, 174, 96, 0.5) 0%,
        rgba(39, 174, 96, 0.2) 50%,
        transparent 80%
    );
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    border-radius: 60px;
}

/* Карта остаётся над свечением */
.map-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Убираем все hover-эффекты */
.map-wrapper:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: none;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 300px;
    z-index: 10;
}

.map-overlay h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
}

.map-overlay ul {
    list-style: none;
    margin-bottom: 15px;
}

.map-overlay li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.map-overlay li i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.map-note {
    background: var(--light);
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--dark);
    text-align: center;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 40px 0;
}

.city-card {
    background: var(--light);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    border-left: 4px solid var(--primary);
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.city-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.city-card h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    color: var(--dark);
}

.city-card p {
    color: var(--gray);
    font-size: 1rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .map-wrapper {
        height: 400px;
    }
    
    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .coverage-map-section {
        padding: 70px 0 0 0;
    }
}

@media (max-width: 480px) {
    .map-wrapper {
        height: 300px;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .map-overlay {
        padding: 15px;
    }
    
    .map-overlay h4 {
        font-size: 1.1rem;
    }
}

.gallery {
    padding: 90px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.order {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.order-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch; /* ← растягиваем колонки по высоте */
}

.order-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.order-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* изображение заполнит контейнер, обрезая лишнее */
    display: block;
    transition: transform 0.3s ease;
}


@media (min-width: 768px) and (max-width: 1024px) {
    .order-container {
        gap: 25px;
    }
    
    .order-image {
        min-height: 350px;
    }
}

@media (max-width: 767px) {
    .order-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .order-image {
display: none;
    }
}

@media (max-width: 480px) {
    .order-image {
        max-height: 200px;
    }
}

.order-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.order-text p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.order-features {
    margin-top: 35px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.feature-icon {
    color: var(--accent);
    margin-right: 18px;
    font-size: 1.4rem;
}

.feature span {
    font-size: 1.1rem;
    font-weight: 500;
}

.order-form {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    color: var(--dark);
}

.order-form h3 {
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.submit-btn.with-price {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    font-size: 1.3rem;
    font-weight: 700;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn.with-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.submit-btn.with-price:hover::before {
    left: 100%;
}

.price-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

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

/* ===== Секция «Как это работает» – улучшенный дизайн ===== */
.process {
    padding: 90px 0;
    background: linear-gradient(145deg, #f9fcf9 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Декоративный фоновый элемент */
.process::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(39,174,96,0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.process .container {
    position: relative;
    z-index: 2;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px 25px;
    margin-top: 60px;
    counter-reset: step-counter;
}

.step {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 30px 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), 0 5px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.15, 0.75, 0.45, 1);
    position: relative;
    border: 1px solid rgba(39, 174, 96, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(2px);
    counter-increment: step-counter;
}

.step:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 45px -10px rgba(39, 174, 96, 0.15), 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(39, 174, 96, 0.25);
}

/* Номер шага – стильный индикатор */
.step::before {
    content: counter(step-counter);
    position: absolute;
    top: -18px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #27ae60, #1f8f4d);
    color: white;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 12px 18px -6px rgba(39, 174, 96, 0.35);
    border: 3px solid white;
    z-index: 3;
    transition: transform 0.2s;
}

.step:hover::before {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 16px 22px -8px rgba(39, 174, 96, 0.5);
}

/* Иконка внутри шага (если захотите добавить) */
.step-icon {
    font-size: 42px;
    color: #27ae60;
    margin-bottom: 25px;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.step:hover .step-icon {
    opacity: 1;
}

.step h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 20px;
    color: #1a2e3b;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.step p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4a5a65;
    margin: 0;
    flex: 1;
}

/* Перемещаем иконку в правый верхний угол и увеличиваем */
.step {
    position: relative; /* чтобы иконку можно было позиционировать абсолютно */
    padding-right: 90px; /* освобождаем место справа */
}

.step-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 58px;          /* крупная иконка */
    color: #27ae60;
    opacity: 0.25;            /* полупрозрачная, чтобы не перебивать текст */
    transition: all 0.3s ease;
    margin-bottom: 0;
    z-index: 1;
}

.step:hover .step-icon {
    opacity: 0.6;
    transform: scale(1.1) rotate(5deg);
}

/* Чтобы текст и заголовок не перекрывались иконкой */
.step h3,
.step p {
    position: relative;
    z-index: 2;
}

/* На мобильных можно оставить иконку сверху по центру */
@media (max-width: 767px) {
    .step {
        padding-right: 30px;
    }
    .step-icon {
        position: static;
        font-size: 52px;
        opacity: 0.8;
        margin-bottom: 15px;
        text-align: center;
    }
}

/* Соединительная линия между шагами (только на десктопе) */
@media (min-width: 769px) {
    .process-steps {
        position: relative;
    }
    
    /* Пунктирная линия, проходящая за карточками */
    .process-steps::after {
        content: '';
        position: absolute;
        top: 45%;
        left: 12%;
        right: 12%;
        height: 3px;
        background: linear-gradient(90deg, transparent, #27ae60 20%, #27ae60 80%, transparent);
        opacity: 0.2;
        z-index: 1;
        border-radius: 3px;
    }
    
    /* Чтобы карточки перекрывали линию */
    .step {
        z-index: 2;
        background: rgba(255, 255, 255, 0.98);
    }
}

/* Адаптация для планшетов */
@media (max-width: 1024px) and (min-width: 768px) {
    .step {
        padding: 35px 25px 30px;
    }
    .step h3 {
        font-size: 1.5rem;
    }
    .step::before {
        width: 50px;
        height: 50px;
        font-size: 24px;
        top: -15px;
        left: 25px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .process {
        padding: 70px 0;
    }
    .process-steps {
        gap: 30px;
    }
    .step {
        position: relative;           
        padding: 35px 25px 30px;      
        padding-right: 80px;          
        text-align: left;             
    }
        .step-icon {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 48px;              
        opacity: 0.3;                 
        margin-bottom: 0;
        transition: all 0.3s ease;
        z-index: 1;
    }
    .step::before {
        left: 50%;
        transform: translateX(-50%);
        width: 52px;
        height: 52px;
        font-size: 26px;
        border-radius: 20px;
        top: -20px;
    }
    /* при наведении/тапе можно делать ярче */
    .step:hover .step-icon,
    .step:active .step-icon {
        opacity: 0.8;
        transform: scale(1.05);
    }
    .step h3,
    .step p {
        position: relative;
        z-index: 2;
    }
    .step p {
        font-size: 1rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .step {
        padding: 30px 20px 25px;
    }
    .step h3 {
        font-size: 1.4rem;
    }
}

.why-us {
    padding: 90px 0;
    background: var(--light);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.benefit {
    text-align: center;
    padding: 35px 25px;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.benefit h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq {
    padding: 90px 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ – улучшенный дизайн */
.faq-item {
    margin-bottom: 20px;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}
.faq-item:hover {
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.12);
}

.faq-question {
    padding: 22px 28px;
    background: #fafdfb;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #1e2b37;
    border-left: 5px solid transparent;
    transition: all 0.25s ease;
}
.faq-question:hover {
    background: #f0f9f0;
    border-left-color: var(--primary); /* зелёная полоса слева при наведении */
}

/* Иконка вопроса слева (через псевдоэлемент) */
.faq-question::before {
    content: '\f059'; /* Font Awesome: question-circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    margin-right: 15px;
    font-size: 1.4rem;
    color: var(--primary);
    opacity: 0.8;
    transition: transform 0.2s;
}
.faq-item.active .faq-question::before {
    transform: rotate(15deg);
    opacity: 1;
}

/* Стилизация плюса / крестика */
.faq-question::after {
    content: '+';
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--primary);           /* основной зелёный цвет */
    background: rgba(39, 174, 96, 0.08);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    line-height: 1;
    flex-shrink: 0;
}
.faq-question:hover::after {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}
.faq-item.active .faq-question::after {
    content: '×';           /* крестик вместо плюса */
    transform: rotate(180deg);
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
}
.faq-item.active .faq-question:hover::after {
    background: var(--primary-dark);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    transition: max-height 0.45s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 25px 30px 30px;
    max-height: 600px;      /* достаточно для любого ответа */
    border-top: 1px solid #e9f0e9;
}

/* Стили текста ответа */
.faq-answer p,
.faq-answer ul {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #2c3e50;
    margin-bottom: 18px;
}
.faq-answer ul {
    padding-left: 24px;
}
.faq-answer li {
    margin-bottom: 8px;
    position: relative;
}
.faq-answer li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.3rem;
    position: absolute;
    left: -18px;
    top: -2px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
        font-size: 1.1rem;
    }
    .faq-question::before {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    .faq-question::after {
        width: 34px;
        height: 34px;
        font-size: 1.9rem;
    }
}

.city-district-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.order-price-display {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.3rem;
    color: #e74c3c !important;
}

/* Специфичные стили для личного кабинета */
.cabinet-container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 70px);
}

.sidebar {
    background: var(--dark);
    color: white;
    padding: 0;
    width: 100%;
}

.mobile-menu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
}

.mobile-menu-toggle span {
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: none;
    padding: 10px 0;
}

.nav-links.active {
    display: block;
}

.nav-links li {
    margin-bottom: 0;
}

.nav-links a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    background: rgba(255,255,255,0.1);
    border-left: 4px solid var(--primary);
}

.main-content {
    flex: 1;
    padding: 20px 15px;
    background: white;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    text-align: right;
    display: none;
}

.user-name {
    font-weight: 600;
    font-size: 1rem;
}

.user-email {
    font-size: 0.8rem;
    opacity: 0.9;
}

.user-city {
    font-size: 0.8rem;
    opacity: 0.9;
    color: #e8f5e8;
}

.logout-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.8rem;
    white-space: nowrap;
}

.create-order-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.create-order-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.order-header {
    background: var(--light);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.order-id {
    font-weight: 600;
    color: var(--dark);
}

.order-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.order-body {
    padding: 15px;
}

.order-info-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.order-label {
    font-weight: 600;
    color: var(--gray);
    min-width: 120px;
}

.order-value {
    flex: 1;
    text-align: right;
}

.address-value {
    text-align: left;
}

.order-footer {
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-new { background: #fff3cd; color: #856404; }
.status-courier_assigned { background: #d1ecf1; color: #0c5460; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-unknown { background: #e9ecef; color: #495057; }

.btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-danger { background: var(--secondary); color: white; }
.btn-primary { background: var(--primary); color: white; }
.btn-disabled { 
    background: #95a5a6; 
    color: white; 
    cursor: not-allowed;
    opacity: 0.6;
}

.btn:hover:not(.btn-disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.no-orders {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.no-orders i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.floor-info {
    font-size: 0.8rem;
    color: var(--gray);
}

.cancel-timer {
    font-size: 0.8rem;
    color: #e74c3c;
    font-weight: 600;
    margin-top: 5px;
}

.time-expired {
    color: #95a5a6;
    font-size: 0.8rem;
    margin-top: 5px;
}

.order-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    display: none;
}

.order-details.active {
    display: block;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.detail-label {
    font-weight: 600;
    color: #495057;
}

.detail-value {
    color: #212529;
}

.toggle-details {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 0;
    width: 100%;
    text-align: left;
}

.settings-form {
    max-width: 600px;
    margin: 0 auto;
}

.settings-form .form-group {
    margin-bottom: 20px;
}

.settings-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.settings-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.settings-form .form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.settings-form .submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.settings-form .submit-btn:hover {
    background: var(--primary-dark);
}

/* Дополнительные медиа-запросы */
@media (max-width: 768px) {
    .city-district-group,
    .reviews-container,
    .calculator-container,
    .order-container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .cabinet-container {
        flex-direction: row;
        min-height: calc(100vh - 80px);
    }
    
    .sidebar {
        width: 250px;
        padding: 30px 0;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-links {
        display: block;
        padding: 0;
    }
    
    .nav-links a {
        padding: 15px 25px;
    }
    
    .main-content {
        padding: 30px;
    }
    
    .user-info {
        display: block;
    }
    
    .table-responsive {
        display: block;
    }
    
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 30px;
        display: table;
    }
    
    th, td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #ecf0f1;
    }
    
    th {
        background: var(--light);
        font-weight: 600;
    }
    
    tr:hover {
        background: #f8f9fa;
    }
    
    .orders-list {
        display: none;
    }
}

@media (max-width: 767px) {
    .table-responsive {
        display: none;
    }
    
    .orders-list {
        display: flex;
    }
    
    .user-menu {
        gap: 10px;
    }
    
    .logout-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Interactive City Maps */
.city-map {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.active-map {
    display: block;
    position: relative;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background: #f8f9fa;
}

.city-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.city-card.active {
    border-left-color: var(--accent);
    background: #f0f8ff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.city-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* Map transition animation */
.map-wrapper {
    position: relative;
    overflow: hidden;
}

.city-map {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.active-map {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive adjustments for maps */
@media (max-width: 768px) {
    .map-wrapper {
        height: 400px;
    }
    
    .city-card-badge {
        top: 5px;
        right: 5px;
        font-size: 0.6rem;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .map-wrapper {
        height: 300px;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
}

/* Стили для ссылки логотипа */
.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .logo-link {
        flex: 1;
    }
}

/* Стили для иконок подсказок */
.checkbox-group {
    position: relative;
    display: flex;
    align-items: center;
}

.tooltip-container {
    position: relative;
    margin-left: 8px;
}

.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #27ae60;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
    user-select: none;
    transition: all 0.3s ease;
}

.tooltip-icon:hover {
    background-color: #219653;
    transform: scale(1.1);
}

/* Стили для всплывающей подсказки */
.tooltip-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    background-color: #333;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    white-space: normal;
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.tooltip-icon:hover::after,
.tooltip-icon.active::after {
    opacity: 1;
    visibility: visible;
    margin-bottom: 8px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .tooltip-icon {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .tooltip-icon::after {
        width: 280px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .tooltip-icon.mobile-active::after {
        opacity: 1;
        visibility: visible;
        margin-bottom: 8px;
    }
}

/* Стрелочка для подсказки */
.tooltip-icon::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    pointer-events: none;
}

.tooltip-icon:hover::before,
.tooltip-icon.active::before,
.tooltip-icon.mobile-active::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Улучшение читаемости текста подсказки */
.tooltip-icon::after {
    text-align: left;
    word-wrap: break-word;
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .tooltip-icon::after {
        width: 220px;
        font-size: 11px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .tooltip-icon {
        width: 22px;
        height: 22px;
    }
}

/* Планшетная адаптация (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Мобильное меню для планшетов */
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-nav-toggle {
        display: flex !important;
    }
    
    /* Делаем форму шире на планшетах */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-form {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding: 35px;
    }
    
    /* Увеличиваем шрифты на планшетах */
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    /* Адаптируем калькулятор */
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Адаптируем секции с сетками */
    .services-grid,
    .benefits,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Форма заказа - делаем поля шире */
    .form-row {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .form-col {
        flex: 1;
        min-width: calc(50% - 15px);
    }
    
    /* Корректируем отступы */
    .section-title h2 {
        font-size: 2.4rem;
    }
    
    /* Адаптируем видео секцию */
    .video-container {
        height: 70vh;
    }
    
    /* Адаптируем карту */
    .map-wrapper {
        height: 450px;
    }
    
    /* Адаптируем секцию "Для кого" */
    .for-whom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Специфичные правки для Samsung SM-X110 в альбомной ориентации */
    @media (width: 1280px) and (height: 800px) {
        body {
            font-size: 19px;
        }
        
        .container {
            width: 95%;
            max-width: 100%;
            padding: 0 20px;
        }
        
        .hero-form {
            max-width: 700px;
            padding: 40px;
        }
        
        .form-group label {
            font-size: 1.2rem;
        }
        
        .form-control {
            font-size: 1.2rem;
            padding: 18px 20px;
        }
        
        /* Делаем кнопки больше */
        .cta-button,
        .submit-btn {
            font-size: 1.3rem;
            padding: 20px 40px;
        }
        
        /* Увеличиваем иконки */
        .benefit-icon,
        .for-whom-icon,
        .service-icon {
            font-size: 2.8rem;
        }
        
        /* Увеличиваем навигацию */
        .mobile-nav ul li a {
            font-size: 1.4rem;
            padding: 15px 0;
        }
    }
    
    /* Для планшетов в портретной ориентации */
    @media (width: 800px) and (height: 1280px) {
        .hero-content {
            gap: 40px;
        }
        
        .hero-form {
            padding: 30px;
        }
        
        .form-col {
            min-width: 100%;
        }
        
        .mobile-nav {
            width: 70%;
            max-width: 500px;
        }
    }
}

/* Дополнительные стили для улучшенной адаптации на планшетах */
@media (max-width: 1024px) and (min-width: 768px) {
    /* Улучшаем читаемость текста */
    .hero-text {
        text-align: center;
        padding: 0 20px;
    }
    
    /* Улучшаем форму заказа */
    .order-form-closed {
        padding: 35px;
    }
    
    .closed-message h4 {
        font-size: 1.6rem;
    }
    
    .closed-message p {
        font-size: 1.2rem;
    }
    
    /* Улучшаем подсказки */
    .tooltip-icon::after {
        width: 350px;
        font-size: 14px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Адаптируем FAQ */
    .faq-question {
        font-size: 1.3rem;
        padding: 28px;
    }
    
    .faq-answer p,
    .faq-answer ul {
        font-size: 1.2rem;
    }
    
    /* Адаптируем кнопки способов оплаты */
    .payment-option {
        padding: 20px;
    }
    
    .payment-option span {
        font-size: 1.2rem;
    }
    
    .payment-option small {
        font-size: 1rem;
    }
}

/* Для планшетов с высокой плотностью пикселей */
@media (-webkit-min-device-pixel-ratio: 1.5) and (min-width: 768px) and (max-width: 1024px),
       (min-resolution: 144dpi) and (min-width: 768px) and (max-width: 1024px) {
    body {
        font-size: 19px;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.6rem;
    }
    
    .form-control {
        font-size: 1.3rem;
        padding: 20px;
    }
    
    /* Увеличиваем интерактивные элементы */
    .number-btn {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .number-display {
        padding: 18px 28px;
    }
    
    .number-display .number {
        font-size: 2.4rem;
    }
}

/* Исправление для перекрывающихся элементов на планшетах */
@media (max-width: 1024px) {
    /* Убедимся, что мобильное меню не перекрывает контент */
    .mobile-nav.active {
        z-index: 9999;
    }
    
    .mobile-nav-overlay.active {
        z-index: 9998;
    }
    
    /* Улучшаем доступность форм */
    .form-control:focus {
        transform: scale(1.02);
        box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.2);
    }
    
    /* Увеличиваем тач-таргет для мобильных устройств */
    .number-btn,
    .checkbox-custom,
    .payment-option,
    .faq-question {
        min-height: 44px;
    }
    
    .checkbox-group label,
    .payment-option label {
        padding: 10px 0;
    }
}

/* Специальные правки для Samsung Galaxy Tab в альбомном режиме */
@media (width: 800px) and (height: 1280px) and (orientation: landscape),
       (width: 1280px) and (height: 800px) and (orientation: portrait) {
    /* Увеличиваем контейнер */
    .container {
        width: 92%;
        max-width: 1200px;
    }
    
    /* Оптимизируем геро-секцию */
    .hero {
        padding: 100px 0;
    }
    
    /* Увеличиваем форму */
    .hero-form {
        max-width: 750px;
        padding: 45px;
    }
    
    /* Улучшаем читаемость текста */
    .hero-text h2 {
        font-size: 2.8rem;
        line-height: 1.3;
    }
    
    .hero-text p {
        font-size: 1.4rem;
        line-height: 1.6;
    }
    
    /* Адаптируем навигацию */
    .logo-icon {
        font-size: 2.2rem;
    }
    
    .logo-text h1 {
        font-size: 1.6rem;
    }
    
    /* Увеличиваем иконки */
    .benefit-icon,
    .service-icon,
    .step-number {
        font-size: 3rem;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }
}

/* Адаптация для ноутбуков 1366x768 (масштаб 100%) */
@media (min-width: 1280px) and (max-width: 1400px) {

  /* Общее уменьшение базового шрифта */
  body {
    font-size: 15px;
  }

  /* Контейнер немного уже */
  .container {
    max-width: 1140px;
    padding: 0 15px;
  }

  /* Уменьшаем шапку */
  .header-container {
    padding: 12px 0;
  }
  .logo-icon {
    font-size: 2rem;
  }
  .logo-text h1 {
    font-size: 1.5rem;
  }
  .logo-text span {
    font-size: 0.8rem;
  }

  /* Hero – компактнее */
  .hero {
    padding: 50px 0;
  }
  .hero h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  .hero-form {
    padding: 20px;
  }
  .hero-form h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  .form-group {
    margin-bottom: 18px;
  }
  .form-control {
    padding: 12px 15px;
    font-size: 0.95rem;
  }
  .submit-btn {
    padding: 14px;
    font-size: 1rem;
  }

  /* Секции – меньше вертикальных отступов */
  .benefits,
  .requirements,
  .calculator-section,
  .services,
  .order,
  .process,
  .why-us,
  .faq,
  .for-whom {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .section-title p {
    font-size: 1rem;
  }

  /* Карточки услуг – уменьшаем отступы */
  .service-card .service-content {
    padding: 20px;
  }
  .service-content h3 {
    font-size: 1.3rem;
  }
  .service-price {
    font-size: 1.3rem;
  }

  /* Калькулятор */
  .calculator-info,
  .calculator {
    padding: 25px;
  }
  .price-item {
    padding: 15px;
  }
  .price-value {
    font-size: 1.8rem;
  }
  .calculator-order-btn {
    padding: 14px 20px;
    font-size: 1rem;
  }

  /* Карточки «Для кого» */
  .for-whom-content {
    padding: 20px;
  }
  .for-whom-content h3 {
    font-size: 1.2rem;
  }

  /* FAQ */
  .faq-question {
    padding: 20px;
    font-size: 1.1rem;
  }
  .faq-answer p,
  .faq-answer ul {
    font-size: 0.95rem;
  }

  /* Footer */
  footer {
    padding: 40px 0 20px;
  }
  .footer-column h3 {
    font-size: 1.2rem;
  }

  /* Акционный баннер */
  .promo-banner {
    padding: 10px 0;
  }
  .promo-text h4 {
    font-size: 1rem;
  }

  /* Видео-секция */
  .video-container {
    height: 60vh;
  }

  /* Карта */
  .map-wrapper {
    height: 400px;
  }
}

/* ===== ТЁМНАЯ ТЕМА ДЛЯ СТРАНИЦЫ КОНТАКТОВ ===== */
.dark-theme .contact-page {
    background: linear-gradient(135deg, #1e272e 0%, #1a252f 100%);
}

.dark-theme .page-title {
    color: #ecf0f1;
}

.dark-theme .info-card {
    background: #2c3e50;
    border-left-color: #2ecc71;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-theme .info-card h3 {
    color: #ecf0f1;
}

.dark-theme .info-card h3 i {
    color: #2ecc71;
}

.dark-theme .info-card ul li {
    color: #bdc3c7;
}

.dark-theme .info-card ul li i {
    color: #2ecc71;
}

.dark-theme .contact-details {
    border-top-color: #34495e;
}

.dark-theme .contact-details p {
    color: #ecf0f1;
}

.dark-theme .contact-details a {
    color: #2ecc71;
}

.dark-theme .contact-details a:hover {
    color: #27ae60;
}

.dark-theme .contact-form-container {
    background: #2c3e50;
    border-color: #34495e;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.dark-theme .contact-form h2 {
    color: #ecf0f1;
}

.dark-theme .form-group label {
    color: #ecf0f1;
}

.dark-theme .form-control {
    background: #34495e;
    border-color: #4a6275;
    color: #ecf0f1;
}

.dark-theme .form-control:focus {
    border-color: #2ecc71;
    background: #2c3e50;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.dark-theme .form-control::placeholder {
    color: #95a5a6;
}

.dark-theme .char-counter {
    color: #95a5a6;
}

.dark-theme .agreement {
    background: #1e272e;
    border-left-color: #2ecc71;
}

.dark-theme .checkbox-label span {
    color: #ecf0f1;
}

.dark-theme .agreement small {
    color: #bdc3c7;
}

.dark-theme .agreement a {
    color: #2ecc71;
}

.dark-theme .btn-primary {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.dark-theme .btn-primary:hover {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
}

.dark-theme .alert-success {
    background: #145a32;
    border-color: #1e8449;
    color: #ecf0f1;
}

.dark-theme .alert-danger {
    background: #7b241c;
    border-color: #922b21;
    color: #ecf0f1;
}

.dark-theme .problem-report {
    background: #7b241c !important;
    color: #ecf0f1;
}

.dark-theme .problem-report .btn-primary {
    background: #e74c3c;
}

.dark-theme .modal-content {
    background: #2c3e50;
    color: #ecf0f1;
}

.dark-theme .privacy-section h3 {
    color: #ecf0f1;
}

.dark-theme .privacy-footer {
    border-top-color: #34495e;
    color: #bdc3c7;
}

/* Оверлей с девушкой и кнопкой внутри карты */
.map-cta-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary);
    z-index: 20;
    max-width: 300px;
    transition: all 0.3s ease;
}

.map-cta-overlay:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.3);
}

.cta-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-text {
    flex: 1;
    min-width: 0;
}

.cta-text p {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}

.cta-button.small {
    display: inline;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.cta-button.small:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.cta-button.small i {
    margin-right: 6px;
}





/* Статичное изображение девушки на карте слева */
.map-girl-overlay {
    position: absolute;
    left: 70px;
    top: -15%;            /* компенсация (130% - 100%) / 2 = 15% */
    bottom: auto;
    height: 130%;
    width: auto;
    z-index: 5;
    pointer-events: none;
}

.map-girl-overlay img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: cover;
    object-position: left center;
}

/* === АДАПТАЦИЯ ОВЕРЛЕЕВ ДЛЯ МОБИЛЬНЫХ И ПЛАНШЕТОВ === */

/* Планшеты (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .map-girl-overlay {
        left: 20px;
        height: 120%;
        top: -10%;
    }
    
    .map-cta-overlay {
        right: 20px;
        bottom: 20px;
        padding: 12px 18px;
        max-width: 280px;
    }
    
    .cta-image {
        width: 55px;
        height: 55px;
    }
    
    .cta-text p {
        font-size: 0.95rem;
    }
    
    .cta-button.small {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
}

/* Мобильные устройства (до 767px) */
@media (max-width: 767px) {
    /* Статичное изображение девушки – прижать к левому краю */
    .map-girl-overlay {
        left: -150px !important;
        height: 100% !important;
        top: 0 !important;
    }
    
    .map-girl-overlay img {
        object-position: left bottom; /* чтобы голова не обрезалась */
    }
    
    /* Оверлей с текстом и кнопкой */
    .map-cta-overlay {
        right: 10px;
        bottom: 10px;
        padding: 10px 14px;
        max-width: 240px;
        gap: 10px;
    }
    
    .cta-image {
        width: 45px;
        height: 45px;
    }
    
    .cta-text p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .cta-button.small {
        padding: 6px 10px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .map-cta-overlay {
        right: 5px;
        bottom: 5px;
        padding: 8px 10px;
        max-width: 200px;
        gap: 8px;
    }
    
    .cta-image {
        width: 40px;
        height: 40px;
    }
    
    .cta-text p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .cta-button.small {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    
    /* Дополнительно: если оверлей перекрывает важные элементы, можно сделать его полупрозрачным */
    .map-cta-overlay {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(4px);
    }
}

/* Для экранов с очень низкой высотой (например, landscape на мобильных) */
@media (max-height: 500px) and (orientation: landscape) {
    .map-girl-overlay {
        height: 90% !important;
    }
    
    .map-cta-overlay {
        bottom: 5px;
        padding: 6px 10px;
    }
}

/* Кнопка закрытия промо-баннера */
.promo-banner {
    position: relative; /* чтобы крестик позиционировался относительно баннера */
}

.promo-close {
    position: absolute;
    top: 8px;
    right: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 10;
    padding: 0 5px;
}

.promo-close:hover {
    color: white;
    transform: scale(1.2);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .promo-close {
        top: 5px;
        right: 10px;
        font-size: 22px;
    }
}

/* ===== PREMIUM ORDER SECTION ===== */
.order-premium {
    padding: 90px 0;
    background: linear-gradient(145deg, #f5fcf8 0%, #e3f4e9 100%);
    position: relative;
    overflow: hidden;
}

/* Анимированный градиентный фон */
.order-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(39,174,96,0.08) 0%, transparent 50%);
    animation: bgPulse 12s infinite alternate ease-in-out;
    z-index: 0;
}

@keyframes bgPulse {
    0% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    100% { transform: scale(1.1) rotate(2deg); opacity: 0.8; }
}

.order-premium-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

/* ----- ЛЕВАЯ ЧАСТЬ ----- */
.order-premium-left {
    max-width: 600px;
}

.order-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    color: #1e7b4b;
    box-shadow: 0 6px 14px rgba(0,0,0,0.02);
    border: 1px solid rgba(39,174,96,0.25);
    margin-bottom: 25px;
    font-size: 1rem;
}

.order-premium-title {
    font-size: 3.4rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    color: #1a2e3b;
    margin-bottom: 20px;
}

.title-gradient {
    background: linear-gradient(135deg, #1f8f4d, #27ae60);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.order-premium-subtitle {
    font-size: 1.25rem;
    color: #3e5a6c;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Сетка преимуществ */
.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.premium-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    padding: 14px 18px;
    border-radius: 20px;
    border: 1px solid rgba(39,174,96,0.15);
    transition: all 0.25s;
}

.premium-feature-item:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -8px rgba(39,174,96,0.15);
    border-color: #b8dfc7;
}

.feature-icon-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, #27ae60, #1f8f4d);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 8px 14px -4px rgba(39,174,96,0.3);
    flex-shrink: 0;
}

.premium-feature-item span {
    font-weight: 600;
    color: #1e2b37;
    font-size: 1rem;
}

/* Срочность */
.order-urgency {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: #e67e22;
    font-weight: 500;
    background: rgba(230,126,34,0.08);
    padding: 8px 18px;
    border-radius: 40px;
    width: fit-content;
    border: 1px solid rgba(230,126,34,0.2);
}

.order-urgency i {
    font-size: 1.2rem;
    animation: flameFlicker 1.5s infinite;
}

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

/* Кнопка с пульсацией */
.order-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #27ae60;
    color: white;
    padding: 18px 42px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 20px 30px -8px rgba(39,174,96,0.4);
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.btn-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 60px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.5) 0%, transparent 70%);
    opacity: 0;
    animation: btnPulse 2.5s infinite;
    pointer-events: none;
}

@keyframes btnPulse {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.15; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1.5); }
}

.order-premium-btn:hover {
    background: #1f8f4d;
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 25px 35px -10px rgba(39,174,96,0.5);
}

.order-premium-btn i {
    transition: transform 0.3s;
}

.order-premium-btn:hover i {
    transform: translateX(8px);
}

/* ----- ПРАВАЯ ЧАСТЬ (изображение) ----- */
.order-premium-right {
    display: flex;
    justify-content: center;
    position: relative;
}

.premium-image-card {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.image-glass-effect {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 35px 45px -15px rgba(0,0,0,0.2);
    border: 6px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(2px);
    transition: transform 0.4s;
    position: relative;
    z-index: 2;
}

.image-glass-effect img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.image-glass-effect:hover img {
    transform: scale(1.04);
}

.image-badge-premium {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    color: #1e2b37;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
    border: 1px solid rgba(39,174,96,0.3);
}

.image-badge-premium i {
    color: #f1c40f;
    margin-right: 8px;
}

/* Плавающие фигуры */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(39,174,96,0.1);
    z-index: 1;
}

.shape-1 {
    width: 180px;
    height: 180px;
    bottom: -30px;
    right: -20px;
    animation: floatShape 8s infinite alternate;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: -20px;
    left: -30px;
    background: rgba(39,174,96,0.08);
    animation: floatShape 6s infinite alternate-reverse;
}

@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .order-premium-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 900px) {
    .order-premium-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .order-premium-left {
        max-width: 100%;
        text-align: center;
    }
    
    .order-urgency {
        margin-left: auto;
        margin-right: auto;
    }
    
    .premium-features-grid {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .order-premium-btn {
        margin: 0 auto;
    }
    
    .premium-image-card {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .order-premium {
        padding: 60px 0;
    }
    
    .order-premium-title {
        font-size: 2.2rem;
    }
    
    .order-premium-subtitle {
        font-size: 1.1rem;
    }
    
    .premium-features-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-feature-item {
        padding: 12px 16px;
    }
    
    .order-premium-btn {
        width: 100%;
        padding: 16px 25px;
        font-size: 1.2rem;
    }
    
    .image-badge-premium {
        bottom: 10px;
        left: 10px;
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* Переключатель городов внутри карты (десктоп) */
.map-city-tabs {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 8px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 15;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.map-city-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

.map-city-tab:hover {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.map-city-tab.active {
    background: #27ae60;
    color: white;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}

/* Скрываем десктопные вкладки на мобильных */
@media (max-width: 767px) {
    .map-city-tabs.desktop-only {
        display: none !important;
    }
}

/* Внешние вкладки для мобильных (по умолчанию скрыты) */
.mobile-city-tabs {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.mobile-city-tab {
    padding: 10px 16px;
    border: none;
    background: white;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e0e7e0;
    font-family: 'Montserrat', sans-serif;
}

.mobile-city-tab:hover {
    background: #f0f9f0;
}

.mobile-city-tab.active {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

/* Показываем мобильные вкладки на мобильных */
@media (max-width: 767px) {
    .mobile-city-tabs {
        display: flex;
    }
}

/* Адаптация для маленьких экранов */
@media (max-width: 480px) {
    .mobile-city-tab {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .map-city-tab {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
    .map-city-tabs {
        top: 10px;
        padding: 6px 8px;
        gap: 5px;
    }
}

/* Вкладки городов внутри map-overlay */
.map-overlay-tabs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
}

.map-overlay-tab {
    padding: 8px 14px;
    border: 1px solid rgba(39, 174, 96, 0.3);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    backdrop-filter: blur(2px);
    font-family: 'Montserrat', sans-serif;
}

.map-overlay-tab:hover {
    background: rgba(39, 174, 96, 0.15);
    border-color: #27ae60;
}

.map-overlay-tab.active {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

/* Скрываем оверлей на мобильных (чтобы не мешал карте) */
@media (max-width: 767px) {
    .map-overlay {
        display: none;
    }
}

/* ==================== ИСПРАВЛЕНИЕ РАЗМЕРА БЛОКОВ ОПЛАТЫ ==================== */
@media screen and (max-width: 768px) {
    .hero-form .payment-methods,
    .payment-methods {
        gap: 6px !important;
    }
    
    .hero-form .payment-option,
    .payment-option {
        padding: 10px 12px !important;
        border-width: 1px !important;
        margin-bottom: 5px !important;
    }
    
    .hero-form .payment-option label,
    .payment-option label {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .hero-form .payment-option i,
    .payment-option i {
        font-size: 1.2rem !important;
        min-width: 20px !important;
        text-align: center !important;
    }
    
    .hero-form .payment-option span,
    .payment-option span {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }
    
    .hero-form .payment-option small,
    .payment-option small {
        font-size: 0.75rem !important;
        opacity: 0.8 !important;
        display: block !important;
        margin-top: 3px !important;
    }
    
    /* Если используется radio инпут, скроем его влияние на размер */
    .payment-option input[type="radio"] {
        position: absolute !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* Стили для активного состояния через обводку */
    .payment-option:has(input[type="radio"]:checked) {
        border-color: #27ae60 !important;
        background: rgba(39, 174, 96, 0.05) !important;
    }
}

/* Декоративный фон за правой частью калькулятора */
.calculator-section {
    position: relative;
    overflow: hidden;
}

.calculator-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;               /* ширина правой колонки */
    height: 90%;
    background: 
        url('img/Photoroom-20260417_213432781.webp') no-repeat center/cover,
        radial-gradient(circle at 70% 30%, rgba(39, 174, 96, 0.1) 0%, transparent 70%);
    background-blend-mode: overlay;
    opacity: 0.60;            /* общая прозрачность */
    pointer-events: none;
    z-index: 0;
}

/* Контент выше фона */
.calculator-section .container {
    position: relative;
    z-index: 1;
}

/* Адаптация для планшетов и мобильных */
@media (max-width: 992px) {
    .calculator-section::after {
        width: 100%;
        opacity: 0.08;
    }
}

/* Эффект печатной машинки */
.typed-cursor {
    display: inline-block;
    width: 3px;
    margin-left: 4px;
    animation: blink 0.7s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

#typed-text {
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 30px;
    white-space: nowrap;
}

/* На мобильных устройствах перенос строки */
@media (max-width: 600px) {
    #typed-text {
        white-space: normal;
        display: inline-block;
    }
}

/* Мобильный слайдер для калькулятора */
@media (max-width: 768px) {
    .calculator-container {
        display: flex;
        overflow: hidden;
        scroll-snap-type: none; /* отключаем старый скролл */
        position: relative;
        padding: 0;
    }
    .calculator-slider-wrapper {
        display: flex;
        transition: transform 0.3s ease;
        width: 100%;
    }
    .calculator-slider-wrapper .calculator,
    .calculator-slider-wrapper .calculator-info {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .calculator-slider-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .slider-btn {
        background: var(--primary);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: white;
        font-size: 1.2rem;
        transition: 0.2s;
    }
    .slider-btn:active {
        transform: scale(0.95);
    }
    .slider-dots {
        display: flex;
        gap: 12px;
    }
    .slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ccc;
        transition: 0.2s;
        cursor: pointer;
    }
    .slider-dot.active {
        background: var(--primary);
        width: 24px;
        border-radius: 4px;
    }
}

/* Исправление вылезания калькулятора за пределы слайдера */
@media (max-width: 768px) {
    .calculator-slider {
        width: 100%;
        overflow: hidden;
    }
    .calculator-slider .calculator,
    .calculator-slider .calculator-info {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0 15px;
    }
    /* Принудительное ограничение всех внутренних элементов */
    .calculator-slider .calculator *,
    .calculator-slider .calculator-info * {
        max-width: 100%;
        box-sizing: border-box;
    }
    /* Исправление селекторов количества пакетов/этажей */
    .calculator-slider .number-selector {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
    }
    .calculator-slider .number-btn {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
    .calculator-slider .number-display {
        flex: 1;
        min-width: 0;
        text-align: center;
    }
    .calculator-slider .calculator-result {
        padding: 15px;
    }
    .calculator-slider .price-value {
        font-size: 1.8rem;
        word-break: keep-all;
    }
    /* Мелкие корректировки */
    .calculator-slider .form-control,
    .calculator-slider select.form-control {
        width: 100%;
        font-size: 16px; /* предотвращает масштабирование на iOS */
    }
}

@media (max-width: 768px) {
    /* Скрываем полосу прокрутки у контейнера слайдера */
    .calculator-container {
        overflow-x: hidden !important; /* полностью отключаем скролл контейнера */
    }
    .calculator-slider {
        overflow-x: hidden !important;
        /* Оставляем трансформацию, скролл не нужен */
    }
    /* Также для родительских элементов, если есть */
    .calculator-slider .calculator,
    .calculator-slider .calculator-info {
        overflow-x: hidden;
    }
}

/* ===================================================
   ПРЕМИУМ ВИДЕОСЕКЦИЯ – полная адаптивность
   =================================================== */
.video-section-cinema {
    position: relative;
    padding: 90px 0;
    background: #ffffff;
    overflow: hidden;
    isolation: isolate;
}

/* Радиальное свечение – как в coverage-map-section */
.video-section-cinema::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(39, 174, 96, 0.5) 0%,
        rgba(39, 174, 96, 0.2) 50%,
        transparent 80%
    );
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    border-radius: 60px;
}

.video-section-cinema .container {
    position: relative;
    z-index: 1;
}

/* Заголовки .section-title – уже стилизованы глобально */
.video-section-cinema .section-title h2 {
    color: var(--primary, #27ae60);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.video-section-cinema .section-title p {
    color: var(--gray, #7f8c8d);
    font-size: 1.3rem;
}

/* Киноэкран */
.cinema-wrapper {
    max-width: 960px;
    margin: 0 auto;
}
.cinema-screen {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    background: #0f0f0f;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2), 0 0 0 3px rgba(255,255,255,0.8) inset;
}
.cinema-screen video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cinema-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
    z-index: 10;
}
.cinema-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.cinema-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 600px;
}
.cinema-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    padding: 6px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 18px;
    font-weight: 600;
}
.cinema-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.cinema-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}
.cinema-controls {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.cinema-controls button {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
}
.cinema-controls button:hover {
    background: rgba(39,174,96,0.8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-color: #27ae60;
}
.cinema-controls .cinema-fullscreen {
    padding: 14px 18px;
    border-radius: 50%;
}

/* Блок статистики */
.cinema-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    padding: 12px 20px;
    background: white;
    border-radius: 60px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #e9edec;
}
.cinema-stat-item {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cinema-stat-item i {
    color: #27ae60;
    font-size: 1.2rem;
}
.cinema-stat-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.cinema-stat-buttons button {
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
}
.cinema-stat-buttons button i {
    font-size: 1.2rem;
    transition: 0.2s;
}
.cinema-like-btn {
    background: rgba(39,174,96,0.08);
}
.cinema-like-btn:hover {
    background: rgba(39,174,96,0.2);
}
.cinema-like-btn.active {
    background: #27ae60;
    color: white;
}
.cinema-like-btn.active i {
    color: white;
}
.cinema-dislike-btn {
    background: rgba(231,76,60,0.08);
}
.cinema-dislike-btn:hover {
    background: rgba(231,76,60,0.2);
}
.cinema-dislike-btn.active {
    background: #e74c3c;
    color: white;
}
.cinema-dislike-btn.active i {
    color: white;
}

/* =============================================
   АДАПТИВНОСТЬ
   ============================================= */

/* Планшеты и маленькие ноутбуки (1024px - 1200px) */
@media (max-width: 1200px) {
    .video-section-cinema {
        padding: 80px 0;
    }
    .cinema-wrapper {
        max-width: 90%;
    }
}

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .video-section-cinema {
        padding: 70px 0;
    }
    .cinema-content h3 {
        font-size: 1.6rem;
    }
    .cinema-content p {
        font-size: 1.1rem;
    }
    .cinema-controls button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .video-section-cinema {
        padding: 60px 0;
    }
    .video-section-cinema .section-title p {
        font-size: 1.1rem;
    }
    .cinema-wrapper {
        max-width: 100%;
    }
    .cinema-screen {
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }
    .cinema-content {
        padding: 15px;
    }
    .cinema-content h3 {
        font-size: 1.0rem;
    }
    .cinema-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .cinema-badge {
        font-size: 0.8rem;
        padding: 4px 16px;
        margin-bottom: 14px;
    }
    .cinema-controls {
        gap: 10px;
    }
    .cinema-controls button {
        padding: 10px 18px;
        font-size: 0.9rem;
        gap: 8px;
    }
    .cinema-controls .cinema-fullscreen {
        padding: 10px 14px;
    }

    /* Блок статистики – вертикальный */
    .cinema-stats {
        flex-direction: column;
        gap: 12px;
        border-radius: 40px;
        padding: 16px 20px;
        margin-top: 18px;
    }
    .cinema-stat-item {
        font-size: 0.95rem;
    }
    .cinema-stat-item i {
        font-size: 1.1rem;
    }
    .cinema-stat-buttons button {
        padding: 6px 14px;
        font-size: 0.9rem;
    }
    .cinema-stat-buttons button i {
        font-size: 1.1rem;
    }

    /* Свечение уменьшаем для производительности */
    .video-section-cinema::after {
        filter: blur(30px);
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .video-section-cinema {
        padding: 50px 0;
    }
    .video-section-cinema .section-title h2 {
        font-size: 2rem;
    }
    .video-section-cinema .section-title p {
        font-size: 1rem;
    }
    .cinema-screen {
        border-radius: 16px;
    }
    .cinema-content h3 {
        font-size: 1.0rem;
    }
    .cinema-content p {
        font-size: 0.9rem;
        margin-bottom: 0px;
    }
    .cinema-controls button {
        padding: 8px 16px;
        font-size: 0.85rem;
        gap: 6px;
    }
    .cinema-controls .cinema-fullscreen {
        padding: 8px 12px;
    }
    .cinema-stats {
        padding: 12px 16px;
        gap: 10px;
    }
    .cinema-stat-item {
        font-size: 0.85rem;
    }
    .cinema-stat-buttons button {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
    .cinema-stat-buttons button i {
        font-size: 1rem;
    }
}

/* Широкие экраны (> 1400px) */
@media (min-width: 1400px) {
    .cinema-wrapper {
        max-width: 1100px;
    }
    .video-section-cinema {
        padding: 110px 0;
    }
    .cinema-content h3 {
        font-size: 1.6rem;
    }
    .cinema-content p {
        font-size: 1.3rem;
    }
    .cinema-controls button {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}

/* Для экранов с очень низкой высотой (ландшафтные мобильные) */
@media (max-height: 500px) and (orientation: landscape) {
    .video-section-cinema {
        padding: 30px 0;
    }
    .cinema-screen {
        padding-top: 40%; /* более плоское соотношение */
    }
    .cinema-content h3 {
        font-size: 1.4rem;
    }
    .cinema-content p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    .cinema-controls button {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .cinema-stats {
        padding: 8px 16px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}

/* Отключение blur на очень старых или слабых устройствах (опционально) */
@media (prefers-reduced-motion: reduce) {
    .video-section-cinema::after {
        filter: none;
    }
    .cinema-overlay {
        backdrop-filter: none;
    }
}

/* ===== РЕФЕРАЛЬНАЯ ПРОГРАММА – ПРЕМИУМ БЛОК ===== */
.referral-premium {
    padding: 90px 0;
    background: linear-gradient(145deg, #f5fcf8 0%, #e3f4e9 100%);
    position: relative;
    overflow: hidden;
}
.referral-premium::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(39,174,96,0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.referral-premium .container {
    position: relative;
    z-index: 2;
}

.referral-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 30px;
}

/* Левая часть */
.referral-info {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border-radius: 36px;
    padding: 45px 40px;
    border: 1px solid rgba(39,174,96,0.2);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.referral-info:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -15px rgba(39,174,96,0.15);
}

.referral-percent-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px dashed rgba(39,174,96,0.2);
}
.percent-number {
    font-size: 4.2rem;
    font-weight: 800;
    color: #27ae60;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}
.percent-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
}

.referral-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.referral-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #2c3e50;
}
.referral-features li i {
    color: #27ae60;
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.referral-features li strong {
    color: #1e2b37;
    font-weight: 700;
}

.referral-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(145deg, #27ae60, #1f8f4d);
    color: white;
    padding: 16px 40px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 15px 25px -8px rgba(39,174,96,0.35);
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}
.referral-btn:hover {
    background: linear-gradient(145deg, #1f8f4d, #166b38);
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -8px rgba(39,174,96,0.5);
}
.referral-btn i {
    transition: transform 0.3s;
}
.referral-btn:hover i {
    transform: translateX(6px);
}

/* Правая часть – карточки иконок */
.referral-visual {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.visual-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(39,174,96,0.12);
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}
.visual-card:hover {
    background: white;
    transform: translateX(8px);
    box-shadow: 0 12px 25px -8px rgba(39,174,96,0.15);
    border-color: rgba(39,174,96,0.3);
}
.visual-card i {
    font-size: 2.8rem;
    color: #27ae60;
    width: 60px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.8;
}
.visual-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1a2e3b;
    margin: 0 0 4px 0;
    font-size: 1.2rem;
}
.visual-card p {
    margin: 0;
    color: #4a5a65;
    font-size: 1rem;
    line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .referral-grid {
        gap: 40px;
    }
}
@media (max-width: 900px) {
    .referral-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .referral-info {
        order: 1;
    }
    .referral-visual {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .visual-card {
        flex: 1 1 220px;
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .visual-card i {
        font-size: 2.4rem;
    }
}
@media (max-width: 600px) {
    .referral-premium {
        padding: 60px 0;
    }
    .referral-info {
        padding: 30px 20px;
    }
    .percent-number {
        font-size: 3.2rem;
    }
    .percent-label {
        font-size: 1.2rem;
    }
    .referral-features li {
        font-size: 0.95rem;
    }
    .referral-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1.1rem;
    }
    .visual-card {
        flex: 1 1 100%;
    }
}

/* ===== СЕТКА АДРЕСНЫХ ПОЛЕЙ ===== */
/* Десктоп (≥769px) – 2 колонки */
.form-row.address-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px 20px !important;
    margin: 0 !important;
}

.form-row.address-grid .form-col {
    padding: 0 !important;
    margin: 0 !important;
}

/* Планшеты и мобильные (≤768px) – 3 колонки, 2 ряда */
@media (max-width: 768px) {
    .form-row.address-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px 10px !important;
    }
    /* Уменьшаем шрифты и отступы, чтобы поля помещались */
    .form-row.address-grid .form-control {
        font-size: 0.85rem !important;
        padding: 8px 10px !important;
    }
    .form-row.address-grid label {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }
}

/* Очень маленькие экраны (≤480px) – если 3 колонки слишком узкие, можно сделать 2 */
@media (max-width: 480px) {
    .form-row.address-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* === КАСТОМНЫЙ ВИДЖЕТ ДАТЫ И ВРЕМЕНИ === */

/* Основной контейнер виджета */
.custom-datetime-widget {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 20px 20px 25px;
    margin-top: 8px;
    border: 1px solid #e8edf0;
    display: none; /* скрыт по умолчанию, показывается при клике на поле */
    position: absolute;
    z-index: 1000;
    min-width: 320px;
    background: #ffffff;
}

/* === КАЛЕНДАРЬ === */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.calendar-header .month-year {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e2b37;
}

.calendar-header .nav-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.2s;
}

.calendar-header .nav-btn:hover {
    color: #27ae60;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #95a5a6;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-days .day-cell {
    padding: 8px 0;
    text-align: center;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.15s;
    background: transparent;
    border: 2px solid transparent;
}

.calendar-days .day-cell:hover:not(.disabled):not(.selected) {
    background: #f0f9f0;
}

.calendar-days .day-cell.selected {
    background: #27ae60;
    color: white;
    font-weight: 700;
}

.calendar-days .day-cell.weekend {
    color: #e74c3c;
}
.calendar-days .day-cell.weekend.selected {
    background: #e74c3c;
    color: white;
}

.calendar-days .day-cell.disabled {
    color: #bdc3c7;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* === ВЫБОР ВРЕМЕНИ === */
.time-picker {
    margin-top: 20px;
    border-top: 1px solid #ecf0f1;
    padding-top: 18px;
}

.time-picker .time-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: block;
}

.time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.time-options .time-btn {
    padding: 8px 18px;
    border: 2px solid #e1e8ed;
    border-radius: 30px;
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Open Sans', sans-serif;
}

.time-options .time-btn:hover:not(.disabled) {
    border-color: #27ae60;
    background: #f0f9f0;
}

.time-options .time-btn.selected {
    background: #27ae60;
    border-color: #27ae60;
    color: white;
}

.time-options .time-btn.disabled {
    color: #bdc3c7;
    border-color: #e1e8ed;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* Кнопка подтверждения выбора */
.confirm-time-btn {
    margin-top: 18px;
    padding: 10px 20px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.confirm-time-btn:hover {
    background: #1e8449;
}

/* Поле-триггер (вместо стандартного input) */
.custom-date-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid rgba(39,174,96,0.15);
    border-radius: 18px;
    padding: 14px 18px;
    cursor: pointer;
    transition: border-color 0.2s;
    font-family: 'Open Sans', sans-serif;
}

.custom-date-trigger:hover {
    border-color: #27ae60;
}

.custom-date-trigger .trigger-icon {
    color: #27ae60;
    font-size: 1.2rem;
}

.custom-date-trigger .trigger-text {
    flex: 1;
    color: #1e2b37;
    font-weight: 500;
}

.custom-date-trigger .trigger-placeholder {
    color: #95a5a6;
    font-weight: 400;
}

/* Для мобильных адаптация */
@media (max-width: 480px) {
    .custom-datetime-widget {
        min-width: 280px;
        padding: 15px;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 92%;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 20px;
    }
    .calendar-days .day-cell {
        padding: 6px 0;
        font-size: 0.9rem;
    }
    .time-options .time-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}