:root {
    --primary: #111d2b;
    --secondary: #b89754;
    --secondary-hover: #a38243;
    --bg: #fcfcfc;
    --bg-alt: #f4f5f7;
    --text: #222222;
    --text-muted: #5a6578;
    --white: #ffffff;
    --accent-grid: rgba(184, 151, 84, 0.1);
    --font-family: 'Lato', sans-serif;
    --font-family-title: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-family-title);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-hover);
}

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

/* Skip link для accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus-visible {
    top: 10px;
    outline: 3px solid var(--white);
}

*:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

/* Header & Menu */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--primary);
}

.logo-img {
    height: 40px;
    width: 40px;
}

.logo-text {
    font-family: var(--font-family-title);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 4px;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(17,29,43,0.95) 0%, rgba(17,29,43,0.8) 100%), url('images/hero.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    color: rgba(255,255,255,0.9);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background-color: var(--primary);
    color: var(--white);
    background-image: radial-gradient(rgba(184, 151, 84, 0.15) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.stat-item h3 {
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
}

/* Steps Section */
.steps {
    padding: 5rem 0;
}

.steps h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.step-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-top: 4px solid var(--secondary);
    text-align: center;
}

.step-number {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 700;
    font-family: var(--font-family-title);
    margin-bottom: 1rem;
}

/* Grid Background */
.grid-bg {
    background-image: radial-gradient(var(--accent-grid) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

/* Services Grid */
.services-section {
    padding: 5rem 0;
    background-color: var(--bg-alt);
}

.services-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

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

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Asymmetrical Section */
.asym-section {
    padding: 5rem 0;
}

.asym-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .asym-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.asym-img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.feature-list i {
    color: var(--secondary);
    margin-top: 0.3rem;
}

/* Pricing Grid */
.pricing-section {
    padding: 5rem 0;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.price-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 3rem 2rem;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(184, 151, 84, 0.15);
    transform: scale(1.03);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 4px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-family-title);
    margin: 1.5rem 0;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.price-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.price-features i {
    color: var(--secondary);
}

/* Form Section */
.form-section {
    padding: 5rem 0;
    background-color: var(--bg-alt);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-group-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #fafafa;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background: var(--white);
    outline: none;
}

.form-checkbox {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.form-checkbox input {
    margin-top: 0.25rem;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--secondary);
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Trust Layer (Transparency Area) */
.trust-layer {
    background-color: #0d1621;
    color: rgba(255,255,255,0.7);
    padding: 4rem 0;
    border-top: 2px solid var(--secondary);
}

.trust-layer h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.trust-layer p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.trust-layer .company-details {
    background: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--secondary);
    color: var(--white);
}

.trust-layer a {
    color: var(--secondary);
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background: #090e14;
    color: rgba(255,255,255,0.5);
    padding: 3rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.6);
}

.footer-nav a:hover {
    color: var(--secondary);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.faq-item summary {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: var(--secondary);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.cookie-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie-decline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
}

.btn-cookie-decline:hover {
    background: rgba(255,255,255,0.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 1.5rem;
    }
    .nav-menu.open {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }
    .form-container {
        padding: 1.5rem;
    }
}

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