:root {
    --primary: #2d5a3d;
    --primary-dark: #1e3d2a;
    --secondary: #8fbc8f;
    --accent: #4a7c59;
    --text: #2c3e2d;
    --text-light: #5a6b5c;
    --bg: #fafdfb;
    --bg-alt: #e8f0e9;
    --bg-dark: #d4e5d6;
    --white: #ffffff;
    --border: #c5d9c7;
    --shadow: rgba(45, 90, 61, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: 2.6rem; margin-bottom: 1.2rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.6rem; }

p {
    margin-bottom: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

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

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

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

.btn-small {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.ad-disclosure {
    background-color: var(--bg-alt);
    padding: 8px 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 12px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

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

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

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

nav ul li a:hover {
    color: var(--primary);
}

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

nav ul li a:hover::after {
    width: 100%;
}

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

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

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

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.section {
    padding: 80px 0;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.editorial-block {
    margin-bottom: 60px;
}

.editorial-block:last-child {
    margin-bottom: 0;
}

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

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

.editorial-image.float-right {
    float: right;
    max-width: 45%;
    margin: 0 0 30px 40px;
}

.editorial-image.float-left {
    float: left;
    max-width: 45%;
    margin: 0 40px 30px 0;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.inline-cta {
    background-color: var(--bg-alt);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid var(--primary);
}

.inline-cta p {
    margin-bottom: 1rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-image {
    height: 200px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

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

.service-card-content {
    padding: 28px;
}

.service-card-content h3 {
    margin-bottom: 12px;
}

.service-card-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

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

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.feature-content h4 {
    margin-bottom: 6px;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.about-split {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-split > div {
    flex: 1;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

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

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-section {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0;
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content blockquote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-grid {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.2;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background-color: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.contact-details h4 {
    margin-bottom: 4px;
}

.contact-details p {
    margin-bottom: 0;
    color: var(--text-light);
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.15);
}

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

footer {
    background-color: var(--text);
    color: var(--white);
    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 ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.25s ease;
}

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

.footer-col p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.disclaimer {
    background-color: var(--bg-alt);
    padding: 30px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-light);
    margin-top: 40px;
}

.disclaimer h4 {
    color: var(--text);
    margin-bottom: 12px;
}

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

.cookie-banner.visible {
    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: 280px;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

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

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

.page-header {
    background-color: var(--bg-alt);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    padding: 60px 0;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

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

.thanks-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.thanks-content {
    max-width: 550px;
}

.thanks-icon {
    width: 90px;
    height: 90px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.thanks-content h1 {
    margin-bottom: 16px;
}

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

.reference-list {
    background-color: var(--bg-alt);
    padding: 20px 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.reference-list h4 {
    margin-bottom: 12px;
}

.reference-list ol {
    margin-left: 20px;
}

.reference-list ol li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.reference-list a {
    word-break: break-all;
}

@media (max-width: 992px) {
    .about-split {
        flex-direction: column;
    }

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

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

    .editorial-image.float-right,
    .editorial-image.float-left {
        float: none;
        max-width: 100%;
        margin: 30px 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    nav ul.active {
        display: flex;
    }

    nav ul li {
        border-bottom: 1px solid var(--border);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 14px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-cta {
        flex-direction: column;
    }

    .stats-row {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 50%;
        margin-bottom: 20px;
    }

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

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