/* =============================================
   style.css — Website MTs. Bustanul Ulum
   Palette: Putih Bersih (#FFFFFF) + Biru Aksen (#1A3C5E) + Oranye (#F4A261)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    --navy:       #1A3C5E;
    --navy-dark:  #0f2540;
    --navy-mid:   #2E7D9A;
    --navy-light: #3da5c8;
    --green:      #1A3C5E;
    --green-dark: #0f2540;
    --green-mid:  #2E7D9A;
    --green-light:#3da5c8;
    --gold:       #F4A261;
    --gold-light: #f7bc85;
    --gold-pale:  #fff4eb;
    --white:      #FFFFFF;
    --off-white:  #FFFFFF;
    --ink:        #0d1f2d;
    --muted:      #5a7a8a;
    --border:     #ccdde8;

    --font-display: 'Archivo', system-ui, sans-serif;
    --font-body:    'Archivo', system-ui, sans-serif;

    --radius:     10px;
    --radius-lg:  16px;
    --shadow-sm:  0 1px 4px rgba(26,60,94,.08);
    --shadow:     0 4px 16px rgba(26,60,94,.12);
    --shadow-lg:  0 8px 32px rgba(26,60,94,.16);

    --transition: .25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-header .eyebrow::before,
.section-header .eyebrow::after {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--gold);
}
.section-header h2 { color: var(--navy); }
.section-header p { color: var(--muted); max-width: 560px; margin: 12px auto 0; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); }

/* ---- Navbar ---- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--green-dark);
    border-bottom: 2px solid var(--gold);
    box-shadow: var(--shadow);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-brand .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.navbar-brand .brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.navbar-brand .brand-logo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-light), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-display);
}
.brand-text .brand-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}
.brand-text .brand-sub {
    font-size: 11px;
    color: var(--gold);
    font-weight: 500;
}
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.navbar-nav a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    color: rgba(255,255,255,.8);
    transition: var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--gold);
    background: rgba(244,162,97,.1);
}
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}
.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-mid) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 64px;
    min-height: 500px;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 75% 50%, rgba(244,162,97,.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}
.hero-content { position: relative; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244,162,97,.15);
    border: 1px solid rgba(244,162,97,.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3rem);
}
.hero h1 span { color: var(--gold); }
.hero p {
    color: rgba(255,255,255,.8);
    font-size: 15px;
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255,255,255,.7);
    font-weight: 500;
}
.hero-badges span i { color: var(--gold); font-size: 11px; }

/* Hero visual (kanan) */
.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 380px;
}
.hero-circle-dashed {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px dashed rgba(232,184,75,.55);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring-spin-cw 18s linear infinite;
}
.hero-circle-dashed::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255,255,255,.2);
    animation: ring-spin-ccw 12s linear infinite;
}
.hero-circle-outer {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1.5px dashed rgba(232,184,75,.2);
    top: 50%;
    left: 50%;
    margin-left: -190px;
    margin-top: -190px;
    animation: ring-spin-ccw 28s linear infinite;
}
.hero-ring-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #E8B84B;
    border-radius: 50%;
    top: -5px;
    left: 50%;
    margin-left: -5px;
    box-shadow: 0 0 6px rgba(232,184,75,.6);
}
@keyframes ring-spin-cw {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes ring-spin-ccw {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}
.hero-siswa-img {
    position: relative;
    height: 360px;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    z-index: 1;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.3));
}
.hero-float-badge {
    position: absolute;
    bottom: 24px;
    left: 0;
    background: white;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    z-index: 2;
}
.hero-float-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}
.hero-float-num {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.2;
}
.hero-float-label {
    font-size: 11.5px;
    color: var(--muted);
}

/* ---- Stats ---- */
.stats-bar {
    background: var(--green-dark);
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat-item .stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stat-item .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.65);
    margin-top: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ---- Cards ---- */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.3);
    font-size: 40px;
}
.card-body { padding: 20px; }
.card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}
.badge-berita { background: rgba(26,60,94,.1); color: var(--navy); }
.badge-pengumuman { background: rgba(244,162,97,.15); color: #a04010; }
.badge-kegiatan { background: rgba(45,125,154,.1); color: var(--navy-light); }
.card-title { font-size: 16px; font-family: var(--font-display); color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.card-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.card-excerpt { font-size: 13.5px; color: var(--muted); margin: 10px 0; }

/* ---- Grid layouts ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- Sistem Links ---- */
.sistem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.sistem-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    gap: 12px;
}
.sistem-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.sistem-card .sistem-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}
.sistem-card .sistem-name { font-weight: 700; font-size: 15px; color: var(--navy); }
.sistem-card .sistem-desc { font-size: 12.5px; color: var(--muted); }
.sistem-card .sistem-arrow {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 4px;
}

/* ---- Agenda ---- */
.agenda-list { display: flex; flex-direction: column; gap: 14px; }
.agenda-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
}
.agenda-date {
    min-width: 54px;
    text-align: center;
    background: var(--navy);
    color: white;
    border-radius: 8px;
    padding: 8px 6px;
}
.agenda-date .day { font-size: 22px; font-weight: 700; line-height: 1; }
.agenda-date .month { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.agenda-info .agenda-title { font-weight: 600; color: var(--navy); font-size: 14.5px; }
.agenda-info .agenda-loc { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---- Testimonials ---- */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--gold);
    opacity: .15;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}
.testimonial-text { font-size: 14.5px; color: var(--muted); font-style: italic; margin-bottom: 16px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img, .author-avatar {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
    background: linear-gradient(135deg, var(--navy-mid), var(--gold));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 16px;
    flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.author-role { font-size: 12px; color: var(--muted); }
.stars { color: var(--gold); font-size: 13px; }

/* ---- Guru card ---- */
.guru-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    transition: var(--transition);
}
.guru-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.guru-photo {
    width: 88px; height: 88px; border-radius: 50%;
    margin: 0 auto 14px;
    border: 3px solid var(--gold);
    overflow: hidden;
    background: var(--gold-pale);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: var(--navy-mid); font-weight: 700;
}
.guru-photo img { width: 100%; height: 100%; object-fit: cover; }
.guru-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.guru-jabatan { font-size: 12.5px; color: var(--gold); font-weight: 600; margin: 4px 0; }
.guru-mapel { font-size: 12px; color: var(--muted); }
.guru-badge {
    display: inline-block;
    padding: 2px 8px; border-radius: 100px;
    font-size: 10px; font-weight: 700;
    background: rgba(26,60,94,.08);
    color: var(--navy);
    margin-top: 8px;
}

/* ---- Galeri ---- */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.galeri-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
}
.galeri-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.galeri-item:hover img { transform: scale(1.08); }
.galeri-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,60,94,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
    font-size: 28px;
}
.galeri-item:hover .galeri-overlay { opacity: 1; }
.galeri-album-badge {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0));
    padding: 24px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: none;
}
.galeri-album-name { color: white; font-weight: 700; font-size: 13.5px; }
.galeri-album-count { color: rgba(255,255,255,.8); font-size: 11.5px; }

/* ---- Prestasi ---- */
.prestasi-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}
.prestasi-card:hover { box-shadow: var(--shadow); }
.prestasi-medal {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.medal-1 { background: linear-gradient(135deg,#ffd700,#ffaa00); }
.medal-2 { background: linear-gradient(135deg,#c0c0c0,#a8a8a8); }
.medal-3 { background: linear-gradient(135deg,#cd7f32,#a0522d); color: white; }
.medal-other { background: var(--gold-pale); color: var(--gold); }
.prestasi-info .prestasi-title { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.prestasi-info .prestasi-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.tingkat-badge {
    display: inline-block;
    padding: 2px 8px; border-radius: 100px;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    background: rgba(244,162,97,.15); color: #a04010;
    margin-top: 6px;
}

/* ---- Footer ---- */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,.75);
    padding: 56px 0 0;
    border-top: 3px solid var(--gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold);
    margin-bottom: 16px;
}
.footer-brand .brand-desc { font-size: 13.5px; line-height: 1.7; margin: 12px 0 20px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.65); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; gap: 10px; font-size: 13px; align-items: flex-start; }
.footer-contact-item i { color: var(--gold); margin-top: 3px; width: 14px; flex-shrink: 0; }
.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: rgba(255,255,255,.4);
}

/* ---- Page header ---- */
.page-header {
    background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,.65); font-size: 15px; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-bottom: 12px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ---- Kontak form ---- */
.kontak-form .form-group { margin-bottom: 18px; }
.kontak-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.kontak-form input,
.kontak-form textarea,
.kontak-form select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
    transition: var(--transition);
    background: var(--white);
}
.kontak-form input:focus,
.kontak-form textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26,60,94,.08);
}

/* ---- Alert ---- */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #ecfdf5; color: #a04010; border: 1px solid #6ee7b7; }
.alert-danger  { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* ---- Lightbox ---- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 20px; right: 28px;
    color: white; font-size: 32px;
    cursor: pointer; background: none; border: none;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 22px;
    cursor: pointer;
    background: rgba(255,255,255,.12);
    border: none;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 0; right: 0;
    text-align: center;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lightbox-counter { font-size: 12px; color: rgba(255,255,255,.5); }
@media (max-width: 680px) {
    .lightbox-nav { width: 38px; height: 38px; font-size: 18px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* ---- Divider ---- */
.divider {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 12px auto;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2,1fr); }
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 680px) {
    .navbar-nav { display: none; position: fixed; inset: 68px 0 0; background: var(--green-dark); flex-direction: column; padding: 16px; gap: 4px; overflow-y: auto; }
    .navbar-nav.open { display: flex; }
    .navbar-toggle { display: flex; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 48px 0 40px; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-visual { height: 260px; margin-top: 8px; }
    .hero-circle-dashed { width: 220px; height: 220px; }
    .hero-siswa-img { height: 250px; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-actions .btn { justify-content: center; padding: 11px 8px; font-size: 13px; white-space: nowrap; }
    .section { padding: 56px 0; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--muted); }
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.font-display { font-family: var(--font-display); }

/* ---- Counter animation ---- */
.counter { transition: all .3s; }

/* ---- Read more link ---- */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
}
.read-more:hover { color: var(--gold); gap: 10px; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    font-size: 13.5px; font-weight: 600;
    border: 1.5px solid var(--border);
    color: var(--navy);
    transition: var(--transition);
}
.pagination a:hover, .pagination .active {
    background: var(--navy); color: white; border-color: var(--navy);
}

/* ---- Search bar ---- */
.search-bar {
    display: flex;
    gap: 0;
    max-width: 480px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: white;
}
.search-bar input {
    flex: 1; padding: 11px 16px; border: none; outline: none;
    font-family: var(--font-body); font-size: 14px;
}
.search-bar button {
    padding: 0 18px; background: var(--navy); border: none;
    color: white; cursor: pointer; font-size: 15px;
    transition: var(--transition);
}
.search-bar button:hover { background: var(--navy-mid); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}