/* ============================================
   Let's Play Therapy Center — Stylesheet
   Burgundy + Blush | Editorial Serif
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FBF4F1;
    --blush-dark: #E8CFC4;
    --cream: #FDF8F6;
    --warm-white: #FFFCFA;
    --text-dark: #2A1F22;
    --text-medium: #5C4A4E;
    --text-light: #8A7579;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.06);
    --shadow-md: 0 8px 30px rgba(123, 45, 59, 0.1);
    --shadow-lg: 0 20px 60px rgba(123, 45, 59, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--burgundy-dark);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius);
    z-index: 1000;
    font-size: 0.875rem;
}

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

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

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

/* ---------- Section Eyebrow ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
    display: block;
}

/* ---------- Section Titles ---------- */
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 24px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 560px;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--burgundy);
    color: #fff;
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-outline:hover {
    background-color: var(--burgundy);
    color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--burgundy);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.primary-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width var(--transition);
}

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

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

.btn-nav {
    background: var(--burgundy);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: var(--burgundy-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

/* ---------- Nav Toggle ---------- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 101;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(50%, 50%);
}

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

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(50%, -50%);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.pexels.com/photos/8830486/pexels-photo-8830486.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    background-attachment: fixed;
    margin-top: 0;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 31, 43, 0.88) 0%,
        rgba(123, 45, 59, 0.82) 50%,
        rgba(154, 61, 78, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    display: block;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.hero-actions .btn-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--burgundy);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-wrap:hover img {
    transform: scale(1.03);
}

.about-content p {
    color: var(--text-medium);
    font-size: 1.0625rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--blush-dark);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ---------- Services ---------- */
.services {
    padding: 120px 0;
    background: var(--blush-light);
}

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

.services-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid rgba(123, 45, 59, 0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-card:hover .service-icon {
    background: var(--burgundy);
    color: #fff;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

/* ---------- Approach ---------- */
.approach {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.approach-text p {
    color: var(--text-medium);
    font-size: 1.0625rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.approach-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.approach-image:hover img {
    transform: scale(1.03);
}

/* ---------- Location ---------- */
.location {
    padding: 120px 0;
    background: var(--blush-light);
}

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

.location-info address {
    font-style: normal;
    margin-bottom: 32px;
}

.location-info p {
    color: var(--text-medium);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.location-info a {
    color: var(--burgundy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.location-info a:hover {
    color: var(--burgundy-dark);
}

.hours h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.hours ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours li {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--blush-dark);
    font-size: 0.9375rem;
}

.hours li span:first-child {
    color: var(--text-medium);
    font-weight: 500;
}

.hours li span:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: var(--burgundy);
}

.contact .section-eyebrow {
    color: var(--blush);
}

.contact .section-title {
    color: #fff;
}

.contact .section-title em {
    color: var(--blush);
}

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

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.contact-item svg {
    color: var(--blush);
    flex-shrink: 0;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

.contact-item a:hover {
    color: #fff;
}

/* ---------- Form ---------- */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1.5px solid var(--blush-dark);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--blush-light);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.1);
}

.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;
    margin-top: 8px;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
    color: var(--burgundy);
}

.form-success svg {
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--burgundy);
}

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

/* ---------- Footer ---------- */
.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo-mark {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .approach-content,
    .location-grid,
    .contact-grid {
        gap: 48px;
    }

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

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

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

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--warm-white);
        box-shadow: var(--shadow-lg);
        padding: 100px 32px 40px;
        transition: right var(--transition);
        z-index: 99;
    }

    .primary-nav.open {
        right: 0;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .primary-nav a {
        font-size: 1.125rem;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 98;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
    }

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

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .about-grid,
    .approach-content,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap,
    .approach-image {
        order: -1;
    }

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

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

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

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

    .about-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

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

    .hero-content {
        padding: 100px 16px 60px;
    }

    .about,
    .services,
    .approach,
    .location,
    .contact {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.875rem;
    }
}
