/* ============================================
   Toddler Town LLC — Brand Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6E0)
   Fonts: Cormorant Garamond + Manrope
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #9A4452;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-mid: #EFD8CF;
    --cream: #FDF9F7;
    --white: #FFFFFF;
    --text-dark: #2A1F22;
    --text-mid: #5C4A4E;
    --text-light: #8A7579;
    --line: #E8D5CF;
    --line-light: #F0E0DA;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    --nav-h: 72px;
    --container: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 100;
    font-size: 14px;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 50;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
    background-color: rgba(253, 249, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--burgundy);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-menu a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--burgundy);
    transition: width 0.25s ease;
}

.nav-menu a:hover {
    color: var(--burgundy);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: var(--burgundy) !important;
    border: 1px solid var(--burgundy) !important;
    border-radius: 100px;
    padding: 8px 20px;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--burgundy) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 60;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
    padding-top: var(--nav-h);
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--cream);
    overflow: hidden;
}

.hero-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
}

.hero-text {
    padding-right: 16px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--burgundy);
}

.hero-desc {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-mid);
    max-width: 480px;
    margin-bottom: 36px;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blush-mid);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 600 / 760;
    background: var(--blush);
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    opacity: 0.3;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 100px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--burgundy-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(123, 45, 59, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.btn-ghost-dark {
    background: transparent;
    color: var(--burgundy);
    border: 1px solid var(--burgundy);
}

.btn-ghost-dark:hover {
    background: var(--burgundy);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-mid);
    max-width: 560px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--white);
}

.services-header {
    margin-bottom: 64px;
}

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

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--blush-mid);
    box-shadow: 0 8px 32px rgba(123, 45, 59, 0.06);
    transform: translateY(-4px);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--blush-light);
    color: var(--burgundy);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-mid);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 560 / 640;
    background: var(--blush);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-desc {
    margin-bottom: 32px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--burgundy);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--line);
}

/* ============================================
   WHY US
   ============================================ */
.why {
    padding: 120px 0;
    background: var(--burgundy);
    color: var(--white);
}

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

.why-header .section-eyebrow {
    color: var(--blush-mid);
}

.why-header .section-title {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
}

.why-item {
    padding-top: 0;
}

.why-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    color: var(--blush);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
}

.why-item h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.why-item p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--blush);
    opacity: 0.8;
    max-width: 400px;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
    padding: 100px 0;
    background: var(--blush-light);
}

.testimonial-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    margin-bottom: 32px;
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.testimonial-author {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 100px 0;
    background: var(--cream);
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-inner .section-title {
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 36px;
}

.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: 64px;
}

.contact-info .section-desc {
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    color: var(--text-mid);
    transition: color 0.2s ease;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--burgundy);
}

.contact-item a:hover {
    color: var(--burgundy);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line-light);
}

/* Form */
.contact-form-wrap {
    background: var(--blush-light);
    border-radius: var(--radius);
    padding: 48px;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--blush-mid);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--burgundy);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 0;
    background: var(--text-dark);
    color: var(--blush);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

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

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--blush);
    opacity: 0.6;
    max-width: 280px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--blush);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

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

.footer-contact a {
    font-size: 14px;
    color: var(--blush);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-contact a:hover {
    opacity: 1;
}

.footer-contact span {
    font-size: 14px;
    color: var(--blush);
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 224, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--blush);
    opacity: 0.4;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero-text {
        padding-right: 0;
        order: 1;
    }

    .hero-image {
        order: 2;
        max-width: 500px;
    }

    .hero-headline {
        font-size: clamp(32px, 6vw, 52px);
    }

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

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

    .about-image {
        max-width: 480px;
        aspect-ratio: 480 / 540;
    }

    .why-grid {
        gap: 40px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 64px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -8px 0 32px rgba(0,0,0,0.08);
        z-index: 55;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(42, 31, 34, 0.3);
        z-index: 54;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .nav-overlay.visible {
        opacity: 1;
        pointer-events: all;
    }

    .hero-layout {
        padding: 40px 24px 60px;
    }

    .hero-img-wrap {
        aspect-ratio: 4 / 5;
    }

    .services {
        padding: 80px 0;
    }

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

    .service-card {
        padding: 28px 24px;
    }

    .about {
        padding: 80px 0;
    }

    .why {
        padding: 80px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .why-number {
        font-size: 36px;
    }

    .testimonial {
        padding: 80px 0;
    }

    .cta {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }

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

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    .cta-actions .btn {
        width: 100%;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }
}
