/* JCI Senate Indonesia — jcisenateindonesia.id
   Palet dari logo resmi JCI 2025: navy #130D34, biru #0C95D3, teal #57BCBB.
   Emas #C8A95B dipakai terbatas sebagai aksen kehormatan (pin Senate). */

:root {
  --navy: #130D34;
  --navy-2: #1C1446;
  --navy-3: #251B5C;
  --blue: #0C95D3;
  --blue-dk: #0A79AD;
  --teal: #57BCBB;
  --gold: #C8A95B;
  --gold-lt: #E3C98A;
  --ink: #15131F;
  --body: #4A4857;
  --line: #E4E2EC;
  --paper: #FFFFFF;
  --paper-2: #F7F6FB;
  --paper-3: #EFEEF6;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(19, 13, 52, .06), 0 10px 30px rgba(19, 13, 52, .07);
  --shadow-lg: 0 2px 4px rgba(19, 13, 52, .06), 0 24px 60px rgba(19, 13, 52, .14);
  --wrap: 1140px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(68px, 9vw, 116px) 0; }
.section--tint { background: var(--paper-2); }
.section--navy { background: var(--navy); color: #C9C5DC; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-dk);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--teal); }
.eyebrow--gold { color: var(--gold); }
.lead { font-size: 1.1rem; }
.measure { max-width: 70ch; }
.center { text-align: center; }
.center .measure { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(12, 149, 211, .32); }
.btn--primary:hover { background: var(--blue-dk); }
.btn--gold { background: var(--gold); color: #2A2208; box-shadow: 0 8px 22px rgba(200, 169, 91, .34); }
.btn--gold:hover { background: var(--gold-lt); }
.btn--ghost { border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-dk); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(19, 13, 52, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.nav__brand { color: #fff; display: flex; align-items: center; flex: 0 0 auto; }
.nav__brand:hover { text-decoration: none; opacity: .88; }
.nav__brand { gap: 11px; }
.brand__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .45));
}
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font-size: 1.04rem; font-weight: 700; letter-spacing: .055em; }
.brand__txt i {
  font-style: normal;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .345em;
  opacity: .8;
  margin-top: 3px;
}
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  color: #D5D1E6;
  font-size: .93rem;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 9px;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .1); text-decoration: none; }
.nav__cta { margin-left: 10px; padding: 10px 20px; font-size: .9rem; }
.nav__burger {
  margin-left: auto;
  display: none;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
  width: 44px;
  height: 40px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .nav__burger { display: block; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--navy-2);
    padding: 14px 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 10px; font-size: 1rem; }
  .nav__cta { margin: 10px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(12, 149, 211, .42), transparent 62%),
    radial-gradient(760px 430px at 8% 104%, rgba(87, 188, 187, .3), transparent 64%),
    linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 56%, #0E0A28 100%);
  color: #CFCBE3;
  padding: clamp(76px, 11vw, 142px) 0 clamp(70px, 9vw, 108px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--teal); }
.hero__sub { font-size: clamp(1.06rem, 1.9vw, 1.3rem); max-width: 62ch; color: #C6C2DC; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero__rule {
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  margin-bottom: 26px;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 7vw, 76px);
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: rgba(255, 255, 255, .045); padding: 26px 22px; }
.stat__n {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.stat__n em { font-style: normal; color: var(--gold-lt); }
.stat__l { font-size: .85rem; color: #ADA8C6; margin-top: 7px; line-height: 1.45; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- layout helpers ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card__ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(12, 149, 211, .14), rgba(87, 188, 187, .2));
  color: var(--blue-dk);
  margin-bottom: 17px;
}
.card__ico svg { width: 23px; height: 23px; }
.card--gold .card__ico {
  background: linear-gradient(140deg, rgba(200, 169, 91, .2), rgba(227, 201, 138, .28));
  color: #8A6F22;
}
.card p { font-size: .97rem; }

.figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-3);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--portrait { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure figcaption {
  font-size: .84rem;
  padding: 12px 16px;
  background: #fff;
  color: #6B687C;
  border-top: 1px solid var(--line);
}

/* placeholder saat aset resmi belum masuk */
.ph {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
  background:
    repeating-linear-gradient(135deg, rgba(19, 13, 52, .035) 0 12px, transparent 12px 24px),
    linear-gradient(150deg, #EDEBF5, #E3E0EE);
  color: #7A7690;
  font-size: .87rem;
  line-height: 1.5;
  height: 100%;
}
.ph strong { display: block; color: #514D68; font-size: .95rem; margin-bottom: 6px; }

/* ---------- honor list ---------- */
.honor {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.honor li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: .98rem;
}
.honor b { color: var(--ink); }
.honor svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; gap: 18px; }
.step {
  position: relative;
  padding-left: 66px;
  min-height: 46px;
}
.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--teal));
  box-shadow: 0 8px 20px rgba(12, 149, 211, .28);
}
.step h3 { margin-bottom: 4px; }
.step p { font-size: .97rem; }

.note {
  margin-top: 26px;
  border-radius: var(--radius);
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(200, 169, 91, .14), rgba(200, 169, 91, .05));
  border: 1px solid rgba(200, 169, 91, .4);
  font-size: .96rem;
}
.note b { color: #7D6318; }

/* ---------- galeri IG ---------- */
.feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.feed--reels { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--paper-3);
  box-shadow: var(--shadow);
  color: #fff;
}
.tile--reel { aspect-ratio: 9 / 16; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile:hover { text-decoration: none; }
.tile:hover img { transform: scale(1.045); }
.tile img { transition: transform .4s ease; }
.tile__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 13px;
  font-size: .84rem;
  line-height: 1.45;
  background: linear-gradient(transparent, rgba(12, 8, 32, .88));
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile__play {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(12, 8, 32, .6);
  display: grid;
  place-items: center;
}
.tile__play svg { width: 14px; height: 14px; }
.feed-empty {
  grid-column: 1 / -1;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
  color: #7A7690;
  background: var(--paper-2);
}
.feed-empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 8px; }
.section--navy .feed-empty { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .22); color: #ADA8C6; }
.section--navy .feed-empty strong { color: #fff; }

/* ---------- berita ---------- */
.post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.post__media { aspect-ratio: 16 / 10; background: var(--paper-3); }
.post__body { padding: 22px 24px 26px; }
.post__date { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-dk); }
.post__body h3 { margin: 9px 0 8px; font-size: 1.1rem; }
.post__body p { font-size: .95rem; }

/* ---------- kontak ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font: inherit;
  font-size: .97rem;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8F8AA8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, .12);
}
.field select option { color: #15131F; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 15px; }
.contact-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .97rem; }
.contact-list svg { width: 20px; height: 20px; color: var(--teal); flex: 0 0 auto; margin-top: 3px; }
.contact-list a { color: #fff; }

/* ---------- footer ---------- */
.footer { background: #0D0922; color: #9B96B6; padding: 62px 0 0; font-size: .94rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 38px; padding-bottom: 46px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 17px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #9B96B6; }
.footer a:hover { color: #fff; }
.footer__logo { color: #fff; margin-bottom: 18px; }
.footer__logo .brand__mark { width: 54px; height: 54px; }
.footer__logo .brand__txt b { font-size: 1.12rem; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.social a:hover { background: var(--blue); }
.social svg { width: 19px; height: 19px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .87rem;
}

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 7, 26, .92);
  display: none;
  place-items: center;
  padding: 24px;
}
.lb.is-open { display: grid; }
.lb__box { max-width: 560px; width: 100%; max-height: 92vh; overflow: auto; border-radius: var(--radius-lg); background: #15102E; }
.lb__box img, .lb__box video { width: 100%; }
.lb__cap { padding: 18px 22px; color: #C6C2DC; font-size: .93rem; white-space: pre-wrap; }
.lb__close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- pita pengumuman acara (hero beranda) ---------- */
.pengumuman {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 13px 18px;
  max-width: 640px;
  color: #E7E4F2;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(200, 169, 91, .42);
  border-radius: var(--radius);
  transition: background .15s, border-color .15s, transform .15s;
}
.pengumuman:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, .11);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.pengumuman__tag {
  flex: 0 0 auto;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #2A2208;
  background: var(--gold);
  padding: 4px 9px;
  border-radius: 999px;
}
.pengumuman__teks { font-size: .9rem; line-height: 1.45; }
.pengumuman__teks b { color: #fff; }
.pengumuman__panah { flex: 0 0 auto; color: var(--gold); font-size: 1.1rem; }
@media (max-width: 560px) {
  .pengumuman { align-items: flex-start; flex-wrap: wrap; }
  .pengumuman__panah { display: none; }
}
