/* ============================================
   KINMY DIGITAL - Website Theme (hijau, kuning, putih)
   ============================================ */

:root {
  --green-900: #063d1c;
  --green-800: #0a5a2a;
  --green-700: #0b7a35;
  --green-600: #11983f;
  --green-100: #e3f4e8;
  --green-50: #f3faf5;
  --yellow: #f7b500;
  --yellow-dark: #d99a00;
  --ink: #0f2418;
  --muted: #4d6355;
  --line: #d9e8de;
  --white: #ffffff;
  --bg: #f7fbf8;
  --shadow-sm: 0 2px 10px rgba(6, 61, 28, 0.07);
  --shadow-md: 0 12px 32px rgba(6, 61, 28, 0.12);
  --radius: 18px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

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

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

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-900);
}

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

.section { padding: 88px 0; position: relative; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(11, 122, 53, 0.3); }
.btn-primary:hover { background: var(--green-800); box-shadow: 0 10px 24px rgba(11, 122, 53, 0.38); }
.btn-yellow { background: var(--yellow); color: var(--green-900); box-shadow: 0 6px 18px rgba(247, 181, 0, 0.35); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* --- Header / Nav --- */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
header.sticky { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo-link { display: flex; align-items: center; }
.logo { height: 44px; width: auto; }
.footer-brand .logo { height: 46px; }

nav ul { display: flex; align-items: center; gap: 6px; }
nav a {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
nav a:hover { color: var(--green-700); background: var(--green-50); }
nav a.active { color: var(--green-700); background: var(--green-100); font-weight: 600; }
nav a.nav-cta { background: var(--yellow); color: var(--green-900); font-weight: 600; margin-left: 8px; }
nav a.nav-cta:hover { background: var(--yellow-dark); }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--green-800);
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  padding: calc(var(--header-h) + 64px) 0 80px;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(247, 181, 0, 0.16), transparent 70%),
    radial-gradient(800px 480px at 0% 100%, rgba(17, 152, 63, 0.14), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--green-50) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 7px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--green-600); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: var(--yellow);
  opacity: 0.55;
  border-radius: 4px;
  z-index: -1;
}

.hero p { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--green-600); }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  border-radius: 24px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 18px -14px -14px 18px;
  border-radius: 28px;
  background: var(--yellow);
  opacity: 0.35;
  z-index: -1;
}

/* page hero (halaman dalam) */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(247, 181, 0, 0.16), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--green-50) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.08rem; max-width: 680px; margin: 0 auto; }

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-600); }

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.feature-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.card:hover .feature-icon { background: var(--green-700); color: #fff; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--green-700); font-weight: 600; }
.card-link:hover { color: var(--green-900); }

/* --- Packages --- */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; align-items: stretch; }

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.package-card.popular { border: 2px solid var(--green-600); box-shadow: var(--shadow-md); }

.package-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--yellow);
  color: var(--green-900);
  padding: 5px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.package-card.popular .package-badge { background: var(--green-700); color: #fff; }

.package-name { font-size: 1.3rem; margin-bottom: 14px; }

.package-price { display: flex; align-items: baseline; gap: 6px; color: var(--green-700); margin-bottom: 8px; }
.package-price .cur { font-size: 1rem; font-weight: 600; color: var(--muted); }
.package-price .amount { font-size: 2.1rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.package-price .unit { font-size: 1.1rem; font-weight: 700; }

.package-tag { color: var(--muted); font-size: 0.9rem; min-height: 2.8em; margin-bottom: 18px; }

.package-list { margin-bottom: 26px; flex: 1; border-top: 1px solid var(--line); padding-top: 10px; }
.package-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: var(--ink);
  font-size: 0.93rem;
}
.package-list .icon { color: var(--green-600); margin-top: 0.28em; stroke-width: 3; }

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-visual img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text strong { color: var(--green-800); }

.stats-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.stat-item { flex: 1 1 120px; text-align: center; padding: 16px 10px; background: var(--green-50); border: 1px solid var(--line); border-radius: 14px; }
.stat-number { display: block; font-size: 1.6rem; font-weight: 800; color: var(--green-700); }
.stat-label { color: var(--muted); font-size: 0.82rem; font-weight: 500; }

/* --- CTA band --- */
.cta-band {
  text-align: center;
  padding: 56px 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  right: -90px; top: -120px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.22;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 12px; position: relative; z-index: 1; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin: 0 auto 26px; max-width: 560px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* --- Brosur gallery (halaman paket) --- */
.brochure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.brochure-grid figure { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow-sm); }
.brochure-grid img { width: 100%; border-radius: 10px; }
.brochure-grid figcaption { text-align: center; font-weight: 600; font-size: 0.92rem; color: var(--green-800); padding: 10px 0 4px; }

.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.audience-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-weight: 600; color: var(--green-900); }
.audience-item .feature-icon { margin: 0; width: 46px; height: 46px; font-size: 1.35rem; }

/* --- Portofolio (jenis website) --- */
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.note-box { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: #fff8e1; border: 1px solid #f3dd9b; border-radius: 14px; color: #6b5200; margin-bottom: 40px; font-size: 0.95rem; }
.note-box .icon { font-size: 1.3rem; margin-top: 2px; }

/* --- Contact --- */
.contact-wrap { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }

.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-icon {
  width: 48px; height: 48px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--muted); font-size: 0.95rem; }
.contact-item a:hover { color: var(--green-700); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 6px; text-align: center; }
.form-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-bottom: 22px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 0.9rem; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(17, 152, 63, 0.18);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* --- Footer --- */
footer { background: var(--green-900); color: rgba(255, 255, 255, 0.8); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-wrap { display: inline-block; background: var(--white); padding: 10px 16px; border-radius: 14px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 340px; }
.footer-col h4 { font-size: 1.02rem; margin-bottom: 16px; color: var(--yellow); }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.93rem; color: rgba(255, 255, 255, 0.8); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }

/* --- Scroll Top --- */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  background: var(--green-700);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  z-index: 900;
  box-shadow: var(--shadow-md);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--green-800); transform: translateY(-3px); }

/* --- Reveal (hanya aktif jika JS jalan) --- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.active { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .about-grid { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .logo { height: 38px; }
  .menu-toggle { display: flex; }

  nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, visibility 0.35s;
  }
  nav.active { max-height: 480px; visibility: visible; }
  nav ul { flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 20px; }
  nav a { padding: 12px 14px; font-size: 1rem; }
  nav a.nav-cta { margin: 8px 0 0; text-align: center; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .contact-form { padding: 26px 20px; }
  .card, .package-card { padding-left: 22px; padding-right: 22px; }
  .scroll-top { bottom: 16px; right: 16px; }
}

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

.hero-visual img { max-width: 480px; margin-left: auto; }
@media (max-width: 992px) { .hero-visual img { margin: 0 auto; } }
