:root {
    --primary: #2c4a3e;
    --secondary: #8b6914;
    --accent: #d4a857;
    --bg-light: #faf8f5;
    --bg-dark: #1a1a1a;
    --text-primary: #2d2d2d;
    --text-secondary: #5a5a5a;
    --text-light: #f5f5f5;
    --border: #e0dcd4;
    --shadow: rgba(0,0,0,0.08);
    --fallback-img: #d4cfc5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-light);
}

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

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

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

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

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

/* Header */
.site-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

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

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

.nav-links a {
    color: var(--text-primary);
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.ad-disclosure {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: #f0ede6;
    padding: 4px 10px;
    border-radius: 3px;
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s ease;
}

/* Hero Editorial */
.hero-editorial {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0ede6 100%);
}

.hero-editorial .narrow-container {
    text-align: center;
}

.hero-editorial h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-wrap {
    margin-top: 48px;
    background-color: var(--fallback-img);
    border-radius: 8px;
    overflow: hidden;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Editorial Section */
.editorial-section {
    padding: 80px 0;
}

.editorial-section.alt-bg {
    background: #f5f2ed;
}

.editorial-section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 400;
}

.editorial-section p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.inline-image {
    margin: 40px 0;
    background-color: var(--fallback-img);
    border-radius: 6px;
    overflow: hidden;
}

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

.inline-image figcaption {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: #fff;
    font-style: italic;
}

/* Services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    flex: 1 1 calc(50% - 16px);
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.service-card-image {
    height: 180px;
    background-color: var(--fallback-img);
}

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

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

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

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

.service-price {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
}

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

/* CTA Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--secondary);
    color: #fff;
}

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

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

.btn-secondary:hover {
    background: var(--secondary);
    color: #fff;
}

.cta-inline {
    margin: 40px 0;
    padding: 32px;
    background: var(--primary);
    border-radius: 8px;
    text-align: center;
}

.cta-inline p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.cta-inline .btn:hover {
    background: #e8bd6a;
}

/* Form Styles */
.form-section {
    padding: 80px 0;
    background: #f5f2ed;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(139,105,20,0.15);
}

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

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--primary);
}

.testimonials-section h2 {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 48px;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.testimonial-card {
    flex: 1 1 300px;
    max-width: 380px;
    background: rgba(255,255,255,0.1);
    padding: 32px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.testimonial-card .author {
    color: var(--accent);
    font-weight: 600;
}

/* About Section */
.about-split {
    display: flex;
    gap: 48px;
    align-items: center;
    padding: 80px 0;
}

.about-split.reverse {
    flex-direction: row-reverse;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    background-color: var(--fallback-img);
    border-radius: 8px;
    overflow: hidden;
}

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

/* Contact Info */
.contact-info-section {
    padding: 60px 0;
}

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

.contact-block {
    flex: 1 1 250px;
}

.contact-block h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-block p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

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

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

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

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

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

.footer-col a {
    color: #b0b0b0;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.85rem;
    color: #888;
}

.footer-bottom a {
    color: #888;
}

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

.legal-content h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 32px;
}

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

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

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

/* 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: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

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

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

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

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

.cookie-inner p {
    flex: 1;
    font-size: 0.95rem;
    margin: 0;
}

.cookie-inner a {
    color: var(--accent);
}

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

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
}

.cookie-accept {
    background: var(--accent);
    color: var(--bg-dark);
}

.cookie-reject {
    background: transparent;
    color: var(--text-light);
    border: 1px solid #555;
}

/* Disclaimer */
.disclaimer {
    background: #f0ede6;
    padding: 24px;
    border-radius: 6px;
    margin: 40px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-left: 4px solid var(--secondary);
}

/* References */
.references {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.references h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.references ol {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: 20px;
}

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

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

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-light);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        display: none;
    }

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

    .nav-links {
        flex-direction: column;
        gap: 16px;
    }

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

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

    .about-split.reverse {
        flex-direction: column;
    }

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

    .footer-grid {
        gap: 32px;
    }

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