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

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

body {
    font-family: 'Georgia', 'Garamond', serif;
    line-height: 1.7;
    color: #2c2c2c;
    background-color: #fafafa;
}

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

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

a:hover {
    color: #5d3a26;
}

ul {
    list-style-position: inside;
}

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

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

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

.cookie-content p {
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
}

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

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

.btn-cookie,
.btn-cookie-alt {
    padding: 0.6rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.btn-cookie:hover {
    background-color: #5d3a26;
}

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

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

/* Navigation - Editorial Style */
.nav-editorial {
    padding: 1.5rem 0;
    background-color: #ffffff;
    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;
}

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

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

.nav-links a {
    color: #2c2c2c;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #8b5a3c;
}

/* Editorial Layout - Article-like structure */
.editorial-layout {
    background-color: #ffffff;
}

/* Hero Editorial */
.hero-editorial {
    padding: 4rem 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text-center {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-text-center h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

.hero-image-container {
    margin: 0 auto;
    overflow: hidden;
}

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

/* Content Sections - Narrow Centered Text (Editorial Core) */
.content-narrow {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-alternate {
    background-color: #f9f7f4;
}

.content-narrow h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.content-narrow h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 2rem 0 1rem;
    color: #2c2c2c;
}

.content-narrow p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2.5rem;
}

.content-narrow ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

/* Inline Images - Story-driven */
.inline-image {
    margin: 3rem 0;
}

.inline-image img {
    width: 100%;
    margin-bottom: 0.75rem;
}

.image-caption {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    text-align: center;
    line-height: 1.5;
}

/* Blockquote - Historical Quote Style */
.historical-quote {
    border-left: 3px solid #8b5a3c;
    padding-left: 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.15rem;
    color: #444;
}

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

/* Split Visual Section */
.split-visual {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.split-text {
    flex: 1;
    padding: 2rem 0;
}

.split-text h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.split-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
}

/* Services Grid Editorial */
.services-grid-editorial {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card-editorial {
    border: 1px solid #e0e0e0;
    padding: 2rem;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.service-card-editorial:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card-editorial h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card-editorial p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #444;
}

.price-tag {
    font-size: 1.3rem;
    color: #8b5a3c;
    font-weight: 600;
    margin: 1.5rem 0;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-service {
    padding: 0.9rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    display: inline-block;
}

.btn-primary {
    background-color: #8b5a3c;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #5d3a26;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #8b5a3c;
    border: 1px solid #8b5a3c;
}

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

.btn-service {
    background-color: #2c2c2c;
    color: #ffffff;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-service:hover {
    background-color: #1a1a1a;
}

.btn-text-link {
    color: #8b5a3c;
    font-size: 1.05rem;
    text-decoration: none;
    border-bottom: 1px solid #8b5a3c;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-text-link:hover {
    color: #5d3a26;
    border-bottom-color: #5d3a26;
}

/* CTA Inline */
.cta-inline {
    margin: 2.5rem 0;
    text-align: center;
}

/* CTA Block Centered */
.cta-block-centered {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f9f7f4;
    margin: 3rem 0;
}

.cta-block-centered h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.cta-block-centered p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Testimonials */
.testimonial-section {
    background-color: #f0ebe4;
    padding: 4rem 2rem;
}

.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.testimonial {
    padding: 2rem;
    background-color: #ffffff;
    border-left: 4px solid #8b5a3c;
}

.testimonial p {
    font-size: 1.2rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.testimonial cite {
    font-style: normal;
    font-size: 1rem;
    color: #666;
}

/* Form Section */
.form-section {
    background-color: #f9f7f4;
    padding: 4rem 2rem;
}

.form-container-narrow {
    max-width: 600px;
    margin: 0 auto;
}

.form-container-narrow h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: center;
}

.form-container-narrow > p {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #666;
    font-size: 1.05rem;
}

.editorial-form {
    background-color: #ffffff;
    padding: 2.5rem;
    border: 1px solid #e0e0e0;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d0d0d0;
    font-size: 1rem;
    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: #8b5a3c;
}

.form-group textarea {
    resize: vertical;
}

.editorial-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

/* Closing Section */
.closing-section {
    background-color: #f0ebe4;
}

/* Page Header Editorial */
.page-header-editorial {
    text-align: center;
    padding: 4rem 2rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-header-editorial h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.header-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* Services Detailed Page */
.services-detailed {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

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

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

.service-detail-header {
    margin-bottom: 2rem;
}

.service-detail-header h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.price-large {
    font-size: 1.6rem;
    color: #8b5a3c;
    font-weight: 600;
}

.service-detail-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-detail-content h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 2rem 0 1rem;
}

.service-detail-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.service-detail-content li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* FAQ */
.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: #2c2c2c;
}

.faq-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

/* Contact Page */
.contact-info-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-info-card {
    background-color: #f9f7f4;
    padding: 2rem;
    border-left: 3px solid #8b5a3c;
}

.contact-info-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-info-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.note-small {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

/* Thanks Page */
.thanks-container {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thanks-content h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.thanks-message {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #444;
}

.service-confirmation {
    background-color: #f9f7f4;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 3px solid #8b5a3c;
    font-size: 1.1rem;
}

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

.thanks-actions a {
    display: inline-block;
}

.next-steps {
    margin-top: 2rem;
    text-align: left;
}

.step-item {
    margin-bottom: 2rem;
}

.step-item h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: #2c2c2c;
}

.step-item p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Legal Pages */
.legal-page .content-narrow h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-page .content-narrow h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.cookie-table {
    margin: 2rem 0;
    border: 1px solid #e0e0e0;
}

.cookie-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-row:last-child {
    border-bottom: none;
}

.cookie-cell {
    padding: 1rem;
    font-size: 1rem;
}

.cookie-cell:first-child {
    background-color: #f9f7f4;
}

/* Footer */
.footer-editorial {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 3rem 2rem 1.5rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

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

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

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

.footer-section a {
    color: #d0d0d0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

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

/* Responsive - Tablet */
@media (min-width: 768px) {
    .nav-links {
        gap: 3rem;
    }

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

    .split-visual {
        flex-direction: row;
        gap: 3rem;
        align-items: center;
    }

    .split-text {
        padding: 0;
    }

    .services-grid-editorial {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card-editorial {
        flex: 1 1 calc(50% - 1.25rem);
    }

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

    .contact-info-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .testimonial-container {
        flex-direction: row;
    }

    .testimonial {
        flex: 1;
    }

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

    .cookie-content p {
        text-align: left;
        flex: 1;
    }

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

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

    .cookie-row {
        flex-direction: row;
    }

    .cookie-cell {
        flex: 1;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-section {
        flex: 1;
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    .hero-text-center h1 {
        font-size: 4rem;
    }

    .service-card-editorial {
        flex: 1 1 calc(33.333% - 1.667rem);
    }

    .contact-info-card {
        flex: 1 1 calc(33.333% - 1.333rem);
    }
}