/* ============================================
   Institut Islam Darul Huda Mayak — Mockup
   Tema: hijau tua + aksen emas, tipografi tegas
   ============================================ */

:root {
  --green-900: #06301f;
  --green-800: #0a4630;
  --green-700: #0d5c3e;
  --green-600: #12805a;
  --green-500: #1a9d6e;
  --green-100: #e6f4ed;
  --green-50: #f2faf6;

  --gold-600: #a8850c;
  --gold-500: #c9a227;
  --gold-400: #dfbb45;
  --gold-100: #fdf6e0;

  --ink-900: #12211c;
  --ink-700: #2c3d37;
  --ink-500: #5b6d66;
  --ink-300: #93a29c;
  --line: #e3eae6;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(6, 48, 31, .06), 0 2px 8px rgba(6, 48, 31, .05);
  --shadow: 0 4px 12px rgba(6, 48, 31, .07), 0 12px 32px rgba(6, 48, 31, .06);
  --shadow-lg: 0 20px 60px rgba(6, 48, 31, .14);

  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "Amiri", "Scheherazade New", "Traditional Arabic", serif;

  --wrap: 1180px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  color: var(--green-900);
  line-height: 1.22;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--green-700);
  text-decoration: none;
}

a:hover {
  color: var(--green-500);
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--tint {
  background: var(--green-50);
}

.section--dark {
  background: var(--green-900);
  color: #cfe3da;
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--green-800);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip:focus {
  left: 0;
  color: #fff;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--green-900);
  color: #b9d4c8;
  font-size: .82rem;
}

.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.topbar a {
  color: var(--gold-400);
}

.topbar__links {
  display: flex;
  gap: 1.25rem;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.brand__logo {
  height: 44px;
  width: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-weight: 800;
  color: var(--green-900);
  font-size: 1.02rem;
  letter-spacing: -.01em;
}

.brand__tag {
  font-size: .7rem;
  color: var(--gold-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav a {
  padding: .55rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-700);
}

.nav a:hover {
  background: var(--green-100);
  color: var(--green-800);
}

.nav a.is-active {
  color: var(--green-800);
  background: var(--green-100);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .5rem;
  border-radius: var(--radius-sm);
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-900);
  margin: 5px 0;
  border-radius: 2px;
  transition: .25s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .93rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: .2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--green-800);
  color: #fff;
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold-500);
  color: var(--green-900);
}

.btn--gold:hover {
  background: var(--gold-400);
  color: var(--green-900);
}

.btn--ghost {
  border-color: var(--green-700);
  color: var(--green-700);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--green-700);
  color: #fff;
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.btn--sm {
  padding: .55rem 1.05rem;
  font-size: .85rem;
}

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .9rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-500);
}

.section--dark .eyebrow {
  color: var(--gold-400);
}

.badge {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.badge--open {
  background: var(--gold-100);
  color: var(--gold-600);
}

.badge--green {
  background: var(--green-100);
  color: var(--green-700);
}

.badge--live {
  background: #dcfce7;
  color: #15803d;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -12%, rgba(201, 162, 39, .16), transparent 62%),
    radial-gradient(700px 420px at -8% 108%, rgba(18, 128, 90, .18), transparent 62%),
    linear-gradient(165deg, #041f14 0%, var(--green-900) 45%, #07291b 100%);
  color: #d6e7de;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
}

/* vignette tepi agar konten lebih menonjol */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 100% at 50% 40%, transparent 40%, rgba(2, 14, 9, .55) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .06) 0 2px, transparent 2px),
    radial-gradient(circle at 78% 68%, rgba(255, 255, 255, .05) 0 2px, transparent 2px);
  background-size: 46px 46px, 68px 68px;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero h1 em {
  color: var(--gold-400);
  font-style: normal;
}

.hero__lead {
  font-size: 1.08rem;
  max-width: 54ch;
  color: #c2d9cd;
}

.hero__arabic {
  font-family: var(--font-arabic);
  font-size: 1.5rem;
  color: var(--gold-400);
  direction: rtl;
  margin-bottom: .6rem;
  letter-spacing: .02em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.hero__meta div {
  display: flex;
  flex-direction: column;
}

.hero__meta strong {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.hero__meta span {
  font-size: .8rem;
  color: #9dbfae;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero__card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

.hero__card h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.hero__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.hero__card li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .92rem;
  color: #c7dbd1;
}

.hero__card li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(201, 162, 39, .2);
  border: 1px solid var(--gold-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dfbb45' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Hero slider ---------- */
.hero__visual {
  position: relative;
}

.hero__stage {
  position: relative;
  aspect-ratio: 8 / 6.5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg);
  background: #041f14;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .8s ease, transform 1.1s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1.4rem 1.1rem;
  background: linear-gradient(transparent, rgba(4, 26, 17, .92));
  color: #e7f2ec;
  font-size: .9rem;
  font-weight: 600;
  transform: translateY(6px);
  opacity: 0;
  transition: .5s ease .2s;
}

.hero__slide.is-active .hero__caption {
  transform: none;
  opacity: 1;
}

.hero__dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}

.hero__dots button {
  width: 30px;
  height: 5px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .26);
  transition: .3s;
  padding: 0;
}

.hero__dots button:hover {
  background: rgba(255, 255, 255, .45);
}

.hero__dots button[aria-selected="true"] {
  background: var(--gold-500);
  width: 46px;
}

.hero__arrows {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}

.hero__arrows button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  display: grid;
  place-items: center;
  transition: .2s;
}

.hero__arrows button:hover {
  background: rgba(255, 255, 255, .18);
  border-color: var(--gold-500);
}

.hero__arrows svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* versi statis untuk cetak */
@media print {

  .hero__arrows,
  .hero__dots {
    display: none;
  }

  .hero__slide {
    position: static;
    opacity: 1;
    transform: none;
  }

  .hero__stage {
    aspect-ratio: auto;
    height: auto;
    border: 0;
    box-shadow: none;
  }

  .hero__slide img {
    display: none;
  }

  .hero__slide.is-active img {
    display: block;
    height: 220px;
    object-fit: cover;
  }

  .hero__caption {
    position: static;
    background: none;
    padding: .5rem 0 0;
    transform: none;
    opacity: 1;
    color: var(--ink-700);
  }
}

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--green-900);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2.2rem;
  justify-content: center;
  padding: .9rem 0;
  color: #a7c6b6;
  font-size: .84rem;
  font-weight: 600;
}

.strip__inner span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.strip__inner span::before {
  content: "✦";
  color: var(--gold-500);
  font-size: .7rem;
}

/* ---------- Section head ---------- */
.head {
  max-width: 60ch;
  margin-bottom: 2.8rem;
}

.head--center {
  margin-inline: auto;
  text-align: center;
}

.head--center .eyebrow::before {
  display: none;
}

.head p {
  font-size: 1.04rem;
  color: var(--ink-500);
  margin-bottom: 0;
}

.section--dark .head p {
  color: #a4c3b4;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: .25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green-100);
}

.card h3 {
  margin-bottom: .4rem;
}

.card p {
  font-size: .94rem;
  color: var(--ink-500);
  margin-bottom: 1rem;
}

.card__foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  margin-bottom: 1.1rem;
  flex: none;
}

.icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green-700);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--gold {
  background: var(--gold-100);
}

.icon--gold svg {
  stroke: var(--gold-600);
}

/* ---------- Program cards ---------- */
.prog {
  position: relative;
  overflow: hidden;
}

.prog::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--green-500), var(--gold-500));
}

.prog__abbr {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--green-100);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .3rem;
}

.prog__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  gap: .45rem;
}

.prog__list li {
  font-size: .88rem;
  color: var(--ink-500);
  padding-left: 1.1rem;
  position: relative;
}

.prog__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 1.4rem 1rem;
}

.stat__num {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: -.03em;
  line-height: 1;
  display: block;
}

.stat__label {
  font-size: .84rem;
  color: #a4c3b4;
  margin-top: .5rem;
  display: block;
}

.section:not(.section--dark) .stat__num {
  color: var(--green-700);
}

.section:not(.section--dark) .stat__label {
  color: var(--ink-500);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 2.2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--green-500), var(--gold-500), transparent);
}

.tl-item {
  position: relative;
  padding-bottom: 2rem;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green-600);
}

.tl-item.is-now::before {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 5px rgba(201, 162, 39, .18);
}

.tl-year {
  font-size: .8rem;
  font-weight: 800;
  color: var(--gold-600);
  letter-spacing: .1em;
}

.tl-item h3 {
  font-size: 1.08rem;
  margin: .15rem 0 .35rem;
}

.tl-item p {
  font-size: .94rem;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- Quote ---------- */
.quote {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.quote blockquote {
  margin: 0 0 1.5rem;
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  font-weight: 600;
  color: var(--green-900);
  line-height: 1.5;
}

.quote__mark {
  color: var(--gold-500);
  font-size: 3rem;
  line-height: .6;
  display: block;
  margin-bottom: 1rem;
}

.quote cite {
  font-style: normal;
  font-size: .9rem;
  color: var(--ink-500);
}

.quote cite strong {
  display: block;
  color: var(--green-800);
  font-size: .98rem;
}

/* ---------- Accordion ---------- */
.acc {
  display: grid;
  gap: .8rem;
}

.acc__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .2s;
}

.acc__item[open] {
  border-color: var(--green-100);
  box-shadow: var(--shadow-sm);
}

.acc__item summary {
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}

.acc__item summary::-webkit-details-marker {
  display: none;
}

.acc__item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-600);
  transition: .2s;
}

.acc__item[open] summary::after {
  content: "−";
  color: var(--gold-600);
}

.acc__body {
  padding: 0 1.4rem 1.3rem;
  font-size: .94rem;
  color: var(--ink-500);
}

.acc__body ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* ---------- Steps ---------- */
.steps {
  counter-reset: s;
  display: grid;
  gap: 1rem;
}

.step {
  counter-increment: s;
  display: flex;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
}

.step::before {
  content: counter(s, decimal-leading-zero);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-100);
  line-height: 1;
  flex: none;
}

.step h4 {
  margin: 0 0 .2rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-500);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.ph {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  background: linear-gradient(140deg, var(--green-700), var(--green-900));
  color: #c9e0d5;
  font-size: .92rem;
  font-weight: 600;
}

.ph--gold {
  background: linear-gradient(140deg, var(--gold-600), var(--green-800));
  color: #f5eddb;
}

.ph--tall {
  aspect-ratio: 3/4;
}

.ph small {
  display: block;
  font-size: .74rem;
  opacity: .7;
  font-weight: 500;
  margin-top: .35rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cinfo {
  display: grid;
  gap: 1rem;
}

.crow {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}

.crow .icon {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 11px;
}

.crow strong {
  display: block;
  color: var(--green-900);
  font-size: .95rem;
}

.crow span {
  font-size: .9rem;
  color: var(--ink-500);
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow);
}

.form h3 {
  margin-bottom: 1.2rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: .35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .9rem;
  font: inherit;
  font-size: .93rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--green-50);
  color: var(--ink-900);
  transition: .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 157, 110, .14);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__note {
  font-size: .8rem;
  color: var(--ink-300);
  margin: .9rem 0 0;
}

.form__ok {
  display: none;
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #dcfce7;
  color: #15803d;
  font-size: .9rem;
  font-weight: 600;
}

.form__ok.is-on {
  display: block;
}

/* ---------- Map ---------- */
.mapbox {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--green-50);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  gap: .8rem;
}

.mapbox p {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-500);
  max-width: 44ch;
}

.mapbox__pin {
  font-size: 2rem;
}

/* ---------- FAQ teaser / notice ---------- */
.notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--gold-100);
  border: 1px solid #f0e0b0;
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  font-size: .92rem;
}

.notice strong {
  color: var(--gold-600);
  display: block;
  margin-bottom: .2rem;
}

.notice p {
  margin: 0;
  color: var(--ink-700);
}

/* ---------- News ---------- */
.news__date {
  font-size: .76rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .35rem;
  display: block;
}

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff;
  padding-top: 30px;
  padding-bottom: 30px;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: #cde3d8;
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta__actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

/* ---------- Page hero (inner pages) ---------- */
.phero {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(201, 162, 39, .2), transparent 60%),
    linear-gradient(150deg, var(--green-900), var(--green-700));
  color: #c9ded3;
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
  text-align: center;
}

.phero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: .5rem;
}

.phero p {
  max-width: 60ch;
  margin-inline: auto;
  color: #b6d0c3;
}

.crumbs {
  font-size: .84rem;
  margin-bottom: 1rem;
  color: #92b3a3;
}

.crumbs a {
  color: var(--gold-400);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: #9dbcae;
  padding: 3.5rem 0 1.5rem;
  font-size: .9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}

.footer a {
  color: #9dbcae;
}

.footer a:hover {
  color: var(--gold-400);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.footer__brand img {
  height: 42px;
}

.footer__brand span {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  font-size: .82rem;
  color: #7b9c8d;
}

/* ---------- Floating PMB ---------- */
.fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--green-700);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transition: .2s;
}

.fab:hover {
  background: var(--green-800);
  color: #fff;
  transform: translateY(-2px);
}

.fab svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Reveal animation ---------- */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.rv.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .8rem 1.25rem 1.2rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: .75rem .9rem;
  }

  .header__cta .btn {
    display: none;
  }
}

@media (max-width: 560px) {
  .field--row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .fab span {
    display: none;
  }

  .fab {
    padding: .95rem;
  }
}

/* ---------- Print ---------- */
@media print {
  @page {
    size: A4;
    margin: 12mm 10mm;
  }

  .header,
  .topbar,
  .fab,
  .strip,
  .skip,
  [data-demo-banner] {
    display: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    color: var(--ink-900);
    background: #fff;
    font-size: 10.5pt;
    line-height: 1.5;
  }

  /* jangan potong elemen di tengah halaman */
  section,
  .card,
  .stat,
  .tl-item,
  .step,
  .crow,
  .form,
  .prog,
  .quote,
  .head,
  .cinfo>*,
  .acc__item,
  .ph {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  h1,
  h2,
  h3,
  h4 {
    break-after: avoid;
    page-break-after: avoid;
  }

  /* hero tetap berwarna, tapi hemat tinta */
  .hero {
    padding: 18mm 0 12mm;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .hero::after {
    display: none;
  }

  /* paksa warna latar ikut tercetak */
  .section--dark,
  .cta,
  .card,
  .hero__card,
  .badge,
  .strip,
  .notice,
  .icon,
  .icon--gold,
  .ph,
  .ph--gold,
  .btn {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .section {
    padding: 8mm 0;
  }

  .section--tint {
    background: var(--green-50) !important;
  }

  .rv {
    opacity: 1 !important;
    transform: none !important;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  /* tampilkan URL tujuan untuk tautan eksternal */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: var(--ink-500);
  }
}