/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #1F1F1F;
    overflow-x: hidden;
}

/* Контейнеры */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    min-height: 100vh;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

p {
    margin-bottom: 1rem;
    color: #D6D6D6;
}

a {
    color: #E66E6E;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #76D7C4;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1.4;
}

.btn-primary {
    background-color: #E66E6E;
    color: #FFFFFF;
    border-color: #E66E6E;
}

.btn-primary:hover {
    background-color: #76D7C4;
    border-color: #76D7C4;
    color: #1F1F1F;
}

.btn-secondary {
    background-color: transparent;
    color: #76D7C4;
    border-color: #76D7C4;
}

.btn-secondary:hover {
    background-color: #76D7C4;
    color: #1F1F1F;
}

.btn-outline {
    background-color: transparent;
    color: #E66E6E;
    border-color: #E66E6E;
}

.btn-outline:hover {
    background-color: #E66E6E;
    color: #FFFFFF;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Заголовки секций */
.section-title {
    font-size: 2.5rem;
    color: #E66E6E;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #D6D6D6;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

/* Хедер и навигация */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(230, 110, 110, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo .logo-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E66E6E;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #D6D6D6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #E66E6E;
}

/* Мобильное меню */
.menu-toggle-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #E66E6E;
    transition: all 0.3s ease;
}

.menu-toggle-checkbox:checked ~ .menu-toggle-label .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle-checkbox:checked ~ .menu-toggle-label .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle-checkbox:checked ~ .menu-toggle-label .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-overlay {
    display: none;
}

/* Hero блок */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1F1F1F 0%, #2a2a2a 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    color: #E66E6E;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #D6D6D6;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    color: #76D7C4;
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(230, 110, 110, 0.2);
}

/* О компании */
.about {
    padding: 80px 0;
    background-color: #1F1F1F;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: #2a2a2a;
    border-radius: 12px;
    border: 2px solid #E66E6E;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #E66E6E;
}

.stat-label {
    color: #D6D6D6;
    font-size: 0.9rem;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Преимущества */
.benefits {
    padding: 80px 0;
    background-color: #F9F3DF;
    color: #1F1F1F;
}

.benefits h2 {
    color: #E66E6E;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(31, 31, 31, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(31, 31, 31, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-title {
    color: #E66E6E;
    margin-bottom: 1rem;
}

.benefit-description {
    color: #1F1F1F;
}

/* Услуги */
.services {
    padding: 80px 0;
    background-color: #1F1F1F;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #E66E6E;
    transform: translateY(-5px);
}

.service-card-featured {
    border-color: #E66E6E;
    background-color: #E66E6E;
    color: #FFFFFF;
}

.service-card-featured .service-title,
.service-card-featured .service-subtitle {
    color: #FFFFFF;
}

.service-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #76D7C4;
    color: #1F1F1F;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-title {
    color: #E66E6E;
    margin-bottom: 0.5rem;
}

.service-subtitle {
    color: #D6D6D6;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #D6D6D6;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #76D7C4;
    font-weight: bold;
}

.service-card-featured .feature-list li {
    color: #FFFFFF;
}

/* Как это работает */
.how-it-works {
    padding: 80px 0;
    background-color: #F9F3DF;
    color: #1F1F1F;
}

.how-it-works h2 {
    color: #E66E6E;
}

.how-it-works .section-subtitle {
    color: #1F1F1F;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #E66E6E;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    color: #E66E6E;
    margin-bottom: 1rem;
}

.step-description {
    color: #1F1F1F;
}

/* Отзывы */
.testimonials {
    padding: 80px 0;
    background-color: #1F1F1F;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #E66E6E;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #D6D6D6;
}

.author-name {
    color: #E66E6E;
    margin-bottom: 0.5rem;
}

.author-position {
    color: #76D7C4;
    font-size: 0.9rem;
}

/* Форма заказа */
.order-form {
    padding: 80px 0;
    background-color: #F9F3DF;
    color: #1F1F1F;
}

.form-header-centered {
    text-align: center;
    margin-bottom: 4rem;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 4rem;
}

.form-title {
    color: #E66E6E;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.form-subtitle {
    color: #1F1F1F;
    margin-bottom: 0;
    font-size: 1.2rem;
}

.contact-form {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(31, 31, 31, 0.1);
    width: 100%;
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1F1F1F;
    font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E5E5E5;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: #FFFFFF;
    color: #1F1F1F;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #E66E6E;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkboxes {
    margin-bottom: 2rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-input {
    margin-top: 2px;
}

.checkbox-label {
    color: #1F1F1F;
    font-size: 0.9rem;
}

.checkbox-label a {
    color: #E66E6E;
}

.form-submit {
    text-align: center;
}

.form-image {
    flex-shrink: 0;
}

.form-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    width: 400px;
}

/* Контакты */
.contact {
    padding: 80px 0;
    background-color: #1F1F1F;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background-color: #2a2a2a;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-card:hover {
    border-color: #E66E6E;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-title {
    color: #E66E6E;
    margin-bottom: 0.5rem;
}

.contact-text {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.contact-note {
    color: #D6D6D6;
    font-size: 0.9rem;
}

.map-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Футер */
.footer {
    background-color: #2a2a2a;
    padding: 40px 0 20px;
    border-top: 2px solid #E66E6E;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E66E6E;
}

.footer-description {
    color: #D6D6D6;
    margin-top: 1rem;
}

.footer-title {
    color: #E66E6E;
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #D6D6D6;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #E66E6E;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #D6D6D6;
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    border-top: 2px solid #E66E6E;
    padding: 20px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    color: #D6D6D6;
    flex: 1;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-policy-link {
    color: #76D7C4;
    font-size: 0.9rem;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    /* Навигация */
    .menu-toggle-label {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #1F1F1F;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(230, 110, 110, 0.2);
    }
    
    .menu-toggle-checkbox:checked ~ .nav-menu {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-cta {
        margin-top: 1rem;
    }
    
    .menu-overlay {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(31, 31, 31, 0.8);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-toggle-checkbox:checked ~ .menu-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero блок */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    /* Общие секции */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .form-image {
        order: -1;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
    }
}

/* Страницы политик */
.policy-page {
    padding: 120px 0 80px;
    background-color: #1F1F1F;
    min-height: 100vh;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    color: #E66E6E;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #2a2a2a;
    border-radius: 12px;
    border-left: 4px solid #E66E6E;
}

.policy-section h2 {
    color: #E66E6E;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section h3 {
    color: #76D7C4;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem 0;
}

.policy-section p {
    color: #D6D6D6;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul {
    color: #D6D6D6;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-section strong {
    color: #FFFFFF;
}

.policy-section code {
    background-color: #1F1F1F;
    color: #76D7C4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.policy-footer {
    background-color: #F9F3DF;
    color: #1F1F1F;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.policy-footer strong {
    color: #E66E6E;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .policy-content h1 {
        font-size: 2rem;
    }
    
    .policy-section {
        padding: 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
}