/* ============================================================
   Website Profil Desa Kentengsari
   Kecamatan Windusari, Kabupaten Magelang, Jawa Tengah
   Adaptasi struktur kutavillage.com — putih & aksen hijau
   ============================================================ */

:root {
  --green-950: #0d2f1b;
  --green-900: #123f26;
  --green-800: #175233;
  --green-700: #1e6b3f;
  --green-600: #25814d;
  --green-500: #2f9e5f;
  --green-100: #d9eddf;
  --green-50:  #eef7f0;
  --white: #ffffff;
  --bg-soft: #f6f9f6;
  --text: #1f2937;
  --muted: #5f6b76;
  --line: #e3eae4;
  --shadow-sm: 0 2px 12px rgba(18, 63, 38, .08);
  --shadow-md: 0 14px 34px rgba(18, 63, 38, .16);
  --radius: 14px;
  --radius-lg: 22px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

[id] { scroll-margin-top: 84px; }

/* ---------- Utilitas ---------- */
.section { padding: 5.5rem 0; }
.section--soft { background: var(--bg-soft); }

.section-label {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--green-700);
}
.section-label::before {
  content: ""; width: 44px; height: 2px;
  background: var(--green-600); border-radius: 2px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800; line-height: 1.25;
  color: var(--green-950); margin: .9rem 0 1.1rem;
}

.section-desc { color: var(--muted); max-width: 660px; }

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

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.9rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; font-family: inherit;
  cursor: pointer; border: 2px solid transparent;
  transition: all .25s ease;
}
.btn--primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline {
  border-color: rgba(255, 255, 255, .85); color: #fff;
  background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px);
}
.btn--outline:hover { background: #fff; color: var(--green-900); transform: translateY(-2px); }

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Animasi reveal saat scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.navbar.scrolled {
  background: rgba(13, 47, 27, .97);
  backdrop-filter: blur(8px);
  padding: .65rem 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.navbar__brand { display: flex; align-items: center; gap: .7rem; }
.navbar__logo { width: 42px; height: 42px; object-fit: contain; }
.navbar__title { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }

.navbar__nav { display: flex; align-items: center; gap: 1.8rem; }
.nav-link {
  color: rgba(255, 255, 255, .88); font-weight: 600; font-size: .93rem;
  position: relative; padding: .25rem 0; transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: #fff; border-radius: 2px;
  transition: width .25s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.navbar__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.navbar__toggle span {
  display: block; width: 26px; height: 2.5px; background: #fff;
  margin: 5px 0; border-radius: 2px; transition: .3s;
}
.navbar__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
  background:
    linear-gradient(180deg, rgba(13, 47, 27, .58) 0%, rgba(13, 47, 27, .42) 55%, rgba(13, 47, 27, .72) 100%),
    url('../assets/hero-background.jpg') center / cover no-repeat;
}
.hero__content { color: #fff; padding-top: 5rem; }
.hero__content h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  font-weight: 800; line-height: 1.15;
  max-width: 850px; margin-inline: auto;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
  animation: heroUp .9s ease both;
}
.hero__content p {
  max-width: 620px; margin: 1.3rem auto 2.2rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255, 255, 255, .92);
  animation: heroUp .9s .18s ease both;
}
.hero__content .btn { animation: heroUp .9s .34s ease both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* Hero kecil untuk halaman dalam */
.page-hero {
  padding: 9.5rem 0 4.5rem; text-align: center;
  background:
    linear-gradient(180deg, rgba(13, 47, 27, .82) 0%, rgba(18, 63, 38, .72) 100%),
    url('../assets/hero-background.jpg') center 40% / cover no-repeat;
  color: #fff;
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 640px; margin: .9rem auto 0; }
.breadcrumb { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Layout dua kolom ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

/* Kata Sambutan */
.sambutan__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.sambutan__photos img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.sambutan__photos img:nth-child(2) { margin-top: 2.6rem; }
.sambutan__sign { margin-top: 1.4rem; font-weight: 700; color: var(--green-900); }

/* ---------- Berita ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 3rem; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card__media { overflow: hidden; }
.news-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .5s ease; }
.news-card:hover .news-card__img { transform: scale(1.05); }
.news-card__body { padding: 1.35rem 1.45rem 1.55rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.news-card__date { font-size: .8rem; font-weight: 700; color: var(--green-600); letter-spacing: .06em; text-transform: uppercase; }
.news-card__title { font-size: 1.08rem; font-weight: 800; color: var(--green-950); line-height: 1.4; }
.news-card__excerpt { color: var(--muted); font-size: .93rem; }
.news-card__link { margin-top: auto; font-weight: 700; color: var(--green-700); font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.news-card__link:hover { color: var(--green-900); }

/* Empty state (berita belum tersedia) */
.empty-state {
  margin-top: 3rem; padding: 3.5rem 2rem; text-align: center;
  background: #fff; border: 2px dashed var(--green-100); border-radius: var(--radius-lg);
}
.empty-state__icon {
  width: 74px; height: 74px; margin: 0 auto 1.2rem;
  border-radius: 50%; background: var(--green-50);
  display: flex; align-items: center; justify-content: center; color: var(--green-600);
}
.empty-state h3 { color: var(--green-950); font-size: 1.25rem; margin-bottom: .4rem; }
.empty-state p { color: var(--muted); max-width: 460px; margin-inline: auto; }

/* ---------- Profil Desa ---------- */
.profil__text p + p { margin-top: 1rem; }
.profil__text p:first-of-type::first-letter {
  font-size: 3.3rem; font-weight: 800; color: var(--green-700);
  float: left; line-height: .9; padding-right: .6rem; padding-top: .15rem;
}
.profil__media { position: relative; }
.profil__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.profil__badge {
  position: absolute; right: -1rem; bottom: -1.4rem;
  background: var(--green-700); color: #fff;
  padding: 1.1rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md); text-align: center;
}
.profil__badge strong { display: block; font-size: 1.5rem; line-height: 1.1; }
.profil__badge span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }

/* ---------- Statistik ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.stat-card__num { font-size: 2.1rem; font-weight: 800; color: var(--green-700); line-height: 1.1; }
.stat-card__label { font-weight: 700; color: var(--green-950); margin-top: .35rem; font-size: .95rem; }
.stat-card__note { font-size: .82rem; color: var(--muted); margin-top: .15rem; }

/* ---------- Destinasi ---------- */
.destinasi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 3rem; }
.destinasi-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 360px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm);
}
.destinasi-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s ease;
}
.destinasi-card:hover img { transform: scale(1.06); }
.destinasi-card__overlay {
  position: relative; width: 100%; padding: 2rem 1.8rem 1.7rem;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 47, 27, .88) 78%);
  color: #fff;
}
.destinasi-card__tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .4);
  padding: .28rem .8rem; border-radius: 999px; margin-bottom: .7rem;
  backdrop-filter: blur(4px);
}
.destinasi-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .35rem; }
.destinasi-card p { font-size: .92rem; color: rgba(255, 255, 255, .88); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 4.5rem 0; text-align: center; color: #fff;
  background:
    linear-gradient(120deg, rgba(13, 47, 27, .92) 0%, rgba(30, 107, 63, .9) 100%),
    url('../assets/galeri-2.jpg') center / cover no-repeat;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.cta-banner p { color: rgba(255, 255, 255, .85); margin: .7rem auto 1.6rem; max-width: 520px; }

/* ---------- Galeri ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; aspect-ratio: 4 / 3; border: 0; background: none; padding: 0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13, 47, 27, .82) 100%);
  display: flex; align-items: flex-end; padding: 1.2rem 1.3rem;
  opacity: 0; transition: opacity .35s ease;
}
.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { color: #fff; font-weight: 700; font-size: .95rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(9, 26, 15, .92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  padding: 2rem; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(92vw, 1000px); max-height: 78vh;
  border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox__caption { color: rgba(255, 255, 255, .9); font-weight: 600; margin-top: 1.1rem; text-align: center; }
.lightbox__close {
  position: absolute; top: 1.4rem; right: 1.6rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1;
  transition: background .25s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .28); }

/* ---------- Dusun ---------- */
.dusun-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.dusun-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.dusun-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--green-600), var(--green-900));
}
.dusun-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dusun-card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--green-50); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.dusun-card h3 { color: var(--green-950); font-size: 1.15rem; font-weight: 800; }
.dusun-card p { color: var(--muted); font-size: .93rem; margin-top: .5rem; }

/* ---------- Visi & Misi ---------- */
.visi-box {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff; border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem; box-shadow: var(--shadow-md);
}
.visi-box .section-label { color: rgba(255, 255, 255, .85); }
.visi-box .section-label::before { background: rgba(255, 255, 255, .7); }
.visi-box blockquote {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700; line-height: 1.5; margin-top: 1rem;
}
.misi-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.4rem; }
.misi-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm);
}
.misi-list li::before {
  content: counter(misi); counter-increment: misi;
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.misi-list { counter-reset: misi; }

/* ---------- Struktur Organisasi ---------- */
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 3rem; }
.org-node {
  background: #fff; border: 2px solid var(--green-100); border-radius: var(--radius);
  padding: 1rem 1.9rem; text-align: center; box-shadow: var(--shadow-sm);
  min-width: 230px;
}
.org-node--head {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff; border-color: transparent; box-shadow: var(--shadow-md);
}
.org-node__role { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.org-node__name { font-weight: 800; font-size: 1.05rem; margin-top: .15rem; }
.org-node:not(.org-node--head) .org-node__role { color: var(--green-600); }
.org-node:not(.org-node--head) .org-node__name { color: var(--green-950); }
.org-connector { width: 2px; height: 30px; background: var(--green-100); }
.org-row { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
.org-row-wrap { position: relative; width: 100%; display: flex; justify-content: center; }
.org-row-wrap::before {
  content: ""; position: absolute; top: -15px; left: 18%; right: 18%;
  height: 2px; background: var(--green-100);
}
.org-note {
  margin-top: 2rem; text-align: center; color: var(--muted); font-size: .9rem;
}

/* ---------- Landmark ---------- */
.landmark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3rem; }
.landmark-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.4rem; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.landmark-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.landmark-card__icon {
  width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--green-50); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
}
.landmark-card h3 { color: var(--green-950); font-size: 1rem; font-weight: 800; }
.landmark-card p { color: var(--muted); font-size: .86rem; margin-top: .35rem; }

/* ---------- Kontak & Peta ---------- */
.kontak-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.6rem; align-items: start; }
.kontak-info { display: flex; flex-direction: column; gap: 1.2rem; }
.kontak-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
}
.kontak-item__icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-50); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
}
.kontak-item h3 { color: var(--green-950); font-size: 1rem; font-weight: 800; margin-bottom: .2rem; }
.kontak-item p, .kontak-item a { color: var(--muted); font-size: .93rem; }
.kontak-item a:hover { color: var(--green-700); }
.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); min-height: 420px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: rgba(255, 255, 255, .78); margin-top: 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.6rem; padding: 4.2rem 0 3rem;
}
.footer__logo { width: 58px; height: 58px; object-fit: contain; margin-bottom: 1.1rem; }
.footer__desc { font-size: .92rem; max-width: 300px; }
.footer__col h4 {
  color: #fff; font-size: 1rem; font-weight: 800;
  margin-bottom: 1.1rem; letter-spacing: .02em;
}
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__links a { font-size: .92rem; transition: color .2s, padding-left .2s; }
.footer__links a:hover { color: #fff; padding-left: 5px; }
.footer__address { font-style: normal; font-size: .92rem; line-height: 1.8; }
.footer__email {
  display: inline-block; margin-top: .8rem; font-weight: 700;
  color: var(--green-100); font-size: .92rem; word-break: break-all;
}
.footer__email:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 1.4rem 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255, 255, 255, .6);
}

/* ---------- Responsif ---------- */
@media (max-width: 992px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats, .landmark-grid { grid-template-columns: repeat(2, 1fr); }
  .dusun-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .navbar__toggle { display: block; }
  .navbar__nav {
    position: fixed; inset: 0; z-index: -1;
    background: rgba(13, 47, 27, .98);
    flex-direction: column; justify-content: center; gap: 2rem;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .navbar__nav.open { opacity: 1; visibility: visible; z-index: 99; }
  .navbar__nav .nav-link { font-size: 1.25rem; }
  .split, .kontak-grid { grid-template-columns: 1fr; }
  .profil__media { margin-top: 1.5rem; }
  .profil__badge { right: .8rem; bottom: -1.2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .destinasi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 3.8rem 0; }
  .stats, .landmark-grid, .dusun-grid, .gallery-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .sambutan__photos { grid-template-columns: 1fr; }
  .sambutan__photos img:nth-child(2) { margin-top: 0; }
  .org-row-wrap::before { left: 10%; right: 10%; }
}

/* ---------- Formulir Kontak ---------- */
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem; box-shadow: var(--shadow-sm);
}
.contact-form h3 { color: var(--green-950); font-size: 1.25rem; font-weight: 800; margin-bottom: .4rem; }
.contact-form > p { color: var(--muted); font-size: .92rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; color: var(--green-950); margin-bottom: .4rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: .8rem 1rem; font: inherit; font-size: .95rem; color: var(--text);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(47, 158, 95, .15); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ---------- Tombol Scroll ke Atas ---------- */
.scroll-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green-700); color: #fff; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .25s;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--green-900); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__content h1, .hero__content p, .hero__content .btn { animation: none; }
}
