:root {
  --gold-text: #765818;
}

html {
  scroll-padding-top: 7rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 110;
  padding: 0.6rem 1rem;
  color: var(--navy);
  background: var(--cream);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

body :is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid #f5edd6;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--navy);
}

#navbar.is-scrolled {
  padding: 1rem 5%;
  border-bottom-color: rgba(184, 151, 58, 0.4);
}

.mobile-menu-panel {
  max-height: calc(100dvh - 6rem);
  overflow-y: auto;
}

.section-eyebrow,
.sec-eyebrow,
.contact-item-label,
.tl-year,
.team-edu,
.svc-subtitle,
.svc-cta-link,
.info-block-label,
.quick-action {
  color: var(--gold-text);
}

#services .section-eyebrow,
#team .section-eyebrow,
#visimisi .sec-eyebrow,
#proses .sec-eyebrow,
#kantor .sec-eyebrow,
.service-num,
.service-link,
.team-role,
.nilai-num,
.office-type {
  color: var(--gold-light);
  opacity: 1;
}

.why-num {
  color: var(--gold-text);
  opacity: 1;
}

.stat-label,
.about-badge-text,
.sejarah-img-badge-text,
.cta-body {
  color: var(--navy);
  opacity: 1;
}

#proses .sec-body,
#kantor .sec-body,
.nilai-body,
.step-desc,
.office-info-label {
  color: #c3cbd6;
}

.info-block-note,
.form-note {
  color: var(--text-mid);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-mid);
  opacity: 1;
}

.breadcrumb a,
.footer-brand-desc,
.footer-col a,
.footer-copy {
  color: #aeb7c3;
}

.footer-tagline {
  color: var(--gold-light);
  opacity: 1;
}

.draft-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.draft-actions a,
.draft-copy {
  font: inherit;
  color: var(--navy);
}

.draft-copy {
  padding: 0.35rem 0.7rem;
  background: var(--cream);
  border: 1px solid var(--gold-text);
  cursor: pointer;
}

.draft-status:empty {
  display: none;
}

@media (max-width: 1000px) {
  #navbar .nav-links,
  #navbar .nav-cta {
    display: none;
  }

  #navbar.menu-ready .mobile-menu-toggle {
    display: inline-flex;
  }

  #navbar:not(.menu-ready) {
    position: static;
    display: block;
  }

  #navbar:not(.menu-ready) .mobile-menu-toggle {
    display: none;
  }

  #navbar:not(.menu-ready) .mobile-menu-panel {
    display: block;
    position: static;
    padding-inline: 0;
    max-height: none;
  }
}

@media (max-width: 900px) {
  .stats-bar,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-num {
    font-size: clamp(1rem, 4.6vw, 2rem);
    overflow-wrap: anywhere;
  }

  .kontak-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .form-submit {
    max-width: 100%;
    white-space: normal;
  }

  .wa-float {
    width: 46px;
    height: 46px;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  body:has(.contact-form:focus-within) .wa-float {
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .hero-scroll {
    animation: none;
  }

  #navbar,
  .team-photo,
  .wa-float {
    transition: none;
  }
}
