/* Signature: standar penuh. Tujuh section, tab layanan, pembuat pesan WhatsApp, footer tipis. */

svg use { pointer-events: none; }
.btn svg:not(.ico), .wa-float svg { fill: currentColor; }

/* menu: link penuh hanya muncul di layar lebar */
@media (min-width: 1000px) and (max-width: 1239px) {
  .nav-links { display: none; }
  .menu { display: block; }
}
@media (min-width: 1240px) {
  .nav-links { display: flex; gap: 1.35rem; }
}

/* tombol WhatsApp melayang */
.wa-float {
  position: fixed;
  z-index: 60;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(12, 22, 48, 0.55);
  transition: transform 0.2s ease, background-color 0.2s;
}
.wa-float:hover { background: #178a45; transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- 1. beranda ---------- */
.hero-grid { display: grid; gap: clamp(18px, 3vh, 40px); align-items: center; }
.hero-copy { display: grid; gap: 1.15rem; }
.hero-copy h1 { font-size: clamp(1.85rem, 1.1rem + 3vw, 3.7rem); max-width: 17ch; }
.hero-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--gold-2);
}
.hero-legal .ico { width: 1.25rem; height: 1.25rem; }
.hero-photo { display: grid; place-items: center; padding-inline: 14px; }
.hero .arch { --arch-w: auto; height: min(23svh, 210px); width: auto; }

@media (min-width: 600px) and (max-width: 899px) {
  .hero .arch { height: min(32svh, 380px); }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 96px); }
  .hero-photo { padding-inline: 0; }
  .hero .arch { height: min(66svh, 620px); margin-inline: auto 14px; }
}

/* ---------- 2. layanan: tab ---------- */
.lay { display: grid; gap: clamp(14px, 2.6vh, 32px); }
.lay-head { display: grid; gap: 0.5rem; }
.lay-body { display: grid; gap: clamp(14px, 2.4vh, 28px); }

.tabs {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1.5px solid var(--pink-2);
  margin-right: calc(var(--pad-r) * -1);
  padding-right: var(--pad-r);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  padding: 0.7rem 0.1rem;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1.5px;
  background: none;
  font: 600 0.95rem/1.2 var(--sans);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { color: var(--crimson); border-bottom-color: var(--crimson); }

.panel { display: grid; gap: 14px; align-items: center; }
.panel[hidden] { display: none; }
.panel > img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}
.panel-copy { display: grid; gap: 0.7rem; align-content: center; }
.panel-copy ul { display: grid; gap: 0.35rem; }
.panel-copy li { position: relative; padding-left: 1.4rem; font-size: 0.95rem; line-height: 1.5; }
.panel-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.7rem;
  height: 2px;
  background: var(--crimson);
}
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
.is-live .panel:not([hidden]) { animation: panel-in 0.35s ease; }

@media (min-width: 900px) {
  .lay-body { grid-template-columns: minmax(210px, 0.27fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }

  .tabs {
    position: relative;
    display: grid;
    gap: 0;
    overflow: visible;
    border-bottom: 0;
    margin-right: 0;
    padding-right: 0;
    padding-left: 0;
  }
  .tabs::before {
    content: "";
    position: absolute;
    left: 6px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--pink-2);
  }
  .tab {
    position: relative;
    padding: 0.85rem 0 0.85rem 2rem;
    border: 0;
    margin: 0;
    text-align: left;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
    white-space: normal;
  }
  .tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    background: var(--white);
    border: 2.5px solid var(--gold);
    transition: background-color 0.2s, border-color 0.2s;
  }
  .tab[aria-selected="true"] { border: 0; color: var(--crimson); }
  .tab[aria-selected="true"]::before { background: var(--crimson); border-color: var(--crimson); }

  .panel { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(22px, 3vw, 48px); }
  .panel > img { aspect-ratio: 3 / 2; }
  .panel-copy li { font-size: 1rem; }
}

/* ---------- 3. keunggulan ---------- */
.kg { display: grid; gap: clamp(16px, 3vh, 36px); align-items: center; }
.kg-photo { position: relative; margin: 0; }
.kg-photo > img { width: 100%; aspect-ratio: 16 / 6.5; object-fit: cover; }
/* HP: plakat jadi pita di bawah foto. Desktop: menumpuk di sudut foto. */
.plaque {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.1rem 0.7rem;
  padding: 0.6rem 0.9rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  border-top: 3px solid var(--gold-2);
}
.plaque img { height: 24px; width: auto; }
.plaque-t { font-size: 0.78rem; line-height: 1.3; color: #d6dcec; }
.plaque-n { font-family: var(--serif); font-size: 1rem; line-height: 1.3; color: var(--gold-2); }
.kg-copy { display: grid; gap: clamp(10px, 2.2vh, 26px); }
.kg-copy h2 { max-width: 18ch; }
.kg .proof { padding: 0.85rem 0; --rule: rgba(18, 32, 63, 0.22); }
.kg .proof p { font-size: 0.95rem; line-height: 1.55; }

@media (min-width: 900px) {
  .kg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 96px); }
  .kg-photo > img { aspect-ratio: 1024 / 687; }
  .plaque {
    position: absolute;
    right: -14px;
    bottom: -14px;
    display: grid;
    justify-items: center;
    gap: 0.15rem;
    padding: 1rem 1.4rem 1.1rem;
  }
  .plaque img { height: 34px; margin-bottom: 0.2rem; }
  .plaque-t { font-size: 0.85rem; }
  .plaque-n { font-size: 1.2rem; }
  .kg .proof { padding: 1.15rem 0; }
  .kg .proof p { font-size: 1rem; line-height: 1.7; }
}

/* ---------- 4. langkah ---------- */
.stp { display: grid; gap: clamp(18px, 4vh, 56px); }
.stp h2 { max-width: 18ch; }
.steps { display: grid; gap: clamp(14px, 2.6vh, 26px); counter-reset: none; }
.step { display: grid; gap: 0.3rem; position: static; }
.step p { color: #c8d0e6; font-size: 0.95rem; line-height: 1.55; max-width: 34ch; }
.step h3 { font-size: 1.2rem; }
.step-n {
  position: absolute;
  left: var(--thread-x);
  width: 36px;
  height: 36px;
  margin-left: -18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold-2);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--gold-2);
}

@media (min-width: 760px) {
  .steps {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 48px);
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 23px;
    left: calc((var(--pad-l) - var(--thread-x)) * -1);
    right: calc(var(--pad-r) * -1);
    height: 2px;
    background: var(--thread);
  }
  .step { gap: 0.6rem; align-content: start; }
  .step-n {
    position: relative;
    left: auto;
    margin: 0 0 0.8rem;
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
  .step h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); }
  .step p { font-size: 1rem; line-height: 1.65; }
}

/* ---------- 5. pelatihan ---------- */
.lat { display: grid; gap: clamp(16px, 3vh, 36px); align-items: center; }
.lat-copy { display: grid; gap: 1.1rem; }
.lat-copy h2 { max-width: 16ch; }
.lat-photo { margin: 0 calc(var(--pad-r) * -1) 0 0; }
.lat-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

@media (min-width: 900px) {
  .lat { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 96px); }
  .lat-photo img { aspect-ratio: 1024 / 572; }
}

/* ---------- 6. tanya jawab ---------- */
.faq-grid { display: grid; gap: clamp(14px, 2.6vh, 32px); align-items: center; }
.faq-side { display: grid; gap: clamp(14px, 3vh, 28px); }
.faq-side h2 { max-width: 16ch; }
.faq-photo { margin: 0; display: none; }
.faq-photo img { width: 100%; aspect-ratio: 1024 / 559; object-fit: cover; }
.faq details { border-top: 1px solid rgba(18, 32, 63, 0.22); }
.faq details:last-child { border-bottom: 1px solid rgba(18, 32, 63, 0.22); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  margin-top: -4px;
  border-right: 2px solid var(--crimson);
  border-bottom: 2px solid var(--crimson);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 2rem 1.1rem 0; max-width: 56ch; }

@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 96px); }
  .faq-photo { display: block; }
}

/* ---------- 7. kontak ---------- */
.ktk { display: grid; gap: 14px; grid-template-rows: auto minmax(150px, 1fr); min-height: 0; }
.ktk-copy { display: grid; gap: clamp(10px, 2vh, 20px); align-content: center; }
.ktk-copy h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.7rem); }
.ktk-map { min-height: 150px; background: var(--navy-2); }
.ktk-map iframe { width: 100%; height: 100%; min-height: 150px; border: 0; display: block; }

.wa { display: grid; gap: clamp(10px, 1.8vh, 18px); max-width: 560px; }
.wa fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wa legend, .wa label { font-size: 0.9rem; font-weight: 600; color: #d6dcec; }
.wa legend { padding: 0; margin-bottom: 0.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.3rem 0.85rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover span { border-color: var(--gold-2); }
.chip input:checked + span { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); }
.chip:has(input:focus-visible) span { outline: 3px solid var(--gold-2); outline-offset: 3px; }

.wa-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; align-items: end; }
.wa label { display: grid; gap: 0.3rem; }
.wa input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: var(--navy-2);
  color: var(--white);
  font: 500 1rem/1.3 var(--sans);
}
.wa input[type="text"]::placeholder { color: #93a0c2; }
.wa input[type="text"]:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(232, 200, 112, 0.35); }

.wa-preview { padding: 0.8rem; border-radius: 12px; background: var(--navy-3); }
.bubble {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  padding: 0.6rem 0.85rem;
  border-radius: 12px 12px 2px 12px;
  background: #d9fdd3;
  color: #14201a;
  font-size: 0.93rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.wa .btn { width: 100%; }

@media (min-width: 900px) {
  .ktk { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); grid-template-rows: minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
  .ktk-map { margin-top: calc(var(--gap-t) * -1); }
  .ktk-map, .ktk-map iframe { min-height: 0; }
  .wa .btn { width: auto; justify-self: start; }
  .bubble { font-size: 1rem; }
}

/* ---------- footer tipis ---------- */
.foot {
  position: relative;
  padding: 26px var(--pad-r) 88px var(--pad-l);
  background: var(--navy-3);
  color: #d6dcec;
}
.foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--thread-x);
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--crimson);
  border: 3px solid var(--gold-2);
}
.foot-in { display: grid; gap: 0.7rem; }
.brand--foot { color: var(--white); }
.foot address { font-size: 0.95rem; }
.foot-links { display: flex; gap: 1.4rem; font-weight: 600; }
.foot-links a { color: var(--gold-2); text-underline-offset: 4px; }
.foot .credit { opacity: 0.75; }

@media (min-width: 900px) {
  .foot { padding-block: 22px; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 1.6rem 2.4rem; }
  .foot .credit { grid-column: 1 / -1; }
}
