:root {
    --primary: #1976d2;
    --primary-light: #4791db;
    --accent: #ff5252;
    --accent-light: #ff867f;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #323232;
    --text-light: #6c757d;
    --border-light: #e0e0e0;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --gradient: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    padding: 0;
    min-height: 100vh;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}

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

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin-left: 12px;
    color: var(--primary);
}

.logo-img {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    box-shadow: var(--shadow);
}

.contact {
    background: var(--gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
}

.hero {
    background: var(--gradient);
    color: white;
    padding: 60px 30px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.05"><text x="50%" y="50%" font-size="12" text-anchor="middle" fill="white">Саратов</text></svg>');
    background-repeat: repeat;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    position: relative;
}

.hero h2:after {
    display: none;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
}

.city-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-btn {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: var(--text-dark);
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

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

.feature {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.no-commission {
    text-align: center;
    margin: 30px 0;
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    background: rgba(25, 118, 210, 0.1);
    padding: 15px;
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.package-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.package-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.package-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-light);
}

.price {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0;
    color: var(--accent);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.btn:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 82, 82, 0.3);
}

.tag {
    position: absolute;
    top: 20px;
    right: -34px;
    background: var(--accent);
    color: white;
    padding: 5px 40px;
    font-size: 14px;
    transform: rotate(45deg);
    font-weight: 600;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-bg);
    margin: auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalopen 0.3s;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}

.close:hover {
    color: var(--accent);
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.modal-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.modal-btn:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 82, 82, 0.3);
}

.payment-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    margin: 50px 0;
    box-shadow: var(--shadow);
}

.payment-section h2 {
    text-align: left;
    margin-bottom: 30px;
    color: var(--primary);
}

.payment-section h2:after {
    left: 0;
    transform: none;
}

.payment-section h3 {
    font-family: 'Montserrat', sans-serif;
    margin: 25px 0 15px;
    color: var(--primary);
}

.payment-section p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.payment-method {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.payment-method i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.instructions {
    background: rgba(25, 118, 210, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.instruction-item {
    margin-bottom: 25px;
}

.instruction-item h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.instruction-item h4 span {
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 16px;
}

.instruction-item ul {
    padding-left: 20px;
    color: var(--text-light);
}

.instruction-item li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.instruction-note {
    background: rgba(255, 82, 82, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 4px solid var(--accent);
}

.saratov-info {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: var(--shadow);
}

.saratov-info h2 {
    text-align: left;
    color: var(--primary);
}

.saratov-info h2:after {
    left: 0;
    transform: none;
}

.saratov-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.saratov-point {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
}

.saratov-point h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    color: var(--primary);
}

.faq {
    margin: 50px 0;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-light);
}

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

.testimonial {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social a:hover {
    transform: translateY(-5px);
    background: var(--gradient-accent);
}

.breadcrumb {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 5px;
}

@media (max-width: 768px) {
    .packages-grid, .features, .testimonials, .footer-content, .payment-methods, .saratov-points {
        grid-template-columns: 1fr;
    }
    
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 20px;
        justify-content: center;
    }
    
    h2 {
        font-size: 26px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .payment-section {
        padding: 25px;
    }
    
    .payment-section h2 {
        text-align: center;
    }
    
    .payment-section h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .saratov-info h2 {
        text-align: center;
    }
    
    .saratov-info h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}