html {
  scroll-behavior: smooth;
}

:root {
  --kejari-cream: #efe9d8;
  --kejari-cream-soft: #eee6d2;
  --kejari-cream-card: #fbf9ef;
  --kejari-cream-panel: #fffdf5;
  --kejari-line: rgba(0, 83, 63, 0.15);
  --kejari-green: #00533f;
  --kejari-green-deep: #003f31;
  --kejari-gold: #d6ad45;
  --kejari-muted: #58645d;
}

body {
  font-family:
    "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--kejari-cream);
  color: #183b31;
  font-size: 14px;
  line-height: 1.55;
}

main h1,
main .text-7xl {
  font-size: clamp(2.25rem, 5vw, 4.25rem) !important;
  line-height: 1.05 !important;
}

main h2,
main .text-5xl {
  font-size: clamp(1.75rem, 3vw, 2.75rem) !important;
  line-height: 1.15 !important;
}

main .text-4xl {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem) !important;
  line-height: 1.18 !important;
}

main .text-3xl {
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  line-height: 1.22 !important;
}

main .text-2xl {
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
}

main .text-xl {
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

main .text-lg {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}

main p,
main li,
main a,
main label,
main input,
main textarea,
main select,
main button {
  font-size: 0.875rem;
}

main .text-sm {
  font-size: 0.8125rem !important;
}

main .text-xs {
  font-size: 0.7rem !important;
}

main .leading-8 {
  line-height: 1.6 !important;
}

main .p-12 {
  padding: 2.25rem !important;
}

main .p-8 {
  padding: 1.65rem !important;
}

main .p-6 {
  padding: 1.35rem !important;
}

main .p-5 {
  padding: 1.15rem !important;
}

main .py-20 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

main .mt-16 {
  margin-top: 3.25rem !important;
}

main .mt-14 {
  margin-top: 2.75rem !important;
}

main .mt-12 {
  margin-top: 2.5rem !important;
}

main .mt-10 {
  margin-top: 2rem !important;
}

.quick-service-card h3,
.news-card h3,
.sidebar-card h2,
.cream-surface h3 {
  font-size: 1rem !important;
  line-height: 1.35 !important;
}

.quick-service-card p,
.news-card p,
.sidebar-card p,
.cream-surface p {
  font-size: 0.82rem !important;
}

.bg-white,
.bg-white\/90,
.bg-white\/95 {
  background-color: var(--kejari-cream-card) !important;
}

.bg-white\/10,
.bg-white\/15 {
  background-color: rgba(239, 233, 216, 0.14) !important;
}

.bg-slate-50 {
  background-color: var(--kejari-cream) !important;
}

.bg-slate-100,
.hover\:bg-slate-100:hover,
.hover\:bg-slate-50:hover {
  background-color: var(--kejari-cream-soft) !important;
}

.bg-desa-50 {
  background-color: #e8e0ca !important;
}

.bg-desa-100 {
  background-color: #d9d1bd !important;
}

.bg-desa-600,
.hover\:bg-desa-600:hover {
  background-color: #0a654f !important;
}

.bg-desa-700,
.hover\:bg-desa-700:hover {
  background-color: var(--kejari-green) !important;
}

.bg-desa-900 {
  background-color: var(--kejari-green-deep) !important;
}

.bg-gold,
.hover\:bg-\[\#ffd36b\]:hover {
  background-color: var(--kejari-gold) !important;
}

.text-slate-950,
.text-slate-900,
.text-desa-900 {
  color: var(--kejari-green-deep) !important;
}

.text-slate-800,
.text-slate-700,
.text-desa-700,
.text-desa-800,
.text-desa-600 {
  color: #183b31 !important;
}

.text-slate-600,
.text-slate-500,
.text-slate-400 {
  color: #58645d !important;
}

.text-gold {
  color: var(--kejari-gold) !important;
}

.border-slate-200,
.border-slate-100,
.border-desa-100,
.divide-slate-100 > :not([hidden]) ~ :not([hidden]),
.divide-border > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--kejari-line) !important;
}

.shadow-soft {
  box-shadow: 0 16px 40px rgba(0, 63, 49, 0.08) !important;
}

input,
textarea,
select,
.form-control {
  background-color: var(--kejari-cream-panel) !important;
  border-color: var(--kejari-line) !important;
  color: #183b31 !important;
}

article,
form,
.rounded-lg,
.shadow-soft {
  border-color: var(--kejari-line);
}

.quick-service-card,
.news-card,
.sidebar-card,
.cream-surface {
  background-color: var(--kejari-cream-card) !important;
  border-color: var(--kejari-line) !important;
}

.quick-service-card,
.news-card,
.sidebar-card,
.cream-surface,
.bg-white,
.bg-white\/90,
.bg-white\/95 {
  box-shadow: 0 14px 34px rgba(0, 63, 49, 0.07) !important;
}

.cream-section {
  background-color: var(--kejari-cream) !important;
}

.ticker-mask {
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}

.ticker-track {
  animation: kejariTicker 22s linear infinite;
  display: inline-flex;
  min-width: max-content;
  padding-left: 100%;
  white-space: nowrap;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes kejariTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contact-page h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
}

.contact-page h2 {
  font-size: .92rem !important;
}

.contact-page p {
  font-size: .82rem !important;
}

.rating-option.is-selected {
  background-color: var(--kejari-green) !important;
  border-color: var(--kejari-green) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(0, 83, 63, .18) !important;
}

.rating-option.is-selected svg {
  color: var(--kejari-gold) !important;
  fill: currentColor;
}

@media (max-width: 1023px) {
  header nav {
    max-width: 100%;
  }

  main section {
    overflow-x: hidden;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 13px;
  }

  main .py-20 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .contact-page {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  .quick-service-card,
  .news-card,
  .sidebar-card,
  .cream-surface {
    border-radius: 6px !important;
  }
}
