/* 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, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Navigation */
.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Editorial Layout - Narrow Centered Content */
.editorial-layout {
    background-color: #ffffff;
}

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

/* Hero Editorial Style */
.hero-editorial {
    padding: 4rem 0 3rem;
    background-color: #fafafa;
}

.hero-content-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-editorial h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-image {
    margin-top: 2.5rem;
    border-radius: 4px;
    width: 100%;
}

/* Story Sections */
.story-section {
    padding: 3rem 0;
}

.content-narrow h2 {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
    margin: 2.5rem 0 1.2rem;
}

.content-narrow h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem;
}

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

.content-narrow ul,
.content-narrow ol {
    margin: 1.5rem 0 1.5rem 1.8rem;
    line-height: 1.8;
}

.content-narrow li {
    font-size: 1.05rem;
    color: #374151;
    margin-bottom: 0.7rem;
}

.content-narrow li strong {
    color: #1f2937;
    font-weight: 600;
}

/* Inline Images in Content */
.image-inline {
    margin: 2.5rem 0;
}

.image-inline img {
    border-radius: 4px;
    width: 100%;
}

.content-image {
    margin: 2.5rem 0;
    border-radius: 4px;
    width: 100%;
}

/* Inline CTA Sections */
.inline-cta-section {
    background-color: #f9fafb;
    padding: 3rem 0;
    margin: 3rem 0;
}

.cta-box-inline {
    background-color: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-radius: 4px;
}

.cta-box-inline h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.cta-box-inline p {
    color: #4b5563;
    margin-bottom: 1.2rem;
}

/* Trust Markers */
.trust-section {
    padding: 2rem 0;
}

.trust-marker {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.trust-marker p {
    font-size: 1rem;
    color: #78350f;
    margin: 0;
}

/* Services Editorial Style */
.services-editorial {
    padding: 3rem 0;
    background-color: #fafafa;
}

.service-cards-editorial {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 0 1.5rem;
}

.service-card-edit {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
}

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

.service-card-edit h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card-edit p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.duration {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.price {
    font-size: 1.8rem;
    color: #111827;
    font-weight: 700;
}

/* Testimonials Editorial */
.testimonials-editorial {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.testimonial-quote {
    border-left: 4px solid #10b981;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background-color: #ffffff;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    border-radius: 4px;
}

.testimonial-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-primary-large {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 1.1rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary-large:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #2563eb;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid #2563eb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease forwards 1s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sticky-cta-btn {
    background-color: #10b981;
    color: #ffffff;
    padding: 1rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.sticky-cta-btn:hover {
    background-color: #059669;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Forms */
.booking-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.booking-form {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2.5rem;
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    background-color: #2563eb;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

/* Page Headers */
.page-header-narrow {
    background-color: #fafafa;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.page-header-narrow h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}

/* Services Detail Page */
.services-detail-section {
    padding: 2rem 0;
}

.service-detail-card {
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-header h2 {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.service-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.age-range {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    background-color: #f3f4f6;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.price-large {
    font-size: 2.2rem;
    color: #111827;
    font-weight: 800;
}

.service-image {
    border-radius: 6px;
    margin: 2rem 0;
    width: 100%;
}

.cta-inline {
    margin-top: 2rem;
}

/* Comparison Grid */
.comparison-section {
    padding: 3rem 0;
}

.comparison-grid {
    margin: 2rem 0;
}

.comparison-item {
    background-color: #f9fafb;
    border-left: 3px solid #10b981;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.comparison-item h3 {
    font-size: 1.1rem;
    color: #1f2937;
    margin: 0 0 0.8rem 0;
    font-weight: 600;
}

.comparison-item p {
    font-size: 1rem;
    color: #4b5563;
    margin: 0;
}

/* Contact Page */
.contact-section {
    padding: 3rem 0;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0 3rem;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.contact-info-block h2 {
    font-size: 1.3rem;
    color: #111827;
    margin-bottom: 0.8rem;
}

.contact-info-block p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

.contact-info-block a {
    color: #2563eb;
    font-weight: 600;
}

.contact-content {
    margin-top: 2rem;
}

/* Thanks Page */
.thanks-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.thanks-container {
    text-align: center;
}

.thanks-container h1 {
    font-size: 2.2rem;
    color: #111827;
    margin-bottom: 2rem;
}

.success-message {
    margin: 2rem 0 3rem;
}

.success-message svg {
    margin: 0 auto 1.5rem;
}

.success-message h2 {
    font-size: 1.5rem;
    color: #10b981;
    margin: 0;
}

.thanks-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}

.next-steps {
    margin: 2.5rem 0;
}

.step {
    background-color: #f9fafb;
    border-left: 3px solid #2563eb;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.step h3 {
    font-size: 1.2rem;
    color: #111827;
    margin-bottom: 0.8rem;
}

.step p {
    font-size: 1rem;
    color: #4b5563;
    margin: 0;
}

.important-info {
    background-color: #fef3c7;
    border-left: 3px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.important-info h3 {
    font-size: 1.2rem;
    color: #92400e;
    margin-bottom: 1rem;
}

.important-info p {
    font-size: 1rem;
    color: #78350f;
    margin-bottom: 0.8rem;
}

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

.service-confirmation {
    background-color: #eff6ff;
    border-left: 3px solid #2563eb;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.service-confirmation.hidden {
    display: none;
}

.service-confirmation h3 {
    font-size: 1.2rem;
    color: #1e40af;
    margin-bottom: 0.8rem;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.resource-link {
    background-color: #f3f4f6;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    color: #2563eb;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.resource-link:hover {
    background-color: #e5e7eb;
}

.return-home {
    margin-top: 3rem;
    text-align: center;
}

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

.last-updated {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.5rem;
}

.legal-page .content-narrow h2 {
    margin-top: 3rem;
}

.legal-page .content-narrow h3 {
    margin-top: 2rem;
}

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

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

.cookie-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.cookie-table td {
    color: #4b5563;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
}

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

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

.faq-item h3 {
    font-size: 1.2rem;
    color: #111827;
    margin-bottom: 0.8rem;
}

.faq-item p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.4s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

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

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.btn-cookie {
    background-color: #10b981;
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.btn-cookie-alt {
    background-color: transparent;
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-alt:hover {
    background-color: #374151;
}

/* Footer */
.main-footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

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

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

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

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #9ca3af;
}

.footer-section a {
    display: block;
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Final CTA Section */
.final-cta-section {
    padding: 3rem 0;
}

.final-cta-box {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 8px;
    text-align: center;
}

.final-cta-box h2 {
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.final-cta-box p {
    color: #e0e7ff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Methodology Section */
.methodology-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

/* Urgency Section */
.urgency-section {
    padding: 3rem 0;
    background-color: #fef3c7;
    border-top: 3px solid #f59e0b;
    border-bottom: 3px solid #f59e0b;
}

/* CTA Section */
.cta-section {
    padding: 3rem 0;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.2rem;
    }

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

    .hero-editorial {
        padding: 2.5rem 0 2rem;
    }

    .hero-editorial h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .content-narrow {
        padding: 0 1.2rem;
    }

    .content-narrow h2 {
        font-size: 1.6rem;
        margin: 2rem 0 1rem;
    }

    .content-narrow h3 {
        font-size: 1.2rem;
    }

    .content-narrow p {
        font-size: 1rem;
    }

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

    .service-header {
        flex-direction: column;
    }

    .service-meta {
        align-items: flex-start;
    }

    .price-large {
        font-size: 1.8rem;
    }

    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .sticky-cta-btn {
        display: block;
        text-align: center;
        width: 100%;
    }

    .booking-form {
        padding: 1.5rem;
    }

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

    .cookie-buttons {
        justify-content: stretch;
        flex-direction: column;
    }

    .btn-cookie,
    .btn-cookie-alt {
        width: 100%;
        text-align: center;
    }

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

    .cta-box-inline {
        padding: 1.5rem 1.2rem;
    }

    .final-cta-box {
        padding: 2rem 1.5rem;
    }

    .contact-info-grid {
        padding: 1.5rem;
    }

    .cookie-table {
        font-size: 0.85rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.6rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-editorial h1 {
        font-size: 1.7rem;
    }

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

    .service-card-edit {
        padding: 1.5rem;
    }

    .price {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .main-nav,
    .sticky-cta,
    .cookie-banner,
    .main-footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        text-decoration: underline;
        color: #000;
    }
}