/* ==========================================================================
   Ishan International Girls' School – public site stylesheet
   Navy primary, one warm orange accent, soft neutrals.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    /* ---------- Emerald & Imperial Gold Palette for IIPS ---------- */
    --navy-900: #022c22;
    --navy: #064e3b;
    --navy-600: #047857;
    --navy-100: #d1fae5;
    --navy-50: #ecfdf5;
    --accent: #d97706;
    --accent-700: #b45309;
    --accent-400: #f59e0b;
    --accent-50: #fffbeb;
    --emerald-light: #10b981;
    --emerald-dark: #064e3b;
    --gold: #f59e0b;
    --gold-dark: #d97706;
    --gold-light: #fef3c7;
    --ink: #0f172a;
    --body: #334155;
    --muted: #64748b;
    --bg: #ffffff;
    --bg-soft: #f7faf8;
    --bg-tint: #edf7f2;
    --border: #e2e8f0;

    --s-1: 8px;
    --s-2: 16px;
    --s-3: 24px;
    --s-4: 32px;
    --s-5: 48px;
    --s-6: 64px;
    --s-7: 96px;

    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 20px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(23, 37, 84, .06), 0 2px 8px rgba(23, 37, 84, .04);
    --shadow: 0 4px 12px rgba(23, 37, 84, .06), 0 12px 32px rgba(23, 37, 84, .06);
    --shadow-lg: 0 12px 24px rgba(23, 37, 84, .08), 0 24px 56px rgba(23, 37, 84, .12);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --nav-h: 76px;

    --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Poppins', system-ui, sans-serif;

    --house-white: #94a3b8;
    --house-blue: #2563eb;
    --house-orange: #ea580c;
    --house-green: #16a34a;

    --bs-primary: var(--navy);
    --bs-primary-rgb: 30, 58, 138;
    --bs-link-color: var(--navy);
    --bs-link-color-rgb: 30, 58, 138;
    --bs-link-hover-color: var(--navy-900);
    --bs-link-hover-color-rgb: 23, 37, 84;
    --bs-body-font-family: var(--font-body);
    --bs-body-color: #334155;
    --bs-border-radius: 12px;
}

/* ---------- Base ---------- */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    font-family: var(--font-body);
    color: var(--body);
    font-size: 1rem;
    line-height: 1.75;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.01em;
}

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
img { max-width: 100%; height: auto; }
::selection { background: var(--navy); color: #fff; }

/* Focus ring: dark orange (var(--accent), >= 5:1 on white) on light surfaces,
   light orange on navy/dark surfaces (set via --focus-ring below). */
:root { --focus-ring: var(--accent); }
.hero-split, .section-navy, .aff-card, .cta-card, .motto-band,
.quote-band, .quote-block, .cta-band, .site-footer, .lightbox-modal .modal-content {
    --focus-ring: #fdba74;
}

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 4px;
}
/* Bootstrap sets outline: 0 on these controls (same specificity, loaded
   earlier), so restore the site ring explicitly. */
.btn:focus-visible,
.btn-close:focus-visible,
.nav-link:focus-visible,
.accordion-button:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--navy);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: var(--r-sm);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

main:focus { outline: none; }

/* ---------- Header: slim contact strip (≥992) ---------- */
.topstrip {
    --focus-ring: #fdba74;
    background: var(--navy-900);
    color: rgba(255, 255, 255, .85);
    font-size: .8rem;
    padding: 6px 0;
}
.topstrip .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topstrip-text { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topstrip i { color: var(--accent-400); }
.topstrip-contact { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.topstrip-contact a { color: rgba(255, 255, 255, .92); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topstrip-contact a:hover, .topstrip-contact a:focus-visible { color: #fff; text-decoration: underline; }

/* ---------- Header tier 1: brand bar (scrolls away) ---------- */
.site-brandbar { background: #fff; border-bottom: 1px solid var(--border); padding: 18px 0; }
.site-brandbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-logo { flex: 0 0 auto; display: block; height: 60px; width: auto; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-name {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    color: var(--navy);
    letter-spacing: -.01em;
}
.brand-tagline, .brand-line { font-size: .72rem; color: var(--muted); margin-top: 2px; }

/* Large brand in the brand bar */
.brand--lg { gap: 20px; }
.brand--lg .brand-logo { height: 120px; }
.brand--lg .brand-name {
    font-size: clamp(20px, 2.2vw, 32px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1.15;
    white-space: nowrap;
    margin-bottom: 6px;
}
.brand--lg .bn-1 { color: var(--navy); }
.brand--lg .bn-2 { color: #d0104f; } /* echoes the logo's pink-red, 5.3:1 on white */
.brand--lg .brand-line { white-space: nowrap; margin-top: 2px; }
.brand--lg .brand-line--aff { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.brand--lg .brand-line--type { font-size: .84rem; color: var(--muted); }
.brand-pill {
    display: inline-block;
    background: var(--accent-50);
    color: var(--accent-700);
    border: 1px solid #fed7aa;
    border-radius: var(--r-pill);
    padding: 1px 10px;
    font-size: .76rem;
    font-weight: 700;
}
.bc-cta { flex: 0 0 auto; white-space: nowrap; align-items: center; }

@media (max-width: 1199.98px) {
    .brand--lg .brand-logo { height: 110px; }
    .brand--lg .brand-line--aff { font-size: .82rem; gap: 8px; }
    .brand--lg .brand-line--type { font-size: .78rem; }
    .brand-pill { font-size: .7rem; padding: 1px 8px; }
}
/* ---------- Mobile / tablet header (<992): one white sticky row ---------- */
.mobilebar {
    background: #fff;
    z-index: 1030;
    box-shadow: 0 1px 0 var(--border), 0 4px 14px rgba(23, 37, 84, .06);
    transition: box-shadow .3s ease;
}
.mobilebar.scrolled { box-shadow: 0 1px 0 var(--border), 0 6px 20px rgba(23, 37, 84, .12); }
.mobilebar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.brand--sm { gap: 10px; }
.brand--sm .brand-logo { height: 52px; }
.brand--sm .brand-name { font-size: 15px; text-transform: uppercase; line-height: 1.2; letter-spacing: .01em; }
.brand--sm .bn-1, .brand--sm .bn-2 { display: block; white-space: nowrap; }
.brand--sm .bn-1 { color: var(--navy); }
.brand--sm .bn-2 { color: #d0104f; }
.menu-btn {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--navy);
    font-size: 1.6rem;
    line-height: 1;
    padding: 0;
}
.menu-btn:hover { background: var(--navy-50); }
@media (min-width: 768px) {
    .brand--sm .brand-logo { height: 56px; }
    .brand--sm .brand-name { font-size: 16px; }
}
@media (max-width: 359.98px) {
    .brand--sm .brand-name { display: none; }
}

/* ---------- Header tier 2: navy menu bar (sticky) ---------- */
.menubar {
    --focus-ring: #fdba74;
    background: var(--navy);
    padding: 0;
    z-index: 1030;
    transition: box-shadow .3s ease;
}
.menubar.scrolled { box-shadow: 0 8px 24px rgba(23, 37, 84, .25); }
.menubar .container { flex-wrap: nowrap; }

/* ---------- Main menu (desktop ≥992) ---------- */
.main-menu { width: 100%; align-items: center; justify-content: space-between; gap: 2px; }
.main-menu .nav-item { position: relative; display: flex; align-items: center; }
/* Thin vertical divider between top-level items (decorative, takes no width;
   the drawer uses different markup so it never shows there). */
.main-menu > .nav-item + .nav-item::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    width: 1px;
    height: 18px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .3);
    pointer-events: none;
}
.main-menu .nav-link {
    position: relative;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    padding: 16px 12px;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}
.main-menu .nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-400);
    transform: scaleX(0);
    transition: transform .25s var(--ease);
}
.main-menu .nav-link:hover,
.main-menu .nav-link:focus-visible,
.main-menu .nav-link.active { color: #fff; }
.main-menu .nav-item:hover { background: rgba(255, 255, 255, .08); }
.main-menu .nav-link:hover::after,
.main-menu .nav-link:focus-visible::after,
.main-menu .nav-link.active::after { transform: scaleX(1); }
.main-menu .nav-link.active { font-weight: 700; }
.main-menu .has-sub .nav-link { padding-right: 2px; }
.main-menu .has-sub .nav-link::after { right: 2px; }

.sub-toggle {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .8);
    padding: 6px 8px 6px 4px;
    font-size: .68rem;
    line-height: 1;
    border-radius: 6px;
    margin-right: 4px;
}
.sub-toggle:hover, .sub-toggle:focus-visible, .sub-toggle[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .12); }
.sub-toggle i { display: inline-block; transition: transform .25s ease; }
.sub-toggle[aria-expanded="true"] i,
.has-sub:hover .sub-toggle i { transform: rotate(180deg); }

.main-menu .dropdown-menu {
    --focus-ring: var(--accent);
    top: 100%;
    left: 0;
    margin-top: 0;
    min-width: 260px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent-400);
    border-radius: 0 0 var(--r-md) var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
}
.main-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--body);
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.main-menu .dropdown-item i { color: var(--muted); font-size: 1rem; width: 18px; text-align: center; }
.main-menu .dropdown-item:hover,
.main-menu .dropdown-item:focus {
    background: var(--navy-50);
    color: var(--navy);
}
.main-menu .dropdown-item:hover i, .main-menu .dropdown-item:focus i { color: var(--navy); }
.main-menu .dropdown-item.active,
.main-menu .dropdown-item:active {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
}
.main-menu .dropdown-item.active i { color: #fff; }

@media (min-width: 992px) {
    .main-menu .has-sub:hover > .dropdown-menu,
    .main-menu .has-sub:focus-within > .dropdown-menu {
        display: block;
    }
    .main-menu .has-sub.sub-closed > .dropdown-menu:not(.show) { display: none; }
    .main-menu .dropdown-menu { animation: dropIn .2s var(--ease); }
    .main-menu .nav-item:nth-last-child(-n+4) .dropdown-menu { left: auto; right: 0; }
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-menu .nav-link { font-size: .74rem; letter-spacing: .02em; padding: 14px 7px; }
    .main-menu .nav-link::after { left: 7px; right: 7px; }
    .main-menu .has-sub .nav-link { padding-right: 1px; }
    .sub-toggle { padding: 6px 4px 6px 2px; margin-right: 2px; }
}

/* ---------- Mobile offcanvas drawer ---------- */
.mobile-nav { --bs-offcanvas-width: min(340px, 88vw); }
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--border); }
.mobile-nav .brand { gap: 10px; }
.mobile-nav .brand-logo { height: 44px; }
.mobile-nav .brand-name { font-size: .82rem; white-space: normal; }
.mobile-nav .brand-tagline { font-size: .64rem; white-space: normal; }
.mobile-menu .accordion-item { border-bottom: 1px solid var(--border); }
.mobile-row { display: flex; align-items: center; }
.mobile-link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink);
    text-decoration: none;
    border-radius: 10px;
}
.mobile-link i { color: var(--muted); font-size: 1.05rem; }
.mobile-link.active { color: var(--navy); background: var(--navy-50); }
.mobile-link.active i { color: var(--navy); }
.mobile-row .accordion-button {
    width: 44px;
    flex: 0 0 44px;
    padding: 12px;
    background: transparent;
    box-shadow: none;
    border-radius: 10px;
}
.mobile-row .accordion-button:focus { box-shadow: none; }
.mobile-row .accordion-button:focus-visible { outline: 3px solid var(--focus-ring); }
.mobile-sub { margin: 0 0 12px 18px; padding-left: 12px; border-left: 2px solid var(--navy-100); }
.mobile-sub a {
    display: block;
    padding: 7px 12px;
    color: var(--body);
    font-size: .9rem;
    text-decoration: none;
    border-radius: 8px;
}
.mobile-sub a:hover, .mobile-sub a:focus-visible { color: var(--navy); background: var(--navy-50); }
.mobile-sub a.active { color: #fff; background: var(--navy); font-weight: 600; }
.mobile-actions { display: grid; gap: 10px; margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--r-sm); font-weight: 600; font-family: var(--font-head); padding: 10px 20px; transition: transform .2s var(--ease), background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn-lg { padding: 13px 26px; font-size: 1.02rem; }
.btn-sm { padding: 6px 14px; font-size: .85rem; border-radius: 10px; }
.btn i { margin-right: 4px; }
.btn .bi-arrow-right { margin: 0 0 0 6px; }
.btn-accent {
    background: var(--accent);
    border: 0;
    color: #fff;
    box-shadow: 0 8px 20px rgba(194, 65, 12, .28);
}
.btn-accent:hover, .btn-accent:focus-visible, .btn-accent:active { color: #fff !important; background: var(--accent-700) !important; transform: translateY(-2px); }
.btn-navy { background: var(--navy); border: 0; color: #fff; box-shadow: 0 8px 20px rgba(30, 58, 138, .22); }
.btn-navy:hover, .btn-navy:focus-visible, .btn-navy:active { background: var(--navy-900) !important; color: #fff !important; transform: translateY(-2px); }
.btn-outline-light-soft {
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.btn-outline-light-soft:hover, .btn-outline-light-soft:focus-visible { background: #fff; color: var(--navy); border-color: #fff; }
.btn-navy-soft { background: var(--navy-50); color: var(--navy); border: 1px solid var(--navy-100); }
.btn-navy-soft:hover, .btn-navy-soft:focus-visible { background: var(--navy); color: #fff; border-color: var(--navy); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover, .link-arrow:focus-visible { text-decoration: underline; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Home hero carousel / slider ---------- */
.hero-carousel-section {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}
.hero-carousel {
    position: relative;
    background: #0f172a;
}
.hero-carousel .carousel-item {
    height: clamp(380px, 58vh, 600px);
    position: relative;
    overflow: hidden;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 6s cubic-bezier(.25, 1, .5, 1);
}
.carousel-item.active .hero-slide-img {
    transform: scale(1);
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, transparent 60%, rgba(15, 23, 42, .45) 100%);
    z-index: 2;
    pointer-events: none;
}
.hero-carousel .carousel-indicators {
    bottom: 28px;
    z-index: 4;
    gap: 10px;
    margin-bottom: 0;
}
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 32px;
    height: 5px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, .5);
    border: 0;
    transition: all .35s ease;
    opacity: .6;
    margin: 0;
}
.hero-carousel .carousel-indicators .active {
    width: 50px;
    background-color: var(--accent-400);
    opacity: 1;
    box-shadow: 0 0 10px rgba(251, 146, 60, .6);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, .65);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    opacity: 0;
    transition: all .25s ease;
    z-index: 4;
    color: #fff;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-carousel .carousel-control-prev { left: 24px; }
.hero-carousel .carousel-control-next { right: 24px; }
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: .95;
}
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: var(--navy);
    border-color: var(--accent-400);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}
@media (max-width: 767.98px) {
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next { display: none; }
    .hero-carousel .carousel-item { min-height: 520px; }
    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(15, 23, 42, .85) 0%, rgba(23, 37, 84, .88) 100%);
    }
}
.hero-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-shape-1 { width: 420px; height: 420px; right: -140px; bottom: -200px; border: 60px solid rgba(255, 255, 255, .04); }
.hero-shape-2 { width: 180px; height: 180px; left: 42%; top: -70px; background: rgba(255, 255, 255, .04); }
.hero-split .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    border-radius: var(--r-pill);
    padding: 6px 16px;
    font-size: .8rem;
    font-weight: 500;
    margin-bottom: 24px;
}
.hero-badge i { color: var(--accent-400); }
.hero-badge { margin-bottom: 16px; }
/* Admission banner pill: same box as .hero-badge, on its own line above it. */
.admission-pill {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
    border-radius: var(--r-pill);
    padding: 6px 16px;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 16px;
}
.admission-pill:hover { background: #9a3412; border-color: #9a3412; color: #fff; }
.admission-pill:focus-visible { outline: 3px solid #fdba74; outline-offset: 2px; }
.admission-pill i { flex: 0 0 auto; }
.hero-kicker { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; font-size: .82rem; color: #fed7aa; margin: 0 0 12px; }
.hero-title {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -.02em;
}
.hero-quote {
    border-left: 4px solid var(--accent-400);
    padding: 4px 0 4px 18px;
    margin: 0 0 32px;
    max-width: 560px;
    color: rgba(255, 255, 255, .9);
}
.hero-quote p { margin: 0; font-size: 1.08rem; font-style: italic; }
.hero-quote figcaption { font-size: .9rem; color: #fed7aa; margin-top: 6px; }
.hero-quote cite { font-style: normal; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin: 28px 0 0; font-size: .88rem; color: rgba(255, 255, 255, .72); }
.hero-meta i { color: var(--accent-400); }
.hero-meta span { margin: 0 6px; opacity: .6; }

.hero-collage { position: relative; padding: 0 0 48px 48px; }
.hc-main {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 7;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
    background: rgba(255, 255, 255, .1);
}
.hc-side {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--r-md);
    border: 6px solid #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    background: var(--bg-tint);
}
.hc-badge, .hc-motto {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--muted);
    border-radius: var(--r-md);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    font-size: .8rem;
    line-height: 1.3;
}
.hc-badge { right: 16px; bottom: 16px; }
.hc-badge i { font-size: 1.8rem; color: var(--accent); }
.hc-badge strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .92rem; }
.hc-motto { right: -8px; top: 24px; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 600; max-width: 230px; }
.hc-motto i { color: #fed7aa; font-size: 1.2rem; }
@media (max-width: 991.98px) {
    .hero-split { padding: 56px 0 72px; }
    .hero-collage { max-width: 560px; margin: 0 auto; }
    .hc-motto { right: 8px; }
}
@media (max-width: 575.98px) {
    .hero-split { padding: 40px 0 56px; }
    .hero-collage { padding: 0 0 32px 24px; }
    .hc-badge { right: 8px; bottom: 8px; padding: 8px 12px; }
    .hc-badge i { font-size: 1.3rem; }
    .hc-motto { top: 12px; font-size: .74rem; padding: 8px 12px; max-width: 180px; }
    .hero-quote p { font-size: .98rem; }
    .hero-actions .btn-lg { font-size: .95rem; padding: 11px 18px; }
}

/* ---------- Stats strip ---------- */
.stats-strip { position: relative; z-index: 2; margin-top: -48px; }
.stats-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    margin: 0;
    padding: 8px;
}
.stats-list li {
    text-align: center;
    padding: 20px 12px;
    border-right: 1px solid var(--border);
}
.stats-list li:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--navy); line-height: 1.1; }
.stat-label { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.stat-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--accent-50); color: var(--accent); font-size: 1.1rem; margin-bottom: 10px; }
.stat-num .stat-suffix { color: var(--accent); }
@media (max-width: 991.98px) {
    .stats-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stats-list li:nth-child(3n) { border-right: 0; }
    .stats-list li:nth-child(n+4) { border-top: 1px solid var(--border); }
}
@media (max-width: 767.98px) {
    .stats-strip { margin-top: -32px; }
    .stats-list li { min-width: 0; padding: 14px 6px; }
}
@media (max-width: 399.98px) {
    .stat-label { font-size: .74rem; }
}

/* ---------- News ticker ---------- */
.ticker {
    display: flex;
    align-items: stretch;
    max-width: 1296px;
    margin: 32px auto 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
/* Same width as the .container content box at every breakpoint. */
.ticker { width: calc(100% - 24px); }
@media (min-width: 576px)  { .ticker { width: 516px; } }
@media (min-width: 768px)  { .ticker { width: 696px; } }
@media (min-width: 992px)  { .ticker { width: 936px; } }
@media (min-width: 1200px) { .ticker { width: 1116px; } }
@media (min-width: 1400px) { .ticker { width: 1296px; } }
.ticker-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-400);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
    padding: 10px 20px;
    white-space: nowrap;
    z-index: 1;
}
.ticker-window { flex: 1 1 auto; overflow: hidden; min-width: 0; display: flex; align-items: center; }
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker-list { display: flex; margin: 0; padding: 0; }
.ticker-list li { white-space: nowrap; padding: 0 32px; position: relative; }
.ticker-list li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-400);
    transform: translateY(-50%);
}
.ticker-list a { color: var(--ink); text-decoration: none; font-size: .9rem; }
.ticker-list a:hover, .ticker-list a:focus-visible { color: var(--navy); text-decoration: underline; }
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ticker { border-radius: var(--r-md); }
    .ticker-track { animation: none; width: auto; }
    .ticker-list { flex-wrap: wrap; padding: 8px 0; }
    .ticker-list li { white-space: normal; padding: 3px 16px 3px 26px; }
    .ticker-copy { display: none; }
}
@media (max-width: 575.98px) {
    .ticker-label { padding: 10px 14px; font-size: 0; gap: 0; }
    .ticker-label i { font-size: 1.1rem; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s-7) 0; background: var(--bg); }
.section-soft { background: var(--bg-soft); }
@media (max-width: 767.98px) {
    .section { padding: var(--s-6) 0; }
}
.section-head { text-align: center; margin: 0 auto var(--s-5); max-width: 720px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-50);
    color: var(--accent-700);
    border-radius: var(--r-pill);
    padding: 4px 14px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 14px;
}
.section-title, h2.section-title { font-size: clamp(1.6rem, 3vw, 2.35rem); margin-bottom: 16px; font-weight: 800; }
.section-lead { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.lead-text { font-size: 1.1rem; color: var(--ink); line-height: 1.75; }
.text-muted-ink { color: var(--muted); }
.small-note { color: var(--muted); font-size: .9rem; }
.small-note i { color: var(--navy); }

/* ---------- Generic cards & tiles ---------- */
.icon-tile {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    background: var(--navy-50);
    color: var(--navy);
    transition: background .25s ease, color .25s ease;
}
.icon-tile--sm { width: 44px; height: 44px; font-size: 1.15rem; border-radius: var(--r-sm); }
.icon-tile--lg { width: 72px; height: 72px; font-size: 2rem; border-radius: var(--r-lg); }

.svc-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.svc-card .icon-tile { margin-bottom: 20px; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy-100); }
.svc-card:hover .icon-tile { background: var(--navy); color: #fff; }
.svc-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.svc-card p { color: var(--muted); margin-bottom: 0; font-size: .94rem; }
.svc-card p.svc-strong { color: var(--ink); font-weight: 500; font-size: 1rem; }

.link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    text-decoration: none;
    color: var(--body);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
    overflow: hidden;
}
.link-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--accent-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.link-card .icon-tile { margin-bottom: 20px; }
.link-card:hover, .link-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--navy-100); color: var(--body); }
.link-card:hover::after, .link-card:focus-visible::after { transform: scaleX(1); }
.link-card:hover .icon-tile, .link-card:focus-visible .icon-tile { background: var(--navy); color: #fff; }
.link-card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.link-card-text { color: var(--muted); font-size: .94rem; flex: 1 1 auto; }
.link-card-more { margin-top: 20px; font-weight: 600; color: var(--navy); font-size: .92rem; }
.link-card-more i { display: inline-block; transition: transform .25s ease; }
.link-card:hover .link-card-more i { transform: translateX(4px); }

/* Image frame with floating badge */
.img-frame { position: relative; padding: 0 0 24px 24px; }
.img-frame::before {
    content: '';
    position: absolute;
    right: -12px;
    top: -12px;
    width: 45%;
    height: 55%;
    border-radius: var(--r-lg);
    background: repeating-linear-gradient(45deg, var(--navy-100) 0 2px, transparent 2px 12px);
    z-index: 0;
}
.img-frame img {
    position: relative;
    z-index: 1;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--bg-tint);
}
.img-frame--sm::before { display: none; }
.img-frame--sm { padding: 0 0 20px 12px; }
.float-card {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: var(--r-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    font-size: .84rem;
    line-height: 1.35;
    color: var(--muted);
    max-width: calc(100% - 24px);
}
.float-card i { font-size: 1.8rem; color: var(--accent); }
.float-card strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .94rem; }
@media (max-width: 575.98px) {
    .img-frame::before { right: 0; top: -8px; }
}

/* Callouts */
.callout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--navy-50);
    border: 1px solid var(--navy-100);
    border-radius: var(--r-md);
    padding: 16px 20px;
    margin: 24px 0;
    color: var(--ink);
}
.callout > i { font-size: 1.4rem; line-height: 1.4; color: var(--navy); flex: 0 0 auto; }
.callout--info { background: var(--navy-50); border-color: var(--navy-100); }
.callout--warning { background: #fffbeb; border-color: #fde68a; }
.callout--warning > i { color: #b45309; }
.callout--accent { background: var(--accent-50); border-color: #fed7aa; }
.callout--accent > i { color: var(--accent); }
.callout-title { font-family: var(--font-head); font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.callout .icon-list li + li { margin-top: 6px; }
.icon-list { margin: 0; padding: 0; }
.icon-list li { display: flex; gap: 10px; align-items: flex-start; }
.icon-list li i { color: var(--accent); margin-top: 2px; }
.callout--warning .icon-list li { position: relative; padding-left: 16px; display: block; }
.callout--warning .icon-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #b45309; }

.motto-inline { font-weight: 600; color: var(--navy); }
.motto-inline span { color: var(--accent); }
.highlight-line { font-weight: 600; color: var(--ink); font-size: 1.05rem; }

/* Facts / chips / badges */
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; }
.fact-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px;
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.45;
    min-width: 0;
}
.fact-item strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .95rem; margin-bottom: 2px; }
@media (max-width: 767.98px) {
    .fact-grid, .fact-grid--2 { grid-template-columns: 1fr; }
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; }
.fact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-50);
    color: var(--accent-700);
    border: 1px solid #fed7aa;
    border-radius: var(--r-pill);
    padding: 6px 16px;
    font-weight: 600;
    font-size: .88rem;
}
.badge-tile {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    background: linear-gradient(160deg, var(--navy-50), #fff);
    border: 1px solid var(--navy-100);
    border-radius: var(--r-lg);
    padding: 24px 16px;
}
.badge-tile i { font-size: 2rem; color: var(--navy); margin-bottom: 6px; }
.badge-tile strong { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.badge-tile span { color: var(--muted); font-size: .85rem; line-height: 1.4; }

.feature-panel {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--bg-soft), #fff);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    margin-bottom: 8px;
}
.feature-panel .lead-text { font-size: 1.05rem; }
@media (max-width: 575.98px) {
    .feature-panel { flex-direction: column; gap: 16px; padding: 20px; }
}

.aff-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-600));
    border-radius: var(--r-lg);
    padding: 48px 32px;
    box-shadow: var(--shadow-lg);
}
.aff-card::after { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.aff-card-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: 2.4rem; color: #fed7aa; margin-bottom: 20px; }
.aff-card-kicker { color: rgba(255, 255, 255, .85); margin-bottom: 6px; }
.aff-card-no { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 6px; }
.aff-card-type { color: #fed7aa; font-weight: 500; }

/* ---------- Page top (no title banner) ----------
   Pages carry a visually hidden H1 (.page-title), so the first section sits
   directly under the sticky navbar with a slightly tighter top padding. */
.page-title + .section { padding-top: var(--s-6); }
@media (max-width: 767.98px) {
    .page-title + .section { padding-top: var(--s-5); }
}

/* ---------- Sub-page layout ---------- */
.subpage { padding: var(--s-5) 0 var(--s-7); background: var(--bg-soft); }
.subpage-main, .subpage-aside { min-width: 0; }
.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}
.content-card > :last-child { margin-bottom: 0; }
.content-title {
    position: relative;
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    font-weight: 800;
    padding-bottom: 14px;
    margin-bottom: 24px;
}
.content-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-400), var(--accent));
}
.content-subtitle { font-size: 1.2rem; margin: 32px 0 16px; }
@media (max-width: 767.98px) {
    .subpage { padding: var(--s-3) 0 var(--s-6); }
    .content-card { padding: 24px 20px; border-radius: var(--r-md); }
}

/* Mobile pill bar */
.section-pills { margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5) 20px; min-width: 0; }
.section-pills ul {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 4px calc(var(--bs-gutter-x, 1.5rem) * .5) 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.section-pills ul::-webkit-scrollbar { display: none; }
.section-pills li { flex: 0 0 auto; scroll-snap-align: start; }
.section-pills .pill:focus-visible { outline-offset: 0; } /* keep the ring inside the scroller's padding */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    background: #fff;
    border: 1px solid var(--border);
    color: var(--body);
    font-size: .86rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}
.pill i { color: var(--muted); }
.pill:hover, .pill:focus-visible { color: var(--navy); border-color: var(--navy-100); }
.pill.active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.pill.active i { color: #fed7aa; }

/* Sidebar */
.aside-sticky { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 24px; }
.side-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.side-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--ink);
    font-size: 1rem;
    padding: 0 8px 12px;
    margin: 0 0 8px;
    border-bottom: 1px solid var(--border);
}
.side-title i { color: var(--accent); }
.side-list { margin: 0; padding: 0; display: grid; gap: 2px; }
.side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--body);
    font-size: .9rem;
    line-height: 1.35;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.side-link i { color: var(--muted); width: 18px; text-align: center; flex: 0 0 auto; }
.side-link:hover, .side-link:focus-visible { background: var(--navy-50); color: var(--navy); }
.side-link:hover i { color: var(--navy); }
.side-link.active { background: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 6px 14px rgba(30, 58, 138, .2); }
.side-link.active i { color: #fed7aa; }

.cta-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    padding: 24px;
    color: #fff;
    background: linear-gradient(150deg, var(--navy-900), var(--navy) 70%);
    box-shadow: var(--shadow);
}
.cta-card::after { content: ''; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%; background: rgba(249, 115, 22, .2); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); color: #fed7aa; font-size: 1.3rem; margin-bottom: 12px; }
.cta-card-title { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; }
.cta-card-text { font-size: .88rem; color: rgba(255, 255, 255, .82); line-height: 1.55; }
.cta-card-phones { margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.cta-card-phones a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }
.cta-card-phones a:hover, .cta-card-phones a:focus-visible { text-decoration: underline; }
.cta-card-phones i { color: var(--accent-400); }

/* Prev / next */
.prev-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.pn-link {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px 20px;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
    min-width: 0;
}
.pn-link > i { font-size: 1.2rem; color: var(--navy); flex: 0 0 auto; }
.pn-next { justify-content: flex-end; text-align: right; }
.pn-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.pn-title { display: block; font-family: var(--font-head); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
a.pn-link:hover, a.pn-link:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--navy-100); color: var(--navy); }
.pn-empty { visibility: hidden; }
@media (max-width: 575.98px) {
    .prev-next { gap: 10px; }
    .pn-link { padding: 12px 14px; gap: 10px; }
    .pn-title { font-size: .88rem; }
}

/* ---------- Messages ---------- */
.message-card {
    position: relative;
    background: linear-gradient(180deg, var(--bg-soft), #fff 120px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
}
.teaser-card { height: 100%; display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s ease; }
.teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.teaser-card > p { flex: 1 1 auto; }
.msg-quote {
    position: absolute;
    right: 24px;
    top: 4px;
    font-size: 5rem;
    color: var(--navy-100);
    line-height: 1;
}
.msg-head { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.avatar-ph, .avatar-img {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
}
.message-card:not(.teaser-card) .avatar-ph,
.message-card:not(.teaser-card) .avatar-img { width: 96px; height: 96px; }
.avatar-ph {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-600));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--navy-100), var(--shadow);
}
.avatar-img { object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--navy-100); }
.msg-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.2rem; margin: 0; }
.msg-role { color: var(--accent); font-weight: 600; margin: 0; font-size: .9rem; }
.msg-salutation { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.msg-sign { margin: 28px 0 0; padding-top: 20px; border-top: 1px dashed var(--border); text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.msg-sign-script { font-family: 'Segoe Script', 'Brush Script MT', cursive; font-weight: 400; font-size: 1.5rem; color: var(--ink); opacity: .75; }
@media (max-width: 575.98px) {
    .message-card { padding: 22px 18px; }
    .msg-quote { font-size: 3.2rem; right: 12px; }
    .message-card:not(.teaser-card) .avatar-ph,
    .message-card:not(.teaser-card) .avatar-img { width: 72px; height: 72px; }
}

/* ---------- Mission & vision ---------- */
.motto-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
    background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-600));
    color: #fff;
    border-radius: var(--r-lg);
    padding: 28px 32px;
    font-family: var(--font-head);
    font-size: clamp(1.1rem, 2.4vw, 1.55rem);
    font-weight: 700;
    box-shadow: var(--shadow);
}
.motto-band i { font-size: 1.8rem; color: var(--accent-400); }
.motto-band span { color: #fed7aa; }

.objective-list {
    list-style: none;
    counter-reset: obj;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}
.objective-list li {
    counter-increment: obj;
    position: relative;
    padding: 16px 18px 16px 72px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--ink);
    font-weight: 500;
    transition: border-color .2s ease, background .2s ease;
}
.objective-list li:hover { border-color: var(--navy-100); background: var(--navy-50); }
.objective-list li::before {
    content: counter(obj, lower-roman);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
}

/* Why choose / skills / facilities */
.why-card, .skill-card, .facility-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.why-card:hover, .skill-card:hover, .facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy-100); }
.why-card:hover .icon-tile, .skill-card:hover .icon-tile, .facility-card:hover .icon-tile { background: var(--navy); color: #fff; }
.why-card .icon-tile { margin-bottom: 16px; }
.why-card p { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.45; }
.why-num { position: absolute; right: 20px; top: 14px; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--navy-50); line-height: 1; }
.skill-card { display: flex; align-items: center; gap: 16px; padding: 20px; }
.skill-card p { font-weight: 600; color: var(--ink); line-height: 1.4; }
.facility-card .icon-tile { margin-bottom: 16px; }
.facility-card h2, .facility-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.facility-card p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ---------- Registration timeline & process ---------- */
.timeline { position: relative; margin: 0 0 8px; padding: 0; }
.timeline::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--navy-100), var(--accent-400)); }
.timeline-item { position: relative; display: flex; gap: 20px; padding-bottom: 20px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: relative;
    z-index: 1;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 800;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--navy-100);
}
.timeline-item:last-child .timeline-dot { background: var(--accent); }
.timeline-body {
    flex: 1 1 auto;
    min-width: 0;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px 18px;
    color: var(--ink);
}

.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; position: relative; }
.process-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 24px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.process-step .icon-tile { margin-bottom: 16px; }
.process-step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .92rem; flex: 1 1 auto; }
.process-num {
    position: absolute;
    right: 20px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-50);
    color: var(--accent-700);
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 800;
}
@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: '\F138';
        font-family: 'bootstrap-icons';
        position: absolute;
        right: -19px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 14px;
        color: var(--accent-400);
        font-size: 1.1rem;
    }
}
@media (max-width: 991.98px) {
    .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .process-steps { grid-template-columns: 1fr; gap: 16px; }
}
.quick-fact {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px;
    text-decoration: none;
    color: var(--ink);
    transition: background .2s ease, border-color .2s ease, transform .2s var(--ease);
    min-width: 0;
}
.quick-fact > i { font-size: 1.5rem; color: var(--accent); flex: 0 0 auto; }
.quick-fact:hover, .quick-fact:focus-visible { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy); transform: translateY(-2px); }
.quick-fact-label { display: block; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.quick-fact-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.3; }

/* ---------- Rule lists ---------- */
.rule-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
}
.rule-card h2, .rule-card h3 { font-size: 1.15rem; margin-bottom: 16px; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.rule-card--summer h2 i, .rule-card--summer h3 i { color: var(--accent); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink); }
.check-list li::before {
    content: '\F26B'; /* bi-check-circle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.7;
}
@media (max-width: 575.98px) {
    .rule-card { padding: 20px; }
}

/* Fee table */
.fee-table-wrap {
    background: #fff;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}
.fee-table { caption-side: top; --bs-table-bg: transparent; }
.fee-table caption {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--ink);
    padding: 16px 20px 12px;
    font-size: 1.1rem;
}
.fee-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; padding: 14px 20px; border: 0; }
.fee-table td { padding: 12px 20px; vertical-align: middle; color: var(--ink); border-color: var(--border); }
.fee-table tbody tr:nth-child(even) td { background: var(--bg-soft); }
.fee-table tbody tr:hover td { background: var(--navy-50); }
.due-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-50); color: var(--accent-700); border-radius: var(--r-pill); padding: 2px 12px; font-weight: 600; font-size: .9rem; white-space: nowrap; }

/* Timing cards */
.timing-card {
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: var(--r-lg);
    padding: 22px 24px;
    height: 100%;
    border: 1px solid transparent;
}
.timing-card > i { font-size: 2.1rem; flex: 0 0 auto; width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--r-md); background: #fff; }
.timing-card--accent { background: var(--accent-50); border-color: #fed7aa; }
.timing-card--accent > i { color: var(--accent); }
.timing-card--navy { background: var(--navy-50); border-color: var(--navy-100); }
.timing-card--navy > i { color: var(--navy); }
.timing-label { font-family: var(--font-head); font-weight: 700; font-size: .85rem; margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.timing-value { margin: 0; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.timing-glyph {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: var(--r-md);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.1;
}
.timing-glyph small { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.timing-card--navy .timing-glyph { color: var(--navy); }
.timing-card--accent .timing-glyph { color: var(--accent); }
.timing-card--lg { padding: 32px 28px; }
.timing-card--lg .timing-value { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }

/* Uniform tabs */
.uniform-tabs .nav-pills { gap: 10px; margin-bottom: 20px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 6px; display: inline-flex; }
.uniform-tabs .nav-link {
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--body);
    font-family: var(--font-head);
    font-weight: 600;
    padding: 8px 24px;
}
.uniform-tabs .nav-link:hover { color: var(--navy); }
.uniform-tabs .nav-link.active { background: var(--navy); color: #fff; box-shadow: 0 6px 14px rgba(30, 58, 138, .25); }

/* Houses */
.house-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 6px solid var(--house-c, var(--navy));
    border-radius: var(--r-lg);
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s ease;
    text-decoration: none;
    color: var(--body);
    overflow: hidden;
}
.house-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 90px; background: linear-gradient(var(--house-tint), transparent); pointer-events: none; }
.house-card > * { position: relative; }
a.house-card:hover, a.house-card:focus-visible, .house-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--body); }
.house-white { --house-c: var(--house-white); --house-tint: #f1f5f9; }
.house-blue { --house-c: var(--house-blue); --house-tint: #dbeafe; }
.house-orange { --house-c: var(--house-orange); --house-tint: #ffedd5; }
.house-green { --house-c: var(--house-green); --house-tint: #dcfce7; }
.house-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    color: var(--house-c);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    box-shadow: 0 0 0 4px var(--house-tint), var(--shadow-sm);
}
.house-white .house-icon { color: #475569; }
.house-num { position: absolute; left: 18px; top: 12px; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--house-c); opacity: .18; }
.house-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.1rem; margin: 0 0 6px; display: block; }
.house-colour {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin: 0 0 12px;
}
.house-swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--house-c); border: 1px solid rgba(15, 23, 42, .15); }
.house-white .house-swatch { background: #fff; }
.house-motto { font-style: italic; color: var(--ink); margin: 0; font-weight: 500; }

/* Quote band & block */
.quote-band {
    position: relative;
    background: linear-gradient(135deg, var(--ink), var(--navy-900));
    color: #fff;
    padding: var(--s-7) 0;
    text-align: center;
    overflow: hidden;
}
.quote-band::before {
    content: '\201C';
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    font-size: 14rem;
    line-height: 1;
    color: rgba(255, 255, 255, .06);
    pointer-events: none;
}
.quote-band blockquote { margin: 0; position: relative; }
.quote-band blockquote p {
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    font-weight: 600;
    max-width: 880px;
    margin: 0 auto;
    line-height: 1.5;
}
.quote-band figcaption { margin-top: 20px; color: var(--accent-400); font-weight: 600; }

.quote-block {
    position: relative;
    margin: 0;
    background: linear-gradient(135deg, var(--navy-900), var(--navy));
    color: #fff;
    border-radius: var(--r-lg);
    padding: 40px 36px 32px 36px;
    overflow: hidden;
}
.quote-block::before { content: '\201C'; position: absolute; left: 18px; top: -24px; font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: rgba(255, 255, 255, .1); }
.quote-block blockquote { margin: 0; position: relative; }
.quote-block blockquote p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; margin: 0; }
.quote-block figcaption { margin-top: 16px; color: var(--accent-400); font-weight: 600; position: relative; }
@media (max-width: 575.98px) {
    .quote-block { padding: 32px 22px 24px; }
}

.note-card {
    position: relative;
    background: var(--accent-50);
    border: 1px solid #fed7aa;
    border-left: 6px solid var(--accent);
    border-radius: var(--r-lg);
    padding: 28px 28px 28px 28px;
    color: var(--ink);
}
.note-icon { display: block; font-size: 1.8rem; color: var(--accent); margin-bottom: 8px; }

/* Salient features */
.feature-num-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px 20px;
    transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.feature-num-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy-100); }
.feature-num {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .95rem;
    color: var(--navy);
    background: var(--navy-50);
    transition: background .25s ease, color .25s ease;
}
.feature-num-card:hover .feature-num { background: var(--accent); color: #fff; }
.feature-num-card p { color: var(--ink); font-size: .95rem; line-height: 1.6; }

.club-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; }
.club-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 9px 18px;
    font-weight: 500;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease;
}
.club-chip i { color: var(--accent); }
.club-chip:hover { transform: translateY(-2px); border-color: var(--navy-100); box-shadow: var(--shadow); }

/* Activities */
.activity-card {
    position: relative;
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-tint);
}
.activity-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.activity-card:hover img { transform: scale(1.06); }
.activity-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 18px 14px;
    background: linear-gradient(to top, rgba(15, 23, 42, .9), rgba(15, 23, 42, 0));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
}

/* ---------- Gallery & lightbox ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter-btn {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    border-radius: var(--r-pill);
    padding: 8px 20px;
    font-weight: 600;
    font-family: var(--font-head);
    font-size: .9rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg-tint);
    cursor: zoom-in;
    box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.gallery-zoom {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(30, 58, 138, .55);
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }
.gallery-cat {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(255, 255, 255, .94);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 700;
    border-radius: var(--r-pill);
    padding: 2px 10px;
}
.lightbox-modal .modal-content { background: var(--ink); border: 0; border-radius: var(--r-lg); overflow: hidden; }
.lightbox-img { width: 100%; max-height: 78vh; object-fit: contain; display: block; background: #000; }
.lightbox-caption { color: #fff; padding: 14px 20px; text-align: center; font-family: var(--font-head); font-weight: 600; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 3; background-color: rgba(0, 0, 0, .5); border-radius: 50%; padding: 10px; opacity: 1; }
.lightbox-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    font-size: 1.3rem;
    display: grid;
    place-items: center;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ---------- Contact & forms ---------- */
.contact-card {
    height: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s ease;
    overflow-wrap: anywhere;
}
.contact-card .icon-tile { margin: 0 auto 16px; }
.contact-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card:hover .icon-tile { background: var(--navy); color: #fff; }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; width: 100%; background: var(--bg-tint); border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-panel {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}
.form-panel--flat { box-shadow: none; padding: 28px; background: var(--bg-soft); }
.form-panel--narrow { max-width: 860px; }
/* Honeypot field: off-screen for people, still in the form for bots. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Server-side form feedback (flash alerts above the form). */
.form-panel > .alert { margin-bottom: 20px; }
.form-panel > .alert:last-child { margin-bottom: 0; }
.form-panel > .alert:focus { outline: 3px solid var(--accent-400); outline-offset: 2px; }
.form-alert-list { margin: 8px 0 0; padding-left: 1.25rem; }
@media (max-width: 575.98px) {
    .form-panel, .form-panel--flat { padding: 20px; }
}
.form-label { font-weight: 500; color: var(--ink); font-size: .94rem; }
.req { color: #b91c1c; }
.form-control, .form-select { border-radius: var(--r-sm); border-color: #cbd5e1; padding: 10px 14px; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--navy-600); box-shadow: 0 0 0 .25rem rgba(29, 78, 216, .15); }

.empty-state {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: var(--r-lg);
    padding: 40px 24px;
    overflow-wrap: anywhere;
}
.empty-state i { font-size: 2.6rem; color: var(--navy); display: block; margin-bottom: 12px; }
.error-code {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(5rem, 15vw, 9rem);
    line-height: 1;
    background: linear-gradient(135deg, var(--navy-100), #fed7aa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, #1e40af);
    color: #fff;
    padding: 72px 0;
}
.cta-band::before, .cta-band::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.cta-band::before { width: 340px; height: 340px; top: -150px; right: -80px; background: rgba(249, 115, 22, .16); }
.cta-band::after { width: 220px; height: 220px; bottom: -120px; left: 8%; background: rgba(255, 255, 255, .05); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255, 255, 255, .86); }


/* ---------- Home page ----------
   Tighter vertical rhythm on the home page only (body.page-home). */
.page-home .section { padding: 36px 0; }
.page-home .section-head { margin-bottom: 24px; }
.page-home .quote-band { padding: 36px 0; }
.page-home .cta-band { padding: 36px 0; }
.page-home .ticker { margin-top: 16px; margin-bottom: 0; }
.page-home .ticker + .section { padding-top: 28px; }
.page-home .stats-strip { margin-top: -24px; }
@media (max-width: 767.98px) {
    .page-home .section { padding: 26px 0; }
    .page-home .section-head { margin-bottom: 18px; }
    .page-home .quote-band { padding: 28px 0; }
    .page-home .cta-band { padding: 28px 0; }
    .page-home .ticker { margin-top: 12px; }
    .page-home .ticker + .section { padding-top: 20px; }
    .stat-icon { width: 34px; height: 34px; font-size: .95rem; margin-bottom: 6px; }
}

/* Section head with a link on the right */
.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
    text-align: left;
    max-width: none;
}
.section-head--split .section-lead { margin: 0; }
.section-head--split > div { max-width: 680px; }

/* Hero points */
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .88); }
.hero-points i { color: var(--accent-400); }

/* Welcome chips */
.welcome-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; }
.welcome-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy-50);
    color: var(--navy);
    border: 1px solid var(--navy-100);
    border-radius: var(--r-pill);
    padding: 5px 14px;
    font-size: .85rem;
    font-weight: 600;
}

/* Academics snapshot */
.aff-card--home { height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: left; padding: 40px 32px; }
.aff-card--home .aff-card-icon { margin-bottom: 16px; }
.aff-card--home .btn { align-self: flex-start; margin-top: 20px; }
.aff-list { margin: 16px 0 0; padding: 0; display: grid; gap: 8px; position: relative; z-index: 1; }
.aff-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .9); font-size: .94rem; }
.aff-list i { color: var(--accent-400); }
.link-card--compact { padding: 22px; }
.link-card--compact .icon-tile { width: 48px; height: 48px; font-size: 1.25rem; margin-bottom: 14px; }
@media (max-width: 575.98px) {
    /* Phones: academic links become compact 2x2 icon tiles */
    .link-card--compact { padding: 16px; align-items: flex-start; }
    .link-card--compact .icon-tile { width: 42px; height: 42px; font-size: 1.1rem; margin-bottom: 10px; }
    .link-card--compact .link-card-title { font-size: 1rem; margin-bottom: 0; }
    .link-card--compact .link-card-text { display: none; }
    .link-card--compact .link-card-more { margin-top: 8px; font-size: .85rem; }
    .page-home .house-card { padding: 20px 12px; }
    .page-home .house-name { font-size: .98rem; }
    .page-home .house-motto { font-size: .88rem; }
}

/* Navy section (facilities) */
.section-navy {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    background:
        radial-gradient(700px 360px at 100% 0%, rgba(249, 115, 22, .16), transparent 60%),
        linear-gradient(135deg, var(--navy-900), var(--navy) 70%);
}
.section-navy .section-title { color: #fff; }
.section-navy .section-lead { color: rgba(255, 255, 255, .78); }
.section-navy .eyebrow { background: rgba(255, 255, 255, .1); color: #fed7aa; }
.fac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.fac-tile {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    height: 100%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-md);
    padding: 20px;
    transition: background .25s ease, transform .25s var(--ease), border-color .25s ease;
}
.fac-tile:hover { background: rgba(255, 255, 255, .1); border-color: rgba(253, 186, 116, .45); transform: translateY(-3px); }
.fac-tile .icon-tile { width: 48px; height: 48px; font-size: 1.25rem; background: rgba(249, 115, 22, .16); color: #fed7aa; }
.fac-tile h3 { color: #fff; font-size: 1.04rem; margin: 2px 0 4px; }
.fac-tile p { margin: 0; font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .72); }
@media (max-width: 991.98px) { .fac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .fac-grid { grid-template-columns: 1fr; gap: 12px; }
    .fac-tile { padding: 16px; }
}

/* Salient highlights (stacked number cards) */
.feature-num-card--stack { flex-direction: column; gap: 14px; padding: 22px; }
.feature-num-card--stack .feature-num { flex: 0 0 auto; }
@media (max-width: 991.98px) {
    .feature-num-card--stack { flex-direction: row; align-items: center; padding: 14px 16px; }
}
/* Welcome image: keep a sensible size when the columns stack */
@media (max-width: 991.98px) {
    .page-home .img-frame { max-width: 560px; margin: 0 auto; }
}

/* Hobby club scroller */
.club-marquee {
    overflow: hidden;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.club-marquee + .club-marquee { margin-top: 10px; }
.club-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.club-marquee--reverse .club-track { animation-direction: reverse; animation-duration: 70s; }
.club-track .club-list { flex-wrap: nowrap; padding-right: 12px; }
.club-track .club-chip { white-space: nowrap; }
.club-marquee:hover .club-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .club-marquee { -webkit-mask-image: none; mask-image: none; }
    .club-track { animation: none; width: auto; }
    .club-track .club-list { flex-wrap: wrap; padding-right: 0; }
    .club-copy, .club-marquee--reverse { display: none; }
}

/* Gallery preview */
.gallery-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.gallery-thumb { position: relative; margin: 0; height: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--bg-tint); box-shadow: var(--shadow-sm); }
.gallery-thumb img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.gallery-thumb:hover img { transform: scale(1.05); }
.gallery-thumb figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 10px;
    background: linear-gradient(to top, rgba(15, 23, 42, .85), rgba(15, 23, 42, 0));
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.35;
}
@media (max-width: 767.98px) {
    .gallery-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gallery-thumb figcaption { font-size: .76rem; padding: 22px 10px 8px; }
}


/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    padding-top: 72px;
    font-size: .93rem;
}
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: underline; }
.brand-footer .brand-logo { height: 64px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.brand-footer .brand-name { color: #fff; white-space: normal; }
.brand-footer .brand-tagline { color: rgba(255, 255, 255, .7); white-space: normal; }
.brand-footer:hover { text-decoration: none !important; }
.footer-about { margin: 20px 0 12px; }
.footer-motto span { color: var(--accent-400); font-weight: 600; }
.footer-heading {
    position: relative;
    color: #fff;
    font-size: 1.02rem;
    margin-bottom: 22px;
    padding-bottom: 12px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent-400);
}
.footer-links { display: grid; gap: 8px; margin: 0; }
.footer-contact { display: grid; gap: 12px; margin: 0; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact i { color: var(--accent-400); margin-top: 3px; }
.site-footer .footer-map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: #fff; }
.site-footer .footer-map-link:hover, .site-footer .footer-map-link:focus-visible { background: var(--accent); text-decoration: none; }
.social-links { display: flex; gap: 10px; margin: 20px 0 0; }
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    transition: background .2s ease;
}
.site-footer .social-link:hover, .site-footer .social-link:focus-visible { background: var(--accent); color: #fff; text-decoration: none; }
.footer-bottom {
    margin-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0;
    font-size: .85rem;
}
.footer-credit {
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
}
.footer-credit a {
    color: #f59e0b !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.footer-credit a:hover,
.footer-credit a:focus {
    color: #ffffff !important;
    text-decoration: underline;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s var(--ease), visibility .3s, background .2s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover, .back-to-top:focus-visible { background: var(--navy); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js-reveal .reveal { opacity: 1; transform: none; }
}


/* New IIPS Custom Components */
.achievement-banner {
    background: linear-gradient(135deg, #061938 0%, #0a2e72 60%, #0369a1 100%);
    color: #ffffff;
    padding: 24px 20px;
    border-radius: var(--r-md);
    box-shadow: 0 10px 25px -5px rgba(6, 25, 56, 0.25);
    margin-bottom: 32px;
}
.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: var(--r-pill);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fef08a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.principle-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.principle-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.principle-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--navy-50);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.principle-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}
.principle-desc {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

/* ==========================================================================
   IIPS Modern Split Hero & Bento Grid Components
   ========================================================================== */

/* Top notification banner */
.iips-top-announcement {
    background: linear-gradient(90deg, #022c22 0%, #064e3b 50%, #047857 100%);
    color: #fef3c7;
    padding: 8px 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}
.iips-top-announcement a {
    color: #fef08a;
    text-decoration: underline;
    margin-left: 8px;
}

/* Split Modern Hero */
.hero-split-modern {
    background: linear-gradient(135deg, #022c22 0%, #064e3b 60%, #0b3d30 100%);
    color: #ffffff;
    padding: 48px 0 60px 0;
    position: relative;
    overflow: hidden;
}
.hero-split-modern::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-split-modern::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fef08a;
    padding: 6px 16px;
    border-radius: var(--r-pill);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.hero-headline {
    font-family: var(--font-head);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.hero-headline span.highlight {
    background: linear-gradient(90deg, #fef08a 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sublead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #d1fae5;
    margin-bottom: 24px;
    max-width: 560px;
}
.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-trust-item {
    font-size: 0.85rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-trust-item i {
    color: #f59e0b;
    font-size: 1rem;
}

/* Floating interactive card in Hero */
.hero-slider-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.15);
}
.hero-floating-badge {
    position: absolute;
    background: rgba(2, 44, 34, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: var(--r-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    z-index: 10;
}
.hero-badge-top-left {
    top: 16px;
    left: 16px;
}
.hero-badge-bottom-right {
    bottom: 16px;
    right: 16px;
}

/* Bento Grid System for 21 Salient Features */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.bento-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--r-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -5px rgba(6, 78, 59, 0.15);
    border-color: #059669;
}
.bento-card-green {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    color: #ffffff;
    border: none;
}
.bento-card-green h3, .bento-card-green p {
    color: #ffffff !important;
}
.bento-card-gold {
    background: linear-gradient(135deg, #78350f 0%, #b45309 100%);
    color: #ffffff;
    border: none;
}
.bento-card-gold h3, .bento-card-gold p {
    color: #ffffff !important;
}
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

@media (max-width: 991px) {
    .bento-col-4, .bento-col-6, .bento-col-8 { grid-column: span 12; }
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #064e3b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.bento-card-green .bento-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fef08a;
}
.bento-card-gold .bento-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fef08a;
}

/* Executive Leadership Cards */
.leadership-showcase {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.leadership-header {
    background: linear-gradient(90deg, #064e3b 0%, #047857 100%);
    color: #ffffff;
    padding: 16px 24px;
    font-weight: 700;
}

/* Uniform Showcase Tabs */
.uniform-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid #064e3b;
}
.uniform-box-senior {
    border-top-color: #b45309;
}

/* ---------- Redesigned Header & Topbar for IIPS ---------- */
.topstrip-iips {
    background: linear-gradient(90deg, #022c22 0%, #064e3b 60%, #047857 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    padding: 7px 0;
}
.site-brandbar-iips {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.menubar-iips {
    background: linear-gradient(90deg, #064e3b 0%, #047857 100%) !important;
    border-bottom: 3px solid #f59e0b;
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.2);
}
.menubar-iips .nav-link {
    color: #f1f5f9 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 18px !important;
    transition: all 0.2s ease;
}
.menubar-iips .nav-link:hover,
.menubar-iips .nav-link.active {
    color: #fef08a !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}
.menubar-iips .dropdown-menu {
    border-top: 3px solid #f59e0b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   PURE HERO IMAGE SLIDER (Website 2 - No Text Overlays)
   ========================================================================== */
.iips-hero-slider-section {
    position: relative;
    background: #022c22;
    width: 100%;
    overflow: hidden;
}
.iips-carousel .carousel-item {
    height: 520px;
    background: #022c22;
}
.iips-slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 991.98px) {
    .iips-carousel .carousel-item {
        height: 380px;
    }
}
@media (max-width: 575.98px) {
    .iips-carousel .carousel-item {
        height: 240px;
    }
}
.iips-carousel .carousel-indicators [data-bs-target] {
    width: 32px;
    height: 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}
.iips-carousel .carousel-indicators .active {
    background-color: #f59e0b;
    width: 48px;
}
.iips-carousel .carousel-control-prev,
.iips-carousel .carousel-control-next {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(2, 44, 34, 0.65);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0.85;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.iips-carousel .carousel-control-prev:hover,
.iips-carousel .carousel-control-next:hover {
    background: #064e3b;
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}
.iips-welcome-ribbon {
    background: #ffffff;
    border-color: #e2e8f0 !important;
}


/* ==========================================================================
   IIPS CRITICAL UTILITY & COLOR FIXES
   ========================================================================== */
.text-navy {
    color: #064e3b !important;
}
.bg-navy {
    background-color: #064e3b !important;
    color: #ffffff !important;
}
.text-navy-light {
    color: #047857 !important;
}
.text-gold {
    color: #d97706 !important;
}
.bg-gold {
    background-color: #f59e0b !important;
    color: #0f172a !important;
}
.max-w-700 {
    max-width: 700px !important;
}
.max-w-800 {
    max-width: 800px !important;
}
.rounded-4 {
    border-radius: 1.25rem !important;
}
.rounded-5 {
    border-radius: 1.75rem !important;
}
.fs-7 {
    font-size: 0.85rem !important;
}

/* ==========================================================================
   REFINED PURE HERO SLIDER (Responsive object-fit: contain to avoid cropping)
   ========================================================================== */
.iips-hero-slider-section {
    position: relative;
    background: #022c22 !important;
    width: 100%;
    overflow: hidden;
    box-shadow: inset 0 -8px 20px rgba(0, 0, 0, 0.35);
}
.iips-carousel {
    width: 100%;
}
.iips-carousel .carousel-item {
    height: 520px;
    background: #022c22 !important;
    text-align: center;
}
.iips-slider-image {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
    display: block;
    margin: 0 auto;
}
@media (max-width: 991.98px) {
    .iips-carousel .carousel-item {
        height: 380px;
    }
}
@media (max-width: 575.98px) {
    .iips-carousel .carousel-item {
        height: 240px;
    }
}

/* ==========================================================================
   WHY CHOOSE US & FAQ SECTION ENHANCEMENTS
   ========================================================================== */
.why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 28px 24px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}
.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #064e3b;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px -10px rgba(6, 78, 59, 0.15);
    border-color: #059669;
}
.why-card:hover::after {
    opacity: 1;
}
.why-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #ecfdf5;
    color: #064e3b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.why-card:hover .why-icon-box {
    transform: scale(1.1);
    background: #064e3b;
    color: #fef08a;
}

/* FAQ Accordion Styling */
.iips-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}
.iips-accordion .accordion-item:hover {
    border-color: #10b981;
}
.iips-accordion .accordion-button {
    font-size: 1.05rem;
    font-weight: 700;
    color: #064e3b;
    padding: 18px 24px;
    background: #ffffff;
    box-shadow: none;
}
.iips-accordion .accordion-button:not(.collapsed) {
    background: #ecfdf5;
    color: #064e3b;
    border-bottom: 1px solid #a7f3d0;
}
.iips-accordion .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.2s ease;
}
.iips-accordion .accordion-body {
    padding: 20px 24px;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #334155;
    background: #ffffff;
}

/* Stat Counter Badge Box */
.stat-box-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: transform 0.25s ease;
}
.stat-box-modern:hover {
    transform: translateY(-4px);
    border-color: #f59e0b;
}
.stat-num-modern {
    font-size: 2.2rem;
    font-weight: 800;
    color: #064e3b;
    line-height: 1.1;
    margin-bottom: 6px;
    font-family: var(--font-head);
}
.stat-label-modern {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quote Banner */
.ruskin-quote-band {
    background: linear-gradient(135deg, #022c22 0%, #064e3b 60%, #047857 100%);
    color: #ffffff;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.ruskin-quote-band::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 20px;
    font-size: 240px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    pointer-events: none;
}


/* ==========================================================================
   HEADER & NAVBAR OVERFLOW FIXES (Strict page-width containment without breaking sticky)
   ========================================================================== */
body {
    overflow-x: clip;
}
.site-brandbar-iips,
.topstrip-iips,
.menubar-iips,
.mobilebar {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: clip;
}
.topstrip-iips .container,
.site-brandbar-iips .container,
.menubar-iips .container {
    max-width: 1320px;
    padding-left: 16px;
    padding-right: 16px;
}
.menubar-iips {
    background: linear-gradient(90deg, #064e3b 0%, #047857 100%) !important;
    border-bottom: 3px solid #f59e0b;
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.2);
    padding: 0 !important;
}
.menubar-iips .main-menu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}
.menubar-iips .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
}
.menubar-iips .nav-link {
    color: #f1f5f9 !important;
    font-weight: 600;
    font-size: 0.80rem !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 13px 8px !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-align: center;
    display: inline-block;
}
.menubar-iips .nav-link:hover,
.menubar-iips .nav-link.active {
    color: #fef08a !important;
    background: rgba(255, 255, 255, 0.12);
}
.menubar-iips .sub-toggle {
    color: #fef08a !important;
    padding: 2px 4px !important;
    margin-right: 0 !important;
    border: none;
    background: transparent;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .menubar-iips .nav-link {
        font-size: 0.70rem !important;
        padding: 11px 4px !important;
        letter-spacing: 0 !important;
    }
    .menubar-iips .sub-toggle {
        padding: 2px 2px !important;
    }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .menubar-iips .nav-link {
        font-size: 0.76rem !important;
        padding: 12px 6px !important;
    }
}


/* ==========================================================================
   AESTHETIC MENUBAR & FULL-WIDTH AUTO PROPORTIONAL ZERO-CUT SLIDER (Website 2)
   ========================================================================== */
.menubar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background: linear-gradient(90deg, #064e3b 0%, #047857 100%) !important;
    border-bottom: 3px solid #f59e0b;
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.2);
    padding: 0 !important;
    transition: box-shadow 0.3s ease;
}
.menubar.scrolled {
    box-shadow: 0 8px 24px rgba(2, 44, 34, 0.35);
}
.menubar .container {
    flex-wrap: nowrap;
}
.main-menu {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
}
.main-menu .nav-item {
    position: relative;
    display: flex;
    align-items: center;
}
.main-menu > .nav-item + .nav-item::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    width: 1px;
    height: 18px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}
.main-menu .nav-link {
    position: relative;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .84rem !important;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #f1f5f9 !important;
    padding: 16px 10px !important;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}
.main-menu .nav-link::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    height: 3px;
    border-radius: 2px;
    background: #f59e0b !important;
    transform: scaleX(0);
    transition: transform .25s var(--ease);
}
.main-menu .nav-link:hover,
.main-menu .nav-link:focus-visible,
.main-menu .nav-link.active {
    color: #fef08a !important;
}
.main-menu .nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.main-menu .nav-link:hover::after,
.main-menu .nav-link:focus-visible::after,
.main-menu .nav-link.active::after {
    transform: scaleX(1);
}
.main-menu .nav-link.active {
    font-weight: 700;
}
.main-menu .has-sub .nav-link {
    padding-right: 2px !important;
}
.main-menu .has-sub .nav-link::after {
    right: 2px;
}
.sub-toggle {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 6px 6px 6px 2px !important;
    font-size: .68rem;
    line-height: 1;
    border-radius: 6px;
    margin-right: 2px;
}
.sub-toggle:hover, .sub-toggle:focus-visible, .sub-toggle[aria-expanded="true"] {
    color: #fef08a !important;
    background: rgba(255, 255, 255, 0.15);
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-menu .nav-link { font-size: .72rem !important; letter-spacing: .02em; padding: 14px 5px !important; }
    .main-menu .nav-link::after { left: 5px; right: 5px; }
    .main-menu .has-sub .nav-link { padding-right: 1px !important; }
    .sub-toggle { padding: 4px 4px 4px 1px !important; margin-right: 1px; }
}

/* ==========================================================================
   EDGE-TO-EDGE ZERO-GAP HERO SLIDER (Proportional 16:9, No Void / Letterboxing)
   ========================================================================== */
.hero-carousel-section {
    position: relative;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
}
.hero-carousel {
    position: relative;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
.hero-carousel .carousel-inner {
    position: relative;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
.hero-carousel .carousel-item {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
.hero-carousel .carousel-item.active,
.hero-carousel .carousel-item-next,
.hero-carousel .carousel-item-prev {
    display: block !important;
}
.hero-slide-bg {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: transparent !important;
}
.hero-slide-img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    transform: none !important;
}
.carousel-item.active .hero-slide-img {
    transform: none !important;
}
.hero-slide-overlay {
    display: none !important;
}
.hero-carousel .carousel-indicators {
    bottom: 24px !important;
    z-index: 4;
    gap: 8px;
    margin-bottom: 0;
}
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 32px;
    height: 5px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.55);
    border: 0;
    transition: all 0.3s ease;
    opacity: 0.7;
    margin: 0;
}
.hero-carousel .carousel-indicators .active {
    width: 52px;
    background-color: #f59e0b;
    opacity: 1;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 50px !important;
    height: 50px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(2, 44, 34, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    opacity: 0.85 !important;
    transition: all 0.25s ease !important;
    z-index: 4;
    color: #fff !important;
    font-size: 1.35rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.hero-carousel .carousel-control-prev { left: 24px !important; }
.hero-carousel .carousel-control-next { right: 24px !important; }
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1 !important;
    background: #022c22 !important;
    transform: translateY(-50%) scale(1.08) !important;
}
@media (max-width: 767.98px) {
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next { display: none !important; }
    .hero-carousel .carousel-indicators { bottom: 12px !important; }
}
