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

/* ─── TOKENS ─────────────────────────────────────────────────────────── */
:root {
    --cream: #FDF9F3;
    --white: #FFFFFF;
    --brand-primary: #333366;
    --brand-secondary: #3399cc;
    --accent: #ffcc33;
    --deep: var(--brand-primary);
    --muted: rgba(51, 51, 102, 0.78);
    --border: rgba(51, 153, 204, 0.14);
    --green: var(--brand-primary);
    --coral: var(--brand-secondary);
    --gold: var(--brand-secondary);
    --shadow-sm: 0 2px 12px rgba(51, 51, 102, 0.06);
    --shadow-md: 0 6px 28px rgba(51, 51, 102, 0.10);
    --shadow-lg: 0 16px 56px rgba(51, 51, 102, 0.14);
    --radius: 18px;
    --radius-sm: 10px;
    --nav-h: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--cream);
    color: var(--deep);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

a:not(.btn):hover {
    color: var(--accent);
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

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

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(.22, 1, .36, 1), transform 0.65s cubic-bezier(.22, 1, .36, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.28s; }
.d4 { transition-delay: 0.38s; }

/* ─── NAVBAR ─────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    height: var(--nav-h);
    z-index: 900;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(253, 249, 243, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-primary) !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span {
    color: var(--brand-secondary) !important;
}

.logo:hover {
    color: var(--brand-primary) !important;
}

.nav:not(.scrolled) .logo {
    color: #fff !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    border-radius: var(--radius-sm);
}

.nav:not(.scrolled) .nav-links a {
    color: #fff;
}

.nav-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-email p {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.3;
}

.nav:not(.scrolled) .nav-email p {
    color: rgba(255, 255, 255, 0.7);
}

.nav-email a {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.nav:not(.scrolled) .nav-email a {
    color: #fff;
}

.nav-email-icon {
    width: 36px;
    height: 36px;
    background: var(--brand-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger s {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--deep);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav:not(.scrolled) .burger s {
    background: #fff;
}

.burger.open s:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open s:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open s:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE DRAWER ──────────────────────────────────────────────────── */
.drawer {
    position: fixed;
    top: var(--nav-h);
    inset-inline: 0;
    background: rgba(253, 249, 243, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.25rem 2rem 2rem;
    z-index: 899;
    border-bottom: 1px solid var(--border);
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.drawer.open {
    opacity: 1;
    transform: none;
    pointer-events: all;
}

.drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.drawer ul a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--deep);
    border-bottom: 1px solid var(--border);
}

.drawer-contact {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-contact a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-secondary);
}

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s, box-shadow 0.22s, background-color 0.25s, color 0.25s;
    white-space: nowrap;
}

.btn:hover {
    background: var(--accent) !important;
    color: var(--brand-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 51, 0.4) !important;
}

.btn:active { transform: translateY(0); }

.btn-primary,
.btn-green {
    background: var(--brand-secondary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(51, 51, 102, 0.15);
}

.btn-coral {
    background: var(--brand-secondary);
    color: #fff;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

/* ─── HERO ───────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(51, 51, 102, 0.4) 0%, rgba(51, 153, 204, 0.2) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.7) 0%, rgba(17, 24, 39, 0) 100%);
    z-index: 0;
}

/* ─── HERO SLIDESHOW ─────────────────────────────────────────────────── */
.hero-slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
    /* own stacking context so slide/overlay z-indexes stay below .hero-content */
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    will-change: transform, opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    transition: opacity 1.2s ease-in-out;
    animation: heroZoom 5s linear forwards;
}

.hero-slide.exiting {
    z-index: 2;
    animation: heroFadePan 1.2s ease-in-out forwards;
}

/* Gradient overlays sit above the slides, below orbs/content */
.hero-slides::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(to bottom, rgba(17, 24, 39, 0.7) 0%, rgba(17, 24, 39, 0) 100%),
        linear-gradient(160deg, rgba(51, 51, 102, 0.4) 0%, rgba(51, 153, 204, 0.2) 100%);
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

@keyframes heroFadePan {
    from { transform: scale(1.08) translateX(0); opacity: 1; }
    to   { transform: scale(1.1) translateX(3%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.active,
    .hero-slide.exiting {
        animation: none;
        transition: opacity 0.8s ease-in-out;
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.3;
    pointer-events: none;
}

.orb-1 {
    width: 480px;
    height: 480px;
    background: var(--brand-secondary);
    top: -140px;
    right: 8%;
    animation: drift 9s ease-in-out infinite;
}

.orb-2 {
    width: 340px;
    height: 340px;
    background: var(--brand-primary);
    bottom: 5%;
    left: 4%;
    animation: drift 11s ease-in-out infinite reverse;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: var(--brand-secondary);
    top: 40%;
    right: 28%;
    animation: drift 7s ease-in-out infinite 2s;
}

@keyframes drift {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-28px) scale(1.06); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 3rem) 2rem 5rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(6px);
    animation: fadeUp 0.8s 0.2s both;
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(3rem, 7.5vw, 5.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.06;
    letter-spacing: -0.03em;
    max-width: 680px;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.35s both;
}

.hero-title em,
.heading em {
    font-style: italic;
    color: var(--brand-secondary);
}

.hero-body {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s 0.5s both;
}

.hero-ctas {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.65s both;
}

/* ─── HERO STATS (comm2-specific) ────────────────────────────────────── */
.hero-stats {
    display: flex;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    max-width: 460px;
    animation: fadeUp 0.8s 0.8s both;
}

.hero-stat {
    flex: 1;
    padding: 1.15rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.22rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-val {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bob 2.2s ease-in-out infinite;
}

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

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

/* ─── SHARED SECTION LAYOUT ──────────────────────────────────────────── */
.section {
    padding: 6rem 2rem;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(51, 153, 204, 0.08);
    border: 1px solid rgba(51, 153, 204, 0.16);
    color: var(--brand-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.38rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.9rem;
}

.heading {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--deep);
    margin-bottom: 0.9rem;
}

.subtext {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ─── ABOUT ──────────────────────────────────────────────────────────── */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: url('../img/about-img.jpg') center / cover no-repeat, linear-gradient(145deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-stat {
    position: absolute;
    bottom: -1.2rem;
    right: -1.5rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow-md);
    min-width: 130px;
}

.stat-num {
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-secondary);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.about-text p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.82;
    margin-bottom: 1.5rem;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1rem;
    margin-bottom: 2.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--deep);
}

.check-dot {
    width: 20px;
    height: 20px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.58rem;
    flex-shrink: 0;
}

/* ─── SERVICES ───────────────────────────────────────────────────────── */
.services {
    background: var(--cream);
}

.services-hdr {
    text-align: center;
    margin-bottom: 3.5rem;
}

.services-hdr .subtext {
    max-width: 480px;
    margin: 0 auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.12s ease-out, box-shadow 0.35s, border-color 0.35s;
    cursor: pointer;
    will-change: transform;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}

.card-icon {
    width: 68px;
    height: 68px;
    background: rgba(51, 153, 204, 0.08);
    border: 1px solid rgba(51, 153, 204, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem;
    font-size: 1.65rem;
    color: var(--brand-primary);
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.card:hover .card-icon {
    color: var(--brand-primary);
    transform: scale(1.1);
}

.card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 0.85rem;
}

.card p {
    font-size: 0.855rem;
    color: var(--muted);
    line-height: 1.72;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.855rem;
    font-weight: 700;
    color: var(--brand-secondary);
    transition: color 0.38s, gap 0.28s;
}

.card:hover .card-link {
    color: var(--accent);
    gap: 0.65rem;
}

/* card-inner wrapper (comm2 HTML uses this) */
.card-inner {
    position: relative;
    z-index: 1;
}

/* ─── LOCATIONS (comm2-specific) ─────────────────────────────────────── */
.locations {
    background: var(--white);
}

.locations-hdr {
    text-align: center;
    margin-bottom: 3rem;
}

.locations-hdr .subtext {
    max-width: 520px;
    margin: 0 auto;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.location-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s, box-shadow 0.28s;
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.location-name {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 1rem;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.855rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
    line-height: 1.45;
}

.location-detail i {
    color: var(--brand-primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
    font-size: 0.78rem;
    width: 12px;
}

.location-map {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-secondary);
    transition: gap 0.2s;
}

.location-map:hover {
    gap: 0.7rem;
    color: var(--accent);
}

/* ─── TESTIMONIALS (comm2-specific) ──────────────────────────────────── */
.testimonials {
    background: var(--cream);
}

.testimonials-hdr {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-hdr .subtext {
    max-width: 480px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.12s ease-out, box-shadow 0.35s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent);
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.testimonial-text {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.72;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(51, 153, 204, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.testimonial-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--deep);
}

.testimonial-author-sub {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ─── CTA STRIP ──────────────────────────────────────────────────────── */
.cta-strip {
    background: var(--brand-primary);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-strip-inner {
    max-width: 620px;
    margin: 0 auto;
}

.cta-strip h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.cta-strip h2 em {
    font-style: italic;
    color: var(--accent);
}

.cta-strip p {
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
.footer {
    background: var(--brand-primary);
    padding: 1.5rem 2rem;
}

.footer-row {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-row span,
.footer-row a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ─── BACK TO TOP ────────────────────────────────────────────────────── */
.btt {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    width: 44px;
    height: 44px;
    background: var(--brand-primary);
    color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 18px rgba(51, 51, 102, 0.14);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s, transform 0.3s, background 0.25s, color 0.25s;
    z-index: 800;
}

.btt.show {
    opacity: 1;
    transform: none;
}

.btt:hover {
    background: var(--accent);
    color: var(--brand-primary);
    transform: translateY(-3px);
}

/* ─── PAGE HERO (inner pages) ────────────────────────────────────────── */
.page-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(51, 51, 102, 0.4) 0%, rgba(51, 153, 204, 0.2) 100%),
        url('../img/about-hero.jpg') center / cover no-repeat;
}

/* Fees page uses a different hero image than the About page */
.fees-page .page-hero {
    background:
        linear-gradient(160deg, rgba(51, 51, 102, 0.4) 0%, rgba(51, 153, 204, 0.2) 100%),
        url('../img/fees-hero.jpg') center / cover no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.55) 0%, rgba(17, 24, 39, 0) 100%);
    z-index: 0;
}

.page-hero .orb {
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 4rem) 2rem 5rem;
}

.page-hero-content .tag {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    animation: fadeUp 0.7s 0.15s both;
}

.page-hero-content .hero-title {
    animation: fadeUp 0.8s 0.3s both;
}

.page-hero-content .hero-body {
    animation: fadeUp 0.8s 0.45s both;
}

/* ─── HISTORY ────────────────────────────────────────────────────────── */
.history {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.history-ghost {
    position: absolute;
    top: 50%;
    left: -0.06em;
    transform: translateY(-50%);
    font-family: 'Fraunces', serif;
    font-size: clamp(10rem, 22vw, 18rem);
    font-weight: 700;
    color: rgba(51, 153, 204, 0.045);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    letter-spacing: -0.04em;
}

.history-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.history-stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hstat {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.12s ease-out, box-shadow 0.28s;
    cursor: default;
    will-change: transform;
}

.hstat:hover {
    box-shadow: var(--shadow-md);
}

.hstat-accent {
    display: none;
}

.hstat-num {
    font-family: 'Fraunces', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hstat-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.history-text p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.82;
    margin-bottom: 1.2rem;
}

.history-text p:last-child {
    margin-bottom: 0;
}

.pull-quote {
    border-left: 3px solid var(--brand-secondary);
    padding: 1rem 1.5rem 1rem 1.5rem;
    margin: 1.75rem 0;
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--brand-primary);
    background-color: rgba(51, 153, 204, 0.06);
    line-height: 1.55;
}

/* ─── SPECIALIST (Therapeutic / EYFS Framework) ──────────────────────── */
.specialist {
    background: var(--brand-primary);
}

.specialist-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.specialist-text .tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.specialist-text .heading {
    color: #fff;
}

.specialist-text .heading em {
    color: var(--brand-secondary);
}

.specialist-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.96rem;
    line-height: 1.82;
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.method-chip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    transition: transform 0.12s ease-out, background 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
    cursor: default;
    will-change: transform;
}

.method-chip:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}

.method-chip-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.method-chip-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.method-chip-text strong {
    display: block;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
}

/* ─── EDUCATION & INDEPENDENCE ───────────────────────────────────────── */
.edu-independence {
    background: var(--cream);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.split-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.split-col {
    padding: 2.25rem 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.12s ease-out, box-shadow 0.28s;
    cursor: default;
    will-change: transform;
}

.split-col-icon {
    width: 56px;
    height: 56px;
    background: rgba(51, 153, 204, 0.08);
    border: 1px solid rgba(51, 153, 204, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--brand-primary);
    margin-bottom: 1.25rem;
}

.split-col h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 0.65rem;
    line-height: 1.25;
}

.split-col h2 em {
    font-style: italic;
    color: var(--brand-secondary);
}

.split-col .lead {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.content-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.68;
}

.content-list-dot {
    width: 22px;
    height: 22px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 0.58rem;
    color: #fff;
}

.content-list strong {
    color: var(--deep);
    font-weight: 700;
}

/* ─── FEES PAGE (comm2-specific) ─────────────────────────────────────── */
.fees-section {
    background: var(--cream);
}

.fees-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.fee-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.fee-tab {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.35rem;
    border-radius: 50px;
    cursor: pointer;
    border: 1.5px solid var(--border);
    color: var(--muted);
    background: var(--white);
    transition: all 0.22s;
}

.fee-tab.active,
.fee-tab:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}

.fee-panel { display: none; }
.fee-panel.active { display: block; }

.fee-table-wrap {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.fee-table-header {
    background: var(--brand-primary);
    color: #fff;
    padding: 1.2rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.fee-table-header i {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0.2rem;
}

.fee-table-header h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.fee-table-header p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.68);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
}

.fee-table th {
    background: var(--cream);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.9rem 1.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.fee-table td {
    padding: 0.9rem 1.75rem;
    font-size: 0.9rem;
    color: var(--muted);
    border-bottom: 1px solid rgba(51, 153, 204, 0.06);
}

.fee-table tr:last-child td { border-bottom: none; }

.fee-table tbody tr:hover td {
    background: var(--cream);
}

.fee-table td:first-child {
    color: var(--deep);
    font-weight: 500;
}

.fee-table td.price {
    font-family: 'Fraunces', serif;
    color: var(--brand-secondary);
    font-weight: 700;
    font-size: 1rem;
}

.fee-note {
    background: rgba(51, 153, 204, 0.06);
    border: 1px solid rgba(51, 153, 204, 0.16);
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.35rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--muted);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    line-height: 1.6;
}

.fee-note i {
    color: var(--brand-secondary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.late-fees {
    background: var(--white);
}

.late-fees .wrap {
    max-width: 860px;
}

.terms-section {
    background: var(--cream);
}

.terms-section .wrap {
    max-width: 860px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.term-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.term-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.term-card h4 i {
    color: var(--brand-secondary);
    font-size: 0.9rem;
}

.term-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ─── CONTACT PAGE ────────────────────────────────────────────────────── */
.contact-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.contact-fullpage {
    flex: 1;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 1rem) 2rem 1rem;
    background: var(--cream);
    overflow: hidden;
}

.contact-fullpage-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info .heading {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.contact-intro {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 0.4rem;
}

/* ─── CONTACT LOCATIONS (compact list) ──────────────────────────────── */
.contact-locations-list {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 0.5rem 0;
}

.contact-loc-row {
    display: grid;
    grid-template-columns: 68px 1fr auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.contact-loc-row:last-child {
    border-bottom: none;
}

.contact-loc-row strong {
    color: var(--deep);
    font-weight: 700;
}

.contact-loc-row span,
.contact-loc-row a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.4;
}

.contact-loc-row span i {
    color: var(--brand-primary);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.contact-loc-row a {
    color: var(--brand-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.contact-loc-row a i {
    color: var(--brand-secondary);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.contact-details {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.12s ease-out, box-shadow 0.35s;
    cursor: default;
    will-change: transform;
    text-align: left;
}

.contact-detail-icon {
    width: 42px;
    height: 42px;
    background: rgba(51, 153, 204, 0.08);
    border: 1px solid rgba(51, 153, 204, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--brand-primary);
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.contact-detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.1rem;
}

.contact-detail-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--deep);
}

.contact-detail-value a {
    color: var(--brand-secondary);
    transition: color 0.2s;
}

.contact-detail-value a:hover {
    color: var(--accent);
}

/* ─── CONTACT FORM ────────────────────────────────────────────────────── */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.75rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.12s ease-out, box-shadow 0.35s;
    will-change: transform;
}

.contact-form-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.contact-form-wrap > * {
    position: relative;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--deep);
}

.form-optional {
    font-weight: 400;
    color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 0.95rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    color: var(--deep);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(51, 51, 102, 0.35);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px rgba(51, 153, 204, 0.12);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e05252;
    box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.1);
}

.form-error-msg {
    font-size: 0.75rem;
    color: #e05252;
    font-weight: 600;
    display: none;
}

.form-group.has-error .form-error-msg {
    display: block;
}

.form-group.has-error label {
    color: #e05252;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    margin-top: 0.15rem;
}

.form-status {
    display: none;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.4rem;
}

.form-status.success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(51, 153, 204, 0.08);
    border: 1px solid rgba(51, 153, 204, 0.22);
    color: var(--brand-primary);
}

.form-status.error {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(224, 82, 82, 0.07);
    border: 1px solid rgba(224, 82, 82, 0.2);
    color: #c0392b;
}

.form-status a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .cards,
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-fullpage-inner {
        gap: 2rem;
    }
}

@media (max-width: 860px) {
    .nav-links,
    .nav-email {
        display: none;
    }

    .burger {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-img {
        max-height: 320px;
    }

    .about-stat {
        bottom: -0.8rem;
        right: 0.5rem;
    }

    .section {
        padding: 4.5rem 1.5rem;
    }

    .contact-page {
        height: auto;
        overflow: auto;
    }

    .contact-fullpage {
        overflow: auto;
        align-items: flex-start;
        padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
    }

    .contact-fullpage-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .specialist-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .page-hero-content {
        padding: calc(var(--nav-h) + 2.5rem) 1.5rem 3.5rem;
    }

    .history-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .history-ghost {
        font-size: 30vw;
        top: 0;
    }

    .split-grid,
    .split-grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

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

    .contact-locations-list {
        margin: 0.4rem 0;
    }
}

@media (max-width: 560px) {
    .cards,
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-stat {
        min-width: 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-stat:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .contact-form-wrap {
        padding: 1.5rem 1.25rem;
    }

    .hstat-num {
        font-size: 1.9rem;
    }

    .pull-quote {
        font-size: 1rem;
    }

    .fee-tabs {
        gap: 0.5rem;
    }

    .fee-table th,
    .fee-table td {
        padding: 0.75rem 1rem;
    }

    .contact-loc-row {
        grid-template-columns: 60px 1fr;
        gap: 0.2rem 0.5rem;
    }

    .contact-loc-row a {
        grid-column: 2;
    }
}
