:root {
    --primary: #2c5530;
    --primary-dark: #1e3d22;
    --secondary: #4a7c59;
    --accent: #8fbc8f;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #fafaf8;
    --bg-alt: #f0efe9;
    --white: #ffffff;
    --border: #ddd8cc;
    --shadow: rgba(44, 85, 48, 0.08);
}

* {
    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);
}

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

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

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

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

.narrow {
    max-width: 720px;
    margin: 0 auto;
}

.ad-disclosure {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
}

.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.hero-editorial {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-editorial h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 20px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-editorial .lead {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 32px;
    text-align: center;
}

.hero-image-wrap {
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-alt);
    box-shadow: 0 20px 60px var(--shadow);
}

.hero-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.editorial-section {
    padding: 64px 24px;
}

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

.editorial-content {
    max-width: 720px;
    margin: 0 auto;
}

.editorial-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.editorial-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin: 40px 0 16px;
}

.editorial-content p {
    margin-bottom: 20px;
    color: var(--text);
}

.inline-image {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-alt);
}

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

.inline-image figcaption {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-light);
    background: var(--white);
    border-top: 1px solid var(--border);
}

.cta-inline {
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
    margin: 24px 0;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    margin: 24px 0;
    transition: box-shadow 0.2s ease;
}

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

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

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

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

.service-card .cta-inline {
    margin: 0;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 40px 0;
}

.services-grid .service-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    margin: 0;
}

.testimonial-block {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.testimonial-block blockquote {
    font-style: italic;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 12px;
}

.testimonial-block cite {
    font-size: 14px;
    color: var(--text-light);
    font-style: normal;
}

.form-section {
    background: var(--primary-dark);
    padding: 64px 24px;
}

.form-section h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 32px;
    font-size: 28px;
}

.contact-form {
    max-width: 540px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

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

.form-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-submit:hover {
    background: var(--primary-dark);
}

.footer {
    background: var(--text);
    color: var(--white);
    padding: 48px 24px 24px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

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

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--accent);
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    font-size: 14px;
}

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

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.disclaimer {
    background: var(--bg-alt);
    padding: 32px 24px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    border-top: 1px solid var(--border);
}

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

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

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

.cookie-inner p {
    flex: 1;
    font-size: 14px;
    margin: 0;
}

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

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cookie-btn:hover {
    opacity: 0.9;
}

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

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

.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 64px 24px;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
}

.content-page {
    padding: 48px 24px;
}

.content-page h2 {
    font-size: 24px;
    color: var(--primary-dark);
    margin: 32px 0 16px;
}

.content-page h3 {
    font-size: 20px;
    color: var(--primary);
    margin: 24px 0 12px;
}

.content-page p,
.content-page ul,
.content-page ol {
    margin-bottom: 16px;
}

.content-page ul,
.content-page ol {
    padding-left: 24px;
}

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

.contact-info {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
    margin: 32px 0;
}

.contact-info h3 {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 12px;
}

.thanks-content {
    text-align: center;
    padding: 80px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-content h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
}

.thanks-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
}

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

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

.highlight-box {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    padding: 32px;
    border-radius: 10px;
    margin: 40px 0;
    color: var(--white);
}

.highlight-box h3 {
    color: var(--white);
    margin-top: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.feature-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.two-col {
    display: flex;
    gap: 48px;
    align-items: center;
    margin: 48px 0;
}

.two-col > div {
    flex: 1;
}

.two-col img {
    border-radius: 8px;
    height: 320px;
    width: 100%;
    object-fit: cover;
}

.image-container {
    background-color: var(--bg-alt);
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        justify-content: center;
    }

    .hero-editorial h1 {
        font-size: 32px;
    }

    .hero-image-wrap img {
        height: 300px;
    }

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

    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }

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

    .two-col {
        flex-direction: column;
    }

    .inline-image img {
        height: 280px;
    }
}
