/* ==========================================================================
   ALBIDAYAH FESTIVAL 2027 — STYLE.CSS
   Desain: Modern Islamic Event, mobile-first, hijau tua + emas + krem.
   Anda TIDAK perlu mengedit file ini untuk mengganti teks/gambar.
   Semua teks & gambar ada di content.js.
   ========================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --green-deep: #0b3d2e;
  --green: #145c43;
  --green-soft: #1c6e51;
  --green-tint: #e8f2ec;
  --gold: #c9a227;
  --gold-light: #e0b23a;
  --cream: #faf6ec;
  --cream-dim: #f3ecdb;
  --ink: #16241d;
  --ink-soft: #4d5c53;
  --white: #ffffff;

  --font-display: "Amiri", "DejaVu Serif", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(11, 61, 46, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 61, 46, 0.14);
  --shadow-gold: 0 8px 24px rgba(201, 162, 39, 0.28);

  --container: 1180px;
  --nav-height: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
section { position: relative; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.section-title.on-dark { color: var(--cream); }
.section-subtitle.on-dark { color: rgba(250,246,236,0.75); }

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

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-deep);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(201, 162, 39, 0.4); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--cream);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(250,246,236,0.1); }

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green-deep);
}
.btn-outline-dark:hover { background: var(--green-tint); }

.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(250, 246, 236, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 61, 46, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.is-scrolled { box-shadow: var(--shadow-sm); }

.navbar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-deep);
}
.navbar-brand img { width: 36px; height: 36px; object-fit: contain; }
.navbar-brand .year { color: var(--gold); }

.navbar-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.navbar-links a { position: relative; padding: 6px 0; }
.navbar-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.navbar-links a:hover::after { width: 100%; }

.navbar-cta { display: none; }

.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1100;
}
.navbar-toggle span {
  width: 22px; height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.navbar-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--green-deep);
  background-image: radial-gradient(circle at 20% 20%, rgba(201,162,39,0.12), transparent 45%);
  z-index: 999;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a {
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(250,246,236,0.1);
}
.mobile-menu .btn { margin-top: 20px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 36px) 0 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dim) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.18), transparent 70%);
}
.hero-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 9vw, 3.4rem);
  line-height: 1.06;
  color: var(--green-deep);
}
.hero-title .accent { color: var(--gold); }
.hero-subtitle-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 18px;
  background: var(--green-deep);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
}
.hero-theme {
  margin-top: 16px;
  font-weight: 600;
  color: var(--green);
  font-size: 1.02rem;
}
.hero-desc {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-visual { position: relative; }
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-date-chip {
  position: absolute;
  left: 16px; bottom: 16px; right: 16px;
  background: rgba(11, 61, 46, 0.88);
  backdrop-filter: blur(6px);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border: 1px solid rgba(201,162,39,0.4);
}
.hero-date-chip .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
}
.hero-date-chip .value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2px;
}

/* countdown */
.countdown-wrap {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.countdown-card {
  background: linear-gradient(135deg, #fffdf7 0%, #f4efe4 100%);
  border: 1px solid rgba(11,61,46,0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(11,61,46,0.12);
  padding: 24px 18px;
  text-align: center;
}
.countdown-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}
.countdown-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(244,238,220,0.9));
  border: 1px solid rgba(11,61,46,0.08);
  border-radius: 18px;
  padding: 14px 8px 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.countdown-item .num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1;
  font-weight: 700;
  color: var(--green-deep);
}
.countdown-item .unit {
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* stat strip */
.stat-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px 0 44px;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--green-deep);
  font-weight: 700;
}
.stat-item .lbl { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- ABOUT ---------- */
.about-section { background: var(--cream); }
.about-top { display: grid; gap: 28px; margin-bottom: 44px; }
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about-org {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--green-tint);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
}
.about-org .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  font-weight: 700;
}
.about-org .name { font-weight: 700; color: var(--green-deep); margin-top: 2px; }
.about-org .loc { font-size: 0.85rem; color: var(--ink-soft); }

.goals-list { margin-top: 18px; display: grid; gap: 12px; }
.goal-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.goal-item .num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.goal-item p { font-size: 0.92rem; color: var(--ink); }

/* timeline */
.timeline-wrap { margin-top: 20px; }
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--green));
}
.timeline-item {
  position: relative;
  padding-bottom: 26px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -28px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--gold);
}
.timeline-year {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.timeline-title { font-weight: 700; color: var(--green-deep); margin-bottom: 4px; }
.timeline-desc { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- COMPETITIONS ---------- */
.competitions-section {
  background: var(--green-deep);
  background-image:
    radial-gradient(circle at 10% 0%, rgba(201,162,39,0.14), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(201,162,39,0.1), transparent 40%);
}
.comp-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.comp-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease);
}
.comp-card-center {
  justify-content: center;
}
.comp-card-center .comp-card-body {
  align-items: center;
  text-align: center;
}
.comp-card-center .comp-card-desc {
  max-width: 30ch;
}
.comp-card:hover { transform: translateY(-4px); }
.comp-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.comp-card-image img { width: 100%; height: 100%; object-fit: cover; }
.comp-card-icon {
  position: absolute;
  bottom: -22px; left: 20px;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
}
.comp-card-icon svg { width: 26px; height: 26px; color: var(--green-deep); }
.comp-card-body { padding: 34px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.comp-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-deep);
}
.comp-card-category {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-tint);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.comp-card-desc { margin-top: 10px; font-size: 0.88rem; color: var(--ink-soft); flex: 1; }
.comp-card-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--green-deep);
}
.comp-card-btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.comp-card-btn:hover svg { transform: translateX(4px); }

.comp-legend {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.comp-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  background: rgba(250,246,236,0.06);
  border: 1px solid rgba(250,246,236,0.14);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.comp-legend-item svg { width: 22px; height: 22px; color: var(--gold-light); flex-shrink: 0; }
.comp-legend-item span { font-size: 0.82rem; font-weight: 600; }

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 20, 16, 0.6);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-panel {
  background: var(--cream);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  padding: 26px 22px 34px;
  transform: translateY(30px);
  transition: transform 0.35s var(--ease);
}
.modal-overlay.is-open .modal-panel { transform: translateY(0); }
@media (min-width: 720px) {
  .modal-overlay { align-items: center; }
  .modal-panel { border-radius: 24px; max-height: 84vh; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-deep);
  padding-right: 40px;
}
.modal-category {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-tint);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.modal-body { margin-top: 18px; display: grid; gap: 14px; }
.modal-field .label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 4px;
}
.modal-field .value { font-size: 0.92rem; color: var(--ink); }
.modal-field ul { display: grid; gap: 6px; margin-top: 4px; }
.modal-field li {
  font-size: 0.9rem;
  padding-left: 18px;
  position: relative;
  color: var(--ink);
}
.modal-field li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- BAZAR ---------- */
.bazaar-section { background: var(--cream); }
.bazaar-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.bazaar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid rgba(11,61,46,0.08);
}
.bazaar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}
.bazaar-icon svg { width: 28px; height: 28px; }
.bazaar-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.bazaar-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- SCHEDULE ---------- */
.schedule-section { background: var(--cream-dim); }
.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.schedule-tabs::-webkit-scrollbar { display: none; }
.schedule-tab {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border: 1px solid rgba(11,61,46,0.1);
  transition: all 0.25s var(--ease);
  text-align: center;
}
.schedule-tab.is-active {
  background: var(--green-deep);
  color: var(--gold-light);
  border-color: var(--green-deep);
}
.schedule-day { display: none; }
.schedule-day.is-active { display: block; }
.schedule-day-header {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 16px;
}
.schedule-list { display: grid; gap: 14px; }
.schedule-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.schedule-time {
  flex-shrink: 0;
  width: 92px;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.82rem;
}
.schedule-item-title { font-weight: 700; color: var(--green-deep); margin-bottom: 4px; }
.schedule-item-desc { font-size: 0.87rem; color: var(--ink-soft); }
.schedule-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}

/* ---------- REGISTRATION ---------- */
.registration-section { background: var(--cream); }
.steps-list { display: grid; gap: 14px; counter-reset: step; }
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}
.step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}
.step-title { font-weight: 700; color: var(--green-deep); }
.step-desc { font-size: 0.87rem; color: var(--ink-soft); margin-top: 2px; }
.registration-cta { text-align: center; margin-top: 30px; }
.registration-cta p { margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); }

/* documents */
.documents-wrap {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.documents-grid {
  display: grid;
  gap: 14px;
  width: 100%;
  justify-items: center;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease);
  width: min(100%, 480px);
  margin: 0 auto;
}
.doc-card:hover { transform: translateY(-2px); }
.doc-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-tint);
  display: flex; align-items: center; justify-content: center;
}
.doc-card-icon svg { width: 22px; height: 22px; color: var(--green); }
.doc-card-title { font-weight: 700; color: var(--green-deep); font-size: 0.95rem; }
.doc-card-desc { font-size: 0.82rem; color: var(--ink-soft); }
.doc-card-arrow { margin-left: auto; flex-shrink: 0; }
.doc-card-arrow svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- GALLERY ---------- */
.gallery-section { background: var(--cream-dim); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery-item:active img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,61,46,0.55));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(6, 15, 11, 0.94);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(250,246,236,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
}
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(250,246,236,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
}
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ---------- CONTACT ---------- */
.contact-section { background: var(--green-deep); }
.contact-grid { display: grid; gap: 16px; }
.contact-card {
  background: rgba(250,246,236,0.06);
  border: 1px solid rgba(250,246,236,0.14);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}
.contact-persons { display: grid; gap: 10px; margin-bottom: 18px; }
.contact-person {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  background: rgba(250,246,236,0.04);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.contact-person .name { color: var(--cream); font-weight: 700; font-size: 0.92rem; }
.contact-person .num { color: rgba(250,246,236,0.65); font-size: 0.8rem; }
.contact-person .wa-btn {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
}
.contact-person .wa-btn svg { width: 19px; height: 19px; color: white; }

.contact-address {
  color: rgba(250,246,236,0.7);
  font-size: 0.85rem;
  padding-top: 14px;
  border-top: 1px solid rgba(250,246,236,0.12);
}

.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.social-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  background: rgba(250,246,236,0.06);
  border: 1px solid rgba(250,246,236,0.14);
  color: var(--cream);
  transition: background 0.25s ease, transform 0.25s ease;
}
.social-btn:hover { background: rgba(201,162,39,0.16); transform: translateY(-2px); }
.social-btn svg { width: 24px; height: 24px; color: var(--gold-light); }
.social-btn span { font-size: 0.72rem; font-weight: 600; text-align: center; }

/* ---------- FOOTER ---------- */
.footer {
  background: #082e22;
  color: rgba(250,246,236,0.75);
  padding: 44px 0 24px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.2rem;
  font-weight: 700;
}
.footer-brand img { width: 36px; height: 36px; }
.footer-tagline { margin-top: 8px; font-size: 0.85rem; color: var(--gold-light); font-style: italic; }
.footer-org { margin-top: 14px; font-size: 0.85rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(250,246,236,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 17px; height: 17px; color: var(--gold-light); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(250,246,236,0.1);
  font-size: 0.78rem;
  text-align: center;
  color: rgba(250,246,236,0.5);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 500;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 560px) {
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .countdown-grid { max-width: 380px; margin: 0 auto; }
}

@media (min-width: 860px) {
  .navbar-links { display: flex; }
  .navbar-cta { display: inline-flex; }
  .navbar-toggle { display: none; }

  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .hero-visual { order: 2; }
  .hero-content { order: 1; }
  .hero-actions .btn { min-width: 190px; }

  .about-top { grid-template-columns: 1fr 1fr; align-items: center; }
  .comp-grid { grid-template-columns: repeat(3, 1fr); }
  .comp-legend { grid-template-columns: repeat(4, 1fr); }

  .stat-strip { grid-template-columns: repeat(4, 1fr); }

  .documents-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1080px) {
  .section-pad { padding: 96px 0; }
  .comp-grid { grid-template-columns: repeat(5, 1fr); }
}
