/* =====================================================
   SD NEGERI 5 YEHEMBANG — Stylesheet
   Identitas visual: terasering sawah Jembrana — hijau sawah yang
   dalam, kertas hangat, aksen tanah liat/paras, dan sentuhan kunyit.
   Tipografi: Baloo 2 (judul, angka besar) + Plus Jakarta Sans (isi).
   ===================================================== */

:root {
  /* --- Warna utama: dipetakan ulang, NAMA variabel dipertahankan
     supaya seluruh halaman yang sudah pakai var(--green) dkk di
     inline style tetap jalan tanpa perlu disentuh satu-satu. --- */
  --green: #2C4A32;        /* Sawah — hijau sawah dalam, warna jangkar */
  --green-mid: #3D6B45;    /* Sawah pertengahan — gradasi & hover */
  --green-light: #E7EEE1;  /* Sawah pucat — badge & latar lembut */
  --green-accent: #6FA06F; /* Hijau terang — aksen kecil */
  --gold: #D9A441;         /* Kunyit — aksen sesekali, jangan dominan */
  --red: #C0392B;
  --dark: #1D3320;         /* Sawah tergelap — footer, topbar, stat bar */
  --text: #2A2420;         /* Tinta — teks utama, hitam hangat */
  --muted: #6B6558;        /* Abu hangat — teks sekunder */
  --border: #E4DFD0;       /* Garis hangat */
  --gray: #F6F3EA;         /* Kertas — latar bagian, krem kehijauan */
  --white: #fff;

  /* --- Warna baru: aksen tanah liat/paras (dipakai secukupnya) --- */
  --bata: #BD5B34;
  --bata-light: #F4E3D9;

  --shadow: 0 4px 18px rgba(29,51,32,0.09);
  --shadow-md: 0 10px 34px rgba(29,51,32,0.15);
  --radius: 12px;
  --radius-lg: 18px;

  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); font-size: 15px; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ===== SINYATUR: pembatas terasering (zigzag) =====
   Terinspirasi profil terasering sawah — dipakai di transisi antar
   bagian berwarna, bukan sekadar garis lurus. */
.zigzag-divider {
  height: 22px;
  background-image:
    linear-gradient(135deg, var(--gray) 25%, transparent 25%),
    linear-gradient(225deg, var(--gray) 25%, transparent 25%);
  background-position: bottom left;
  background-size: 26px 22px;
  background-repeat: repeat-x;
}
.zigzag-divider.on-white {
  background-image:
    linear-gradient(135deg, var(--white) 25%, transparent 25%),
    linear-gradient(225deg, var(--white) 25%, transparent 25%);
}
.weave-rule {
  height: 5px;
  width: 64px;
  margin: 14px auto 0;
  background-image: repeating-linear-gradient(45deg, var(--bata) 0 3px, transparent 3px 7px);
  border-radius: 4px;
}
.weave-rule.left { margin: 14px 0 0; }

/* ===== TOPBAR ===== */
.topbar { background: var(--dark); color: rgba(255,255,255,.78); font-size: 12px; padding: 7px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 20px; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 12px; }
.topbar-right a { color: rgba(255,255,255,.65); font-size: 14px; transition: .2s; }
.topbar-right a:hover { color: var(--gold); }

/* ===== NAVBAR ===== */
.navbar { background: var(--white); border-bottom: 3px solid var(--green); box-shadow: 0 2px 14px rgba(29,51,32,0.06); position: sticky; top: 0; z-index: 900; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.logo-placeholder { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; font-family: var(--font-display); }
.brand-name { font-size: 15px; font-weight: 700; color: var(--green); line-height: 1.25; font-family: var(--font-display); }
.brand-sub { font-size: 10.5px; color: var(--muted); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 5px; padding: 9px 16px; font-weight: 700; font-size: 13px; color: var(--text); border-radius: 999px; transition: .2s; white-space: nowrap; }
.nav-item > a:hover, .nav-item.active > a { color: #fff; background: var(--green); }
.nav-item > a .fa-chevron-down { font-size: 10px; transition: .2s; }
.nav-item.has-dropdown.open > a .fa-chevron-down { transform: rotate(180deg); }

.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); min-width: 200px; z-index: 999; overflow: hidden; }
.nav-item.has-dropdown.open .dropdown { display: block; animation: fadeDown .15s ease; }
.dropdown li a { display: block; padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--text); transition: .15s; border-bottom: 1px solid var(--border); }
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--green-light); color: var(--green); }

.btn-admin { background: var(--gold) !important; color: var(--dark) !important; border-radius: 999px !important; padding: 9px 20px !important; font-weight: 800 !important; }
.btn-admin:hover { background: #C9932F !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }

/* ===== HERO — foto gelap dengan overlay, gaya "garda depan" ===== */
.hero { position: relative; color: #fff; overflow: hidden; padding-top: 0; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(160deg, var(--dark) 0%, var(--green) 55%, var(--green-mid) 100%); z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: luminosity; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,33,22,.94) 20%, rgba(20,33,22,.55) 55%, rgba(20,33,22,.25) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 74px 0 0; }
.hero-text { max-width: 620px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(217,164,65,.16); border: 1px solid rgba(217,164,65,.45); color: #F3D998; border-radius: 999px; padding: 7px 16px 7px 12px; font-size: 12.5px; font-weight: 700; margin-bottom: 24px; }
.hero-badge::before { content:''; width:7px; height:7px; border-radius:50%; background: var(--gold); }
.hero h1 { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1.12; margin-bottom: 20px; letter-spacing: -.5px; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero p { font-size: 16px; opacity: .88; line-height: 1.75; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Statistik menyatu di kaki hero, gaya baris ikon */
.hero-stats { position: relative; z-index: 1; display: flex; gap: 40px; flex-wrap: wrap; padding: 30px 0 34px; margin-top: 54px; border-top: 1px solid rgba(255,255,255,.16); }
.hstat { display: flex; align-items: center; gap: 12px; }
.hstat-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.hstat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hstat-label { font-size: 11.5px; color: rgba(255,255,255,.68); font-weight: 600; margin-top: 3px; }

.btn { display: inline-flex; align-items: center; gap: 7px; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; transition: .2s; font-family: var(--font-body); }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-green { background: var(--bata); color: #fff; }
.btn-green:hover { background: #A34A29; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); max-height: 320px; object-fit: cover; border: 4px solid rgba(255,255,255,.15); }
.hero-img-placeholder { width: 100%; height: 280px; background: rgba(255,255,255,.08); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed rgba(255,255,255,.28); color: rgba(255,255,255,.55); font-size: 50px; }

/* ===== STATS — "terasering": empat undakan gradasi hijau ===== */
.stats-bar { background: var(--dark); padding: 0; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 26px 16px; border-right: 1px solid rgba(255,255,255,.08); }
.stat-item:nth-child(1) { background: rgba(255,255,255,.02); }
.stat-item:nth-child(2) { background: rgba(255,255,255,.045); }
.stat-item:nth-child(3) { background: rgba(255,255,255,.07); }
.stat-item:nth-child(4) { background: rgba(255,255,255,.095); border-right: none; }
.stat-num { font-size: 2.1rem; font-weight: 700; color: var(--gold); font-family: var(--font-display); }
.stat-label { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 4px; font-weight: 600; }

/* ===== SECTION COMMONS ===== */
.section { padding: 68px 0; }
.section-gray { background: var(--gray); }
.section-header { text-align: center; margin-bottom: 42px; }
.section-header .badge-tag { display: inline-flex; align-items:center; gap:6px; background: var(--green-light); color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 5px 14px 5px 10px; border-radius: 20px; margin-bottom: 12px; }
.section-header .badge-tag::before { content:''; width:6px; height:6px; border-radius:50%; background: var(--bata); display:inline-block; }
.section-header h2 { font-size: 1.9rem; color: var(--dark); margin-bottom: 10px; }
.section-header p { font-size: 14px; color: var(--muted); max-width: 500px; margin: 0 auto; }
.section-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.section-top h2 { font-size: 1.45rem; color: var(--dark); }
.btn-more { background: var(--green-light); color: var(--green); border: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: var(--font-body); transition: .2s; }
.btn-more:hover { background: var(--green); color: #fff; }

/* ===== QUICK LINKS ===== */
.ql-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ql-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 230px;
  display: flex; align-items: flex-end; text-align: left; cursor: pointer;
  box-shadow: var(--shadow); transition: .3s; isolation: isolate;
}
.ql-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ql-card .ql-bg {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.ql-card:hover .ql-bg { transform: scale(1.09); }
.ql-card .ql-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(185deg, rgba(20,33,22,.05) 30%, rgba(18,28,20,.94) 100%);
}
.ql-card-body { position: relative; z-index: 2; padding: 22px; width: 100%; }
.ql-card .ql-tag {
  display: inline-block; background: rgba(217,164,65,.9); color: var(--dark); font-size: 10px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 3px 10px;
  border-radius: 999px; margin-bottom: 10px;
}
.ql-card h3 { font-size: 15.5px; font-weight: 700; color: #fff; margin-bottom: 5px; font-family: var(--font-display); }
.ql-card p { font-size: 12px; color: rgba(255,255,255,.82); line-height: 1.55; }
.ql-card .ql-arrow {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.16); backdrop-filter: blur(3px); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 15px; transition: .25s;
}
.ql-card:hover .ql-arrow { background: var(--bata); transform: rotate(45deg); }
/* Gradasi warna pengganti sementara sebelum foto layanan diunggah (tanpa simbol) */
.ql-bg.grad-1 { background-image: linear-gradient(135deg, #2C4A32, #3D6B45); }
.ql-bg.grad-2 { background-image: linear-gradient(135deg, #8C4527, #BD5B34); }
.ql-bg.grad-3 { background-image: linear-gradient(135deg, #1D3320, #2C4A32); }
.ql-bg.grad-4 { background-image: linear-gradient(135deg, #A8792E, #D9A441); }
.ql-bg.grad-5 { background-image: linear-gradient(135deg, #3D6B45, #6FA06F); }
.ql-bg.grad-6 { background-image: linear-gradient(135deg, #5C2E1A, #BD5B34); }

/* ===== BERITA/NEWS GRID ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: .25s; background: var(--white); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--bata-light); }
.news-img { height: 180px; overflow: hidden; background: var(--gray); display: flex; align-items: center; justify-content: center; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-img-placeholder { display: flex; align-items: center; justify-content: center; font-size: 40px; height: 100%; width: 100%; color: var(--green-accent); }
.news-body { padding: 18px; }
.news-cat { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--bata); margin-bottom: 8px; }
.news-body h3 { font-size: 14.5px; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 10px; font-family: var(--font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; }
.news-summary { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== AGENDA ===== */
.agenda-list { display: flex; flex-direction: column; gap: 14px; }
.agenda-item { background: var(--white); border-radius: var(--radius); padding: 18px; display: flex; gap: 18px; align-items: center; border: 1px solid var(--border); transition: .2s; }
.agenda-item:hover { border-color: var(--bata); box-shadow: var(--shadow); }
.agenda-date { min-width: 58px; height: 62px; background: var(--green); color: #fff; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.agenda-date .day { font-size: 21px; font-weight: 700; line-height: 1; font-family: var(--font-display); }
.agenda-date .mon { font-size: 11px; font-weight: 600; opacity: .88; text-transform: uppercase; }
.agenda-info h4 { font-size: 14.5px; font-weight: 700; color: var(--dark); margin-bottom: 4px; font-family: var(--font-display); }
.agenda-info p { font-size: 12.5px; color: var(--muted); }

/* ===== PENGUMUMAN ===== */
.pengumuman-list { display: flex; flex-direction: column; gap: 14px; }
.pengumuman-item { background: var(--white); border-radius: var(--radius); padding: 20px; border-left: 4px solid var(--bata); box-shadow: var(--shadow); transition: .2s; }
.pengumuman-item:hover { transform: translateX(4px); }
.pengumuman-item h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; font-family: var(--font-display); }
.pengumuman-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.pengumuman-item .pdate { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* ===== PRESTASI ===== */
.prestasi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prestasi-card { background: var(--white); border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); display: flex; align-items: flex-start; gap: 14px; transition: .2s; }
.prestasi-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.prestasi-medal { width: 46px; height: 46px; border-radius: 12px; background: var(--bata-light); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.prestasi-info h4 { font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 3px; font-family: var(--font-display); }
.prestasi-info .meta { font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.prestasi-info .detail { font-size: 12px; color: var(--text); }
.badge-tingkat { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 800; background: var(--green-light); color: var(--green); margin-top: 6px; }

/* ===== GTK ===== */
.gtk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gtk-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 20px 24px; border: 1px solid var(--border); text-align: center; transition: .25s; position: relative; }
.gtk-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.gtk-avatar-ring { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; padding: 4px; background: linear-gradient(135deg, var(--gold), var(--bata)); display: flex; align-items: center; justify-content: center; }
.gtk-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); }
.gtk-avatar-placeholder { width: 100%; height: 100%; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; font-family: var(--font-display); border: 3px solid var(--white); }
.gtk-card h4 { font-size: 14.5px; font-weight: 700; color: var(--dark); margin-bottom: 10px; font-family: var(--font-display); }
.gtk-card .jabatan { display: inline-block; font-size: 10.5px; color: var(--bata); font-weight: 800; text-transform: uppercase; letter-spacing: .4px; background: var(--bata-light); padding: 4px 14px; border-radius: 999px; }
.gtk-card .mapel { font-size: 11.5px; color: var(--muted); margin-top: 8px; }

/* ===== GALERI ===== */
.galeri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.galeri-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--gray); cursor: pointer; position: relative; }
.galeri-item img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.galeri-item:hover img { transform: scale(1.07); }
.galeri-overlay { position: absolute; inset: 0; background: rgba(29,51,32,.72); display: flex; align-items: center; justify-content: center; opacity: 0; transition: .3s; color: #fff; font-size: 22px; }
.galeri-item:hover .galeri-overlay { opacity: 1; }

/* ===== PAGE HEADER ===== */
.page-header { background: linear-gradient(160deg, var(--dark) 0%, var(--green) 55%, var(--green-mid) 100%); color: #fff; padding: 54px 0 40px; position: relative; overflow: hidden; }
.page-header::after { content:''; position:absolute; top:-80px; right:-80px; width:260px; height:260px; border-radius:50%; background:rgba(217,164,65,.08); }
.page-header h1 { font-family: var(--font-display); font-size: 2.1rem; margin-bottom: 8px; position: relative; z-index:1; }
.page-header .breadcrumb { font-size: 13px; opacity: .82; display: flex; gap: 8px; align-items: center; position: relative; z-index:1; }
.page-header .breadcrumb a { color: rgba(255,255,255,.78); }
.page-header .breadcrumb a:hover { color: #fff; }

/* ===== PPDB FORM ===== */
.ppdb-form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-section { margin-bottom: 28px; border-top: 2px solid var(--green-light); padding-top: 20px; }
.form-section:first-child { border-top: none; padding-top: 0; }
.form-section h3 { font-size: 15px; font-weight: 700; color: var(--green); margin-bottom: 16px; font-family: var(--font-display); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 9px; padding: 10px 13px;
  font-size: 14px; font-family: var(--font-body); outline: none; transition: .2s; color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(44,74,50,.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.required { color: var(--red); }
.btn-submit { background: var(--bata); color: #fff; border: none; padding: 14px 32px; border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: var(--font-body); transition: .2s; width: 100%; margin-top: 8px; }
.btn-submit:hover { background: #A34A29; }

/* ===== DETAIL BERITA ===== */
.article-body { max-width: 780px; margin: 0 auto; }
.article-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-content { font-size: 15.5px; line-height: 1.85; color: var(--text); }
.article-content h2, .article-content h3 { margin: 24px 0 12px; color: var(--dark); }
.article-content p { margin-bottom: 16px; }
.article-content img { border-radius: var(--radius); max-width: 100%; margin: 16px 0; }

/* ===== ALERT ===== */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; font-weight: 600; }
.alert-success { background: var(--green-light); color: var(--green); border: 1px solid var(--green-accent); }
.alert-danger { background: #FBE9E4; color: var(--red); border: 1px solid #F4CFC5; }
.alert-info { background: var(--bata-light); color: #8C4527; border: 1px solid #E9C6AF; }

/* ===== CARD ===== */
.card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 15px; color: var(--dark); background: var(--gray); font-family: var(--font-display); }
.card-body { padding: 20px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; font-size: 13px; font-weight: 700; border: 1px solid var(--border); color: var(--text); transition: .2s; }
.pagination a:hover { background: var(--green-light); border-color: var(--green); color: var(--green); }
.pagination .active { background: var(--green); color: #fff; border-color: var(--green); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 64px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-col h3 { font-size: 16px; color: var(--white); margin-bottom: 12px; font-family: var(--font-display); }
.footer-col h4 { font-size: 13px; color: var(--gold); margin-bottom: 14px; font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; margin-bottom: 8px; }
.footer-contact p i { color: var(--green-accent); margin-top: 2px; flex-shrink: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.62); transition: .2s; display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '→'; font-size: 10px; color: var(--gold); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.68); font-size: 15px; transition: .2s; }
.footer-social a:hover { background: var(--bata); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,.35); }

/* ===== BENTUK DEKORATIF MELAYANG (tekstur latar, gaya modern) ===== */
.confetti-wrap { position: relative; overflow: hidden; }
.confetti { position: absolute; opacity: .5; pointer-events: none; z-index: 0; }
.confetti.tri { width: 0; height: 0; border-left: 34px solid transparent; border-right: 34px solid transparent; border-bottom: 58px solid var(--green-light); }
.confetti.hex { width: 54px; height: 54px; background: var(--bata-light); clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.confetti.sq { width: 40px; height: 40px; background: var(--green-light); transform: rotate(20deg); border-radius: 6px; }
.confetti.circ { width: 46px; height: 46px; border-radius: 50%; background: var(--bata-light); }

/* ===== KARTU AKSEN BORDER (gaya Visi/Misi) ===== */
.accent-card { background: var(--white); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow); border-left: 4px solid var(--bata); display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.accent-card.alt { border-left-color: var(--green); }
.accent-card .accent-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bata-light); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.accent-card.alt .accent-icon { background: var(--green-light); }
.accent-card h3 { font-family: var(--font-display); font-size: 17px; color: var(--dark); margin-bottom: 6px; }
.accent-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ===== PITA CTA (gaya "Bergabung Bersama") ===== */
.cta-band { position: relative; background: linear-gradient(120deg, var(--dark) 0%, #3A2317 55%, var(--bata) 130%); color: #fff; border-radius: var(--radius-lg); padding: 52px 44px; overflow: hidden; }
.cta-band-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.2; margin-bottom: 14px; }
.cta-band h2 .u { color: var(--gold); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cta-band p { font-size: 14.5px; opacity: .85; line-height: 1.7; margin-bottom: 26px; max-width: 440px; }
.cta-quickbox { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(4px); }
.cta-quickbox h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.6); margin-bottom: 16px; font-weight: 800; }
.cta-quick-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13.5px; font-weight: 700; }
.cta-quick-row .cq-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
@media (max-width: 768px) {
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .cta-band h2 { font-size: 1.6rem; }
}


@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .5s ease forwards; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gtk-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-image { display: none; }
  .hero-btns { justify-content: center; }
  .hamburger { display: flex; }
  .nav-menu { display: none; position: fixed; inset: 0; top: 76px; background: var(--white); flex-direction: column; align-items: flex-start; padding: 20px; gap: 0; overflow-y: auto; z-index: 800; border-top: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-item > a { width: 100%; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
  .dropdown { display: none; position: static; box-shadow: none; border: none; background: var(--gray); border-radius: 8px; margin: 4px 0 4px 16px; }
  .nav-item.has-dropdown.open .dropdown { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: 1px solid rgba(255,255,255,.08) !important; }
  .ql-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .prestasi-grid { grid-template-columns: 1fr; }
  .gtk-grid { grid-template-columns: repeat(2, 1fr); }
  .galeri-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .topbar-left { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .ql-grid, .news-grid { grid-template-columns: 1fr; }
  .gtk-grid { grid-template-columns: repeat(2, 1fr); }
  .galeri-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== UTILITAS: layout 2 kolom yang pasti menumpuk di HP ===== */
.two-col-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) {
  .two-col-stack { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== FIX GLOBAL: grid kolom yang ditulis lewat inline style ===== */
@media (max-width: 768px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
@media print {
  [style*="grid-template-columns"] { grid-template-columns: revert !important; }
}

/* ===== FIX GLOBAL: tabel lebar supaya bisa discroll horizontal di HP ===== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 560px; }
@media (max-width: 768px) {
  table:not(.table-scroll table) { font-size: 13px; }
}
