/* =============================================================================
   SIRQULA — Design System
   PT Sirqula Anagata Nusantara
   ============================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --navy: #0a2540;
  --navy-700: #0e3052;
  --navy-600: #134063;
  --navy-soft: #14304d;
  --teal: #1ca0dc;
  --teal-600: #1789bf;
  --teal-100: #e3f3fb;
  --green: #3dae2b;
  --green-600: #348f26;
  --green-100: #e7f6e3;
  --ink: #0a2540;
  --body: #44566b;
  --muted: #6b7c8f;
  --line: #e2e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-softer: #eef3f7;
  --white: #ffffff;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--teal) 0%, var(--green) 100%);
  --grad-brand-soft: linear-gradient(120deg, #2bb0e6 0%, #46be33 100%);
  --grad-navy: linear-gradient(160deg, #0a2540 0%, #0e3a5c 55%, #0a2540 100%);

  /* Type */
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radii & shadow */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.05), 0 2px 8px rgba(10, 37, 64, 0.04);
  --shadow: 0 4px 14px rgba(10, 37, 64, 0.07), 0 12px 36px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 18px 50px rgba(10, 37, 64, 0.14);
  --shadow-teal: 0 14px 34px rgba(28, 160, 220, 0.28);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Contain any incidental horizontal overflow without making <body> a scroll container */
html { overflow-x: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

::selection { background: var(--teal); color: #fff; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: 1320px; }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.section-soft { background: var(--bg-soft); }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.accent { color: var(--teal-600); font-weight: 700; }
strong.accent, .accent strong { color: var(--teal-600); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.on-dark .eyebrow { color: #6fd0f3; }
.on-dark .eyebrow::before { background: var(--grad-brand-soft); }

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }

h2.h-xl { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2.h-lg { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--body); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(225, 236, 246, 0.82); }

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(28, 160, 220, 0.38); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-600); transform: translateY(-2px); }
.on-dark .btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.on-dark .btn-ghost:hover { border-color: #6fd0f3; color: #6fd0f3; }
/* The home hero is dark but isn't an .on-dark container — ensure its ghost
   (outline) button reads clearly: white text on a lighter, more visible border. */
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid #ffffff;
  color: #ffffff;
}
.hero .btn-ghost:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0a2540;
}
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal-600);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* =============================================================================
   HEADER
   ============================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.06);
  border-bottom-color: var(--line);
}
.header-inner {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.site-header:not(.scrolled) .logo-text.on-hero { color: #fff; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--body);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.main-nav a.active { color: var(--teal-600); }
.site-header:not(.scrolled) .main-nav.on-hero a { color: rgba(255, 255, 255, 0.85); }
.site-header:not(.scrolled) .main-nav.on-hero a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.site-header:not(.scrolled) .main-nav.on-hero a.active { color: #6fd0f3; }

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

/* Lang toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--body);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 999px;
  transition: all 0.18s ease;
}
.lang-toggle svg { width: 15px; height: 15px; opacity: 0.7; }
.lang-toggle:hover { border-color: var(--teal); color: var(--teal-600); }
.site-header:not(.scrolled) .lang-toggle.on-hero {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 12px;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: 0.25s ease;
}
.menu-toggle span { top: 50%; transform: translate(-50%, -50%); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.site-header:not(.scrolled) .menu-toggle.on-hero { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.24); }
.site-header:not(.scrolled) .menu-toggle.on-hero span,
.site-header:not(.scrolled) .menu-toggle.on-hero span::before,
.site-header:not(.scrolled) .menu-toggle.on-hero span::after { background: #fff; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); background: var(--ink); }
body.menu-open .menu-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); background: var(--ink); }

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(28, 160, 220, 0.4) 0%, rgba(28, 160, 220, 0) 64%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  left: -200px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(61, 174, 43, 0.32) 0%, rgba(61, 174, 43, 0) 64%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 60% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero .subhead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: rgba(226, 237, 247, 0.86);
  max-width: 600px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cfe8f6;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand-soft); box-shadow: 0 0 0 4px rgba(28,160,220,0.18); }

/* Hero visual: circular workflow ring */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-ring {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hero-ring .ring-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  animation: spin 60s linear infinite;
}
.hero-ring .ring-circle.inner { inset: 18%; border-style: solid; border-color: rgba(255,255,255,0.1); animation-direction: reverse; animation-duration: 45s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-ring .ring-circle { animation: none; } }

.hero-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(150px, 52%, 210px);
  height: clamp(150px, 52%, 210px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(28,160,220,0.32), rgba(10,37,64,0.6));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(28,160,220,0.18);
}
.hero-core .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; letter-spacing: -0.03em; line-height: 1; }
.hero-core .sub { font-size: 0.8rem; color: rgba(226,237,247,0.78); margin-top: 6px; }
.hero-core .unit { font-size: 1rem; font-weight: 700; color: #6fd0f3; }

.ring-node {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  color: #cfe8f6;
}
.ring-node svg { width: 22px; height: 22px; }
.ring-node:nth-child(3) { top: -8px; left: 50%; transform: translateX(-50%); color: #6fd0f3; }
.ring-node:nth-child(4) { top: 22%; right: -8px; }
.ring-node:nth-child(5) { bottom: 22%; right: -8px; color: #8fe07f; }
.ring-node:nth-child(6) { bottom: -8px; left: 50%; transform: translateX(-50%); }
.ring-node:nth-child(7) { bottom: 22%; left: -8px; color: #6fd0f3; }
.ring-node:nth-child(8) { top: 22%; left: -8px; }

/* =============================================================================
   STAT BAR / TRUST
   ============================================================================= */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: #fff; line-height: 1; }
.hero-stat .num span { color: #6fd0f3; }
.hero-stat .lbl { font-size: 0.82rem; color: rgba(226, 237, 247, 0.7); margin-top: 6px; max-width: 200px; }

/* =============================================================================
   GENERIC PAGE HERO (interior pages)
   ============================================================================= */
.page-hero {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 100px));
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(28,160,220,0.36) 0%, rgba(28,160,220,0) 65%);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  left: -180px; bottom: -240px;
  background: radial-gradient(circle, rgba(61,174,43,0.28) 0%, rgba(61,174,43,0) 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 16ch; margin-bottom: 22px; }
.page-hero .page-hero-narrow h1 { max-width: 22ch; }
.page-hero .subhead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(226,237,247,0.84); max-width: 720px; }
.page-hero .pull-line {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #8fe07f;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  letter-spacing: -0.01em;
}

/* =============================================================================
   CARDS
   ============================================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe0ed; }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--teal-100);
  color: var(--teal-600);
  margin-bottom: 22px;
}
.card-icon.green { background: var(--green-100); color: var(--green-600); }
.card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--body); font-size: 0.98rem; }

/* numbered failure cards */
.fail-card { position: relative; padding-top: 36px; }
.fail-card .num-badge {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--bg-softer);
  line-height: 1;
}
.fail-card .marker {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fde2e2, #fbd0d0);
  color: #d4433a;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.fail-card .marker svg { width: 22px; height: 22px; }

/* =============================================================================
   SOLUTION SECTION
   ============================================================================= */
.solution-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.quote-card {
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.quote-card::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(28,160,220,0.35), transparent 68%);
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.6;
  color: #6fd0f3;
  display: block;
  margin-bottom: 8px;
}
.quote-card p {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.01em;
}
.quote-card .quote-by { margin-top: 24px; font-size: 0.92rem; color: rgba(226,237,247,0.7); font-family: var(--font-body); font-weight: 400; }

/* =============================================================================
   WORKFLOW (process)
   ============================================================================= */
.workflow-section { background: var(--grad-navy); color: #fff; position: relative; overflow: hidden; }
.workflow-section::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
}
.workflow-section .container { position: relative; z-index: 2; }
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.flow-step {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.flow-step:hover { transform: translateY(-5px); background: rgba(255,255,255,0.07); border-color: rgba(111,208,243,0.4); }
.flow-step .step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--grad-brand-soft);
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.flow-step h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.flow-step p { color: rgba(226, 237, 247, 0.74); font-size: 0.94rem; }

.intelligence-layer {
  margin-top: 22px;
  background: linear-gradient(120deg, rgba(28,160,220,0.16), rgba(61,174,43,0.16));
  border: 1px solid rgba(111, 208, 243, 0.32);
  border-radius: var(--r-lg);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.intelligence-layer .il-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; color: #fff;
  font-size: 1.05rem; white-space: nowrap;
}
.intelligence-layer .il-badge svg { width: 24px; height: 24px; color: #6fd0f3; }
.intelligence-layer p { color: rgba(226, 237, 247, 0.86); font-size: 0.98rem; margin: 0; flex: 1; min-width: 260px; }

/* =============================================================================
   PILLARS (why)
   ============================================================================= */
.pillar {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .p-icon {
  flex: none; width: 56px; height: 56px;
  border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
}
.pillar .p-icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.18rem; margin-bottom: 8px; }
.pillar p { font-size: 0.97rem; }

/* =============================================================================
   INDUSTRIES STRIP
   ============================================================================= */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ind-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  transition: all 0.2s ease;
}
.ind-chip:hover { border-color: var(--teal); color: var(--teal-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ind-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); }

/* =============================================================================
   LOGO / TRUST STRIP
   ============================================================================= */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.logo-cell {
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 12px;
  text-align: center;
  min-height: 124px;
  transition: all 0.2s ease;
}
.logo-cell:hover { border-color: #cfe0ed; box-shadow: var(--shadow-sm); }
.logo-cell .logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--navy-600);
  letter-spacing: -0.01em;
}
.logo-cell .logo-img {
  max-height: 62px;
  max-width: 90%;
  width: auto;
  object-fit: contain;
}
/* Per-shape sizing so every client logo reads at a comfortable, balanced
   size. Logos range from ~9.8:1 ultra-wide wordmarks to ~1:1 square marks,
   so a single max-height/width makes some look tiny — these tune each. */
/* Compact / square / tall marks → allow more height */
.logo-cell--pt-smelting .logo-img,
.logo-cell--freeport-indonesia .logo-img,
.logo-cell--petrokimia-gresik .logo-img,
.logo-cell--cisadane-raya-chemical .logo-img,
.logo-cell--petro-oxo-nusantara .logo-img {
  max-height: 86px;
  max-width: 92%;
}
/* Medium-wide lockups */
.logo-cell--louis-dreyfus-company .logo-img,
.logo-cell--pupuk-indonesia .logo-img {
  max-height: 70px;
  max-width: 92%;
}
/* Ultra-wide horizontal wordmarks (Pupuk Kaltim ~10:1, Pertamina ~4:1) span
   two grid columns so they render at a legible size instead of a thin sliver. */
.logo-cell--pupuk-kaltim,
.logo-cell--pertamina { grid-column: span 2; }
.logo-cell--pupuk-kaltim .logo-img { max-height: 70px; max-width: 96%; }
.logo-cell--pertamina .logo-img { max-height: 60px; max-width: 84%; }
.logo-cell--wilmar .logo-img { max-height: 58px; max-width: 92%; }

.logo-cell .logo-mono {
  font-size: 1.5rem; line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800; font-family: var(--font-head);
}
.trust-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* =============================================================================
   CTA BAND
   ============================================================================= */
.cta-band {
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content:""; position:absolute; width:480px; height:480px;
  left:50%; top:-60%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(28,160,220,0.4), transparent 64%);
}
.cta-band::after {
  content:""; position:absolute; width:360px; height:360px;
  right:-80px; bottom:-160px;
  background: radial-gradient(circle, rgba(61,174,43,0.32), transparent 66%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.cta-band p { color: rgba(226, 237, 247, 0.86); font-size: 1.12rem; max-width: 560px; margin: 0 auto 30px; }

/* =============================================================================
   ABOUT — vision/mission
   ============================================================================= */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
}
.vm-card.feature {
  background: var(--grad-navy);
  color: #fff;
  grid-row: span 2;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.vm-card.feature::before {
  content:""; position:absolute; right:-80px; top:-80px; width:260px; height:260px;
  background: radial-gradient(circle, rgba(28,160,220,0.3), transparent 68%);
}
.vm-card.feature h3, .vm-card.feature p { color: #fff; position: relative; }
.vm-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.vm-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 14px;
}
.vm-card.feature .vm-tag { color: #6fd0f3; }
.mission-list { display: grid; gap: 14px; margin-top: 8px; }
.mission-list li { display: flex; gap: 12px; align-items: flex-start; }
.mission-list .check {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
  margin-top: 2px;
}
.mission-list .check svg { width: 14px; height: 14px; }

/* =============================================================================
   TIMELINE
   ============================================================================= */
.timeline { position: relative; margin-top: 48px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--teal), var(--green));
}
.tl-item { position: relative; padding-left: 64px; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 8px; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal);
  box-shadow: 0 0 0 5px rgba(28,160,220,0.12);
  z-index: 2;
}
.tl-item:nth-child(even) .tl-dot { border-color: var(--green); box-shadow: 0 0 0 5px rgba(61,174,43,0.12); }
.tl-year {
  display: inline-block;
  font-family: var(--font-head); font-weight: 800;
  color: var(--teal-600); font-size: 0.95rem;
  letter-spacing: 0.02em; margin-bottom: 4px;
}
.tl-item:nth-child(even) .tl-year { color: var(--green-600); }
.tl-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tl-item p { color: var(--body); font-size: 0.98rem; max-width: 640px; }

/* =============================================================================
   GROUP STRUCTURE
   ============================================================================= */
.holding-card {
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 30px 36px;
  text-align: center;
  max-width: 460px;
  margin: 40px auto 0;
  box-shadow: var(--shadow-teal);
  position: relative;
}
.holding-card .h-label { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; font-weight: 700; font-family: var(--font-head); }
.holding-card .h-name { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; margin: 6px 0 2px; letter-spacing: -0.02em; }
.holding-card .h-sub { font-size: 0.9rem; opacity: 0.9; }
.holding-card .h-role { margin-top: 12px; font-size: 0.92rem; font-weight: 600; opacity: 0.95; }
.group-connector { width: 2px; height: 36px; background: var(--line); margin: 0 auto; }
.unit-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 4px; }
.unit-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; border-top: 4px solid var(--teal);
  flex: 0 1 340px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.unit-card:nth-child(2) { border-top-color: var(--green); }
.unit-card:nth-child(3) { border-top-color: var(--teal); }
.unit-card:nth-child(4) { border-top-color: var(--green); }
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.unit-card .u-name { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--ink); }
.unit-card .u-role { font-size: 0.82rem; color: var(--teal-600); font-weight: 700; margin: 4px 0 12px; font-family: var(--font-head); }
.unit-card:nth-child(even) .u-role { color: var(--green-600); }
.unit-card .u-body { font-size: 0.92rem; color: var(--body); }
.group-footnote { margin-top: 26px; text-align: center; font-size: 0.86rem; color: var(--muted); font-style: italic; }

/* =============================================================================
   TEAM
   ============================================================================= */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; display: flex; flex-direction: column; gap: 18px;
}
.team-top { display: flex; align-items: center; gap: 18px; }
.team-avatar {
  width: 72px; height: 72px; flex: none; border-radius: 20px;
  background: var(--grad-navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  letter-spacing: -0.02em;
  position: relative; overflow: hidden;
}
.team-avatar::after { content:""; position:absolute; inset:0; background: linear-gradient(135deg, rgba(28,160,220,0.4), transparent 60%); }
.team-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.team-role { color: var(--teal-600); font-weight: 700; font-size: 0.94rem; font-family: var(--font-head); }
.team-meta { font-size: 0.92rem; }
.team-meta .meta-label { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; display: block; margin-bottom: 3px; }
.team-meta + .team-meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* =============================================================================
   CIRCLES VALUES
   ============================================================================= */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-letter {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-brand); margin-bottom: 18px;
}
.value-card:nth-child(even) .value-letter { background: var(--grad-brand); filter: hue-rotate(0); }
.value-card:nth-child(3n) .value-letter { background: linear-gradient(135deg, var(--green), var(--teal)); }
.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { font-size: 0.92rem; color: var(--body); }

/* =============================================================================
   SERVICES — capability cards + detail blocks
   ============================================================================= */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.cap-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cap-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe0ed; }
.cap-card .cap-num {
  position: absolute; top: 26px; right: 28px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--bg-softer);
}
.cap-card .cap-num { color: #e8eef4; }
.cap-card .card-icon { margin-bottom: 20px; }
.cap-card h3 { font-size: 1.16rem; margin-bottom: 10px; padding-right: 30px; }
.cap-card p { font-size: 0.96rem; }

.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.detail-block:first-of-type { border-top: none; }
.detail-block.reverse .detail-visual { order: -1; }
.detail-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-600);
  background: var(--teal-100); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.detail-block h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 16px; }
.detail-block .detail-body { color: var(--body); font-size: 1.02rem; margin-bottom: 22px; }
.detail-list { display: grid; gap: 12px; }
.detail-list .dl-label { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.detail-list li.dl-item { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-family: var(--font-head); font-size: 0.98rem; }
.detail-list li.dl-item .ck { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; margin-top: 1px; }
.detail-list li.dl-item .ck svg { width: 14px; height: 14px; }
.detail-pull {
  margin-top: 22px; padding: 16px 22px;
  background: var(--bg-soft); border-left: 3px solid var(--teal);
  border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  font-size: 1.02rem;
}

/* detail visual */
.detail-visual {
  background: var(--grad-navy);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  position: relative; overflow: hidden;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: center;
}
.detail-visual::before { content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px; background: radial-gradient(circle, rgba(28,160,220,0.34), transparent 68%); }
.detail-visual.green::before { background: radial-gradient(circle, rgba(61,174,43,0.34), transparent 68%); }

/* flow chips inside visual */
.flow-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; position: relative; }
.flow-chips .fc {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px; padding: 10px 18px;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 0.92rem;
}
.flow-chips .fc-arrow { color: #6fd0f3; display: grid; place-items: center; }
.flow-chips .fc-arrow svg { width: 18px; height: 18px; }

.visual-list { position: relative; display: grid; gap: 12px; }
.visual-list li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r); padding: 14px 18px;
  font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 0.96rem;
}
.visual-list li .vl-num { flex:none; width: 28px; height: 28px; border-radius: 8px; background: var(--grad-brand-soft); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; }

/* =============================================================================
   INDUSTRIES — sector cards
   ============================================================================= */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.sector-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative; overflow: hidden;
}
.sector-card::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sector-card:hover::after { transform: scaleX(1); }
.sector-card .s-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--bg-soft); color: var(--teal-600);
}
.sector-card:nth-child(even) .s-icon { color: var(--green-600); }
.sector-card .s-icon svg { width: 27px; height: 27px; }
.sector-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.sector-card p { font-size: 0.93rem; color: var(--body); }

/* =============================================================================
   FACILITY
   ============================================================================= */
.facility-pillars { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.fp-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px; padding: 11px 20px;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 0.95rem;
}
.fp-chip svg { width: 19px; height: 19px; color: #6fd0f3; }

.material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.material-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px; position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.material-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.material-card .m-abbr {
  font-family: var(--font-head); font-weight: 800; font-size: 3rem;
  line-height: 1; background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em; margin-bottom: 14px;
}
.material-card:nth-child(2) .m-abbr { background: linear-gradient(120deg, var(--green), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.material-card .m-name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); margin-bottom: 10px; }
.material-card .m-body { color: var(--body); font-size: 0.98rem; }
.material-card .m-ring { position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 24px solid var(--bg-soft); opacity: 0.7; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cert-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; transition: all 0.2s ease;
}
.cert-item:hover { border-color: #cfe0ed; box-shadow: var(--shadow-sm); }
.cert-item .cert-badge {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
}
.cert-item:nth-child(even) .cert-badge { background: linear-gradient(135deg, var(--green), var(--teal)); }
.cert-item .cert-badge svg { width: 20px; height: 20px; }
.cert-item p { font-size: 0.92rem; color: var(--ink); font-weight: 600; font-family: var(--font-head); line-height: 1.4; }

/* =============================================================================
   CONTACT
   ============================================================================= */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 0.86rem; color: var(--ink); margin-bottom: 7px;
}
.field label .req { color: var(--teal-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.98rem;
  color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(28,160,220,0.12);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7c8f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.consent { font-size: 0.84rem; color: var(--muted); margin: 4px 0 18px; }
.form-success {
  display: none;
  background: var(--green-100); border: 1px solid #bce5b1;
  border-radius: var(--r); padding: 20px 22px; margin-bottom: 20px;
}
.form-success.show { display: block; }
.form-success .fs-title { font-family: var(--font-head); font-weight: 800; color: var(--green-600); margin-bottom: 4px; }
.form-success p { font-size: 0.92rem; color: #2f6b22; }

.contact-aside { display: grid; gap: 18px; }
.contact-info-card {
  background: var(--grad-navy); color: #fff; border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 40px); position: relative; overflow: hidden;
}
.contact-info-card::before { content:""; position:absolute; right:-70px; top:-70px; width:240px; height:240px; background: radial-gradient(circle, rgba(28,160,220,0.34), transparent 68%); }
.contact-info-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 22px; position: relative; }
.info-item { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-block: 14px; border-top: 1px solid rgba(255,255,255,0.1); }
.info-item:first-of-type { border-top: none; padding-top: 0; }
.info-item .ii-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.1); display: grid; place-items: center; color: #6fd0f3; }
.info-item .ii-icon svg { width: 20px; height: 20px; }
.info-item .ii-label { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(226,237,247,0.6); font-weight: 700; font-family: var(--font-head); margin-bottom: 3px; }
.info-item .ii-value { color: #fff; font-size: 0.96rem; font-weight: 500; }
.info-item a.ii-value:hover { color: #6fd0f3; }

.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.map-card .map-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.map-card .map-title svg { width: 18px; height: 18px; color: var(--teal-600); }

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer { background: var(--navy); color: rgba(226, 237, 247, 0.72); padding-top: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.site-footer::before { content:""; position:absolute; left:-120px; top:-80px; width:380px; height:380px; background: radial-gradient(circle, rgba(28,160,220,0.14), transparent 68%); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); position: relative; }
.footer-brand .logo-text { color: #fff; }
.footer-tagline { color: #6fd0f3; font-family: var(--font-head); font-weight: 600; font-size: 0.96rem; margin: 16px 0 14px; }
.footer-blurb { font-size: 0.94rem; max-width: 360px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 0.96rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 0.94rem; transition: color 0.18s ease; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact .fc-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; }
.footer-contact .fc-item svg { flex: none; width: 18px; height: 18px; color: #6fd0f3; margin-top: 2px; }
.footer-contact a:hover { color: #fff; }
.footer-cert { margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); position: relative; }
.footer-cert .fc-label { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.footer-cert .fc-note { font-size: 0.86rem; color: rgba(226,237,247,0.6); }
.footer-bottom {
  margin-top: 30px; padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  position: relative;
}
.footer-bottom .copyright { font-size: 0.86rem; color: rgba(226,237,247,0.55); }
.footer-bottom .back-top { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: rgba(226,237,247,0.72); }
.footer-bottom .back-top:hover { color: #fff; }
.footer-bottom .back-top svg { width: 16px; height: 16px; }

/* =============================================================================
   MOBILE NAV PANEL
   ============================================================================= */
.mobile-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 95;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 28px var(--gutter);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
body.menu-open .mobile-panel { transform: translateX(0); }
.mobile-panel a.m-link {
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line);
}
.mobile-panel a.m-link.active { color: var(--teal-600); }
.mobile-panel .m-cta { margin-top: 28px; }
.mobile-panel .m-cta .btn { width: 100%; }

/* =============================================================================
   REVEAL ANIMATIONS
   ============================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; max-width: 420px; margin-inline: auto; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .unit-grid, .values-grid, .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .lang-toggle { display: inline-flex; }
  .solution-wrap, .vm-grid, .team-grid, .material-grid, .contact-layout, .map-grid, .detail-block { grid-template-columns: 1fr; }
  .vm-card.feature { grid-row: auto; }
  .detail-block.reverse .detail-visual { order: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .workflow-grid, .unit-grid, .values-grid, .sector-grid, .cap-grid, .form-row, .cert-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 18px 24px; }
  .intelligence-layer { flex-direction: column; align-items: flex-start; }
  .card, .form-card { padding: 24px; }
}

/* Hide the header CTA on small screens (it lives in the mobile menu instead) */
@media (max-width: 720px) {
  .hide-sm { display: none; }
}

/* print-ish fallback if JS disabled */
.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================================
   PHOTOGRAPHY / IMAGERY (real photos integrated site-wide)
   ============================================================================= */
.section img, .hero img, .page-hero img { max-width: 100%; }

/* ---- Home hero photo (replaces the abstract ring) ---- */
.hero-photo {
  position: relative;
  margin: 0;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.04);
}
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.05; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(155deg, rgba(28, 160, 220, 0.10), transparent 42%, rgba(10, 37, 64, 0.30));
}
.hero-photo-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px 11px 14px;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.hero-photo-badge .hpb-num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1; color: #fff; }
.hero-photo-badge .hpb-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.05em; color: #6fd0f3; }
.hero-photo-badge .hpb-text small { font-weight: 500; font-size: 0.72rem; letter-spacing: 0; color: rgba(226, 237, 247, 0.8); }

/* ---- Photo showcase grid (Home "In the field") ---- */
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.shot {
  position: relative; margin: 0; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 3 / 4; background: var(--bg-softer);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 30px 16px 14px; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  background: linear-gradient(transparent, rgba(10, 37, 64, 0.88));
}

/* ---- Full-width feature image band (About) ---- */
.feature-figure {
  position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); min-height: 340px;
}
.feature-figure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-figure .ff-overlay {
  position: relative; z-index: 2; min-height: 340px;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 5vw, 60px); color: #fff;
  background: linear-gradient(105deg, rgba(10, 37, 64, 0.88) 0%, rgba(10, 37, 64, 0.6) 48%, rgba(10, 37, 64, 0.12) 100%);
}
.feature-figure .ff-overlay .eyebrow { color: #6fd0f3; margin-bottom: 8px; }
.feature-figure .ff-overlay h3 { color: #fff; font-size: clamp(1.4rem, 2.7vw, 2.1rem); max-width: 18ch; margin-bottom: 12px; }
.feature-figure .ff-overlay p { color: rgba(226, 237, 247, 0.92); max-width: 48ch; font-size: 1.02rem; }

/* ---- Banner image with caption (Industries, About team) ---- */
.img-banner { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-banner img { display: block; width: 100%; height: clamp(260px, 40vw, 440px); object-fit: cover; }
.img-banner .ib-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(22px, 4vw, 44px); color: #fff;
  background: linear-gradient(transparent, rgba(10, 37, 64, 0.86));
}
.img-banner .ib-cap h3 { color: #fff; font-size: clamp(1.3rem, 2.5vw, 2rem); margin-bottom: 6px; }
.img-banner .ib-cap p { color: rgba(226, 237, 247, 0.9); max-width: 56ch; }

/* ---- Services: photo atop each detail block visual ---- */
.detail-photo { margin: 0 0 18px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.detail-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---- Facility: two-up photo split ---- */
.split-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.split-photos .shot { aspect-ratio: 4 / 3; }

/* ---- Facility: technology / dashboard band ---- */
.tech-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.tech-devices { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tech-figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.tech-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Contact: aside photo ---- */
.aside-photo { margin: 0 0 22px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.aside-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (max-width: 980px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-devices { max-width: 640px; }
}
@media (max-width: 760px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .split-photos { grid-template-columns: 1fr; }
}

/* ---- Real brand logo in the header (header kept solid so it always reads) ---- */
.site-header.scrolled { background: #fff; }          /* opaque so the white-bg logo blends seamlessly */
.brand-logo-img { height: 42px; width: auto; display: block; }
@media (max-width: 600px) { .brand-logo-img { height: 36px; } }

/* =============================================================================
   INTERACTIVE SIX-STAGE WORKFLOW DIAGRAM (replaces the static card grid)
   ============================================================================= */
.sq-wrap { max-width: 860px; margin: 0 auto; padding: 3rem 0; }
.sq-svg { display: block; width: 100%; height: auto; overflow: visible; }

.sq-stage { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform 0.22s ease, opacity 0.25s ease; outline: none; }
.sq-stage:hover { transform: scale(1.05); }
.sq-stage .sq-glow { opacity: 0; transition: opacity 0.3s ease; }
.sq-stage.active .sq-glow { opacity: 1; }
.sq-stage:focus-visible .sq-glow { opacity: 1; }
.sq-lbl { fill: #fff; font-family: var(--font-head); font-size: 11.5px; font-weight: 600; }
.sq-bnum { fill: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 700; }
.sq-hub-name { fill: #5bc0e8; font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; }
.sq-hub-sub { fill: #fff; font-family: var(--font-body); font-size: 9.5px; opacity: 0.75; }

@media (prefers-reduced-motion: no-preference) {
  .sq-ring { animation: sqSpin 22s linear infinite; transform-origin: 340px 280px; }
  .sq-stage.active .sq-glow { animation: sqPulse 1.9s ease-in-out infinite; }
  .sq-pop { animation: sqPop 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) backwards; }
  .sq-dot { animation: sqPulse 2.4s ease-in-out infinite; }
  @keyframes sqSpin { to { transform: rotate(360deg); } }
  @keyframes sqPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.95; } }
  @keyframes sqPop { from { opacity: 0; transform: scale(0.55); } to { opacity: 1; transform: scale(1); } }
}

.sq-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 560px; margin: 8px auto 16px; }
.sq-nav {
  width: 44px; height: 40px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cfe8f6; transition: all 0.18s ease;
}
.sq-nav:hover { background: rgba(255, 255, 255, 0.16); border-color: #6fd0f3; color: #fff; }
.sq-nav svg { width: 18px; height: 18px; }
.sq-counter { flex: 1; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; color: rgba(226, 237, 247, 0.75); }

.sq-detail {
  max-width: 680px; margin: 0 auto; min-height: 156px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 28px);
}
.sq-panel { display: none; }
.sq-panel.show { display: block; animation: sqFade 0.4s ease; }
@keyframes sqFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sq-phead { display: flex; align-items: center; gap: 13px; margin-bottom: 11px; }
.sq-pnum { min-width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.sq-ptitle { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.2rem); color: #fff; }
.sq-pbody { margin: 0 0 15px; font-size: 1rem; line-height: 1.65; color: rgba(226, 237, 247, 0.82); }
.sq-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sq-tag { font-size: 0.8rem; padding: 5px 13px; border-radius: 999px; font-weight: 600; }
.sq-grp-teal .sq-pnum { background: rgba(28, 160, 220, 0.18); color: #6fd0f3; }
.sq-grp-teal .sq-tag { background: rgba(28, 160, 220, 0.14); color: #9bd9f2; }
.sq-grp-green .sq-pnum { background: rgba(61, 174, 43, 0.2); color: #8fe07f; }
.sq-grp-green .sq-tag { background: rgba(61, 174, 43, 0.16); color: #a6e89a; }

@media (max-width: 560px) {
  .sq-wrap { padding: 2rem 0; }
  .sq-lbl { font-size: 13px; }
  .sq-bnum { font-size: 15px; }
}
