:root {
    --primary: #2c5f2d;
    --primary-dark: #1e4620;
    --secondary: #97bc62;
    --accent: #4a7c59;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #fafafa;
    --bg-alt: #f0f4e8;
    --white: #ffffff;
    --border: #dfe6e9;
    --shadow: rgba(44, 95, 45, 0.12);
}

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

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

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

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

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.ad-disclosure {
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.header-main {
    padding: 15px 0;
}

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

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

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

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

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

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

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

.hero-editorial {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--primary-dark);
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-editorial h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-editorial .lead {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--secondary);
    color: var(--text);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

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

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

.editorial-section {
    padding: 70px 0;
}

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

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

.section-intro h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

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

.article-block {
    margin-bottom: 50px;
}

.article-block h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.article-block p {
    margin-bottom: 15px;
    color: var(--text);
}

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

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

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

.split-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.split-content .text-side {
    flex: 1;
}

.split-content .image-side {
    flex: 1;
    background-color: var(--bg-alt);
    border-radius: 8px;
    overflow: hidden;
}

.split-content .image-side img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.service-card {
    flex: 1 1 calc(50% - 25px);
    min-width: 280px;
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

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

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

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

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

.cta-inline {
    background: var(--primary);
    color: var(--white);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.cta-inline h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-inline p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.testimonial-block {
    background: var(--white);
    border-left: 4px solid var(--secondary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

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

.testimonial-block cite {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-section {
    background: var(--bg-alt);
    padding: 70px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.form-container h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
}

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

.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: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

.form-submit {
    text-align: center;
    margin-top: 25px;
}

.form-submit .btn {
    width: 100%;
    padding: 15px;
}

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

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

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

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

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

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.disclaimer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 20px;
    font-size: 0.85rem;
    text-align: center;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
    font-size: 0.95rem;
}

.cookie-content a {
    color: var(--primary);
}

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

.cookie-buttons .btn {
    padding: 10px 25px;
}

.btn-reject {
    background: var(--border);
    color: var(--text);
}

.btn-reject:hover {
    background: var(--text-light);
    color: var(--white);
}

.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
}

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

.page-content h2 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.page-content h3 {
    color: var(--accent);
    margin: 25px 0 12px;
    font-size: 1.2rem;
}

.page-content p {
    margin-bottom: 15px;
}

.page-content ul {
    margin: 15px 0 15px 25px;
}

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

.contact-info {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

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

.contact-info strong {
    color: var(--accent);
}

.thanks-container {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
}

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

.thanks-container h1 {
    color: var(--primary);
    margin-bottom: 20px;
}

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

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

.reference-list h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

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

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

.reference-list a {
    color: var(--accent);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
    }

    nav ul.active {
        display: flex;
    }

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

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

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

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

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

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

    .header-top .container {
        flex-direction: column;
        gap: 5px;
    }
}
