:root {
    --primary: #2d5a3d;
    --primary-light: #4a7c5c;
    --primary-dark: #1e3d2a;
    --secondary: #8fb996;
    --accent: #c9a227;
    --text: #2c3e2d;
    --text-light: #5a6b5c;
    --bg: #fafdf8;
    --bg-alt: #f0f5ed;
    --bg-dark: #e8f0e5;
    --white: #ffffff;
    --border: #d4e0d6;
    --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);
}

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

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

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

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

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

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

.header-top {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 13px;
    padding: 6px 0;
    text-align: center;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 36px;
    height: 36px;
}

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

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

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: 8px;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--primary-dark);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 60px 24px;
    margin-left: 8%;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.92);
    margin-bottom: 32px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #b8911f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}

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

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

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

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

section {
    padding: 80px 0;
}

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

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

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

.section-header h2 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

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

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

.section-dark .section-header p {
    color: rgba(255,255,255,0.85);
}

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

.editorial-block h3 {
    font-size: 26px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.editorial-block p {
    margin-bottom: 16px;
}

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

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

.inline-cta {
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
}

.inline-cta p {
    margin-bottom: 16px;
    font-size: 18px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.service-card {
    flex: 1 1 340px;
    max-width: 380px;
    background: 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 12px 36px var(--shadow);
}

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

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

.service-content {
    padding: 24px;
}

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

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

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

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

.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

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

.features-text {
    flex: 1 1 400px;
}

.features-text h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.features-text p {
    margin-bottom: 20px;
}

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

.features-image img {
    width: 100%;
    display: block;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    text-align: center;
    padding: 48px 0;
}

.stat-item {
    flex: 1 1 180px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-dark .stat-number {
    color: var(--secondary);
}

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

.section-dark .stat-label {
    color: rgba(255,255,255,0.8);
}

.testimonial-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
}

.testimonial-text {
    font-size: 22px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    font-weight: 600;
    font-size: 18px;
}

.testimonial-role {
    font-size: 14px;
    opacity: 0.8;
}

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

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

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

.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 16px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    transition: border-color 0.25s ease;
    font-family: inherit;
}

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

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

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

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

.contact-info {
    flex: 1 1 300px;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

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

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

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

.contact-details h4 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--text-light);
    font-size: 15px;
}

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

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

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

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

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

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

.footer-col a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

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

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

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

.references-section {
    background: var(--bg-dark);
    padding: 32px 0;
}

.references-list {
    max-width: 800px;
    margin: 0 auto;
}

.references-list h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.references-list ol {
    padding-left: 24px;
}

.references-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.references-list a {
    color: var(--primary);
    word-break: break-all;
}

.disclaimer {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 14px;
    color: var(--text-light);
    border: 1px solid var(--border);
}

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

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

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

.cookie-text {
    flex: 1 1 400px;
    font-size: 14px;
    color: var(--text);
}

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

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

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

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

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

.cookie-reject {
    background: var(--bg-alt);
    color: var(--text);
    border: 1px solid var(--border);
}

.cookie-reject:hover {
    background: var(--border);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

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

.legal-content h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin: 40px 0 20px;
}

.legal-content h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin: 32px 0 16px;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 28px;
}

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

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

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

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

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

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

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

.about-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.about-text {
    flex: 1 1 400px;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

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

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.value-item {
    flex: 1 1 280px;
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.value-item h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.value-item p {
    color: var(--text-light);
    font-size: 15px;
}

.citation {
    color: var(--primary);
    font-size: 13px;
    vertical-align: super;
}

@media (max-width: 900px) {
    .header-main {
        padding: 12px 16px;
    }

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

    nav ul.active {
        display: flex;
    }

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

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

    nav a {
        display: block;
        padding: 12px 0;
    }

    .nav-toggle {
        display: block;
    }

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

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

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .footer-grid {
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 17px;
    }

    .form-container {
        padding: 24px;
    }

    .page-header h1 {
        font-size: 32px;
    }

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