:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #e0a96d;
    --text-dark: #2b2d42;
    --text-light: #f8f9fa;
    --bg-light: #f4f5f7;
    --bg-white: #ffffff;
    --font-family-title: 'Playfair Display', Georgia, serif;
    --font-family-body: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-family-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ссылка для людей с ограниченными возможностями */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 20px;
    z-index: 1000;
    transition: top 0.2s;
    text-decoration: none;
    font-weight: bold;
}
.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

header {
    background-color: var(--primary-color);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    font-family: var(--font-family-title);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-link img {
    margin-right: 10px;
}

.logo-accent {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover, nav ul li a:focus {
    color: var(--accent-color);
    outline: 2px solid var(--accent-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.btn-cta-nav {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.btn-cta-nav:hover {
    background-color: #f0c390;
}

/* Главный блок Hero */
.hero {
    position: relative;
    background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(27, 38, 59, 0.85)), url('images/hero.jpg') no-repeat center center/cover;
    color: var(--text-light);
    padding: 120px 5% 100px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-family: var(--font-family-title);
    font-size: 3rem;
    max-width: 900px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 40px;
    color: #e2e8f0;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border: none;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: #f0c390;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    padding: 15px 30px;
    border: 2px solid var(--text-light);
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

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

/* Статистика */
.stats {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-family: var(--font-family-title);
    margin-bottom: 5px;
}

/* Секция Шагов (Comment ça fonctionne) */
.steps-section {
    padding: 80px 5%;
    background-color: var(--bg-white);
}

.section-title {
    text-align: center;
    font-family: var(--font-family-title);
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    border-top: 4px solid var(--accent-color);
}

.step-num {
    background: var(--primary-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* Секция доверия */
.trust-block {
    background: linear-gradient(rgba(27, 38, 59, 0.95), rgba(13, 27, 42, 0.95));
    color: var(--text-light);
    padding: 80px 5%;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.trust-item h3 {
    color: var(--accent-color);
    font-family: var(--font-family-title);
    margin-bottom: 15px;
}

/* Секция Услуг */
.services-section {
    padding: 80px 5%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-family: var(--font-family-title);
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Асимметричный блок (Features) */
.feature-asymmetric {
    background: var(--bg-white);
    padding: 80px 5%;
}

.feature-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.feature-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-text h2 {
    font-family: var(--font-family-title);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-text ul {
    list-style: none;
    margin-top: 20px;
}

.feature-text ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

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

/* Цены */
.pricing-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    z-index: 2;
}

.badge-popular {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-val {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

/* Форма сбора лидов */
.form-section {
    padding: 80px 5%;
    background: var(--primary-color);
    color: var(--text-light);
}

.form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
    font-size: 1rem;
}

.form-control:focus {
    outline: 2px solid var(--accent-color);
    background: rgba(255,255,255,0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    font-size: 0.85rem;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 10px;
    margin-top: 3px;
}

.checkbox-label a {
    color: var(--accent-color);
}

/* FAQ */
.faq-section {
    padding: 80px 5%;
    background: var(--bg-white);
}

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

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #4a5568;
    margin-top: 0;
}

.faq-answer p {
    padding-top: 15px;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
}

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

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

/* Информационный слой доверия (Trust Layer) */
.trust-layer {
    background-color: #111e2e;
    color: #94a3b8;
    padding: 40px 5%;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    line-height: 1.7;
}

.trust-layer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-layer h4 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-family: var(--font-family-title);
}

/* Подвал */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px 5% 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    font-family: var(--font-family-title);
    color: var(--accent-color);
    margin-bottom: 10px;
}

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

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Баннер согласия на куки */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.1);
}

.cookie-text {
    font-size: 0.85rem;
    padding-right: 20px;
}

.cookie-text a {
    color: var(--accent-color);
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* Стили для адаптивности */
@media (max-width: 1024px) {
    .steps-grid, .services-grid, .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    nav ul.open {
        display: flex;
    }
    nav ul li {
        margin: 10px 0;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .steps-grid, .services-grid, .pricing-grid, .stats-grid, .feature-container, .trust-grid {
        grid-template-columns: 1fr;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .price-card.featured {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
}