/* ============================================
   Sunshine Pediatric Therapy — Styles
   Classic & Elegant | Forest Green + Off-White
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2C3E35;
    background-color: #FDFCFA;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Crimson Text', Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
    color: #1A3A28;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #2D5A3D;
    color: #F5F0E8;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn--primary {
    background: #2D5A3D;
    color: #F5F0E8;
    border-color: #2D5A3D;
}

.btn--primary:hover {
    background: #1A3A28;
    border-color: #1A3A28;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.3);
}

.btn--ghost {
    background: transparent;
    color: #2D5A3D;
    border-color: #2D5A3D;
}

.btn--ghost:hover {
    background: #2D5A3D;
    color: #F5F0E8;
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: #2D5A3D;
    border-color: #2D5A3D;
}

.btn--outline:hover {
    background: #2D5A3D;
    color: #F5F0E8;
}

.btn--large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Section Headers --- */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C9A96E;
    margin-bottom: 0.75rem;
}

.section-eyebrow--light {
    color: #C9A96E;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: #1A3A28;
}

.section-title--light {
    color: #F5F0E8;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #5A6B63;
    max-width: 600px;
    line-height: 1.8;
}

.section-subtitle--light {
    color: #D4CFC4;
}

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

.section-header--light {
    padding: 4rem 0 3rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 61, 0.08);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(45, 90, 61, 0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo__icon {
    flex-shrink: 0;
}

.logo__text {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1A3A28;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.logo--footer .logo__text {
    color: #F5F0E8;
}

/* --- Navigation --- */
.nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #2C3E35;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    position: relative;
}

.nav__link:hover {
    color: #2D5A3D;
    background: rgba(45, 90, 61, 0.06);
}

.nav__link--cta {
    background: #2D5A3D;
    color: #F5F0E8 !important;
    margin-left: 0.5rem;
}

.nav__link--cta:hover {
    background: #1A3A28;
}

/* --- Nav Toggle --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle__line {
    display: block;
    width: 24px;
    height: 2px;
    background: #2D5A3D;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding-top: 100px;
    padding-bottom: 0;
    background: linear-gradient(135deg, #FDFCFA 0%, #F5F0E8 100%);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C9A96E;
    margin-bottom: 1rem;
}

.hero__headline {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    color: #1A3A28;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero__subheadline {
    font-size: 1.125rem;
    color: #5A6B63;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2C3E35;
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(45, 90, 61, 0.15);
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: #C9A96E;
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 6rem 0;
    background: #FDFCFA;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #FDFCFA;
    border: 1px solid rgba(45, 90, 61, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2D5A3D, #C9A96E);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(45, 90, 61, 0.1);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    margin-bottom: 1.5rem;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1A3A28;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: #5A6B63;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-card__list li {
    font-size: 0.875rem;
    color: #2C3E35;
    padding-left: 1.25rem;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 6px;
    height: 6px;
    background: #C9A96E;
    border-radius: 50%;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 6rem 0;
    background: #F5F0E8;
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(45, 90, 61, 0.12);
}

.about__image-main img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    display: block;
}

.about__image-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(45, 90, 61, 0.15);
    border: 4px solid #F5F0E8;
}

.about__image-secondary img {
    width: 300px;
    height: 240px;
    object-fit: cover;
    display: block;
}

.about__badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: #2D5A3D;
    color: #F5F0E8;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.25);
}

.about__content {
    padding: 1rem 0;
}

.about__text {
    font-size: 1.0625rem;
    color: #5A6B63;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about__values {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-item__mark {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(45, 90, 61, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item__title {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.1875rem;
    font-weight: 600;
    color: #1A3A28;
    margin-bottom: 0.25rem;
}

.value-item__desc {
    font-size: 0.9375rem;
    color: #5A6B63;
    line-height: 1.6;
}

/* ============================================
   APPROACH
   ============================================ */
.approach {
    padding: 6rem 0;
    background: #2D5A3D;
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.approach__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: rgba(201, 169, 110, 0.3);
}

.step__number {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(201, 169, 110, 0.3);
    line-height: 1;
    margin-bottom: 1rem;
}

.step__title {
    font-size: 1.3125rem;
    color: #F5F0E8;
    margin-bottom: 0.75rem;
}

.step__desc {
    font-size: 0.9375rem;
    color: #C4BFA8;
    line-height: 1.75;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 6rem 0;
    background: #FDFCFA;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #F5F0E8;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(45, 90, 61, 0.08);
}

.testimonial-card__quote-mark {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 5rem;
    line-height: 0.8;
    color: #C9A96E;
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    pointer-events: none;
}

.testimonial-card__text {
    font-size: 1rem;
    color: #2C3E35;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card__avatar {
    flex-shrink: 0;
}

.testimonial-card__name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1A3A28;
}

.testimonial-card__location {
    display: block;
    font-size: 0.8125rem;
    color: #7A8B83;
    margin-top: 0.125rem;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F5F0E8 0%, #EDE8D8 100%);
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.cta-banner__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #1A3A28;
    margin-bottom: 0.75rem;
}

.cta-banner__text {
    font-size: 1.0625rem;
    color: #5A6B63;
    max-width: 480px;
    line-height: 1.75;
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-shrink: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 6rem 0;
    background: #FDFCFA;
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact__text {
    font-size: 1.0625rem;
    color: #5A6B63;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(45, 90, 61, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail__label {
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C9A96E;
    margin-bottom: 0.375rem;
}

.contact-detail address {
    font-style: normal;
    font-size: 1rem;
    color: #2C3E35;
    line-height: 1.6;
}

.contact-detail a {
    font-size: 1rem;
    color: #2C3E35;
    transition: color 0.2s;
}

.contact-detail a:hover {
    color: #2D5A3D;
}

.contact__map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.08);
}

/* --- Form --- */
.contact__form-wrapper {
    background: #F5F0E8;
    border-radius: 16px;
    padding: 2.5rem;
}

.contact__form-title {
    font-size: 1.5rem;
    color: #1A3A28;
    margin-bottom: 2rem;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2C3E35;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    color: #2C3E35;
    background: #FDFCFA;
    border: 1.5px solid rgba(45, 90, 61, 0.15);
    border-radius: 8px;
    transition: all 0.25s ease;
    outline: none;
}

.form-input:focus {
    border-color: #2D5A3D;
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.08);
}

.form-input::placeholder {
    color: #A0B0A8;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232D5A3D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(45, 90, 61, 0.06);
    border: 1px solid rgba(45, 90, 61, 0.15);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #2D5A3D;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1A3A28;
    padding: 4rem 0 0;
    color: #C4BFA8;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer__tagline {
    font-size: 0.9375rem;
    color: #A0B0A8;
    margin-top: 0.75rem;
    line-height: 1.6;
}

.footer__heading {
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C9A96E;
    margin-bottom: 1.25rem;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__links a {
    font-size: 0.9375rem;
    color: #C4BFA8;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: #F5F0E8;
}

.footer__contact address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #C4BFA8;
    margin-bottom: 0.75rem;
}

.footer__contact a {
    font-size: 0.9375rem;
    color: #C4BFA8;
    transition: color 0.2s;
}

.footer__contact a:hover {
    color: #F5F0E8;
}

.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: #7A8B83;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__container {
        gap: 2.5rem;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach__steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #FDFCFA;
        padding: 5rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav.open {
        transform: translateX(0);
    }
    
    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    
    .nav__link {
        padding: 0.875rem 1rem;
        font-size: 1.0625rem;
    }
    
    .nav__link--cta {
        margin-left: 0;
        margin-top: 1rem;
        text-align: center;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 3rem;
    }
    
    .hero__image {
        order: -1;
    }
    
    .hero__image-wrapper {
        max-height: 400px;
    }
    
    .hero__image-wrapper img {
        height: 400px;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        justify-content: center;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about__image-secondary {
        right: 0;
        bottom: -30px;
    }
    
    .about__badge {
        left: 0;
        top: -15px;
    }
    
    .approach__steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-banner__actions {
        justify-content: center;
    }
    
    .contact__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero__headline {
        font-size: 1.875rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .contact__form-wrapper {
        padding: 1.75rem;
    }
    
    .about__image-main img {
        height: 400px;
    }
    
    .about__image-secondary {
        width: 200px;
    }
    
    .about__image-secondary img {
        width: 200px;
        height: 160px;
    }
}
