:root {
  --navy: #0b1c3d;
  --navy2: #123564;
  --steel: #1f6fb0;
  --sky: #7fb2e0;
  --ink: #0f1930;
  --ink-soft: #4c5772;
  --gold: #d9a441;
  --teal: #2dd6b0;
  --coral: #ff8a65;
  --bg: #f4f7fb;
  --line: #dde6f2;
  color-scheme: light;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  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
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  margin: 0
}

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

section {
  position: relative;
  scroll-margin-top: 96px
}

header.hero {
  scroll-margin-top: 96px
}

h2 {
  letter-spacing: -0.01em
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  backdrop-filter: none
}

.eyebrow svg {
  color: var(--steel)
}

/* NAV — Squarespace-style: flat, transparent, no glass pill, one solid CTA */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  color: #fff;
  padding: 0;
  transition: background .25s ease
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 24px;
  gap: 16px;
  max-width: 1200px;
  background: none;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
  transition: padding .25s ease
}

.nav.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink)
}

.nav.scrolled .wrap {
  padding: 16px 24px
}

.nav.scrolled .navlinks {
  color: var(--ink-soft)
}

.nav.scrolled .navlinks a:hover,
.nav.scrolled .navlinks a.active {
  color: var(--ink)
}

.nav.scrolled .nav-indicator {
  background: var(--navy)
}

.nav.scrolled .nav .btn-outline {
  color: var(--ink)
}

.nav.scrolled .btn-outline {
  color: var(--ink-soft)
}

.nav.scrolled .btn-outline:hover {
  color: var(--ink)
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em
}

.brand img {
  height: 44px;
  width: auto
}

.brand-badge {
  font-weight: 600;
  color: inherit;
  background: none;
  padding: 0;
  border-radius: 0;
  line-height: 1;
  transform: none;
  white-space: nowrap
}

.navlinks {
  position: relative;
  display: flex;
  gap: 34px;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82)
}

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

.navlinks a:hover {
  color: #fff
}

.navlinks a.active {
  color: #fff
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  height: 1px;
  border-radius: 0;
  background: #fff;
  left: 0;
  width: 0;
  opacity: 0;
  transition: left .32s cubic-bezier(.4, 0, .2, 1), width .32s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
  pointer-events: none
}

.nav-indicator.ready {
  opacity: 1
}

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

.nav-actions::before {
  content: none
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap
}

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

.btn-sky {
  background: var(--sky);
  color: var(--navy)
}

.btn-sky:hover {
  background: #9fc4e8
}

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

.btn-steel:hover {
  background: #185a90
}

.btn-outline {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: none
}

.btn-outline:hover {
  background: rgba(11, 28, 61, .04)
}

.nav .btn-outline {
  border: none;
  color: rgba(255, 255, 255, .85);
  padding: 11px 4px;
  background: none;
  font-weight: 500
}

.nav .btn-outline:hover {
  color: #fff;
  background: none
}

.nav-actions .btn-sky {
  background: #f4f1ea;
  color: var(--navy);
  padding: 12px 24px
}

.nav-actions .btn-sky:hover {
  background: #fff
}

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

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

@media (max-width:640px) {
  .nav .wrap {
    padding: 18px 16px
  }

  .brand {
    font-size: 13.5px;
    gap: 8px
  }

  .brand img {
    height: 32px
  }

  .nav-actions .btn-outline {
    display: none
  }

  .nav-actions .btn-sky {
    padding: 10px 18px;
    font-size: 12.5px
  }
}

/* HERO — Squarespace-inspired: quieter decoration, more air, editorial type */
.hero {
  position: relative;
  min-height: 92vh;
  background:
    linear-gradient(200deg, rgba(8, 22, 26, .42) 0%, rgba(6, 14, 30, .56) 40%, rgba(6, 14, 30, .92) 100%),
    url('../img/hero-bg.jpg');
  background-size: cover, cover;
  background-position: center, center;
  color: #fff;
  overflow: hidden;
  padding: 148px 0 88px
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .045;
}

.hero .wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}

.routes {
  display: none
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #cfe0f4;
  margin-bottom: 28px
}

.hero-tag svg {
  color: var(--gold)
}

.hero-tag::after {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, .4)
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 7.2vw, 86px);
  max-width: 780px;
  margin: 0 auto;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 600
}

.hero p.lead {
  font-size: 18px;
  color: #c3cfe3;
  max-width: 480px;
  margin: 26px auto 38px;
  line-height: 1.65
}

.hero .actions {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center
}

.hero .actions .btn-sky {
  background: #f4f1ea;
  color: var(--navy);
  padding: 16px 34px;
  font-size: 14.5px;
  letter-spacing: .01em
}

.hero .actions .btn-sky:hover {
  background: #fff
}

.hero .actions .btn-wa {
  background: none;
  color: #fff;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  border-radius: 0
}

.hero .actions .btn-wa:hover {
  border-color: #fff
}

.hero .hero-note {
  margin: 22px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .02em
}

.btn-arrow .arrow {
  display: inline-block;
  transition: transform .2s ease
}

.btn-arrow:hover .arrow {
  transform: translateX(4px)
}

.ring-wrap {
  display: flex;
  justify-content: center;
  padding: 56px 0 0;
  position: relative;
  z-index: 3
}

@media (max-width:640px) {
  .hero {
    padding-top: 110px;
    min-height: auto
  }

  .hero-tag {
    margin-bottom: 28px
  }

  .hero p.lead {
    margin: 22px 0 32px
  }
}

/* ABOUT — Squarespace-style light section, dark accent "badge" object for contrast */
.about {
  padding: 120px 0;
  color: var(--ink);
  background: var(--bg)
}

.about .eyebrow,
.about .eyebrow svg {
  color: var(--steel)
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center
}

.about-text p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 16px
}

.ring-outer {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy2), var(--navy));
  box-shadow: 0 30px 60px -24px rgba(11, 28, 61, .4)
}

.ring-outer svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1
}

.ring-stat {
  position: absolute;
  text-align: center;
  background: rgba(6, 14, 30, .6);
  padding: 5px 12px 6px;
  border-radius: 12px
}

.ring-stat b {
  display: block;
  font-family: 'Space Grotesk';
  font-size: 22px;
  color: #fff;
  text-shadow: 0 0 4px #0b1c3d, 0 0 8px #0b1c3d, 0 0 14px #0b1c3d
}

.ring-stat span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 4px #0b1c3d, 0 0 8px #0b1c3d, 0 0 14px #0b1c3d
}

.rs-top {
  top: 6px;
  left: 50%;
  transform: translateX(-50%)
}

.rs-left {
  bottom: 44px;
  left: 6px
}

.rs-right {
  bottom: 44px;
  right: 6px
}

.ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center
}

.ring-center img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 0 auto;
  background: #fff;
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45)
}

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

  .ring-outer {
    margin-top: 20px
  }
}

/* PRODUCTS carousel — Squarespace-style light section, bold rounded photo cards */
.products {
  padding: 120px 0;
  color: var(--ink);
  background: #fff
}

.products .eyebrow,
.products .eyebrow svg {
  color: var(--steel)
}

.prod-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap
}

.prod-head h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  letter-spacing: -0.02em
}

.prod-head p {
  color: var(--ink-soft);
  margin-top: 10px;
  max-width: 520px;
  font-size: 15px
}

.carousel-nav {
  display: flex;
  gap: 10px
}

.cnav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink)
}

.cnav-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy)
}

.carousel-outer {
  position: relative
}

.carousel {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin
}

.pcard {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  box-shadow: 0 1px 2px rgba(11, 28, 61, .04)
}

.pcard:hover {
  box-shadow: 0 26px 44px -20px rgba(11, 28, 61, .22);
  transform: translateY(-4px)
}

.pcard-media {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--navy2)
}

.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease
}

.pcard:hover .pcard-media img {
  transform: scale(1.06)
}

.pcard-body {
  padding: 0 22px 24px
}

.pcard-i {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -28px;
  margin-bottom: 16px;
  box-shadow: 0 10px 22px -8px rgba(11, 28, 61, .25);
  border: 1px solid var(--line)
}

.pcard-i svg {
  width: 26px;
  height: 26px
}

.pcard h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.005em
}

.pcard p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55
}

/* BENTO values — Squarespace-style light section, one dark accent tile for contrast */
.values {
  padding: 120px 0;
  color: var(--ink);
  background: var(--bg)
}

.values .eyebrow,
.values .eyebrow svg {
  color: var(--steel)
}

.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto
}

.bcell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(11, 28, 61, .04)
}

.bcell.big {
  grid-row: 1/3;
  background: linear-gradient(150deg, var(--navy2), var(--navy));
  border: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.bcell.big .bcell-i {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: none
}

.bcell.big p {
  color: #c3cfe3
}

.bcell-i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px
}

.bcell h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink)
}

.bcell.big h4 {
  font-size: 19px;
  color: #fff
}

.bcell p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft)
}

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

  .bcell.big {
    grid-column: 1/3;
    grid-row: auto
  }
}

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

  .bcell.big {
    grid-column: 1
  }
}

/* LEGAL — Squarespace-style light section, reuses the .bcell light-card treatment */
.legal {
  padding: 110px 0;
  color: var(--ink);
  background: #fff
}

.legal .eyebrow,
.legal .eyebrow svg {
  color: var(--steel)
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left
}

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

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

/* CLIENTS/PORTAL — deliberately kept dark: the one "black gallery" punctuation section, Squarespace-style contrast against the light sections around it */
.clients {
  padding: 120px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 28, 61, .94), rgba(11, 28, 61, .98)), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center
}

.clients .wrap {
  position: relative;
  z-index: 2
}

.clients-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}

.clients h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  max-width: 640px
}

.clients p {
  color: #c3cfe3;
  max-width: 560px;
  margin: 14px auto 34px;
  font-size: 15px
}

.clients-card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5)
}

.portal-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%
}

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

.portal-logos-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 28, 61, .12);
  border-color: var(--steel)
}

.portal-logos-box img {
  height: 40px;
  width: auto;
  max-width: none;
  display: block
}

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

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700
}

@media (max-width:480px) {
  .clients-card {
    padding: 24px 16px
  }

  .portal-logos {
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%
  }

  .portal-logos-box {
    padding: 10px 10px;
    border-radius: 10px;
    flex: 1 1 0
  }

  .portal-logos-box img {
    height: 24px;
    max-width: 100%
  }

  .badges {
    gap: 6px;
    flex-wrap: nowrap;
    width: 100%
  }

  .badge {
    padding: 5px 4px;
    font-size: 9.5px;
    flex: 1 1 0;
    text-align: center;
    white-space: normal;
    border-radius: 10px
  }
}

/* CONTACT — Squarespace-style light section */
.contact {
  padding: 0;
  color: var(--ink);
  background: #fff
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 440px
}

.contact-form-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  background: var(--bg)
}

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

.contact-r .eyebrow,
.contact-r .eyebrow svg {
  color: var(--steel)
}

.crow {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line)
}

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

.crow-i {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center
}

.crow h4 {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

.crow p,
.crow a {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink)
}

.crow a:hover {
  color: inherit
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px
}

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

  .contact-form-col {
    padding: 36px 24px
  }

  .contact-r {
    padding: 44px 24px
  }
}

footer {
  color: rgba(255, 255, 255, .6);
  padding: 30px 0;
  clip-path: polygon(0 14px, 100% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(11, 28, 61, .95), rgba(11, 28, 61, .98)), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center
}

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: 700;
  font-size: 13.5px
}

footer .fbrand img {
  height: 44px;
  width: 44px
}

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: 44px;
  width: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 9px;
  padding: 4px
}

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

/* Kontak (tel:) bukan navigasi halaman, jadi tidak perlu efek hover berubah warna */
.fcol a[href^="tel:"]:hover {
  color: rgba(255, 255, 255, .65)
}

.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;
  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) — kept as a light floating card for readability ===== */
.msg-card {
  color: var(--ink, #161513);
  background: #fff;
  border-radius: 16px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 20px 46px -14px rgba(11, 28, 61, .16);
  border: 1px solid var(--line);
  margin-top: 0;
  width: 100%;
  max-width: 520px;
}

.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(--steel);
  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(--steel);
  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
}

/* ===== BGM-DECK-CSS-START (Step 1/4/7: kartu deck di hero, DI-SCOPE ke #bgmDeck supaya tidak bentrok dgn .pcard produk) ===== */
.deck {
  position: relative;
  margin: 52px auto 0;
  z-index: 5;
  width: 100%;
  max-width: 1040px;
  padding: 0 56px 64px;
  overflow: visible;
}

.deck .swiper-slide {
  width: 300px;
  height: 376px;
}

@media (max-width:460px) {
  .deck {
    padding: 0 8px 56px;
    margin: 40px auto 0;
  }

  .deck .swiper-slide {
    width: 230px;
    height: 298px;
  }
}

#bgmDeck .pcard {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: box-shadow .3s ease;
}

#bgmDeck .pcard .art {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, var(--navy2), var(--steel));
  background-size: cover;
  background-position: center;
  color: #fff;
}

#bgmDeck .pcard .art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 14, 30, .78) 0%, rgba(6, 14, 30, 0) 40%);
}

#bgmDeck .pcard.c1 .art {
  background-image: url('../img/extra/produk-kapal-pesawat.jpg');
  background-position: center 55%;
}

#bgmDeck .pcard.c2 .art {
  background-image: url('../img/extra/tentang-tim.jpg');
  background-position: center 30%;
}

#bgmDeck .pcard.c3 .art {
  background-image: url('../img/produk/barang-kelontong.jpg');
}

#bgmDeck .pcard.c4 .art {
  background-image: url('../img/extra/klien-handshake.jpg');
  background-position: center 40%;
}

#bgmDeck .pcard.c5 .art {
  background-image: url('../img/extra/legalitas-dokumen.jpg');
}

#bgmDeck .pcard.c6 .art {
  background-image: url('../img/extra/kontak-meja.jpg');
}

#bgmDeck .pcard .lbl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 22px 22px;
  background: linear-gradient(0deg, rgba(6, 14, 30, .75) 10%, rgba(6, 14, 30, .15) 75%, transparent);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
}

#bgmDeck .pcard .lbl::before {
  content: "";
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--sky);
  border-radius: 2px;
  margin-bottom: 10px;
}

#bgmDeck .pcard .go {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6, 14, 30, .4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

#bgmDeck .pcard .idx {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 14, 30, .45);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .85);
}

#bgmDeck .swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  top: auto;
  display: flex;
  gap: 6px;
  justify-content: center;
}

#bgmDeck .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  opacity: 1;
  margin: 0 !important;
  transition: width .2s ease, background .2s ease;
}

#bgmDeck .swiper-pagination-bullet-active {
  background: var(--sky);
  width: 18px;
  border-radius: 4px;
}

#bgmDeck .swiper-button-next,
#bgmDeck .swiper-button-prev {
  color: #fff;
  top: 44%;
  width: 38px;
  height: 38px;
  background: rgba(6, 14, 30, .55);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background .2s ease, transform .2s ease;
}

#bgmDeck .swiper-button-next:after,
#bgmDeck .swiper-button-prev:after {
  font-size: 14px;
  font-weight: 800;
}

#bgmDeck .swiper-button-next:hover,
#bgmDeck .swiper-button-prev:hover {
  background: var(--steel);
  transform: scale(1.06);
}

#bgmDeck .swiper-button-disabled {
  opacity: .35;
}

@media (max-width:460px) {

  #bgmDeck .swiper-button-next,
  #bgmDeck .swiper-button-prev {
    display: none;
  }
}

/* ===== BGM-DECK-CSS-END ===== */

/* ===== ACCENT VARIETY (warna aksen non-biru: gold, teal, coral - supaya tidak monoton biru) ===== */
.carousel .pcard:nth-child(4n+2) .pcard-i {
  background: linear-gradient(135deg, var(--gold), var(--navy2));
  color: #fff;
  border-color: transparent
}

.carousel .pcard:nth-child(4n+3) .pcard-i {
  background: linear-gradient(135deg, var(--teal), var(--navy2));
  color: #fff;
  border-color: transparent
}

.carousel .pcard:nth-child(4n) .pcard-i {
  background: linear-gradient(135deg, var(--coral), var(--navy2));
  color: #fff;
  border-color: transparent
}

#bgmDeck .pcard.c3 .lbl::before {
  background: var(--gold)
}

#bgmDeck .pcard.c5 .lbl::before {
  background: var(--teal)
}

.bento .bcell:nth-child(3) .bcell-i {
  color: var(--gold)
}

.bento .bcell:nth-child(4) .bcell-i {
  color: var(--teal)
}

.legal-grid .bcell:nth-child(2) .bcell-i {
  color: var(--gold)
}

.legal-grid .bcell:nth-child(3) .bcell-i {
  color: var(--teal)
}

.badges .badge:nth-child(1) svg {
  color: var(--gold)
}

.badges .badge:nth-child(2) svg {
  color: var(--teal)
}

/* ===== HERO ILLUSTRATION (grafis besar global-trade: globe + kapal kargo + rute) ===== */
/* ===== FLOATING PHOTO CARDS (foto asli produk BGM, gaya polaroid/layered kayak referensi) ===== */
.floating-photo {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .55);
  border: 6px solid #fff
}

.floating-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.fp-tentang {
  left: -24px;
  bottom: 20px;
  width: 170px;
  height: 210px;
  transform: rotate(-8deg)
}

.fp-portal {
  right: -20px;
  top: 70px;
  width: 160px;
  height: 200px;
  transform: rotate(7deg)
}

.fp-legal {
  left: -20px;
  top: 130px;
  width: 160px;
  height: 200px;
  transform: rotate(-6deg)
}

.fp-mengapa {
  right: -20px;
  top: 90px;
  width: 170px;
  height: 200px;
  transform: rotate(6deg)
}

@media (max-width:1150px) {
  .floating-photo {
    display: 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(--navy);
  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(--steel);
}

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