/* 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;
}

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

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

a:hover {
    color: #1e40af;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1e293b;
    color: #ffffff;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

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

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

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

.btn-accept,
.btn-reject {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

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

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

/* Navigation - Minimal Style for Editorial Archetype */
.nav-minimal {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

/* Narrow Content - Core Editorial Style */
.narrow-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Styles */
.story-hero {
    padding: 4rem 0 3rem;
}

.hero-image-wrapper {
    margin-bottom: 2.5rem;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-text-center {
    text-align: center;
}

.hero-text-center h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.lead-intro {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.5rem;
}

/* Page Hero - Simpler Version */
.page-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

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

.story-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    letter-spacing: -0.02em;
}

.story-section h2:first-child {
    margin-top: 0;
}

.story-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.story-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.story-section p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #334155;
}

.section-intro {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 2rem;
}

/* Background Variations */
.grey-bg {
    background-color: #f8fafc;
}

.accent-bg {
    background-color: #f1f5f9;
}

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

.inline-image img {
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.inline-image figcaption {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    text-align: center;
}

/* Insight Box */
.insight-box {
    background-color: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-radius: 4px;
}

.insight-box h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1e40af;
}

.insight-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Inline CTA */
.inline-cta {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 2px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.inline-cta:hover {
    color: #1e40af;
    border-color: #1e40af;
}

/* Stage Cards */
.stage-card {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.stage-card h3 {
    margin-top: 0;
}

.stage-card img {
    margin-top: 1.5rem;
    border-radius: 6px;
}

/* Story CTA */
.story-cta {
    text-align: center;
    padding: 2rem 0;
    margin: 2rem 0;
}

.story-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #475569;
}

/* Testimonials Inline */
.testimonial-inline {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #f8fafc;
    border-left: 4px solid #94a3b8;
    font-style: italic;
    border-radius: 4px;
}

.testimonial-inline p {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 1rem;
}

.testimonial-inline cite {
    font-style: normal;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

/* Lists */
.story-list {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.story-list li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: #334155;
}

/* Service Cards */
.service-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.service-card.featured {
    border: 2px solid #2563eb;
    background-color: #eff6ff;
}

.age-range,
.programme-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1rem;
}

.age-badge {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.5rem 0;
}

.programme-details {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.detail-item {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-submit,
.btn-select,
.btn-footer-cta {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    border-color: #94a3b8;
}

.btn-submit,
.btn-select {
    background-color: #16a34a;
    color: #ffffff;
    width: 100%;
}

.btn-submit:hover,
.btn-select:hover {
    background-color: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-footer-cta {
    background-color: #ffffff;
    color: #1e293b;
    border: 2px solid #ffffff;
}

.btn-footer-cta:hover {
    background-color: transparent;
    color: #ffffff;
}

/* Stats Inline */
.stats-inline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    display: block;
}

/* Forms */
.form-section {
    background-color: #f8fafc;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #334155;
    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 #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.faq-item h3 {
    font-size: 1.2rem;
    color: #1e293b;
}

/* Values List */
.values-list {
    margin: 2rem 0;
}

.values-list ul {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.values-list li:last-child {
    border-bottom: none;
}

/* CTA Box */
.cta-box {
    background-color: #eff6ff;
    border: 2px solid #2563eb;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    margin-top: 0;
    color: #1e40af;
}

.guarantee-box {
    background-color: #ecfdf5;
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.guarantee-box h3 {
    margin-top: 0;
    color: #047857;
}

/* Contact Pages */
.contact-info-block,
.location-card,
.enquiry-block {
    margin: 2rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.contact-info-block h3,
.location-card h3,
.enquiry-block h3 {
    font-size: 1.3rem;
    margin-top: 0;
}

.contact-note {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* Legal Content */
.legal-content ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

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

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

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

.cookie-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

/* Thanks Page */
.thanks-section {
    text-align: center;
    padding: 4rem 0;
}

.thanks-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.thanks-content {
    margin: 3rem 0;
}

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

.next-step h3 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.programme-confirmation {
    background-color: #eff6ff;
    padding: 1rem;
    border-radius: 6px;
    margin: 2rem 0;
    font-weight: 600;
    color: #1e40af;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.thanks-extra {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Footer */
.story-footer {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    text-align: center;
    margin-bottom: 2.5rem;
}

.footer-main p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0;
}

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

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

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

.footer-column a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #334155;
}

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

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

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

    .nav-links {
        gap: 1.5rem;
    }

    .hero-text-center h1 {
        font-size: 2rem;
    }

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

    .story-section h2 {
        font-size: 1.6rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .stats-inline {
        gap: 2rem;
    }

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

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

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

@media (min-width: 768px) {
    .stats-inline {
        flex-direction: row;
        justify-content: space-around;
    }

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

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

    .cookie-buttons {
        flex-shrink: 0;
    }
}