/* ============================================================
   Pondok Pesantren Al-Hikmah — Frontend Stylesheet
   ============================================================ */

:root {
    --green-950: #062e22;
    --green-900: #0b3d2e;
    --green-800: #0f5132;
    --green-700: #146c46;
    --green-600: #1b8a5a;
    --green-500: #27a06c;
    --gold-600: #b68a1e;
    --gold-500: #c9a227;
    --gold-400: #e0bd55;
    --gold-100: #f6ecc9;
    --cream: #f8f5ee;
    --cream-2: #f2ede1;
    --ink: #122019;
    --ink-soft: #35463d;
    --muted: #68786f;
    --line: #e5dfd2;
    --white: #ffffff;
    --red: #b42318;
    --red-soft: #fee4e2;
    --shadow-sm: 0 4px 14px rgba(9, 45, 34, .06);
    --shadow-md: 0 18px 45px rgba(9, 45, 34, .10);
    --shadow-lg: 0 34px 80px rgba(9, 45, 34, .16);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --container: 1180px;
    --ease: cubic-bezier(.22, .72, .22, 1);
}

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--green-700);
    text-decoration: none;
    transition: color .25s var(--ease);
}

a:hover {
    color: var(--gold-600);
}

h1, h2, h3, h4, h5 {
    margin: 0 0 .5em;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.18;
    color: var(--ink);
    letter-spacing: -.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); }
h3 { font-size: 1.32rem; }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-left: 1.15rem; }

::selection {
    background: var(--gold-400);
    color: var(--green-950);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.icon {
    flex: 0 0 auto;
    vertical-align: middle;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--white);
    box-shadow: 0 12px 26px rgba(15, 81, 50, .25);
}

.btn--primary:hover {
    color: var(--white);
    box-shadow: 0 18px 34px rgba(15, 81, 50, .32);
}

.btn--gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--green-950);
    box-shadow: 0 12px 26px rgba(201, 162, 39, .3);
}

.btn--gold:hover {
    color: var(--green-950);
    box-shadow: 0 18px 36px rgba(201, 162, 39, .38);
}

.btn--ghost {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .32);
    color: var(--white);
    backdrop-filter: blur(6px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .14);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    border-color: var(--green-800);
    color: var(--green-800);
}

.btn--outline:hover {
    background: var(--green-800);
    color: var(--white);
}

.btn--light {
    background: var(--white);
    color: var(--green-800);
    box-shadow: var(--shadow-sm);
}

.btn--light:hover {
    color: var(--green-800);
}

.btn--sm {
    padding: 11px 20px;
    font-size: .84rem;
}

.btn--block {
    width: 100%;
}

.btn--lg {
    padding: 17px 34px;
    font-size: 1rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .9rem;
    color: var(--green-800);
}

.link-arrow .icon {
    transition: transform .25s var(--ease);
}

.link-arrow:hover .icon {
    transform: translateX(4px);
}

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--gold-500);
    border-radius: 2px;
}

.eyebrow--light {
    color: var(--gold-400);
}

.section {
    position: relative;
    padding: 96px 0;
}

.section--cream {
    background: var(--cream);
}

.section--tight {
    padding: 64px 0;
}

.section--dark {
    background:
        radial-gradient(circle at 85% 10%, rgba(39, 160, 108, .28), transparent 42%),
        linear-gradient(140deg, var(--green-950), var(--green-800) 60%, var(--green-900));
    color: rgba(255, 255, 255, .76);
}

.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

.section-head {
    max-width: 660px;
    margin-bottom: 44px;
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head--center .eyebrow {
    justify-content: center;
}

.section-head p {
    margin: 0;
    font-size: 1rem;
    color: var(--muted);
}

.section-head--split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.section-head--split > div {
    max-width: 640px;
}

.section--dark .section-head p {
    color: rgba(255, 255, 255, .68);
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--green-950);
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 40px;
}

.topbar__contact,
.topbar__right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
}

.topbar a:hover {
    color: var(--gold-400);
}

.topbar__ppdb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(224, 189, 85, .12);
    border: 1px solid rgba(224, 189, 85, .35);
    color: var(--gold-400) !important;
    font-weight: 700;
    letter-spacing: .02em;
}

.topbar__social {
    display: flex;
    gap: 4px;
}

.topbar__social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    justify-content: center;
    background: rgba(255, 255, 255, .07);
}

.topbar__social a:hover {
    background: var(--gold-500);
    color: var(--green-950);
}

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(18, 32, 25, .06);
    transition: box-shadow .3s var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 12px 32px rgba(9, 45, 34, .09);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.brand:hover {
    color: var(--ink);
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--green-800), var(--green-600));
    color: var(--gold-400);
    box-shadow: 0 8px 18px rgba(15, 81, 50, .22);
}

.brand__mark.has-logo {
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 81, 50, .12);
}

.brand__mark img {
    width: 100%;
    height: 100%;
    padding: 5px;
    border-radius: inherit;
    object-fit: contain;
}

.brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.16;
}

.brand__text strong {
    font-family: var(--font-display);
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
}

.brand__text small {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.brand--light .brand__text strong {
    color: var(--white);
}

.brand--light .brand__text small {
    color: var(--gold-400);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > a {
    position: relative;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.main-nav > a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s var(--ease);
}

.main-nav > a:hover,
.main-nav > a.is-active {
    color: var(--green-800);
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
    transform: scaleX(1);
}

.main-nav__mobile-cta {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: var(--green-800);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 120px;
    color: rgba(255, 255, 255, .78);
    background:
        radial-gradient(circle at 82% 16%, rgba(224, 189, 85, .18), transparent 26%),
        radial-gradient(circle at 9% 88%, rgba(39, 160, 108, .3), transparent 36%),
        linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 56%, var(--green-700) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .55;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 30px, rgba(255, 255, 255, .028) 30px 31px),
        repeating-linear-gradient(-45deg, transparent 0 30px, rgba(255, 255, 255, .028) 30px 31px);
}

.hero::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -240px;
    top: -260px;
    border-radius: 50%;
    border: 1px solid rgba(224, 189, 85, .16);
    box-shadow: 0 0 0 60px rgba(224, 189, 85, .03), 0 0 0 120px rgba(224, 189, 85, .02);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 64px;
    align-items: center;
}

.hero__arabic {
    margin: 0 0 10px;
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-size: 1.28rem;
    color: var(--gold-400);
    opacity: .92;
}

.hero h1 {
    margin: 0 0 22px;
    color: var(--white);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    letter-spacing: -.02em;
}

.hero h1 span {
    color: var(--gold-400);
    font-style: italic;
}

.hero__lead {
    max-width: 540px;
    margin: 0 0 30px;
    font-size: 1.03rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .13);
}

.hero__meta li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .84rem;
    color: rgba(255, 255, 255, .78);
    list-style: none;
}

.hero__meta {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.hero__meta .icon {
    color: var(--gold-400);
}

/* Hero visual */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.hero-arch {
    position: relative;
    width: min(420px, 92%);
    aspect-ratio: 4 / 5;
    border-radius: 240px 240px 30px 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 18%, rgba(224, 189, 85, .28), transparent 42%),
        linear-gradient(160deg, rgba(10, 58, 44, .2), rgba(4, 32, 24, .78)),
        linear-gradient(180deg, #17694c, #062e22 82%);
    border: 1px solid rgba(224, 189, 85, .35);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .38), inset 0 0 80px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 30px 34px;
}

.hero-arch::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 230px 230px 22px 22px;
    border: 1px solid rgba(224, 189, 85, .22);
    pointer-events: none;
}

.hero-arch::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(60deg, transparent 0 42px, rgba(255, 255, 255, .03) 42px 43px),
        repeating-linear-gradient(-60deg, transparent 0 42px, rgba(255, 255, 255, .03) 42px 43px);
}

.hero-arch__arabic {
    position: relative;
    z-index: 2;
    margin-bottom: auto;
    padding-top: 18px;
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-size: 1.55rem;
    color: var(--gold-400);
    text-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}

.hero-arch__mosque {
    position: relative;
    z-index: 2;
    width: 88%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}

.hero-arch__label {
    position: relative;
    z-index: 2;
    margin-top: 16px;
    text-align: center;
}

.hero-arch__label small {
    display: block;
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.hero-arch__label strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
}

.hero-badge {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}

.hero-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #e9f7f0;
    color: var(--green-700);
}

.hero-badge strong {
    display: block;
    font-size: .82rem;
    line-height: 1.25;
    color: var(--ink);
}

.hero-badge small {
    display: block;
    font-size: .68rem;
    color: var(--muted);
}

.hero-badge--top {
    top: 48px;
    left: -24px;
    animation: floaty 7s ease-in-out infinite;
}

.hero-badge--bottom {
    right: -16px;
    bottom: 54px;
    animation: floaty 8s ease-in-out infinite reverse;
}

.avatars {
    display: flex;
}

.avatars span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: -9px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: var(--white);
    font-size: .62rem;
    font-weight: 700;
}

.avatars span:first-child {
    margin-left: 0;
}

.avatars span:last-child {
    background: var(--gold-500);
    color: var(--green-950);
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-11px); }
}

/* ---------- Stats band ---------- */
.stats-band {
    position: relative;
    z-index: 3;
    margin-top: -58px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #efeadd;
    overflow: hidden;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 26px 28px;
    border-right: 1px solid #f0ebe0;
}

.stat:last-child {
    border-right: 0;
}

.stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #edf7f1;
    color: var(--green-700);
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1;
    color: var(--ink);
}

.stat span {
    font-size: .76rem;
    color: var(--muted);
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.about-visual {
    position: relative;
    min-height: 500px;
}

.about-photo {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo--main {
    top: 0;
    left: 0;
    width: 78%;
    height: 420px;
    border: 8px solid var(--white);
}

.about-photo--small {
    right: 0;
    bottom: 0;
    width: 52%;
    height: 250px;
    border: 8px solid var(--white);
}

.about-exp {
    position: absolute;
    left: 8px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-radius: 18px;
    background: linear-gradient(140deg, var(--gold-400), var(--gold-500));
    color: var(--green-950);
    box-shadow: var(--shadow-md);
}

.about-exp strong {
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1;
}

.about-exp span {
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.about-copy p {
    color: var(--muted);
}

.about-copy .lead {
    font-size: 1.04rem;
    color: var(--ink-soft);
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.check-list .icon {
    margin-top: 3px;
    color: var(--green-600);
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.about-sign {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-sign__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--gold-400);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.about-sign strong {
    display: block;
    font-size: .86rem;
    color: var(--ink);
}

.about-sign small {
    font-size: .72rem;
    color: var(--muted);
}

/* ---------- Program cards ---------- */
.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.program-card {
    position: relative;
    padding: 34px 28px 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid #ece6d9;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.program-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-400), var(--green-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: #ddd5c3;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(140deg, #ecf7f1, #dff2e8);
    color: var(--green-700);
}

.program-card h3 {
    margin-bottom: 10px;
}

.program-card h3 a {
    color: var(--ink);
}

.program-card h3 a:hover {
    color: var(--green-700);
}

.program-card p {
    min-height: 72px;
    font-size: .87rem;
    color: var(--muted);
}

.program-card__index {
    position: absolute;
    right: 20px;
    top: 14px;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: rgba(15, 81, 50, .06);
    line-height: 1;
}

/* ---------- Feature grid (dark) ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}

.feature-card:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(224, 189, 85, .35);
    transform: translateY(-5px);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(224, 189, 85, .14);
    color: var(--gold-400);
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.feature-card p {
    margin: 0;
    font-size: .86rem;
    color: rgba(255, 255, 255, .64);
}

/* ---------- PPDB steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 30px 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid #ece6d9;
}

.step::after {
    content: "";
    position: absolute;
    top: 48px;
    right: -26px;
    width: 28px;
    border-top: 2px dashed #d8cfba;
}

.step:last-child::after {
    display: none;
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--gold-400);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 0 0 6px #edf4ef;
}

.step h3 {
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.step p {
    margin: 0;
    font-size: .82rem;
    color: var(--muted);
}

.ppdb-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 54px;
    padding: 46px 54px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 20%, rgba(224, 189, 85, .3), transparent 35%),
        linear-gradient(130deg, var(--green-950), var(--green-700));
    box-shadow: var(--shadow-lg);
}

.ppdb-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 28px, rgba(255, 255, 255, .035) 28px 29px),
        repeating-linear-gradient(-45deg, transparent 0 28px, rgba(255, 255, 255, .035) 28px 29px);
}

.ppdb-banner > * {
    position: relative;
    z-index: 1;
}

.ppdb-banner h2 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.ppdb-banner p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
}

.ppdb-banner__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- News ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid #ece6d9;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.news-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
}

.news-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--green-900);
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.news-card:hover .news-card__media img {
    transform: scale(1.06);
}

.news-card__cat {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--green-800);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.news-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 26px;
}

.news-card__date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    font-size: .74rem;
    color: var(--muted);
}

.news-card__date .icon {
    color: var(--gold-600);
}

.news-card h3 {
    margin-bottom: 10px;
    font-size: 1.16rem;
    line-height: 1.35;
}

.news-card h3 a {
    color: var(--ink);
}

.news-card h3 a:hover {
    color: var(--green-700);
}

.news-card p {
    margin: 0 0 18px;
    font-size: .85rem;
    color: var(--muted);
}

.news-card .link-arrow {
    margin-top: auto;
}

/* ---------- Testimonials ---------- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testi-card {
    position: relative;
    padding: 32px 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid #ece6d9;
    box-shadow: var(--shadow-sm);
}

.testi-card__quote {
    position: absolute;
    right: 24px;
    top: 22px;
    color: rgba(201, 162, 39, .2);
}

.testi-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: var(--gold-500);
}

.testi-card p {
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.75;
}

.testi-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed #e8e2d4;
}

.testi-person__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: var(--gold-400);
    font-weight: 800;
    font-size: .82rem;
}

.testi-person strong {
    display: block;
    font-size: .86rem;
    color: var(--ink);
}

.testi-person small {
    font-size: .72rem;
    color: var(--muted);
}

/* ---------- CTA ---------- */
.cta-section {
    padding: 90px 0;
}

.cta-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    gap: 40px;
    padding: 58px 60px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(224, 189, 85, .28), transparent 34%),
        linear-gradient(130deg, var(--green-950), var(--green-700));
    color: rgba(255, 255, 255, .74);
    box-shadow: var(--shadow-lg);
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 32px, rgba(255, 255, 255, .03) 32px 33px),
        repeating-linear-gradient(-45deg, transparent 0 32px, rgba(255, 255, 255, .03) 32px 33px);
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-card p {
    margin: 0;
    max-width: 540px;
}

.cta-card__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-self: end;
    width: min(260px, 100%);
}

/* ---------- Page hero ---------- */
.page-hero {
    position: relative;
    padding: 72px 0 68px;
    overflow: hidden;
    color: rgba(255, 255, 255, .74);
    background:
        radial-gradient(circle at 88% 12%, rgba(224, 189, 85, .18), transparent 28%),
        linear-gradient(130deg, var(--green-950), var(--green-800) 62%, var(--green-700));
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 30px, rgba(255, 255, 255, .028) 30px 31px),
        repeating-linear-gradient(-45deg, transparent 0 30px, rgba(255, 255, 255, .028) 30px 31px);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 820px;
    margin-bottom: 14px;
    color: var(--white);
}

.page-hero p {
    max-width: 660px;
    margin: 0;
    font-size: .98rem;
    color: rgba(255, 255, 255, .7);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .76rem;
    color: rgba(255, 255, 255, .55);
}

.breadcrumb a {
    color: rgba(255, 255, 255, .8);
}

.breadcrumb a:hover {
    color: var(--gold-400);
}

.breadcrumb span {
    opacity: .45;
}

/* ---------- Info cards / PPDB info ---------- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.info-card {
    padding: 30px 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid #ece6d9;
    box-shadow: var(--shadow-sm);
}

.info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #edf7f1;
    color: var(--green-700);
}

.info-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-card p,
.info-card ul {
    margin: 0;
    font-size: .85rem;
    color: var(--muted);
}

.info-card ul {
    padding-left: 1.05rem;
}

.info-card li + li {
    margin-top: 4px;
}

/* ---------- Generic cards / content ---------- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 44px;
    align-items: start;
}

.content-card {
    background: var(--white);
    border: 1px solid #ece6d9;
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.content-card + .content-card {
    margin-top: 24px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar__box {
    background: var(--white);
    border: 1px solid #ece6d9;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar__box h3 {
    margin-bottom: 16px;
    font-size: 1.08rem;
}

.sidebar__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar__list li + li {
    border-top: 1px dashed #ebe5d8;
}

.sidebar__list a {
    display: block;
    padding: 11px 0;
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.sidebar__list a:hover {
    color: var(--green-700);
}

.sidebar-cta {
    background: linear-gradient(140deg, var(--green-950), var(--green-700));
    color: rgba(255, 255, 255, .75);
    border: 0;
}

.sidebar-cta h3 {
    color: var(--white);
}

.sidebar-cta p {
    font-size: .83rem;
    margin-bottom: 16px;
}

/* ---------- Prose ---------- */
.prose {
    font-size: .99rem;
    line-height: 1.85;
    color: var(--ink-soft);
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose h2,
.prose h3 {
    margin-top: 1.8em;
}

.prose img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.prose blockquote {
    margin: 1.6rem 0;
    padding: 18px 24px;
    border-left: 4px solid var(--gold-500);
    background: var(--cream);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--ink-soft);
}

.article-header {
    margin-bottom: 28px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-bottom: 16px;
    font-size: .78rem;
    color: var(--muted);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.article-meta .icon {
    color: var(--gold-600);
}

.article-title {
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.article-hero {
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-hero img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px dashed #e6e0d2;
    font-size: .82rem;
    color: var(--muted);
}

.share-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--green-800);
}

.share-row a:hover {
    background: var(--green-800);
    color: var(--white);
}

/* ---------- Filter bar / pills ---------- */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pills a,
.pills button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #e2dccd;
    background: var(--white);
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s var(--ease);
}

.pills a:hover,
.pills button:hover,
.pills .is-active {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--white);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid #e2dccd;
    border-radius: 999px;
    background: var(--white);
    min-width: 280px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: .84rem;
    color: var(--ink);
}

.search-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--white);
    cursor: pointer;
}

.search-form button:hover {
    background: var(--green-700);
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 46px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #e4ded0;
    background: var(--white);
    color: var(--ink-soft);
    font-size: .84rem;
    font-weight: 700;
}

.pagination a:hover {
    border-color: var(--green-800);
    color: var(--green-800);
}

.pagination .is-active {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--white);
}

.pagination .is-disabled {
    opacity: .45;
    pointer-events: none;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    display: block;
    border: 0;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    background: var(--green-900);
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 46, 34, .82));
    opacity: .85;
    transition: opacity .3s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item__caption {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 16px;
    text-align: left;
    color: var(--white);
    transform: translateY(4px);
    transition: transform .3s var(--ease);
}

.gallery-item:hover .gallery-item__caption {
    transform: translateY(0);
}

.gallery-item__caption strong {
    display: block;
    font-size: .92rem;
    line-height: 1.3;
}

.gallery-item__caption small {
    font-size: .7rem;
    color: var(--gold-400);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gallery-item__zoom {
    position: absolute;
    z-index: 2;
    right: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--green-800);
    opacity: 0;
    transform: scale(.8);
    transition: all .3s var(--ease);
}

.gallery-item:hover .gallery-item__zoom {
    opacity: 1;
    transform: scale(1);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(4, 26, 19, .9);
    backdrop-filter: blur(6px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(1000px, 92vw);
    max-height: 82vh;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.lightbox__close {
    position: absolute;
    right: 24px;
    top: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    cursor: pointer;
}

.lightbox__close:hover {
    background: var(--gold-500);
    color: var(--green-950);
}

.lightbox__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    text-align: center;
    color: rgba(255, 255, 255, .75);
    font-size: .84rem;
}

/* ---------- Forms ---------- */
.form-card {
    background: var(--white);
    border: 1px solid #ece6d9;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--ink);
}

.field label .req {
    color: var(--red);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #ddd6c6;
    border-radius: 12px;
    background: #fdfcf9;
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--ink);
    outline: 0;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.field textarea {
    min-height: 116px;
    resize: vertical;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2368786f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--green-600);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(27, 138, 90, .12);
}

.field small {
    font-size: .72rem;
    color: var(--muted);
}

.field__error {
    font-size: .73rem;
    color: var(--red);
    font-weight: 600;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: #e79a93;
    background: #fffafa;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e6e0d2;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
}

.form-section-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--green-800);
    color: var(--gold-400);
    font-size: .78rem;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px dashed #e6e0d2;
}

.form-actions--end {
    justify-content: flex-end;
}

.form-tip {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: #f2f8f4;
    border: 1px solid #d7ecdf;
    color: #2f5a45;
    font-size: .8rem;
    line-height: 1.6;
}

.form-tip .icon {
    color: var(--green-600);
    margin-top: 2px;
}

/* ---------- Stepper ---------- */
.stepper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 32px;
}

.stepper__item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.stepper__item::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e4ded0;
    z-index: 0;
}

.stepper__item:last-child::before {
    display: none;
}

.stepper__item.is-active::before,
.stepper__item.is-done::before {
    background: linear-gradient(90deg, var(--green-600), var(--green-500));
}

.stepper__num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #ded7c7;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 800;
    transition: all .3s var(--ease);
}

.stepper__item.is-active .stepper__num {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--white);
    box-shadow: 0 0 0 5px rgba(27, 138, 90, .14);
}

.stepper__item.is-done .stepper__num {
    background: var(--gold-400);
    border-color: var(--gold-400);
    color: var(--green-950);
}

.stepper__label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
    line-height: 1.3;
}

.stepper__item.is-active .stepper__label,
.stepper__item.is-done .stepper__label {
    color: var(--green-800);
}

.step-panel {
    display: none;
}

.step-panel.is-active {
    display: block;
    animation: fadeUp .4s var(--ease);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px dashed #e6e0d2;
}

/* ---------- Alerts ---------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 18px;
    margin-bottom: 22px;
    border-radius: 14px;
    font-size: .85rem;
    line-height: 1.6;
    border: 1px solid transparent;
}

.alert span {
    flex: 1;
}

.alert__close {
    border: 0;
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: .6;
    padding: 0 2px;
}

.alert--success { background: #e9f7f0; border-color: #c5e9d8; color: #116044; }
.alert--error { background: var(--red-soft); border-color: #f5c7c2; color: #8f1d15; }
.alert--info { background: #eef6ff; border-color: #cfe4fa; color: #14548d; }
.alert--warning { background: #fdf6e3; border-color: #efe0b7; color: #7a5c10; }

/* ---------- Badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .03em;
    white-space: nowrap;
}

.badge--pending { background: #fdf1cd; color: #7a5a0a; }
.badge--diterima,
.badge--publish,
.badge--aktif { background: #dcf5e8; color: #0f6a47; }
.badge--ditolak,
.badge--nonaktif { background: var(--red-soft); color: #9c241c; }
.badge--draft,
.badge--baru { background: #eef2f0; color: #55655c; }
.badge--alumni,
.badge--dibaca { background: #e5efff; color: #245c9c; }

/* ---------- Success / status ---------- */
.success-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 44px;
    text-align: center;
    background: var(--white);
    border: 1px solid #ece6d9;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.success-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #e9f7f0;
    color: var(--green-600);
    box-shadow: 0 0 0 12px #f2faf5;
}

.success-card h2 {
    margin-bottom: 10px;
}

.success-card p {
    color: var(--muted);
}

.ticket {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin: 22px 0;
    padding: 18px 34px;
    border-radius: 16px;
    border: 2px dashed var(--gold-500);
    background: #fffbee;
}

.ticket small {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.ticket strong {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--green-800);
}

.success-card__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.status-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid #ece6d9;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.status-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 28px 34px;
    background: linear-gradient(135deg, var(--green-950), var(--green-700));
    color: var(--white);
}

.status-card__head h2 {
    margin: 0;
    color: var(--white);
    font-size: 1.4rem;
}

.status-card__head p {
    margin: 4px 0 0;
    font-size: .8rem;
    color: rgba(255, 255, 255, .65);
}

.status-card__body {
    padding: 34px;
}

.status-timeline {
    position: relative;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.status-timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e6e0d2;
}

.status-timeline li {
    position: relative;
    padding: 0 0 24px 50px;
}

.status-timeline li:last-child {
    padding-bottom: 0;
}

.status-timeline__dot {
    position: absolute;
    left: 4px;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #ddd6c6;
    color: var(--muted);
    z-index: 1;
}

.status-timeline li.is-done .status-timeline__dot {
    background: var(--green-600);
    border-color: var(--green-600);
    color: var(--white);
}

.status-timeline li.is-current .status-timeline__dot {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--green-950);
    box-shadow: 0 0 0 5px rgba(201, 162, 39, .16);
}

.status-timeline strong {
    display: block;
    font-size: .9rem;
    color: var(--ink);
}

.status-timeline small {
    font-size: .77rem;
    color: var(--muted);
}

.status-detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px dashed #e6e0d2;
}

.status-detail div {
    font-size: .84rem;
}

.status-detail span {
    display: block;
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

.status-detail strong {
    color: var(--ink);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: start;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
}

.contact-item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid #ece6d9;
}

.contact-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #edf7f1;
    color: var(--green-700);
}

.contact-item strong {
    display: block;
    font-size: .8rem;
    color: var(--ink);
}

.contact-item span,
.contact-item a {
    font-size: .84rem;
    color: var(--muted);
}

.map-card {
    position: relative;
    margin-top: 24px;
    min-height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(224, 189, 85, .18), transparent 30%),
        linear-gradient(135deg, var(--green-950), var(--green-700));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: var(--white);
    text-align: center;
    padding: 28px;
}

.map-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent 0 42px, rgba(255, 255, 255, .045) 42px 43px),
        repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 255, 255, .045) 42px 43px);
}

.map-card > * {
    position: relative;
    z-index: 1;
}

.map-card .icon {
    color: var(--gold-400);
}

.map-card strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.map-card p {
    margin: 0;
    font-size: .78rem;
    color: rgba(255, 255, 255, .65);
    max-width: 340px;
}

/* ---------- Empty state ---------- */
.empty-state {
    padding: 56px 30px;
    text-align: center;
    background: var(--white);
    border: 1px dashed #ddd6c6;
    border-radius: var(--radius-lg);
    color: var(--muted);
}

.empty-state .icon {
    color: var(--gold-500);
    margin-bottom: 12px;
}

.empty-state h3 {
    margin-bottom: 6px;
}

.empty-state p {
    margin: 0;
    font-size: .88rem;
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 78px 0 0;
    color: rgba(255, 255, 255, .62);
    background:
        radial-gradient(circle at 12% 0%, rgba(39, 160, 108, .2), transparent 30%),
        linear-gradient(150deg, #052a1e, var(--green-900) 60%, #073527);
}

.site-footer__pattern {
    position: absolute;
    inset: 0;
    opacity: .5;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 34px, rgba(255, 255, 255, .022) 34px 35px),
        repeating-linear-gradient(-45deg, transparent 0 34px, rgba(255, 255, 255, .022) 34px 35px);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .9fr .9fr 1.2fr;
    gap: 46px;
    padding-bottom: 54px;
}

.footer-brand p {
    margin: 20px 0 22px;
    font-size: .86rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .58);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .78);
}

.footer-social a:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--green-950);
}

.footer-col h3 {
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: .85rem;
    color: rgba(255, 255, 255, .62);
}

.footer-col a:hover {
    color: var(--gold-400);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .83rem;
    line-height: 1.6;
    margin-bottom: 13px;
}

.footer-contact .icon {
    margin-top: 3px;
    color: var(--gold-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .76rem;
    color: rgba(255, 255, 255, .45);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .55);
    font-size: .76rem;
}

.footer-bottom a:hover {
    color: var(--gold-400);
}

/* ---------- Floating buttons ---------- */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 14px 30px rgba(37, 211, 102, .38);
    transition: transform .25s var(--ease);
}

.wa-float:hover {
    color: var(--white);
    transform: scale(1.08);
}

.wa-float__ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .6);
    animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: .8; }
    80%, 100% { transform: scale(1.55); opacity: 0; }
}

.to-top {
    position: fixed;
    right: 26px;
    bottom: 92px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e2dccd;
    border-radius: 50%;
    background: var(--white);
    color: var(--green-800);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: all .3s var(--ease);
}

.to-top .icon {
    transform: rotate(180deg);
}

.to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.to-top:hover {
    background: var(--green-800);
    color: var(--white);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .4s; }
[data-reveal][data-delay="6"] { transition-delay: .48s; }

/* ---------- 404 ---------- */
.notfound {
    padding: 110px 0;
    text-align: center;
}

.notfound__code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 14vw, 10rem);
    line-height: 1;
    color: var(--green-800);
    opacity: .12;
}

.notfound h1 {
    margin-top: -20px;
}

.notfound p {
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 26px;
}

/* ---------- Program detail / schedule ---------- */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.program-detail {
    margin-bottom: 24px;
    padding: 40px;
    background: var(--white);
    border: 1px solid #ece6d9;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 110px;
}

.program-detail:last-child {
    margin-bottom: 0;
}

.program-detail__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px dashed #e6e0d2;
}

.program-detail__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 18px;
    background: linear-gradient(140deg, #ecf7f1, #dff2e8);
    color: var(--green-700);
}

.program-detail__head small {
    display: block;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.program-detail__head h2 {
    margin: 3px 0 0;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.program-detail__grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 38px;
}

.program-detail__grid h3 {
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-800);
    margin-bottom: 12px;
}

.program-detail__grid p {
    color: var(--muted);
    font-size: .92rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
}

.schedule-item__time {
    flex: 0 0 auto;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1.3;
}

.schedule-item strong {
    display: block;
    font-size: .9rem;
    color: var(--white);
    margin-bottom: 2px;
}

.schedule-item p {
    margin: 0;
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
}

/* ---------- Misc fixes ---------- */
.gallery-item.is-hidden {
    display: none;
}

.sidebar__box .footer-social a {
    background: var(--cream);
    border-color: #e4ded0;
    color: var(--green-800);
}

.sidebar__box .footer-social a:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--white);
}

.map-card:hover {
    color: var(--white);
}

.map-card:hover strong {
    color: var(--gold-400);
}

.field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    padding: 0;
    accent-color: var(--green-700);
}

.program-card,
.news-card {
    scroll-margin-top: 110px;
}

/* ---------- Print ---------- */
@media print {
    .topbar,
    .site-header,
    .site-footer,
    .wa-float,
    .to-top,
    .page-hero,
    .form-card,
    .stepper,
    .step-nav,
    .lightbox,
    .success-card__actions,
    .btn {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .status-card,
    .success-card {
        box-shadow: none;
        border: 1px solid #ddd;
        max-width: 100%;
    }

    .status-card__head,
    .ticket,
    .success-card {
        color: #000 !important;
        background: #fff !important;
    }

    .status-card__head h2,
    .status-card__head p,
    .ticket strong {
        color: #000 !important;
    }

    .section {
        padding: 10px 0;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .main-nav > a {
        padding: 10px 9px;
        font-size: .82rem;
    }

    .nav-actions__cta {
        display: none;
    }

    .hero__inner {
        gap: 36px;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1.2fr;
    }

    .footer-col:last-child {
        grid-column: 2 / 4;
    }
}

@media (max-width: 960px) {
    .section {
        padding: 76px 0;
    }

    .topbar__mail {
        display: none !important;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 95;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 92px 22px 28px;
        background: var(--white);
        box-shadow: 0 24px 50px rgba(9, 45, 34, .14);
        transform: translateY(-110%);
        transition: transform .4s var(--ease);
        max-height: 100vh;
        overflow-y: auto;
    }

    .main-nav.is-open {
        transform: translateY(0);
    }

    .main-nav > a {
        padding: 15px 12px;
        font-size: .95rem;
        border-bottom: 1px solid #f0ebe0;
    }

    .main-nav > a::after {
        display: none;
    }

    .main-nav__mobile-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
        padding: 15px;
        border-radius: 999px;
        background: var(--green-800);
        color: var(--white) !important;
        font-weight: 700;
        border-bottom: 0 !important;
    }

    .nav-toggle {
        position: relative;
        z-index: 100;
    }

    .hero {
        padding: 56px 0 110px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__content {
        max-width: 640px;
    }

    .hero__visual {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-badge--top {
        left: -6px;
    }

    .hero-badge--bottom {
        right: -6px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid #f0ebe0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
        min-height: 440px;
    }

    .about-photo--main {
        height: 370px;
    }

    .about-photo--small {
        height: 210px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step::after {
        display: none;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testi-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin: 0 auto;
    }

    .ppdb-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .contact-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 46px 34px;
    }

    .cta-card__actions {
        justify-self: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .two-col-grid,
    .program-detail__grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 18px;
    }

    .topbar__inner {
        justify-content: center;
    }

    .topbar__right {
        display: none;
    }

    .nav-wrap {
        min-height: 68px;
    }

    .brand__text strong {
        font-size: .94rem;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .hero__lead {
        font-size: .94rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero-arch {
        width: 86%;
    }

    .hero-badge {
        padding: 10px 12px;
        gap: 9px;
    }

    .hero-badge__icon {
        width: 32px;
        height: 32px;
    }

    .hero-badge strong {
        font-size: .74rem;
    }

    .hero-badge small {
        font-size: .62rem;
    }

    .hero-badge--top {
        top: 28px;
        left: -2px;
    }

    .hero-badge--bottom {
        right: -2px;
        bottom: 28px;
    }

    .stats-band {
        margin-top: -46px;
    }

    .stat {
        padding: 20px 18px;
    }

    .stat strong {
        font-size: 1.4rem;
    }

    .stat span {
        font-size: .7rem;
    }

    .stat__icon {
        width: 42px;
        height: 42px;
    }

    .section {
        padding: 62px 0;
    }

    .section-head--split {
        align-items: flex-start;
    }

    .about-photo--main {
        height: 300px;
    }

    .about-photo--small {
        height: 170px;
    }

    .about-visual {
        min-height: 350px;
    }

    .about-exp {
        padding: 14px 16px;
    }

    .about-exp strong {
        font-size: 1.9rem;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .program-grid,
    .news-grid,
    .feature-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .program-card p {
        min-height: 0;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form {
        min-width: 0;
        width: 100%;
    }

    .form-card {
        padding: 24px 18px;
    }

    .program-detail {
        padding: 26px 20px;
    }

    .program-detail__head {
        gap: 13px;
    }

    .program-detail__icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
    }

    .stepper__label {
        display: none;
    }

    .status-card__head,
    .status-card__body {
        padding: 24px 20px;
    }

    .status-detail {
        grid-template-columns: 1fr;
    }

    .article-meta {
        gap: 8px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .success-card {
        padding: 36px 22px;
    }

    .cta-section {
        padding: 62px 0;
    }

    .wa-float {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
    }

    .to-top {
        right: 18px;
        bottom: 78px;
    }
}

/* ---------- Homepage visual refresh ---------- */
.promo-slider {
    position: relative;
    overflow: hidden;
    background: var(--green-950);
}

.promo-slider__track {
    display: flex;
    will-change: transform;
    transition: transform .85s cubic-bezier(.77, 0, .18, 1);
}

.promo-slide {
    position: relative;
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(0, 2fr);
    flex: 0 0 100%;
    align-items: stretch;
    min-height: clamp(400px, 46vw, 540px);
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    background: var(--green-950);
}

.promo-slide__media {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    min-height: 100%;
    overflow: hidden;
}

.promo-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    transition: transform 6.5s linear;
}

.promo-slide.is-active .promo-slide__media img {
    transform: scale(1.1);
}

.promo-slide__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
        var(--green-950) 0%,
        var(--green-950) 33.33%,
        rgba(4, 32, 24, .92) 40%,
        rgba(4, 32, 24, .55) 48%,
        rgba(4, 32, 24, 0) 60%);
}

.promo-slide__content {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    padding: 74px 24px 96px;
}

.promo-slide__content h2 {
    max-width: 460px;
    margin: 0 0 16px;
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.promo-slide__content p {
    max-width: 440px;
    margin: 0 0 28px;
    font-size: .96rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .74);
}

.promo-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.promo-slider__nav {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
}

.promo-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-slider__dot {
    width: 30px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .34);
    cursor: pointer;
    transition: width .3s var(--ease), background .3s var(--ease);
}

.promo-slider__dot.is-active {
    width: 52px;
    background: var(--gold-400);
}

/* Hero with full-bleed photo and side gradient */
.hero--photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 620px;
    padding: 0;
    background: var(--green-950);
}

.hero--photo .hero__bg {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    z-index: 0;
    min-height: 100%;
    overflow: hidden;
}

.hero--photo .hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}

.hero--photo .hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
        var(--green-950) 0%,
        var(--green-950) 50%,
        rgba(4, 32, 24, .92) 56%,
        rgba(4, 32, 24, .5) 64%,
        rgba(4, 32, 24, 0) 76%);
}

.hero--photo::before {
    z-index: 2;
    opacity: .18;
}

.hero--photo::after {
    display: none;
}

.hero--photo .hero__inner {
    position: relative;
    z-index: 3;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    padding: 100px 24px 140px;
}

.hero--photo .hero__content {
    width: 100%;
    max-width: 560px;
}

/* About: single photo */
.about-visual--single {
    min-height: 0;
}

.about-photo--single {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 560px;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-photo--single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Program: photo tiles with gradient overlay */
.program-card--photo {
    display: flex;
    align-items: flex-end;
    min-height: 390px;
    aspect-ratio: 3 / 4;
    padding: 0;
    border: 0;
    background: var(--green-950);
    box-shadow: var(--shadow-sm);
    isolation: isolate;
}

.program-card--photo::before {
    display: none;
}

.program-card--photo:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.program-card__media,
.program-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.program-card__media img {
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.program-card--photo:hover .program-card__media img {
    transform: scale(1.07);
}

.program-card__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 32, 24, .08) 0%, rgba(4, 32, 24, .16) 38%, rgba(4, 32, 24, .72) 68%, rgba(4, 32, 24, .96) 100%);
    transition: background .4s var(--ease);
}

.program-card--photo:hover .program-card__scrim {
    background: linear-gradient(180deg, rgba(4, 32, 24, .18) 0%, rgba(4, 32, 24, .3) 36%, rgba(4, 32, 24, .82) 66%, rgba(4, 32, 24, .98) 100%);
}

.program-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 26px 24px 24px;
}

.program-card--photo .program-card__icon {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, .14);
    color: var(--gold-400);
    backdrop-filter: blur(6px);
}

.program-card--photo h3 {
    margin-bottom: 8px;
}

.program-card--photo h3 a {
    color: var(--white);
}

.program-card--photo h3 a:hover {
    color: var(--gold-400);
}

.program-card--photo p {
    min-height: 0;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .76);
    font-size: .85rem;
    line-height: 1.65;
}

.program-card--photo .link-arrow {
    color: var(--gold-400);
}

.program-card--photo .program-card__index {
    z-index: 2;
    right: 22px;
    top: 18px;
    color: rgba(255, 255, 255, .35);
    font-size: 2.2rem;
}

@media (max-width: 960px) {
    .promo-slide {
        display: flex;
        min-height: 420px;
    }

    .promo-slide__media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .promo-slide__scrim {
        background:
            linear-gradient(90deg, rgba(4, 32, 24, .97) 0%, rgba(4, 32, 24, .85) 40%, rgba(4, 32, 24, .42) 72%, rgba(4, 32, 24, .12) 100%),
            linear-gradient(0deg, rgba(4, 32, 24, .75) 0%, rgba(4, 32, 24, 0) 52%);
    }

    .promo-slide__content {
        padding: 64px 24px 92px;
    }

    .promo-slide__content h2 {
        max-width: 620px;
        font-size: clamp(1.9rem, 4.2vw, 2.6rem);
    }

    .promo-slide__content p {
        max-width: 560px;
    }

    .hero--photo {
        display: flex;
        min-height: 560px;
        padding: 80px 0 120px;
    }

    .hero--photo .hero__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hero--photo .hero__scrim {
        background:
            linear-gradient(90deg, rgba(4, 32, 24, .97) 0%, rgba(4, 32, 24, .86) 38%, rgba(4, 32, 24, .48) 70%, rgba(4, 32, 24, .14) 100%),
            linear-gradient(0deg, rgba(4, 32, 24, .8) 0%, rgba(4, 32, 24, 0) 50%);
    }

    .hero--photo .hero__inner {
        padding: 0 24px;
    }

    .hero--photo .hero__content {
        max-width: 620px;
    }

    .about-visual--single {
        max-width: 560px;
        margin: 0 auto;
    }

    .about-photo--single {
        aspect-ratio: 16 / 11;
        max-height: 460px;
    }

    .program-grid {
        gap: 28px;
    }

    .program-card--photo {
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    .promo-slide {
        min-height: 440px;
    }

    .promo-slide__content {
        padding: 56px 24px 84px;
    }

    .promo-slide__content h2 {
        font-size: clamp(1.75rem, 8vw, 2.4rem);
    }

    .promo-slide__content p {
        font-size: .92rem;
    }

    .promo-slide__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .promo-slider__nav {
        bottom: 20px;
    }

    .hero--photo {
        min-height: 520px;
        padding: 64px 0 110px;
    }

    .hero--photo .hero__bg img {
        object-position: 72% center;
    }

    .about-photo--single {
        aspect-ratio: 4 / 3;
    }

    .program-grid {
        gap: 24px;
    }

    .program-card--photo {
        min-height: 340px;
        aspect-ratio: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
