/* ============================================================
   Sinergi Ritel — enterprise site
   Version 3, 2026-12-01
   ============================================================ */

:root {
  --ink: #0a0f1c;
  --ink-2: #101828;
  --paper: #f6f4ef;
  --white: #ffffff;
  --muted: #5a6374;
  --muted-2: #7b8494;
  --gold: #c19a3c;
  --gold-2: #e3c471;
  --line: rgba(10, 15, 28, .10);
  --line-soft: rgba(10, 15, 28, .06);
  --radius: 26px;
  --radius-lg: 34px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 28, .04), 0 8px 24px rgba(10, 15, 28, .05);
  --shadow-md: 0 2px 4px rgba(10, 15, 28, .04), 0 18px 50px rgba(10, 15, 28, .10);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font); font-size: 14.5px; font-weight: 700; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: #14100a; box-shadow: 0 10px 24px rgba(193, 154, 60, .28); }
.btn-gold:hover { background: #d0a94c; }

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

.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }

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

.btn .arrow { font-size: 15px; line-height: 1; transform: translateY(-1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: gap .18s ease, border-color .18s ease;
}
.link-arrow:hover { gap: 12px; border-color: var(--gold); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 244, 239, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.scrolled { border-color: var(--line-soft); background: rgba(246, 244, 239, .96); }

.header-inner { display: flex; align-items: center; gap: 36px; height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 32px; height: 32px; border-radius: 50%; }
.brand-name { font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--ink); opacity: .82; transition: opacity .15s ease; }
.nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px;
  font-size: 12.5px; font-weight: 700;
}
.lang-switch a, .lang-switch span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 28px; border-radius: 999px;
}
.lang-switch .is-active { background: var(--ink); color: #fff; }
.lang-switch a { color: var(--muted); }

.header-cta { height: 44px; padding: 0 20px; font-size: 13.5px; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

/* ---------- Hero ---------- */

.hero { padding: 26px 0 0; }

.hero-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(193, 154, 60, .28), transparent 60%),
    radial-gradient(700px 420px at 8% 110%, rgba(74, 96, 168, .28), transparent 62%),
    linear-gradient(160deg, #0a0f1c 0%, #111a2d 58%, #0a0f1c 100%);
  color: #fff;
  padding: 74px 72px 66px;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px;
  box-shadow: var(--shadow-md);
}

.hero-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 70% 30%, #000 0%, transparent 100%);
}

.hero-copy { position: relative; z-index: 1; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -.032em;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--gold-2); }

.hero .lead {
  margin-top: 24px; max-width: 54ch;
  font-size: 17.5px; line-height: 1.75; color: rgba(255, 255, 255, .74);
}

.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-note {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 26px;
  font-size: 13px; color: rgba(255, 255, 255, .56);
}
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* Hero stack */

.stack { position: relative; z-index: 1; align-self: center; }

.stack-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px; padding: 20px 22px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.stack-card + .stack-card { margin-top: 16px; }
.stack-card.second { margin-left: 46px; }

.stack-logo {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; overflow: hidden;
}
.stack-logo img { width: 100%; height: 100%; object-fit: contain; }

.stack-name { font-size: 15.5px; font-weight: 700; color: #fff; }
.stack-desc { font-size: 12.5px; color: rgba(255, 255, 255, .58); }

.stack-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(10, 15, 28, .72);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 12px 16px;
  font-size: 12.5px; font-weight: 600; color: #fff;
  backdrop-filter: blur(8px);
}
.stack-chip b { color: var(--gold-2); font-size: 15px; }
.stack-chip.one { top: -22px; right: 4px; }
.stack-chip.two { bottom: -18px; right: -6px; }

/* ---------- Stats ---------- */

.stats { padding: 64px 0 8px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  border-top: 1px solid var(--line); padding-top: 34px;
}
.stat b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); max-width: 24ch; }

/* ---------- Sections ---------- */

section { padding: 92px 0; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 16px; }
.contact h2 { margin-top: 16px; } /* eyebrow to heading spacing */
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 46ch; }
.section-head.center { display: block; text-align: center; margin-bottom: 52px; }
.section-head.center p { margin: 14px auto 0; }

.band-white { background: var(--white); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink p { color: rgba(255, 255, 255, .7); }

/* ---------- Products ---------- */

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(193, 154, 60, .45); }

.product-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-logo { height: 54px; width: auto; max-width: 190px; object-fit: contain; }
.tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px;
  background: #fff;
}
.product-card h3 { font-size: 27px; }
.product-card .body { color: var(--muted); font-size: 16px; line-height: 1.7; }
.product-card ul { display: grid; gap: 11px; margin-top: 2px; }
.product-card li { position: relative; padding-left: 26px; font-size: 15px; color: #333b4a; }
.product-card li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.product-card .foot { margin-top: auto; padding-top: 10px; }

/* ---------- Value cards ---------- */

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

.value-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 22px;
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.value-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(193, 154, 60, .12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.value-icon svg { width: 22px; height: 22px; stroke: #a37f2c; fill: none; stroke-width: 1.7; }

.value-card h3 { font-size: 17px; letter-spacing: -.01em; }
.value-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ---------- Industries ---------- */

.industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }

.industry {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.industry .num { font-size: 12.5px; font-weight: 700; color: var(--gold); letter-spacing: .08em; padding-top: 4px; }
.industry h3 { font-size: 18px; }
.industry p { margin-top: 6px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ---------- Modules ---------- */

.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 40px; }
.module { padding-top: 18px; border-top: 1px solid var(--line); }
.module h3 { font-size: 15.5px; }
.module p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Logo wall ---------- */

.logo-wall {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden;
}
.logo-wall div {
  background: #fff; height: 116px; display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.logo-wall img {
  max-height: 58px; max-width: 132px; width: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.55) brightness(.88); opacity: 1;
  transition: filter .2s ease, opacity .2s ease;
}
.logo-wall div:hover img { filter: none; opacity: 1; }

.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 46px; }
.partners img { height: 30px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; }
.partners img.tall { height: 38px; }

/* ---------- Contact ---------- */

.contact { background: var(--ink); color: #fff; padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.2vw, 42px); color: #fff; }
.contact .lead { margin-top: 18px; color: rgba(255, 255, 255, .68); font-size: 16.5px; line-height: 1.75; max-width: 44ch; }

.contact-list { margin-top: 38px; display: grid; gap: 18px; }
.contact-item { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; }
.contact-item svg { width: 18px; height: 18px; stroke: var(--gold-2); fill: none; stroke-width: 1.7; margin-top: 3px; }
.contact-item .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.contact-item .v { font-size: 15.5px; color: rgba(255, 255, 255, .88); line-height: 1.55; }
.contact-item a.v:hover { color: var(--gold-2); }

.form-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 20px; letter-spacing: -.01em; }
.form-card .hint { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #3c4453; }
.field label .req { color: #b3261e; }

.field input, .field textarea {
  font-family: var(--font); font-size: 15px; color: var(--ink);
  background: #fbfaf7; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 3px rgba(193, 154, 60, .18);
}

.form-card .btn { width: 100%; margin-top: 16px; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.form-status { margin-top: 10px; font-size: 13px; color: #b3261e; min-height: 1em; }
.form-status:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */

.site-footer { background: #070b14; color: rgba(255, 255, 255, .62); padding: 66px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.2fr; gap: 40px; }
.footer-brand { display: block; }
.footer-brand .brand-mark { width: 30px; height: 30px; display: inline-block; vertical-align: middle; }
.footer-brand .brand-name { display: inline-block; vertical-align: middle; margin-left: 10px; }
.footer-brand .brand-name { color: #fff; font-size: 15.5px; }
.footer-brand p { margin-top: 18px; font-size: 13.5px; line-height: 1.7; max-width: 34ch; color: rgba(255, 255, 255, .5); }
.footer-col h4 { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .42); font-weight: 700; }
.footer-col ul { margin-top: 16px; display: grid; gap: 9px; }
.footer-col a, .footer-col span { font-size: 13.5px; color: rgba(255, 255, 255, .68); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 12.5px; color: rgba(255, 255, 255, .42);
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-card { grid-template-columns: 1fr; padding: 56px 48px; }
  .stack { max-width: 520px; margin: 0 auto; }
  .hero-card { padding-bottom: 56px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }

  .site-header.open .nav {
    display: flex; position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 28px 22px;
  }
  .site-header.open .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-soft); opacity: 1; }

  .products-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; gap: 0; }
  .modules { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  section { padding: 64px 0; }
  .hero { padding-top: 16px; }
  .hero-card { padding: 40px 26px 44px; border-radius: 24px; gap: 34px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 16px; }
  .hero .actions .btn { width: 100%; }
  .hero-note { gap: 14px; }
  .hero-note span { font-size: 12px; }
  .stack-card.second { margin-left: 0; }
  .stack-chip.one { top: -18px; right: -4px; }
  .stack-chip.two { bottom: -18px; right: -4px; }
  .stats { padding-top: 44px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall div { height: 88px; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-head h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid rgba(193, 154, 60, .55); outline-offset: 3px; border-radius: 4px; }
