/* 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: #2d3436;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Editorial Navigation */
.editorial-nav {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e8e8e8;
    padding: 1.2rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.brand-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c5f7f;
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: #636e72;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #2c5f7f;
}

/* Editorial Article Layout */
.editorial-article {
    max-width: 100%;
    margin: 0 auto;
}

.article-hero {
    padding: 5rem 2rem 4rem 2rem;
    background: linear-gradient(135deg, #e8f4f8 0%, #f5f8fa 100%);
}

.hero-content-narrow {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-narrow h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-intro {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4a5568;
    font-weight: 400;
}

/* Story Sections */
.story-section {
    padding: 4.5rem 2rem;
}

.story-section.alternate-bg {
    background-color: #fafbfc;
}

.narrow-content {
    max-width: 680px;
    margin: 0 auto;
}

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

.narrow-content h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.narrow-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.section-intro {
    font-size: 1.15rem;
    color: #636e72;
    margin-bottom: 2.5rem;
}

/* Inline Images */
.inline-image-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.inline-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Insight Blocks */
.insight-block {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e8e8e8;
}

.insight-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.insight-block h3 {
    margin-top: 0;
}

/* Quote Box */
.quote-box {
    padding: 2.5rem;
    background-color: #f8fafb;
    border-left: 4px solid #3a7ca5;
    margin: 3rem 0;
}

.quote-box p {
    font-size: 1.2rem;
    font-style: italic;
    color: #2d3436;
    margin-bottom: 1rem;
}

.quote-box cite {
    font-style: normal;
    color: #636e72;
    font-size: 0.95rem;
}

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

.cta-link {
    display: inline-block;
    color: #2c5f7f;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 0;
    border-bottom: 2px solid #3a7ca5;
    transition: all 0.2s ease;
}

.cta-link:hover {
    color: #1a4d6b;
    border-bottom-color: #1a4d6b;
}

/* Services Editorial Style */
.service-editorial {
    margin-bottom: 4rem;
    padding: 2.5rem 0;
    border-bottom: 2px solid #e8e8e8;
    position: relative;
}

.service-editorial.featured {
    background-color: #f8fafb;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 2px solid #3a7ca5;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background-color: #2c5f7f;
    color: #ffffff;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
}

.service-editorial h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.service-tagline {
    font-size: 1.05rem;
    color: #636e72;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.service-editorial h4 {
    font-size: 1.1rem;
    color: #2d3436;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-details {
    list-style: none;
    margin: 1.5rem 0;
}

.service-details li {
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5568;
}

.service-details li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3a7ca5;
    font-weight: 700;
    font-size: 1.2rem;
}

.service-price-editorial {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin: 2rem 0 1.5rem 0;
}

.price-label {
    font-size: 1rem;
    color: #636e72;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5f7f;
}

/* Buttons */
.btn-select-service,
.btn-primary,
.btn-submit {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3a7ca5;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-select-service:hover,
.btn-primary:hover,
.btn-submit:hover {
    background-color: #2c5f7f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 124, 165, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: #3a7ca5;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #3a7ca5;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #3a7ca5;
    color: #ffffff;
}

/* Stats Inline */
.stats-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    margin: 3rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5f7f;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #636e72;
    display: block;
}

/* Form Section */
.form-section {
    background-color: #f8fafb;
}

.selected-service-box {
    background-color: #e8f4f8;
    border: 2px solid #3a7ca5;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.selected-service-box.hidden {
    display: none;
}

.selected-service-box p {
    margin-bottom: 0.5rem;
}

/* Editorial Form */
.editorial-form {
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    margin-top: 0;
}

/* Contact Blocks */
.contact-block {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e8e8e8;
}

.contact-block:last-child {
    border-bottom: none;
}

.contact-detail {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c5f7f;
}

.contact-note {
    font-size: 0.95rem;
    color: #636e72;
    font-style: italic;
    margin-top: 0.5rem;
}

.hours-list {
    list-style: none;
    margin: 1rem 0;
}

.hours-list li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

/* Timeline Steps */
.timeline-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #3a7ca5;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-content h3 {
    margin-top: 0;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.step-content p {
    margin-bottom: 0;
}

/* Process Steps */
.process-step {
    margin-bottom: 2.5rem;
    padding-left: 2rem;
    border-left: 3px solid #3a7ca5;
}

.process-step h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    font-size: 1.05rem;
}

.feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3a7ca5;
    font-weight: 700;
}

/* Action List */
.action-list {
    list-style: none;
    margin: 2rem 0;
}

.action-list li {
    padding: 1rem;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    background-color: #f8fafb;
    border-radius: 6px;
    position: relative;
    font-size: 1.05rem;
}

.action-list li:before {
    content: "□";
    position: absolute;
    left: 1rem;
    color: #3a7ca5;
    font-size: 1.3rem;
}

/* Thanks Page Specific */
.thanks-page .thanks-hero {
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.thanks-intro {
    font-size: 1.15rem;
    color: #4a5568;
}

.service-confirmation {
    padding: 2rem;
    background-color: #e8f4f8;
    border-radius: 8px;
}

.thanks-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.contact-reminder {
    background-color: #f8fafb;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3a7ca5;
}

/* Contact CTA Box */
.contact-cta-box {
    background-color: #e8f4f8;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.contact-cta-box p {
    margin-bottom: 1.5rem;
}

/* Resource List */
.resource-list {
    list-style: none;
    margin: 1.5rem 0;
}

.resource-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.resource-list a {
    color: #3a7ca5;
    text-decoration: underline;
}

/* Principle Blocks */
.principle-block {
    margin-bottom: 2.5rem;
}

.principle-block h3 {
    margin-top: 0;
}

/* Legal Pages */
.legal-page {
    padding: 3rem 2rem;
}

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

.last-updated {
    font-size: 0.95rem;
    color: #636e72;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #2d3436;
}

.legal-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: #2d3436;
}

.legal-section p,
.legal-section ul {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1rem;
}

.legal-section ul {
    padding-left: 2rem;
}

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

/* Cookie Table */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

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

.cookie-table thead {
    background-color: #f8fafb;
}

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

.cookie-table th {
    font-weight: 600;
    color: #2d3436;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(45, 52, 54, 0.97);
    color: #ffffff;
    padding: 1.5rem;
    z-index: 2000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.cookie-banner.hidden {
    display: none;
}

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

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

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

.btn-cookie,
.btn-cookie-alt {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cookie {
    background-color: #3a7ca5;
    color: #ffffff;
}

.btn-cookie:hover {
    background-color: #2c5f7f;
}

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

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.sticky-cta-btn {
    display: inline-block;
    padding: 1rem 1.8rem;
    background-color: #3a7ca5;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(58, 124, 165, 0.4);
    transition: all 0.3s ease;
}

.sticky-cta-btn:hover {
    background-color: #2c5f7f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 124, 165, 0.5);
}

/* Floating Service Box */
.floating-service-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 320px;
}

.floating-service-box p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.floating-service-box .btn-primary {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 0.8rem;
}

/* Footer */
.site-footer {
    background-color: #2d3436;
    color: #b2bec3;
    padding: 3rem 2rem 1.5rem 2rem;
}

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

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

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

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

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

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

.footer-section a {
    color: #b2bec3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content-narrow h1 {
        font-size: 2rem;
    }

    .hero-intro {
        font-size: 1.1rem;
    }

    .article-hero {
        padding: 3rem 1.5rem 2.5rem 1.5rem;
    }

    .story-section {
        padding: 3rem 1.5rem;
    }

    .narrow-content h2 {
        font-size: 1.6rem;
    }

    .service-editorial.featured {
        padding: 2rem 1.5rem;
    }

    .stats-inline {
        gap: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .sticky-cta {
        bottom: 10px;
        right: 10px;
    }

    .sticky-cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-step {
        flex-direction: column;
        gap: 1rem;
    }

    .thanks-cta {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .hero-content-narrow h1 {
        font-size: 1.7rem;
    }

    .price-value {
        font-size: 1.7rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .floating-service-box {
        max-width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}