/* Global Reset & 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: #2a2a2a;
    background-color: #fafafa;
}

/* Ad Notice */
.ad-notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 8px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #ffeeba;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

.brand {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0066cc;
}

/* Editorial Content Container */
.editorial-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Article Hero */
.article-hero {
    margin-bottom: 60px;
}

.hero-image-container {
    margin-bottom: 30px;
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

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

.hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.lead {
    font-size: 22px;
    line-height: 1.5;
    color: #555;
    font-style: italic;
}

/* Page Header (for non-home pages) */
.page-header {
    margin-bottom: 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.page-header .lead {
    font-size: 20px;
}

/* Story Sections */
.story-intro {
    margin-bottom: 50px;
}

.story-intro p {
    margin-bottom: 24px;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #1a1a1a;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #2a2a2a;
    font-weight: 600;
}

h4 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
}

ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

li {
    margin-bottom: 12px;
}

/* Inline Images */
.inline-image-block {
    margin: 60px 0;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

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

.image-caption {
    padding: 16px 20px;
    font-size: 16px;
    font-style: italic;
    color: #666;
    background-color: #f5f5f5;
}

/* Full Width Images */
.full-width-image {
    margin: 60px -20px;
    background-color: #e8e8e8;
    overflow: hidden;
}

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

/* Service Story Grid */
.service-story-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.service-story-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.card-image-wrapper {
    background-color: #e8e8e8;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.service-story-card h3 {
    padding: 24px 24px 12px 24px;
    margin-bottom: 0;
}

.service-story-card p {
    padding: 0 24px;
}

.service-price {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0066cc;
    padding: 8px 24px;
}

.service-story-card .inline-cta {
    margin: 0 24px 24px 24px;
}

/* Service Detail Cards (for services page) */
.service-detail-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.service-content h2 {
    margin-top: 0;
}

.service-intro {
    font-size: 20px;
    color: #555;
    margin-bottom: 28px;
}

.pricing-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background-color: #f8f9fa;
    border-left: 4px solid #0066cc;
    margin: 24px 0;
}

.price-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.price-value {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0066cc;
}

.price-detail {
    font-size: 16px;
    color: #777;
}

.service-image {
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

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

/* Testimonials */
.inline-testimonial {
    margin: 60px 0;
    padding: 40px;
    background-color: #f8f9fa;
    border-left: 4px solid #333;
}

.inline-testimonial p {
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    color: #2a2a2a;
    margin-bottom: 16px;
}

.inline-testimonial cite {
    font-size: 16px;
    font-style: normal;
    color: #666;
}

/* Process Narrative */
.process-narrative {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

.process-step h3 {
    color: #0066cc;
}

/* CTAs */
.inline-cta {
    display: inline-block;
    padding: 14px 28px;
    background-color: #0066cc;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.inline-cta:hover {
    background-color: #0052a3;
}

.secondary-cta {
    display: inline-block;
    padding: 14px 28px;
    background-color: transparent;
    color: #0066cc;
    text-decoration: none;
    border: 2px solid #0066cc;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 12px;
}

.secondary-cta:hover {
    background-color: #0066cc;
    color: #ffffff;
}

/* Forms */
.form-section {
    margin: 80px 0;
    padding: 50px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.editorial-form {
    max-width: 500px;
    margin: 40px auto 0 auto;
}

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

.form-group label {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #0052a3;
}

/* Disclaimer */
.disclaimer-section {
    margin: 60px 0;
    padding: 30px;
    background-color: #fff9e6;
    border: 1px solid #f0e0a0;
    border-radius: 4px;
}

.disclaimer {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* Contact Page Specific */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 50px 0;
}

.contact-info-block {
    background-color: #ffffff;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.info-item {
    margin-bottom: 32px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0066cc;
}

.non-clickable-email {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    color: #2a2a2a;
    font-weight: 500;
}

.contact-image-block {
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

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

.path-options {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Thanks Page */
.thanks-container {
    max-width: 720px;
}

.thanks-header {
    text-align: center;
    margin-bottom: 50px;
}

.thanks-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.thanks-message {
    background-color: #ffffff;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.step {
    padding: 24px;
    background-color: #f8f9fa;
    border-left: 4px solid #0066cc;
}

.step h3 {
    font-size: 20px;
    color: #0066cc;
    margin-bottom: 12px;
}

.thanks-image {
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

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

.waiting-options {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

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

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.legal-section h3 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 12px;
    color: #2a2a2a;
}

.legal-section ul {
    margin-bottom: 20px;
}

.legal-section a {
    color: #0066cc;
    text-decoration: underline;
}

.legal-section a:hover {
    color: #0052a3;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
}

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

.cookie-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

/* Values & Philosophy Sections */
.values-narrative {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

.value-block {
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #0066cc;
}

.value-block h3 {
    color: #0066cc;
    margin-bottom: 12px;
}

/* Footer */
.editorial-footer {
    background-color: #1a1a1a;
    color: #d0d0d0;
    padding: 60px 20px 30px 20px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer-brand h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #a0a0a0;
    font-size: 16px;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 16px;
}

.footer-column a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1000px;
    margin: 50px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #808080;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 2px solid #0066cc;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 24px;
    z-index: 1000;
    display: none;
}

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

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-content p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0;
}

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

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

.cookie-accept,
.cookie-reject {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-accept {
    background-color: #0066cc;
    color: #ffffff;
}

.cookie-accept:hover {
    background-color: #0052a3;
}

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

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

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

    .lead {
        font-size: 19px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 21px;
    }

    .full-width-image {
        margin-left: -20px;
        margin-right: -20px;
    }

    .form-section {
        padding: 30px 20px;
    }

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

    .footer-links {
        gap: 30px;
    }

    .cookie-content {
        gap: 16px;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .secondary-cta {
        margin-left: 0;
        margin-top: 12px;
    }
}

@media (min-width: 769px) {
    .service-detail-card {
        flex-direction: row;
    }

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

    .service-content {
        flex: 1;
    }

    .service-image {
        flex: 0 0 320px;
    }

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

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

    .cookie-content p {
        flex: 1;
    }

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

    .contact-info-block,
    .contact-image-block {
        flex: 1;
    }

    .thanks-content {
        flex-direction: row;
    }

    .thanks-message {
        flex: 1.5;
    }

    .thanks-image {
        flex: 1;
    }
}
