:root{
    --royal:#4169E1;
    --royal-dark:#2a52c9;
    --navy:#0a1628;
    --navy2:#0d2244;
    --deep:#060e1c;
    --white:#fff;
    --muted:rgba(255,255,255,.65);
    --line:rgba(65,105,225,.2);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--navy);
    color:#fff;
    font-family:'Barlow',sans-serif;
    overflow-x:hidden;
}

.wrap{
    max-width:1200px;
    width:100%;
    margin:0 auto;
}

a{
    color:inherit;
    text-decoration:none;
}

/* =========================================================
   NAVIGATION
========================================================= */

.site-nav{
    position:fixed;
    z-index:1000;
    top:0;
    left:0;
    right:0;

    background:
        linear-gradient(
            to bottom,
            rgba(8,18,42,.55),
            transparent
        );

    transition:.3s;
}

.site-nav.scrolled{
    background:rgba(8,18,42,.95);
    backdrop-filter:blur(12px);
    box-shadow:0 4px 30px rgba(0,0,0,.35);
}

.nav-inner{
    height:70px;
    max-width:1200px;
    margin:auto;
    padding:0 24px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

.brand{
    display:flex;
    flex-direction:column;
    line-height:1;
    text-transform:uppercase;
}

.brand-main{
    font-family:'Barlow Condensed';
    font-weight:800;
    font-size:18px;
    letter-spacing:.04em;
}

.brand-sub{
    font-family:'Barlow Condensed';
    font-weight:800;
    font-size:12px;
    letter-spacing:.15em;
    color:#8fa9ff;
    margin-top:5px;
}

.desktop-nav{
    display:flex;
    align-items:center;
    gap:27px;
    margin-left:auto;
}

.desktop-nav a{
    position:relative;

    font-family:'Barlow Condensed';
    font-size:13px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;

    color:rgba(255,255,255,.88);
}

.desktop-nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-7px;

    width:0;
    height:2px;

    background:var(--royal);
    transition:.25s;
}

.desktop-nav a:hover::after{
    width:100%;
}

.nav-actions{
    display:flex;
    align-items:center;
    gap:14px;
}

.nav-register,
.btn-primary{
    display:inline-block;

    background:var(--royal);
    color:#fff;

    padding:11px 22px;
    border-radius:3px;

    font-family:'Barlow Condensed';
    font-weight:800;
    font-size:14px;
    letter-spacing:.09em;
    text-transform:uppercase;

    transition:.2s;
}

.nav-register:hover,
.btn-primary:hover{
    background:var(--royal-dark);
    transform:translateY(-2px);
}

.menu-toggle{
    display:none;
    background:none;
    border:0;
    padding:5px;
    cursor:pointer;
}

.menu-toggle span{
    display:block;

    width:25px;
    height:2px;

    background:#fff;

    margin:5px 0;
    transition:.2s;
}

.mobile-menu{
    display:none;
}

/* =========================================================
   HERO
========================================================= */

.hero{
    min-height:100svh;
    position:relative;

    background-size:cover;
    background-position:center 30%;
    background-repeat:no-repeat;

    overflow:hidden;

    display:flex;
    flex-direction:column;
}

.hero-top-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to bottom,
            rgba(8,18,42,.18),
            transparent 35%
        );

    pointer-events:none;
}

/* =========================================================
   HERO LOGOS
========================================================= */

.logo-overlay{
    position:relative;
    z-index:5;

    padding:78px 18px 10px;
}

.logo-row{
    max-width:1160px;
    margin:auto;

    padding:12px 18px;

    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;

    gap:clamp(11px,1.9vw,27px);

    background:
        linear-gradient(
            90deg,
            rgba(8,18,42,.24),
            rgba(65,105,225,.18),
            rgba(8,18,42,.24)
        );

    border-top:1px solid rgba(255,255,255,.12);
    border-bottom:1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(2px);
}

/* =========================================================
   CIRCLE LOGOS
========================================================= */

.circle-logo{
    width:clamp(70px,7.2vw,96px);
    height:clamp(70px,7.2vw,96px);

    flex:none;

    border-radius:50%;
    overflow:hidden;

    background:#fff;

    border:1px solid rgba(255,255,255,.35);

    box-shadow:
        0 3px 14px rgba(0,0,0,.4);
}

.circle-logo.small{
    width:clamp(48px,4.5vw,62px);
    height:clamp(48px,4.5vw,62px);

    border-width:1px;

    box-shadow:
        0 2px 10px rgba(0,0,0,.35);
}

.circle-logo img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;
}

/* General Luna seal — crop in slightly to reduce its own printed white margin */
.gl-logo img{
    transform:scale(1.22);
}

/* SISA / sun emblem — black ink, shown directly on the dark hero background, no circle backing */
.sun-logo{
    background:transparent;
    border:0;
    box-shadow:none;

    border-radius:0;
    overflow:visible;
}

.sun-logo img{
    object-fit:contain;
    transform:none;
}

/* Bigger than the other small logos so SISA reads with similar visual
   weight to the featured seal beside it; wins over .circle-logo.small
   sizing via the extra class without touching province/tatak sizes. */
.circle-logo.small.sun-logo{
    width:clamp(66px,6.6vw,84px);
    height:clamp(66px,6.6vw,84px);

    border-width:0;
    box-shadow:none;
}

/* =========================================================
   FEATURED LOGOS
========================================================= */

.featured-logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;

    flex:none;
}

.featured-logo span,
.upsa-logo span{
    font-family:'Barlow Condensed';
    font-size:9px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;

    color:rgba(255,255,255,.72);

    white-space:nowrap;
}

/* =========================================================
   TATAK LIG-ON
========================================================= */

.tatak{
    width:185px;
    height:105px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    flex:none;
    overflow:visible;
}

.tatak img{
    width:300px;
    height:115px;

    object-fit:contain;
    display:block;
    flex:none;

    filter:
        drop-shadow(0 3px 9px rgba(0,0,0,.45))
        drop-shadow(0 0 10px rgba(65,105,225,.28));
}

/* =========================================================
   UPSA
========================================================= */

.upsa-logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
}

.upsa-logo img{
    width:clamp(45px,4.2vw,58px);
    height:clamp(45px,4.2vw,58px);

    object-fit:contain;

    border-radius:4px;

    box-shadow:
        0 2px 10px rgba(0,0,0,.35);
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content{
    position:relative;
    z-index:5;

    flex:1;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:
        20px
        24px
        clamp(65px,9vw,105px);
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:9px;

    width:max-content;

    background:rgba(65,105,225,.22);
    border:1px solid rgba(65,105,225,.55);

    padding:6px 14px;
    border-radius:2px;

    font-family:'Barlow Condensed';
    font-weight:600;
    font-size:13px;
    letter-spacing:.14em;
    text-transform:uppercase;

    color:#d6e0ff;

    margin-bottom:18px;
}

.eyebrow i{
    width:6px;
    height:6px;

    background:var(--royal);

    border-radius:50%;
}

.hero h1{
    font-family:'Barlow Condensed';
    font-weight:900;

    font-size:clamp(54px,9.7vw,112px);
    line-height:.86;

    text-transform:uppercase;
    letter-spacing:-.01em;

    margin:0;

    text-shadow:
        0 5px 35px rgba(0,0,0,.55);
}

.hero h1 span{
    color:var(--royal);

    text-shadow:
        0 4px 25px rgba(0,0,0,.4);
}

.year{
    font-family:'Barlow Condensed';
    font-weight:800;

    font-size:clamp(42px,6.6vw,78px);

    letter-spacing:.2em;
    line-height:1;

    color:rgba(255,255,255,.92);

    margin:10px 0 0;
}

.circuit{
    font-family:'Barlow Condensed';
    font-weight:800;

    font-size:clamp(18px,2.1vw,25px);

    letter-spacing:.16em;

    color:#d9e2ff;

    margin-top:2px;
}

.hero p{
    max-width:560px;

    color:rgba(255,255,255,.72);

    font-size:16px;
    line-height:1.65;

    margin:17px 0 25px;
}

.hero-ctas{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.btn-secondary{
    font-family:'Barlow Condensed';

    font-size:14px;
    font-weight:700;

    letter-spacing:.09em;
    text-transform:uppercase;

    padding:10px 3px;

    color:#fff;

    border-bottom:2px solid var(--royal);
}

.btn-secondary b{
    margin-left:5px;
    color:#b7c9ff;
}

.scroll-hint{
    position:absolute;

    right:24px;
    bottom:35px;

    z-index:6;

    display:flex;
    align-items:center;
    gap:9px;

    color:rgba(255,255,255,.52);

    font-family:'Barlow Condensed';
    font-size:11px;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.scroll-dot{
    width:7px;
    height:7px;

    border-radius:50%;

    background:var(--royal);

    animation:bob 1.7s ease-in-out infinite;
}

@keyframes bob{
    50%{
        transform:translateY(6px);
        opacity:.35;
    }
}

/* =========================================================
   EVENTS
========================================================= */

.events-section{
    background:var(--navy2);
    padding:82px 24px;
}

.section-intro{
    text-align:center;
    margin:0 auto 52px;
}

.section-kicker{
    display:block;

    color:var(--royal);

    font-family:'Barlow Condensed';
    font-weight:600;
    font-size:13px;

    letter-spacing:.18em;
    text-transform:uppercase;

    margin-bottom:12px;
}

.section-kicker.light{
    color:#c7d8ff;
}

.section-intro h2,
.about-copy h2,
.register-inner h2{
    font-family:'Barlow Condensed';
    font-weight:900;

    text-transform:uppercase;

    line-height:.92;

    margin:0;
}

.section-intro h2{
    font-size:clamp(38px,6vw,65px);
}

.accent-line{
    width:60px;
    height:3px;

    background:var(--royal);

    margin:18px auto 20px;
}

.section-intro p{
    max-width:540px;
    margin:auto;

    color:var(--muted);

    font-size:16px;
    line-height:1.65;
}

/* =========================================================
   EVENT CARDS
========================================================= */

.event-grid{
    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;
}

.event-card{
    position:relative;
    overflow:hidden;

    min-height:365px;

    padding:35px 32px;

    background:
        linear-gradient(
            135deg,
            #0f2a5e,
            #0a1628
        );

    border:1px solid var(--line);

    border-radius:8px;

    transition:.25s;
}

.event-card:nth-child(2){
    background:
        linear-gradient(
            135deg,
            #0d2244,
            #0a1628
        );
}

.event-card:nth-child(3){
    background:
        linear-gradient(
            135deg,
            #0a3060,
            #0a1628
        );
}

.event-card:hover{
    transform:translateY(-6px);

    border-color:var(--royal);

    box-shadow:
        0 20px 60px rgba(0,0,0,.4),
        0 0 0 1px var(--royal);
}

.event-number{
    position:absolute;

    right:22px;
    top:15px;

    font-family:'Barlow Condensed';
    font-weight:900;

    font-size:72px;

    color:rgba(255,255,255,.05);

    line-height:1;
}

.event-tags{
    display:flex;
    gap:8px;
    flex-wrap:wrap;

    margin-bottom:19px;
}

.event-tags span,
.event-tags em{
    font-family:'Barlow Condensed';

    font-style:normal;
    font-weight:700;

    font-size:12px;

    letter-spacing:.1em;
    text-transform:uppercase;

    padding:4px 12px;

    border-radius:2px;
}

.event-tags span{
    background:var(--royal);
}

.event-tags em{
    background:rgba(255,255,255,.1);
    color:rgba(255,255,255,.72);
}

.event-card h3{
    font-family:'Barlow Condensed';

    font-size:clamp(22px,2.4vw,28px);

    line-height:1.08;

    text-transform:uppercase;

    margin:0 0 20px;

    max-width:90%;
}

.event-divider{
    height:1px;

    background:rgba(255,255,255,.1);

    margin-bottom:18px;
}

.event-meta{
    display:flex;
    align-items:center;
    gap:10px;

    margin:9px 0;

    color:rgba(255,255,255,.65);

    font-size:14px;
}

.event-meta strong{
    font-family:'Barlow Condensed';

    font-size:18px;

    color:#fff;

    letter-spacing:.04em;
}

.icon{
    color:var(--royal);
    font-size:15px;
}

.wildcard-badge{
    display:flex;
    flex-direction:column;
    gap:2px;

    margin-top:14px;
    padding:8px 14px;

    background:rgba(65,105,225,.12);

    border:1px solid rgba(65,105,225,.35);
    border-radius:6px;
}

.wildcard-badge-title{
    font-family:'Barlow Condensed';
    font-weight:700;

    font-size:13px;

    letter-spacing:.04em;
    text-transform:uppercase;

    color:#8fa9ff;
}

.wildcard-badge-sub{
    font-size:12px;

    color:rgba(255,255,255,.65);
}

.event-link{
    display:inline-flex;
    align-items:center;
    gap:7px;

    margin-top:23px;

    color:#8fa9ff;

    font-family:'Barlow Condensed';
    font-weight:700;

    font-size:14px;

    letter-spacing:.1em;
    text-transform:uppercase;
}

.event-link b{
    transition:.2s;
}

.event-link:hover b{
    transform:translateX(5px);
}

/* =========================================================
   ABOUT
========================================================= */

.about-section{
    background:var(--navy);

    padding:
        74px
        24px
        90px;
}

.stats-grid{
    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    text-align:center;

    margin-bottom:78px;
}

.stats-grid strong{
    display:block;

    color:var(--royal);

    font-family:'Barlow Condensed';
    font-size:clamp(45px,6.5vw,73px);
    font-weight:900;

    line-height:1;

    margin-bottom:8px;
}

.stats-grid span{
    color:rgba(255,255,255,.55);

    font-size:14px;

    letter-spacing:.1em;
    text-transform:uppercase;
}

.about-grid{
    display:grid;

    grid-template-columns:1.05fr .95fr;

    gap:70px;

    align-items:center;
}

.about-copy h2{
    font-size:clamp(35px,5vw,54px);
}

.accent-line.left{
    margin:22px 0;
}

.about-copy p{
    color:rgba(255,255,255,.7);

    font-size:16px;
    line-height:1.75;

    margin:0 0 16px;
}

.about-badges{
    display:flex;
    flex-direction:column;

    gap:20px;
}

.about-badge{
    display:flex;
    align-items:center;
    gap:20px;

    padding:23px 27px;

    background:rgba(255,255,255,.04);

    border:1px solid var(--line);

    border-radius:8px;
}

.about-badge img{
    width:58px;
    height:58px;

    object-fit:contain;

    border-radius:50%;
}

.about-badge:first-child img{
    border-radius:4px;
}

.about-badge strong{
    display:block;

    font-family:'Barlow Condensed';
    font-weight:800;

    font-size:18px;

    text-transform:uppercase;
    letter-spacing:.04em;
}

.about-badge span{
    display:block;

    color:rgba(255,255,255,.6);

    font-size:14px;

    margin-top:4px;
}

/* =========================================================
   GALLERY
   KEEP THIS SECTION STABLE
========================================================= */

.gallery-section{
    position:relative;

    width:100%;
    height:480px;

    overflow:hidden;

    background:#071221;
}

/* Background photo */
.gallery-image{
    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;

    z-index:0;

    filter:saturate(.9);
}

/* Dark gradient over image */
.gallery-section::after{
    content:'';

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(8,18,42,.95) 0%,
            rgba(8,18,42,.62) 48%,
            rgba(8,18,42,.18) 100%
        );

    z-index:1;

    pointer-events:none;
}

.gallery-overlay{
    position:relative;

    z-index:2;

    max-width:1200px;

    height:100%;

    margin:0 auto;

    padding:110px 24px;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:flex-start;
}

.gallery-overlay h2{
    font-family:'Barlow Condensed';

    font-weight:900;

    font-size:clamp(44px,6vw,72px);

    line-height:.9;

    text-transform:uppercase;

    margin:0 0 30px;

    text-shadow:
        0 5px 25px rgba(0,0,0,.45);
}

/* =========================================================
   REGISTER
========================================================= */

.register-section{
    position:relative;

    overflow:hidden;

    text-align:center;

    background:
        linear-gradient(
            135deg,
            var(--royal-dark),
            var(--navy2) 60%,
            var(--navy)
        );

    padding:95px 24px;
}

.register-wave{
    position:absolute;

    inset:0;

    opacity:.06;

    background:
        repeating-radial-gradient(
            ellipse at center,
            transparent 0 35px,
            #fff 36px 38px,
            transparent 39px 75px
        );
}

.register-inner{
    position:relative;
    z-index:2;
}

.register-inner h2{
    font-size:clamp(43px,7vw,82px);
}

.register-inner p{
    max-width:680px;

    margin:18px auto 36px;

    color:rgba(255,255,255,.75);

    font-size:17px;
    line-height:1.7;
}

.register-actions{
    display:flex;

    justify-content:center;

    gap:16px;

    flex-wrap:wrap;
}

.btn-white,
.btn-outline{
    display:inline-block;

    padding:15px 42px;

    border-radius:3px;

    font-family:'Barlow Condensed';

    font-size:17px;
    font-weight:800;

    letter-spacing:.1em;

    text-transform:uppercase;
}

.btn-white{
    background:#fff;
    color:var(--royal-dark);
}

.btn-outline{
    border:2px solid rgba(255,255,255,.45);
}

.btn-outline:hover{
    border-color:#fff;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer{
    background:var(--deep);

    padding:
        60px
        24px
        30px;

    border-top:
        1px solid rgba(65,105,225,.15);
}

.footer-grid{
    display:grid;

    grid-template-columns:
        1.3fr
        1fr
        1.3fr
        1fr;

    gap:45px;

    margin-bottom:48px;
}

.footer-brand{
    font-family:'Barlow Condensed';

    font-weight:900;

    font-size:23px;

    text-transform:uppercase;

    line-height:1.05;
}

.footer-brand span{
    color:var(--royal);
}

.site-footer p,
.site-footer span,
.site-footer a{
    color:rgba(255,255,255,.5);

    font-size:14px;

    line-height:1.6;
}

.site-footer h4{
    font-family:'Barlow Condensed';

    font-size:13px;

    color:var(--royal);

    letter-spacing:.14em;

    text-transform:uppercase;

    margin:0 0 14px;
}

.site-footer a{
    display:block;
    padding:4px 0;
}

.site-footer a:hover{
    color:#fff;
}

.footer-grid > div:nth-child(3) > span{
    display:block;
    padding:4px 0;
}

/* =========================================================
   FOOTER LOGOS
========================================================= */

.footer-logos{
    display:flex;

    align-items:center;

    gap:14px;

    flex-wrap:wrap;

    margin-top:8px;

    padding:12px 16px;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.14);
    border-radius:14px;

    box-shadow:0 2px 10px rgba(0,0,0,.3);
}

.footer-logos img{
    width:62px;
    height:62px;

    display:block;

    object-fit:cover;
    object-position:center;

    border-radius:50%;

    border:
        2px solid rgba(255,255,255,.18);

    background:#fff;

    box-shadow:
        0 3px 12px rgba(0,0,0,.35),
        0 0 0 2px rgba(65,105,225,.18);

    transition:.2s;
}

.footer-logos img:hover{
    border-color:rgba(65,105,225,.7);
}

/* SISA logo — keep genuinely transparent, no white/circular treatment */
.footer-logos img:nth-child(2){
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    object-fit:contain;
}

.footer-logos img:nth-child(2):hover{
    border-color:transparent;
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom{
    border-top:
        1px solid rgba(255,255,255,.08);

    padding-top:22px;

    display:flex;

    justify-content:space-between;

    gap:15px;

    flex-wrap:wrap;
}

.footer-bottom span{
    font-size:12px;

    color:rgba(255,255,255,.35);
}

/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

    .desktop-nav{
        gap:15px;
    }

    .nav-inner{
        padding:0 18px;
    }

    .event-grid{
        grid-template-columns:1fr;
    }

    .event-card{
        min-height:auto;
    }

    .about-grid{
        grid-template-columns:1fr;

        gap:45px;
    }

    .footer-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .logo-row{
        gap:14px;
    }

    .circle-logo.small{
        width:52px;
        height:52px;
    }

    .circle-logo.small.sun-logo{
        width:68px;
        height:68px;
    }

    .circle-logo{
        width:78px;
        height:78px;
    }

    .tatak{
        width:145px;
        height:80px;
    }

    .tatak img{
        width:220px;
        height:80px;
    }

    .footer-logos img{
        width:60px;
        height:60px;
    }

    .gallery-section{
        height:450px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:700px){

    .desktop-nav,
    .nav-register{
        display:none;
    }

    .menu-toggle{
        display:block;
    }

    .mobile-menu{
        display:flex;

        flex-direction:column;

        max-height:0;

        overflow:hidden;

        transition:max-height .3s ease;

        background:rgba(8,18,42,.98);

        padding:0 20px;
    }

    .menu-open .mobile-menu{
        max-height:410px;

        padding-bottom:18px;
    }

    .mobile-menu a{
        padding:13px 0;

        border-bottom:
            1px solid rgba(255,255,255,.07);

        font-family:'Barlow Condensed';

        font-weight:700;

        letter-spacing:.08em;

        text-transform:uppercase;
    }

    .mobile-menu .mobile-register{
        margin-top:14px;

        text-align:center;

        background:var(--royal);

        border:0;

        padding:13px;
    }

    /* HERO LOGOS */

    .logo-overlay{
        padding:73px 8px 4px;
    }

    .logo-row{
        padding:10px 10px;

        gap:11px;

        background:rgba(8,18,42,.28);

        flex-wrap:nowrap;
        justify-content:flex-start;

        overflow-x:auto;
        -webkit-overflow-scrolling:touch;

        scrollbar-width:none;
        -ms-overflow-style:none;
    }

    .logo-row::-webkit-scrollbar{
        display:none;
    }

    /* Small supporting logos (barangay / municipal / sun) */
    .circle-logo.small{
        width:40px;
        height:40px;

        border-width:1px;
    }

    .circle-logo.small.sun-logo{
        width:58px;
        height:58px;

        border-width:0;
    }

    /* Official seal - featured, larger than the small logos */
    .circle-logo{
        width:76px;
        height:76px;
    }

    .featured-logo,
    .upsa-logo,
    .tatak,
    .circle-logo,
    .circle-logo.small{
        flex-shrink:0;
    }

    .featured-logo span,
    .upsa-logo span{
        font-size:8px;

        white-space:nowrap;
    }

    /* Tatak Lig-on - featured, larger than the small logos */
    .tatak{
        width:96px;
        height:66px;
    }

    .tatak img{
        width:175px;
        height:68px;
    }

    .upsa-logo img{
        width:38px;
        height:38px;
    }

    /* HERO */

    .hero-content{
        padding:
            18px
            18px
            70px;
    }

    .hero h1{
        font-size:clamp(51px,15vw,82px);
    }

    .year{
        font-size:44px;
    }

    .hero p{
        font-size:14px;
        max-width:420px;
    }

    .scroll-hint{
        display:none;
    }

    /* SECTIONS */

    .events-section,
    .about-section{
        padding-left:18px;
        padding-right:18px;
    }

    .stats-grid{
        grid-template-columns:repeat(2,1fr);

        gap:38px 15px;

        margin-bottom:65px;
    }

    .stats-grid strong{
        font-size:48px;
    }

    .stats-grid span{
        font-size:11px;
    }

    /* GALLERY */

    .gallery-section{
        height:410px;
    }

    .gallery-image{
        background-position:center center;
    }

    .gallery-overlay{
        padding:80px 18px;
    }

    /* FOOTER */

    .footer-grid{
        grid-template-columns:1fr;

        gap:35px;
    }

    .footer-bottom{
        flex-direction:column;
    }

    .site-footer{
        padding-left:18px;
        padding-right:18px;
    }

    .footer-logos{
        gap:12px;

        margin-top:8px;
    }

    .footer-logos img{
        width:58px;
        height:58px;

        border-radius:50%;

        object-fit:cover;
        object-position:center;
    }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media(max-width:420px){

    .logo-row{
        gap:9px;

        flex-wrap:nowrap;
        justify-content:flex-start;

        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

    /* Small supporting logos (barangay / municipal / sun) */
    .circle-logo.small{
        width:34px;
        height:34px;
    }

    .circle-logo.small.sun-logo{
        width:46px;
        height:46px;
    }

    /* Official seal - featured, larger than the small logos */
    .circle-logo{
        width:64px;
        height:64px;
    }

    /* Tatak Lig-on - featured, larger than the small logos */
    .tatak{
        width:80px;
        height:56px;
    }

    .tatak img{
        width:148px;
        height:58px;
    }

    .upsa-logo img{
        width:32px;
        height:32px;
    }

    .featured-logo span,
    .upsa-logo span{
        display:none;
    }

    .footer-logos{
        gap:10px;
    }

    .footer-logos img{
        width:54px;
        height:54px;

        border-radius:50%;
    }

    .hero h1{
        font-size:48px;
    }

    .year{
        font-size:39px;
    }

    .hero-content{
        padding-bottom:58px;
    }

    .gallery-section{
        height:390px;
    }

    .gallery-overlay{
        padding:60px 18px;
    }
}