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

/* === Variables === */
:root {
    --primary-color: #1a472a; /* Темно-зеленый */
    --primary-light: #2d5a3d;
    --primary-dark: #0d2a19;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-light: #e5e5e5;
    --gray-medium: #999999;
    --gray-dark: #333333;
    --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, var(--black) 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* === Base Styles === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* === Header === */
.header {
    background-color: var(--black);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light);
}

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

.nav-list li a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

/* === Hero Section === */
.hero {
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-light);
    margin-bottom: 40px;
    line-height: 1.5;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn:active {
    transform: translateY(0);
}

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

.about {
    background-color: var(--black);
}

.services {
    background-color: var(--primary-dark);
}

.prices {
    background-color: var(--black);
}

.advantages {
    background-color: var(--primary-dark);
}

.process {
    background-color: var(--black);
}

.faq {
    background-color: var(--primary-dark);
}

.contacts {
    background-color: var(--black);
}

/* === Section Title === */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--white);
}

/* === About Section === */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 30px;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.about-text ul {
    text-align: left;
    margin-bottom: 30px;
}

.about-text ul li {
    padding: 8px 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 25px;
}

.about-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

/* === Services Grid === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--black);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.service-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    padding: 15px;
    background: var(--gray-dark);
    border-radius: 8px;
}

.service-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--white);
}

.service-item .price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 5px;
}

.service-item .duration {
    font-size: 14px;
    color: var(--gray-medium);
    margin-bottom: 8px;
}

.service-item p {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.4;
}

/* === Prices Section === */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.price-card {
    background: var(--black);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-dark);
}

.price-table td:first-child {
    color: var(--gray-light);
}

.price-table td:last-child {
    color: var(--white);
    font-weight: 700;
    text-align: right;
}

.price-table tr:last-child td {
    border-bottom: none;
}

/* === Advantages Section === */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--black);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.advantage-card p {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.5;
}

/* === Process Section === */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.process-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.process-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.process-content p {
    font-size: 16px;
    color: var(--gray-light);
    line-height: 1.5;
}

/* === FAQ Section === */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--black);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: var(--gray-dark);
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 20px;
    color: var(--primary-light);
}

.faq-item.active .faq-question:after {
    content: "-";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.5;
}

/* === Contacts Section === */
.contacts-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.contact-card {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--white);
}

.contact-card p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.contact-location {
    text-align: center;
    color: var(--gray-medium);
    font-size: 14px;
}

/* === Footer === */
.footer {
    background-color: var(--black);
    padding: 30px 0;
    border-top: 1px solid var(--gray-dark);
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light);
}

.footer-slogan {
    font-size: 16px;
    color: var(--gray-medium);
}

.footer-copyright {
    text-align: center;
    color: var(--gray-medium);
    font-size: 14px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

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

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

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--black);
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .services-grid,
    .prices-grid,
    .advantages-grid,
    .contacts-content {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-number {
        margin-bottom: 15px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

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

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

    .service-card,
    .price-card,
    .advantage-card,
    .contact-card {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
}