*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --dark: #111418;
  --panel: #181d23;
  --border: #232a33;
  --gold: #efc900;
  --gold-light: #ffdd35;
  --gold-dim: rgba(245, 166, 35, 0.12);
  --white: #ffffff;
  --muted: #8a95a3;
  --red: #e63946;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  /* background: var(--dark); */
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgb(7, 33, 86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  /* font-family: var(--font-display); */
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  /* font-family: var(--font-display); */
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold);
  border-radius: 10px;
  color: rgb(7, 33, 86) !important;
  padding: 8px 20px;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  transition:
    background 0.2s,
    transform 0.15s !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}
.nav-cta::after {
  display: none !important;
}

/* ── LANG TOGGLE ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  margin-left: 8px;
}
.lang-btn {
  background: transparent;
  border: none;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 32px;
}

.lang-btn img {
  width: 40px;
  height: 24px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: 24px 5%;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  /* font-family: var(--font-display); */
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}
.mobile-menu a:hover {
  color: var(--gold);
}

/* ── HERO ── */
#beranda {
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5% 80px;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

h1 {
  /* font-family: var(--font-display); */
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
  font-size: 24px;
}

h1 span {
  display: block;
  color: var(--gold);
  font-size: 2em;
  margin-top: 12px;
}

.hero-desc {
  font-size: 24px;
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.2s ease both;
  line-height: 1.7;
}

.hero-free-check {
  position: absolute;
  bottom: 32px;
  width: max-content;
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
  background: rgba(239, 201, 0, 0.08);
  border: 1px solid rgba(239, 201, 0, 0.25);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--gold);
  backdrop-filter: blur(10px);
  text-align: center;
  z-index: 2;
  animation: fadeUp 0.6s 0.2s ease both;
}

/* ── SECTIONS ── */
section {
  padding: 100px 5%;
}

.section-label {
  /* font-family: var(--font-display); */
  font-size: 24px;
  font-weight: 700;
  /* letter-spacing: 4px; */
  /* text-transform: uppercase; */
  color: var(--black);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.section-label::after {
  content: "";
  display: block;
  width: 80px;
  height: 8px;
  background: var(--gold);
}

.section-intro {
  font-size: 15px;
  color: var(--black);
  max-width: 520px;
  line-height: 1.75;
}

/* ── TENTANG ── */
#tentang {
  /* background: var(--white); */
  position: relative;
  overflow: hidden;
}
#tentang::before {
  content: "";
  position: absolute;
  right: -200px;
  top: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 166, 35, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.tentang-flex {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.tentang-image {
  display: flex;
  justify-content: center;
  width: 100%;
}

.tentang-image img {
  width: 80%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.tentang-text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.tentang-text p {
  font-size: 15px;
  color: var(--black);
  line-height: 1.8;
  margin-bottom: 20px;
}
.tentang-text p:last-child {
  margin-bottom: 0;
}

.visi-misi-grid {
  display: grid;
  gap: 2px;
}
.vm-card {
  background: rgb(7, 33, 86);
  border: 1px solid var(--border);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.vm-card:hover {
  border-color: var(--gold);
}
.vm-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
}
.vm-card h3 {
  /* font-family: var(--font-display); */
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--gold);
}
.vm-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vm-card li {
  font-size: 13px;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.vm-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
}

/* ── LAYANAN ── */

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.layanan-card {
  border-radius: 28px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.layanan-card:hover {
  transform: translateY(-6px);
}

.blue-card {
  background: rgb(7, 33, 86);
  color: #efc900;
}

.blue-card h3,
.blue-card li {
  color: #efc900;
}

.blue-card li::before {
  color: #efc900;
}

.blue-card .card-icon {
  background: #efc900;
  color: rgb(7, 33, 86);
}

.yellow-card {
  background: #efc900;
  color: rgb(7, 33, 86);
}

.yellow-card h3,
.yellow-card li {
  color: rgb(7, 33, 86);
}

.yellow-card li::before {
  color: rgb(7, 33, 86);
}

.yellow-card .card-icon {
  background: rgb(7, 33, 86);
  color: #efc900;
}

.card-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 22px;
}

.card-num {
  position: static;
  font-size: 34px;
  font-weight: 800;
  opacity: 1;
  line-height: 1;
}

.layanan-card h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 22px;
}

.layanan-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.layanan-card li {
  font-size: 15px;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.layanan-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
}

/* ── TIM ── */
.tim-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
}

.tim-intro-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tim-intro p {
  font-size: 15px;
  color: var(--black);
  line-height: 1.75;
  max-width: 640px;
}

.tim-intro img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  height: 300px;
  object-fit: cover;
  display: block;
  margin: auto;
}

.divisi {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.divisi-grid-1,
.divisi-grid-2 {
  display: grid;
  align-items: center;
  gap: 80px;
}

.divisi-grid-1 {
  grid-template-columns: 1.3fr 1fr;
}

.divisi-grid-2 {
  grid-template-columns: 1fr 1.3fr;
}

.divisi p {
  font-size: 13px;
  color: var(--black);
  line-height: 1.75;
  max-width: 640px;
}

.divisi img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;

  object-fit: cover;
  display: block;

  border-radius: 50%;

  margin: auto;
}

.divisi-grid-1 img {
  transform: translateY(160px);
}

.divisi-grid-2 img {
  transform: translateY(-80px);
}

/* ── BRANDS ── */
#brands {
  /* background: var(--dark); */
  padding: 0px 5% 60px 5%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-content: center;
}

.brand-item {
  background: #fff;
  border-radius: 18px;

  padding: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 120px;

  transition: all 0.25s;
}
.brand-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.brand-item:last-child {
  grid-column: 3;
}

.brand-item img {
  max-width: 100%;
  max-height: 70px;

  width: auto;
  height: auto;

  object-fit: contain;
  display: block;
}

/* ── HUBUNGI ── */
#hubungi {
  /* background: var(--panel); */
  position: relative;
  overflow: hidden;
}
#hubungi::before {
  content: "";
  position: absolute;
  left: -200px;
  bottom: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 166, 35, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hubungi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item {
  padding: 12px 0px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgb(7, 33, 86);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-value {
  font-size: 15px;
  color: var(--black);
  font-weight: 500;
}

.contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-value a:hover {
  color: var(--gold);
}

.map-wrapper {
  width: 100%;

  aspect-ratio: 4 / 3;

  overflow: hidden;
  border-radius: 24px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* wa float */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  animation: fadeUp 1s 0.8s ease both;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ── FOOTER ── */
footer {
  background: rgb(7, 33, 86);
  border-top: 1px solid var(--border);
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-text {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .tentang-flex {
    grid-template-columns: 1fr;
  }

  .tentang-image img {
    height: 300px;
  }

  .tentang-text-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tentang-image {
    order: -1;
  }

  .tentang-image img {
    width: 100%;
    height: 240px;
  }

  .tentang-text p {
    font-size: 14px;
    line-height: 1.7;
  }

  .tim-intro,
  .hubungi-grid {
    grid-template-columns: 1fr;
  }

  .layanan-grid {
    grid-template-columns: 1fr;
  }

  .divisi {
    margin-top: 120px;
    gap: 60px;
  }

  .divisi-grid-1,
  .divisi-grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .divisi-grid-2 .reveal:first-child {
    order: 2;
  }

  .divisi-grid-2 .reveal:last-child {
    order: 1;
  }

  .divisi-grid-1 img,
  .divisi-grid-2 img {
    transform: translateY(0);
  }

  .divisi img {
    max-width: 280px;
  }

  .divisi p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 100%;
  }

  .divisi .section-label {
    margin-bottom: 18px;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-item:last-child {
    grid-column: auto;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .hubungi-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-wrapper {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 500px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  section {
    padding: 70px 5%;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-item:last-child {
    grid-column: auto;
  }

  .brand-item {
    min-height: 100px;
    padding: 18px;
  }

  .brand-item img {
    max-height: 50px;
  }
}
