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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

a {
    color: #8b6f47;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6b5437;
}

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

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-content a {
    color: #d4b896;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-cookie.accept {
    background-color: #8b6f47;
    color: #ffffff;
}

.btn-cookie.accept:hover {
    background-color: #6b5437;
}

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

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

/* Navigation */
.nav-editorial {
    background-color: #ffffff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: #555;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #8b6f47;
}

/* Editorial Main Container */
.editorial-main {
    max-width: 100%;
    margin: 0 auto;
}

/* Editorial Hero */
.editorial-hero {
    position: relative;
    margin-bottom: 4rem;
}

.hero-image-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

.hero-text-overlay {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    max-width: 700px;
    padding: 0 2rem;
}

.hero-text-overlay h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.5;
    color: #f0f0f0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Content Narrow - Editorial Style */
.content-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Editorial Intro */
.editorial-intro {
    padding: 3rem 0;
}

.intro-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #3c3c3c;
    margin-bottom: 1.5rem;
}

.editorial-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

/* Editorial Visual Break */
.editorial-visual-break {
    margin: 4rem 0;
}

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

.image-caption {
    max-width: 680px;
    margin: 1rem auto 0;
    padding: 0 2rem;
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    text-align: center;
}

/* Editorial Content Sections */
.editorial-content {
    padding: 3rem 0;
}

.editorial-content h2 {
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
}

.editorial-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #3c3c3c;
}

.editorial-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #3c3c3c;
}

.editorial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.editorial-content ul,
.editorial-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.editorial-content li {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Inline CTAs */
.inline-cta {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #f5f1eb;
    border-left: 4px solid #8b6f47;
}

.cta-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8b6f47;
    display: inline-block;
    transition: transform 0.3s ease;
}

.cta-link:hover {
    transform: translateX(5px);
}

.inline-cta-secondary {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
}

.inline-cta-secondary p {
    margin: 0;
}

/* Feature Cards */
.editorial-feature-cards {
    padding: 3rem 0;
    background-color: #ffffff;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #2c2c2c;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

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

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.7;
    font-style: italic;
    color: #3c3c3c;
    border-left: 4px solid #8b6f47;
    padding-left: 2rem;
    margin: 0;
}

.testimonial-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #666;
}

/* Services Preview */
.editorial-services-preview {
    padding: 4rem 0;
    background-color: #ffffff;
}

.services-list-editorial {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    background-color: #fafafa;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #8b6f47;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0.5rem 0 0 0;
}

/* Buttons */
.btn-editorial {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: #8b6f47;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-editorial:hover {
    background-color: #6b5437;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-editorial-secondary {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: transparent;
    color: #8b6f47;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #8b6f47;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-editorial-secondary:hover {
    background-color: #8b6f47;
    color: #ffffff;
}

.cta-centered {
    margin-top: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Form Section */
.editorial-form-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.editorial-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    font-size: 1rem;
    border: 1px solid #d0d0d0;
    background-color: #ffffff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b6f47;
}

.btn-submit {
    padding: 1rem 2.5rem;
    background-color: #8b6f47;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background-color: #6b5437;
}

.success-message {
    padding: 2rem;
    background-color: #e8f5e9;
    border: 2px solid #4caf50;
    margin-top: 2rem;
}

.success-message h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.success-message p {
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

/* Final CTA */
.editorial-final-cta {
    padding: 3rem 0;
    text-align: center;
}

.final-note {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

/* Footer */
.footer-editorial {
    background-color: #2c2c2c;
    color: #c0c0c0;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

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

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

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

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

.footer-col a {
    color: #c0c0c0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

/* Page Header */
.editorial-page-header {
    padding: 4rem 0 2rem;
    background-color: #ffffff;
}

.editorial-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

/* Contact Info */
.contact-info-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    padding: 2rem;
    background-color: #f9f9f9;
    border: 1px solid #e8e8e8;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.contact-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0.5rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* Services Detailed */
.services-detailed {
    padding: 3rem 0;
}

.service-detail-item {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #e0e0e0;
}

.service-detail-item:last-child {
    border-bottom: none;
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-detail-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
}

.service-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #8b6f47;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.service-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.service-cta {
    margin-top: 1.5rem;
}

/* Thanks Page */
.thanks-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.thanks-content {
    text-align: center;
    padding: 3rem 2rem;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: #4caf50;
    color: #ffffff;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 2rem;
}

.thanks-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.service-confirmation {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f5f1eb;
    border: 1px solid #8b6f47;
}

.selected-service {
    font-size: 1.2rem;
    font-weight: 600;
    color: #8b6f47;
}

.next-steps {
    margin: 3rem 0;
    text-align: left;
}

.next-steps h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.next-steps ol {
    margin-left: 1.5rem;
}

.next-steps li {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.thanks-cta {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8e8e8;
}

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

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #2c2c2c;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Legal Pages */
.legal-page .content-narrow {
    max-width: 800px;
}

.legal-date {
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
}

.cookie-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.8rem;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.cookie-table th {
    background-color: #f5f1eb;
    font-weight: 600;
    color: #2c2c2c;
}

.cookie-table td {
    background-color: #ffffff;
}

/* Responsive Design */
@media (min-width: 768px) {
    .feature-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .feature-card {
        flex: 1;
        min-width: 280px;
    }

    .contact-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cookie-content p {
        flex: 1;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }

    .cta-centered {
        flex-direction: row;
        justify-content: center;
    }

    .thanks-cta {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .service-detail-content {
        flex-direction: row;
        gap: 3rem;
    }

    .service-img {
        flex: 1;
        max-width: 400px;
        order: 0;
    }

    .service-description {
        flex: 2;
    }

    .hero-text-overlay h1 {
        font-size: 3.5rem;
    }

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

@media (max-width: 767px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-image-wrapper {
        height: 350px;
    }

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

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

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

    .service-detail-header h2 {
        font-size: 1.6rem;
    }

    .service-price-large {
        font-size: 1.6rem;
    }

    .btn-submit {
        width: 100%;
    }
}
