/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

.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;
}

:root {
  --forest-900: #0b3d2e;
  --forest-800: #0f4a37;
  --forest-700: #14573f;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --gold-400: #e3bd6d;
  --cream: #faf9f6;
  --tint: #eef6f1;
  --white: #ffffff;
  --ink: #14231d;
  --body-text: #47554e;
  --border: #e3ebe6;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1160px;
  --radius: 16px;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
}
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--forest-900); color: #fff; padding: 12px 18px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.noscript-banner {
  background: var(--forest-900);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: .88rem;
}

.microcopy {
  font-size: .82rem;
  color: var(--body-text);
  opacity: .75;
  margin: -10px 0 22px;
}
.microcopy--light { color: rgba(255,255,255,.6); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green-600);
  margin-bottom: 10px;
}
.eyebrow--light { color: #8fe3b3; }

.text-accent { color: var(--green-500); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--wa {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 8px 20px rgba(34,197,94,.35);
}
.btn--wa:hover { background: var(--green-600); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--forest-900); background: var(--tint); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(11,61,46,.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
}
.nav__logo { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.nav__logo-mark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--forest-900);
}
.nav__logo-mark span { color: var(--green-600); }
.nav__logo-tag {
  font-size: .62rem;
  line-height: 1.2;
  color: var(--body-text);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.nav__links {
  display: flex;
  gap: 26px;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.nav__links a:hover { color: var(--green-600); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--forest-900);
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: radial-gradient(120% 100% at 15% 0%, var(--forest-700) 0%, var(--forest-900) 55%, #082a20 100%);
  padding: 72px 0 130px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.hero__sub {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.hero .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(255,255,255,.65);
  font-size: .82rem;
}
.hero__trust li { position: relative; padding-left: 16px; }
.hero__trust li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-500);
  transform: translateY(-50%);
}
.hero__art { display: flex; justify-content: center; }
.hero__shield { width: 100%; max-width: 320px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero__photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
  border: 4px solid rgba(255,255,255,.15);
}
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%; height: 90px;
  z-index: 1;
}

/* ===== Sections ===== */
.section { padding: 96px 0; background: var(--white); }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__lead { font-size: 1.02rem; margin-top: 14px; }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--split { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }

/* ===== Cards ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11,61,46,.08); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }

.card--dark {
  background: var(--forest-900);
  border-color: var(--forest-900);
  color: rgba(255,255,255,.78);
}
.card--dark h3 { color: #fff; }
.card__icon--light { background: rgba(255,255,255,.1); }
.card--dark:hover { box-shadow: 0 16px 32px rgba(11,61,46,.25); }

.card--photo { padding: 0 28px 32px; overflow: hidden; }
.card__photo {
  display: block;
  width: calc(100% + 56px);
  margin: 0 -28px 20px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.card__cta {
  display: inline-block;
  margin-top: 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--green-500);
}
.card__cta:hover { text-decoration: underline; }

/* ===== Problem list (editorial numbered list, replaces card grid) ===== */
.problem-list {
  max-width: 800px;
  margin: 0 auto;
}
.problem-list__item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.problem-list__item:first-child { padding-top: 0; }
.problem-list__item:last-child { border-bottom: none; padding-bottom: 0; }
.problem-list__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
.problem-list__item h3 { margin-bottom: 8px; }
.problem-list__item p { font-size: .96rem; max-width: 58ch; }

.section__cta { text-align: center; margin-top: 44px; }

/* ===== Checklist ===== */
.checklist { margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; color: var(--ink);
}
.checklist__icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-500); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0;
}

.solusi__art svg { width: 100%; height: auto; max-width: 380px; margin: 0 auto; display: block; }
.solusi__photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  margin: 0 auto;
  display: block;
  box-shadow: 0 20px 40px rgba(11,61,46,.15);
}

/* ===== Accordion ===== */
.accordion { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.accordion__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--ink);
  font-size: .98rem;
}
.accordion__chev { transition: transform .2s ease; color: var(--green-600); flex-shrink: 0; }
.accordion__item.is-open .accordion__chev { transform: rotate(180deg); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease, padding .28s ease;
  padding: 0 24px;
}
.accordion__item.is-open .accordion__panel {
  max-height: 240px;
  padding: 0 24px 22px;
}
.accordion__panel p { font-size: .95rem; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.steps__item { text-align: center; padding: 0 10px; }
.steps__num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--forest-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
  position: relative;
}
.steps__item h3 { margin-bottom: 8px; font-size: 1.05rem; }
.steps__item p { font-size: .9rem; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery__item {
  border-radius: 14px;
  overflow: hidden;
  display: block;
  box-shadow: 0 8px 22px rgba(11,61,46,.08);
  aspect-ratio: 4 / 5;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cta { text-align: center; margin-top: 36px; }

/* ===== CTA final ===== */
.cta-final {
  background: linear-gradient(135deg, var(--forest-800), var(--forest-900));
  padding: 90px 0;
}
.cta-final__inner { text-align: center; max-width: 620px; margin: 0 auto; }
.cta-final h2 { color: #fff; margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,.78); margin-bottom: 30px; font-size: 1.05rem; }
.cta-final .btn--wa { margin-bottom: 14px; }
.cta-final .microcopy { margin: 0; opacity: .55; color: #fff; }

/* ===== Booking widget ===== */
.booking-widget {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.booking-widget__step { margin-bottom: 20px; }
.booking-widget__step label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .92rem; }
.booking-widget__date {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
}
.booking-widget__hint { margin-top: 8px; font-size: .82rem; color: var(--body-text); opacity: .8; }
.booking-widget__slots { display: flex; flex-wrap: wrap; gap: 10px; }
.booking-slot {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--tint);
  color: var(--forest-900);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.booking-slot:hover:not(:disabled) { border-color: var(--green-500); background: #fff; }
.booking-slot.is-selected { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.booking-slot.is-taken, .booking-slot:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.booking-widget__form { border-top: 1px solid var(--border); padding-top: 20px; }
.booking-widget__selected { font-weight: 600; color: var(--forest-900); margin-bottom: 14px; font-size: .92rem; }
.booking-widget input[type="text"],
.booking-widget input[type="tel"],
.booking-widget input[type="email"],
.booking-widget textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  resize: vertical;
}
.booking-widget__submit { width: 100%; justify-content: center; }
.booking-widget .lead-form__status { color: var(--body-text); }
.booking-widget .lead-form__status.is-error { color: #dc2626; }
.booking-widget .lead-form__status.is-success { color: var(--green-600); font-weight: 600; }

/* ===== Lead form (CTA final) ===== */
.lead-form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 22px;
  color: rgba(255,255,255,.4);
  font-size: .85rem;
}
.lead-form-divider::before,
.lead-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.16);
}

.lead-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: left;
}
.lead-form__lead { color: rgba(255,255,255,.75); font-size: .92rem; margin-bottom: 16px; }
.lead-form__row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
@media (min-width: 620px) {
  .lead-form__row { flex-direction: row; }
}
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
  font-size: .95rem;
}
.lead-form input::placeholder { color: rgba(255,255,255,.5); }
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.lead-form__consent a { color: inherit; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.lead-form select { margin-bottom: 14px; color: rgba(255,255,255,.9); }
.lead-form select option { color: #14231d; }
.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--green-500);
  background: rgba(255,255,255,.12);
}
.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 18px;
  cursor: pointer;
}
.lead-form__consent input { margin-top: 3px; accent-color: var(--green-500); }
.lead-form__submit { width: 100%; justify-content: center; border-color: rgba(255,255,255,.3); color: #fff; }
.lead-form__submit:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.lead-form__status { min-height: 20px; margin: 12px 0 0; font-size: .85rem; text-align: center; }
.lead-form__status.is-error { color: #fca5a5; }
.lead-form__status.is-success { color: var(--green-500); font-weight: 600; }

.badge-urgency {
  display: inline-block;
  background: rgba(227,189,109,.12);
  border: 1px solid var(--gold-400);
  color: var(--gold-400);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 22px;
}

/* ===== Floating WhatsApp button ===== */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(34,197,94,.4);
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.fab.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab:hover { background: var(--green-600); }
.fab__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--green-500);
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(.9); opacity: .6; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
/* ===== Footer ===== */
.footer { background: #082018; color: rgba(255,255,255,.7); padding-top: 64px; }
.footer .nav__logo-mark { color: #fff; }
.footer .nav__logo-mark span { color: var(--green-500); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p { margin-top: 14px; font-size: .9rem; max-width: 34ch; }
.footer__col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer__col a { display: block; font-size: .92rem; margin-bottom: 10px; }
.footer__col a:hover { color: var(--green-500); }
.footer__bottom-inner { padding: 26px 24px 32px; display: flex; flex-direction: column; gap: 14px; }
.disclaimer { font-size: .78rem; color: rgba(255,255,255,.45); max-width: 90ch; line-height: 1.6; }
.copyright { font-size: .8rem; color: rgba(255,255,255,.45); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(11,61,46,.08);
    gap: 4px;
  }
  .nav.is-open .nav__links a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav__cta { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { margin-top: 24px; }
  .hero__photo { max-width: 240px; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--split { grid-template-columns: 1fr; }
  .solusi__art { order: -1; max-width: 260px; margin: 0 auto; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { grid-template-columns: 1fr; gap: 30px; }

  .problem-list__item { grid-template-columns: 52px 1fr; gap: 16px; }
  .problem-list__num { font-size: 1.9rem; }
}

@media (max-width: 560px) {
  html, body { overflow-x: hidden; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 100px; }
  .section__cta .btn { max-width: 100%; white-space: normal; text-align: center; }
  .nav__burger { min-width: 44px; min-height: 44px; }
  .lead-form__consent { min-height: 44px; align-items: flex-start; }
  .lead-form__consent input { width: 20px; height: 20px; flex: 0 0 auto; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
