:root {
    --primary: #2d5a27;
    --primary-dark: #1e3d1a;
    --secondary: #8b9a46;
    --accent: #d4a84b;
    --light: #f5f7f0;
    --dark: #1a1a1a;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

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

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

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

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

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

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

/* Ad Disclosure Banner */
.ad-disclosure {
    background: var(--gray-light);
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    border-bottom: 1px solid #d1d5db;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 650px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

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

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

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

.btn-accent:hover {
    background: #c49a3d;
    transform: translateY(-2px);
}

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

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

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

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

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

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

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

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

/* Magazine Layout */
.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.magazine-main {
    flex: 2;
    min-width: 300px;
}

.magazine-sidebar {
    flex: 1;
    min-width: 280px;
}

.magazine-full {
    flex: 1 1 100%;
}

/* Service Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.service-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-card-img {
    height: 200px;
    background-color: var(--secondary);
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

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

.service-card p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 15px;
}

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-light);
}

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

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

/* Feature Grid */
.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

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

.feature-content {
    flex: 1;
    min-width: 300px;
}

.feature-image {
    flex: 1;
    min-width: 300px;
    background-color: var(--secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.feature-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.feature-content p {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 17px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.feature-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.testimonial-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 300px;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-size: 17px;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
}

.testimonial-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-info span {
    font-size: 14px;
    color: var(--gray);
}

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

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* Form Styles */
.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

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

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

.form-submit {
    width: 100%;
}

/* Contact Info */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-form {
    flex: 1.5;
    min-width: 320px;
}

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

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

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

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 24px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
}

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

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

.cookie-btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

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

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

/* About Page */
.about-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.team-card {
    flex: 1 1 calc(25% - 24px);
    min-width: 240px;
    max-width: 280px;
    text-align: center;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--secondary);
    margin: 0 auto 20px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.team-card span {
    color: var(--primary);
    font-weight: 500;
}

/* Page Header */
.page-header {
    padding: 100px 0 60px;
    background: var(--light);
    text-align: center;
}

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

.page-header p {
    font-size: 18px;
    color: var(--gray);
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

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

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

.legal-content p {
    margin-bottom: 16px;
    color: var(--gray);
}

.legal-content ul {
    margin: 16px 0 24px 24px;
    color: var(--gray);
}

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

/* Disclaimer */
.disclaimer {
    background: #fef3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius);
    padding: 20px;
    margin: 40px 0;
    font-size: 14px;
    color: #856404;
}

/* 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: 500px;
}

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

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

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

.thanks-content p {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 32px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav.active {
        right: 0;
    }

    .nav-close {
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: none;
        font-size: 32px;
        cursor: pointer;
        color: var(--dark);
    }

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

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

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

    .feature-content h3 {
        font-size: 26px;
    }

    .stat-number {
        font-size: 36px;
    }

    .footer-grid {
        gap: 32px;
    }

    .footer-col {
        min-width: 140px;
    }

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

/* Inline CTA */
.inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.inline-cta:hover {
    gap: 12px;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb span {
    color: var(--dark);
}

/* References */
.references {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-light);
}

.references h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.references ol {
    margin-left: 24px;
    font-size: 14px;
    color: var(--gray);
}

.references li {
    margin-bottom: 8px;
}

.references a {
    word-break: break-all;
}
