/* ============================================
   Amazing Kids Daycare — Classic & Elegant
   Plum + Amber Palette
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --plum-50:  #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8d0d9;
    --plum-300: #d4a8b8;
    --plum-400: #c0849a;
    --plum-500: #a35f78;
    --plum-600: #8a4a62;
    --plum-700: #6b3a5d;
    --plum-800: #4a2640;
    --plum-900: #2d1727;
    --plum-950: #1a0e17;

    --amber-50:  #fdf8ef;
    --amber-100: #f9ecce;
    --amber-200: #f2d79a;
    --amber-300: #eabe60;
    --amber-400: #d4a056;
    --amber-500: #b8833a;
    --amber-600: #9a6828;
    --amber-700: #7d521f;
    --amber-800: #624019;
    --amber-900: #4a3114;
    --amber-950: #2a1c0b;

    --cream: #faf8f5;
    --warm-white: #fefcf9;
    --sand: #f0ebe3;
    --sand-light: #f7f3ed;
    --charcoal: #2c2420;
    --text-dark: #1e1612;
    --text-body: #3d3028;
    --text-muted: #6b5c54;
    --text-light: #8a7a72;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 2px rgba(44, 36, 32, 0.04);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.06);
    --shadow-lg: 0 12px 40px rgba(44, 36, 32, 0.08);
    --shadow-xl: 0 24px 60px rgba(44, 36, 32, 0.10);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

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

/* ---------- Page Wrapper ---------- */
.page-wrapper {
    position: relative;
    min-height: 100vh;
}

.side-accent {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 100vh;
    background: linear-gradient(180deg, var(--plum-700) 0%, var(--amber-400) 100%);
    z-index: 9999;
    pointer-events: none;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
}

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

.section-lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 600px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 58, 93, 0.06);
    transition: box-shadow var(--transition-base);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--plum-700);
    width: 36px;
    height: 36px;
    border: 2px solid var(--plum-700);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

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

.main-nav ul {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--plum-700);
    transition: width var(--transition-base);
}

.main-nav a:hover {
    color: var(--plum-700);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--plum-700);
    padding: 8px 16px;
    border: 1.5px solid var(--plum-700);
    border-radius: 100px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--plum-700);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 1001;
}

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

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-700);
    color: #fff;
    border: 2px solid var(--plum-700);
}

.btn-primary:hover {
    background: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(107, 58, 93, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--plum-700);
    border: 2px solid var(--plum-200);
}

.btn-secondary:hover {
    border-color: var(--plum-700);
    background: var(--plum-50);
}

.btn-outline-light {
    background: transparent;
    color: var(--plum-700);
    border: 2px solid var(--plum-300);
}

.btn-outline-light:hover {
    background: var(--plum-700);
    color: #fff;
    border-color: var(--plum-700);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 0.9375rem;
}

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

/* ---------- Hero ---------- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(107, 58, 93, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 86, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1.5px;
    background: var(--amber-400);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-credentials {
    display: flex;
    gap: 24px;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--plum-100);
}

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

.credential-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--plum-700);
    line-height: 1;
}

.credential-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
}

.credential-divider {
    width: 1px;
    height: 40px;
    background: var(--plum-200);
    flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 680px;
}

.hero-image-primary {
    position: absolute;
    top: 0;
    right: 0;
    width: 520px;
    height: 680px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

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

.hero-image-secondary {
    position: absolute;
    bottom: 60px;
    left: -40px;
    width: 320px;
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

.hero-accent-bar {
    position: absolute;
    top: 40px;
    left: -20px;
    width: 60px;
    height: 120px;
    background: linear-gradient(180deg, var(--amber-400) 0%, var(--amber-600) 100%);
    border-radius: var(--radius-sm);
    z-index: -1;
}

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

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

.philosophy-left {
    max-width: 480px;
}

.philosophy-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--plum-700), var(--amber-400));
    margin: 32px 0;
    border-radius: 2px;
}

.philosophy-quote {
    position: relative;
    padding: 28px 0 0;
    border-top: 1px solid var(--plum-100);
}

.philosophy-quote svg {
    color: var(--plum-300);
    margin-bottom: 16px;
}

.philosophy-quote blockquote {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--plum-800);
}

.philosophy-right img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ---------- Programs ---------- */
.programs {
    padding: 120px 0;
    background: var(--cream);
}

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

.programs-lead {
    margin: 0 auto;
}

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

.program-card {
    position: relative;
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(107, 58, 93, 0.08);
    transition: all var(--transition-base);
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-700), var(--amber-400));
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.program-card:hover::before {
    opacity: 1;
}

.program-card-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(107, 58, 93, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.program-card.featured {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: #fff;
}

.program-card.featured .program-age {
    color: var(--amber-300);
}

.program-card.featured .program-name {
    color: #fff;
}

.program-card.featured .program-desc {
    color: var(--plum-200);
}

.program-card.featured .program-features li {
    color: var(--plum-200);
}

.program-card.featured .program-card-accent {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.program-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-700);
    background: var(--amber-100);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.program-age {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 8px;
}

.program-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.program-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-features li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.program-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--amber-400);
    border-radius: 50%;
}

/* ---------- Why Us ---------- */
.why-us {
    padding: 120px 0;
    background: var(--warm-white);
}

.why-us-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
}

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

.why-item {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--cream);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.why-item:hover {
    border-color: var(--plum-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.why-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    color: var(--plum-700);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.why-item:hover .why-icon {
    background: var(--plum-700);
    color: #fff;
}

.why-title {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-item p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.01);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item--wide {
    grid-column: span 8;
    height: 300px;
}

.gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
    height: 240px;
}

.gallery-item--tall {
    grid-column: span 4;
    grid-row: span 2;
    height: 100%;
    min-height: 520px;
}

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

.testimonials-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
}

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

.testimonial-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(107, 58, 93, 0.06);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--plum-200);
    position: absolute;
    top: 16px;
    left: 24px;
    pointer-events: none;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--plum-700);
    font-style: italic;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 100px 0;
    background: var(--plum-900);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 160, 86, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-eyebrow {
    color: var(--amber-400);
}

.cta-title {
    color: #fff;
}

.cta-title em {
    color: var(--amber-300);
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--plum-200);
    max-width: 480px;
}

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

.btn-outline-light {
    border-color: var(--plum-400);
    color: var(--plum-200);
}

.btn-outline-light:hover {
    background: var(--amber-400);
    color: var(--plum-900);
    border-color: var(--amber-400);
}

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

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

.contact-lead {
    margin-bottom: 40px;
}

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

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    color: var(--plum-700);
    flex-shrink: 0;
}

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

.contact-detail-value {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-detail-link {
    display: block;
    font-size: 1rem;
    color: var(--plum-700);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-detail-link:hover {
    color: var(--plum-500);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    width: 100%;
    height: 220px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(107, 58, 93, 0.08);
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1.5px solid var(--plum-100);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: 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(--plum-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(107, 58, 93, 0.08);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    color: var(--plum-800);
}

.form-success svg {
    color: var(--plum-600);
}

.form-success p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--plum-950);
    color: var(--plum-200);
    padding: 64px 0 0;
}

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

.footer-brand .logo-text {
    color: #fff;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--plum-300);
    margin-top: 16px;
    max-width: 280px;
}

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

.footer-nav a {
    font-size: 0.875rem;
    color: var(--plum-300);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--amber-400);
}

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

.footer-phone,
.footer-email {
    font-size: 0.9375rem;
    color: var(--plum-200);
    transition: color var(--transition-fast);
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--amber-400);
}

.footer-address {
    font-size: 0.875rem;
    color: var(--plum-400);
    margin-top: 4px;
}

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

.footer-bottom p:last-child {
    text-align: right;
}

/* ---------- Mobile Navigation Overlay ---------- */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 14, 23, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.visible[data-reveal] {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-image-primary {
        width: 420px;
        height: 560px;
    }

    .hero-image-secondary {
        width: 260px;
        height: 200px;
        left: -20px;
    }

    .hero-visual {
        height: 560px;
    }

    .philosophy-grid {
        gap: 48px;
    }

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

    .programs-grid .program-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .gallery-item--wide {
        grid-column: span 12;
    }

    .gallery-item--tall {
        grid-column: span 6;
        min-height: 300px;
    }

    .gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
        grid-column: span 3;
    }

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

    .cta-actions {
        justify-content: flex-start;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .side-accent {
        width: 3px;
    }

    .header-inner {
        height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        box-shadow: var(--shadow-xl);
        z-index: 1000;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav a {
        font-size: 1.0625rem;
    }

    .nav-cta {
        margin-top: 16px;
    }

    /* Hero */
    .hero {
        padding-top: 64px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 40px 0 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        display: none;
    }

    .hero-credentials {
        gap: 20px;
    }

    /* Philosophy */
    .philosophy {
        padding: 80px 0;
    }

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

    .philosophy-right img {
        height: 400px;
    }

    /* Programs */
    .programs {
        padding: 80px 0;
    }

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

    .programs-grid .program-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    /* Why Us */
    .why-us {
        padding: 80px 0;
    }

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

    /* Gallery */
    .gallery {
        padding: 80px 0;
    }

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

    .gallery-item--wide {
        grid-column: span 2;
        height: 220px;
    }

    .gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
        grid-column: span 1;
        height: 200px;
    }

    .gallery-item--tall {
        grid-column: span 2;
        min-height: 280px;
    }

    /* Testimonials */
    .testimonials {
        padding: 80px 0;
    }

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

    /* CTA */
    .cta-section {
        padding: 80px 0;
    }

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

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

    /* Contact */
    .contact {
        padding: 80px 0;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }

    /* Footer */
    .site-footer {
        padding: 48px 0 0;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

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

    .footer-bottom p:last-child {
        text-align: center;
    }
}

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

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

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

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

    .hero-credentials {
        flex-wrap: wrap;
        gap: 16px;
    }

    .credential-divider {
        display: none;
    }

    .programs-grid .program-card {
        padding: 28px 24px;
    }

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

    .gallery-item--wide,
    .gallery-item--tall,
    .gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
        grid-column: span 1;
        height: 220px;
    }
}
