/* ==========================================================================
   MaInfo Capital - Design Tokens
   5色（メイン/サブ/アクセント/背景/文字）× フォント2種 × 文字サイズ4段階
   × 余白5段階(4/8/16/32/64) × 角丸・境界線・影 各2〜3種 のみを使用する
   ========================================================================== */
:root {
  /* ---- Colors (5 roles) ---- */
  --color-bg: #ffffff;           /* 背景 */
  --color-main: #2c1a4d;         /* メイン：濃紫（ヘッダー/フッター/見出し） */
  --color-main-deep: #1c0f36;    /* メインの暗色バリアント（同role） */
  --color-sub: #f3effa;          /* サブ：薄紫（セクション背景/カード面） */
  --color-sub-line: #e1d8f0;     /* サブの境界線バリアント（同role） */
  --color-accent: #7c3aed;       /* アクセント：紫（CTA/ボタン/強調） */
  --color-accent-light: #b46cf2; /* アクセントの明るいバリアント（グラデーション用） */
  --color-text: #241c33;         /* 文字（濃） */
  --color-text-light: #7d7489;   /* 文字（淡） */

  /* ---- Legacy alias（既存クラスをそのまま新配色へ寄せるための別名） ---- */
  --navy: var(--color-main);
  --navy-deep: var(--color-main-deep);
  --navy-light: #3d2566;
  --gold: var(--color-accent);
  --gold-light: var(--color-accent-light);
  --gold-soft: var(--color-sub);
  --ink: var(--color-text);
  --gray-700: var(--color-text);
  --gray-500: var(--color-text-light);
  --gray-300: var(--color-sub-line);
  --gray-100: var(--color-sub);
  --white: var(--color-bg);
  --success: var(--color-accent);

  /* ---- Fonts (2 types) ---- */
  --font-heading: 'Shippori Mincho B1', serif;   /* 見出し用 */
  --font-body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif; /* 本文用 */
  --font-serif: var(--font-heading);
  --font-sans: var(--font-body);

  /* ---- Font sizes (4 levels) ---- */
  --fs-h1: clamp(30px, 4vw, 46px);   /* 見出し */
  --fs-h2: clamp(21px, 2.4vw, 26px); /* 小見出し */
  --fs-body: 16px;                    /* 本文 */
  --fs-note: 13px;                    /* 注釈 */

  /* ---- Spacing (5 steps only) ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 32px;
  --sp-5: 64px;

  /* ---- Radius (2 types) ---- */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius: var(--radius-sm);

  /* ---- Border (2 types) ---- */
  --border-thin: 1px solid var(--color-sub-line);
  --border-accent: 1px solid var(--color-accent);

  /* ---- Shadow (2 types, kept subtle) ---- */
  --shadow-sm: 0 2px 8px rgba(44,26,77,0.06);
  --shadow-md: 0 8px 20px rgba(44,26,77,0.10);
  --shadow-lg: var(--shadow-md);

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 700; letter-spacing: 0.02em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* scroll progress */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  box-shadow: 0 0 10px rgba(124,58,237,0.55);
  z-index: 2000; transition: width .12s ease-out, height .2s ease;
}
#scroll-progress.active { height: 4px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(6,15,31,0.0);
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
  padding: 6px 0;
}
.site-header.scrolled {
  background: rgba(6,15,31,0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  height: 40px; width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: var(--white); font-family: var(--font-serif); font-weight: 700; font-size: 17px; letter-spacing: 0.05em; }
.brand-sub { color: var(--gold-light); font-size: 10px; letter-spacing: 0.22em; font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a, .nav-dropdown > a { color: rgba(255,255,255,0.88); font-size: 14.5px; font-weight: 500; position: relative; padding: 6px 0; white-space: nowrap; }
.main-nav > a:hover, .nav-dropdown > a:hover { color: var(--gold-light); }
.main-nav > a::after, .nav-dropdown > a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold-light); transition: width .3s ease;
}
.main-nav > a:hover::after, .nav-dropdown > a:hover::after { width: 100%; }
.nav-cta::after { display: none; }
.nav-dropdown { position: relative; }
.nav-caret { font-size: 9px; margin-left: 5px; }
.dropdown-panel {
  position: absolute; top: 100%; left: -20px; margin-top: 14px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 260px; padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .25s ease;
}
.nav-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 6px;
  color: var(--navy); font-size: 14px; font-weight: 500;
}
.dropdown-panel a i { color: var(--gold); width: 18px; text-align: center; }
.dropdown-panel a:hover { background: var(--gray-100); }
.nav-cta {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: var(--white) !important; padding: 10px 22px; border-radius: 30px; font-weight: 700 !important;
}
.nav-cta:hover { filter: brightness(1.08); }
.lang-switch {
  border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; padding: 6px 14px !important;
  font-size: 12.5px !important; font-weight: 700 !important; letter-spacing: 0.05em;
}
.lang-switch:hover { background: rgba(255,255,255,0.08); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; z-index: 1100; }
.menu-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 15px 36px; border-radius: 34px; font-weight: 700; font-size: 15px;
  letter-spacing: 0.03em; transition: all .28s ease; border: 2px solid transparent;
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light)); color: var(--white); box-shadow: var(--shadow-md); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* Magnetic hover: subtle cursor-follow translate, set via JS custom properties */
.btn-magnetic { --mx: 0px; --my: 0px; transform: translate(var(--mx), var(--my)); transition: transform .25s ease, box-shadow .28s ease, background .28s ease; }
.btn-magnetic:hover { transform: translate(var(--mx), var(--my)) translateY(-3px); }
/* Gentle attention pulse for the primary hero CTA only */
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(124,58,237,0.55); animation: btnPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(124,58,237,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(124,58,237,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 100px;
}
.hero-grid-lines { display: none; }

/* Hero media layer: static parallax background + optional looping video (both muted/decorative) */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-parallax {
  position: absolute; top: -8%; left: 0; right: 0; height: 116%;
  background: url('/static/images/hero-bg.jpg') center center / cover no-repeat;
  will-change: transform; transform: translateY(0);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-video.is-ready { opacity: 1; }
.hero-video.is-ready ~ .hero-bg-parallax { opacity: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(28,15,54,0.94), rgba(44,26,77,0.88));
}
/* Subtle cursor-follow glow, decorative only, disabled on touch/reduced-motion */
.cursor-glow {
  position: absolute; z-index: 1; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.28) 0%, rgba(124,58,237,0) 70%);
  transform: translate(-50%, -50%); left: 50%; top: 40%;
  transition: left .5s cubic-bezier(.19,1,.22,1), top .5s cubic-bezier(.19,1,.22,1);
  pointer-events: none; opacity: 0;
}
.cursor-glow.active { opacity: 1; }
.hero-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 60px 24px 100px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--color-accent-light);
  font-size: var(--fs-note); letter-spacing: 0.2em; font-weight: 600; margin-bottom: var(--sp-4);
  border: var(--border-thin); border-color: rgba(180,108,242,0.4); padding: var(--sp-2) var(--sp-3); border-radius: 30px;
  opacity: 0; animation: fadeUp .8s ease forwards; animation-delay: .1s;
}
.hero h1 {
  color: var(--white); font-size: var(--fs-h1); line-height: 1.45; font-weight: 700;
  margin-bottom: var(--sp-4); opacity: 0; animation: fadeUp .9s ease forwards; animation-delay: .25s;
}
.hero h1 .accent { color: var(--color-accent-light); }
.hero-lead {
  color: rgba(255,255,255,0.78); font-size: 16.5px; line-height: 1.95; max-width: 620px; margin-bottom: 42px;
  opacity: 0; animation: fadeUp .9s ease forwards; animation-delay: .4s;
}
.hero-cta-row { display: flex; gap: 18px; flex-wrap: wrap; opacity: 0; animation: fadeUp .9s ease forwards; animation-delay: .55s; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 78px;
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 36px;
  opacity: 0; animation: fadeUp .9s ease forwards; animation-delay: .7s;
}
.hero-stat-num { color: var(--white); font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; display: flex; align-items: baseline; gap: 4px; }
.hero-stat-num span[data-counter].counter-pop,
.result-num span[data-counter].counter-pop { animation: counterPop .4s ease; }
@keyframes counterPop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.hero-stat-num .unit { font-size: 16px; color: var(--gold-light); font-family: var(--font-sans); font-weight: 600; }
.hero-stat-label { color: rgba(255,255,255,0.6); font-size: 12.5px; margin-top: 6px; letter-spacing: 0.05em; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 8px; letter-spacing: 0.15em; }
.hero-scroll .line { width: 1px; height: 34px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); animation: scrollLine 1.8s ease-in-out infinite; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollLine { 0% { transform: scaleY(0.3); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0.3); opacity: 0.3; } }

/* ==========================================================================
   Section common
   ========================================================================== */
section { position: relative; }
.section { padding: 120px 0; }
.section-tight { padding: 90px 0; }
.section-gray { background: var(--gray-100); }
.section-navy { background: var(--color-main); color: var(--white); }

/* Photo band: image + text 2-column, used sparingly (1 per page max) */
.photo-band { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.photo-band-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.photo-band-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-band-text h3 { font-size: 24px; color: var(--navy); margin-bottom: 16px; line-height: 1.6; }
.photo-band-text p { font-size: 14.5px; color: var(--gray-700); line-height: 1.9; }
.photo-band.reverse { grid-template-columns: 1fr 1fr; }
.photo-band.reverse .photo-band-img { order: 2; }
@media (max-width: 860px) {
  .photo-band, .photo-band.reverse { grid-template-columns: 1fr; gap: 32px; }
  .photo-band.reverse .photo-band-img { order: 0; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold);
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.section-navy .eyebrow, .section-navy .eyebrow::before { color: var(--gold-light); background: var(--gold-light); }
.section-title { font-size: clamp(26px, 3.4vw, 40px); color: var(--navy); margin-bottom: 20px; line-height: 1.5; }
.section-navy .section-title { color: var(--white); }
.section-desc { color: var(--gray-700); font-size: 16px; line-height: 1.95; max-width: 720px; }
.section-navy .section-desc { color: rgba(255,255,255,0.75); }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .section-desc { margin: 0 auto; }

/* Reveal-on-scroll: base type is fade-up; data-reveal modifies direction/style */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22,.9,.32,1), transform .8s cubic-bezier(.22,.9,.32,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal[data-reveal="left"] { transform: translateX(-36px); }
.reveal[data-reveal="left"].in-view { transform: translateX(0); }
.reveal[data-reveal="right"] { transform: translateX(36px); }
.reveal[data-reveal="right"].in-view { transform: translateX(0); }
.reveal[data-reveal="scale"] { transform: scale(0.94); }
.reveal[data-reveal="scale"].in-view { transform: scale(1); }
.reveal[data-reveal="zoom"] { transform: scale(1.06); }
.reveal[data-reveal="zoom"].in-view { transform: scale(1); }
/* Stagger children of a reveal group via nth-child delay, capped at 6 */
.reveal-group.in-view > *:nth-child(1) { transition-delay: .03s; }
.reveal-group.in-view > *:nth-child(2) { transition-delay: .09s; }
.reveal-group.in-view > *:nth-child(3) { transition-delay: .15s; }
.reveal-group.in-view > *:nth-child(4) { transition-delay: .21s; }
.reveal-group.in-view > *:nth-child(5) { transition-delay: .27s; }
.reveal-group.in-view > *:nth-child(6) { transition-delay: .33s; }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-300); padding: 26px 0; }
.trust-bar-inner { display: flex; align-items: center; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--gray-700); font-size: 13.5px; font-weight: 500; }
.trust-item i { color: var(--gold); font-size: 18px; }

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

.issue-card {
  background: var(--white); border-radius: var(--radius); padding: 38px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-300);
  transition: transform .35s cubic-bezier(.22,.9,.32,1), box-shadow .35s ease, border-color .35s ease;
}
.issue-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--color-sub-line); }
.issue-num { font-family: var(--font-serif); font-size: 34px; color: var(--color-accent); font-weight: 700; margin-bottom: var(--sp-3); transition: transform .35s ease; }
.issue-num i { font-size: 28px; }
.issue-card:hover .issue-num { transform: scale(1.12) translateY(-2px); }
.issue-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 14px; line-height: 1.6; }
.issue-card p { color: var(--gray-700); font-size: 14.5px; line-height: 1.85; }

/* Service cards */
.service-card {
  display: block; background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-300);
  transition: transform .4s cubic-bezier(.22,.9,.32,1), box-shadow .4s ease; position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-head {
  padding: 34px 30px 22px; background: var(--color-main);
  position: relative; overflow: hidden;
}
.service-card-head::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.08) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.service-card:hover .service-card-head::after { transform: translateX(120%); }
.service-icon {
  width: 54px; height: 54px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--white);
  margin-bottom: 20px; position: relative; z-index: 1; transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-4deg); }
.service-card-head .tag { color: var(--gold-light); font-size: 12px; letter-spacing: 0.15em; font-weight: 600; }
.service-card-head h3 { color: var(--white); font-size: 21px; margin-top: 8px; line-height: 1.5; position: relative; z-index: 1; }
.service-card-body { padding: 26px 30px 30px; }
.service-card-body p { color: var(--gray-700); font-size: 14.5px; margin-bottom: 20px; }
.service-card-body .more { color: var(--navy); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.service-card-body .more i { color: var(--gold); transition: transform .3s; }
.service-card:hover .more i { transform: translateX(5px); }
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.service-tags span { background: var(--gray-100); color: var(--navy); font-size: 12px; padding: 5px 12px; border-radius: 20px; font-weight: 600; }

/* Strengths */
.strength-row { display: flex; gap: 40px; align-items: flex-start; padding: 48px 0; border-bottom: 1px solid var(--gray-300); }
.strength-row:last-child { border-bottom: none; }
.strength-row:nth-child(even) { flex-direction: row-reverse; }
.strength-num-box {
  flex-shrink: 0; width: 130px; text-align: center;
}
.strength-num-box .num { font-family: var(--font-serif); font-size: 60px; color: var(--gold-soft); font-weight: 800; line-height: 1; -webkit-text-stroke: 1.5px var(--gold); color: transparent; }
.strength-content h3 { font-size: 22px; color: var(--navy); margin-bottom: 16px; }
.strength-content p { color: var(--gray-700); font-size: 15px; line-height: 1.9; }
.strength-content .points { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.strength-content .points span { font-size: 13px; background: var(--gold-soft); color: #7a5c1f; padding: 6px 14px; border-radius: 20px; font-weight: 600; }

/* Results / numbers */
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.14); border-radius: 16px; overflow: hidden; }
.result-cell { background: var(--navy-deep); padding: 44px 24px; text-align: center; }
.result-num { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 46px); color: var(--gold-light); font-weight: 800; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.result-num .unit { font-size: 18px; color: var(--white); font-family: var(--font-sans); }
.result-label { color: rgba(255,255,255,0.65); font-size: 13px; margin-top: 12px; letter-spacing: 0.03em; }

/* Flow / process */
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow-item { position: relative; padding: 0 16px; text-align: center; }
.flow-item::before {
  content: ''; position: absolute; top: 28px; left: -50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-300) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.flow-item:first-child::before { display: none; }
.flow-circle {
  width: 58px; height: 58px; border-radius: 50%; background: var(--color-main); color: var(--color-accent-light);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  margin: 0 auto 20px; position: relative; z-index: 1; border: 3px solid var(--white); box-shadow: var(--shadow-sm);
}
.flow-item h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 10px; line-height: 1.5; }
.flow-item p { font-size: 13px; color: var(--gray-700); line-height: 1.7; }

/* Voice / testimonial */
.voice-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-300); }
.voice-quote { color: var(--gold); font-size: 26px; margin-bottom: 12px; }
.voice-text { color: var(--gray-700); font-size: 14.5px; line-height: 1.9; margin-bottom: 22px; }
.voice-person { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--gray-300); padding-top: 18px; }
.voice-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--color-main); color: var(--color-accent-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; }
.voice-meta .name { font-weight: 700; font-size: 14px; color: var(--navy); }
.voice-meta .role { font-size: 12px; color: var(--gray-500); }

/* News list */
.news-list { display: flex; flex-direction: column; }
.news-row { display: flex; align-items: center; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--gray-300); transition: padding-left .25s; }
.news-row:hover { padding-left: 8px; }
.news-date { color: var(--gray-500); font-size: 13px; font-family: var(--font-serif); width: 100px; flex-shrink: 0; }
.news-cat { flex-shrink: 0; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 4px; background: var(--gold-soft); color: #7a5c1f; }
.news-title { flex: 1; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.news-row i { color: var(--gray-500); }

/* CTA band */
.cta-band {
  background: var(--color-main);
  border-radius: var(--radius-md); padding: 70px 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 34px; position: relative; }
.cta-band .cta-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Breadcrumb / page header */
.page-header {
  background: var(--color-main);
  padding: 175px 0 70px; color: var(--white); position: relative; overflow: hidden;
}
.breadcrumb {
  display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,0.5); font-size: 12.5px; margin-bottom: 20px; position: relative;
  opacity: 0; animation: fadeUp .7s ease forwards;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.page-header .eyebrow { color: var(--gold-light); }
.page-header .eyebrow::before { background: var(--gold-light); }
.page-header h1 {
  color: var(--white); font-size: clamp(28px, 4vw, 44px); line-height: 1.5; position: relative;
  opacity: 0; animation: fadeUp .8s ease forwards; animation-delay: .1s;
}
.page-header .lead {
  color: rgba(255,255,255,0.72); margin-top: 18px; max-width: 680px; font-size: 15.5px; line-height: 1.9; position: relative;
  opacity: 0; animation: fadeUp .8s ease forwards; animation-delay: .2s;
}

/* Table */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--gray-300); }
.info-table th { text-align: left; color: var(--navy); font-weight: 700; font-size: 14px; padding: 22px 30px 22px 0; width: 200px; vertical-align: top; }
.info-table td { color: var(--gray-700); font-size: 14.5px; padding: 22px 0; line-height: 1.9; }

/* Forms */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.contact-info-card { background: var(--navy); border-radius: 16px; padding: 44px 36px; color: var(--white); height: fit-content; }
.contact-info-card h3 { font-size: 20px; margin-bottom: 20px; color: var(--white); }
.contact-info-card p { color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.9; margin-bottom: 30px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-item i { color: var(--gold-light); font-size: 17px; margin-top: 2px; }
.contact-info-item .label { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.contact-info-item .value { font-size: 15px; font-weight: 600; }
.contact-badges { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.contact-badges span { border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; padding: 7px 14px; font-size: 12px; color: rgba(255,255,255,0.85); }

.form-card { background: var(--white); border-radius: 16px; padding: 44px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-300); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-group label .req { color: #c0392b; font-size: 11px; margin-left: 6px; font-weight: 700; }
.form-group label .opt { color: var(--gray-500); font-size: 11px; margin-left: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--gray-300); border-radius: 8px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,71,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin: 26px 0; font-size: 13px; color: var(--gray-700); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.checkbox-row a { color: var(--navy); text-decoration: underline; }
#form-success { display: none; text-align: center; padding: 60px 20px; }
#form-success i { font-size: 50px; color: var(--success); margin-bottom: 20px; }
#form-success h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
#form-success p { color: var(--gray-700); font-size: 14.5px; }
.form-error-msg { display: flex; align-items: center; gap: 8px; background: #fdecea; color: #c0392b; border-radius: 8px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 16px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--gray-300); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 26px 4px; cursor: pointer; font-weight: 600; color: var(--navy); font-size: 15.5px; }
.faq-q i { color: var(--gold); transition: transform .3s; flex-shrink: 0; margin-left: 20px; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 4px 26px; color: var(--gray-700); font-size: 14.5px; line-height: 1.9; }
.faq-item.open .faq-a { max-height: 400px; }

/* Team */
.team-card { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 16.5px; color: var(--navy); margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-size: 12.5px; font-weight: 700; margin-bottom: 10px; }
.team-card .desc { font-size: 13px; color: var(--gray-700); line-height: 1.8; }

/* Value chain / diagram */
.diagram-box { background: var(--white); border: 1px solid var(--gray-300); border-radius: 14px; padding: 40px; box-shadow: var(--shadow-sm); }
.diagram-flow { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.diagram-node { background: var(--gray-100); border: 1.5px solid var(--gray-300); border-radius: 10px; padding: 20px 26px; text-align: center; min-width: 160px; }
.diagram-node.highlight { background: var(--navy); color: var(--white); border-color: var(--navy); }
.diagram-node .tag { font-size: 11px; color: var(--gray-500); letter-spacing: 0.1em; margin-bottom: 6px; }
.diagram-node.highlight .tag { color: var(--gold-light); }
.diagram-node .name { font-weight: 700; font-size: 14.5px; }
.diagram-arrow { color: var(--gold); font-size: 20px; padding: 0 20px; }

/* Feature list with icon */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-item { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--gray-300); border-radius: 12px; padding: 26px; }
.feature-item-link { text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.feature-item-link:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-item-link .more { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.resource-card { display: block; background: var(--white); border: 1px solid var(--gray-300); border-radius: 12px; overflow: hidden; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.resource-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.resource-cover { width: 100%; aspect-ratio: 3/4; overflow: hidden; background: var(--gray-100); }
.resource-cover img { width: 100%; height: 100%; object-fit: cover; }
.resource-card-body { padding: 20px; }
.resource-card-body .tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--gold); background: rgba(176,141,71,0.1); border-radius: 4px; padding: 3px 8px; margin-bottom: 10px; }
.resource-card-body h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; }
.resource-card-body p { font-size: 13px; color: var(--gray-700); line-height: 1.7; margin-bottom: 12px; }
.resource-card-body .more { font-size: 13px; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.feature-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--gold-soft); color: #7a5c1f; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.feature-item h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; }
.feature-item p { font-size: 13.5px; color: var(--gray-700); line-height: 1.8; }

/* Case cards */
.case-card { background: var(--white); border: 1px solid var(--gray-300); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.case-head { padding: 24px 28px; background: var(--gray-100); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.case-industry { font-size: 12px; font-weight: 700; color: var(--navy); background: var(--white); padding: 6px 12px; border-radius: 20px; border: 1px solid var(--gray-300); }
.case-scheme { font-size: 12px; color: var(--gold); font-weight: 700; }
.case-body { padding: 26px 28px; }
.case-body .case-title { font-size: 16.5px; color: var(--navy); margin-bottom: 12px; font-weight: 700; }
.case-body p { font-size: 14px; color: var(--gray-700); line-height: 1.85; }
.case-meta { display: flex; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--gray-300); }
.case-meta div { font-size: 12px; color: var(--gray-500); }
.case-meta strong { display: block; color: var(--navy); font-size: 14px; margin-top: 2px; }

/* Floating CTA */
.floating-cta {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light)); color: var(--white);
  display: flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 40px;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: 14px;
  transition: transform .3s ease; opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
}
.floating-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.floating-cta:hover { transform: translateY(-4px) scale(1.03); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); padding-top: 70px; }
.footer-top { max-width: var(--container); margin: 0 auto; padding: 0 24px 50px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px; }
.footer-brand-mark { margin-bottom: 20px; }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.9; margin-bottom: 24px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { font-size: 14.5px; font-weight: 600; color: var(--gold-light); display: flex; align-items: center; gap: 10px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 18px; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.55); margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 24px; display: flex; justify-content: space-between; max-width: var(--container); margin: 0 auto; font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-3, .grid-4, .feature-list { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .strength-row, .strength-row:nth-child(even) { flex-direction: column; gap: 18px; }
  .strength-num-box { width: auto; text-align: left; }
  .flow-list { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px; background: var(--navy-deep); flex-direction: column; align-items: flex-start; padding: 100px 30px 40px; gap: 26px; transition: right .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.3); overflow-y: auto; }
  .main-nav.open { right: 0; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown > a { display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.05); margin-top: 10px; display: none; }
  .nav-dropdown.open .dropdown-panel { display: block; }
  .dropdown-panel a { color: rgba(255,255,255,0.75); }
  .dropdown-panel a:hover { background: rgba(255,255,255,0.08); }
  .nav-cta { align-self: flex-start; }
  .menu-toggle { display: flex; }
  .grid-3, .grid-4, .grid-2, .feature-list, .result-grid, .contact-layout, .footer-links { grid-template-columns: 1fr !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: 1fr; gap: 30px; }
  .flow-item::before { display: none; }
  .strength-row { flex-direction: column !important; }
  .section { padding: 80px 0; }
  .cta-band { padding: 50px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .diagram-flow { flex-direction: column; }
  .diagram-arrow { transform: rotate(90deg); padding: 10px 0; }
  .page-header { padding: 140px 0 50px; }
  .cursor-glow { display: none; }
}

/* ==========================================================================
   Motion preferences: respect reduced-motion, disable decorative extras
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg-parallax { transform: none !important; }
  .cursor-glow { display: none !important; }
  .btn-pulse::after { animation: none; }
  .hero-scroll .line { animation: none; }
  .reveal, .reveal[data-reveal], .issue-card, .service-card, .service-icon, .btn-magnetic {
    transition-duration: .01ms !important;
  }
}
@media (hover: none) {
  .cursor-glow { display: none; }
}
