/* ========================================
   Little House Daycare — Stylesheet
   Classic & Elegant · Charcoal + Coral
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #3D4045;
    background-color: #FAFAF8;
    -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: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.25;
    color: #2A2C2F;
}

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

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---- Skip Link ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #2A2C2F;
    color: #FAFAF8;
    padding: 8px 16px;
    z-index: 1000;
    border-radius: 4px;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background-color: #E8636F;
    color: #FAFAF8;
    border-color: #E8636F;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background-color: #D45561;
    border-color: #D45561;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 99, 111, 0.3);
}

.btn--ghost {
    background-color: transparent;
    color: #3D4045;
    border-color: #C8C5BD;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: #3D4045;
    background-color: #F0EFEB;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E8E6E1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* ---- Logo ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #2A2C2F;
    letter-spacing: -0.01em;
}

.logo-tag {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #E8636F;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    align-self: flex-end;
    margin-bottom: 3px;
}

.logo--footer .logo-text {
    color: #FAFAF8;
}

.logo--footer .logo-tag {
    color: #E8636F;
}

/* ---- Navigation ---- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #3D4045;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background-color: #3D4045;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu li a {
    font-size: 14px;
    font-weight: 500;
    color: #3D4045;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu li a:not(.btn):hover {
    color: #E8636F;
}

.nav-menu li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #E8636F;
    transition: width 0.25s ease;
}

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

/* ---- Hero ---- */
.hero {
    background-color: #FAFAF8;
    padding: 80px 0 100px;
    overflow: hidden;
}

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

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E8636F;
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    color: #2A2C2F;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-subheadline {
    font-size: 17px;
    line-height: 1.75;
    color: #5C5F63;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5C5F63;
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.hero-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background-color: #E8636F;
    border-radius: 12px;
    z-index: -1;
    opacity: 0.15;
}

.hero-badge {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #2A2C2F;
    color: #FAFAF8;
    padding: 12px 20px;
    border-radius: 8px;
}

.badge-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #A8A59E;
}

.badge-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 500;
}

/* ---- Section Shared ---- */
.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E8636F;
    margin-bottom: 16px;
}

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

.section-title {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    color: #2A2C2F;
    margin-bottom: 24px;
}

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

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

.section-lead {
    font-size: 17px;
    line-height: 1.8;
    color: #5C5F63;
    margin-bottom: 20px;
}

.section-lead--center {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- About ---- */
.about {
    padding: 100px 0;
    background-color: #FAFAF8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-image-group {
    position: relative;
}

.about-image-main {
    border-radius: 12px;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(42, 44, 47, 0.12);
    border: 4px solid #FAFAF8;
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 60px;
    padding: 28px 32px;
    background-color: #2A2C2F;
    border-radius: 12px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: #E8636F;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #A8A59E;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background-color: #4A4D52;
}

.about-content .section-lead {
    margin-bottom: 16px;
}

.about-content p {
    font-size: 16px;
    color: #5C5F63;
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-features {
    display: grid;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #3D4045;
    line-height: 1.5;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- Services ---- */
.services {
    padding: 100px 0;
    background-color: #F0EFEB;
}

.services-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

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

.service-card {
    background-color: #FAFAF8;
    border-radius: 12px;
    padding: 40px 36px;
    border: 1px solid #E8E6E1;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #E8636F;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(232, 99, 111, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(232, 99, 111, 0.08);
    border-radius: 12px;
    margin-bottom: 24px;
}

.service-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #2A2C2F;
}

.service-age {
    font-size: 14px;
    color: #E8636F;
    font-weight: 500;
    margin-bottom: 16px;
}

.service-desc {
    font-size: 15px;
    color: #5C5F63;
    line-height: 1.75;
}

/* ---- Environment ---- */
.environment {
    padding: 100px 0;
    background-color: #FAFAF8;
}

.environment-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.environment-content .section-lead {
    margin-bottom: 40px;
}

.environment-features {
    display: grid;
    gap: 32px;
}

.env-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.env-feature-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #E8636F;
    line-height: 1;
    opacity: 0.6;
    flex-shrink: 0;
    width: 36px;
}

.env-feature-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    color: #2A2C2F;
    margin-bottom: 6px;
}

.env-feature-desc {
    font-size: 15px;
    color: #5C5F63;
    line-height: 1.7;
}

.env-img-group {
    display: grid;
    gap: 20px;
}

.env-img-group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ---- Philosophy ---- */
.philosophy {
    padding: 100px 0;
    background-color: #2A2C2F;
}

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

.philosophy-content .section-lead {
    color: #A8A59E;
}

.philosophy-text {
    font-size: 16px;
    color: #A8A59E;
    line-height: 1.85;
    margin-bottom: 20px;
}

.philosophy-values {
    display: grid;
    gap: 24px;
}

.value-card {
    padding: 28px 32px;
    background-color: rgba(250, 250, 248, 0.04);
    border: 1px solid rgba(250, 250, 248, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-card:hover {
    background-color: rgba(250, 250, 248, 0.07);
    border-color: rgba(232, 99, 111, 0.3);
}

.value-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    font-weight: 600;
    color: #E8636F;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 10px;
}

.value-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: #FAFAF8;
    margin-bottom: 8px;
}

.value-desc {
    font-size: 15px;
    color: #A8A59E;
    line-height: 1.7;
}

/* ---- Contact ---- */
.contact {
    padding: 100px 0;
    background-color: #F0EFEB;
}

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

.contact-intro {
    font-size: 17px;
    color: #5C5F63;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: grid;
    gap: 28px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(232, 99, 111, 0.08);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8A8780;
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 15px;
    color: #3D4045;
    line-height: 1.6;
}

.contact-value a {
    color: #E8636F;
    transition: color 0.2s ease;
}

.contact-value a:hover {
    color: #D45561;
}

/* ---- Contact Form ---- */
.contact-form-wrapper {
    background-color: #FAFAF8;
    border-radius: 16px;
    padding: 44px 40px;
    border: 1px solid #E8E6E1;
    box-shadow: 0 8px 32px rgba(42, 44, 47, 0.06);
}

.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 500;
    color: #2A2C2F;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 15px;
    color: #5C5F63;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #3D4045;
    margin-bottom: 7px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #3D4045;
    background-color: #FAFAF8;
    border: 1.5px solid #E8E6E1;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A8A59E;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #E8636F;
    box-shadow: 0 0 0 3px rgba(232, 99, 111, 0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background-color: #F0F7F4;
    border: 1px solid #C8E6D6;
    border-radius: 8px;
    color: #2D6A4F;
    font-size: 15px;
}

.form-success p {
    margin: 0;
}

/* ---- Footer ---- */
.site-footer {
    background-color: #2A2C2F;
    color: #A8A59E;
    padding: 64px 0 0;
}

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

.footer-desc {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 16px;
    max-width: 280px;
    color: #8A8780;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FAFAF8;
    margin-bottom: 20px;
}

.footer-links ul {
    display: grid;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #8A8780;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #E8636F;
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 4px;
}

.footer-contact a {
    color: #E8636F;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #F0A8B0;
}

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

.footer-bottom p {
    font-size: 13px;
    color: #6B6862;
}

.footer-bottom a {
    color: #E8636F;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .about-grid,
    .environment-split,
    .philosophy-inner,
    .contact-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background-color: #FAFAF8;
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid #E8E6E1;
        box-shadow: 0 16px 32px rgba(42, 44, 47, 0.08);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #F0EFEB;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
    }
    
    .nav-menu li a:not(.btn)::after {
        display: none;
    }
    
    .nav-menu li .btn {
        text-align: center;
        justify-content: center;
        margin-top: 8px;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper {
        max-height: 400px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .about-image-secondary {
        right: 0;
        bottom: -24px;
    }
    
    .about-stats {
        margin-top: 48px;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .environment {
        padding: 80px 0;
    }
    
    .environment-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .philosophy {
        padding: 80px 0;
    }
    
    .philosophy-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 13px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .stat-divider {
        width: 48px;
        height: 1px;
    }
}

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