:root {
    --terra-main: #E2725B;
    --terra-light: #F5B7A6;
    --terra-dark: #B84D37;
    --bg-warm: #FEF8F6;
    --text-dark: #4A3B38;
    --text-muted: #7A6965;
    --white: #FFFFFF;
    --radius-round: 50px;
    --radius-soft: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--terra-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--terra-main);
}

.inline-link {
    text-decoration: underline;
    text-decoration-color: var(--terra-light);
    text-decoration-thickness: 3px;
    text-underline-offset: 2px;
}

/* Header */
.sprout-nav-bar {
    position: sticky;
    top: 0;
    background-color: rgba(254, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--terra-light);
}

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

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--terra-dark);
}

.brand-icon {
    font-size: 1.8rem;
}

.nav-links-cluster {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 600;
}

.action-pill-btn {
    background-color: var(--terra-main);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-round);
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: inline-block;
}

.action-pill-btn:hover {
    background-color: var(--terra-dark);
    transform: translateY(-2px);
}

/* Hero */
.hero-sprout-block {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-abstract-shape {
    position: absolute;
    z-index: -1;
    opacity: 0.4;
}

.shape-one {
    background-color: var(--terra-light);
    width: 400px;
    height: 400px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: -50px;
    left: -100px;
}

.shape-two {
    background-color: #fcd5ce;
    width: 300px;
    height: 300px;
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    bottom: -80px;
    right: 5%;
}

.jumbo-headline {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 900;
    color: var(--terra-dark);
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.large-action {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.insurance-noise {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #999;
}

.image-blob-mask {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(226, 114, 91, 0.2);
}

.image-blob-mask img {
    aspect-ratio: 4/5;
}

/* Sections Common */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--terra-dark);
    margin-bottom: 1rem;
}

/* Treatments Module */
.treatments-module {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.treatments-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.cards-asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    grid-auto-rows: minmax(200px, auto);
    margin-bottom: 4rem;
}

.treatment-card {
    background: var(--white);
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.bg-terra-light {
    background-color: var(--terra-light);
}

.treatment-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--terra-dark);
}

.card-body {
    padding: 2rem;
    flex-grow: 1;
}

.card-tall {
    grid-row: span 2;
}

.card-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.card-img {
    height: 100%;
    min-height: 200px;
}

/* FAQ Cluster */
.faq-cluster {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-soft);
    box-shadow: 0 10px 20px rgba(226, 114, 91, 0.05);
}

.faq-title {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--terra-dark);
}

.faq-item {
    border-bottom: 1px solid var(--terra-light);
}

.faq-question-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question-trigger::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--terra-main);
}

.faq-question-trigger.active-faq::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Story Deep Dive */
.story-deep-dive {
    background-color: var(--white);
    padding: 8rem 2rem;
    margin: 4rem 0;
}

.story-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.timeline-marker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--terra-main);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.story-text-column p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.stat-box {
    background: var(--bg-warm);
    padding: 2rem;
    border-radius: var(--radius-soft);
    border-left: 6px solid var(--terra-main);
    margin: 2rem 0;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--terra-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--text-muted);
}

.story-image-column {
    position: relative;
}

.story-image-column img {
    border-radius: var(--radius-soft);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cert-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--terra-dark);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(184, 77, 55, 0.3);
}

/* Parents Cheer */
.parents-cheer {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.cheer-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonial-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.review-bubble {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-soft);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    position: relative;
}

.review-bubble::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 6rem;
    color: var(--bg-warm);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.review-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.reviewer-info span {
    font-weight: 800;
    color: var(--terra-dark);
}

/* Reach Clinic Zone */
.reach-clinic-zone {
    max-width: 1000px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(226, 114, 91, 0.1);
}

.contact-visual {
    position: relative;
}

.contact-visual img {
    height: 100%;
}

.contact-overlay-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: var(--radius-soft);
}

.contact-overlay-card h3 {
    color: var(--terra-dark);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    padding: 4rem 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--bg-warm);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--terra-main);
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
}

/* Footer */
.pedia-footer-base {
    background-color: var(--terra-dark);
    color: var(--bg-warm);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    max-width: 300px;
}

.footer-contact h4,
.footer-links h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-contact a,
.footer-links a {
    color: var(--bg-warm);
    opacity: 0.8;
}

.footer-contact a:hover,
.footer-links a:hover {
    opacity: 1;
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-sprout-block,
    .story-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-abstract-shape {
        display: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .cards-asymmetric-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card-wide {
        grid-template-columns: 1fr;
    }

    .contact-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links-cluster {
        display: none;
    }

    .cards-asymmetric-grid {
        grid-template-columns: 1fr;
    }

    .card-tall,
    .card-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cert-badge {
        width: 100px;
        height: 100px;
        font-size: 0.7rem;
        padding: 1rem;
    }
}
