/* ========================================
   Ms Melody's ChildCare — Stylesheet
   Aesthetic: warm, sunlit, soft-modern
   ======================================== */

:root {
    /* Color palette */
    --cream: #FBF6EE;
    --cream-deep: #F5EEE1;
    --sage: #3D5A4A;
    --sage-light: #6B8A78;
    --sage-soft: #C8D5CC;
    --coral: #E8806F;
    --coral-soft: #F4B6A4;
    --coral-pale: #FCE4DC;
    --sunflower: #F4C96B;
    --sunflower-soft: #FCE8B8;
    --ink: #2C2A26;
    --ink-soft: #5A554C;
    --muted: #8B857A;
    --line: rgba(61, 90, 74, 0.12);

    /* Type */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shape */
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --radius-pill: 999px;

    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(61, 90, 74, 0.06);
    --shadow: 0 8px 32px rgba(61, 90, 74, 0.08);
    --shadow-lg: 0 20px 60px rgba(61, 90, 74, 0.12);

    /* Layout */
    --container: 1200px;
    --section-pad: clamp(4rem, 8vw, 7rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

/* ---------- Decorative backgrounds ---------- */
.bg-shapes {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--coral-pale); }
.blob-2 { top: 40%; right: -15%; width: 600px; height: 600px; background: var(--sage-soft); opacity: 0.35; }
.blob-3 { bottom: -20%; left: 20%; width: 500px; height: 500px; background: var(--sunflower-soft); opacity: 0.4; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--sage);
    margin: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

em {
    font-style: italic;
    font-family: var(--font-display);
    color: var(--coral);
    font-variation-settings: "opsz" 144;
}

.section-title em { display: inline-block; }

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 620px;
    line-height: 1.6;
}

/* ---------- Layout helpers ---------- */
.section-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}
.section-header .section-lead { margin: 1rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--sage);
    color: var(--cream);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-ghost {
    background: transparent;
    color: var(--sage);
    border: 2px solid var(--sage);
}
.btn-ghost:hover {
    background: var(--sage);
    color: var(--cream);
}
.btn-block { width: 100%; padding: 1.1rem; }

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 246, 238, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-mark {
    width: 44px;
    height: 44px;
    display: block;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sage);
    letter-spacing: -0.01em;
}
.logo-sub {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-soft);
    position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--sage); }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
    background: var(--coral);
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}
.nav-links .nav-cta:hover {
    background: var(--sage);
    color: var(--cream);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sage);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 7vw, 6rem);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--line);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: 1.25rem;
}
.hero-emph {
    font-style: italic;
    color: var(--coral);
    display: inline-block;
    position: relative;
}
.hero-emph::after {
    content: '';
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: 0.1em;
    height: 0.3em;
    background: var(--sunflower-soft);
    z-index: -1;
    border-radius: 4px;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 520px;
}

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

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.meta-item { display: flex; flex-direction: column; }
.meta-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--sage);
    line-height: 1;
}
.meta-label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.35rem;
    font-weight: 500;
}
.meta-divider {
    width: 1px;
    height: 36px;
    background: var(--line);
}

/* ---------- Hero photo stack ---------- */
.hero-visual { position: relative; }
.photo-stack {
    position: relative;
    aspect-ratio: 1 / 1.1;
    max-width: 520px;
    margin: 0 auto;
}
.photo {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}
.photo-1 {
    top: 0;
    left: 8%;
    width: 62%;
    aspect-ratio: 3 / 4;
    transform: rotate(-3deg);
    z-index: 2;
}
.photo-2 {
    top: 8%;
    right: 0;
    width: 48%;
    aspect-ratio: 1 / 1;
    transform: rotate(4deg);
    z-index: 3;
}
.photo-3 {
    bottom: 0;
    right: 12%;
    width: 54%;
    aspect-ratio: 4 / 3;
    transform: rotate(-2deg);
    z-index: 1;
}
.photo:hover { transform: rotate(0) scale(1.02); z-index: 5; }

/* Real images fill their container (applies when <img> replaces a placeholder) */
.photo img,
.photo-frame img,
.gallery-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder imagery */
.photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    position: relative;
    background: linear-gradient(135deg, var(--coral-soft), var(--sunflower-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.photo-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 45%),
        radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
}
.photo-placeholder::after {
    content: attr(data-label);
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--sage);
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    text-align: center;
    max-width: 80%;
}
/* Vary placeholder gradients */
.gallery-item:nth-child(2) .photo-placeholder { background: linear-gradient(135deg, var(--sage-soft), var(--sunflower-soft)); }
.gallery-item:nth-child(3) .photo-placeholder { background: linear-gradient(135deg, var(--sunflower-soft), var(--coral-pale)); }
.gallery-item:nth-child(4) .photo-placeholder { background: linear-gradient(135deg, var(--coral-pale), var(--sage-soft)); }
.gallery-item:nth-child(5) .photo-placeholder { background: linear-gradient(135deg, var(--sage-soft), var(--coral-soft)); }
.gallery-item:nth-child(6) .photo-placeholder { background: linear-gradient(135deg, var(--sunflower-soft), var(--sage-soft)); }
.gallery-item:nth-child(7) .photo-placeholder { background: linear-gradient(135deg, var(--coral-soft), var(--sage-soft)); }
.photo-2 .photo-placeholder { background: linear-gradient(135deg, var(--sage-soft), var(--sunflower-soft)); }
.photo-3 .photo-placeholder { background: linear-gradient(135deg, var(--sunflower-soft), var(--coral-pale)); }

/* Stickers */
.sticker {
    position: absolute;
    z-index: 4;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}
.sticker-sun {
    top: -4%;
    right: -4%;
    width: 90px;
    animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sticker-heart {
    bottom: 10%;
    left: -4%;
    width: 60px;
    animation: beat 2s ease-in-out infinite;
}
@keyframes beat {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.1); }
    60% { transform: scale(0.95); }
}

/* ---------- Trust strip ---------- */
.trust-strip {
    background: var(--sage);
    color: var(--cream);
    padding: 1.25rem 0;
    overflow: hidden;
}
.trust-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-item {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trust-item span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--coral-soft);
    color: var(--sage);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
}

/* ---------- About ---------- */
.about { padding: var(--section-pad) 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.about-visual {
    position: relative;
    aspect-ratio: 1 / 1;
}
.photo-frame {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.photo-frame-large {
    top: 0; left: 0;
    width: 75%;
    aspect-ratio: 4 / 5;
    transform: rotate(-2deg);
}
.photo-frame-small {
    bottom: 0; right: 0;
    width: 50%;
    aspect-ratio: 1 / 1;
    transform: rotate(3deg);
    border: 8px solid var(--cream);
}
.photo-frame-accent { z-index: 2; }

.about-text p {
    font-size: 1.08rem;
    color: var(--ink-soft);
    line-height: 1.75;
    margin: 1.25rem 0;
}

.pullquote {
    position: relative;
    margin: 2rem 0 0;
    padding: 2rem 2rem 2rem 3rem;
    background: var(--cream-deep);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.45;
    color: var(--sage);
}
.pullquote .quote-mark {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--coral);
    line-height: 1;
}
.pullquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    font-family: var(--font-body);
    color: var(--coral);
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ---------- Programs ---------- */
.programs {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, transparent, var(--cream-deep) 30%, var(--cream-deep) 70%, transparent);
}
.program-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.program-card {
    position: relative;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.program-card-featured {
    background: var(--sage);
    color: var(--cream);
    transform: translateY(-12px);
}
.program-card-featured h3 { color: var(--cream); }
.program-card-featured .program-features li { color: rgba(251, 246, 238, 0.85); }
.program-card-featured .program-features li::before { background: var(--coral-soft); }
.program-card-featured .program-age { color: var(--sunflower); }

.featured-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: var(--coral);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.program-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.program-icon svg { width: 40px; height: 40px; }
.program-icon-1 { background: var(--coral-pale); color: var(--coral); }
.program-icon-2 { background: var(--sunflower-soft); color: var(--coral); }
.program-icon-3 { background: var(--sage-soft); color: var(--sage); }

.program-age {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--coral);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.program-card h3 { margin-bottom: 0.75rem; }
.program-card > p {
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0 0 1.25rem;
}
.program-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.program-features li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.program-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
}

/* ---------- Daily Life / Gallery ---------- */
.daily-life { padding: var(--section-pad) 0; }

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 1rem;
    margin-bottom: 4rem;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.gallery-large { grid-column: span 2; grid-row: span 2; }
.gallery-tall { grid-row: span 2; }

.gallery-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Schedule */
.schedule {
    background: white;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.schedule-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}
.schedule-title span {
    font-style: italic;
    color: var(--coral);
}
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.schedule-item {
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--cream-deep);
    transition: background 0.25s ease;
}
.schedule-item:hover { background: var(--sunflower-soft); }
.schedule-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--coral);
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}
.schedule-activity {
    font-weight: 600;
    color: var(--sage);
}

/* ---------- Philosophy ---------- */
.philosophy {
    padding: var(--section-pad) 0;
    background: var(--sage);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.philosophy::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(244, 201, 107, 0.08);
}
.philosophy::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(232, 128, 111, 0.1);
}
.philosophy .section-inner { position: relative; z-index: 1; }

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.philosophy .section-title { color: var(--cream); }
.philosophy .eyebrow { color: var(--sunflower); }
.philosophy em { color: var(--sunflower); }
.philosophy-intro p {
    color: rgba(251, 246, 238, 0.85);
    font-size: 1.08rem;
    line-height: 1.7;
    margin-top: 1.5rem;
}

.values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.value {
    padding-top: 1rem;
    border-top: 1px solid rgba(251, 246, 238, 0.2);
}
.value-num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--sunflower);
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.value h4 {
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}
.value p {
    color: rgba(251, 246, 238, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonials { padding: var(--section-pad) 0; }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 0;
    position: relative;
    transition: transform 0.3s ease;
}
.testimonial:hover { transform: translateY(-4px); }
.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--coral);
    line-height: 1;
}
.testimonial p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--sage);
    margin: 0 0 1.25rem;
}
.testimonial footer {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--coral);
}

/* ---------- FAQ ---------- */
.faq {
    padding: var(--section-pad) 0;
    background: var(--cream-deep);
}
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--sage);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 3.5rem;
    transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--coral-pale);
    color: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.25s ease;
}
.faq-item[open] summary::after {
    content: '−';
    background: var(--coral);
    color: white;
}
.faq-item summary:hover { color: var(--coral); }
.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact { padding: var(--section-pad) 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.contact-info p {
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 1.25rem 0 2rem;
}
.contact-details {
    display: grid;
    gap: 1.25rem;
}
.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: none; }
.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 0.35rem;
}
.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sage);
    font-family: var(--font-display);
}
.contact-value a:hover { color: var(--coral); }

.contact-form {
    background: white;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1.25rem; }
.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-row label {
    display: block;
}
.form-row label span {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sage);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--cream);
    transition: all 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--coral);
    background: white;
    box-shadow: 0 0 0 3px var(--coral-pale);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    margin: 1rem 0 0;
}

/* ---------- Map section ---------- */
.map-section {
    max-width: var(--container);
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.map-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    background: var(--cream-deep);
}
.map-wrap iframe {
    display: block;
    width: 100%;
    /* Slight warm filter so the map harmonizes with the palette */
    filter: saturate(0.88) contrast(0.96);
}
.map-directions {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: var(--sage);
    color: var(--cream);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: all 0.25s ease;
}
.map-directions:hover {
    background: var(--coral);
    transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--sage);
    color: rgba(251, 246, 238, 0.8);
    padding: 4rem 0 1.5rem;
    margin-top: 2rem;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--sunflower);
}
.footer .logo-name { color: var(--cream); }
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-col h5 {
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.footer-col a {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: rgba(251, 246, 238, 0.7);
    transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--sunflower); }
.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 0;
    border-top: 1px solid rgba(251, 246, 238, 0.15);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(251, 246, 238, 0.5);
}
.footer-bottom p { margin: 0; }

/* ---------- Entrance animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}
.hero-eyebrow { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-lead { animation-delay: 0.35s; }
.hero-cta { animation-delay: 0.5s; }
.hero-meta { animation-delay: 0.65s; }

.photo {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}
.photo-1 { animation-delay: 0.3s; }
.photo-2 { animation-delay: 0.45s; }
.photo-3 { animation-delay: 0.6s; }

/* Scroll-reveal (JS-toggled) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { max-width: 500px; margin: 2rem auto 0; }
    .about-grid, .philosophy-grid, .contact-grid { grid-template-columns: 1fr; }
    .program-cards { grid-template-columns: 1fr; gap: 1.25rem; }
    .program-card-featured { transform: none; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .values { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        align-items: flex-start;
    }
    .nav-links.is-open { transform: translateY(0); }
    .nav-toggle { display: flex; }

    .hero-title { font-size: 2.25rem; }
    .hero-meta { gap: 1rem; }
    .meta-divider { display: none; }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
    .gallery-large { grid-column: span 2; }
    .gallery-tall { grid-row: span 1; }

    .schedule-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .form-row-split { grid-template-columns: 1fr; }

    .trust-inner { justify-content: center; gap: 1rem; }
    .trust-item { font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .gallery { grid-template-columns: 1fr; }
    .gallery-large, .gallery-tall { grid-column: auto; grid-row: auto; }
    .footer-links { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .btn { width: 100%; }
    .hero-cta { flex-direction: column; }
}

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