/* ============================================================
   APJP Morowali — beranda 2026
   Mobile-first. Warna: emerald, terrakota, tulang hangat, navy.
   ============================================================ */
.home-page {
  --emerald: #0D5A45;
  --emerald-deep: #083D30;
  --emerald-soft: #E6F0EA;
  --terra: #A94F35;
  --terra-deep: #843A27;
  --bone: #F7F3EA;
  --bone-deep: #EFE8DA;
  --navy: #101C2C;
  --home-ink: #17251F;
  --home-muted: #5E6B64;
  --home-line: #DED8CA;
  --serif: "Zilla Slab", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bone);
  color: var(--home-ink);
  overflow-x: hidden;
}
.home-page h1, .home-page h2, .home-page h3 { font-family: var(--serif); }
.home-page p { color: var(--home-muted); }
.home-page .nav {
  position: sticky; top: 0; z-index: 60; background: var(--navy); color: #F4EFE6;
  padding: 13px 5vw; border-bottom: 3px solid var(--terra);
}
.home-page .nav-inner { max-width: 1280px; }
.home-page .nav-title { color: #fff; letter-spacing: .8px; }
.home-page .nav-links a { color: #D9D2C4; font-weight: 500; }
.home-page .nav-links a:hover { color: #fff; }
.home-page .nav-cta {
  background: var(--terra); color: #fff; border-radius: 3px; padding: 11px 17px;
  font-size: 14px; letter-spacing: .2px; font-weight: 700;
}
.home-page .nav-cta:hover { background: var(--terra-deep); filter: none; }
.home-page .nav-portal { color: #F4EFE6; border-bottom: 1px solid rgba(244,239,230,.45); padding-bottom: 2px; }
.home-page .nav-portal:hover { color: var(--terra); border-color: var(--terra); }
.home-page .lang-switch { border-color: #38475A; }
.home-page .lang-switch button { color: #D9D2C4; }
.home-page .lang-switch button + button { border-color: #38475A; }
.home-page .lang-switch button.active { background: var(--terra); color: #fff; }
.home-page .nav-toggle { border-color: #38475A; color: #F4EFE6; }
.home-page .nav-menu { gap: 20px; }
@media (max-width: 1200px) {
  .home-page .nav-menu { background: var(--navy); padding: 4px 0 18px; }
  .home-page .nav-links a { border-color: #2C3C4E; }
}

/* ---------- hero ---------- */
.home-hero {
  position: relative; min-height: 620px; display: flex; align-items: flex-end;
  padding: 110px 5vw 86px; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse at 78% 28%, rgba(194,96,67,.32), transparent 42%),
    linear-gradient(115deg, rgba(8,61,48,.97) 0%, rgba(13,90,69,.9) 54%, rgba(16,28,44,.86) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 18px);
}
.home-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 70%, rgba(194,96,67,.18)),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(247,243,234,.045) 74px 75px);
  mix-blend-mode: screen;
}
.home-hero .hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; }
.home-hero .hero-kicker {
  color: #F0C8B5; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase; margin-bottom: 18px;
}
.home-hero h1 {
  margin: 0; max-width: 780px; color: #fff;
  font-size: clamp(42px, 6.6vw, 78px); line-height: .99; letter-spacing: -.5px;
}
.home-hero .hero-lead {
  margin: 24px 0 0; max-width: 610px; color: #E3E9E2;
  font-family: var(--sans); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6;
}
.home-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.home-hero .btn-hero-primary, .home-hero .btn-hero-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 22px; font-family: var(--sans); font-size: 15px; font-weight: 700;
  border-radius: 3px; cursor: pointer; text-decoration: none;
}
.home-hero .btn-hero-primary { background: var(--terra); color: #fff; border: 1px solid var(--terra); }
.home-hero .btn-hero-primary:hover { background: var(--terra-deep); }
.home-hero .btn-hero-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.home-hero .btn-hero-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.home-hero .hero-caption {
  position: absolute; left: 5vw; bottom: 22px; z-index: 3; color: rgba(255,255,255,.68);
  font-family: var(--sans); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.home-hero .hero-caption::before { content: "— "; color: var(--terra); }
@media (max-width: 760px) {
  .home-hero { min-height: 560px; padding: 76px 20px 68px; align-items: flex-end; }
  .home-hero .hero-caption { left: 20px; bottom: 18px; }
  .home-hero .hero-actions > * { flex: 1 1 auto; }
}

/* ---------- section helpers ---------- */
.home-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 5vw; padding-right: 5vw; }
.home-section { padding-top: 86px; padding-bottom: 86px; }
.home-kicker {
  color: var(--terra-deep); font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px;
}
.home-section h2 { margin: 0; color: var(--home-ink); font-size: clamp(30px, 4vw, 46px); line-height: 1.06; }
.home-section .home-lead { max-width: 650px; margin: 12px 0 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; }
.home-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.home-head .home-lead { margin-bottom: 0; }
.home-tenun {
  height: 8px; width: 100%; background:
    repeating-linear-gradient(90deg, var(--terra) 0 10px, transparent 10px 16px),
    repeating-linear-gradient(0deg, var(--emerald) 0 4px, transparent 4px 8px);
  opacity: .8;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- stats ---------- */
.home-stats { background: var(--bone-deep); border-bottom: 1px solid var(--home-line); }
.home-stats .home-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-stat { padding: 5px 4vw 5px 0; border-right: 1px solid var(--home-line); }
.home-stat:last-child { border-right: 0; }
.home-stat-num {
  display: block; color: var(--emerald); font-family: var(--serif); font-size: clamp(34px, 4vw, 48px);
  font-weight: 700; line-height: 1; letter-spacing: -.5px;
}
.home-stat-label { display: block; margin-top: 9px; color: var(--home-muted); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.home-stat-note { display: block; margin-top: 4px; color: #8A938C; font-family: var(--sans); font-size: 11px; }
@media (max-width: 800px) {
  .home-stats .home-wrap { grid-template-columns: 1fr 1fr; padding-top: 20px; padding-bottom: 20px; }
  .home-stat { padding: 16px 12px; }
  .home-stat:nth-child(2) { border-right: 0; }
  .home-stat:nth-child(-n+2) { border-bottom: 1px solid var(--home-line); }
}

/* ---------- about / values ---------- */
.home-about { background: var(--bone); }
.home-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.home-value {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--home-line);
  padding: 26px 24px; min-height: 190px;
}
.home-value::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--emerald); }
.home-value:nth-child(2)::before { background: var(--terra); }
.home-value:nth-child(3)::before { background: var(--navy); }
.home-value .value-mark { color: var(--terra); font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1; }
.home-value h3 { margin: 14px 0 7px; font-size: 25px; }
.home-value p { margin: 0; font-family: var(--sans); font-size: 14px; line-height: 1.6; }
@media (max-width: 900px) { .home-values { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.home-why { background: var(--emerald-deep); color: #F7F3EA; position: relative; overflow: hidden; }
.home-why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 17px);
}
.home-why .home-wrap { position: relative; z-index: 1; }
.home-why .home-kicker { color: #F0C8B5; }
.home-why h2 { color: #fff; }
.home-why .home-lead { color: #C9D8CF; }
.home-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px; background: rgba(247,243,234,.18); }
.home-benefit { background: var(--emerald-deep); padding: 25px 24px; min-height: 170px; }
.home-benefit .benefit-num { color: #F0C8B5; font-family: var(--serif); font-size: 20px; }
.home-benefit h3 { margin: 14px 0 7px; color: #fff; font-size: 23px; }
.home-benefit p { margin: 0; color: #C9D8CF; font-family: var(--sans); font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) { .home-benefits { grid-template-columns: 1fr; } }

/* ---------- flow ---------- */
.home-flow { background: var(--bone); }
.home-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; counter-reset: step; }
.home-step { position: relative; background: #fff; border: 1px solid var(--home-line); padding: 22px 18px; }
.home-step::before {
  counter-increment: step; content: "0" counter(step); display: block; color: var(--terra);
  font-family: var(--serif); font-size: 21px; font-weight: 700; margin-bottom: 13px;
}
.home-step h3 { margin: 0 0 7px; font-size: 20px; }
.home-step p { margin: 0; font-family: var(--sans); font-size: 13.5px; line-height: 1.55; }
.home-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.home-path { padding: 20px 22px; border: 1px solid var(--home-line); background: var(--emerald-soft); }
.home-path:nth-child(2) { background: #F8E8E0; }
.home-path strong { display: block; color: var(--emerald-deep); font-family: var(--sans); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.home-path p { margin: 7px 0 0; font-family: var(--sans); font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .home-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .home-steps, .home-paths { grid-template-columns: 1fr; } }

/* ---------- directory ---------- */
.home-directory { background: #fff; }
.home-filter { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; }
.home-filter button {
  border: 1px solid var(--home-line); background: transparent; color: var(--home-muted);
  font-family: var(--sans); font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 99px; cursor: pointer;
}
.home-filter button:hover { border-color: var(--emerald); color: var(--emerald-deep); }
.home-filter button.active { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.home-members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-member {
  background: var(--bone); border: 1px solid var(--home-line); padding: 17px; min-height: 148px;
  display: flex; flex-direction: column; gap: 10px;
}
.home-member-logo { width: 42px; height: 42px; border: 1px solid var(--home-line); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.home-member-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.home-member-logo span { color: var(--emerald); font-family: var(--serif); font-size: 16px; font-weight: 700; }
.home-member h3 { margin: 0; font-family: var(--sans); font-size: 14px; line-height: 1.35; }
.home-member p { margin: 0; font-family: var(--sans); font-size: 12px; line-height: 1.4; }
.home-member .member-type { color: var(--terra-deep); font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.home-more { margin-top: 18px; }
@media (max-width: 1000px) { .home-members { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .home-members { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .home-members { grid-template-columns: 1fr; } }

/* ---------- news + activities ---------- */
.home-news { background: var(--bone); }
.home-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-news-grid .news-card { background: #fff; border: 1px solid var(--home-line); box-shadow: none; }
.home-news-grid .news-link { display: flex; flex-direction: column; height: 100%; }
.home-news-grid .news-thumb { aspect-ratio: 16 / 9; }
.home-news-grid .news-body { padding: 17px 17px 19px; }
.home-news-grid .news-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.home-news-grid .news-cat { color: var(--terra-deep); background: transparent; padding: 0; font-size: 10px; letter-spacing: 1px; }
.home-news-grid time { color: var(--home-muted); font-family: var(--sans); font-size: 11px; }
.home-news-grid h3 { color: var(--home-ink); font-family: var(--sans); font-size: 17px; line-height: 1.35; margin: 0 0 8px; }
.home-news-grid p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 13px; font-family: var(--sans); font-size: 13px; line-height: 1.55; }
.home-news-grid .news-more { color: var(--emerald); font-family: var(--sans); font-size: 12px; font-weight: 700; margin-top: auto; }
.home-news-grid .news-empty { grid-column: 1 / -1; }
@media (max-width: 900px) { .home-news-grid { grid-template-columns: 1fr 1fr; } .home-news-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .home-news-grid { grid-template-columns: 1fr; } .home-news-grid > :first-child { grid-column: auto; } }

/* ---------- gallery strip ---------- */
.home-gallery { background: var(--navy); color: #F7F3EA; }
.home-gallery .home-kicker { color: #F0C8B5; }
.home-gallery h2 { color: #fff; }
.home-gallery .gallery-all { color: #F7F3EA; border-color: #4A5A6C; }
.home-gallery .gallery-all:hover { border-color: var(--terra); color: #F0C8B5; }
.home-gallery .gallery-track { gap: 12px; }
.home-gallery .gallery-slide { box-shadow: none; border-radius: 3px; }
.home-gallery .gallery-slide-cap { background: linear-gradient(transparent, rgba(6,15,22,.94)); }
.home-gallery .gallery-count { color: #AAB8B1; }
.home-gallery .gallery-count span { color: #fff; }
.home-gallery .gallery-arrow { background: transparent; color: #F7F3EA; border-color: #4A5A6C; }
.home-gallery .gallery-arrow:hover:not(:disabled) { background: var(--terra); border-color: var(--terra); }
@media (max-width: 760px) { .home-gallery .gallery-slide { flex-basis: 82%; } }

/* ---------- regulations ---------- */
.home-regs { background: #fff; }
.home-regs .grid-cards { grid-template-columns: 1fr 1fr; }
.home-regs .reg-card { background: var(--bone); border: 1px solid var(--home-line); border-top: 3px solid var(--emerald); padding: 22px; }
.home-regs .reg-card:nth-child(even) { border-top-color: var(--terra); }
.home-regs .reg-card h3 { font-family: var(--sans); font-size: 17px; line-height: 1.4; margin: 10px 0 7px; }
.home-regs .reg-card p { font-family: var(--sans); font-size: 13px; line-height: 1.55; }
.home-regs .reg-link { color: var(--emerald); font-family: var(--sans); font-size: 12px; font-weight: 700; }
.home-regs .news-toggle { color: var(--emerald-deep); border-color: var(--emerald); }
@media (max-width: 760px) { .home-regs .grid-cards { grid-template-columns: 1fr; } }

/* ---------- people ---------- */
.home-people { background: var(--bone); }
.home-people-note { color: var(--home-muted); font-family: var(--sans); font-size: 12px; margin-top: 8px; }
.home-people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.home-person { background: #fff; border: 1px solid var(--home-line); padding: 12px; }
.home-person-photo {
  aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--bone-deep), #E4DCCB);
  border: 1px dashed #C9BFAC; display: flex; align-items: center; justify-content: center;
  color: #8C806E; font-family: var(--sans); font-size: 11px; letter-spacing: 1px; text-align: center; padding: 12px;
  overflow: hidden;
}
.home-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-person h3 { margin: 13px 0 3px; font-family: var(--sans); font-size: 15px; }
.home-person p { margin: 0; font-family: var(--sans); font-size: 12px; }
@media (max-width: 900px) { .home-people-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .home-people-grid { grid-template-columns: 1fr 1fr; gap: 9px; } .home-person { padding: 8px; } }

/* ---------- CTA ---------- */
.home-cta { background: var(--terra); color: #fff; padding: 54px 5vw; }
.home-cta .home-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-left: 0; padding-right: 0; }
.home-cta h2 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 48px); }
.home-cta p { margin: 8px 0 0; color: #FCE9DF; font-family: var(--sans); font-size: 15px; }
.home-cta .btn-cta { background: var(--navy); color: #fff; border: 0; padding: 14px 22px; font-family: var(--sans); font-size: 15px; font-weight: 700; cursor: pointer; min-height: 48px; }
.home-cta .btn-cta:hover { background: #1B2F45; }

/* ---------- footer ---------- */
.home-page .footer { background: var(--navy); color: #D9D2C4; padding: 54px 5vw 22px; }
.home-page .footer a { color: #D9D2C4; }
.home-page .footer a:hover { color: #fff; }
.home-footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.home-footer-brand .name { color: #fff; font-family: var(--serif); font-size: 24px; margin: 12px 0 8px; }
.home-footer-brand p { color: #AAB8B1; font-family: var(--sans); font-size: 13px; line-height: 1.6; max-width: 300px; }
.home-footer-col h3 { color: #F0C8B5; font-family: var(--sans); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; margin: 0 0 13px; }
.home-footer-col p, .home-footer-col div { color: #AAB8B1; font-family: var(--sans); font-size: 13px; line-height: 1.7; margin: 0; }
.home-footer-col a { display: block; font-family: var(--sans); font-size: 13px; padding: 3px 0; }
.home-social { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.home-social a, .home-social span { border: 1px solid #3B4A5B; padding: 6px 8px; font-family: var(--sans); font-size: 10px; letter-spacing: .5px; color: #D9D2C4; }
.home-social a:hover { border-color: var(--terra); color: #fff; }
.home-contact-details { margin-top: 18px; border-top: 1px solid #3B4A5B; padding-top: 14px; }
.home-contact-details summary { color: #F0C8B5; cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 700; }
.home-contact-details form { margin-top: 12px; display: grid; gap: 8px; }
.home-contact-details input, .home-contact-details textarea {
  width: 100%; background: #18283A; border: 1px solid #3B4A5B; color: #F4EFE6;
  padding: 9px 10px; font-family: var(--sans); font-size: 13px;
}
.home-contact-details input::placeholder, .home-contact-details textarea::placeholder { color: #8C9AA3; }
.home-contact-details textarea { min-height: 72px; resize: vertical; }
.home-contact-details .btn-contact { background: var(--terra); color: #fff; border: 0; padding: 10px; font-family: var(--sans); font-size: 13px; font-weight: 700; cursor: pointer; }
.home-contact-details .form-msg { font-size: 12px; color: #F0C8B5; }
.home-footer-bottom { max-width: 1280px; margin: 34px auto 0; padding-top: 15px; border-top: 1px solid #3B4A5B; color: #8C9AA3; font-family: var(--sans); font-size: 11px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 900px) { .home-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .home-footer-grid { grid-template-columns: 1fr; } .home-page .footer { padding-bottom: 76px; } }

/* ---------- sticky mobile CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 55;
    justify-content: center; align-items: center; min-height: 48px; background: var(--terra);
    color: #fff; border: 0; border-radius: 4px; font-family: var(--sans); font-size: 15px;
    font-weight: 700; box-shadow: 0 10px 25px rgba(16,28,44,.28); cursor: pointer;
  }
  .home-page { padding-bottom: 72px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .home-page .reveal { opacity: 1; transform: none; transition: none; }
  .home-page * { scroll-behavior: auto !important; }
}

/* ---------- modal on home brand ---------- */
.home-page .modal { border-top-color: var(--terra); }
.home-page .modal .btn-accent { background: var(--terra); color: #fff; }
.home-page .modal .btn-accent:hover { background: var(--terra-deep); }

.home-page section[id] { scroll-margin-top: 86px; }
.home-page #kegiatan { display: block; scroll-margin-top: 96px; }
.home-page .nav-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1200px) {
  .home-page .nav-actions { width: 100%; align-items: flex-start; margin-top: 12px; }
  .home-page .nav-actions .nav-portal { padding: 10px 2px; }
  .home-page .nav-actions .nav-cta { width: 100%; justify-content: center; }
}

.home-stats .home-wrap { padding-top: 28px; padding-bottom: 28px; }
.home-gallery .kicker { color: #F0C8B5; }
.home-gallery .section-head { margin-bottom: 26px; }
.home-page .nav-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1200px) {
  .home-page .nav-actions { width: 100%; align-items: flex-start; margin-top: 12px; }
  .home-page .nav-actions .nav-portal { padding: 10px 2px; }
  .home-page .nav-actions .nav-cta { width: 100%; justify-content: center; }
}

/* ---------- layanan lama tetap dipertahankan ---------- */
.home-why .home-services { margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(247,243,234,.2); }
.home-services-head { margin-bottom: 18px; }
.home-services-head h3 { margin: 3px 0 0; color: #fff; font-family: var(--serif); font-size: 25px; }
.home-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.home-service { background: rgba(247,243,234,.07); border: 1px solid rgba(247,243,234,.17); padding: 17px; }
.home-service > span { color: #F0C8B5; font-family: var(--serif); font-size: 17px; }
.home-service h4 { margin: 10px 0 6px; color: #fff; font-family: var(--sans); font-size: 14px; line-height: 1.35; }
.home-service p { margin: 0; color: #C9D8CF; font-family: var(--sans); font-size: 12px; line-height: 1.5; }
@media (max-width: 900px) { .home-service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .home-service-grid { grid-template-columns: 1fr; } }

.home-news-grid time {
  background: var(--terra); color: #fff; padding: 4px 7px; border-radius: 2px;
  font-size: 10px; font-weight: 700; letter-spacing: .3px;
}

/* Mobile: header tidak sticky agar anchor Kontak tidak tertutup nama situs. */
@media (max-width: 760px) {
  .home-page .nav { position: relative; top: auto; }
}

@media (max-width: 600px) {
  .home-footer-grid #kontak { order: -1; }
}

/* Galeri tanpa slide: grid ringkas maksimal 6 foto. */
.home-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery-tile {
  position: relative; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 3px;
  overflow: hidden; background: #0B1420; cursor: pointer; width: 100%; min-width: 0;
}
.gallery-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease, opacity .3s ease;
}
.gallery-tile:hover img, .gallery-tile:focus-visible img { transform: scale(1.04); opacity: .88; }
.gallery-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) { .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 420px) { .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
