/* ─── 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-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;
}

/* ─── 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 (About sub-page) ─────────────────────────────────────── */
.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;
}

.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;
}

/* ─── PILLARS ────────────────────────────────────────────────────────── */
.pillars {
    background: var(--cream);
}

.pillars-hdr {
    margin-bottom: 3rem;
}

.pillar-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.pillar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.28s, border-color 0.28s;
    cursor: default;
    will-change: transform;
}

.pillar-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(51, 153, 204, 0.28);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    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.45rem;
    color: var(--brand-primary);
    margin: 0 auto 1.25rem;
    flex-shrink: 0;
    transition: background 0.28s, color 0.28s, transform 0.28s;
}

.pillar-card:hover .pillar-icon {
    background: var(--brand-primary);
    color: #fff;
    transform: scale(1.08);
}

.pillar-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 0.55rem;
}

.pillar-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.72;
}

/* ─── SPECIALIST (Therapeutic 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;
}

/* ─── 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;
}

/* ─── CONTACT PAGE ────────────────────────────────────────────────────── */
.contact-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

.contact-fullpage {
    flex: 1;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
    background: var(--cream);
}

.contact-fullpage-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 4rem;
    align-items: center;
}

.contact-info .heading {
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.78;
    margin-bottom: 0.9rem;
}

.contact-details {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    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: 52px;
    height: 52px;
    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.3rem;
    color: var(--brand-primary);
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.contact-detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.15rem;
}

.contact-detail-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--deep);
}

a.contact-detail-value,
.contact-detail-value a {
    color: var(--brand-secondary);
    transition: color 0.2s;
}

a.contact-detail-value:hover,
.contact-detail-value a:hover {
    color: var(--accent);
}

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    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: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--deep);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    color: var(--deep);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(51, 51, 102, 0.35);
}

.form-group input:focus,
.form-group textarea: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.78rem;
    color: #e05252;
    font-weight: 600;
    display: none;
}

.form-group.has-error .form-error-msg {
    display: block;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}

.form-status {
    display: none;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.form-status.success {
    display: flex;
    align-items: center;
    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;
    background: rgba(224, 82, 82, 0.07);
    border: 1px solid rgba(224, 82, 82, 0.2);
    color: #c0392b;
}

/* ─── UNUSED / LEGACY (kept for safety) ─────────────────────────────── */
.about-detail {
    background: var(--white);
}

.approach {
    background: var(--cream);
}

.approach-hdr {
    text-align: center;
    margin-bottom: 3.5rem;
}

.approach-hdr .subtext {
    max-width: 560px;
    margin: 0 auto;
}

.approach-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.approach-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s, box-shadow 0.35s;
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.approach-card-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.2rem;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.approach-card:hover .approach-card-icon {
    background: rgba(51, 153, 204, 0.14);
    transform: scale(1.08);
}

.approach-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 0.75rem;
}

.approach-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.72;
}

.specialist-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.sstat {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: background 0.25s, transform 0.22s;
}

.sstat:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.sstat-num {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.sstat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {

    .cards,
    .approach-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-fullpage-inner {
        gap: 2.5rem;
    }
}

@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 {
        overflow: auto;
    }

    .contact-fullpage {
        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;
    }

    .pillar-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {

    .cards,
    .approach-cards {
        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;
    }

    .contact-form-wrap {
        padding: 1.75rem 1.25rem;
    }

    .specialist-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hstat-num {
        font-size: 1.9rem;
    }

    .pull-quote {
        font-size: 1rem;
    }

    .pillar-cards {
        grid-template-columns: 1fr;
    }
}