/* ============================================================
   HUSNI HALIM — style.css
   Lean Manufacturing Consultant & HRDC-Accredited Trainer
   Colour palette:
     --c-dark      #0c1b2e  (navy)
     --c-accent    #8b2252  (burgundy)
     --c-secondary #c47832  (gold)
     --c-warm      #f9f7f4  (off-white bg)
     --c-soft      #ece8e3  (card bg)
     --c-body      #374151  (body text)
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --c-dark:      #0c1b2e;
  --c-accent:    #8b2252;
  --c-secondary: #c47832;
  --c-warm:      #f9f7f4;
  --c-soft:      #ece8e3;
  --c-body:      #374151;

  --nav-h: 72px;
  --section-pad: 96px 24px;
  --max-w: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(12,27,46,0.08);
  --shadow-md: 0 8px 40px rgba(12,27,46,0.14);
  --shadow-lg: 0 16px 64px rgba(12,27,46,0.20);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16,1,0.3,1);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-warm);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--c-dark);
  font-weight: 600;
  line-height: 1.2;
}
h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 20px; }
p  { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

strong { color: var(--c-dark); }

/* Utility: max-width wrapper */
.section { padding: var(--section-pad); max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 17px;
  color: #5a6578;
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-primary:hover {
  background: #721c45;
  border-color: #721c45;
  box-shadow: 0 6px 24px rgba(139,34,82,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--c-dark);
  border-color: var(--c-dark);
}
.btn-outline:hover {
  background: var(--c-dark);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--c-accent);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--c-soft);
  box-shadow: 0 6px 24px rgba(255,255,255,0.25);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0;
  height: var(--nav-h);
  padding: 0 40px;
  background: transparent;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.nav-scrolled {
  background: rgba(12,27,46,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  margin-right: auto;
  flex-shrink: 0;
}
.nav-logo em {
  font-style: italic;
  color: var(--c-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px !important;
  color: rgba(255,255,255,0.7) !important;
  padding: 5px 10px !important;
}
.nav-phone:hover { color: #fff !important; }

.nav-tool {
  color: var(--c-secondary) !important;
  border: 1px solid rgba(196,120,50,0.4);
  border-radius: 6px;
}
.nav-tool:hover {
  background: rgba(196,120,50,0.15) !important;
  color: #e09040 !important;
}

.nav-cta {
  background: var(--c-accent) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 6px;
}
.nav-cta:hover { background: #721c45 !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--c-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Background geometric shapes */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .07;
}
.hero-shape--1 {
  width: 600px; height: 600px;
  background: var(--c-accent);
  top: -200px; right: -100px;
}
.hero-shape--2 {
  width: 400px; height: 400px;
  background: var(--c-secondary);
  bottom: -150px; left: -100px;
  opacity: .05;
}
.hero-shape--3 {
  width: 200px; height: 200px;
  background: #fff;
  top: 40%; left: 35%;
  opacity: .03;
}
.hero-accent-line {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--c-accent), var(--c-secondary));
}

/* Inner layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px;
}

/* Left: text content */
.hero-content { flex: 1; min-width: 0; }

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-secondary);
  background: rgba(196,120,50,0.1);
  border: 1px solid rgba(196,120,50,0.3);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.hero-title em {
  font-style: italic;
  color: var(--c-secondary);
  display: block;
}

.hero-role {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-actions .btn-outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-secondary);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* Right: portrait */
.hero-portrait-wrap {
  position: relative;
  flex-shrink: 0;
  width: 360px;
}
.hero-portrait-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(139,34,82,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  filter: grayscale(20%) contrast(1.05);
  box-shadow: var(--shadow-lg);
  margin-top: -40px;
}

.hero-portrait-cred {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(12,27,46,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 20px;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.hero-portrait-cred-line {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: .04em;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--c-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 40px;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}
.trust-logo-item {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  letter-spacing: .01em;
}
.trust-logo-sep { color: rgba(255,255,255,0.2); font-size: 14px; }
.trust-tool-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-secondary);
  white-space: nowrap;
  letter-spacing: .02em;
  flex-shrink: 0;
  transition: opacity .2s;
}
.trust-tool-link:hover { opacity: .75; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #e5e0da;
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon { font-size: 32px; }
.service-card h3 {
  font-size: 20px;
  color: var(--c-dark);
  margin-bottom: 0;
}
.service-card p {
  font-size: 14.5px;
  color: #5a6578;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0;
}
.service-card .btn { margin-top: auto; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--c-soft); max-width: 100%; }
.testimonials-section > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.testimonials-section h2 { text-align: center; }
.testimonials-section .section-label { text-align: center; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid var(--c-accent);
  transition: box-shadow .25s, transform .25s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 56px;
  font-style: italic;
  color: var(--c-accent);
  line-height: .8;
  opacity: .4;
  user-select: none;
}
.testimonial-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-body);
  flex: 1;
  margin-bottom: 0;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #f0ebe4;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: -.01em;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-dark);
}
.testimonial-role {
  font-size: 12px;
  color: #7a8494;
  margin-top: 2px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { border-top: 1px solid #e5e0da; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}
.about-text p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #4a5568;
}
.about-text strong { color: var(--c-dark); }
.about-badge {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-accent);
  background: rgba(139,34,82,0.06);
  border: 1px solid rgba(139,34,82,0.2);
  padding: 8px 16px;
  border-radius: 6px;
}

/* Credentials grid */
.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cred-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid #e5e0da;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: box-shadow .2s;
}
.cred-card:hover { box-shadow: var(--shadow); }
.cred-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.cred-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-dark);
  line-height: 1.4;
}
.cred-sub {
  font-size: 12px;
  color: #7a8494;
  margin-top: 3px;
}

/* About stats (if used by counter script) */
.about-stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}

/* ============================================================
   EXPERTISE
   ============================================================ */
.expertise-section { background: var(--c-dark); max-width: 100%; }
.expertise-section > .section-label,
.expertise-section > h2,
.expertise-section > .section-desc {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.expertise-section h2 { color: #fff; }
.expertise-section .section-label { max-width: var(--max-w); display: block; }
.expertise-section .section-desc { color: rgba(255,255,255,0.55); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.exp-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  transition: background .2s, border-color .2s, transform .2s;
}
.exp-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.exp-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}
.exp-item p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies-section { border-top: 1px solid #e5e0da; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.case-card {
  background: #fff;
  border: 1px solid #e5e0da;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s, transform .25s;
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.case-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-accent);
  background: rgba(139,34,82,0.07);
  padding: 4px 10px;
  border-radius: 30px;
  align-self: flex-start;
}
.case-card h3 { font-size: 20px; color: var(--c-dark); }
.case-industry {
  font-size: 12px;
  color: #7a8494;
  font-weight: 500;
}
.case-detail { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.case-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
}
.case-label {
  font-weight: 600;
  color: var(--c-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-top: 1px;
}

/* ============================================================
   KAIZEN HERO / HIGHLIGHT BANNER
   ============================================================ */
.kaizen-hero {
  background: linear-gradient(135deg, #0a1525 0%, var(--c-dark) 40%, #1a0a14 100%);
  position: relative;
  overflow: hidden;
}
.kaizen-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.kaizen-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px;
}
.kaizen-hero-content { max-width: 700px; }
.kaizen-hero h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}
.kaizen-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 600px;
}

/* Kaizen list */
.kaizen-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
}
.kaizen-list li {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.kaizen-list li::before {
  content: '✓';
  color: var(--c-secondary);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Badges row */
.kaizen-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.kaizen-badge {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 30px;
}
.kaizen-badge--gold {
  color: var(--c-secondary);
  background: rgba(196,120,50,0.12);
  border-color: rgba(196,120,50,0.3);
}

/* Price */
.kaizen-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.kaizen-price-amount {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--c-secondary);
  line-height: 1;
}
.kaizen-price-note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
  line-height: 1.5;
}

/* ============================================================
   TRAINING SECTION
   ============================================================ */
.training-section { background: var(--c-warm); }
.training-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.training-card {
  background: #fff;
  border: 1px solid #e5e0da;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .25s, transform .25s;
}
.training-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.training-card--custom {
  background: var(--c-dark);
  border-color: var(--c-dark);
}
.training-card--custom h3,
.training-card--custom p,
.training-card--custom li,
.training-card--custom .duration,
.training-card--custom .price-tag {
  color: rgba(255,255,255,0.8);
}
.training-card--custom h3 { color: #fff; }
.training-card--custom li::before { color: var(--c-secondary); }

.training-card-top { display: flex; flex-direction: column; gap: 6px; }
.training-card h3 {
  font-size: 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
}
.duration {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: .02em;
}
.price-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-secondary);
}
.training-card > p {
  font-size: 14px;
  color: #5a6578;
  line-height: 1.7;
}
.training-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.training-card ul li {
  font-size: 13.5px;
  color: #5a6578;
  display: flex;
  gap: 8px;
  line-height: 1.4;
}
.training-card ul li::before {
  content: '→';
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
}
.training-card .btn { margin-top: auto; }

.training-note {
  margin-top: 32px;
  font-size: 13px;
  color: #7a8494;
  text-align: center;
}
.training-note a {
  color: var(--c-accent);
  text-decoration: underline;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { border-top: 1px solid #e5e0da; }
.blog-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.blog-card {
  background: #fff;
  border: 1px solid #e5e0da;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card a { display: block; color: inherit; }

/* CSS-only blog thumbnails */
.blog-card-img {
  height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.blog-card-img--kaizen {
  background: linear-gradient(135deg, #0c1b2e 0%, #1a2d45 40%, #2c1020 100%);
}
.blog-card-img--kaizen::before {
  content: '改善';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  color: rgba(139,34,82,0.25);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}
.blog-card-img--5s {
  background: linear-gradient(135deg, #1a2533 0%, #0c1b2e 50%, #1a2500 100%);
}
.blog-card-img--5s::before {
  content: '5S';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 72px;
  font-weight: 800;
  color: rgba(196,120,50,0.2);
  font-family: var(--font-sans);
  pointer-events: none;
}
.blog-card-img--vsm {
  background: linear-gradient(135deg, #0c1b2e 0%, #101f30 60%, #1c0c28 100%);
}
.blog-card-img--vsm::before {
  content: '→→→';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: rgba(196,120,50,0.2);
  letter-spacing: .2em;
  pointer-events: none;
}

.blog-card-img-label {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
}

.blog-card-body { padding: 20px 20px 12px; }
.blog-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.blog-card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}
.blog-card-body p {
  font-size: 13.5px;
  color: #5a6578;
  line-height: 1.65;
  margin-bottom: 0;
}
.blog-card-meta {
  font-size: 12px;
  color: #9aa3b0;
  padding: 10px 20px 16px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--c-dark);
  padding: 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { color: #fff; }

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 18px;
  transition: background .2s, border-color .2s;
}
.contact-method:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.contact-method--whatsapp {
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.25);
  color: #4de87c;
}
.contact-method--whatsapp:hover {
  background: rgba(37,211,102,0.15);
  border-color: rgba(37,211,102,0.4);
}
.contact-method--location { cursor: default; }
.contact-method--location:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 24px;
  font-family: var(--font-sans);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-dark);
  letter-spacing: .01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid #d8d0c8;
  border-radius: 6px;
  font-size: 14px;
  color: var(--c-dark);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(139,34,82,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit { margin-top: 4px; padding: 14px; font-size: 15px; }
.form-note {
  font-size: 12px;
  color: #9aa3b0;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #06101e;
  color: rgba(255,255,255,0.55);
  padding: 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 40px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Footer brand column */
.footer-brand {}
.footer-logo {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-logo em {
  font-style: italic;
  color: var(--c-secondary);
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: background .2s, color .2s;
}
.footer-social a:hover {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }

/* Footer contact list */
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact-list li a,
.footer-contact-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.footer-contact-list li a:hover { color: #fff; }
.footer-contact-list li svg { flex-shrink: 0; opacity: .5; }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0;
}

/* ============================================================
   TRACK / FLAGSHIP SUMMARY (CMS data targets)
   ============================================================ */
.track-summary-num,
.flagship-card-stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-secondary);
  line-height: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large tablets / small desktops */
@media (max-width: 1100px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Tablets */
@media (max-width: 900px) {
  :root { --section-pad: 64px 24px; }
  .nav { padding: 0 24px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--c-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: calc(var(--nav-h) + 24px) 24px 40px;
    transition: right .35s var(--ease-out);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.active { right: 0; }
  .nav-links a {
    padding: 14px 0;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    width: 100%;
  }
  .nav-links li { width: 100%; }
  .nav-cta {
    margin-top: 16px;
    padding: 12px 24px !important;
    display: inline-block;
    width: auto;
    text-align: center;
  }

  .hero-inner { flex-direction: column-reverse; gap: 40px; padding: 60px 24px 80px; }
  .hero-portrait-wrap { width: min(280px, 80vw); }
  .hero-portrait { height: 340px; }
  .hero-portrait-cred { position: static; transform: none; white-space: normal; margin-top: 12px; }
  .hero-stats { gap: 20px; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .training-cards { grid-template-columns: 1fr; }
  .blog-preview { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kaizen-hero-inner { padding: 60px 24px; }
}

/* Phones */
@media (max-width: 600px) {
  :root { --section-pad: 48px 20px; }
  .nav { padding: 0 20px; }

  .hero-title { font-size: clamp(44px, 14vw, 72px); }
  .hero-inner { padding: 40px 20px 70px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat { min-width: 110px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .trust-bar { padding: 14px 20px; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }

  .expertise-grid { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 64px 1fr; }
  .training-cards { grid-template-columns: 1fr; }
  .blog-preview { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding: 48px 20px 24px; }

  .contact-form-wrap { padding: 24px 20px; }
  .contact-inner { padding: 48px 20px; }

  .kaizen-hero-inner { padding: 48px 20px; }
  .kaizen-price-amount { font-size: 36px; }
  .kaizen-price { flex-direction: column; gap: 8px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav, .hamburger, .hero-scroll-indicator, .hero-bg-shapes { display: none; }
  .hero { min-height: auto; padding: 40px 24px; }
  body { color: #000; background: #fff; }
}
