:root {
    --primary: #4a6741;
    --primary-dark: #3a5331;
    --secondary: #8b9d83;
    --accent: #c9d4c5;
    --text: #2d3a29;
    --text-light: #5a6b54;
    --bg: #fafbf9;
    --bg-alt: #f0f4ee;
    --white: #ffffff;
    --border: #d4ddd0;
    --shadow: rgba(45, 58, 41, 0.08);
    --shadow-strong: rgba(45, 58, 41, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ad Disclosure Banner */
.ad-disclosure {
    background: var(--accent);
    padding: 8px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-color: var(--secondary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 60px 40px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Editorial Content */
.editorial {
    padding: 60px 0;
}

.editorial p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.editorial h2 {
    font-size: 1.8rem;
    margin: 50px 0 20px;
    color: var(--primary-dark);
}

.editorial h3 {
    font-size: 1.4rem;
    margin: 35px 0 15px;
    color: var(--text);
}

.editorial-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--secondary);
}

.editorial-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Split Section */
.split {
    display: flex;
    gap: 60px;
    align-items: center;
}

.split-reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    background-color: var(--secondary);
    border-radius: 12px;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Services */
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-strong);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card .btn {
    width: 100%;
    text-align: center;
}

/* Testimonials */
.testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: var(--accent);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-left: 40px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
    padding-left: 40px;
}

/* Contact Info */
.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text);
}

.contact-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Form Styles */
.form-container {
    background: var(--white);
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--accent);
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--secondary);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--text-light);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* References */
.references {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
}

.references h4 {
    margin-bottom: 20px;
    color: var(--text);
}

.references ol {
    padding-left: 25px;
}

.references li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.references a {
    word-break: break-all;
}

/* Disclaimer */
.disclaimer {
    background: var(--accent);
    padding: 25px 30px;
    border-radius: 8px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 20px var(--shadow-strong);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.cookie-text a {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-buttons .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* Thanks Page */
.thanks-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.thanks-box {
    background: var(--white);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 40px var(--shadow);
    max-width: 550px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary);
}

.thanks-box h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.thanks-box p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-content h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 15px;
    color: var(--text);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 30px 0 12px;
    color: var(--text);
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.legal-content ul {
    margin: 15px 0 25px 25px;
    color: var(--text-light);
}

.legal-content li {
    margin-bottom: 8px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.section-dark .cta-section h2 {
    color: var(--white);
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.section-dark .cta-section p {
    color: var(--accent);
}

/* Inline CTA */
.inline-cta {
    background: var(--primary);
    color: var(--white);
    padding: 35px 40px;
    border-radius: 12px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.inline-cta p {
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

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

.inline-cta .btn:hover {
    background: var(--accent);
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--accent) 0%, var(--bg) 100%);
    padding: 80px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.team-section {
    padding: 80px 0;
}

.team-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    flex: 1 1 280px;
    max-width: 320px;
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: var(--secondary);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text);
}

.team-member .role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-member p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 900px) {
    .split {
        flex-direction: column;
    }

    .split-reverse {
        flex-direction: column;
    }

    .split-image img {
        height: 300px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px var(--shadow);
    }

    .nav.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .services-list {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .inline-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 30px 20px;
    }

    .footer-grid {
        flex-direction: column;
    }

    .thanks-box {
        padding: 40px 25px;
    }
}
