:root {
    --navy: #071428;
    --navy-2: #0c2348;
    --gold: #c9a227;
    --gold-2: #e0c36a;
    --red: #ce1126;
    --blue: #0038a8;
    --cream: #f4efe4;
    --ink: #1c1c1c;
    --muted: #5c6570;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fbfaf7;
}

h1, h2, h3, .brand-name {
    font-family: "Libre Baskerville", Georgia, serif;
}

a { color: var(--navy-2); }

.site-header { position: sticky; top: 0; z-index: 1030; }

.brand-bar {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    padding: 1.1rem 0;
    border-bottom: 3px solid var(--gold);
}

.flag-bg {
    position: absolute;
    inset: 0;
    background: url("../img/ph-flag.jpg") center / cover no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #fff;
}

img.brand-logo {
    height: 104px;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

img.footer-logo {
    height: 54px;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.brand-kicker {
    display: block;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: .25rem;
}

.brand-name {
    display: block;
    font-size: clamp(1.05rem, 2.4vw, 1.55rem);
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.site-nav {
    background: #fff;
    box-shadow: 0 8px 24px rgba(7,20,40,.08);
    padding: .2rem 0;
}

.site-nav .nav-link {
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .82rem;
    color: var(--navy-2) !important;
    padding: .9rem 1.05rem !important;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
    color: var(--red) !important;
}

.hero-panel {
    position: relative;
    min-height: 420px;
    background: #071428 url("../img/overview-seminar.jpg") center / cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,20,40,.25) 0%, rgba(7,20,40,.78) 70%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 3.5rem 0 2.5rem;
}

.hero-copy h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 18ch; }
.hero-copy p { max-width: 42rem; font-size: 1.12rem; }

.btn-gold {
    background: var(--gold);
    color: #1a1404;
    font-weight: 700;
    border: 0;
    padding: .7rem 1.3rem;
}

.btn-gold:hover { background: var(--gold-2); color: #1a1404; }

.btn-navy {
    background: var(--navy-2);
    color: #fff;
    font-weight: 600;
    border: 0;
}

.btn-navy:hover { background: var(--navy); color: #fff; }

.section { padding: 4rem 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy-2); color: #fff; }

.section-title {
    margin-bottom: 1.5rem;
}

.eyebrow {
    display: inline-block;
    color: var(--red);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .75rem;
    margin-bottom: .4rem;
}

.split-card img,
.photo-frame img,
.event-photo,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-frame {
    height: 280px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(7,20,40,.15);
}

.stat-grid .stat {
    background: #fff;
    border-top: 4px solid var(--gold);
    padding: 1.4rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(7,20,40,.06);
}

.stat strong {
    display: block;
    font-family: "Libre Baskerville", serif;
    font-size: 1.35rem;
    color: var(--navy-2);
}

.topic-card {
    background: #fff;
    border: 1px solid #e7e1d4;
    padding: 1.4rem;
    height: 100%;
}

.topic-card h3 { font-size: 1.15rem; }

.page-hero {
    background: var(--navy) url("../img/overview-ortigas.jpg") center / cover no-repeat;
    color: #fff;
    padding: 4rem 0 3rem;
    position: relative;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7,20,40,.72);
}

.page-hero .container { position: relative; z-index: 1; }

.reg-box {
    background: var(--navy);
    color: #fff;
    padding: 1.6rem;
    height: 100%;
}

.reg-box dt { color: var(--gold-2); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.reg-box dd { margin-bottom: 1rem; }

.advocacy-list {
    columns: 1;
    column-gap: 2.5rem;
    padding-left: 1.1rem;
}

@media (min-width: 768px) {
    .advocacy-list { columns: 2; }
}

.advocacy-list li { break-inside: avoid; margin-bottom: .85rem; }

.event-stage {
    background: #fff;
    box-shadow: 0 20px 50px rgba(7,20,40,.1);
    overflow: hidden;
}

.event-photo {
    min-height: 360px;
    height: 100%;
    max-height: 520px;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.meta-list li {
    display: flex;
    gap: .75rem;
    padding: .55rem 0;
    border-bottom: 1px solid #eee;
}

.meta-list span { color: var(--muted); min-width: 7rem; font-weight: 600; }

.gallery-item {
    display: block;
    height: 210px;
    overflow: hidden;
    cursor: zoom-in;
    margin-bottom: 1.5rem;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(7,20,40,.12);
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item img { transition: transform .35s ease; }

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,10,20,.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; object-fit: contain; }
.lightbox button {
    position: absolute;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}
.lightbox .lb-close { top: 1rem; right: 1.4rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; }
.lightbox .lb-next { right: 1rem; top: 50%; }

.contact-card {
    background: #fff;
    padding: 1.6rem;
    border-left: 4px solid var(--gold);
    height: 100%;
}

.map-placeholder iframe {
    width: 100%;
    height: 360px;
    border: 0;
}

.recaptcha-placeholder {
    background: #f9f9f9;
    border: 1px solid #d8d8d8;
    padding: .85rem 1rem;
    display: inline-block;
    min-width: 280px;
}

.recaptcha-box {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-weight: 600;
}

.recaptcha-placeholder small {
    display: block;
    color: var(--muted);
    margin-top: .45rem;
}

.seminar-form { scroll-margin-top: 0; }

.seminar-card {
    background: #fff;
    border: 1px solid #e7e1d4;
    border-radius: 10px;
    box-shadow: 0 20px 48px rgba(7,20,40,.12);
    overflow: hidden;
    scroll-margin-top: 210px;
}

.seminar-card-header {
    background: var(--navy-2);
    color: #fff;
    padding: 1.35rem 1.75rem 1.15rem;
    border-bottom: 4px solid var(--gold);
}

.seminar-card-header h2 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: 1.45rem;
}

.seminar-card-header p {
    color: #e0c36a;
    font-size: .9rem;
}

.seminar-card-body {
    padding: 1.75rem;
}

.page-busy {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(7,20,40,.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-busy[hidden] { display: none !important; }

.page-busy-box {
    background: var(--navy);
    color: #fff;
    border-top: 4px solid var(--gold);
    padding: 1.6rem 2rem;
    border-radius: 8px;
    text-align: center;
    min-width: 240px;
}

.page-busy-box p {
    margin: .9rem 0 0;
    font-weight: 600;
}

@media (max-width: 767px) {
    .seminar-card { scroll-margin-top: 160px; }
    .seminar-card-body { padding: 1.15rem; }
}
    background: #eef1f5;
    min-height: 70vh;
}

.admin-card {
    background: #fff;
    padding: 2rem;
    box-shadow: 0 12px 32px rgba(7,20,40,.08);
}

.site-footer {
    background: #050d1c;
    color: #d7dce4;
    padding: 3rem 0 1.4rem;
    margin-top: 0;
}

.site-footer h3 { color: var(--gold-2); font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: .9rem;
}

@media (max-width: 767px) {
    img.brand-logo { height: 76px; width: auto; }
    .event-photo { min-height: 240px; }
    .gallery-item { height: 160px; }
}
