/* ==========================================================================
   NCIP Nueva Ecija — public website, design v2
   Shared by: Home, About Us, Programs, Partnership, Contact Us, News.
   Page-specific banner images are set in each page's own <style>.
   ========================================================================== */

:root {
    --g-950: #0d2417;
    --g-900: #12331f;
    --g-800: #1b4d2e;
    --g-700: #2e7d46;
    --g-600: #3b9a58;
    --g-100: #dcefe2;
    --g-50: #f2f8f4;
    --gold: #c8962e;
    --gold-soft: #fbf3df;

    --ink: #14231a;
    --text: #2c3a32;
    --muted: #5d6d63;
    --line: #e3ebe5;
    --bg: #f5f8f6;
    --card: #ffffff;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;

    --sh-sm: 0 1px 2px rgba(16, 40, 26, .06), 0 2px 8px rgba(16, 40, 26, .05);
    --sh-md: 0 4px 10px rgba(16, 40, 26, .05), 0 12px 32px rgba(16, 40, 26, .08);
    --sh-lg: 0 10px 20px rgba(16, 40, 26, .08), 0 24px 56px rgba(16, 40, 26, .13);

    --gutter: clamp(1rem, 4vw, 2rem);
    --wrap: 1180px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

[id] {
    scroll-margin-top: 84px;
}

:focus-visible {
    outline: 3px solid rgba(46, 125, 70, .45);
    outline-offset: 2px;
}

.main-container {
    min-height: 100vh;
    background: var(--bg);
}

.highlight-green {
    color: var(--g-700);
}

/* ---------- Navigation ---------- */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-container {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    min-height: 68px;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.Logo {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-shrink: 0;
}

.Logo img {
    height: 42px;
    width: auto;
    border-radius: 10px;
    display: block;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: var(--g-800);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: .15rem;
    margin: 0 auto;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .95rem;
    border-radius: 999px;
    font-size: .94rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.nav-menu>li>a:hover {
    background: var(--g-50);
    color: var(--g-800);
}

.nav-menu>li>a.active {
    background: var(--g-100);
    color: var(--g-900);
    font-weight: 600;
}

.arrow {
    font-size: .7rem;
    transition: transform .25s ease;
}

/* Dropdown */
.dropdown {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    padding: .4rem;
    min-width: 270px;
}

.dropdown a {
    display: block;
    padding: .7rem 1rem;
    border-radius: 10px;
    font-size: .93rem;
    color: var(--text);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.dropdown a:hover {
    background: var(--g-50);
    color: var(--g-800);
}

/* Nav buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 1.05rem;
    border: 1.5px solid var(--g-700);
    border-radius: 999px;
    background: transparent;
    color: var(--g-700);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.login-btn:hover {
    background: var(--g-700);
    color: #fff;
}

.nav-actions .login-btn:nth-of-type(2) {
    background: var(--g-700);
    color: #fff;
    box-shadow: 0 4px 12px rgba(46, 125, 70, .28);
}

.nav-actions .login-btn:nth-of-type(2):hover {
    background: var(--g-800);
    border-color: var(--g-800);
}

.mobile-login {
    display: none;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--g-800);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background .2s ease;
}

.mobile-menu-btn:hover {
    background: var(--g-50);
}

.page-indicator {
    display: none;
}

/* Language switcher */
.lang-switcher-nav {
    position: relative;
}

.lang-switcher-nav button {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.lang-switcher-nav button:hover {
    border-color: var(--g-700);
    color: var(--g-700);
}

.lang-switcher-nav .lang-dropdown-nav {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: .5rem;
    min-width: 140px;
    padding: .35rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--sh-lg);
    z-index: 1100;
}

.lang-switcher-nav .lang-dropdown-nav.show {
    display: block;
}

.lang-switcher-nav .lang-dropdown-nav a {
    display: block;
    padding: .6rem .85rem;
    border-radius: 9px;
    font-size: .9rem;
    color: var(--text);
    text-decoration: none;
}

.lang-switcher-nav .lang-dropdown-nav a:hover {
    background: var(--g-50);
    color: var(--g-800);
}

/* Desktop dropdown behaviour (mobile uses the .active accordion below) */
@media (min-width: 769px) {
    .dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        margin-top: .45rem;
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        z-index: 1001;
    }

    /* invisible bridge so the menu doesn't close while the pointer crosses the gap */
    .dropdown::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -.6rem;
        height: .6rem;
    }

    .nav-menu li:hover>.dropdown,
    .nav-menu li:focus-within>.dropdown {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .nav-menu li:hover>a .arrow,
    .nav-menu li:focus-within>a .arrow {
        transform: rotate(180deg);
    }
}

/* Tablet: menu drops to its own row so nothing overflows */
@media (min-width: 769px) and (max-width: 1120px) {
    .nav-container {
        flex-wrap: wrap;
        row-gap: 0;
        padding-top: .5rem;
    }

    .nav-actions {
        order: 2;
        margin-left: auto;
    }

    .nav-menu {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
        margin: 0 0 .35rem;
        padding-top: .35rem;
        border-top: 1px solid var(--line);
    }
}

/* Mobile navigation */
@media (max-width: 768px) {
    .nav-container {
        min-height: 60px;
        padding: 0 1rem;
    }

    .Logo img {
        height: 36px;
    }

    .mobile-menu-btn {
        display: grid;
    }

    .nav-actions {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: .5rem 1rem 1rem;
        flex-direction: column;
        gap: .1rem;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--sh-lg);
        max-height: calc(100vh - 60px);
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu>li>a {
        justify-content: space-between;
        padding: .9rem .85rem;
        border-radius: 12px;
        font-size: 1rem;
        white-space: normal;
    }

    .dropdown {
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0 0 0 .75rem;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .dropdown.active {
        max-height: 400px;
        padding-bottom: .35rem;
    }

    .dropdown a {
        padding: .75rem .85rem;
        font-size: .95rem;
    }

    .nav-menu>li.mobile-login {
        display: block;
        margin-top: .5rem;
    }

    .nav-menu>li.mobile-login>a.login-btn {
        width: 100%;
        justify-content: center;
        padding: .8rem;
        border-radius: 12px;
        font-size: 1rem;
        border: 1.5px solid var(--g-700);
        color: var(--g-700);
        background: transparent;
    }

    .nav-menu>li.mobile-login:last-child>a.login-btn {
        background: var(--g-700);
        color: #fff;
    }
}

/* ---------- Organisation strip ---------- */
.header {
    padding: .85rem var(--gutter);
    background: linear-gradient(180deg, #fff, var(--g-50));
    border-bottom: 1px solid var(--line);
}

.header-container {
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff url("../content/IP_logo.jpg") no-repeat center / contain;
    box-shadow: var(--sh-sm);
}

.org-title h1 {
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}

.org-title p {
    margin-top: .1rem;
    font-size: clamp(.8rem, 1.8vw, .92rem);
    font-weight: 600;
    color: var(--g-700);
}

@media (max-width: 768px) {
    .logo {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .header-container {
        gap: .8rem;
    }
}

/* ---------- Page banner ---------- */
.page-title {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(230px, 32vw, 340px);
    padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(135deg, var(--g-800), var(--g-950)) center / cover no-repeat;
}

.page-title::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(700px 260px at 15% 110%, rgba(200, 150, 46, .28), transparent 65%),
        linear-gradient(180deg, rgba(13, 36, 23, .55), rgba(13, 36, 23, .82));
}

.page-title .overlay {
    max-width: 860px;
}

.page-title .overlay::before {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 0 auto 1.1rem;
    border-radius: 99px;
    background: var(--gold);
}

.page-title h2 {
    font-size: clamp(1.65rem, 4.6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.18;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
    margin-bottom: .8rem;
}

.page-title p {
    max-width: 720px;
    margin: 0 auto;
    font-size: clamp(.95rem, 2vw, 1.12rem);
    color: rgba(255, 255, 255, .9);
}

/* ---------- Layout helpers ---------- */
.container {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 3.25rem) var(--gutter);
}

/* shared section heading */
.section-header {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-title,
.section-header>h2 {
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.25;
    color: var(--ink);
    text-align: center;
}

.section-title::after,
.section-header>h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: .85rem auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--g-700), var(--gold));
}

.section-title span {
    color: var(--g-700);
}

.section-subtitle {
    margin-top: .9rem;
    font-size: clamp(.95rem, 1.8vw, 1.08rem);
    color: var(--muted);
}

/* generic panel */
.content-section,
.ip-group,
.municipality-group,
.map-section,
.office-info-section {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    overflow: hidden;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* panel header (green band with icon tile) */
.content-section>.section-header,
.office-info-section>.section-header,
.ip-header,
.municipality-header,
.map-header {
    position: relative;
    overflow: hidden;
    max-width: none;
    margin: 0;
    padding: 1.25rem clamp(1.25rem, 3vw, 2rem);
    text-align: left;
    color: #fff;
    background: linear-gradient(120deg, var(--g-800), var(--g-700));
}

.content-section>.section-header::after,
.office-info-section>.section-header::after,
.ip-header::after,
.municipality-header::after,
.map-header::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -70px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
}

.content-section>.section-header h3,
.office-info-section>.section-header h3,
.ip-header h3,
.municipality-header h3,
.map-header h3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 .2rem;
    font-size: clamp(1.1rem, 2.6vw, 1.45rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.content-section>.section-header h3 i,
.office-info-section>.section-header h3 i,
.ip-header h3 i,
.municipality-header h3 i,
.map-header h3 i {
    order: -1;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    font-size: 1.05rem;
}

.content-section>.section-header p,
.office-info-section>.section-header p,
.ip-header p,
.municipality-header p,
.map-header p {
    position: relative;
    padding-left: 54px;
    font-size: .95rem;
    color: rgba(255, 255, 255, .88);
}

.section-content {
    padding: clamp(1.25rem, 3vw, 2rem);
}

@media (max-width: 480px) {

    .content-section>.section-header p,
    .office-info-section>.section-header p,
    .ip-header p,
    .municipality-header p,
    .map-header p {
        padding-left: 0;
        margin-top: .35rem;
    }
}

/* ---------- ABOUT US ---------- */
.intro-section {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(135deg, #fff 0%, var(--g-50) 60%, var(--gold-soft) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}

.intro-container {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    margin-bottom: .75rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--g-800);
}

.intro-text p {
    font-size: clamp(.95rem, 1.6vw, 1.05rem);
    color: var(--text);
}

.intro-logo {
    flex-shrink: 0;
    width: clamp(120px, 18vw, 190px);
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff url("../content/IP_logo.jpg") no-repeat center / contain;
    box-shadow: var(--sh-md);
}

@media (max-width: 700px) {
    .intro-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .intro-logo {
        order: -1;
        width: 96px;
        border-radius: 20px;
    }
}

.vmgo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 1.1rem;
}

.vmgo-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.vmgo-card {
    padding: 1.4rem 1.5rem;
    background: linear-gradient(180deg, #fff, var(--g-50));
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.vmgo-card:hover {
    transform: translateY(-2px);
    border-color: var(--g-100);
    box-shadow: var(--sh-md);
}

.vmgo-card h4 {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .85rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--g-800);
}

.vmgo-card h4 i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--g-100);
    color: var(--g-700);
    font-size: .95rem;
}

.vmgo-card p {
    font-size: .97rem;
    line-height: 1.75;
    color: var(--text);
}

.vmgo-card ul {
    list-style: none;
}

.vmgo-card li {
    padding: .6rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: .95rem;
    line-height: 1.65;
}

.vmgo-card li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/* Indigenous groups + municipalities */
.ip-content,
.municipality-content {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.ip-list {
    list-style: none;
    counter-reset: ip-counter;
    columns: 2;
    column-gap: 1rem;
}

.ip-list li,
.municipality-list li {
    position: relative;
    margin-bottom: .6rem;
    padding: .6rem .9rem .6rem 3.1rem;
    border-radius: 12px;
    background: var(--g-50);
    color: var(--ink);
    font-size: .98rem;
    line-height: 1.5;
    break-inside: avoid;
    transition: background .2s ease, transform .2s ease;
}

.ip-list li {
    counter-increment: ip-counter;
}

.ip-list li:hover,
.municipality-list li:hover {
    background: var(--g-100);
    transform: translateX(3px);
}

.ip-list li::before,
.municipality-list li::before {
    position: absolute;
    left: .7rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: var(--g-700);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}

.ip-list li::before {
    content: counter(ip-counter);
}

.municipality-list li::before {
    content: attr(data-letter);
}

.municipality-list {
    list-style: none;
}

.municipality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.municipality-column h4 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--g-800);
}

.municipality-column h4 i {
    color: var(--gold);
}

@media (max-width: 700px) {
    .ip-list {
        columns: 1;
    }
}

/* FAQ */
.faq-section {
    max-width: var(--wrap);
    width: calc(100% - 2 * var(--gutter));
    margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}

.content-section.faq-section>.section-header {
    padding: clamp(1.75rem, 4vw, 2.5rem) 1.25rem .5rem;
    text-align: center;
    color: var(--ink);
    background: none;
}

.content-section.faq-section>.section-header::after {
    display: none;
}

.faq-title {
    display: block;
    margin: 0;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ink);
}

.faq-tagline {
    margin-top: .4rem;
    font-size: 1rem;
    color: var(--muted);
}

.faq-container {
    display: grid;
    gap: .75rem;
    max-width: 820px;
    margin: 0 auto;
    padding: 1.25rem var(--gutter) clamp(1.75rem, 4vw, 2.5rem);
}

.faq-item {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item:hover {
    border-color: var(--g-100);
}

.faq-item.active {
    border-color: var(--g-700);
    box-shadow: var(--sh-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.05rem 1.25rem;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.faq-question:hover {
    background: var(--g-50);
}

.faq-question .arrow {
    flex-shrink: 0;
    font-size: .8rem;
    color: var(--g-700);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    text-align: left;
    transition: max-height .35s ease, padding .35s ease;
}

.faq-answer p,
.faq-answer li {
    font-size: .96rem;
    line-height: 1.7;
    color: var(--text);
}

.faq-answer ul {
    margin: .5rem 0 .75rem 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.25rem 1.1rem;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

/* ---------- PROGRAMS ---------- */
.stats-section {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    color: #fff;
    border-radius: var(--r-lg);
    background:
        radial-gradient(700px 240px at 100% 0, rgba(200, 150, 46, .28), transparent 60%),
        linear-gradient(135deg, var(--g-800), var(--g-950));
    box-shadow: var(--sh-md);
}

.stats-section h3 {
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    font-weight: 700;
    color: #fff;
}

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

.stat-item {
    padding: 1.25rem 1rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .08);
}

.stat-number {
    display: block;
    margin-bottom: .25rem;
    font-size: clamp(1.7rem, 4.5vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.stat-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: .7rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: .9rem 1.1rem;
        text-align: left;
    }

    .stat-number {
        flex: 0 0 6.5rem;
        margin: 0;
        font-size: 1.7rem;
    }
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
    gap: 1.5rem;
    align-items: start;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.program-card {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    transition: box-shadow .25s ease, transform .25s ease;
}

.program-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-lg);
}

.program-header {
    position: relative;
    overflow: hidden;
    padding: 1.4rem clamp(1.25rem, 3vw, 1.75rem);
    color: #fff;
    background: linear-gradient(120deg, var(--g-800), var(--g-700));
}

.program-header::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -70px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}

.program-number {
    position: relative;
    display: inline-block;
    margin-bottom: .7rem;
    padding: .25rem .8rem;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.program-header h3 {
    position: relative;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
}

.program-content {
    padding: .5rem clamp(1.25rem, 3vw, 1.75rem) 1rem;
}

.sub-programs-list {
    list-style: none;
    counter-reset: sub-program;
}

.sub-programs-list li {
    position: relative;
    counter-increment: sub-program;
    padding: 1.1rem 0 1.1rem 3.1rem;
    border-bottom: 1px solid var(--line);
}

.sub-programs-list li:last-child {
    border-bottom: 0;
}

.sub-programs-list li::before {
    content: counter(sub-program);
    position: absolute;
    left: 0;
    top: 1.1rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--g-100);
    color: var(--g-800);
    font-size: .85rem;
    font-weight: 700;
}

.sub-program-title {
    margin-bottom: .25rem;
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink);
}

.sub-program-description {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--muted);
}

/* ---------- PARTNERSHIP ---------- */
.info-section {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}

.info-container {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.info-text {
    flex: 1;
    min-width: 0;
}

.info-text .section-title {
    margin-bottom: 1rem;
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    text-align: left;
}

.info-text .section-title::after {
    margin-left: 0;
}

.info-text p {
    margin-bottom: 1rem;
    font-size: clamp(.95rem, 1.6vw, 1.03rem);
    color: var(--text);
}

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

.info-logo {
    flex-shrink: 0;
}

.info-logo img {
    display: block;
    width: clamp(130px, 20vw, 200px);
    height: auto;
    margin: 0 auto;
    border-radius: 18px;
}

@media (max-width: 800px) {
    .info-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-logo {
        order: -1;
    }

    .info-logo img {
        width: 120px;
        margin: 0;
    }
}

.partners-section {
    padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
    text-align: center;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.partners-section .section-title {
    margin-top: 0;
}

.partners-grid+.section-title {
    margin-top: clamp(2rem, 5vw, 3.25rem);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
    max-width: var(--wrap);
    margin: 1.75rem auto 0;
}

.partners-grid>p {
    grid-column: 1 / -1;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--sh-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: var(--g-100);
    box-shadow: var(--sh-md);
}

.partner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-name-fallback {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: var(--muted);
}

.vgmo-container {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) 0;
}

.vmgo-section {
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}

.vmgo-section .section-title {
    margin-bottom: 1rem;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.intro {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--muted);
}

.vmgo-box {
    margin-bottom: 1rem;
    padding: 1.15rem 1.35rem;
    background: var(--g-50);
    border-left: 4px solid var(--g-700);
    border-radius: 0 var(--r-md) var(--r-md) 0;
}

.vmgo-box h3 {
    margin-bottom: .55rem;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--g-800);
}

.vmgo-box p,
.vmgo-box li {
    font-size: .97rem;
    line-height: 1.7;
}

.vmgo-box ul {
    padding-left: 1.2rem;
}

.vmgo-box li {
    margin-bottom: .45rem;
}

.vmgo-box li::marker {
    color: var(--g-700);
}

.objective-group {
    margin-top: .9rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.objective-group h4 {
    margin-bottom: .5rem;
    font-size: .98rem;
    font-weight: 700;
    color: var(--g-800);
}

.objective-group ul {
    padding-left: 1.2rem;
}

.invitation-wrapper {
    padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
    background: linear-gradient(180deg, var(--g-50), #fff);
}

.invitation-wrapper .section-subtitle {
    max-width: 700px;
    margin: 1rem auto 0;
    text-align: center;
}

.invitation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
    max-width: var(--wrap);
    margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
}

.invitation-box {
    padding: clamp(1.4rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.invitation-box:hover {
    transform: translateY(-4px);
    border-color: var(--g-100);
    box-shadow: var(--sh-md);
}

.invitation-box i {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--g-700), var(--g-800));
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 18px rgba(46, 125, 70, .3);
}

.invitation-box h2 {
    margin-bottom: .55rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
}

.invitation-box p {
    font-size: .95rem;
    color: var(--muted);
}

/* ---------- CONTACT ---------- */
.contact-wrapper {
    padding: 0;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-container {
    height: 100%;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}

.contact-container h2 {
    margin-bottom: .6rem;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -.01em;
}

.contact-container>p {
    margin-bottom: 1.5rem;
    color: var(--muted);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    min-width: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--g-700);
    font-size: .95rem;
    pointer-events: none;
}

.input-icon input,
.contact-form textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--g-50);
    color: var(--ink);
    font-size: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.input-icon input {
    height: 48px;
    padding: 0 .9rem 0 2.6rem;
}

.contact-form textarea {
    min-height: 140px;
    padding: .8rem .95rem;
    resize: vertical;
}

.input-icon input::placeholder,
.contact-form textarea::placeholder {
    color: #92a198;
}

.input-icon input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--g-700);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 125, 70, .14);
}

.submit-btn {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 50px;
    padding: .8rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--g-700), var(--g-800));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(46, 125, 70, .3);
    transition: transform .2s ease, box-shadow .2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(46, 125, 70, .38);
}

.alert {
    margin-bottom: 1.25rem;
    padding: .9rem 1.1rem;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 500;
}

.alert i {
    margin-right: .35rem;
}

.alert-success {
    background: #e8f6ec;
    border: 1px solid #b5e0c2;
    color: #1b5e30;
}

.alert-error {
    background: #fdecec;
    border: 1px solid #f3bcbc;
    color: #922b2b;
}

.validation-errors ul {
    margin: .5rem 0 0 1.25rem;
    font-weight: 400;
}

/* Office information */
.contact-items-grid {
    padding: .5rem clamp(1.25rem, 3vw, 2rem) 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--g-100);
    color: var(--g-700);
    font-size: 1.05rem;
}

.contact-details {
    min-width: 0;
}

.contact-label {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-value {
    margin-top: .15rem;
    font-size: .98rem;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.contact-value a {
    color: var(--g-700);
    font-weight: 600;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

/* Office hours */
.hours-section {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    color: #fff;
    border-radius: var(--r-lg);
    background:
        radial-gradient(500px 200px at 100% 0, rgba(200, 150, 46, .3), transparent 60%),
        linear-gradient(135deg, var(--g-800), var(--g-950));
    box-shadow: var(--sh-md);
}

.hours-section h3 {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.hours-section h3 i {
    color: var(--gold);
}

.hours-content {
    display: grid;
    gap: .6rem;
}

.hours-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .25rem 1rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
}

.hours-day {
    font-weight: 600;
}

.hours-time {
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
}

/* Map */
.map-content iframe {
    display: block;
    width: 100%;
    height: clamp(280px, 48vw, 420px);
    border: 0;
}

/* Contact page grid (progressive: stacks if :has() is unsupported) */
@media (min-width: 961px) {
    .container:has(> .contact-wrapper) {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
        grid-template-areas:
            "form info"
            "form hours"
            "map  map";
        column-gap: clamp(1.25rem, 3vw, 2rem);
        align-items: start;
    }

    .container:has(> .contact-wrapper) .contact-wrapper {
        grid-area: form;
        align-self: stretch;
    }

    .container:has(> .contact-wrapper) .office-info-section {
        grid-area: info;
    }

    .container:has(> .contact-wrapper) .hours-section {
        grid-area: hours;
        margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    }

    .container:has(> .contact-wrapper) .map-section {
        grid-area: map;
        margin-bottom: 0;
    }

    .container:has(> .contact-wrapper) .contact-wrapper {
        margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    }
}

@media (max-width: 640px) {
    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group,
    .form-group.full-width,
    .submit-btn {
        grid-column: 1;
    }

    .submit-btn {
        width: 100%;
    }

    .input-icon input,
    .contact-form textarea {
        font-size: 16px;
        /* stops iOS zoom-on-focus */
    }
}

/* ---------- NEWS ---------- */
.news-preview-section {
    padding: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
    max-width: var(--wrap);
    margin: 0 auto;
}

.news-grid>p {
    grid-column: 1 / -1;
}

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-lg);
}

.news-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--g-100);
}

.news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.4rem 1.4rem;
}

.news-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin-bottom: .55rem;
    font-size: .82rem;
    color: var(--muted);
}

.news-date span {
    font-weight: 600;
    color: var(--g-700);
}

.news-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-bottom: .55rem;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
}

.news-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    margin-bottom: 1.1rem;
    font-size: .93rem;
    color: var(--muted);
}

.read-more-btn,
.view-more-btn,
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    margin-top: auto;
    padding: .55rem 1.2rem;
    border-radius: 999px;
    background: var(--g-700);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.read-more-btn::after {
    content: "\2192";
    transition: transform .2s ease;
}

.read-more-btn:hover,
.view-more-btn:hover,
.back-btn:hover {
    background: var(--g-800);
    box-shadow: 0 8px 18px rgba(46, 125, 70, .3);
}

.read-more-btn:hover::after {
    transform: translateX(4px);
}

.view-more-wrapper {
    margin-top: 2rem;
    text-align: center;
}

.view-more-btn {
    align-self: auto;
    padding: .75rem 1.8rem;
    font-size: .98rem;
}

/* Laravel's default pagination markup, styled without Tailwind */
.news-preview-section nav[role="navigation"] {
    margin-top: 1rem;
}

.news-preview-section nav[role="navigation"]>div:first-child {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}

.news-preview-section nav[role="navigation"]>div:last-child {
    display: none;
}

.news-preview-section nav[role="navigation"] .inline-flex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 .85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.news-preview-section nav[role="navigation"] .inline-flex.shadow-sm {
    height: auto;
    min-width: 0;
    flex-wrap: wrap;
    gap: .35rem;
    padding: 0;
    border: 0;
    background: none;
}

.news-preview-section nav[role="navigation"] a.inline-flex:hover {
    border-color: var(--g-700);
    background: var(--g-50);
    color: var(--g-700);
}

.news-preview-section nav[role="navigation"] [aria-current="page"] .inline-flex {
    border-color: var(--g-700);
    background: var(--g-700);
    color: #fff;
}

.news-preview-section nav[role="navigation"] [aria-disabled="true"] .inline-flex,
.news-preview-section nav[role="navigation"] span.inline-flex.cursor-not-allowed {
    opacity: .45;
    cursor: not-allowed;
}

.news-preview-section nav[role="navigation"] svg {
    width: 18px;
    height: 18px;
}

.news-preview-section nav[role="navigation"] p {
    font-size: .88rem;
    color: var(--muted);
}

.news-preview-section nav[role="navigation"] p .font-medium {
    font-weight: 700;
    color: var(--ink);
}

@media (min-width: 640px) {
    .news-preview-section nav[role="navigation"]>div:first-child {
        display: none;
    }

    .news-preview-section nav[role="navigation"]>div:last-child {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
}

/* Single article */
.news-show {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}

.news-show h2 {
    margin-bottom: 1.1rem;
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.25;
}

.news-show img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1.1rem;
    border-radius: var(--r-md);
}

.news-show small {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.25rem;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: var(--g-50);
    color: var(--g-800);
    font-size: .85rem;
    font-weight: 600;
}

.news-show p {
    margin-bottom: 1.75rem;
    font-size: clamp(1rem, 1.8vw, 1.08rem);
    line-height: 1.85;
    color: var(--text);
}

.back-btn {
    margin-top: 0;
}

.back-btn::after {
    content: none;
}

/* ---------- Footer ---------- */
.footer {
    padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 1.25rem;
    color: #fff;
    background:
        radial-gradient(800px 280px at 90% -10%, rgba(200, 150, 46, .18), transparent 60%),
        linear-gradient(160deg, var(--g-900), var(--g-950));
    border-top: 4px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr .8fr;
    gap: clamp(1.75rem, 4vw, 3rem);
    max-width: var(--wrap);
    margin: 0 auto;
}

.footer-links h3,
.footer-social h3,
.footer-logo h3 {
    margin-bottom: 1.1rem;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
}

.footer-links h3::after,
.footer-social h3::after,
.footer-logo h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-top: .55rem;
    border-radius: 99px;
    background: var(--gold);
}

.footer-links ul {
    list-style: none;
    columns: 2;
    column-gap: 1.5rem;
}

.footer-links li {
    margin-bottom: .35rem;
    break-inside: avoid;
}

.footer-links a {
    display: inline-block;
    padding: .25rem 0;
    font-size: .93rem;
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-social p {
    margin-bottom: 1rem;
    font-size: .93rem;
    color: rgba(255, 255, 255, .72);
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.social-icons a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.social-icons a:hover {
    background: var(--g-700);
    transform: translateY(-3px);
}

.footer-logo img {
    display: block;
    width: 120px;
    height: auto;
    border-radius: 18px;
    border: 3px solid rgba(255, 255, 255, .12);
}

.footer-bottom {
    max-width: var(--wrap);
    margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links ul {
        columns: 1;
    }
}

/* ---------- Motion + print ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

@media print {

    .nav-bar,
    .mobile-menu-btn,
    .login-btn {
        display: none;
    }
}
