/* =========================================================
   Perkumpulan Ilmuwan Profetik Nusantara (PIPN)
   Konsep: Modern Academic + Islamic Intellectual + Nusantara
   ========================================================= */

:root {
    --blue: #0D47A1;
    --blue-dark: #0A3778;
    --blue-800: #113a80;
    --gold: #D4AF37;
    --gold-dark: #b8952b;
    --white: #FFFFFF;
    --gray: #F5F7FA;
    --gray-200: #E4E9F0;
    --ink: #1B2432;
    --muted: #5A6472;
    --radius: 14px;
    --shadow-sm: 0 1px 3px rgba(13, 71, 161, .08);
    --shadow: 0 10px 30px rgba(13, 71, 161, .10);
    --shadow-lg: 0 24px 60px rgba(13, 71, 161, .16);
    --maxw: 1180px;
}

* { box-sizing: border-box; }

html { background: var(--gray); scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--gray);
    line-height: 1.65;
    font-size: 16px;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--blue); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink);
    padding: .6rem 1rem; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem;
    padding: .8rem 1.5rem; border-radius: 50px; border: 2px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--blue-dark); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 10px 24px rgba(212,175,55,.35); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--gray-200); }
.btn-ghost:hover { border-color: var(--blue); }

/* ---------- Top Bar ---------- */
.topbar { background: var(--blue-dark); color: #cdd7ea; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #cdd7ea; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--gold); }
.topbar-contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-social { display: flex; gap: .5rem; }
.topbar-social a {
    height: 26px; padding: 0 .7rem; gap: .4rem; border: 1px solid rgba(255,255,255,.25); border-radius: 50px;
    display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 600; letter-spacing: .01em;
}
.topbar-social a:hover { background: var(--gold); color: var(--blue-dark); border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); border-bottom: 3px solid var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-mark {
    width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--blue); color: var(--gold);
    display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(212,175,55,.4);
}
.brand-logo { width: 48px; height: 48px; flex: none; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.35rem; color: var(--blue); letter-spacing: .02em; }
.brand-sub { font-size: .72rem; color: var(--muted); max-width: 260px; }

/* Navigation */
.main-nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.main-nav > ul > li > a { display: block; padding: .7rem .85rem; font-weight: 600; font-size: .93rem; color: var(--ink); border-radius: 8px; }
.main-nav > ul > li > a:hover { color: var(--blue); background: var(--gray); }
.main-nav > ul > li.active > a { color: var(--blue); }
.main-nav > ul > li.active > a::after {
    content: ""; display: block; height: 2px; background: var(--gold); border-radius: 2px; margin-top: 3px;
}
.caret { font-size: .7rem; color: var(--gold); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--white);
    box-shadow: var(--shadow); border-radius: 12px; padding: .5rem; border-top: 3px solid var(--gold);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; list-style: none; margin: 0;
}
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: .6rem .8rem; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.dropdown li a:hover { background: var(--gray); color: var(--blue); }
.dropdown li.active a { color: var(--blue); font-weight: 600; }
.nav-cta { margin-left: .5rem; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--blue); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Page Banner ---------- */
.page-banner {
    background:
        linear-gradient(rgba(10,55,120,.92), rgba(13,71,161,.92)),
        url('../img/hero.png') center/cover;
    color: var(--white); padding: 3.2rem 0; position: relative;
}
.page-banner::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: url('../img/pattern.png'); opacity: .06; mix-blend-mode: screen;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); margin-bottom: .3rem; }
.page-banner p { color: #d7e2f5; max-width: 640px; margin: 0; }
.breadcrumb { font-size: .85rem; color: #b9c7e2; margin-bottom: .8rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: #b9c7e2; }

/* ---------- Sections ---------- */
section.block { padding: 4.5rem 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.8rem; }
.section-head .eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .14em;
    font-size: .74rem; font-weight: 700; color: var(--gold-dark); margin-bottom: .7rem;
}
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: 24px; height: 2px; background: var(--gold); display: inline-block; }
.section-head p { color: var(--muted); }
.bg-gray { background: var(--gray); }
.bg-white { background: var(--white); }

/* ---------- Hero (Home) ---------- */
.hero {
    position: relative; color: var(--white);
    background: linear-gradient(rgba(10,55,120,.90), rgba(13,71,161,.86)), url('../img/hero.png') center/cover fixed;
    padding: 5.5rem 0 5rem;
    overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0; background: url('../img/pattern.png'); opacity: .08; mix-blend-mode: screen; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 820px; }
.hero .eyebrow {
    display: inline-flex; align-items: center; gap: .6rem; background: rgba(212,175,55,.18); color: var(--gold);
    border: 1px solid rgba(212,175,55,.4); padding: .4rem 1rem; border-radius: 50px; font-size: .78rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.hero h1 .accent { color: var(--gold); }
.hero p { color: #dbe5f7; font-size: 1.12rem; max-width: 640px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { margin-top: -3.2rem; position: relative; z-index: 5; }
.stats-grid {
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stat { padding: 1.8rem 1rem; text-align: center; border-right: 1px solid var(--gray-200); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--blue); }
.stat .lbl { font-size: .85rem; color: var(--muted); }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(212,175,55,.5); }
.card .ico {
    width: 54px; height: 54px; border-radius: 12px; background: rgba(13,71,161,.08); color: var(--blue);
    display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card:hover .ico { background: var(--blue); color: var(--gold); }
.card h3 { color: var(--blue); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Publication list cards */
.pub-card { display: flex; flex-direction: column; gap: .6rem; }
.pub-meta { display: flex; gap: .6rem; align-items: center; font-size: .78rem; flex-wrap: wrap; }
.tag { background: rgba(212,175,55,.16); color: var(--gold-dark); font-weight: 600; padding: .2rem .7rem; border-radius: 50px; }
.pub-date { color: var(--muted); }
.pub-card h3 { margin: 0; font-size: 1.15rem; }
.pub-card h3 a:hover { color: var(--gold-dark); }
.pub-author { font-size: .85rem; color: var(--muted); }
.pub-card .readmore { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--blue); margin-top: .3rem; }
.pub-card .readmore:hover { gap: .7rem; color: var(--gold-dark); }

/* Journal card */
.journal-card { display: flex; gap: 1.2rem; align-items: flex-start; }
.journal-card .ico { flex: none; }
.journal-card .vol { font-size: .82rem; color: var(--gold-dark); font-weight: 600; }
.issn { font-size: .78rem; color: var(--muted); }

/* Working paper table-like list */
.wp-item {
    display: flex; align-items: center; gap: 1.2rem; padding: 1.3rem 1.6rem; background: var(--white);
    border: 1px solid var(--gray-200); border-left: 4px solid var(--gold); border-radius: 12px; box-shadow: var(--shadow-sm);
}
.wp-item:hover { box-shadow: var(--shadow); }
.wp-item .ico { flex: none; color: var(--blue); }
.wp-body { flex: 1; }
.wp-body h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.wp-body .wp-meta { font-size: .82rem; color: var(--muted); }
.wp-code { font-weight: 600; color: var(--gold-dark); }

/* ---------- About / Two-column ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.lead { font-size: 1.1rem; color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); }
.check-list li .ci { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(212,175,55,.18); color: var(--gold-dark); display: grid; place-items: center; }

/* Values / color meaning */
.value-card { text-align: center; }
.value-swatch { width: 46px; height: 46px; border-radius: 12px; margin: 0 auto 1rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }

/* Vision Mission */
.vm-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.vm-box { background: var(--white); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); position: relative; overflow: hidden; }
.vm-box .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--blue); color: var(--gold); display: grid; place-items: center; margin-bottom: 1.2rem; }
.vm-box.gold { border-top: 4px solid var(--gold); }
.vm-box.blue { border-top: 4px solid var(--blue); }
.vm-quote { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--blue); font-style: italic; }
.mission-list { counter-reset: m; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.mission-list li { display: flex; gap: 1rem; background: var(--white); padding: 1.3rem 1.5rem; border-radius: 12px; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }
.mission-list li::before {
    counter-increment: m; content: counter(m, decimal-leading-zero);
    font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold); font-size: 1.4rem; flex: none; line-height: 1.4;
}
.mission-list li > div { display: flex; align-items: center; }
.mission-list li p { margin: 0; color: var(--ink); }

/* Legalitas card */
.legal-card { display: flex; gap: 1.6rem; background: var(--white); border: 1px solid var(--gray-200); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); align-items: flex-start; }
.legal-ico { flex: none; width: 64px; height: 64px; border-radius: 14px; background: var(--blue); color: var(--gold); display: grid; place-items: center; }
.legal-card h2 { margin: .3rem 0 .8rem; }
.legal-card p { color: var(--muted); margin: 0; }

/* ---------- Team ---------- */
.member { text-align: center; }
.member .avatar {
    width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem; background: var(--blue); color: var(--gold);
    display: grid; place-items: center; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700;
    box-shadow: inset 0 0 0 3px rgba(212,175,55,.4);
}
.member h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.member .role { color: var(--gold-dark); font-weight: 600; font-size: .88rem; }

/* Org chart */
.org-top { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.org-node {
    background: var(--white); border: 1px solid var(--gray-200); border-top: 4px solid var(--gold); border-radius: 12px;
    padding: 1.2rem 1.6rem; text-align: center; box-shadow: var(--shadow-sm); min-width: 220px;
}
.org-node .role { color: var(--gold-dark); font-weight: 600; font-size: .82rem; }
.org-node .name { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--blue); }

/* ---------- Membership tiers ---------- */
.tier { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); position: relative; }
.tier.featured .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--blue-dark); font-size: .72rem; font-weight: 700; padding: .3rem 1rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .06em; }
.tier h3 { margin-bottom: .2rem; }
.tier .price { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--blue); font-weight: 700; }
.tier .price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.tier ul { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .7rem; flex: 1; }
.tier ul li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--ink); }
.tier ul li .ci { flex: none; color: var(--gold-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-info-card { display: flex; gap: 1rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.contact-info-card .ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgba(13,71,161,.08); color: var(--blue); display: grid; place-items: center; }
.contact-info-card h4 { margin: 0 0 .2rem; font-family: 'Inter', sans-serif; font-size: .95rem; color: var(--ink); }
.contact-info-card p, .contact-info-card a { margin: 0; color: var(--muted); font-size: .92rem; }

form.contact-form { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; color: var(--ink); }
.field input, .field textarea, .field select {
    width: 100%; padding: .8rem 1rem; border: 1px solid var(--gray-200); border-radius: 10px; font-family: inherit;
    font-size: .95rem; background: var(--gray); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,71,161,.12); background: var(--white); }
.field textarea { resize: vertical; min-height: 130px; }
.alert { padding: .9rem 1.2rem; border-radius: 10px; margin-bottom: 1.2rem; font-size: .92rem; }
.alert-success { background: rgba(46,160,67,.12); color: #1f7a33; border: 1px solid rgba(46,160,67,.3); }
.alert-error { background: rgba(214,64,64,.1); color: #b32020; border: 1px solid rgba(214,64,64,.3); }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); margin-top: 1.5rem; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%); color: var(--white);
    border-radius: var(--radius); padding: 3rem; text-align: center; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: url('../img/pattern.png'); opacity: .1; mix-blend-mode: screen; }
.cta-band .container, .cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d7e2f5; max-width: 560px; margin: 0 auto 1.6rem; }

/* ---------- Prose ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2rem; }
.prose p { color: var(--ink); }
.prose blockquote {
    border-left: 4px solid var(--gold); background: var(--gray); padding: 1.2rem 1.5rem; border-radius: 0 12px 12px 0;
    font-style: italic; color: var(--blue-dark); margin: 1.5rem 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #c6d2e8; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; padding: 3.5rem 1.25rem 2.5rem; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: #9fb0d0; }
.footer-brand .brand-mark { background: rgba(255,255,255,.08); }
.footer-logo { background: var(--white); border-radius: 50%; padding: 3px; }
.footer-about p { font-size: .9rem; color: #a9b8d4; margin-top: 1rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a { height: 34px; padding: 0 .9rem; gap: .45rem; border: 1px solid rgba(255,255,255,.2); border-radius: 50px; display: inline-flex; align-items: center; font-size: .82rem; font-weight: 600; color: #c6d2e8; }
.footer-social a:hover { background: var(--gold); color: var(--blue-dark); border-color: var(--gold); }
.footer-founded { font-size: .8rem; color: #9fb0d0; margin-top: .9rem; }
.footer-col h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { color: #a9b8d4; font-size: .9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-contact ul { display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: #a9b8d4; }
.footer-contact li svg { flex: none; color: var(--gold); margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-size: .82rem; color: #8fa2c4; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: -100%; width: min(320px, 85%); height: 100vh; background: var(--white);
        box-shadow: var(--shadow-lg); padding: 5rem 1.25rem 2rem; transition: right .3s ease; overflow-y: auto; z-index: 200;
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li > a { padding: .9rem .5rem; border-bottom: 1px solid var(--gray-200); }
    .main-nav > ul > li.active > a::after { display: none; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0 0 .5rem 1rem; background: transparent; }
    .caret { display: none; }
    .nav-cta { margin: 1rem 0 0; }
    .nav-cta .btn { width: 100%; justify-content: center; }
    body.nav-open { overflow: hidden; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(10,30,60,.45); z-index: 150; opacity: 0; visibility: hidden; transition: .3s; }
    .nav-backdrop.show { opacity: 1; visibility: visible; }
}

@media (max-width: 720px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .split, .vm-hero, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 2rem 1.5rem; }
    section.block { padding: 3rem 0; }
    .topbar-contact { gap: .8rem; }
    .brand-sub { display: none; }
}
