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

:root {
    --primary: #2d5a27;
    --primary-dark: #1e3d1a;
    --primary-light: #4a8a42;
    --secondary: #8b6914;
    --accent: #e8a832;
    --text: #2c3e2d;
    --text-light: #5a6b5c;
    --bg: #fafbf7;
    --bg-alt: #f0f4ec;
    --bg-dark: #e4ebe0;
    --white: #ffffff;
    --shadow: rgba(45, 90, 39, 0.12);
    --shadow-strong: rgba(45, 90, 39, 0.22);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

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

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

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

h1 { font-size: 2.8rem; margin-bottom: 1.2rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 920px;
}

.container-wide {
    max-width: 1440px;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

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

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-list a {
    display: block;
    padding: 10px 18px;
    color: var(--text);
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--bg-alt);
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Sections */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.88) 0%, rgba(30, 61, 26, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 80px 0;
}

.hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    max-width: 680px;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.25rem;
    max-width: 560px;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #d4982e;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 168, 50, 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);
}

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

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

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

.btn-lg {
    padding: 18px 42px;
    font-size: 1.1rem;
}

/* Magazine Grid Layout */
.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 -15px;
}

.magazine-col {
    flex: 1;
    min-width: 280px;
    padding: 0 15px;
}

.magazine-col-2 {
    flex: 2;
    min-width: 400px;
}

.magazine-col-3 {
    flex: 3;
}

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

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

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

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

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

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 12px;
}

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

.section-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 680px;
}

.section-header.center .section-intro {
    margin: 0 auto;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-card-image {
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.service-card p {
    color: var(--text-light);
    flex: 1;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--bg-alt);
}

.service-price .amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

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

/* Features */
.feature-block {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

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

.feature-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
}

.feature-content {
    flex: 1;
}

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

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

/* Stats */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    text-align: center;
}

.stat-item {
    min-width: 150px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

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

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

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

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 28px;
    font-size: 5rem;
    color: var(--bg-alt);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary-dark);
}

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

/* Form */
.form-section {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-dark) 100%);
}

.form-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.form-info {
    flex: 1;
}

.form-container {
    flex: 1;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px var(--shadow);
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d5a27' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

/* Contact Info */
.contact-info-list {
    list-style: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-dark);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

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

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

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 28px;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.sticky-cta .btn {
    box-shadow: 0 8px 30px rgba(232, 168, 50, 0.5);
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 0;
}

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

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

.footer-col-brand {
    flex: 1.5;
    min-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo svg {
    width: 38px;
    height: 38px;
}

.footer-desc {
    opacity: 0.8;
    line-height: 1.8;
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

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

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

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

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

.cookie-text p {
    margin: 0;
    color: var(--text);
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

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

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0 60px;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Content Pages */
.content-page {
    padding: 60px 0;
}

.content-page h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-page h2:first-child {
    margin-top: 0;
}

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

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

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

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

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

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

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

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

/* About Page */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.team-card {
    flex: 1;
    min-width: 250px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
}

.team-card-image {
    height: 200px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-image svg {
    width: 80px;
    height: 80px;
    color: var(--primary-light);
}

.team-card-body {
    padding: 24px;
}

.team-card h4 {
    margin-bottom: 4px;
}

.team-card p {
    color: var(--text-light);
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bg-dark);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 6px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--bg-dark);
}

.timeline-year {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

/* Values */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.value-card {
    flex: 1;
    min-width: 280px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
}

.value-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

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

    .feature-block,
    .feature-block:nth-child(even) {
        flex-direction: column;
    }

    .form-wrapper {
        flex-direction: column;
    }

    .magazine-col,
    .magazine-col-2 {
        min-width: 100%;
    }
}

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

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

    .nav-list.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero { min-height: 50vh; }
    .hero-content { padding: 50px 0; }

    .stats-row { gap: 30px; }
    .stat-number { font-size: 2.4rem; }

    .footer-grid { gap: 30px; }
    .footer-col { min-width: 45%; }
    .footer-col-brand { min-width: 100%; }

    .cta-banner { padding: 40px 24px; }

    .sticky-cta {
        bottom: 20px;
        right: 20px;
    }

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

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

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

    .btn { padding: 12px 24px; }
    .btn-lg { padding: 14px 28px; font-size: 1rem; }

    .service-card-body { padding: 20px; }
    .form-container { padding: 28px; }

    .footer-col { min-width: 100%; }
}
