/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
}

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

/* Navigation */
.top-nav {
    background-color: #1a3d2e;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.ad-notice {
    font-size: 0.75rem;
    color: #a8c5b8;
    padding: 0.3rem 0.8rem;
    border: 1px solid #a8c5b8;
    border-radius: 3px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a3d2e;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-accept,
.btn-reject {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-accept {
    background-color: #4a7c59;
    color: #ffffff;
}

.btn-accept:hover {
    background-color: #3d6849;
}

.btn-reject {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: #a8c5b8;
    text-decoration: underline;
    font-size: 0.85rem;
}

/* Editorial Content Layout */
.editorial-content {
    background-color: #ffffff;
}

.narrow-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Editorial */
.hero-editorial {
    margin-bottom: 3rem;
}

.hero-image-container {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    background-color: #e8f1ec;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
}

.hero-text-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

.hero-text-narrow h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    color: #1a3d2e;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4a5f5a;
    margin-bottom: 1.5rem;
}

/* Page Header Editorial */
.page-header-editorial {
    padding: 4rem 0 2rem;
}

.page-header-editorial h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    color: #1a3d2e;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Story Sections */
.story-section {
    padding: 3rem 0;
}

.story-section h2 {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #1a3d2e;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.story-section h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #2c4a3e;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.story-section p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.story-section ul {
    margin: 1.5rem 0 1.5rem 2rem;
}

.story-section li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

/* Inline Images */
.inline-image {
    margin: 3rem 0;
    background-color: #e8f1ec;
}

.inline-image img {
    width: 100%;
    height: auto;
}

/* Citation Links */
.citation {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
}

.citation:hover {
    text-decoration: underline;
}

/* Service Cards Editorial */
.service-card-editorial {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-image {
    width: 100%;
    background-color: #e8f1ec;
}

.service-image img {
    width: 100%;
    height: auto;
}

.service-text h3 {
    font-size: 1.6rem;
    color: #1a3d2e;
    margin-bottom: 1rem;
}

.service-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.service-price {
    font-size: 1.5rem;
    color: #4a7c59;
    font-weight: 700;
    margin: 1.5rem 0;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-select,
.btn-submit {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #4a7c59;
    color: #ffffff;
}

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

.btn-secondary {
    background-color: transparent;
    color: #4a7c59;
    border: 2px solid #4a7c59;
}

.btn-secondary:hover {
    background-color: #4a7c59;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-select {
    background-color: #2c4a3e;
    color: #ffffff;
}

.btn-select:hover {
    background-color: #1a3d2e;
    transform: translateY(-2px);
}

.btn-submit {
    background-color: #4a7c59;
    color: #ffffff;
    width: 100%;
}

.btn-submit:hover {
    background-color: #3d6849;
}

.btn-submit:disabled {
    background-color: #a8c5b8;
    cursor: not-allowed;
    transform: none;
}

/* Inline CTA */
.cta-inline {
    padding: 2rem 0;
}

.inline-cta-box {
    background-color: #f5f9f7;
    padding: 2.5rem;
    border-left: 4px solid #4a7c59;
}

.inline-cta-box h3 {
    font-size: 1.5rem;
    color: #1a3d2e;
    margin-bottom: 1rem;
}

.inline-cta-box p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Testimonials */
.testimonial-section {
    padding: 3rem 0;
    background-color: #f5f9f7;
}

.testimonial {
    margin: 2rem auto;
    padding: 2rem;
    border-left: 3px solid #4a7c59;
    background-color: #ffffff;
}

.testimonial p {
    font-size: 1.15rem;
    font-style: italic;
    color: #2c4a3e;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-size: 0.95rem;
    font-style: normal;
    color: #6b8175;
}

/* Form Section */
.form-section {
    padding: 3rem 0;
    background-color: #f5f9f7;
}

.consultation-form {
    background-color: #ffffff;
    padding: 2.5rem;
    margin-top: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-display {
    background-color: #e8f1ec;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    border-left: 4px solid #4a7c59;
}

.service-display p {
    margin: 0;
    font-size: 1.05rem;
    color: #2c4a3e;
}

.service-display strong {
    color: #1a3d2e;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c4a3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d0dcd5;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
}

/* Disclaimer */
.disclaimer-section {
    padding: 3rem 0;
    background-color: #fafafa;
}

.disclaimer {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background-color: #ffffff;
}

/* References */
.references-section {
    padding: 3rem 0;
}

.references-section h3 {
    font-size: 1.4rem;
    color: #1a3d2e;
    margin-bottom: 1rem;
}

.reference-list {
    list-style: decimal;
    margin-left: 2rem;
}

.reference-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.reference-list a {
    color: #4a7c59;
    text-decoration: none;
}

.reference-list a:hover {
    text-decoration: underline;
}

/* Contact Info Blocks */
.contact-info-block {
    margin: 2rem 0;
}

.contact-info-block h3 {
    font-size: 1.3rem;
    color: #2c4a3e;
    margin-bottom: 0.5rem;
}

.no-link-email {
    color: #2c3e50;
    font-weight: 600;
}

/* Thanks Page */
.thanks-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.thanks-section h1 {
    font-size: 2.2rem;
    color: #1a3d2e;
    margin-bottom: 1rem;
}

.service-confirmation {
    background-color: #e8f1ec;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
    border-left: 4px solid #4a7c59;
}

.service-confirmation h3 {
    font-size: 1.2rem;
    color: #1a3d2e;
    margin-bottom: 0.5rem;
}

.thanks-cta {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background-color: #1a3d2e;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    font-size: 0.9rem;
    color: #a8c5b8;
    line-height: 1.6;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #a8c5b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid #2c4a3e;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #a8c5b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text-narrow h1 {
        font-size: 2rem;
    }

    .page-header-editorial h1 {
        font-size: 1.8rem;
    }

    .story-section h2 {
        font-size: 1.5rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .narrow-content {
        padding: 0 1.5rem;
    }

    .hero-text-narrow {
        padding: 2rem 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .thanks-cta {
        flex-direction: column;
    }

    .thanks-cta .btn-primary,
    .thanks-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
