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

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2a2a2a;
    background-color: #fafafa;
    overflow-x: hidden;
}

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

a {
    color: #1a5f7a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0d3e52;
}

/* Editorial Navigation */
.editorial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.nav-links a {
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1a5f7a;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

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

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

.cookie-content p {
    flex: 1 1 300px;
    margin: 0;
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.btn-cookie {
    padding: 0.6rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-cookie.accept {
    background-color: #1a5f7a;
    color: #ffffff;
}

.btn-cookie.accept:hover {
    background-color: #0d3e52;
}

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

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

/* Editorial Container - Main Layout */
.editorial-container {
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
}

/* Narrow Column - Core of Editorial Layout */
.narrow-column {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Sections */
.article-hero {
    padding: 3rem 0;
}

.hero-text-center {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
    font-weight: 300;
}

.hero-image {
    margin: 3rem 0;
}

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

/* Page Header */
.page-header {
    padding: 4rem 5% 2rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.header-intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Story Sections */
.story-intro,
.narrative-section,
.philosophy-block,
.services-intro,
.contact-intro,
.about-intro,
.services-closing,
.closing-reflection,
.closing-message,
.commitment,
.approach-details,
.team-intro,
.philosophy-deep,
.how-it-works,
.faq-section,
.contact-note {
    padding: 3rem 0;
}

.opening-line {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #1a5f7a;
}

.narrative-section p,
.story-intro p,
.philosophy-block p,
.narrow-column p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Inline Figures */
.inline-figure,
.about-image,
.service-image {
    margin: 3rem 0;
}

.inline-figure img,
.about-image img,
.service-image img {
    width: 100%;
}

/* Method Steps / Values / Process */
.method-steps,
.values-list,
.process-steps {
    margin-top: 2.5rem;
}

.method-item,
.value-item,
.process-step {
    margin-bottom: 2.5rem;
}

.method-item h3,
.value-item h3,
.process-step h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.method-item p,
.value-item p,
.process-step p {
    color: #555;
}

/* CTA Elements */
.inline-cta-block,
.centered-cta-section,
.final-cta-inline {
    text-align: center;
    padding: 2rem 0;
}

.cta-inline {
    font-size: 1.1rem;
    color: #1a5f7a;
    border-bottom: 2px solid #1a5f7a;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.cta-inline:hover {
    color: #0d3e52;
    border-bottom-color: #0d3e52;
}

.cta-button-large,
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #1a5f7a;
    color: #ffffff;
    font-size: 1.1rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.cta-button-large:hover,
.cta-button:hover {
    background-color: #0d3e52;
    transform: translateY(-2px);
}

.cta-text-link {
    font-size: 1.15rem;
    color: #1a5f7a;
    font-weight: 500;
}

.cta-text-link:hover {
    color: #0d3e52;
}

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

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 5%;
}

.service-card {
    background-color: #ffffff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.card-content p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.price-tag {
    display: inline-block;
    font-size: 1.1rem;
    color: #1a5f7a;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
}

/* Service Detail Pages */
.service-detail {
    padding: 4rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.service-header {
    max-width: 780px;
    margin: 0 auto 2rem;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-header h2 {
    font-size: 2rem;
    color: #1a1a1a;
}

.service-price {
    font-size: 1.3rem;
    color: #1a5f7a;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
}

.service-includes {
    list-style-position: outside;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-includes li {
    margin-bottom: 0.75rem;
    color: #555;
}

.service-note {
    font-style: italic;
    color: #777;
    font-size: 0.95rem;
}

.service-cta {
    text-align: center;
    margin-top: 2rem;
}

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

.testimonial-inline blockquote {
    border-left: 4px solid #1a5f7a;
    padding-left: 2rem;
    font-size: 1.25rem;
    font-style: italic;
    color: #2a2a2a;
}

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

/* Forms */
.form-story-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.story-form {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 0 5%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #2a2a2a;
    font-family: 'Arial', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    transition: border-color 0.3s ease;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #1a5f7a;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.submit-btn:hover {
    background-color: #0d3e52;
}

/* Contact Page */
.contact-info-section {
    padding: 3rem 5%;
}

.contact-details {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.contact-item p {
    color: #555;
    line-height: 1.8;
}

.contact-item a {
    color: #1a5f7a;
}

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

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.faq-item p {
    color: #555;
}

/* Reflection Text */
.reflection-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 1.5rem;
}

/* Thanks Page */
.thanks-hero {
    padding: 4rem 5%;
    text-align: center;
}

.thanks-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.thanks-message {
    font-size: 1.3rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.thanks-content {
    padding: 2rem 0;
}

.thanks-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.thanks-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 5%;
    flex-wrap: wrap;
}

.cta-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: #1a5f7a;
    border: 2px solid #1a5f7a;
    font-size: 1rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.cta-secondary:hover {
    background-color: #1a5f7a;
    color: #ffffff;
}

.thanks-closing {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

/* Legal Pages */
.legal-page .legal-content {
    padding: 2rem 0 4rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: #1a1a1a;
}

.legal-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
    color: #2a2a2a;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-family: 'Arial', sans-serif;
}

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

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

.cookie-table td {
    color: #555;
}

/* Footer */
.editorial-footer {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 3rem 5% 1.5rem;
    margin-top: 4rem;
}

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

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

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

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

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

/* Responsive Design - Mobile First Approach */

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

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

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

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

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

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

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

    .footer-section {
        flex: 1 1 30%;
    }

    .nav-links {
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

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

    .cookie-content {
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .nav-links {
        gap: 1rem;
    }

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

    .hero-title {
        font-size: 2rem;
    }

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

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-content {
        text-align: center;
        justify-content: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}