/* ═══════════════════════════════════════════════════════════
   GROSIRIA — PT Grosir Ria Jaya
   Dark & premium single-page company site
   Palette sampled from brand: navy #1D2742 · orange #F36418
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy-950: #0C1120;
  --navy-900: #111830;
  --navy-800: #1D2742;
  --navy-700: #29365A;
  --navy-600: #384770;
  --orange: #F36418;
  --orange-bright: #FF7A2F;
  --orange-soft: rgba(243, 100, 24, 0.14);
  --white: #FFFFFF;
  --text: #E7EBF5;
  --text-dim: #9BA6C0;
  --line: rgba(155, 166, 192, 0.16);
  --glass: rgba(29, 39, 66, 0.55);
  --radius: 18px;
  --shadow: 0 20px 50px rgba(5, 8, 18, 0.55);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 85% -100px, rgba(243, 100, 24, 0.09), transparent 60%),
    var(--navy-950);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ── Typography ─────────────────────────────── */
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.grad {
  background: linear-gradient(92deg, var(--orange-bright), #FFB253);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; display: flex; }
.center { text-align: center; }

.section { padding: clamp(70px, 9vw, 110px) 0; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(17, 24, 48, 0.85) 12%, rgba(17, 24, 48, 0.85) 88%, transparent);
}
.section-sub {
  color: var(--text-dim);
  max-width: 640px;
  margin: 14px auto 0;
}

/* ── Reveal animation ───────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  color: #fff;
  box-shadow: 0 12px 30px rgba(243, 100, 24, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(243, 100, 24, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-bright); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ══════════ HEADER ══════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(12, 17, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(5, 8, 18, 0.45);
  padding: 10px 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--white); }
.nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(243, 100, 24, 0.32);
}
.nav .nav-cta:hover { box-shadow: 0 10px 28px rgba(243, 100, 24, 0.5); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════ HERO ══════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero-city.jpg") center 30% / cover no-repeat;
  opacity: 0.35;
  filter: saturate(0.4);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 17, 32, 0.55), rgba(12, 17, 32, 0.92) 78%, var(--navy-950)),
    linear-gradient(100deg, rgba(12, 17, 32, 0.9) 25%, transparent 70%);
}
.hero-glow {
  position: absolute;
  width: 560px; height: 560px;
  right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(243, 100, 24, 0.22), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange-bright);
  box-shadow: 0 0 0 4px var(--orange-soft);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-dim);
  max-width: 600px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(24px, 5vw, 64px);
  margin-top: 60px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
}
.hero-stats dt::after { content: ""; }
.hero-stats dd { color: var(--text-dim); font-size: 0.85rem; margin-top: 2px; }

/* ══════════ CLIENTS MARQUEE ══════════ */
.clients-bar { padding: 46px 0 60px; border-block: 1px solid var(--line); background: rgba(17, 24, 48, 0.5); }
.clients-title {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 30px;
}
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: scroll 36s linear infinite;
}
.marquee-track img {
  height: 56px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 7px 12px;
  object-fit: contain;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ══════════ SPLIT SECTIONS (Tentang / Solusi) ══════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 1fr; }

.about-figure { position: relative; }
.about-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
}
.about-card {
  position: absolute;
  left: 22px; bottom: -24px;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  color: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 14px 34px rgba(243, 100, 24, 0.4);
  display: grid;
  gap: 2px;
  max-width: 82%;
}
.about-card strong { font-size: 1.02rem; }
.about-card span { font-size: 0.82rem; opacity: 0.92; line-height: 1.4; }

.about-copy > p:not(.eyebrow) { color: var(--text-dim); margin-top: 16px; }

.values {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.values li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 17px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.values li:hover { border-color: rgba(243, 100, 24, 0.55); transform: translateY(-3px); }
.val-ic {
  font-size: 1.15rem;
  background: var(--orange-soft);
  border-radius: 10px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  flex: none;
}
.values strong { display: block; font-size: 0.95rem; }
.values div span { font-size: 0.83rem; color: var(--text-dim); line-height: 1.45; display: block; margin-top: 2px; }

/* ══════════ PRODUK ══════════ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 54px;
}
.prod-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.prod-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 100, 24, 0.5);
  box-shadow: var(--shadow);
}
.prod-media {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px;
  height: 240px;
}
.prod-media img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.prod-media.single { grid-template-columns: 1fr; }
.prod-media.single img { object-fit: cover; object-position: top; border-radius: 8px; }
.prod-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prod-body h3 { color: var(--white); }
.prod-body p { color: var(--text-dim); font-size: 0.92rem; flex: 1; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row li {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--orange-bright);
  background: var(--orange-soft);
  border: 1px solid rgba(243, 100, 24, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ══════════ SOLUSI DATA CENTER ══════════ */
.dc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.dc-item {
  background: linear-gradient(150deg, rgba(243, 100, 24, 0.12), rgba(243, 100, 24, 0.04));
  border: 1px solid rgba(243, 100, 24, 0.28);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  gap: 4px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.dc-item:hover { transform: translateY(-3px); border-color: var(--orange); }
.dc-item strong { color: var(--orange-bright); font-size: 0.98rem; }
.dc-item span { font-size: 0.83rem; color: var(--text-dim); line-height: 1.5; }

/* ══════════ PENGALAMAN ══════════ */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 54px;
}
.tl-year {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.tl-year:hover { border-color: rgba(243, 100, 24, 0.5); transform: translateY(-4px); }
.tl-year h3 {
  font-size: 1.9rem;
  background: linear-gradient(92deg, var(--orange-bright), #FFB253);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.tl-year ul { display: grid; gap: 12px; }
.tl-year li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.tl-year li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.tl-year strong { color: var(--text); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}
.gallery figure {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(12, 17, 32, 0.9));
}

/* ══════════ PARTNER ══════════ */
.partner-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}
.partner-cloud li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.partner-cloud li:hover {
  color: var(--orange-bright);
  border-color: rgba(243, 100, 24, 0.55);
  transform: translateY(-2px);
}

/* ══════════ KONTAK ══════════ */
.contact {
  background:
    radial-gradient(700px 400px at 15% 20%, rgba(243, 100, 24, 0.1), transparent 60%),
    linear-gradient(180deg, transparent, rgba(17, 24, 48, 0.9) 15%);
}
.contact-head { max-width: 640px; margin-bottom: 50px; }
.contact-head .section-sub { margin-inline: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
.contact-info { display: grid; gap: 22px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-ic {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: var(--orange-soft);
  border: 1px solid rgba(243, 100, 24, 0.3);
  border-radius: 12px;
}
.ci-item strong { display: block; margin-bottom: 3px; }
.ci-item p { color: var(--text-dim); font-size: 0.92rem; max-width: 340px; }
.ci-item a:hover { color: var(--orange-bright); }
.btn-dl { justify-self: start; margin-top: 4px; }
.contact-photo { margin-top: 10px; }
.contact-photo img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: 50% 25%;
}

.contact-form {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(12, 17, 32, 0.65);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(155, 166, 192, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239BA6C0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: var(--navy-900); }
.form-note { font-size: 0.8rem; color: var(--text-dim); text-align: center; }
.form-note a { color: var(--orange-bright); }
.form-status { font-size: 0.88rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #6FDB8B; }
.form-status.err { color: #FF8A8A; }

/* ══════════ FOOTER ══════════ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy-900);
  padding-top: 56px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.foot-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 18px; max-width: 340px; }
.foot-nav { display: grid; gap: 10px; align-content: start; }
.foot-nav a, .foot-contact a, .foot-contact span { color: var(--text-dim); font-size: 0.92rem; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--orange-bright); }
.foot-contact { display: grid; gap: 10px; align-content: start; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 20px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.to-top:hover { color: var(--orange-bright); }

/* ══════════ WHATSAPP FLOAT ══════════ */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2BB741, #1E9E34);
  box-shadow: 0 12px 30px rgba(30, 158, 52, 0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 980px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .about-figure { order: -1; }
  .about-figure { max-width: 560px; }
  .prod-grid, .timeline { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 82vw);
    background: rgba(12, 17, 32, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 36px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 60px rgba(5, 8, 18, 0.6);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; position: relative; z-index: 110; }

  .hero { padding-top: 120px; min-height: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .prod-grid, .timeline, .gallery { grid-template-columns: 1fr; }
  .gallery { max-width: 520px; margin-inline: auto; }
  .values { grid-template-columns: 1fr; }
  .dc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-card { left: 14px; bottom: -18px; padding: 13px 17px; }
  .marquee-track { gap: 44px; animation-duration: 26s; }
  .marquee-track img { height: 46px; }
}
