/* ============================================================
   NYINAHIN COMMUNITY HOSPITAL — style.css
   Palette : Deep Navy · Amber/Gold · White · Slate
   Fonts   : Manrope (display) · Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* Prevent variable-font axis stretching */
*, *::before, *::after { font-stretch: normal; }

/* ─── CSS VARIABLES ─── */
:root {
    --navy:        #0b1629;
    --navy-mid:    #112240;
    --navy-light:  #1a3a5c;
    --gold:        #f59e0b;
    --gold-light:  #fcd34d;
    --gold-pale:   #fef3c7;
    --slate:       #64748b;
    --slate-light: #94a3b8;
    --white:       #ffffff;
    --off-white:   #f8fafc;
    --border:      rgba(255,255,255,0.1);

    --shadow-sm:   0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
    --shadow-md:   0 4px 16px rgba(0,0,0,.15);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.2);
    --shadow-xl:   0 24px 64px rgba(0,0,0,.25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--navy);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img { display:block; max-width:100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border:none; background:none; }

.section { padding: 100px 0; }
.text-center { text-align: center; }


/* ─── TYPOGRAPHY ─── */
h1,h2,h3,h4 { font-family: 'Manrope', sans-serif; line-height: 1.15; font-stretch: normal; }

.section-eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 18px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--slate);
    max-width: 580px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

/* ─── BUTTONS ─── */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(245,158,11,.35);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(245,158,11,.45); }

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-primary-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--navy);
    color: var(--navy);
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    transition: var(--transition);
}
.btn-primary-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-review-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(245,158,11,.3);
}
.btn-review-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(245,158,11,.4); }

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border: 2px solid var(--navy);
    color: var(--navy);
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    transition: var(--transition);
}
.btn-load-more:hover { background: var(--navy); color: #fff; }


/* ============================================================
   NAVBAR  (header.php delivers this)
   ============================================================ */
nav#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 72px;
    background: rgba(11,22,41,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
nav#navbar.scrolled {
    background: var(--navy);
    box-shadow: var(--shadow-md);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo-icon {
    width: 40px; height: 40px;
    background: var(--gold);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    font-size: 1.2rem;
}
.nav-logo-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    line-height: 1.2;
}
.nav-logo-text span {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: .72rem;
    color: var(--slate-light);
}

/* Nav links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.8);
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--white);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* CTA buttons */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-outline-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1.5px solid rgba(255,255,255,.4);
    color: #fff;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    transition: var(--transition);
}
.btn-outline-nav:hover { border-color: var(--gold); color: var(--gold); }

.btn-solid-nav {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    transition: var(--transition);
}
.btn-solid-nav:hover { background: var(--gold-light); }

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 4px;
    margin-right: 8px;
}
.lang-btn {
    padding: 5px 11px;
    border: 1.5px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.7);
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-btn.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 26px; height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.social-sidebar .social-icon {
    position: relative;
    width: 36px; height: 36px;
    background: var(--navy-mid);
    border: 1px solid var(--border);
    color: rgba(255,255,255,.7);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    transition: var(--transition);
    text-decoration: none;
}
.social-sidebar .social-icon:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateX(4px);
}
.social-sidebar .tooltip {
    position: absolute;
    left: 48px;
    background: var(--navy);
    color: #fff;
    font-size: .78rem;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.social-sidebar .social-icon:hover .tooltip { opacity: 1; }


/* ─── WHATSAPP + BACK TO TOP ─── */
.whatsapp-float {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 54px; height: 54px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 18px rgba(37,211,102,.45);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }

.back-to-top {
    position: fixed;
    bottom: 96px; right: 32px;
    width: 44px; height: 44px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    cursor: pointer;
    border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: var(--navy); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.hero__bg video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}
.hero__bg img {
    display: none;
}
.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(11,22,41,.90) 0%,
        rgba(11,22,41,.72) 50%,
        rgba(11,22,41,.40) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
}

/* Left column */
.hero__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.4);
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--gold-light);
}
.hero__pill-dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.4); }
    50%      { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}

.hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.hero__title em {
    font-style: normal;
    color: var(--gold);
}

.hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.75);
    max-width: 460px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating stat cards */
.hero__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hcard {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: var(--transition);
}
.hcard:hover {
    background: rgba(245,158,11,.12);
    border-color: rgba(245,158,11,.3);
    transform: translateY(-4px);
}
.hcard__icon {
    width: 54px; height: 54px;
    background: var(--gold);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    flex-shrink: 0;
}
.hcard__data strong {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}
.hcard__data span {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.hero__scroll-hint span {
    display: block;
    width: 2px; height: 8px;
    background: rgba(255,255,255,.5);
    border-radius: 2px;
    animation: scroll-hint 1.4s ease-in-out infinite;
}
.hero__scroll-hint span:nth-child(2) { animation-delay: .15s; }
.hero__scroll-hint span:nth-child(3) { animation-delay: .3s; }
@keyframes scroll-hint { 0%,100% { opacity:.3; } 50% { opacity:1; } }


/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
    background: var(--gold);
    padding: 14px 0;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 0;
    animation: marquee-scroll 30s linear infinite;
    width: max-content;
}
.marquee-track span {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    color: var(--navy);
    padding: 0 30px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.marquee-track span i {
    font-style: normal;
    opacity: .5;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}


/* ============================================================
   ABOUT — Modern Artistic
   ============================================================ */
.about-section {
    background: var(--white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ══ IMAGE STACK (left) ══ */
.about-media {
    position: relative;
    height: 540px;
}

/* Main large image */
.ab-img-main {
    position: absolute;
    top: 0; left: 0;
    width: 80%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.ab-img-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Small accent image overlapping bottom-right */
.ab-img-accent {
    position: absolute;
    bottom: 0; right: 0;
    width: 52%;
    height: 55%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}
.ab-img-accent img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Stat pill — top right */
.ab-stat-pill {
    position: absolute;
    top: 24px; right: -10px;
    background: var(--white);
    border-radius: 50px;
    padding: 10px 16px 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 3;
    animation: ab-float 3.5s ease-in-out infinite;
}
.ab-stat-pill__inner {
    display: flex;
    flex-direction: column;
}
.ab-stat-pill__num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--navy);
    line-height: 1;
}
.ab-stat-pill__label {
    font-size: .68rem;
    color: var(--slate);
}
.ab-stat-pill__avatars {
    display: flex;
}
.ab-avatar {
    width: 28px; height: 28px;
    background: #f0f7ff;
    border-radius: 50%;
    border: 2px solid var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    margin-left: -8px;
}
.ab-avatar:first-child { margin-left: 0; }

/* NHIS badge — bottom left */
.ab-nhis-badge {
    position: absolute;
    bottom: 80px; left: -16px;
    background: var(--gold);
    color: var(--navy);
    padding: 10px 18px;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    display: flex; align-items: center; gap: 6px;
    box-shadow: 0 8px 20px rgba(245,158,11,.35);
    z-index: 3;
    animation: ab-float 3.5s ease-in-out infinite;
    animation-delay: 1.75s;
}

/* 24/7 circle — bottom center */
.ab-exp-circle {
    position: absolute;
    bottom: -20px;
    left: 36%;
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: 0 8px 24px rgba(11,22,41,.3);
    border: 4px solid var(--white);
    z-index: 3;
}
.ab-exp-circle strong {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}
.ab-exp-circle span {
    font-size: .52rem;
    color: rgba(255,255,255,.75);
    line-height: 1.3;
    margin-top: 2px;
}

@keyframes ab-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ══ CONTENT (right) ══ */
.about-body { padding-left: 10px; }

.about-headline {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 18px;
}
.about-headline em {
    font-style: normal;
    color: var(--gold);
}

.about-lead {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy-mid);
    margin-bottom: 12px;
    line-height: 1.7;
}
.about-body-text {
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: .95rem;
}

/* Feature list */
.ab-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}
.ab-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1.5px solid #e2e8f0;
    transition: var(--transition);
}
.ab-feature:hover {
    border-color: var(--gold);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.ab-feature__icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}
.ab-feature strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}
.ab-feature span {
    font-size: .75rem;
    color: var(--slate);
    line-height: 1.4;
}

/* Action buttons */
.ab-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-about-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(11,22,41,.2);
}
.btn-about-primary:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(245,158,11,.3);
}
.btn-about-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border: 2px solid #e2e8f0;
    color: var(--navy);
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    transition: var(--transition);
    text-decoration: none;
}
.btn-about-ghost:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 100px; }
    .about-media { height: 400px; }
    .ab-img-main { width: 75%; }
    .about-body { padding-left: 0; }
}
@media (max-width: 600px) {
    .about-media { height: 320px; }
    .ab-img-main { width: 80%; }
    .ab-img-accent { width: 55%; height: 50%; }
    .ab-features { grid-template-columns: 1fr; }
    .ab-actions { flex-direction: column; }
    .btn-about-primary, .btn-about-ghost { justify-content: center; }
    .ab-exp-circle { width: 75px; height: 75px; }
    .ab-stat-pill { right: 0; }
}






/* ============================================================
   SERVICES
   ============================================================ */
/* ============================================================
   SERVICES / DEPARTMENTS — TABBED
   ============================================================ */
.services-section {
    background: var(--navy);
}
.services-section .section-eyebrow { color: var(--gold); }
.services-section .section-title   { color: var(--white); }
.services-section .section-sub     { color: var(--slate-light); }

/* ── Tab buttons row ── */
.dept-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.dept-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 50px;
    color: rgba(255,255,255,.65);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: var(--transition);
}
.dept-tab i { font-size: .9rem; }
.dept-tab:hover {
    background: rgba(245,158,11,.12);
    border-color: rgba(245,158,11,.4);
    color: var(--gold-light);
}
.dept-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* ── Panels ── */
.dept-panels { position: relative; }

.dept-panel {
    display: none;
    animation: panel-in .4s ease;
}
.dept-panel.active { display: block; }

@keyframes panel-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

/* ── Department card grid ── */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.dept-card {
    position: relative;
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 32px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    overflow: hidden;
}
.dept-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    border-radius: 3px 3px 0 0;
}
.dept-card:hover {
    background: var(--navy-light);
    border-color: rgba(245,158,11,.3);
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0,0,0,.3);
}
.dept-card:hover::before { transform: scaleX(1); }

.dept-card__icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--navy);
    flex-shrink: 0;
    transition: transform .3s ease;
}
.dept-card:hover .dept-card__icon { transform: scale(1.08) rotate(-4deg); }

.dept-card__body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}
.dept-card__body p {
    font-size: .86rem;
    color: var(--slate-light);
    line-height: 1.65;
}

.dept-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.25);
    border-radius: 20px;
    color: var(--gold-light);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-top: auto;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .dept-tabs { gap: 8px; }
    .dept-tab  { padding: 10px 18px; font-size: .82rem; }
    .dept-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .dept-card { padding: 24px 18px 20px; }
}
@media (max-width: 480px) {
    .dept-tab  { padding: 9px 14px; font-size: .78rem; gap: 6px; }
    .dept-grid { grid-template-columns: 1fr; }
}




/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.gfilter {
    padding: 10px 26px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--slate);
    transition: var(--transition);
    cursor: pointer;
    background: var(--white);
}
.gfilter:hover { border-color: var(--navy); color: var(--navy); }
.gfilter.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.gitem { border-radius: var(--radius-md); overflow: hidden; cursor: pointer; }
.gitem:nth-child(3n+1) { grid-row: span 1; }
.gitem:nth-child(4) { grid-column: 2 / 4; }

.gitem__img {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: var(--radius-md);
}
.gitem:nth-child(4) .gitem__img { height: 300px; }

.gitem__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gitem:hover .gitem__img img { transform: scale(1.07); }

.gitem__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,22,41,.88), rgba(11,22,41,.1));
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 18px;
}
.gitem:hover .gitem__overlay { opacity: 1; }

.gitem__btn {
    width: 40px; height: 40px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    transition: var(--transition);
}
.gitem__btn:hover { transform: scale(1.1); }

.gitem__caption {
    width: 100%;
    color: var(--white);
}
.gitem__caption strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.gitem__caption span { font-size: .82rem; color: rgba(255,255,255,.75); }

/* Mobile show more */
.gallery-show-more { display: none; text-align: center; margin-top: 28px; }

@media (max-width: 640px) {
    .gitem.hidden-mobile { display: none; }
    .gitem.hidden-mobile.show { display: block; animation: fadeSlideUp .4s ease; }
    .gallery-show-more { display: block; }
    .gallery-show-more.hidden { display: none; }
}

/* Lightbox */
.nx-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(5,10,20,.97);
    backdrop-filter: blur(12px);
    padding: 40px 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nx-lightbox[style*="block"] { display: flex; }
.nx-lightbox__close {
    position: absolute;
    top: 24px; right: 32px;
    font-size: 2.5rem;
    color: rgba(255,255,255,.6);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}
.nx-lightbox__close:hover { color: var(--gold); transform: rotate(90deg); }
.nx-lightbox__inner {
    position: relative;
    max-width: 900px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}
.nx-lightbox__inner img {
    max-height: 72vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    flex: 1;
}
.nx-lnav {
    width: 50px; height: 50px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    cursor: pointer;
}
.nx-lnav:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.nx-lightbox__cap {
    text-align: center;
    color: var(--white);
    margin-top: 24px;
    max-width: 700px;
}
.nx-lightbox__cap h3 { font-size: 1.4rem; margin-bottom: 6px; }
.nx-lightbox__cap p { color: rgba(255,255,255,.65); font-size: .95rem; }


/* ============================================================
   STAFF
   ============================================================ */
.staff-section { background: var(--off-white); }

.staff-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.sfilter {
    padding: 10px 26px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--slate);
    transition: var(--transition);
    cursor: pointer;
    background: var(--white);
}
.sfilter:hover { border-color: var(--navy); color: var(--navy); }
.sfilter.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}
.staff-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    transition: var(--transition);
}
.staff-card.hidden { display: none; }
.staff-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}
.staff-card__img {
    position: relative;
    height: 300px;
    overflow: hidden;
}
.staff-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.staff-card:hover .staff-card__img img { transform: scale(1.06); }
.staff-card__hover {
    position: absolute;
    inset: 0;
    background: rgba(11,22,41,.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.staff-card:hover .staff-card__hover { opacity: 1; }
.staff-card__cta {
    padding: 12px 26px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.staff-card__cta:hover { background: var(--gold-light); }

.staff-card__info {
    padding: 22px 20px;
    text-align: center;
}
.staff-card__info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--navy);
}
.staff-card__role {
    display: block;
    font-size: .85rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 4px;
}
.staff-card__spec {
    display: block;
    font-size: .8rem;
    color: var(--slate);
    margin-bottom: 14px;
}
.staff-card__links {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.staff-card__links a {
    width: 34px; height: 34px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    transition: var(--transition);
    border: 1.5px solid #e2e8f0;
}
.staff-card__links a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Staff / Review Modal shared */
.nx-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: rgba(5,10,20,.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 30px 20px;
}
.nx-modal[style*="block"] { display: flex; }

.nx-modal__box {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 860px;
    position: relative;
    animation: modal-in .3s ease;
}
.nx-modal__box--sm { max-width: 520px; padding: 48px 44px; }

@keyframes modal-in {
    from { opacity:0; transform: translateY(-30px) scale(.97); }
    to   { opacity:1; transform: none; }
}

.nx-modal__close {
    position: absolute;
    top: 18px; right: 20px;
    font-size: 2rem;
    color: var(--slate);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    border: none; background: none;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.nx-modal__close:hover { background: #fee2e2; color: #dc2626; transform: rotate(90deg); }

.nx-modal__box h2 {
    font-size: 1.6rem;
    margin-bottom: 28px;
    color: var(--navy);
    text-align: center;
}

.nx-modal__body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 40px;
}
.nx-modal__img-col img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.nx-modal__info h2 { font-size: 1.7rem; margin-bottom: 8px; }
.nx-modal__position { color: var(--gold); font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.nx-modal__spec { color: var(--slate); font-size: .9rem; margin-bottom: 20px; }
.nx-modal__facts {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.nx-modal__facts > div {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.nx-modal__facts svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.nx-modal__facts strong { display: block; font-size: .85rem; color: var(--navy); margin-bottom: 3px; }
.nx-modal__facts p { font-size: .88rem; color: var(--slate); }
.nx-modal__bio h4 { font-size: 1rem; margin-bottom: 10px; color: var(--navy); }
.nx-modal__bio p { font-size: .9rem; color: var(--slate); line-height: 1.7; margin-bottom: 20px; }
.nx-modal__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nx-modal__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.nx-modal__btn:hover { background: var(--gold); color: var(--navy); }
.nx-modal__btn--outline {
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
}
.nx-modal__btn--outline:hover { background: var(--navy); color: var(--white); }


/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.reviews-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(245,158,11,.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(245,158,11,.04) 0%, transparent 40%);
    pointer-events: none;
}
.reviews-title-white { color: var(--white) !important; }
.reviews-sub-white   { color: var(--slate-light) !important; }
.reviews-section .section-eyebrow { color: var(--gold); }

.reviews-ribbon {
    overflow: hidden;
    margin: 0 -24px;
    padding: 0 24px;
}
.reviews-track {
    display: flex;
    gap: 24px;
    animation: reviews-scroll 40s linear infinite;
    width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes reviews-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.rv-card {
    min-width: 360px;
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    flex-shrink: 0;
    transition: var(--transition);
}
.rv-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.rv-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}
.rv-card__text {
    font-size: .95rem;
    color: rgba(255,255,255,.8);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}
.rv-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.rv-card__avatar {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.rv-card__author strong {
    display: block;
    color: var(--white);
    font-size: .9rem;
    font-weight: 600;
}
.rv-card__author span {
    font-size: .78rem;
    color: var(--slate-light);
}


/* ============================================================
   LOCATION
   ============================================================ */
.location-section {
    background: var(--off-white);
    padding-bottom: 0;
}
.location-section .section-head { margin-bottom: 40px; }

.map-wrap {
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: var(--shadow-xl);
    margin-top: 20px;
}
.map-wrap iframe {
    display: block;
    width: 100%;
    height: 480px;
    border: none;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.contact-info .section-title { margin-bottom: 14px; }
.contact-intro {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 36px;
}
.cinfo-list { display: flex; flex-direction: column; gap: 22px; }
.cinfo-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1.5px solid #e2e8f0;
    transition: var(--transition);
}
.cinfo-item:hover { border-color: var(--gold); transform: translateX(4px); }
.cinfo-icon {
    width: 48px; height: 48px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cinfo-item strong { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.cinfo-item p { font-size: .88rem; color: var(--slate); line-height: 1.55; }

/* Form */
.contact-form-wrap {
    background: var(--white);
}

.nx-form h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 28px;
}
.nx-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.nx-form__group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}
.nx-form__group label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--slate);
}
.nx-form__group input,
.nx-form__group textarea {
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    color: var(--navy);
    transition: border-color .2s;
    background: var(--off-white);
    outline: none;
}
.nx-form__group input:focus,
.nx-form__group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
}
.nx-form__group textarea { resize: vertical; min-height: 120px; }

.nx-form__submit {
    width: 100%;
    padding: 16px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}
.nx-form__submit:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* Star Picker */
.star-picker {
    display: flex;
    gap: 10px;
    font-size: 1.8rem;
    color: #d1d5db;
}
.star-picker i { cursor: pointer; transition: color .2s, transform .2s; }
.star-picker i:hover, .star-picker i.active { color: var(--gold); transform: scale(1.2); }


/* ============================================================
   FOOTER (header.php includes this)
   ============================================================ */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 70px 24px 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}
.footer-logo-img {
    height: 50px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}
.footer-tagline {
    font-size: .9rem;
    color: var(--slate-light);
    line-height: 1.65;
    margin-bottom: 20px;
}
.footer-col h4 {
    font-family: 'Manrope', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a {
    color: var(--slate-light);
    font-size: .88rem;
    transition: color .2s;
    text-decoration: none;
}
.footer-col a:hover { color: var(--gold); }
.footer-col p {
    color: var(--slate-light);
    font-size: .88rem;
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: var(--slate-light);
    font-size: .82rem;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.scroll-animate, .fade-left, .fade-right, .scale-up {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.scroll-animate { transform: translateY(40px); }
.fade-left      { transform: translateX(-50px); }
.fade-right     { transform: translateX(50px); }
.scale-up       { transform: scale(0.88); }

.scroll-animate.animate-in,
.fade-left.animate-in,
.fade-right.animate-in,
.scale-up.animate-in {
    opacity: 1;
    transform: none;
}

/* Hero stagger */
.hero__left .scroll-animate:nth-child(1)  { transition-delay: .15s; }
.hero__left .scroll-animate:nth-child(2)  { transition-delay: .3s; }
.hero__left .scroll-animate:nth-child(3)  { transition-delay: .45s; }
.hero__left .scroll-animate:nth-child(4)  { transition-delay: .6s; }
.hero__cards .scroll-animate:nth-child(1) { transition-delay: .35s; }
.hero__cards .scroll-animate:nth-child(2) { transition-delay: .5s; }
.hero__cards .scroll-animate:nth-child(3) { transition-delay: .65s; }
.hero__cards .scroll-animate:nth-child(4) { transition-delay: .8s; }

/* pillar stagger */
.pillar:nth-child(1) { transition-delay: .1s; }
.pillar:nth-child(2) { transition-delay: .2s; }
.pillar:nth-child(3) { transition-delay: .3s; }
.pillar:nth-child(4) { transition-delay: .4s; }

@keyframes fadeSlideUp {
    from { opacity:0; transform: translateY(20px); }
    to   { opacity:1; transform: none; }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero__content { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
    .hero__content { grid-template-columns: 1fr; padding-top: 100px; }
    .hero__cards   { grid-template-columns: 1fr 1fr; max-width: 500px; }
    .about-grid    { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid  { grid-template-columns: 1fr; gap: 50px; }
    .nx-modal__body { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}

@media (max-width: 768px) {
    nav#navbar { padding: 0 20px; }
    .nav-links  { display: none; flex-direction: column; position: absolute; top:72px; left:0; right:0; background: var(--navy); padding: 24px; border-top: 1px solid var(--border); gap: 20px; }
    .nav-links.open { display: flex; }
    .nav-cta    { display: none; }
    .hamburger  { display: flex; }
    .social-sidebar { display: none; }
    .section { padding: 72px 0; }
    .hero { min-height: 100svh; }
    .hero__title { font-size: 2.4rem; }
    .hero__cards { gap: 14px; }
    .hcard { padding: 20px 16px; }
    .gallery-masonry { grid-template-columns: 1fr 1fr; }
    .gitem:nth-child(4) { grid-column: auto; }
    .gitem__img, .gitem:nth-child(4) .gitem__img { height: 200px; }
    .nx-form__row { grid-template-columns: 1fr; }
    .about-pillars { grid-template-columns: 1fr; }
    .map-wrap iframe { height: 340px; }
}

@media (max-width: 480px) {
    .hero__title  { font-size: 2rem; }
    .hero__cards  { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hcard        { padding: 16px 12px; gap: 10px; }
    .hcard__icon  { width: 40px; height: 40px; border-radius: 10px; }
    .hcard__data strong { font-size: 1.1rem; }
    .gallery-masonry { grid-template-columns: 1fr; }
    .gitem__img   { height: 230px; }
    .rv-card      { min-width: 290px; }
    .nx-modal__box--sm { padding: 32px 24px; }
    .nx-modal__box--sm h2 { font-size: 1.3rem; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 1.4rem; }
    .back-to-top   { bottom: 80px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ─── INNER PAGE HEADER ─── */
.page-header {
    margin-top: 72px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(245,158,11,.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(245,158,11,.06) 0%, transparent 40%);
    pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.3);
    border-radius: 30px;
    color: var(--gold-light);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.page-header h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.1;
}
.page-header h1 em { font-style: normal; color: var(--gold); }
.page-header p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.7;
}
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}
.page-breadcrumb a { color: var(--gold); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--gold-light); }
.page-breadcrumb span { color: rgba(255,255,255,.3); }

@media (max-width: 768px) {
    .page-header { padding: 60px 20px 50px; margin-top: 72px; }
    .page-header h1 { font-size: 2rem; }
}

/* ─── ADMIN ACCESS BAR ─── */
.admin-access-bar {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: center;
    padding: 10px;
}
.admin-access-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: rgba(255,255,255,.25);
    text-decoration: none;
    transition: color .2s;
}
.admin-access-link:hover {
    color: var(--gold);
}