/* ==========================================================================
   Kepanjen Dalam Genggaman - style.css
   Desain mengacu pada gambar referensi (1536 x 1024).
   Desktop memakai "stage" ber-rasio 1536:1024 dengan satuan cqw agar
   komposisi tetap proporsional di semua lebar layar desktop.
   Mobile (<992px) memakai layout khusus, bukan sekadar dikecilkan.
   ========================================================================== */

:root {
  --navy: #0d2a5c;
  --blue: #0a63d6;
  --blue-light: #1e9bff;
  --turq: #12b5a0;
  --yellow: #ffc21a;
  --orange: #ff8a14;
  --white: #fff;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-script: 'Kaushan Script', 'Brush Script MT', 'Segoe Script', cursive;
  --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header (mobile dulu) ---------- */
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-script);
  font-size: 40px;
  background: linear-gradient(100deg, #0a4fc4 0%, #0b78e8 55%, #0aa9cf 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: 6px;
}
.brand__sub {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  align-self: flex-end;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: -2px;
}
.brand__sub::before {
  content: ''; width: 34px; height: 4px; border-radius: 4px;
  background: var(--yellow); transform: rotate(-4deg);
}

.nav-toggle {
  width: 46px; height: 46px; border-radius: 14px;
  border: 1.5px solid rgba(10, 99, 214, .35);
  background: rgba(255, 255, 255, .75);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute; top: 100%; left: 16px; right: 16px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(13, 42, 92, .18);
  padding: 14px;
}
.nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: 14px 16px; border-radius: 14px;
  text-decoration: none; font-weight: 600; font-size: 16px;
}
.site-nav li a:hover { background: #eef6ff; }
.site-nav li a.is-active { background: #e4f1ff; color: var(--blue); }
.site-nav__right { margin-top: 10px; padding: 10px 4px 4px; border-top: 1px solid #e6eef8; }
.header-tagline { display: none; }

.btn-follow {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 13px 22px; border-radius: 999px;
  border: 2px solid var(--blue);
  color: var(--blue); background: rgba(255, 255, 255, .6);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn-follow:hover { background: var(--blue); color: #fff; }

/* ---------- Hero (mobile) ---------- */
.hero {
  position: relative;
  margin-top: -78px;
  padding-top: 78px;
  background:
    linear-gradient(180deg, rgba(214, 238, 255, .55) 0%, rgba(255, 255, 255, 0) 38%),
    var(--hero-bg) center bottom / cover no-repeat;
  overflow: hidden;
}
.stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 18px 56px; }
.stage::after {
  content: ''; position: absolute; left: -20%; right: -20%; bottom: 0; height: 120px;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 0;
}
.tugu {
  position: absolute; left: -14vw; bottom: 70px; width: 60vw; max-width: 300px;
  opacity: .42; z-index: 0; pointer-events: none;
}

.headline { position: relative; z-index: 2; text-align: center; width: 100%; padding-top: 6px; }
.headline__hello {
  position: relative; display: inline-block; margin: 0;
  font-family: var(--font-hand); font-weight: 700; font-size: 11vw; line-height: 1; color: var(--navy);
  transform: rotate(-3deg);
}
.spark {
  position: absolute; left: 100%; top: -2px; width: 7vw; height: 10vw; margin-left: 2vw;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 46'%3E%3Cg stroke='%23ffc21a' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M6 8l9 9'/%3E%3Cpath d='M16 22h12'/%3E%3Cpath d='M6 36l9-9'/%3E%3C/g%3E%3C/svg%3E");
}
.headline__title { margin: -1vw 0 0; font-family: var(--font-script); font-weight: 400; font-size: 21vw; line-height: 1.1; }
.headline__title span {
  position: relative; display: inline-block; padding: 0 .06em .08em;
  background: linear-gradient(100deg, #0a45b8 0%, #0b7be9 40%, #0aa8cf 75%, #12b79a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 6px 10px rgba(10, 60, 140, .16));
}
.headline__title span::after {
  content: ''; position: absolute; left: 30%; width: 38%; bottom: 14%; height: .06em;
  background: var(--yellow); border-radius: 10px; transform: rotate(-3deg);
  -webkit-text-fill-color: initial;
}
.headline__lead { margin: 4px auto 0; max-width: 34ch; font-size: 15px; font-weight: 500; line-height: 1.55; }
.headline__lead br { display: none; }
.headline__cta {
  position: relative; display: inline-block; margin: 14px 0 0;
  font-family: var(--font-hand); font-weight: 700; font-size: 26px; transform: rotate(-3deg);
}
.headline__cta::after {
  content: ''; position: absolute; left: 4%; right: 4%; bottom: -2px; height: 4px; border-radius: 4px; background: var(--yellow);
}
.headline__chevron { display: block; margin: 6px auto 0; }

.cards { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr; gap: 18px; width: 100%; max-width: 420px; margin-top: 18px; }
.card {
  position: relative; border-radius: 26px; padding: 22px 22px 24px; color: #fff; text-align: center;
  box-shadow: 0 18px 38px rgba(13, 42, 92, .22), inset 0 0 0 1.5px rgba(255, 255, 255, .45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px rgba(13, 42, 92, .26), inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.card--laporsam { background: linear-gradient(150deg, #27a3ff 0%, #0a6fe0 52%, #0a58c4 100%); }
.card--umkm { background: linear-gradient(150deg, #ffcf40 0%, #ffa222 50%, #ff7f12 100%); }
.card__icon { width: 74px; height: 74px; display: block; margin: 0 auto 2px; overflow: visible; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .18)); }
.card__title { margin: 0; font-family: var(--font-script); font-weight: 400; font-size: 36px; line-height: 1.15; text-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.card__text { margin: 6px 0 16px; font-size: 14.5px; line-height: 1.5; font-weight: 500; }
.card__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 50px; padding: 12px 24px; border-radius: 999px;
  background: #fff; color: var(--navy); font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 6px 14px rgba(13, 42, 92, .16);
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.card__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(13, 42, 92, .22); }
.card--laporsam .card__btn:hover { background: #eaf4ff; color: var(--blue); }
.card--umkm .card__btn:hover { background: #fff6e6; color: #d96a00; }
.card__btn svg { transition: transform .2s; }
.card__btn:hover svg { transform: translateX(4px); }

/* ---------- Halaman Tentang Kami ---------- */
.page-about { background: linear-gradient(180deg, #d7ecfc 0%, #eef7ff 360px, #fff 100%) no-repeat; }
.about { padding: 18px 18px 64px; }
.about__card {
  max-width: 780px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 28px 22px 32px;
  box-shadow: 0 20px 50px rgba(13, 42, 92, .12);
  font-size: 16.5px; line-height: 1.75;
}
.about__head h1 {
  margin: 0; font-family: var(--font-script); font-weight: 400; font-size: 34px; line-height: 1.2;
  background: linear-gradient(100deg, #0a45b8, #0b7be9 55%, #12b79a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.about__sub { margin: 4px 0 20px; font-family: var(--font-hand); font-weight: 700; font-size: 26px; }
.about__card h2 { margin: 30px 0 6px; font-size: 21px; color: var(--blue); }
.about__card p { margin: 0 0 14px; }
.about__card a { color: var(--blue); font-weight: 600; }
.about__team { padding-left: 20px; margin: 0 0 16px; }
.about__quote {
  margin: 24px 0; padding: 18px 20px; border-left: 5px solid var(--yellow); border-radius: 0 18px 18px 0;
  background: #fff8e2; font-family: var(--font-hand); font-weight: 700; font-size: 25px; line-height: 1.4; text-align: center;
}
.about__closing { font-family: var(--font-hand); font-weight: 700; font-size: 30px; text-align: center; margin-top: 22px !important; }
.about__back { margin: 26px 0 0 !important; }

/* ---------- Tablet kecil ---------- */
@media (min-width: 600px) and (max-width: 991px) {
  .headline__hello { font-size: 64px; }
  .spark { width: 40px; height: 58px; margin-left: 12px; }
  .headline__title { font-size: 150px; }
  .headline__lead { font-size: 18px; max-width: 46ch; }
  .cards { grid-template-columns: 1fr 1fr; max-width: 760px; }
  .tugu { width: 300px; left: -40px; }
  .about__card { padding: 40px 48px 44px; }
  .about__head h1 { font-size: 44px; }
}

/* ==========================================================================
   DESKTOP >= 992px  (stage ber-rasio 1536:1024, satuan cqw)
   ========================================================================== */
@media (min-width: 992px) {
  .site-header { padding: 0; }
  .nav-toggle { display: none; }

  .page-home .site-header {
    position: absolute; top: 0; left: 0; right: 0;
    padding: 1.9vw 7.1vw 0 7.1vw;
  }
  .page-about .site-header { padding: 1.9vw 7.1vw 0; }

  .brand__name { font-size: clamp(40px, 4.1vw, 74px); }
  .brand__sub { font-size: clamp(19px, 1.7vw, 30px); margin-right: .3vw; }
  .brand__sub::before { width: 2.4vw; height: .28vw; min-height: 3px; }

  .site-nav {
    display: flex; position: static; flex: 1; align-items: center; justify-content: space-between;
    background: none; box-shadow: none; padding: 0; border-radius: 0;
  }
  .site-nav ul { display: flex; gap: 3.2vw; margin-left: 4.2vw; padding-top: .4vw; }
  .site-nav li a {
    position: relative; padding: .5vw 0; border-radius: 0; background: none !important;
    font-size: clamp(13px, .98vw, 17px); font-weight: 600; color: var(--navy);
  }
  .site-nav li a:hover { color: var(--blue); }
  .site-nav li a.is-active { color: var(--navy); }
  .site-nav li a.is-active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -.5vw; height: 3px; border-radius: 3px; background: var(--blue-light);
  }
  .site-nav__right { display: flex; align-items: center; gap: 2.6vw; margin: 0; padding: 0; border: 0; }

  .header-tagline {
    position: relative; display: block; margin: 0; padding: 0 1vw .6vw 0;
    font-family: var(--font-hand); font-weight: 700; font-size: clamp(18px, 1.75vw, 32px); line-height: 1.02;
    color: var(--navy); transform: rotate(-8deg); text-align: center;
  }
  .header-tagline span { display: block; }
  .header-tagline::after {
    content: ''; position: absolute; left: 6%; right: 0; bottom: 0; height: .32vw; min-height: 3px; border-radius: 4px;
    background: var(--yellow); transform: rotate(-3deg);
  }
  .header-tagline::before {
    content: ''; position: absolute; right: -.5vw; top: -.4vw; width: 1.3vw; height: 1.9vw;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 46'%3E%3Cg stroke='%23ffc21a' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M6 8l9 9'/%3E%3Cpath d='M16 22h12'/%3E%3Cpath d='M6 36l9-9'/%3E%3C/g%3E%3C/svg%3E");
  }
  .btn-follow {
    width: auto; padding: .75vw 1.6vw; font-size: clamp(12px, .88vw, 15px);
    background: rgba(255, 255, 255, .45); backdrop-filter: blur(2px);
  }
  .btn-follow svg { width: 1.4vw; height: 1.4vw; min-width: 17px; min-height: 17px; }

  .about { padding-top: 3vw; }
  .about__card { padding: 56px 64px 60px; font-size: 17.5px; }
  .about__head h1 { font-size: 54px; }
  .about__sub { font-size: 32px; }
}

@supports (width: 1cqw) {
  @media (min-width: 992px) {
    .hero {
      margin-top: 0; padding-top: 0;
      background:
        linear-gradient(180deg, rgba(214, 238, 255, .5) 0%, rgba(255, 255, 255, 0) 30%),
        var(--hero-bg) center / cover no-repeat;
    }
    .stage {
      display: block; padding: 0; width: 100%; aspect-ratio: 1536 / 1024;
      container-type: inline-size; overflow: hidden;
    }
    /* bidang putih melengkung di bawah */
    .stage::after {
      left: -12%; right: -12%; top: 81%; bottom: 0; height: auto;
      background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
      box-shadow: 0 -1.4cqw 3cqw rgba(255, 255, 255, .9);
    }
    /* daun hijau blur di kanan, seperti referensi */
    .stage::before {
      content: ''; position: absolute; right: -7cqw; top: 30cqw; width: 12cqw; height: 34cqw; z-index: 1; pointer-events: none;
      background:
        radial-gradient(ellipse 60% 22% at 70% 14%, rgba(90, 160, 50, .55), transparent 70%),
        radial-gradient(ellipse 70% 20% at 60% 40%, rgba(60, 140, 50, .6), transparent 70%),
        radial-gradient(ellipse 80% 24% at 70% 68%, rgba(70, 150, 55, .6), transparent 70%);
      filter: blur(.5cqw);
    }

    .tugu {
      left: 0; bottom: auto; top: 18.55%; width: 28.65%; max-width: none; opacity: 1; z-index: 1;
    }

    .headline {
      position: absolute; left: 50%; top: 14.6%; width: 60cqw; transform: translateX(-50%); padding: 0; z-index: 2;
    }
    .headline__hello { font-size: 4.1cqw; transform: rotate(-4deg) translate(-.6cqw, 0); }
    .spark { width: 2.1cqw; height: 3.2cqw; margin-left: 1.2cqw; top: -.4cqw; }
    .headline__title { font-size: 12.2cqw; margin: -2.6cqw 0 0; line-height: 1.15; }
    .headline__title span { filter: drop-shadow(0 .5cqw .8cqw rgba(10, 60, 140, .16)); }
    .headline__title span::after { left: 14%; width: 24%; bottom: 17%; }
    .headline__lead { max-width: none; margin: -.4cqw 0 0; font-size: clamp(14px, 1.4cqw, 26px); line-height: 1.5; }
    .headline__lead br { display: inline; }
    .headline__cta { margin: 1.3cqw 0 0; font-size: 2.1cqw; transform: rotate(-4deg); }
    .headline__cta::after { height: .3cqw; bottom: -.3cqw; }
    .headline__chevron { width: 1.6cqw; height: 1.6cqw; margin: .1cqw auto 0; }

    .cards {
      position: absolute; left: 27.5%; top: 58.8%; width: 45.2%; max-width: none; margin: 0;
      grid-template-columns: 1fr 1fr; gap: 1.85cqw;
    }
    .card { border-radius: 2cqw; padding: 1.5cqw 1.5cqw 1.8cqw; min-height: 17.9cqw; display: flex; flex-direction: column; align-items: center; }
    .card--umkm { margin-top: .1cqw; }
    .card__icon { width: 5.3cqw; height: 5.3cqw; margin: 0 auto -.2cqw; }
    .card__title { font-size: 3.35cqw; margin-top: .1cqw; }
    .card__text { margin: .5cqw 0 1.5cqw; font-size: clamp(12px, 1.08cqw, 19px); line-height: 1.55; }
    .card__btn { width: 14.4cqw; min-height: 3.2cqw; padding: .6cqw 1.5cqw; font-size: clamp(13px, 1.1cqw, 20px); margin-top: auto; }
    .card__btn svg { width: 1.3cqw; height: 1.3cqw; min-width: 16px; min-height: 16px; }
  }
}

/* ---------- Aksesibilitas gerak ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover { transform: none; }
}
