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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2c2c2c;
    background-color: #fafaf8;
}

h1, h2, h3, h4 {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2em;
    margin-bottom: 0.7em;
    margin-top: 1.5em;
}

h3 {
    font-size: 1.4em;
    margin-bottom: 0.6em;
    margin-top: 1.2em;
}

h4 {
    font-size: 1.1em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

p {
    margin-bottom: 1.2em;
}

a {
    color: #2563ab;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1e4d8b;
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.2em;
    padding-left: 2em;
}

li {
    margin-bottom: 0.5em;
}

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

/* Ad Notice */
.ad-notice {
    background-color: #f0f0ed;
    color: #666;
    font-size: 0.75em;
    text-align: center;
    padding: 0.4em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    border-bottom: 1px solid #ddd;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e0;
}

.nav-brand {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2em;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95em;
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #2563ab;
    text-decoration: none;
}

/* Content Containers - Editorial Style */
.content-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Editorial */
.hero-editorial {
    padding: 4em 0 2em;
    background-color: #ffffff;
}

.hero-content-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 5%;
    margin-bottom: 2em;
}

.hero-lead {
    font-size: 1.2em;
    color: #555;
    line-height: 1.6;
}

.hero-image-inline {
    margin: 2em 0;
    background-color: #e8e8e3;
}

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

/* Editorial Flow Main Content */
.editorial-flow {
    background-color: #fafaf8;
}

.narrative-section {
    padding: 3em 0;
    background-color: #ffffff;
}

.image-break {
    margin: 3em 0;
    background-color: #d5d5cf;
}

.image-break figure {
    margin: 0;
}

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

/* Services Inline - Editorial Style */
.services-inline {
    padding: 3em 0;
    background-color: #fafaf8;
}

.service-card-editorial {
    margin: 3em 0;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.service-card-editorial .service-image-wrap {
    background-color: #e8e8e3;
}

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

.service-card-editorial .service-text h3 {
    margin-top: 0;
}

.service-price {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    color: #2563ab;
    margin-top: 1em;
}

/* CTA Inline */
.cta-inline {
    padding: 2em 0;
    background-color: #f5f5f2;
}

/* Form Section Editorial */
.form-section-editorial {
    padding: 3em 0;
    background-color: #ffffff;
}

.editorial-form {
    margin-top: 2em;
}

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

.form-group label {
    display: block;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: #2c2c2c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8em;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1em;
    border: 1px solid #d0d0c8;
    background-color: #fafaf8;
    transition: border-color 0.2s ease;
}

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

.btn-submit {
    background-color: #2563ab;
    color: #ffffff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1em;
    font-weight: 600;
    padding: 0.9em 2.5em;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #1e4d8b;
}

/* Testimonial Inline */
.testimonial-inline {
    padding: 3em 0;
    background-color: #f0f0ed;
}

.testimonial {
    border-left: 4px solid #2563ab;
    padding-left: 2em;
    font-style: italic;
    color: #4a4a4a;
}

.testimonial cite {
    display: block;
    font-style: normal;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9em;
    margin-top: 1em;
    color: #666;
}

/* Closing Narrative */
.closing-narrative {
    padding: 3em 0;
    background-color: #ffffff;
}

/* Page Header */
.page-header {
    padding: 3em 0 2em;
    background-color: #f5f5f2;
    border-bottom: 1px solid #e0e0da;
}

.header-lead {
    font-size: 1.15em;
    color: #555;
}

/* Services Page */
.services-page {
    padding: 3em 0;
    background-color: #fafaf8;
}

.service-detail {
    display: flex;
    flex-direction: column;
    gap: 2em;
    margin: 3em 0;
    padding: 2em 0;
    border-bottom: 1px solid #e5e5e0;
}

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

.service-detail-image {
    background-color: #e8e8e3;
}

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

.service-detail-content {
    flex: 1;
}

.service-price-large {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #2563ab;
    margin: 0.5em 0 1em;
}

.service-features {
    margin-top: 1.5em;
    list-style: none;
    padding-left: 0;
}

.service-features li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.7em;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563ab;
    font-weight: bold;
}

.services-cta {
    margin-top: 3em;
    padding: 2em;
    background-color: #f5f5f2;
    text-align: center;
}

/* About Page */
.about-page {
    background-color: #fafaf8;
}

.about-narrative,
.about-approach,
.about-values,
.about-expertise,
.about-difference,
.about-process,
.about-commitment,
.about-cta {
    padding: 3em 0;
}

.about-narrative {
    background-color: #ffffff;
}

.about-approach {
    background-color: #f5f5f2;
}

.about-values {
    background-color: #ffffff;
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2em;
    margin-top: 2em;
}

.value-item {
    padding: 1.5em;
    background-color: #fafaf8;
    border-left: 3px solid #2563ab;
}

.value-item h3 {
    margin-top: 0;
}

.about-expertise {
    background-color: #f5f5f2;
}

.about-image-full,
.about-image-inline {
    margin: 3em 0;
    background-color: #e8e8e3;
}

.about-image-full img,
.about-image-inline img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-difference {
    background-color: #ffffff;
}

.about-process {
    background-color: #f5f5f2;
}

.about-commitment {
    background-color: #ffffff;
}

.about-cta {
    background-color: #f5f5f2;
    text-align: center;
}

/* Contact Page */
.contact-page {
    padding: 3em 0;
    background-color: #fafaf8;
}

.contact-info {
    background-color: #ffffff;
    padding: 2em;
    margin-bottom: 2em;
}

.contact-section {
    margin-bottom: 2em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2em;
    margin-top: 2em;
}

.contact-item {
    padding: 1.5em;
    background-color: #f5f5f2;
    border-left: 3px solid #2563ab;
}

.contact-item h3 {
    margin-top: 0;
    font-size: 1.1em;
}

.contact-value {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.05em;
    color: #2c2c2c;
    margin-bottom: 0.5em;
}

.contact-note {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 0;
}

.contact-guidance,
.contact-alternative,
.contact-faq {
    background-color: #ffffff;
    padding: 2em;
    margin-bottom: 2em;
}

.contact-checklist {
    list-style: none;
    padding-left: 0;
}

.contact-checklist li {
    padding-left: 1.8em;
    position: relative;
    margin-bottom: 0.8em;
}

.contact-checklist li:before {
    content: "•";
    position: absolute;
    left: 0.5em;
    color: #2563ab;
    font-weight: bold;
    font-size: 1.2em;
}

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

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

.faq-item h3 {
    margin-top: 0;
    color: #2563ab;
}

/* Legal Pages */
.legal-page {
    padding: 3em 0;
    background-color: #fafaf8;
}

.legal-section {
    background-color: #ffffff;
    padding: 2em;
    margin-bottom: 2em;
}

.legal-section h2 {
    margin-top: 0;
    color: #1a1a1a;
    border-bottom: 2px solid #2563ab;
    padding-bottom: 0.5em;
}

.legal-section h3 {
    color: #2563ab;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95em;
}

.cookie-table thead {
    background-color: #2563ab;
    color: #ffffff;
}

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

.cookie-table tbody tr:nth-child(even) {
    background-color: #f5f5f2;
}

/* Thanks Page */
.thanks-page {
    padding: 5em 0;
    background-color: #fafaf8;
    min-height: 60vh;
}

.thanks-content {
    background-color: #ffffff;
    padding: 3em;
    text-align: center;
    border: 2px solid #2563ab;
}

.thanks-lead {
    font-size: 1.3em;
    color: #2563ab;
    margin-bottom: 1em;
}

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

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.9em 2.5em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background-color: #2563ab;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1e4d8b;
    text-decoration: none;
}

.btn-secondary {
    background-color: #f5f5f2;
    color: #2563ab;
    border: 2px solid #2563ab;
}

.btn-secondary:hover {
    background-color: #2563ab;
    color: #ffffff;
    text-decoration: none;
}

/* Footer */
.site-footer {
    background-color: #2c2c2c;
    color: #d0d0d0;
    padding: 3em 5%;
    margin-top: 3em;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2em;
    border-bottom: 1px solid #444;
}

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

.footer-column h4 {
    color: #ffffff;
    margin-bottom: 1em;
    font-size: 1.1em;
}

.footer-column p {
    font-size: 0.95em;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.7em;
}

.footer-column a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2em;
    text-align: center;
    font-size: 0.9em;
}

.footer-bottom p {
    margin-bottom: 0.5em;
}

.disclaimer {
    font-size: 0.85em;
    color: #999;
    line-height: 1.5;
    margin-top: 1em;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 1.5em 5%;
    display: none;
    z-index: 1000;
    border-top: 3px solid #2563ab;
}

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

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

.cookie-content p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95em;
    margin: 0;
    text-align: center;
}

.cookie-actions {
    display: flex;
    gap: 1em;
}

.btn-cookie {
    padding: 0.7em 2em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-cookie.accept {
    background-color: #2563ab;
    color: #ffffff;
}

.btn-cookie.accept:hover {
    background-color: #1e4d8b;
}

.btn-cookie.reject {
    background-color: #666;
    color: #ffffff;
}

.btn-cookie.reject:hover {
    background-color: #555;
}

/* Responsive Design */
@media (min-width: 768px) {
    .service-card-editorial {
        flex-direction: row;
        align-items: center;
    }

    .service-card-editorial .service-image-wrap,
    .service-card-editorial .service-text {
        flex: 1;
    }

    .service-card-editorial:nth-child(even) {
        flex-direction: row-reverse;
    }

    .service-detail {
        flex-direction: row;
        align-items: flex-start;
    }

    .service-detail.reverse {
        flex-direction: row-reverse;
    }

    .service-detail-image,
    .service-detail-content {
        flex: 1;
    }

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

    .value-item {
        flex: 1 1 45%;
    }

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

    .contact-item {
        flex: 1 1 45%;
    }

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

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

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

@media (max-width: 767px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.6em;
    }

    .nav-links {
        gap: 1em;
        font-size: 0.9em;
    }

    .footer-content {
        flex-direction: column;
    }
}