:root {
    --primary: #4E1222;
    --primary-light: #6C1E32;
    --accent: #C59B27;
    --accent-light: #E0B84D;
    --bg-main: #FAF7F2;
    --bg-card: #FFFFFF;
    --text-main: #2A2725;
    --text-muted: #5E5855;
    --border: #E5DDD3;
    --shadow: 0 8px 30px rgba(78, 18, 34, 0.05);
    --font-head: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
}

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

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: var(--primary);
    padding: 1rem;
    z-index: 10000;
    transition: top 0.2s;
}

.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;
}

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

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

/* Header */
header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

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

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

nav a {
    font-weight: 500;
}

.btn-nav {
    background-color: var(--primary);
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--accent);
    color: var(--primary) !important;
}

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

/* Mobile Nav */
.mobile-nav {
    display: none;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 1rem;
}

.mobile-nav a {
    display: block;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: radial-gradient(circle at top right, rgba(197, 155, 39, 0.08), transparent), var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

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

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

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

.hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(78, 18, 34, 0.15);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--primary) !important;
}

/* Stats */
.stats {
    background-color: var(--primary);
    color: #fff;
    padding: 4rem 0;
}

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

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

.stats-item p {
    margin: 0;
    font-weight: 500;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.step-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    font-family: var(--font-head);
    color: rgba(197,155,39,0.15);
    font-weight: bold;
}

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

/* Services section on main */
.services-section {
    padding: 6rem 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

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

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

.service-card-body {
    padding: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Features */
.features {
    padding: 6rem 0;
}

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

.features-grid img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

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

.features-list i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.price-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 12px 40px rgba(197,155,39,0.12);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.price-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    font-family: var(--font-head);
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

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

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

/* Lead Form Section */
.form-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(78, 18, 34, 0.03), rgba(197, 155, 39, 0.03));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4rem;
    box-shadow: var(--shadow);
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: var(--bg-main);
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
}

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

.form-checkbox input {
    margin-top: 0.35rem;
    width: 18px;
    height: 18px;
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 2rem;
}

.btn-submit:hover {
    background-color: var(--accent);
    color: var(--primary);
}

/* FAQ Accordion */
.faq-section {
    padding: 6rem 0;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

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

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 1000px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s;
}

/* Trust Layer & Footer */
.trust-layer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.trust-box {
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
}

.trust-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

footer {
    background-color: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem 0;
    font-size: 0.95rem;
    border-top: 2px solid var(--accent);
}

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

.footer-links {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 600px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
}

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

.btn-cookie {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    border: none;
}

.btn-cookie-accept {
    background-color: var(--primary);
    color: #fff;
}

.btn-cookie-refuse {
    background-color: var(--border);
    color: var(--text-main);
}

/* Standard pages layout */
.subpage-hero {
    padding: 4rem 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    text-align: center;
    margin-bottom: 4rem;
}

.subpage-content {
    max-width: 800px;
    margin: 0 auto 6rem auto;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-grid, .services-grid, .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .pricing-grid {
        max-width: 500px;
        margin: 0 auto;
    }
    .price-card.popular {
        transform: scale(1);
    }
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    .burger {
        display: block;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}