/* ============================================================
   BINA MEKAR TANI CIHIDEUNG — style.css
   Fresh Modern · Green & White · Mobile First
   ============================================================ */

/* ─── VARIABLES ────────────────────────────────────────────── */
:root {
  --green-900: #081c15;
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-400: #74c69d;
  --green-300: #95d5b2;
  --green-200: #b7e4c7;
  --green-100: #d8f3dc;
  --green-50:  #f0faf3;
  --accent:    #a7c957;
  --white:     #ffffff;
  --off-white: #f8faf9;
  --text-dark: #1a2e1e;
  --text-mid:  #3a5a40;
  --text-light:#6b8f71;
  --shadow-sm: 0 2px 8px rgba(45,106,79,.10);
  --shadow-md: 0 8px 32px rgba(45,106,79,.15);
  --shadow-lg: 0 20px 60px rgba(45,106,79,.20);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --transition:   0.3s ease;
  --nav-height:   70px;
}

/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* ─── SECTION HEADERS ────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35em 1em;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: .75rem;
}

.section-title em {
  font-style: italic;
  color: var(--green-600);
}

.section-desc {
  color: var(--text-light);
  max-width: 540px;
  font-size: .95rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-desc { margin-inline: auto; }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--green-50);
  border-color: var(--green-700);
}

.full-width { width: 100%; justify-content: center; }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--green-100);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1160px, 92vw);
  margin-inline: auto;
}

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

.logo-icon { font-size: 1.8rem; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }

.logo-main {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-800);
}

.logo-sub {
  font-size: .7rem;
  color: var(--green-600);
  letter-spacing: .08em;
  font-weight: 500;
}

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

.nav-link {
  padding: .5rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 99px;
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-link.nav-cta {
  background: var(--green-700);
  color: var(--white);
  padding: .5rem 1.2rem;
  margin-left: .5rem;
}

.nav-link.nav-cta:hover {
  background: var(--green-800);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--green-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.hero-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, var(--green-100) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, var(--green-50) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.hero-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.leaf {
  position: absolute;
  font-size: 2rem;
  opacity: .15;
  animation: floatLeaf 6s ease-in-out infinite;
}
.leaf-1 { top: 15%; left: 5%; animation-delay: 0s; }
.leaf-2 { top: 60%; left: 2%; animation-delay: 1.5s; font-size: 1.4rem; }
.leaf-3 { top: 30%; right: 5%; animation-delay: 3s; font-size: 1.2rem; }
.leaf-4 { bottom: 20%; right: 3%; animation-delay: .8s; }
.leaf-5 { bottom: 40%; left: 45%; animation-delay: 2.2s; font-size: 1.1rem; }

@keyframes floatLeaf {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(8deg); }
}

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

.hero-badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .8rem;
  font-weight: 600;
  padding: .4em 1em;
  border-radius: 99px;
  margin-bottom: 1.2rem;
  letter-spacing: .05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.hero-title em {
  font-style: italic;
  color: var(--green-600);
}

.hero-desc {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 440px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-700);
  font-family: var(--font-display);
}

.stat span {
  font-size: .75rem;
  color: var(--text-light);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--green-200);
}

/* ─── HERO IMAGE SIDE ─────────────────────────────────────────── */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-frame {
  width: 340px;
  height: 420px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--green-200), var(--green-400));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
}

/* Plant Animation */
.plant-animation {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plant-pot {
  width: 80px; height: 60px;
  background: linear-gradient(160deg, #8b5e3c, #6b4226);
  border-radius: 0 0 40px 40px;
  position: relative;
  z-index: 2;
}

.plant-pot::before {
  content: '';
  position: absolute;
  top: -8px; left: -8px; right: -8px;
  height: 16px;
  background: #a06c3e;
  border-radius: 8px;
}

.plant-stem {
  width: 8px; height: 140px;
  background: linear-gradient(to top, var(--green-700), var(--green-500));
  border-radius: 4px;
  margin-top: -4px;
  animation: sway 3s ease-in-out infinite;
  transform-origin: bottom;
}

.plant-leaf {
  position: absolute;
  font-size: 2.2rem;
  animation: leafSway 3.5s ease-in-out infinite;
}

.pl-l1 { bottom: 100px; left: -30px; animation-delay: .3s; }
.pl-l2 { bottom: 130px; right: -30px; animation-delay: .9s; }
.pl-l3 { bottom: 160px; left: -20px; animation-delay: 1.6s; font-size: 1.8rem; }

@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50%       { transform: rotate(3deg); }
}

@keyframes leafSway {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50%       { transform: rotate(5deg) scale(1.05); }
}

.hero-badge-float {
  position: absolute;
  bottom: -15px;
  left: -20px;
  background: var(--white);
  border: 2px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: .7rem 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-700);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ─── MARQUEE ─────────────────────────────────────────────────── */
.marquee-strip {
  background: var(--green-800);
  color: var(--white);
  padding: .85rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: .03em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── TENTANG ──────────────────────────────────────────────────── */
.tentang {
  padding: 6rem 0;
  background: var(--white);
}

.tentang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.tentang-visual {
  position: relative;
  height: 440px;
}

.visual-card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.vc-main {
  width: 240px; height: 310px;
  background: linear-gradient(145deg, var(--green-700), var(--green-500));
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--white);
}

.vc-icon { font-size: 3rem; margin-bottom: 1rem; }

.vc-main p { font-size: .9rem; line-height: 1.5; opacity: .9; }

.vc-secondary {
  width: 180px; height: 130px;
  background: var(--white);
  border: 2px solid var(--green-100);
  bottom: 30px; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vc-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-700);
}

.vc-stat-label {
  font-size: .75rem;
  color: var(--text-light);
  text-align: center;
}

.visual-badge-float {
  position: absolute;
  top: 50%; right: -10px;
  transform: translateY(-50%);
  background: var(--accent);
  color: var(--green-900);
  font-size: .8rem;
  font-weight: 700;
  padding: .6rem 1.2rem;
  border-radius: 99px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}

.tentang-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 1rem;
}

.tentang-body {
  color: var(--text-light);
  font-size: .95rem;
  margin-bottom: 1rem;
}

.tentang-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.5rem 0 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
}

.value-item i { color: var(--green-500); }

/* ─── LAYANAN ─────────────────────────────────────────────────── */
.layanan {
  padding: 6rem 0;
  background: var(--green-50);
}

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.layanan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  border: 1.5px solid var(--green-100);
  transition: all var(--transition);
}

.layanan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-300);
}

.layanan-card.featured {
  background: var(--green-800);
  color: var(--white);
  border-color: transparent;
}

.layanan-card.featured h3,
.layanan-card.featured p { color: var(--green-100); }

.layanan-card.featured .lc-list li,
.layanan-card.featured .lc-link { color: var(--green-200); }

.layanan-card.featured .lc-link:hover { color: var(--white); }

.featured-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--green-900);
  font-size: .75rem;
  font-weight: 700;
  padding: .3em 1em;
  border-radius: 99px;
}

.lc-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.layanan-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text-dark);
}

.layanan-card p {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.lc-list { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.5rem; }

.lc-list li {
  font-size: .85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.lc-list li::before {
  content: '✓';
  color: var(--green-500);
  font-weight: 700;
  font-size: .9rem;
}

.lc-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--green-600);
  font-size: .875rem;
  font-weight: 600;
  transition: gap var(--transition);
}

.lc-link:hover { gap: .75rem; }

/* ─── GALLERY ─────────────────────────────────────────────────── */
.gallery {
  padding: 6rem 0;
  background: var(--white);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gf-btn {
  padding: .5rem 1.4rem;
  border-radius: 99px;
  border: 1.5px solid var(--green-200);
  background: transparent;
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.gf-btn:hover, .gf-btn.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--green-100); /* fallback saat gambar loading */
}

.gi-img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* gambar dipotong agar mengisi kotak */
  object-position: center; /* fokus ke tengah gambar */
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gi-img {
  transform: scale(1.06); /* efek zoom halus saat hover */
}

.gallery-item:hover .gi-overlay { opacity: 1; transform: translateY(0); }

.gi-large { grid-column: span 2; }

/* .gi-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: rgba(255,255,255,.8);
}

.gi-placeholder span { font-size: 2.5rem; }
.gi-placeholder p { font-size: .9rem; font-weight: 500; } */

.gi-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,28,21,.9), transparent);
  color: var(--white);
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.gi-overlay h4 { font-size: .95rem; font-weight: 600; margin-bottom: .2rem; }
.gi-overlay p { font-size: .8rem; opacity: .8; }

.gallery-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gallery-cta p { color: var(--text-light); font-size: .95rem; }

/* ─── TESTIMONI ─────────────────────────────────────────────────── */
.testimoni {
  padding: 6rem 0;
  background: var(--green-50);
}

.testi-slider { overflow: hidden; position: relative; }

.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-width: calc(33.333% - 1rem);
  border: 1.5px solid var(--green-100);
  flex-shrink: 0;
}

.testi-stars {
  color: #f4a261;
  font-size: 1.1rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.testi-card p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-200);
  color: var(--green-800);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-author strong { display: block; font-size: .9rem; color: var(--text-dark); }
.testi-author span   { font-size: .78rem; color: var(--text-light); }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}

.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-200);
  cursor: pointer;
  transition: all var(--transition);
}

.testi-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--green-600);
}

/* ─── ARTIKEL ─────────────────────────────────────────────────── */
.artikel {
  padding: 6rem 0;
  background: var(--white);
}

.artikel-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.artikel-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--green-100);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.artikel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.featured-article { grid-row: span 2; }

.ac-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.featured-article .ac-img { height: 260px; }

.ac-category {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(255,255,255,.9);
  color: var(--green-700);
  font-size: .75rem;
  font-weight: 700;
  padding: .3em .9em;
  border-radius: 99px;
}

.ac-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ac-date {
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.artikel-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: .6rem;
}

.artikel-card p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.ac-read {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--green-600);
  font-size: .875rem;
  font-weight: 600;
  transition: gap var(--transition);
  margin-top: auto;
}

.ac-read:hover { gap: .75rem; }

/* ─── ARTIKEL MODAL ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,28,21,.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(.96);
  transition: transform var(--transition);
}

.modal-overlay.open .modal-box { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--green-50);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.modal-close:hover { background: var(--green-100); }

#modalContent h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

#modalContent .modal-meta {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#modalContent p {
  font-size: .95rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.75;
}

#modalContent h4 {
  color: var(--green-700);
  margin: 1.5rem 0 .5rem;
  font-size: 1rem;
}

#modalContent ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

#modalContent ul li {
  list-style: disc;
  font-size: .9rem;
  color: var(--text-mid);
  margin-bottom: .4rem;
}

/* ─── KONTAK ─────────────────────────────────────────────────── */
.kontak {
  padding: 6rem 0;
  background: var(--green-50);
}

.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.kontak-info h3,
.kontak-form h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.kontak-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.ki-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.ki-text strong {
  display: block;
  font-size: .9rem;
  color: var(--text-dark);
  margin-bottom: .25rem;
}

.ki-text p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
}

.ki-text a {
  color: var(--green-600);
  transition: color var(--transition);
}

.ki-text a:hover { color: var(--green-800); }

.kontak-sosmed {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.ks-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: 99px;
  font-size: .875rem;
  font-weight: 600;
  transition: all var(--transition);
}

.ks-btn.wa  { background: #25d366; color: var(--white); }
.ks-btn.ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: var(--white); }
.ks-btn.gmaps {
  background: linear-gradient(
    135deg,
    #4285F4 0%,
    #34A853 35%,
    #FBBC05 70%,
    #EA4335 100%
  );
  color: #fff;
}
.ks-btn.tiktok {
  background: linear-gradient(
    135deg,
    #000000 0%,
    #111111 35%,
    #25F4EE 70%,
    #FE2C55 100%
  );
  color: #fff;
  box-shadow: 0 4px 12px rgba(254,44,85,.35);
}
.ks-btn.facebook {
  background: linear-gradient(
    135deg,
    #1877F2 0%,
    #1B74E4 50%,
    #0A58CA 100%
  );
  color: #fff;
  box-shadow: 0 4px 12px rgba(24,119,242,.35);
}

.ks-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ─── FORM ───────────────────────────────────────────────────── */
.kontak-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--green-100);
}

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

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--green-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(82,183,136,.12);
}

.form-group textarea { resize: vertical; }

/* ─── MAP ────────────────────────────────────────────────────── */
.map-section { line-height: 0; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--green-900);
  color: var(--green-200);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.footer-logo span { font-size: 2rem; }

.footer-logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}

.footer-logo small { font-size: .75rem; color: var(--green-400); }

.footer-brand p {
  font-size: .875rem;
  color: var(--green-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials { display: flex; gap: .75rem; }

.footer-socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-300);
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-socials a:hover { background: var(--green-600); color: var(--white); }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.footer-links { display: flex; flex-direction: column; gap: .6rem; }

.footer-links a {
  font-size: .875rem;
  color: var(--green-400);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--green-200); }

.footer-contact p {
  font-size: .875rem;
  color: var(--green-400);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-contact a {
  color: var(--green-400);
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--green-200); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom p { font-size: .8rem; color: var(--green-500); }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition);
}

.wa-float:hover { transform: scale(1.1); }

.wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s ease-out infinite;
  opacity: 0;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--green-800);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: .45em 1em;
  border-radius: 99px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all var(--transition);
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ─── BACK TO TOP ────────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 94px;
  z-index: 1500;
  width: 42px; height: 42px;
  background: var(--green-700);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition);
}

.back-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-top:hover { background: var(--green-800); }

/* ─── ANIMATION ON SCROLL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MOBILE NAV OVERLAY ─────────────────────────────────────── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,28,21,.4);
  z-index: 999;
}

.nav-overlay.open { display: block; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Navbar */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--nav-height));
    background: var(--white);
    border-left: 1px solid var(--green-100);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: .5rem;
    z-index: 1000;
    transition: right var(--transition);
    box-shadow: -8px 0 32px rgba(0,0,0,.1);
    overflow-y: auto;
  }

  .nav-menu.open { right: 0; }

  .nav-link { padding: .75rem 1rem; border-radius: var(--radius-sm); }
  .nav-link.nav-cta { text-align: center; justify-content: center; margin-left: 0; margin-top: .5rem; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3rem;
    gap: 2rem;
  }

  .hero-desc, .hero-title { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { justify-content: center; }
  .hero-img-frame { width: 280px; height: 340px; }

  /* Tentang */
  .tentang-grid { grid-template-columns: 1fr; gap: 3rem; }
  .tentang-visual { height: 280px; }
  .vc-main { width: 200px; height: 260px; }
  .vc-secondary { width: 150px; height: 110px; }

  /* Layanan */
  .layanan-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  /* Testimoni */
  .testi-card { min-width: calc(50% - .75rem); }

  /* Artikel */
  .artikel-grid { grid-template-columns: 1fr; }
  .featured-article { grid-row: span 1; }

  /* Kontak */
  .kontak-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

  :root { --nav-height: 64px; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-height) + 1.5rem); }
  .hero-img-frame { width: 240px; height: 290px; }
  .hero-stats { gap: 1rem; }
  .stat strong { font-size: 1.3rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gi-large { grid-column: span 1; }

  /* Testimoni */
  .testi-card { min-width: 100%; }

  /* Tentang visual */
  .tentang-visual { height: 240px; }
  .vc-main { width: 170px; height: 220px; padding: 1.5rem; }
  .vc-icon { font-size: 2.5rem; }
  .vc-main p { font-size: .82rem; }
  .vc-secondary { width: 130px; height: 95px; }
  .visual-badge-float { right: 0; font-size: .75rem; padding: .5rem .8rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Buttons */
  .hero-actions .btn { padding: .7rem 1.4rem; font-size: .85rem; }

  /* Kontak socmed */
  .kontak-sosmed { flex-direction: column; }
  .ks-btn { justify-content: center; }

  /* Modal */
  .modal-box { padding: 1.5rem; }

  /* Back to top */
  .back-top { right: 84px; width: 38px; height: 38px; font-size: .8rem; }
  .wa-float  { width: 52px; height: 52px; font-size: 1.5rem; bottom: 20px; right: 20px; }
  .back-top  { right: 80px; bottom: 20px; }
}