/* ============================================
   Little Stars Child Care — Stylesheet
   ============================================ */

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

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #fafaf5;
    --cream-100: #f5f5f0;
    --cream-200: #e8e8df;
    --cream-300: #d4d4c8;
    --text-dark: #1a1a16;
    --text-mid: #3a3a34;
    --text-light: #6b6b60;
    --white: #ffffff;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */

.eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--emerald-900);
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--emerald-700);
}

.section-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-mid);
    max-width: 560px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8125rem;
}

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

.btn-dark {
    background: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}

.btn-dark:hover {
    background: var(--emerald-900);
    border-color: var(--emerald-900);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(6, 95, 70, 0.25);
}

.btn-outline-dark {
    background: transparent;
    color: var(--emerald-800);
    border-color: var(--emerald-800);
}

.btn-outline-dark:hover {
    background: var(--emerald-800);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-cream {
    background: var(--cream-100);
    color: var(--emerald-900);
    border-color: var(--cream-100);
}

.btn-cream:hover {
    background: var(--cream-200);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-outline-cream {
    background: transparent;
    color: var(--cream-50);
    border-color: rgba(250, 250, 245, 0.5);
}

.btn-outline-cream:hover {
    background: var(--cream-50);
    color: var(--emerald-900);
    transform: translateY(-1px);
}

/* ============================================
   Header
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--emerald-900);
    font-weight: 500;
}

.logo-icon {
    color: var(--emerald-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-mid);
    letter-spacing: 0.02em;
    transition: color 0.2s var(--ease);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald-700);
    transition: width 0.3s var(--ease);
}

.nav-links a:not(.btn):hover {
    color: var(--emerald-800);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--emerald-900);
    padding: 4px;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream-50);
    padding: 100px 32px 40px;
    flex-direction: column;
    gap: 0;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-inner a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--emerald-900);
    padding: 12px 0;
    border-bottom: 1px solid var(--cream-200);
    transition: color 0.2s;
}

.mobile-nav-inner a:hover {
    color: var(--emerald-600);
}

/* ============================================
   Hero
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    color: var(--emerald-900);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--emerald-600);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-mid);
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--emerald-900);
    font-weight: 500;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-300);
}

.hero-image-wrap {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 680px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(6, 78, 59, 0.12);
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--emerald-100, #d1fae5);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}

/* ============================================
   Philosophy
   ============================================ */

.philosophy {
    padding: 120px 0;
    background: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.philosophy-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: sticky;
    top: 120px;
}

.thin-line {
    width: 40px;
    height: 1px;
    background: var(--emerald-600);
}

.label-text {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.philosophy-content .section-title {
    margin-bottom: 20px;
}

.philosophy-content .section-body {
    margin-bottom: 48px;
}

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar {
    padding: 28px 0;
    border-top: 1px solid var(--cream-200);
}

.pillar-num {
    display: block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.pillar h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--emerald-900);
    margin-bottom: 8px;
}

.pillar p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ============================================
   Services
   ============================================ */

.services {
    padding: 120px 0;
    background: var(--cream-50);
}

.services .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.services .section-title {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    padding: 40px 36px;
    transition: all 0.35s var(--ease);
}

.service-card:hover {
    border-color: var(--emerald-200, #a7f3d0);
    box-shadow: 0 8px 32px rgba(6, 95, 70, 0.08);
    transform: translateY(-4px);
}

.service-icon {
    color: var(--emerald-700);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--emerald-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Daily Routine
   ============================================ */

.daily {
    padding: 120px 0;
    background: var(--white);
}

.daily-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.daily-image {
    width: 100%;
    height: 720px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.daily-content-col .section-body {
    margin-bottom: 40px;
}

.daily-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.daily-list li {
    display: flex;
    gap: 32px;
    padding: 16px 0;
    border-bottom: 1px solid var(--cream-200);
    align-items: baseline;
}

.day-time {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--emerald-700);
    min-width: 120px;
    letter-spacing: 0.02em;
}

.day-label {
    font-size: 0.95rem;
    color: var(--text-mid);
}

/* ============================================
   About
   ============================================ */

.about {
    padding: 120px 0;
    background: var(--cream-50);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-body {
    margin-bottom: 20px;
}

.about-content .section-body:last-of-type {
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-mid);
    font-weight: 400;
}

.feature svg {
    color: var(--emerald-700);
    flex-shrink: 0;
}

.about-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

/* ============================================
   CTA
   ============================================ */

.cta {
    padding: 120px 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-eyebrow {
    color: var(--emerald-400, #34d399);
    margin-bottom: 20px;
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-title em {
    font-style: italic;
    color: var(--cream-200);
}

.cta-body {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Contact
   ============================================ */

.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-body {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--emerald-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item .contact-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    color: var(--text-mid);
}

.contact-item a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

/* Form */
.contact-form-wrap {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--cream-300);
    border-radius: 6px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s var(--ease);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 24px;
    text-align: center;
}

.form-success svg {
    color: var(--emerald-700);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--emerald-900);
    font-weight: 500;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   Map
   ============================================ */

.map-section {
    border-top: 1px solid var(--cream-200);
}

.map-frame {
    width: 100%;
    height: 320px;
    filter: saturate(0.6) contrast(1.05);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: var(--emerald-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        height: 480px;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-image-wrap {
        order: -1;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .philosophy-label {
        position: static;
        flex-direction: row;
        align-items: center;
    }

    .label-text {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .daily-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .daily-image,
    .about-image {
        height: 480px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero-stats {
        gap: 20px;
    }

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

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-pillars {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .daily-list li {
        gap: 16px;
        flex-direction: column;
        gap: 4px;
    }

    .day-time {
        min-width: auto;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .philosophy,
    .services,
    .daily,
    .about,
    .cta,
    .contact {
        padding: 80px 0;
    }

    .contact-form-wrap {
        padding: 24px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
