:root {
    --primary: #2C3E50;
    --accent: #D4AF37;
    --accent-hover: #B8962E;
    --bg-light: #FDFBF7;
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-muted: #5A6B7C;
    --border: #E5DCCB;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

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

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

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

/* Skip link для accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: #fff;
    padding: 8px;
    z-index: 100;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* Header */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 90;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
}

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

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

nav a {
    font-weight: 500;
}

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

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--border);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    z-index: 80;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
}

/* Button UI */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-white);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Statistics */
.stats {
    padding: 4rem 0;
    background-color: var(--primary);
    color: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2rem;
}

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

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Section Common Styling */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
}

/* Trust standards */
.trust-principles {
    background-color: var(--bg-white);
}

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

.principles-list {
    list-style: none;
}

.principles-list li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.principles-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-img-wrapper {
    height: 200px;
    overflow: hidden;
}

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

.service-info {
    padding: 2rem;
}

.service-info h3 {
    margin-bottom: 1rem;
}

.service-info p {
    color: var(--text-muted);
}

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

.pricing-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.pricing-card.popular {
    border: 2px solid var(--accent);
    position: relative;
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-white);
    padding: 0.3rem 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 20px;
}

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

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Form Section */
.form-section {
    background-color: var(--bg-white);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

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

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: 2px solid var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.checkbox-group input {
    margin-top: 0.3rem;
}

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

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    border-radius: 4px;
}

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

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

/* Trust Layer (Global) */
.trust-layer {
    background-color: #F4EFE6;
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.trust-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    font-size: 0.95rem;
}

.trust-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.trust-legal {
    border-left: 1px solid var(--border);
    padding-left: 3rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--bg-white);
    opacity: 0.8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1.5rem;
    border-radius: 8px;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

.cookie-btn-decline {
    background: #e2e2e2;
    color: #333;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-grid, .principles-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .trust-inner {
        grid-template-columns: 1fr;
    }
    .trust-legal {
        border-left: none;
        padding-left: 0;
    }
    nav {
        display: none;
    }
    .burger-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.popular {
        transform: none;
    }
}

/* Accessibility: focus indicator */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}