/* =========================================================================
   PB Rubber Indo — Stylesheet
   Light, premium B2B aesthetic. References TOTO sanitary + Alba Unggul Metal.
   ========================================================================= */

/* -------------------------- 1. Tokens -------------------------- */
:root {
  --bg: #FFFFFF;
  --bg-surface: #F5F7F9;
  --bg-deep: #0F172A;
  --text: #18181B;
  --text-2: #52525B;
  --text-3: #A1A1AA;
  --accent: #1E5BB8;
  --accent-2: #0E78A0;
  --success: #1F8A56;
  --border: #E2E6EB;
  --warm: #E5A623;

  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
  --s7: 80px;
  --s8: 120px;
  --s9: 200px;

  --font-title: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max: 1280px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* -------------------------- 2. Reset -------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }
a { color: var(--accent); text-decoration: none; transition: color 200ms var(--ease); }
a:hover { color: var(--accent-2); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
ul, ol { margin: 0 0 var(--s3) 0; padding-left: var(--s4); }
li + li { margin-top: 6px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--s3) 0; font-family: var(--font-title); font-weight: 600; line-height: 1.15; color: var(--text); }
p { margin: 0 0 var(--s3) 0; max-width: 65ch; }
figure { margin: 0; }

/* -------------------------- 3. Type scale -------------------------- */
h1, .h1 { font-size: clamp(2.5rem, 4.5vw + 1rem, 4.5rem); letter-spacing: -0.025em; font-weight: 700; line-height: 1.05; }
h2, .h2 { font-size: clamp(2rem, 3vw + 0.5rem, 3rem); letter-spacing: -0.022em; }
h3, .h3 { font-size: clamp(1.5rem, 2vw + 0.25rem, 2rem); letter-spacing: -0.018em; }
h4 { font-size: 1.25rem; letter-spacing: -0.012em; }
.small { font-size: 14px; color: var(--text-2); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: var(--s3); display: inline-block; }
.mono { font-family: var(--font-mono); }
.text-muted { color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 0.5vw + 1rem, 1.25rem); line-height: 1.55; color: var(--text-2); max-width: 60ch; }

/* -------------------------- 4. Layout -------------------------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--s4); }
.section { padding: var(--s7) 0; }
.section--tight { padding: var(--s6) 0; }
.section--lg { padding: var(--s8) 0; }
.section--alt { background: var(--bg-surface); }
.section--deep { background: var(--bg-deep); color: #E5E7EB; }
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: #FAFAFA; }
.section--deep p { color: #C8CDD6; }
.section--deep a { color: #93C5FD; }
.section--deep .eyebrow { color: #93C5FD; }

.grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s6); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split-text { max-width: 56ch; }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--s5); }
  .split--reverse > :first-child { order: initial; }
}
@media (max-width: 640px) {
  .container { padding: 0 var(--s3); }
  .section { padding: var(--s6) 0; }
  .section--lg { padding: var(--s7) 0; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------------- 5. Header / Nav -------------------------- */
.credibility {
  background: var(--bg-deep);
  color: #C8CDD6;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: var(--s2) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.credibility-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  gap: var(--s5);
  will-change: transform;
}
.credibility-track span { display: inline-flex; align-items: center; gap: var(--s3); }
.credibility-track span::after {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .credibility-track { animation: none; transform: none; flex-wrap: wrap; white-space: normal; justify-content: center; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 240ms var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s4);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 4px;
  background: var(--bg-deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-2);
  display: block;
  margin-top: 2px;
  font-weight: 400;
}
.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--s5);
}
.nav-primary a {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 6px 0;
  position: relative;
  transition: color 200ms var(--ease);
}
.nav-primary a:hover { color: var(--accent); }
.nav-primary a.current { color: var(--accent); }
.nav-primary .has-menu { position: relative; }
.nav-primary .has-menu > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.6;
}
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s2);
  min-width: 260px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
}
.submenu a:hover { background: var(--bg-surface); color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.lang-toggle {
  display: inline-flex;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.06em;
}
.lang-toggle button { color: inherit; padding: 4px 6px; }
.lang-toggle .on { color: var(--accent); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 12px 20px;
  border-radius: 999px;
  transition: transform 140ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease);
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--text); color: #fff; border-color: var(--text); }
.btn-wa {
  background: var(--success);
  color: #fff;
}
.btn-wa:hover { background: #196D45; color: #fff; box-shadow: var(--shadow-md); }
.btn-wa svg { width: 18px; height: 18px; }

.btn-ghost {
  color: var(--accent);
  padding: 0;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }
.btn-ghost::after { content: " →"; transition: transform 200ms var(--ease); display: inline-block; }
.btn-ghost:hover::after { transform: translateX(3px); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--text);
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

@media (max-width: 1024px) {
  .nav-primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-primary.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: var(--s4);
    gap: var(--s3);
    align-items: flex-start;
    box-shadow: var(--shadow-md);
  }
  .nav-primary.open .submenu { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: 0; padding: 0 0 0 var(--s3); }
  .site-header-inner { height: 64px; }
  .lang-toggle { display: none; }
  .btn-wa span.label-full { display: none; }
}

/* -------------------------- 6. Hero -------------------------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.25) 0%, rgba(15,23,42,0.55) 60%, rgba(15,23,42,0.78) 100%);
  z-index: -1;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s8) var(--s4) var(--s7);
  width: 100%;
}
.hero-text { max-width: 760px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4.5vw + 1rem, 4.75rem);
}
.hero p { color: rgba(255,255,255,0.9); max-width: 60ch; font-size: clamp(1.05rem, 0.5vw + 1rem, 1.25rem); }
.hero .hero-eyebrow { font-family: var(--font-mono); color: #93C5FD; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: var(--s3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.hero-actions .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.45); }
.hero-actions .btn-secondary:hover { background: #fff; color: var(--text); border-color: #fff; }

.page-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background: var(--bg-deep);
}
.page-hero .hero-bg img { opacity: 0.55; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.7) 100%);
  z-index: -1;
}
.page-hero .hero-inner { padding: var(--s7) var(--s4) var(--s6); }
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 3.5vw + 1rem, 3.5rem); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 60ch; }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--s3);
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { margin: 0 8px; color: rgba(255,255,255,0.4); }

/* -------------------------- 7. Stat strip -------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s4);
  padding: var(--s6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-2); letter-spacing: 0.02em; }

@media (max-width: 1024px) {
  .stat-strip { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
}
@media (max-width: 640px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
}

/* -------------------------- 8. Cards -------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease), border-color 350ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D6DCE3; }
.card-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-surface); }
.card-media.media-16x9 { aspect-ratio: 16 / 9; }
.card-media.media-4x5 { aspect-ratio: 4 / 5; }
.card-media img { width: 100%; height: 100%; transition: transform 600ms var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: var(--s4); display: flex; flex-direction: column; flex: 1; gap: var(--s2); }
.card-tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.card-title { font-size: 1.25rem; margin: 0 0 4px 0; font-weight: 600; }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.card-foot { margin-top: auto; padding-top: var(--s3); }

.range-card .card-media { aspect-ratio: 4 / 5; }

/* Capability zig-zag rows */
.cap-row { padding: var(--s7) 0; border-bottom: 1px solid var(--border); }
.cap-row:last-child { border-bottom: 0; }
.cap-row .split-text h3 { font-size: clamp(1.5rem, 1.5vw + 0.5rem, 2rem); }
.cap-row .cap-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  aspect-ratio: 4 / 3;
}
.cap-row .cap-img img { width: 100%; height: 100%; }

/* Customer logo wall */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.logo-wall .logo {
  padding: var(--s4);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  place-items: center;
  min-height: 110px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.logo-wall .logo:hover { color: var(--text); background: var(--bg-surface); }

@media (max-width: 1024px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------------- 9. Timeline -------------------------- */
.timeline {
  display: grid;
  gap: var(--s5);
  position: relative;
  margin-top: var(--s5);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--s4);
  position: relative;
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.02em;
  font-weight: 500;
  padding-top: 2px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 124px;
  top: 8px;
  width: 13px; height: 13px;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.timeline-body h3 { font-size: 1.15rem; margin: 0 0 6px 0; }
.timeline-body p { margin: 0; color: var(--text-2); }

@media (max-width: 640px) {
  .timeline::before { left: 8px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: var(--s4); }
  .timeline-item::before { left: 2px; top: 6px; }
  .timeline-year { padding-top: 0; }
}

/* -------------------------- 10. Process steps -------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.process-step {
  padding: var(--s5) var(--s4);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  position: relative;
}
.process-step:last-child { border-right: 0; }
.process-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.process-step h4 { font-size: 1.05rem; margin: 0; letter-spacing: -0.01em; }
.process-step p { font-size: 14px; color: var(--text-2); margin: 0; }

@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .process-step:nth-child(2n) { border-right: 0; }
}
@media (max-width: 640px) {
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: 0; }
}

/* -------------------------- 11. Tables -------------------------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin-bottom: var(--s4);
}
.spec-table th, .spec-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
  background: var(--bg-surface);
  font-weight: 500;
}
.spec-table tr:last-child td { border-bottom: 0; }

/* -------------------------- 12. Forms -------------------------- */
.form { display: grid; gap: var(--s3); }
.form-row { display: grid; gap: 6px; }
.form-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.form-row input, .form-row textarea, .form-row select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  width: 100%;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 91, 184, 0.15);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* -------------------------- 13. FAQ -------------------------- */
.faq-group + .faq-group { margin-top: var(--s6); }
.faq-group h2 {
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s4);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s4) 0;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s3);
  color: var(--text);
  transition: color 200ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 220ms var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item:hover summary { color: var(--accent); }
.faq-body { padding: 0 0 var(--s4) 0; color: var(--text-2); }
.faq-body p:last-child { margin-bottom: 0; }

/* -------------------------- 14. Footer -------------------------- */
.site-footer {
  background: var(--bg-deep);
  color: #C8CDD6;
  padding: var(--s7) 0 var(--s4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: var(--s5);
  padding-bottom: var(--s6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: #fff;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--s3) 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 10px 0; }
.footer-col a {
  color: #C8CDD6;
  font-size: 14px;
  transition: color 200ms var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-col p { color: #C8CDD6; font-size: 14px; margin: 0 0 10px 0; max-width: none; }
.footer-brand .brand { color: #fff; margin-bottom: var(--s3); }
.footer-brand .brand-mark { background: #fff; color: var(--bg-deep); }
.footer-brand .brand-sub { color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.7); line-height: 1.55; }

.cert-row {
  padding: var(--s5) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cert-badge {
  display: inline-flex;
  flex-direction: column;
  padding: var(--s2) var(--s3);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #FAFAFA;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  background: rgba(255,255,255,0.03);
}
.cert-badge strong { display: block; color: var(--warm); font-weight: 500; font-size: 11px; }
.cert-text { color: rgba(255,255,255,0.65); font-size: 13px; max-width: 540px; }

.footer-bottom {
  padding-top: var(--s4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}
.footer-social { display: flex; gap: var(--s3); align-items: center; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.75); }
.footer-social a:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.footer-social svg { width: 16px; height: 16px; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .footer-brand { grid-column: 1 / -1; }
}

/* -------------------------- 15. Floating WhatsApp -------------------------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--success);
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: 0 8px 22px rgba(31, 138, 86, 0.35), 0 4px 8px rgba(0,0,0,0.12);
  color: #fff;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.05); color: #fff; box-shadow: 0 12px 28px rgba(31, 138, 86, 0.4), 0 6px 12px rgba(0,0,0,0.15); }
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* -------------------------- 16. Utilities & motion -------------------------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.divider { height: 1px; background: var(--border); border: 0; margin: var(--s5) 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.tag {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  background: #fff;
}
.tag--accent { color: var(--accent); border-color: rgba(30,91,184,0.3); background: rgba(30,91,184,0.05); }

.section-head {
  display: grid;
  gap: var(--s2);
  margin-bottom: var(--s5);
  max-width: 740px;
}
.section-head--lg { margin-bottom: var(--s6); }

.callout {
  background: var(--bg-surface);
  border-left: 3px solid var(--accent);
  padding: var(--s4) var(--s5);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: var(--s4) 0;
}
.callout p:last-child { margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}
.contact-grid .map-embed {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .contact-grid .map-embed { aspect-ratio: 16 / 10; }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  margin-top: var(--s5);
}
.pillar {
  padding: var(--s5) var(--s4);
  border-top: 2px solid var(--accent);
  background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.pillar-en { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; margin: 0 0 6px 0; }
.pillar-ja { font-family: var(--font-body); color: var(--text-2); font-size: 14.5px; letter-spacing: 0.04em; }
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  background: var(--bg-deep);
}
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 400ms var(--ease), transform 600ms var(--ease); z-index: -1; }
.industry-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.85) 100%);
  z-index: -1;
}
.industry-card:hover img { opacity: 0.7; transform: scale(1.04); }
.industry-card .industry-body { padding: var(--s4) var(--s5); width: 100%; }
.industry-card h3 { color: #fff; margin: 0 0 6px 0; font-size: 1.5rem; }
.industry-card p { color: rgba(255,255,255,0.85); margin: 0; font-size: 14.5px; }
.industry-card .industry-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #93C5FD; margin-bottom: 8px; }
@media (max-width: 640px) { .industries-grid { grid-template-columns: 1fr; } }

.prose h2 { margin-top: var(--s6); }
.prose h3 { margin-top: var(--s5); font-size: 1.35rem; }
.prose ul, .prose ol { padding-left: var(--s4); }
.prose ul li, .prose ol li { color: var(--text); }
.prose p { color: var(--text); }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(30,91,184,0.25); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose .lead { margin-bottom: var(--s5); }

/* Equipment grid for capabilities */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s2);
  margin: var(--s4) 0 var(--s5);
}
.equipment-cell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  display: grid;
  gap: 6px;
}
.equipment-cell .num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.equipment-cell .label { font-size: 13px; color: var(--text); line-height: 1.3; }
@media (max-width: 1024px) { .equipment-grid { grid-template-columns: repeat(2, 1fr); } }

/* Blog list */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.post-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--s5);
  margin-bottom: var(--s6);
}
.post-meta { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin-bottom: var(--s3); }
.post-meta .post-cat { color: var(--accent); }
.post-body { max-width: 720px; }
.post-body img { border-radius: var(--radius-lg); margin: var(--s4) 0; }
.post-hero {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--s5);
  background: var(--bg-surface);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s3);
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 200;
  transition: top 200ms var(--ease);
  font-size: 14px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Focus states */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
