/* ========================================
   New Hope Child Development Center
   Styles — Warm & Friendly Design System
   ======================================== */

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

:root {
    --midnight: #1E3A8A;
    --midnight-dark: #152C6B;
    --midnight-light: #2B4C9E;
    --mint: #5EEAD4;
    --mint-dark: #34D4C0;
    --mint-light: #A7F3D0;
    --mint-pale: #F0FDFA;
    --cream: #FAFAF9;
    --warm-white: #FEFDFB;
    --sand: #F5F5F0;
    --text-dark: #1A1A2E;
    --text-body: #374151;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(30, 58, 138, 0.08);
    --shadow-md: 0 4px 16px rgba(30, 58, 138, 0.1);
    --shadow-lg: 0 8px 32px rgba(30, 58, 138, 0.12);
    --shadow-xl: 0 16px 48px rgba(30, 58, 138, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

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

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--midnight);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 500;
    text-decoration: none;
}
.skip-link:focus {
    top: 1rem;
}

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

a {
    color: var(--midnight);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--midnight-light); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 58, 138, 0.08);
    transition: box-shadow var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--midnight);
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: rgba(30, 58, 138, 0.06); }

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hamburger::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 0;
}
.hamburger::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-menu { display: flex; align-items: center; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-links a {
    display: block;
    padding: 0.5rem 0.875rem;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    text-decoration: none;
}
.nav-links a:hover {
    color: var(--midnight);
    background: rgba(30, 58, 138, 0.06);
}
.nav-cta {
    background: var(--midnight) !important;
    color: var(--white) !important;
    margin-left: 0.5rem;
    font-weight: 600 !important;
}
.nav-cta:hover {
    background: var(--midnight-dark) !important;
    color: var(--white) !important;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--midnight);
    color: var(--white);
    border-color: var(--midnight);
}
.btn-primary:hover {
    background: var(--midnight-dark);
    border-color: var(--midnight-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: transparent;
    color: var(--midnight);
    border-color: var(--midnight);
}
.btn-secondary:hover {
    background: var(--midnight);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--midnight);
    border-color: var(--midnight);
}
.btn-outline:hover {
    background: var(--midnight);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}
.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-dark) 100%);
    padding: 8rem 0 6rem;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(94, 234, 212, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(94, 234, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(94, 234, 212, 0.15);
    color: var(--mint);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(94, 234, 212, 0.25);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}
.hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.hero-actions .btn-secondary:hover {
    background: var(--white);
    color: var(--midnight);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mint);
}
.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.hero-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 420px;
    width: 100%;
}
.hero-image-main img {
    width: 100%;
    height: 750px;
    object-fit: cover;
}
.hero-image-accent {
    position: absolute;
    bottom: -1.5rem;
    left: -2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--midnight);
    max-width: 240px;
}
.hero-image-accent img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.hero-float-card {
    position: absolute;
    top: 2rem;
    right: -1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.float-card-icon {
    width: 44px;
    height: 44px;
    background: var(--mint-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.float-card-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.float-card-value {
    display: block;
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--midnight);
    background: var(--mint-pale);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
}
.section-header {
    margin-bottom: 3.5rem;
}
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* --- About --- */
.about {
    padding: 6rem 0;
    background: var(--mint-pale);
    position: relative;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
}
.about-image-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.about-image-accent-shape {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 120px;
    height: 120px;
    background: var(--mint);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}
.about-lead {
    font-size: 1.0625rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.about-feature h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.about-feature p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Services --- */
.services {
    padding: 6rem 0;
    background: var(--warm-white);
}
.services .section-header { text-align: center; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    border: 1px solid rgba(30, 58, 138, 0.07);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(94, 234, 212, 0.3);
}
.service-card.featured {
    background: var(--midnight);
    border-color: var(--midnight);
}
.service-card.featured .service-card-number { color: rgba(94, 234, 212, 0.3); }
.service-card.featured .service-icon-wrap { background: rgba(94, 234, 212, 0.15); }
.service-card.featured .service-icon-wrap svg { stroke: var(--mint); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured .service-age { color: var(--mint); }
.service-card.featured .service-highlights li { color: rgba(255,255,255,0.8); }
.service-card.featured .service-highlights li::before { color: var(--mint); }
.service-card.featured .service-card-number { color: rgba(94, 234, 212, 0.25); }

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--mint);
    color: var(--midnight);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3125rem 0.75rem;
    border-radius: var(--radius-full);
}
.service-card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(30, 58, 138, 0.07);
    line-height: 1;
    margin-bottom: 1rem;
}
.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--mint-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}
.service-age {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--midnight);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.875rem;
}
.service-card > p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.service-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.service-highlights li {
    font-size: 0.875rem;
    color: var(--text-body);
    padding-left: 1.25rem;
    position: relative;
}
.service-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--mint-dark);
    font-weight: 700;
}

/* --- Approach --- */
.approach {
    padding: 6rem 0;
    background: var(--sand);
}
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.approach-content .section-tag { margin-bottom: 1rem; }
.approach-text {
    font-size: 1.0625rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.approach-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.pillar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(30, 58, 138, 0.06);
    transition: all var(--transition);
}
.pillar:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.pillar-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.pillar h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}
.pillar p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.approach-visual {
    position: relative;
    padding-top: 1rem;
}
.approach-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.approach-images img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}
.approach-images img:first-child { height: 500px; }
.approach-images img:last-child { height: 280px; }
.approach-quote {
    background: var(--midnight);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-top: 1rem;
    position: relative;
}
.approach-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.quote-attr {
    font-size: 0.8125rem;
    color: var(--mint);
    font-weight: 500;
}

/* --- Community --- */
.community {
    padding: 6rem 0;
    background: var(--warm-white);
}
.community .section-header { text-align: center; }
.community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.community-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(30, 58, 138, 0.07);
    transition: all var(--transition);
}
.community-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(94, 234, 212, 0.3);
}
.community-icon {
    width: 52px;
    height: 52px;
    background: var(--mint-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.community-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
}
.community-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- CTA --- */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-dark) 100%);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(94, 234, 212, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.cta .container { position: relative; z-index: 1; }
.cta-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.cta-content .section-tag {
    background: rgba(94, 234, 212, 0.15);
    color: var(--mint);
    border: 1px solid rgba(94, 234, 212, 0.25);
}
.cta .section-title {
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}
.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.cta-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.cta-actions .btn-outline:hover {
    background: var(--white);
    color: var(--midnight);
    border-color: var(--white);
}

/* --- Contact --- */
.contact {
    padding: 6rem 0;
    background: var(--mint-pale);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-intro {
    font-size: 1.0625rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.contact-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.contact-item p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.contact-item a {
    color: var(--midnight);
    text-decoration: none;
}
.contact-item a:hover { text-decoration: underline; }

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(30, 58, 138, 0.06);
}
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
    letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(30, 58, 138, 0.15);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--warm-white);
    transition: all var(--transition);
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--midnight);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-success {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--mint-pale);
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--midnight);
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    background: var(--midnight-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}
.logo-light .logo-text { color: var(--white); }
.footer-links h4,
.footer-contact h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 1rem;
}
.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    line-height: 1.6;
}
.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}
.footer-bottom a:hover { color: var(--white); }

/* --- 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);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid { gap: 2.5rem; }
    .hero-image-main img { height: 560px; }
    .about-grid,
    .approach-grid,
    .contact-grid { gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 251, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid rgba(30, 58, 138, 0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    .nav-links a {
        padding: 0.75rem 1rem;
        border-radius: var(--radius-md);
    }
    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero { padding: 7rem 0 4rem; min-height: auto; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-visual { order: -1; align-items: center; }
    .hero-image-main { max-width: 100%; }
    .hero-image-main img { height: 400px; }
    .hero-image-accent { display: none; }
    .hero-float-card { right: 0; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }

    .about-grid,
    .approach-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .about-image-wrapper { order: -1; }
    .about-image-accent-shape { display: none; }
    .approach-images img:first-child { height: 300px; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.875rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    .contact-form-wrapper { padding: 1.5rem; }
}
