:root {
  --red: #C81E1E;
  --red-dark: #8f1414;
  --ink: #161513;
  --paper: #faf8f5;
  --line: #e7e1da;
  --soft: #f2ede7;
  color-scheme: light;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.6
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.dh {
  font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.02;
  margin: 0
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px
}

section {
  position: relative
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--red)
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 16px
}

.brand img {
  height: 56px;
  width: 56px;
}

.brand-badge {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  background: var(--red);
  padding: 2px 13px 6px;
  border-radius: 999px;
  line-height: 1;
  transform: rotate(-3deg);
  white-space: nowrap
}

.navlinks {
  display: flex;
  gap: 26px;
  font-weight: 600;
  font-size: 14px;
  color: #cfcac4
}

.navlinks a {
  position: relative;
  padding-bottom: 5px
}

.navlinks a:hover {
  color: #fff
}

.navlinks a.active {
  color: #fff
}

.navlinks a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--red)
}

.nav-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: center
}

.nav-actions::before {
  content: "";
  position: absolute;
  top: -18px;
  bottom: -18px;
  right: -24px;
  width: 190px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 78% 50%, var(--red) 0%, transparent 68%);
  opacity: .45;
  filter: blur(22px)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 3px;
  font-weight: 800;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .03em;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap
}

.btn-pill {
  border-radius: 999px
}

.btn-red {
  background: var(--red);
  color: #fff
}

.btn-red:hover {
  background: var(--red-dark)
}

.btn-line {
  border-color: #fff;
  color: #fff
}

.btn-line:hover {
  background: #fff;
  color: var(--ink)
}

.btn-dark {
  border-color: var(--ink);
  color: var(--ink)
}

.btn-dark:hover {
  background: var(--ink);
  color: #fff
}

.btn-wa {
  background: #25D366;
  color: #fff
}

@media (max-width:860px) {
  .navlinks {
    display: none
  }
}

/* HERO split */
.hero {
  background: var(--ink);
  color: #fff;
  overflow: hidden
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 560px
}

.hero-l {
  padding: 90px 44px 60px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px
}

.hero-l .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 22px
}

.hero-l .kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red)
}

.hero-l h1 {
  font-size: clamp(38px, 6vw, 72px);
  color: #fff
}

.hero-l p.lead {
  font-size: 17px;
  color: #d8d3cd;
  max-width: 520px;
  margin: 22px 0 30px
}

.hero-l .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hero-r {
  position: relative;
  background: var(--red);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px
}

.hero-r-inner {
  text-align: center
}

.hero-r .big {
  font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(70px, 9vw, 120px);
  line-height: .85;
  color: #fff
}

.hero-r .lbl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-top: 10px
}

.hero-r .sep {
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, .6);
  margin: 26px auto
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-r {
    clip-path: none;
    padding: 50px 24px
  }

  .hero-l {
    padding: 60px 24px 40px
  }
}

/* TICKER */
.ticker-wrap {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, .25)
}

.ticker {
  display: inline-block;
  padding: 13px 0;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  animation: tick 32s linear infinite
}

@keyframes tick {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ABOUT */
.about {
  padding: 96px 0 84px;
  background: var(--paper)
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red)
}

.quote {
  font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.28;
  max-width: 820px;
  margin: 0 0 40px;
  color: var(--ink)
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 52px
}

.about-cols p {
  color: #4c4640;
  font-size: 15px;
  margin: 0 0 16px
}

.digits {
  display: flex;
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink)
}

.digit {
  flex: 1;
  padding: 26px 10px;
  text-align: center;
  border-right: 1px solid var(--line)
}

.digit:last-child {
  border-right: none
}

.digit b {
  display: block;
  font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--red)
}

.digit span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b6459
}

@media (max-width:700px) {
  .about-cols {
    grid-template-columns: 1fr
  }

  .digits {
    flex-wrap: wrap
  }

  .digit {
    flex: 1 1 33%;
    border-bottom: 1px solid var(--line)
  }
}

/* PRODUCTS as list rows */
.products {
  padding: 90px 0;
  background: var(--ink);
  color: #fff
}

.products .shead {
  max-width: 640px;
  margin: 0 0 46px
}

.products .shead h2 {
  font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 0;
  color: #fff
}

.products .shead p {
  color: #c9c4be;
  margin-top: 12px;
  font-size: 15.5px
}

.plist {
  border-top: 1px solid rgba(255, 255, 255, .16)
}

.prow {
  display: grid;
  grid-template-columns: 70px 60px 1fr 30px;
  align-items: center;
  gap: 22px;
  padding: 26px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background .15s ease
}

.prow:hover {
  background: rgba(200, 30, 30, .12)
}

.prow-n {
  font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--red)
}

.prow-i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff
}

.prow-t h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800
}

.prow-t p {
  margin: 0;
  color: #b9b4ae;
  font-size: 14px;
  max-width: 640px
}

.prow-a {
  opacity: .55
}

@media (max-width:640px) {
  .prow {
    grid-template-columns: 40px 44px 1fr;
    column-gap: 14px
  }

  .prow-a {
    display: none
  }
}

/* VALUES */
.values {
  padding: 90px 0;
  background: var(--soft)
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.vchip {
  background: #fff;
  border: 1.5px solid var(--line);
  padding: 26px 22px;
  text-align: left
}

.vchip-i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px
}

.vchip h4 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 800
}

.vchip p {
  margin: 0;
  font-size: 13.5px;
  color: #655f57
}

@media (max-width:900px) {
  .vgrid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:520px) {
  .vgrid {
    grid-template-columns: 1fr
  }
}

/* LEGAL */
.legal {
  padding: 90px 0;
  background: var(--paper)
}

.lgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

@media (max-width:820px) {
  .lgrid {
    grid-template-columns: 1fr
  }
}

/* CLIENTS */
.clients {
  padding: 80px 0;
  background: var(--red);
  color: #fff;
  text-align: center
}

.clients .eyebrow {
  color: #fff;
  justify-content: center
}

.clients .eyebrow::before {
  background: #fff
}

.clients h2 {
  font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 auto 14px;
  max-width: 600px
}

.clients p {
  color: rgba(255, 255, 255, .88);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 15px
}

.clients-card {
  background: #fff;
  border-radius: 6px;
  padding: 30px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 680px;
  border: 2px solid #161513
}

.clients-card img {
  max-width: 400px;
  width: 100%
}

.portal-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center
}

.portal-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 26px;
  border-radius: 16px;
  border: 1.5px solid var(--ink);
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease
}

.portal-logo-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  transform: translateY(-2px)
}

.portal-logo-box img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center
}

.badge {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em
}

/* CONTACT */
.contact {
  padding: 0;
  background: var(--ink);
  color: #fff;
  border-top: 6px solid var(--ink)
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 420px
}

.contact-l {
  background: var(--red);
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .15)
}

.contact-l .eyebrow {
  color: #fff
}

.contact-l .eyebrow::before {
  background: #fff
}

.contact-l h2 {
  font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 38px);
  color: #fff;
  margin: 0 0 16px
}

.contact-l p {
  color: rgba(255, 255, 255, .9);
  margin: 0 0 28px;
  font-size: 15px;
  max-width: 360px
}

.contact-l .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.contact-r {
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px
}

.crow {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .14)
}

.crow:last-child {
  border-bottom: none;
  padding-bottom: 0
}

.crow-i {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center
}

.crow h4 {
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a8a29a
}

.crow p,
.crow a {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: #fff
}

.crow a:hover {
  color: var(--red)
}

@media (max-width:800px) {
  .contact-grid {
    grid-template-columns: 1fr
  }

  .contact-l,
  .contact-r {
    padding: 48px 24px
  }
}

footer {
  background: #0f0e0c;
  color: rgba(255, 255, 255, .55);
  padding: 30px 0
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px
}

footer .fbrand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 800;
  font-size: 13px
}

footer .fbrand img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  background: none;
  border-radius: 0;
  padding: 0;
}

footer .flinks {
  display: flex;
  gap: 18px
}

footer a:hover {
  color: #fff
}

.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 20px
}

.fbrand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  margin-bottom: 10px
}

.fbrand img {
  height: 56px;
  width: 56px;
  object-fit: contain;
}

.ftag {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  max-width: 280px;
  line-height: 1.65
}

.fcol h5 {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px
}

.fcol a,
.fcol .faddr {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .65)
}

.fcol a:hover {
  color: #fff
}

.fcol .faddr {
  color: rgba(255, 255, 255, .65);
  line-height: 1.5
}

.foot-cta {
  margin-top: 14px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07)
}

.foot-cta p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 10px;
  line-height: 1.5
}

footer .bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, .5)
}

.btn-wa {
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px
}

@media (max-width:900px) {
  .fgrid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:560px) {
  .fgrid {
    grid-template-columns: 1fr
  }
}

/* ===== KIRIM PESAN (contact form) ===== */
.msg-card {
  color: var(--ink, #161513);
  background: #fff;
  border-radius: 16px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 14px 34px rgba(15, 15, 15, .10);
  border: 1px solid rgba(0, 0, 0, .06);
  margin: 34px auto 0;
  max-width: 640px;
}

.msg-card h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.msg-card .hint {
  font-size: .85rem;
  opacity: .65;
  margin: 0 0 20px;
}

.msg-card .field {
  margin-bottom: 14px;
}

.msg-card .field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 6px;
  opacity: .8;
}

.msg-card .field input,
.msg-card .field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .12);
  font-family: inherit;
  font-size: .9rem;
  background: rgba(0, 0, 0, .02);
  resize: vertical;
}

.msg-card .field input:focus,
.msg-card .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
}

.msg-card .btn-wa-full {
  display: block;
  width: 100%;
  text-align: center;
  background: #25D366;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .86rem;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
}

.msg-card .btn-wa-full:hover {
  background: #1ebd5a;
}

.msg-card .btn-submit {
  display: block;
  width: 100%;
  background: var(--red);
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .86rem;
  border: none;
  cursor: pointer;
}

.msg-card .btn-submit:disabled {
  opacity: .65;
  cursor: default;
}

.msg-card .form-note {
  font-size: .74rem;
  opacity: .55;
  margin-top: 12px;
  text-align: center;
}

#toast {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 260px;
  max-width: 360px;
  padding: 14px 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
  z-index: 9999;
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

#toast.success {
  background: #16a34a;
}

#toast.error {
  background: #dc2626;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* ===== Floating action buttons (back-to-top + WhatsApp) ===== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red);
}

.wa-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 70;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, .5);
}

@media (max-width:600px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }

  .wa-float {
    left: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }
}
