:root {
    --primary: #2d5a3d;
    --primary-dark: #1e3d2a;
    --secondary: #6b8f71;
    --accent: #a8c686;
    --bg-light: #f8faf6;
    --bg-cream: #f5f3ef;
    --bg-sage: #e8efe5;
    --text-dark: #1a2e1f;
    --text-muted: #5a6b5c;
    --white: #ffffff;
    --border: #d4ddd6;
    --shadow: rgba(45, 90, 61, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

.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;
}

/* Header */
.site-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);
    padding: 8px 0;
    font-size: 13px;
}

.header-top-inner {
    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: 12px;
}

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

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

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

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

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

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-sage);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 540px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

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

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

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

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

/* Magazine Grid Layout */
.magazine-section {
    padding: 80px 0;
}

.magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

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

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

.magazine-col-full {
    flex-basis: 100%;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow);
}

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

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

.card-body {
    padding: 24px;
}

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

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

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

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

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.service-card {
    flex: 1 1 calc(33.333% - 28px);
    min-width: 280px;
}

/* Section Styles */
.section-alt {
    background: var(--bg-cream);
}

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

.section-header {
    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-muted);
    max-width: 600px;
}

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

.section-header-center p {
    margin-left: auto;
    margin-right: auto;
}

/* Features List */
.features-list {
    list-style: none;
}

.features-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-dark);
    font-size: 20px;
}

.feature-content h4 {
    font-size: 17px;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px var(--shadow);
}

.sidebar-widget h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

select.form-control {
    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='%235a6b5c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

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

.testimonial-card::before {
    content: '"';
    font-size: 72px;
    color: var(--accent);
    position: absolute;
    top: 16px;
    left: 24px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 17px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-top: 32px;
}

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

.testimonial-role {
    font-size: 14px;
    color: var(--text-muted);
}

/* Stats Bar */
.stats-bar {
    background: var(--primary);
    padding: 48px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 64px 0 0;
}

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

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

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

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

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

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

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

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

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

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

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

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
}

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

/* Disclaimer */
.disclaimer {
    background: var(--bg-cream);
    padding: 24px;
    border-radius: 8px;
    margin: 32px 0;
    border-left: 4px solid var(--secondary);
}

.disclaimer p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* References */
.references {
    background: var(--bg-sage);
    padding: 32px;
    border-radius: 8px;
    margin-top: 48px;
}

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

.references ol {
    padding-left: 20px;
}

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

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

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

.contact-info li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
}

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

.contact-icon {
    color: var(--primary);
    font-size: 18px;
    width: 24px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.checkmark {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 40px;
    color: var(--primary-dark);
}

/* Page Header */
.page-header {
    background: var(--bg-sage);
    padding: 64px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

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

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

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

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

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

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

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

/* Inline CTA */
.inline-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    margin: 48px 0;
}

.inline-cta h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.inline-cta p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 24px;
}

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

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

/* Image with Caption */
.image-block {
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-sage);
}

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

.image-caption {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-muted);
    background: var(--bg-cream);
}

/* Two Column Layout */
.two-col {
    display: flex;
    gap: 48px;
    align-items: center;
}

.two-col-reverse {
    flex-direction: row-reverse;
}

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

.two-col img {
    width: 100%;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        box-shadow: 0 8px 24px var(--shadow);
    }

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

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

    .main-nav a {
        display: block;
        padding: 16px 0;
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .magazine-col-main,
    .magazine-col-side {
        flex: 1 1 100%;
    }

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

    .footer-grid {
        gap: 32px;
    }

    .footer-col {
        flex: 1 1 calc(50% - 16px);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 400px;
    }

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

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

    .magazine-section {
        padding: 48px 0;
    }

    .footer-col {
        flex: 1 1 100%;
    }

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

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