/* ==========================================================================
   Ecoplast Solutions — styles.css (single stylesheet for all pages)
   Static HTML + CSS. No build step, no framework.
   ========================================================================== */

:root {
  --bg: #F4F6F1;
  --ink: #14271D;
  --green: #1F7A4D;
  --green-deep: #12442B;
  --blue: #2B5CB8;
  --muted: #5C6B60;
  --line: #D9E0D6;

  --green-light: #7BE0A6;      /* highlight on dark backgrounds */

  /* Warna wordmark dari LOGO ASLI (kiblat): ECO = hijau, PLAST + SOLUTIONS = navy.
     Dipakai di lockup header & footer agar warna teks brand persis logo. */
  --brand-green: #3E9B37;      /* huruf "ECO" */
  --brand-navy:  #173B5C;      /* huruf "PLAST" & "SOLUTIONS" */

  --radius: 14px;
  --radius-lg: 20px;
  --card-pad: clamp(1.4rem, 3vw, 1.9rem);
  --maxw: 1140px;
  --space: clamp(3.75rem, 8.5vw, 6.5rem);

  /* Elevation — soft, layered, low-opacity (premium depth, not heavy drop shadows) */
  --shadow-sm: 0 1px 2px rgba(18,39,29,.04), 0 4px 12px -6px rgba(18,39,29,.10);
  --shadow-md: 0 6px 16px -8px rgba(18,39,29,.12), 0 14px 34px -18px rgba(18,68,43,.24);
  --shadow-lg: 0 14px 40px -16px rgba(18,68,43,.30), 0 6px 16px -10px rgba(18,39,29,.14);

  /* Motion — one easing + duration scale for a coherent feel across the site */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .22s;
  --dur-slow: .4s;

  --font-sans: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;               /* safety net against accidental horizontal scroll */
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { text-wrap: pretty; }

h1, h2, h3 {
  font-family: var(--font-sans);
  font-variation-settings: "wdth" 112;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: var(--space); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow.on-dark { color: var(--green-light); }

.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.62; color: var(--muted); max-width: 60ch; letter-spacing: -0.005em; }
/* frasa highlight: warna + jaga tidak terpecah tengah kata antar-baris */
.hl-light { color: var(--green-light); white-space: nowrap; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  letter-spacing: -0.005em;
  padding: 0.9em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .08s; }

.btn--wa { background: var(--green); color: #fff; box-shadow: 0 8px 18px -10px rgba(31,122,77,.7); }
.btn--wa:hover { background: #1a6a43; box-shadow: 0 14px 26px -10px rgba(31,122,77,.7), 0 4px 10px -6px rgba(31,122,77,.5); }

.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 18px -10px rgba(31,122,77,.7); }
.btn--primary:hover { background: #1a6a43; box-shadow: 0 14px 26px -10px rgba(31,122,77,.7), 0 4px 10px -6px rgba(31,122,77,.5); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); background: rgba(31,122,77,.05); }

.btn--on-dark { background: #fff; color: var(--green-deep); box-shadow: 0 10px 24px -12px rgba(0,0,0,.55); }
.btn--on-dark:hover { background: #eafff2; box-shadow: 0 16px 32px -12px rgba(0,0,0,.5); }

.btn--ghost-dark { background: rgba(255,255,255,.02); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-dark:hover { border-color: rgba(255,255,255,.85); background: rgba(255,255,255,.1); }

.wa-ico { width: 1.15em; height: 1.15em; flex: none; }

/* ==========================================================================
   Header (sticky, shared)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 241, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(18, 39, 29, .08);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 6px 20px -18px rgba(18,39,29,.6);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: opacity .15s ease;
}
.brand:hover { opacity: 0.82; }
.brand__mark { width: 30px; height: 30px; object-fit: contain; }
.brand__name { font-size: 1.12rem; color: var(--brand-navy); font-variation-settings: "wdth" 112; }
.brand__name .eco { color: var(--brand-green); }   /* "ECO" hijau, sisanya (PLAST SOLUTIONS) navy — ikut logo */

/* Nav */
.nav { display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.75rem); }
.nav__links { display: flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.6rem); list-style: none; }
.nav__link {
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.35em 0.1em;
  position: relative;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--green); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--green); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { padding: 0.72em 1.15em; font-size: 0.9rem; }

/* Hamburger (CSS-only, no JS) — hidden on desktop, shown ≤720px.
   Gaya centralcats: 3 garis tanpa kotak, jadi X saat menu terbuka. */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: none;
}
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }

/* Overlay gelap di belakang drawer (label → klik untuk menutup). Off di desktop. */
.nav-overlay { display: none; }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--blue); outline-offset: 2px; }
.nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Dotted "pellet" pattern backgrounds (hero + CTA band)
   ========================================================================== */
.dotted {
  position: relative;
  background-color: var(--green-deep);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='260'%20height='260'%20viewBox='0%200%20260%20260'%3E%3Cg%20fill='none'%3E%3Ccircle%20cx='24'%20cy='36'%20r='3.5'%20fill='%237BE0A6'%20opacity='.14'/%3E%3Ccircle%20cx='72'%20cy='18'%20r='2.5'%20fill='%232B5CB8'%20opacity='.16'/%3E%3Ccircle%20cx='128'%20cy='52'%20r='4'%20fill='%237BE0A6'%20opacity='.10'/%3E%3Ccircle%20cx='188'%20cy='28'%20r='2.5'%20fill='%232B5CB8'%20opacity='.14'/%3E%3Ccircle%20cx='232'%20cy='60'%20r='3.5'%20fill='%237BE0A6'%20opacity='.12'/%3E%3Ccircle%20cx='44'%20cy='96'%20r='2.5'%20fill='%232B5CB8'%20opacity='.12'/%3E%3Ccircle%20cx='104'%20cy='112'%20r='3.5'%20fill='%237BE0A6'%20opacity='.13'/%3E%3Ccircle%20cx='160'%20cy='92'%20r='2.5'%20fill='%237BE0A6'%20opacity='.10'/%3E%3Ccircle%20cx='214'%20cy='120'%20r='4'%20fill='%232B5CB8'%20opacity='.13'/%3E%3Ccircle%20cx='16'%20cy='150'%20r='3'%20fill='%237BE0A6'%20opacity='.11'/%3E%3Ccircle%20cx='76'%20cy='168'%20r='2.5'%20fill='%232B5CB8'%20opacity='.15'/%3E%3Ccircle%20cx='134'%20cy='150'%20r='3.5'%20fill='%237BE0A6'%20opacity='.10'/%3E%3Ccircle%20cx='196'%20cy='176'%20r='2.5'%20fill='%237BE0A6'%20opacity='.12'/%3E%3Ccircle%20cx='244'%20cy='158'%20r='3'%20fill='%232B5CB8'%20opacity='.12'/%3E%3Ccircle%20cx='40'%20cy='214'%20r='3.5'%20fill='%237BE0A6'%20opacity='.12'/%3E%3Ccircle%20cx='100'%20cy='232'%20r='2.5'%20fill='%232B5CB8'%20opacity='.14'/%3E%3Ccircle%20cx='158'%20cy='214'%20r='3'%20fill='%237BE0A6'%20opacity='.11'/%3E%3Ccircle%20cx='220'%20cy='236'%20r='2.5'%20fill='%237BE0A6'%20opacity='.10'/%3E%3C/g%3E%3C/svg%3E");
  color: #EAF6EE;
}
.dotted::before {
  /* ambient lighting: green glow top-left, cool blue accent top-right, bottom vignette
     — layered depth that also keeps text readable over the pattern */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 80% at 10% -10%, rgba(123,224,166,.22), transparent 55%),
    radial-gradient(75% 95% at 105% -5%, rgba(43,92,184,.20), transparent 55%),
    radial-gradient(120% 90% at 50% 125%, rgba(0,0,0,.30), transparent 62%);
  pointer-events: none;
}
.dotted::after {
  /* fine grain — softens banding, adds a tactile "printed" quality */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='140'%20height='140'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23n)'/%3E%3C/svg%3E");
}
.dotted > .container { position: relative; z-index: 1; }
.dotted h1, .dotted h2, .dotted h3 { color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero__inner { max-width: 52rem; }
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero h1 {
  font-size: clamp(1.75rem, 5.6vw, 3.6rem);
  margin-bottom: 1.25rem;
}
.hero__lead { color: #CFE7D8; font-size: clamp(1.05rem, 1.9vw, 1.28rem); max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Banner judul halaman dalam (produk/tentang/kontak): tinggi SERAGAM apa pun panjang
   lead — konten (eyebrow/H1/lead) di-center vertikal + min-height sama. Padding-block
   inline ketiganya identik. index.html (hero--factory) TIDAK memakai kelas ini. */
.hero--banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);   /* identik ketiga halaman; min-height yang menentukan tinggi */
}
.hero--banner .hero__lead { margin-bottom: 0; }   /* elemen terakhir di banner — buang jarak bawah agar center rapi */

/* Beranda hero — coded "industrial blueprint" background (no photo):
   factory skyline line-art + rope-coil rings + pellet dots over a dark
   legibility gradient. Overrides .dotted's plain pattern (defined later). */
.hero--factory {
  background-color: var(--green-deep);
  background-image:
    linear-gradient(103deg, rgba(7,33,21,.94) 0%, rgba(9,40,25,.72) 42%, rgba(12,44,27,.34) 72%, rgba(43,92,184,.16) 100%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%271200%27%20height%3D%27230%27%20viewBox%3D%270%200%201200%20230%27%20fill%3D%27none%27%20stroke%3D%27%237BE0A6%27%20stroke-width%3D%272.4%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27%3E%20%3Cg%20opacity%3D%270.55%27%3E%20%3Cpath%20d%3D%27M0%20214%20H1200%27%2F%3E%20%3Cpath%20d%3D%27M60%20214%20V132%20H150%20V214%27%2F%3E%20%3Cpath%20d%3D%27M84%20150%20h16%20M118%20150%20h16%20M84%20178%20h16%20M118%20178%20h16%27%2F%3E%20%3Cpath%20d%3D%27M180%20214%20V162%20L206%20142%20L206%20162%20L232%20142%20L232%20162%20L258%20142%20L258%20162%20L284%20142%20L284%20162%20L310%20142%20L310%20214%27%2F%3E%20%3Cpath%20d%3D%27M338%20214%20V78%20H360%20V214%27%2F%3E%20%3Cpath%20d%3D%27M400%20214%20V116%20H524%20V214%27%2F%3E%20%3Cpath%20d%3D%27M424%20140%20h20%20M462%20140%20h20%20M500%20140%20h20%20M424%20172%20h20%20M462%20172%20h20%20M500%20172%20h20%27%2F%3E%20%3Cpath%20d%3D%27M560%20214%20V158%20a22%2020%200%200%201%2044%200%20V214%27%2F%3E%20%3Cpath%20d%3D%27M640%20214%20V96%20H704%20V214%27%2F%3E%20%3Cpath%20d%3D%27M664%20120%20h16%20M664%20150%20h16%20M664%20180%20h16%27%2F%3E%20%3Cpath%20d%3D%27M736%20214%20V150%20L826%20120%20L916%20150%20V214%27%2F%3E%20%3Cpath%20d%3D%27M956%20214%20V134%20H1046%20V214%27%2F%3E%20%3Cpath%20d%3D%27M1076%20214%20V166%20L1101%20146%20L1101%20166%20L1126%20146%20L1126%20166%20L1151%20146%20L1151%20166%20L1176%20146%20L1176%20214%27%2F%3E%20%3C%2Fg%3E%20%3Cg%20opacity%3D%270.4%27%3E%20%3Ccircle%20cx%3D%27349%27%20cy%3D%2764%27%20r%3D%276%27%2F%3E%20%3Ccircle%20cx%3D%27357%27%20cy%3D%2746%27%20r%3D%275%27%2F%3E%20%3Ccircle%20cx%3D%27366%27%20cy%3D%2731%27%20r%3D%274%27%2F%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27640%27%20height%3D%27640%27%20viewBox%3D%270%200%20640%20640%27%20fill%3D%27none%27%20stroke%3D%27%237BE0A6%27%20stroke-width%3D%272.2%27%3E%20%3Cg%20opacity%3D%270.11%27%3E%20%3Ccircle%20cx%3D%27320%27%20cy%3D%27320%27%20r%3D%27308%27%2F%3E%20%3Ccircle%20cx%3D%27320%27%20cy%3D%27320%27%20r%3D%27262%27%2F%3E%20%3Ccircle%20cx%3D%27320%27%20cy%3D%27320%27%20r%3D%27216%27%2F%3E%20%3Ccircle%20cx%3D%27320%27%20cy%3D%27320%27%20r%3D%27170%27%2F%3E%20%3Ccircle%20cx%3D%27320%27%20cy%3D%27320%27%20r%3D%27124%27%2F%3E%20%3Ccircle%20cx%3D%27320%27%20cy%3D%27320%27%20r%3D%2778%27%2F%3E%20%3C%2Fg%3E%20%3Ccircle%20cx%3D%27320%27%20cy%3D%27320%27%20r%3D%2734%27%20opacity%3D%270.16%27%2F%3E%20%3C%2Fsvg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27260%27%20height%3D%27260%27%20viewBox%3D%270%200%20260%20260%27%3E%20%3Cg%20fill%3D%27none%27%3E%20%3Ccircle%20cx%3D%2724%27%20cy%3D%2736%27%20r%3D%273.5%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.14%27%2F%3E%3Ccircle%20cx%3D%2772%27%20cy%3D%2718%27%20r%3D%272.5%27%20fill%3D%27%232B5CB8%27%20opacity%3D%27.16%27%2F%3E%3Ccircle%20cx%3D%27128%27%20cy%3D%2752%27%20r%3D%274%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.10%27%2F%3E%3Ccircle%20cx%3D%27188%27%20cy%3D%2728%27%20r%3D%272.5%27%20fill%3D%27%232B5CB8%27%20opacity%3D%27.14%27%2F%3E%3Ccircle%20cx%3D%27232%27%20cy%3D%2760%27%20r%3D%273.5%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.12%27%2F%3E%3Ccircle%20cx%3D%2744%27%20cy%3D%2796%27%20r%3D%272.5%27%20fill%3D%27%232B5CB8%27%20opacity%3D%27.12%27%2F%3E%3Ccircle%20cx%3D%27104%27%20cy%3D%27112%27%20r%3D%273.5%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.13%27%2F%3E%3Ccircle%20cx%3D%27160%27%20cy%3D%2792%27%20r%3D%272.5%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.10%27%2F%3E%3Ccircle%20cx%3D%27214%27%20cy%3D%27120%27%20r%3D%274%27%20fill%3D%27%232B5CB8%27%20opacity%3D%27.13%27%2F%3E%3Ccircle%20cx%3D%2716%27%20cy%3D%27150%27%20r%3D%273%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.11%27%2F%3E%3Ccircle%20cx%3D%2776%27%20cy%3D%27168%27%20r%3D%272.5%27%20fill%3D%27%232B5CB8%27%20opacity%3D%27.15%27%2F%3E%3Ccircle%20cx%3D%27134%27%20cy%3D%27150%27%20r%3D%273.5%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.10%27%2F%3E%3Ccircle%20cx%3D%27196%27%20cy%3D%27176%27%20r%3D%272.5%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.12%27%2F%3E%3Ccircle%20cx%3D%27244%27%20cy%3D%27158%27%20r%3D%273%27%20fill%3D%27%232B5CB8%27%20opacity%3D%27.12%27%2F%3E%3Ccircle%20cx%3D%2740%27%20cy%3D%27214%27%20r%3D%273.5%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.12%27%2F%3E%3Ccircle%20cx%3D%27100%27%20cy%3D%27232%27%20r%3D%272.5%27%20fill%3D%27%232B5CB8%27%20opacity%3D%27.14%27%2F%3E%3Ccircle%20cx%3D%27158%27%20cy%3D%27214%27%20r%3D%273%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.11%27%2F%3E%3Ccircle%20cx%3D%27220%27%20cy%3D%27236%27%20r%3D%272.5%27%20fill%3D%27%237BE0A6%27%20opacity%3D%27.10%27%2F%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-position: center, bottom center, right -70px top -150px, top left;
  background-size: cover, min(1180px, 150%) auto, 640px 640px, 260px 260px;
  overflow: hidden;   /* klip overlay skyline (lebar 150%) agar tak bikin scroll-x */
}

/* Overlay "cahaya berjalan": inline SVG diposisikan persis di atas layer skyline
   background (ukuran/anchor identik dgn background-size/position skyline di atas)
   sehingga segmen cahaya menyusuri outline pabrik yang sama. */
.hero__skyline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 150%);
  height: auto;
  pointer-events: none;
}
.hero__skyline-run {
  stroke: #7ED6A3;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .62;
  filter: drop-shadow(0 0 3px rgba(126, 214, 163, .7));
  /* satu segmen pendek (90) + gap sepanjang sisa path (910) = pathLength 1000,
     jadi hanya satu berkas cahaya yang tampak dan loop-nya mulus. */
  stroke-dasharray: 90 910;
  animation: skyline-run 20s linear infinite;
}
@keyframes skyline-run {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Section headers
   ========================================================================== */
.sec-head { max-width: 46rem; margin-bottom: 2.75rem; }
.sec-head .eyebrow { display: block; margin-bottom: 0.9rem; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.sec-head h2.h2-nowrap-lg { white-space: nowrap; }   /* desktop: satu baris (dikembalikan wrap di mobile via responsive.css) */
.sec-head p { margin-top: 0.9rem; color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 56ch; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* product summary cards (home) */
.pcard {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.pcard:hover { transform: translateY(-4px); border-color: rgba(31,122,77,.5); box-shadow: var(--shadow-lg); }
/* Bingkai foto = container portrait 3:4, full-bleed ke tepi kartu (sudut atas ikut
   radius kartu lewat overflow:hidden .pcard). Foto object-fit:cover → mengisi penuh
   tanpa area kosong; kedua kartu identik tinggi karena rasio sama & lebar sama. */
.pcard__media {
  width: calc(100% + 2 * var(--card-pad));
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) 0.7rem;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.pcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: img-in .55s ease both;
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur) var(--ease);
}
.pcard:hover .pcard__img { transform: scale(1.035); filter: saturate(1.06); }
.pcard__tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.pcard h3 { font-size: 1.3rem; }
.pcard p { color: var(--muted); }
.pcard__more { margin-top: auto; font-weight: 700; color: var(--green); display: inline-block; transition: transform var(--dur) var(--ease-out); }
.pcard:hover .pcard__more { transform: translateX(5px); }

/* feature cards */
.feature:hover { border-color: rgba(31,122,77,.5); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.97rem; }
/* Badge IKON (menggantikan angka 01–04 di "Kenapa Ecoplast" — poin non-sequence):
   tile rounded hijau muda, ikon outline stroke pakai currentColor supaya ikut
   berubah putih saat kartu di-hover (konsisten dgn micro-interaction chip lain). */
.feature__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.85rem;
  color: var(--green);
  background: #E4EFE7;
  border-radius: var(--radius-sm);
  overflow: hidden;   /* jaga-jaga: SVG tak pernah meluber walau CSS ukuran telat/ke-cache */
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.feature__ico svg { width: 24px; height: 24px; display: block; flex: none; }
.feature:hover .feature__ico { background: var(--green); color: #fff; }
/* Varian tentang.html: ikon BERDAMPINGAN dengan label mono kecil (label dipertahankan),
   lalu judul di bawahnya. .feature__head = baris ikon + label. */
.feature__head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.feature__head .feature__ico { margin-bottom: 0; }
.feature__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}

/* ==========================================================================
   Product page — detail rows
   ========================================================================== */
.prod {
  scroll-margin-top: 90px;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.prod:first-of-type { border-top: 0; padding-top: clamp(0.5rem, 2vw, 1.5rem); }
/* biji: layout zigzag mirror dari tali agar KONSISTEN. Kolom di-mirror (6fr 5fr)
   supaya frame foto sama lebar dengan tali (selalu 5fr), dan foto pakai tinggi
   fixed .prod__img yang sama (bukan stretch) → kedua frame identik ukurannya.
   Foto bukti "Balaraja" mengalir normal di bawah frame. */
.prod--reverse { grid-template-columns: 6fr 5fr; }   /* teks kiri 6fr · foto kanan 5fr */
.prod--reverse .prod__media { order: 2; }            /* image on the right */
.prod__img {
  width: 100%;
  height: clamp(300px, 42vw, 420px);
  object-fit: contain;                 /* utuh, tidak terpotong */
  background: linear-gradient(155deg, #ffffff 0%, #f6f8f4 100%);  /* matte putih: cutout biji menyatu (sinkron .pcard__img) */
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(0.8rem, 2.5vw, 1.4rem);
  box-shadow: var(--shadow-sm);
  animation: img-in .55s ease both;
}
@keyframes img-in {
  from { opacity: 0; transform: translateY(8px) scale(.99); }
  to   { opacity: 1; transform: none; }
}
.prod__proof {
  margin: 0.9rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.prod__proof img {
  width: 84px; height: 84px;
  flex: none;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.prod__proof figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.prod h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.prod__tag { display: block; margin-bottom: 0.8rem; }
.prod ul { list-style: none; margin-top: 1.1rem; display: grid; gap: 0.6rem; }
.prod li { position: relative; padding-left: 1.6rem; color: var(--ink); }
.prod li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.1rem, 2.4vw, 1.6rem); list-style: none; padding: 0; margin: 0; }
.step { margin: 0; }
.step__n {
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.02rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px -8px rgba(18,68,43,.55), 0 0 0 1px rgba(31,122,77,.15);
  transition: transform var(--dur) var(--ease-out);
}
.step:hover .step__n { transform: translateY(-2px) scale(1.05); }
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }

.quote-card {
  position: relative;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(43,92,184,.28), transparent 55%),
    linear-gradient(155deg, #16512F 0%, var(--green-deep) 60%);
  color: #EAF6EE;
  border: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quote-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.6rem; }
.quote-card p { color: #CFE7D8; margin-bottom: 1.4rem; }
.quote-card .btn { margin-top: auto; align-self: flex-start; }

.map-wrap {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* Kontak — baris info (chip ikon + label + value) di kartu terang */
.contact-title { font-size: 1.3rem; margin-bottom: 0.6rem; }
.crow { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.85rem 0; }
.crow + .crow { border-top: 1px solid var(--line); }
.crow__ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(31, 122, 77, .1);
  color: var(--green);
  margin-top: 2px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.crow:hover .crow__ico { background: var(--green); color: #fff; transform: translateY(-1px); }
.crow__ico svg { width: 18px; height: 18px; }
.crow__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.crow__val { font-size: 1rem; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.55; display: block; }
p.crow__val { margin: 0; font-weight: 500; color: var(--muted); }
p.crow__val strong { font-weight: 700; color: var(--ink); }
a.crow__val:hover { color: var(--green); }

/* Kontak — blok peta dengan header + tautan */
.map-block { margin-top: 1.75rem; }
.map-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.map-head .eyebrow { display: block; margin-bottom: 0.4rem; }
.map-head h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.map-block .map-wrap { margin-top: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 22ch; }
.cta-band p { color: #CFE7D8; margin-top: 0.5rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ==========================================================================
   Footer (shared)
   ========================================================================== */
.site-footer {
  position: relative;
  isolation: isolate;                 /* pseudo depth stays behind content, contained */
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(31,122,77,.10), transparent 72%),
    linear-gradient(180deg, #172C20 0%, var(--ink) 42%);
  color: #C7D3CA;
  padding-block: clamp(3.25rem, 6vw, 4.75rem) 1.75rem;
  margin-top: 0;
  border-top: 3px solid var(--green);
}
/* soft radial light just under the accent border */
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 160px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(31,122,77,.16), transparent 72%);
  pointer-events: none;
  z-index: -1;
}
/* very subtle grain for depth — not obvious */
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='140'%20height='140'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: -1;
}
.site-footer .container { position: relative; }
/* Logo = elemen dekoratif di atas; tiga kolom di bawahnya berbagi baseline yang sama
   (align-items:start) — jadi awal teks "Jasa produksi…", "Halaman", "Kontak" sejajar,
   bukan sejajar dengan puncak logo. Jarak di bawah ini murni spasi logo→konten. */
.foot-cols { display: grid; grid-template-columns: 1.75fr 0.8fr 1.55fr 0.95fr; gap: clamp(2rem, 3.5vw, 3.5rem); align-items: start; }
/* Logo footer = lockup identik header (emblem + wordmark). Karena latar footer
   gelap, lockup diberi PANEL TERANG (chip putih, rounded) supaya warna wordmark
   tampil PERSIS seperti logo asli: ECO hijau + PLAST/SOLUTIONS navy. */
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 1.4rem;
  max-width: 100%;
  padding: 0.5rem 0.85rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: opacity var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.foot-brand:hover { opacity: 1; box-shadow: var(--shadow-md); }
.foot-brand__mark { width: auto; height: 36px; display: block; flex: none; }
.foot-brand__name { font-weight: 800; font-size: 1.2rem; color: var(--brand-navy); font-variation-settings: "wdth" 112; letter-spacing: -0.01em; white-space: nowrap; }
.foot-brand__name .eco { color: var(--brand-green); }   /* "ECO" hijau, sisanya navy — ikut logo */
.site-footer p { font-size: 0.92rem; max-width: 34ch; }
/* h3 (bukan h4) agar urutan heading valid; properti disamakan supaya tampilan identik */
.foot-col h3 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; font-variation-settings: normal; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: #8A9A8E; margin-bottom: 1rem; }
.foot-col ul { list-style: none; display: grid; gap: 0.65rem; }
.foot-col ul a {
  text-decoration: none;
  color: #C7D3CA;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.foot-col ul a::before {
  content: "→";
  width: 0;
  opacity: 0;
  color: var(--green-light);
  transform: translateX(-4px);
  transition: opacity var(--dur) var(--ease), width var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.foot-col ul a:hover { color: #fff; }
.foot-col ul a:hover::before { opacity: 1; width: 1.1em; transform: translateX(0); }

/* Footer address block */
.foot-address { font-size: 0.86rem; line-height: 1.7; color: #A9B8AE; margin-top: 1rem; }
.foot-address strong { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: #8A9A8E; margin-bottom: 0.35rem; }

/* Footer contact rows (ikon + label + value + divider) — gaya rapi centralcats */
.fc { display: grid; }
.fc-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.72rem 0; }
.fc-ico {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(31, 122, 77, .2);
  color: var(--green-light);
}
.fc-ico svg { width: 17px; height: 17px; }
.fc-label { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: .12em; text-transform: uppercase; color: #8A9A8E; margin-bottom: 1px; }
.fc-val { font-size: 0.95rem; font-weight: 600; color: #EAF1EB; text-decoration: none; white-space: nowrap; transition: color var(--dur) var(--ease); }
a.fc-val:hover { color: #fff; }
.fc-ico { transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.fc-row:hover .fc-ico { background: rgba(31,122,77,.35); color: #fff; }
.fc-divider { border: 0; border-top: 1px solid rgba(255, 255, 255, .06); margin: 0; }
/* Media Sosial — placeholder, siap untuk tautan sosial di masa depan */
.foot-social { list-style: none; display: grid; gap: 0.85rem; }
.fsoc { display: flex; align-items: center; gap: 0.7rem; opacity: .6; transition: opacity var(--dur) var(--ease); }
.fsoc:hover { opacity: .85; }
.fsoc-ico {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--green-light);
}
.fsoc-ico svg { width: 17px; height: 17px; }
.fsoc-name { display: block; font-size: 0.95rem; font-weight: 600; color: #EAF1EB; line-height: 1.3; }
.fsoc-soon { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: .12em; text-transform: uppercase; color: #8A9A8E; }

.foot-bottom {
  max-width: var(--maxw);
  margin: clamp(2.75rem, 5vw, 3.75rem) auto 0;
  padding: 1.4rem clamp(1.25rem, 4vw, 2.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: #8A9A8E;
  text-align: center;
}
.foot-bottom .js-year { color: inherit; }   /* tahun ikut warna copyright, tak tersembunyi */

/* ==========================================================================
   Accessibility helpers
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--green-deep);
  color: #fff;
  padding: 0.6em 1em;
  border-radius: 8px;
  z-index: 100;
  transition: top .2s ease;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.dotted :focus-visible, .quote-card :focus-visible { outline-color: #fff; }

/* ==========================================================================
   Reveal saat masuk layar (scroll-in)
   Progressive enhancement: hanya aktif bila JS hidup (kelas .has-js di <html>,
   disetel skrip sinkron di <head> → tanpa flash). Tanpa JS = tak ada .has-js =
   konten tampil normal. JS (skrip body) menambah .in saat elemen masuk viewport;
   daftar selector di bawah HARUS sama dengan konstanta SEL di skrip itu.
   prefers-reduced-motion: dipaksa tampil (tanpa gerak) di responsive.css.
   ========================================================================== */
.has-js .hero__inner > *,
.has-js .sec-head,
.has-js .pcard,
.has-js .feature,
.has-js .prod,
.has-js .step,
.has-js .card,
.has-js .map-block,
.has-js .cta-band .container > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.has-js .hero__inner > *.in,
.has-js .sec-head.in,
.has-js .pcard.in,
.has-js .feature.in,
.has-js .prod.in,
.has-js .step.in,
.has-js .card.in,
.has-js .map-block.in,
.has-js .cta-band .container > *.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive & Motion
   Semua breakpoint (@media) dan preferensi gerak dipindah ke responsive.css,
   yang dimuat SETELAH file ini. Tujuannya memisahkan aturan desktop (di sini)
   dan mobile (di responsive.css) agar rapi dan tidak saling mengganggu.
   ========================================================================== */
