/* ============================================================
   Gema Satwa Medika — Design System
   Native CSS · responsive · bilingual-ready
   ============================================================ */

:root {
  /* palette — Gema Satwa Medika brand (indigo + blue + lime, from logo) */
  --green-950: #0c1138;
  --green-900: #141a52;
  --green-800: #1b2470;
  --green-700: #232e8e;   /* indigo — primary */
  --green-600: #1565c0;   /* blue — accents/text */
  --green-500: #1a8fd6;   /* bright blue */
  --lime-400: #a8ce2e;
  --lime-300: #bcdb3c;    /* lime */
  --teal-400: #1a8fd6;    /* blue (accent gradient end) */

  --ink: #0e1230;
  --ink-soft: #3b4168;
  --muted: #6c7396;
  --line: #e4e8f3;
  --paper: #f5f7fc;
  --paper-2: #e9edfa;
  --white: #ffffff;

  --grad-accent: linear-gradient(120deg, #bcdb3c, #1a8fd6);
  --grad-deep: linear-gradient(160deg, #20296e 0%, #161d54 55%, #0c1138 100%);

  --shadow-sm: 0 2px 10px rgba(13, 17, 56, .06);
  --shadow-md: 0 14px 40px rgba(13, 17, 56, .10);
  --shadow-lg: 0 30px 80px rgba(13, 17, 56, .16);
  --shadow-glow: 0 18px 50px rgba(35, 46, 142, .30);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --container: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", var(--font-body);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- layout ---------- */
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
section { position: relative; }
.section-pad { padding-block: clamp(4rem, 9vw, 8rem); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
  padding: .45rem .9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-accent); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 1rem 0 .8rem; }
.section-head p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.text-grad { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.6rem;
  font-weight: 700; font-size: .98rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.btn-accent { --btn-bg: transparent; background: var(--grad-accent); color: var(--green-900); }
.btn-ghost {
  --btn-bg: transparent; color: var(--ink);
  border: 1.5px solid var(--line); background: var(--white);
}
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-700); box-shadow: var(--shadow-md); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 1rem;
}
.site-header.scrolled {
  background: rgba(244, 248, 243, .82);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(7,41,30,.05);
}
/* transparent header over dark hero (top / not scrolled) */
.site-header:not(.scrolled) .brand-text b { color: #fff; }
.site-header:not(.scrolled) .brand-text span { color: var(--lime-300); }
@media (min-width: 981px) {
  .site-header:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, .84); }
  .site-header:not(.scrolled) .nav-links a:hover,
  .site-header:not(.scrolled) .nav-links a.active { color: #fff; }
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 700; }
.brand img { height: 40px; width: auto; }
.brand-logo { height: 40px; width: auto; display: block; }
.logo-on-dark { display: none; }
.logo-on-light { display: block; }
.site-header:not(.scrolled) .logo-on-light { display: none; }
.site-header:not(.scrolled) .logo-on-dark { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.05rem; letter-spacing: -.02em; color: var(--green-900); }
.brand-text span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green-600); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  position: relative; padding: .55rem .85rem; font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  border-radius: var(--r-pill); transition: color .25s, background .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 0; height: 2px;
  background: var(--grad-accent); border-radius: 2px; transform: translateX(-50%); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--green-800); }
.nav-links a:hover::after, .nav-links a.active::after { width: 18px; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--white); overflow: hidden; box-shadow: var(--shadow-sm);
}
.lang-toggle button {
  padding: .42rem .7rem; font-size: .78rem; font-weight: 700; color: var(--muted); transition: color .2s;
}
.lang-toggle button.active { background: var(--green-700); color: #fff; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--green-900);
  border-radius: 2px; transform: translate(-50%, -50%); transition: .3s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -8px); }
.nav-toggle span::after { transform: translate(-50%, 6px); }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--grad-deep); color: #fff; overflow: hidden;
  padding-top: 6rem;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero::after { /* readability veil + vignette */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(45,212,191,.10), transparent 60%),
    linear-gradient(90deg, rgba(5,32,22,.78) 0%, rgba(5,32,22,.35) 55%, rgba(5,32,22,.1) 100%);
}
.hero-inner { position: relative; z-index: 3; width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.hero-content { max-width: 660px; }
.hero .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #d6f5c9; backdrop-filter: blur(6px); }
.hero .eyebrow::before { background: var(--lime-300); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem); margin: 1.3rem 0; letter-spacing: -.03em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero p.lede {
  font-size: clamp(1.05rem, 1.8vw, 1.32rem); color: rgba(233,245,233,.86); max-width: 540px; margin-bottom: 2.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); display: block; }
.hero-stats .stat span { font-size: .82rem; color: rgba(233,245,233,.7); letter-spacing: .04em; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero-scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; position: relative; }
.hero-scroll .mouse::before { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; background: var(--lime-300); border-radius: 3px; transform: translateX(-50%); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } }

/* marquee strip */
.marquee { background: var(--green-900); color: #cfe9d6; padding: .9rem 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 3rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.marquee span::after { content: "•"; color: var(--lime-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   FEATURE CARDS (3 values)
   ============================================================ */
.features { margin-top: -4.5rem; position: relative; z-index: 5; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature-card {
  background: var(--white); border-radius: var(--r-lg); padding: 2.2rem 1.9rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card .ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--paper-2), var(--white)); border: 1px solid var(--line); margin-bottom: 1.3rem; color: var(--green-600);
}
.feature-card:hover .ico { background: var(--grad-accent); color: var(--green-900); border-color: transparent; }
.feature-card .ico svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.feature-card p { color: var(--muted); font-size: .98rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-visual { position: relative; }
.about-visual .frame {
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/4.4; position: relative;
  background: var(--grad-deep); box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.about-visual .frame .glyph { width: 60%; opacity: .9; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); }
.about-visual .badge {
  position: absolute; background: var(--white); border-radius: var(--r-md); padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: flex; align-items: center; gap: .8rem;
}
.about-visual .badge .b-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-accent); display: grid; place-items: center; color: var(--green-900); flex-shrink: 0; }
.about-visual .badge b { display: block; font-family: var(--font-display); font-size: 1rem; }
.about-visual .badge span { font-size: .76rem; color: var(--muted); }
.about-visual .badge.b1 { top: 8%; left: -6%; }
.about-visual .badge.b2 { bottom: 9%; right: -6%; }

.about-text h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin: 1rem 0 1.1rem; }
.about-text .sub { font-size: 1.15rem; font-weight: 600; color: var(--green-700); margin-bottom: .8rem; }
.about-text p { color: var(--muted); margin-bottom: 1.4rem; }
.about-points { display: grid; gap: .9rem; margin: 1.6rem 0 2rem; }
.about-points li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 500; color: var(--ink-soft); }
.about-points li svg { width: 22px; height: 22px; color: var(--green-500); flex-shrink: 0; margin-top: 2px; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.stat-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1rem; text-align: center; }
.stat-box b { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--green-700); display: block; }
.stat-box span { font-size: .8rem; color: var(--muted); }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cat-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.6rem 1.4rem; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card::before { content: ""; position: absolute; inset: 0; background: var(--grad-deep); opacity: 0; transition: opacity .4s var(--ease); z-index: 0; }
.cat-card > * { position: relative; z-index: 1; transition: color .35s; }
.cat-card .cat-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--paper-2); display: grid; place-items: center; color: var(--green-600); margin-bottom: 1rem; transition: background .35s, color .35s; }
.cat-card .cat-ico svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 1.05rem; line-height: 1.25; }
.cat-card .cat-arrow { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; color: var(--green-600); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { opacity: 1; }
.cat-card:hover h3, .cat-card:hover .cat-arrow { color: #fff; }
.cat-card:hover .cat-ico { background: var(--grad-accent); color: var(--green-900); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.prod-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prod-thumb { position: relative; aspect-ratio: 16/11; display: grid; place-items: center; overflow: hidden; }
.prod-thumb .blob { position: absolute; inset: 0; opacity: .95; }
.prod-thumb .pill {
  position: absolute; top: .9rem; left: .9rem; z-index: 2; font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--r-pill); background: rgba(255,255,255,.9); color: var(--green-800); backdrop-filter: blur(4px);
}
.prod-thumb .vial { position: relative; z-index: 1; width: 64px; height: 64px; color: #fff; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); transition: transform .5s var(--ease); }
.prod-card:hover .vial { transform: translateY(-6px) rotate(-6deg) scale(1.05); }
.prod-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: .76rem; font-weight: 700; color: var(--green-600); letter-spacing: .03em; text-transform: uppercase; }
.prod-body h3 { font-size: 1.2rem; margin: .45rem 0 .6rem; }
.prod-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.prod-link { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--green-700); }
.prod-link svg { width: 16px; height: 16px; transition: transform .3s; }
.prod-card:hover .prod-link svg { transform: translateX(4px); }

/* ============================================================
   SUPPLIERS
   ============================================================ */
.suppliers { background: var(--paper-2); }
.supplier-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.supplier-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); min-height: 130px;
}
.supplier-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.supplier-card img {
  max-width: 100%; max-height: 70px; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: .72; transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.supplier-card:hover img { filter: grayscale(0); opacity: 1; }
.supplier-card .flag { font-size: 1.8rem; line-height: 1; }
.supplier-card b { font-family: var(--font-display); font-size: 1rem; }
.supplier-card span { font-size: .74rem; color: var(--muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-band { padding-block: clamp(3rem, 6vw, 5rem); }
.cta-inner {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--grad-deep); color: #fff;
  padding: clamp(2.6rem, 6vw, 4.6rem); text-align: center; box-shadow: var(--shadow-lg);
}
.cta-inner::before, .cta-inner::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5;
}
.cta-inner::before { width: 340px; height: 340px; background: radial-gradient(circle, rgba(45,212,191,.4), transparent 70%); top: -120px; right: -80px; }
.cta-inner::after { width: 300px; height: 300px; background: radial-gradient(circle, rgba(155,225,93,.32), transparent 70%); bottom: -130px; left: -60px; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); max-width: 760px; margin: 0 auto 1.6rem; }
.cta-inner .btn { margin-inline: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-950); color: #c4d6c9; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-text b { color: #fff; }
.footer-brand p { margin: 1.2rem 0 1.4rem; max-width: 320px; color: #9fb6a6; font-size: .95rem; }
.footer-soc { display: flex; gap: .6rem; }
.footer-soc a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; transition: background .3s, transform .3s, color .3s; }
.footer-soc a:hover { background: var(--grad-accent); color: var(--green-900); transform: translateY(-3px); }
.footer-soc a svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: #9fb6a6; font-size: .94rem; transition: color .25s; }
.footer-col a:hover { color: var(--lime-300); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: .94rem; color: #9fb6a6; }
.footer-contact svg { width: 20px; height: 20px; color: var(--lime-300); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; font-size: .85rem; color: #7e9788; }

/* whatsapp float */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(37,211,102,.45);
  transition: transform .3s var(--ease); animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* bilingual visibility handled by [hidden] via JS — fallback */
[data-id], [data-en] { transition: opacity .2s; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden; background: var(--grad-deep); color: #fff;
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 85% 15%, rgba(45,212,191,.18), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(155,225,93,.12), transparent 60%);
}
.page-hero .deco { position: absolute; right: -60px; top: 50%; width: 360px; opacity: .16; z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: rgba(233,245,233,.7); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--lime-300); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .5; }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.03em; }
.page-hero p { color: rgba(233,245,233,.82); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 620px; margin-top: .9rem; }

/* ============================================================
   PRODUCT CARD — real image variant
   ============================================================ */
.prod-thumb.has-img { background: linear-gradient(165deg, #ffffff, #eef1fb); }
.prod-thumb.has-img img {
  width: 100%; height: 100%; object-fit: contain; padding: .4rem .8rem;
  transition: transform .5s var(--ease);
}
.prod-card:hover .prod-thumb.has-img img { transform: scale(1.05); }
.prod-card[data-tilt], .feature-card[data-tilt], .cat-card[data-tilt] {
  transition: transform .18s var(--ease), box-shadow .4s var(--ease);
}

/* ============================================================
   CATALOG (produk.html)
   ============================================================ */
.cat-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.chip {
  padding: .6rem 1.1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  background: var(--white); font-weight: 600; font-size: .9rem; color: var(--ink-soft);
  transition: all .25s var(--ease); cursor: pointer;
}
.chip:hover { border-color: var(--green-500); color: var(--green-700); }
.chip.active { background: var(--green-700); color: #fff; border-color: var(--green-700); box-shadow: var(--shadow-glow); }
.catalog-empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ============================================================
   PRODUCT DETAIL (produk-detail.html)
   ============================================================ */
.detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.detail-media { position: sticky; top: 100px; }
.detail-media .shot {
  background: linear-gradient(165deg, #ffffff, #e9edfb); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-md); aspect-ratio: 4/3; display: grid; place-items: center;
}
.detail-media .shot img { width: 100%; height: 100%; object-fit: contain; }
.detail-cat { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-600); margin-bottom: .6rem; }
.detail-info h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.02em; }
.detail-brand { color: var(--muted); margin-top: .4rem; font-weight: 600; }
.detail-brand b { color: var(--green-700); }
.detail-desc { color: var(--ink-soft); font-size: 1.05rem; margin: 1.4rem 0; }
.detail-section { margin-top: 1.8rem; }
.detail-section h3 { font-size: 1.15rem; margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
.detail-section h3 svg { width: 20px; height: 20px; color: var(--green-500); }
.benefit-list { display: grid; gap: .7rem; }
.benefit-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.benefit-list li svg { width: 21px; height: 21px; color: var(--green-500); flex-shrink: 0; margin-top: 2px; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-table th { background: var(--paper); font-weight: 700; width: 40%; color: var(--green-800); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.detail-note { display: flex; gap: .7rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green-500); border-radius: var(--r-md); padding: 1rem 1.2rem; margin-top: 1.6rem; font-size: .92rem; color: var(--ink-soft); }
.detail-note svg { width: 22px; height: 22px; color: var(--green-600); flex-shrink: 0; }
.detail-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ============================================================
   CONTACT (kontak.html)
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.3rem 1.4rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .c-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--grad-accent); display: grid; place-items: center; color: var(--green-900); flex-shrink: 0; }
.contact-card .c-ico svg { width: 24px; height: 24px; }
.contact-card b { font-family: var(--font-display); display: block; margin-bottom: .2rem; }
.contact-card a, .contact-card span { color: var(--muted); font-size: .95rem; word-break: break-word; }
.contact-card a:hover { color: var(--green-700); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; background: var(--paper); transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-500); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--r-lg); margin-top: 2.5rem; box-shadow: var(--shadow-md); }

/* decorative floating molecule (parallax) */
.deco-float { position: absolute; z-index: 0; pointer-events: none; opacity: .5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr; }
  .features { margin-top: -3rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 440px; margin: 0 auto 4rem; order: -1; }
  .about-visual .frame { aspect-ratio: 16/11; }
  .about-visual .badge.b1 { top: 6%; left: 0; }
  .about-visual .badge.b2 { bottom: -1.6rem; right: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .supplier-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-media { position: static; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav-links, .nav-actions .btn-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 78px 1.2rem auto 1.2rem; flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem; box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  body.menu-open .nav-links { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; border-radius: var(--r-md); }
  .nav-links a:hover { background: var(--paper); }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: .5rem; }
  .hero { min-height: 92svh; }
  .hero-stats { gap: 1.6rem 2rem; }
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .prod-grid { grid-template-columns: 1fr; }
  .supplier-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .about-visual { margin-bottom: 2rem; }
  .about-visual .badge { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .detail-cta .btn { width: 100%; }
}
