/* ============================================================
   JKH Corporate — Red & Dark Ash
   Japan Kaizen Holdings Ltd.
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --red: #A31E2C;
  --red-hover: #8A1824;
  --ash: #22242B;
  --ash-2: #2E313A;
  --cream: #F7F6F2;
  --panel: #EDEDEA;
  --on-dark: #F2F1EE;
  --on-light: #3A3A3A;
  --muted: #6B6B6B;
  --border: #DDDDD8;
  --border-dark: rgba(242, 241, 238, 0.12);
  --white: #FFFFFF;
  --error: #A31E2C;

  --font-serif: "Inter", "Noto Sans JP", "Noto Sans Bengali", system-ui, sans-serif;
  --font-sans: "Inter", "Noto Sans JP", "Noto Sans Bengali", system-ui, sans-serif;
  --font-display: "Inter", "Noto Sans JP", "Noto Sans Bengali", system-ui, sans-serif;

  --max: 1200px;
  --header-h: 72px;
  --header-h-sm: 60px;
  --r: 0px;
  --ease: 0.25s ease;
  --shadow: 0 8px 24px rgba(34, 36, 43, 0.08);
}

/* ===== RESET ===== */
*, *::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.6;
  color: var(--on-light);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
::selection { background: var(--red); color: var(--white); }

/* Lang line-height */
[lang="ja"], [lang="bn"] { line-height: 1.8; }
[lang="ja"] h1, [lang="ja"] h2, [lang="ja"] h3,
[lang="bn"] h1, [lang="bn"] h2, [lang="bn"] h3 { line-height: 1.35; }

/* ===== A11Y ===== */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--red); color: var(--white); padding: 12px 20px;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-off { background: var(--panel); }
.section-dark { background: var(--ash); color: var(--on-dark); }
.section-dark .section-title { color: var(--on-dark); }
.section-dark .section-desc,
.section-dark p { color: rgba(242, 241, 238, 0.78); }

/* ===== TYPE ===== */
.overline {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600; line-height: 1.2;
  color: var(--ash); margin-bottom: 16px;
}
.section-desc {
  font-size: 17px; color: var(--muted);
  max-width: 640px; line-height: 1.7;
}
.section-header { margin-bottom: 48px; max-width: 720px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--r);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  min-width: fit-content; white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--red-hover); }
.btn-outline { background: transparent; color: var(--on-light); border-color: var(--ash); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ash); color: var(--on-dark); }
.btn-outline-light { background: transparent; color: var(--on-dark); border-color: rgba(242,241,238,0.45); }
.btn-outline-light:hover, .btn-outline-light:focus-visible { background: var(--on-dark); color: var(--ash); border-color: var(--on-dark); }
.btn-white { background: var(--white); color: var(--ash); }
.btn-white:hover { background: var(--panel); }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(247, 246, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--ease), border-color var(--ease), background var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 246, 242, 0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(34, 36, 43, 0.06);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 24px; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; transition: height var(--ease);
}
.site-header.scrolled .nav-inner { height: var(--header-h-sm); }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; color: var(--ash); }
.nav-logo svg { height: 28px; width: auto; transition: height var(--ease); }
.site-header.scrolled .nav-logo svg { height: 24px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--muted); transition: color var(--ease);
  letter-spacing: 0.02em;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--ash); }
.nav-link.active { color: var(--red); font-weight: 600; }
.nav-cta {
  margin-left: 8px; padding: 10px 18px;
  background: var(--red); color: var(--white) !important;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-cta:hover { background: var(--red-hover); }

/* Lang switcher */
.lang-switch {
  position: relative; margin-left: 8px;
}
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; font-size: 13px; font-weight: 500;
  color: var(--ash); border: 1px solid var(--border);
  transition: border-color var(--ease), background var(--ease);
}
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] {
  border-color: var(--ash); background: var(--white);
}
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 140px; background: var(--white);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  display: none; flex-direction: column; z-index: 1100;
}
.lang-menu.open { display: flex; }
.lang-btn {
  text-align: left; padding: 12px 16px;
  font-size: 14px; color: var(--on-light);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease), color var(--ease);
}
.lang-btn:last-child { border-bottom: none; }
.lang-btn:hover { background: var(--panel); }
.lang-btn.active { color: var(--red); font-weight: 600; background: rgba(163, 30, 44, 0.06); }

/* Hamburger */
.hamburger {
  display: none; width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; z-index: 1200;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ash); transition: transform var(--ease), opacity var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--ash); color: var(--on-dark);
  z-index: 1050; padding: 96px 28px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-link {
  display: block; padding: 16px 0;
  font-family: var(--font-serif); font-size: 28px;
  color: var(--on-dark); border-bottom: 1px solid var(--border-dark);
}
.mobile-link.active { color: var(--red); }
.mobile-lang {
  display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap;
}
.mobile-lang button {
  padding: 10px 16px; border: 1px solid var(--border-dark);
  color: var(--on-dark); font-size: 14px;
}
.mobile-lang button.active {
  background: var(--red); border-color: var(--red); color: var(--white);
}

/* ===== HERO (home) ===== */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  background: var(--ash); overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(34, 36, 43, 0.62);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; padding-top: 64px; padding-bottom: 64px;
  color: var(--on-dark);
}
.hero-badge {
  display: inline-block; margin-bottom: 24px;
  padding: 8px 14px; border: 1px solid rgba(163, 30, 44, 0.7);
  background: rgba(163, 30, 44, 0.25);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 20px;
}
.hero-title span { display: inline; font-style: normal; color: var(--white); }
.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7; color: rgba(242, 241, 238, 0.88);
  max-width: 640px; margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== PAGE HEADER BANNER ===== */
.page-hero {
  position: relative;
  background: var(--ash);
  color: var(--on-dark);
  padding: 88px 0 72px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/images/placeholder-banner.webp?v=bnr1");
  background-size: cover; background-position: center;
  opacity: 0.18; pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--red);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .overline { color: var(--red); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600; color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
  border-bottom: 3px solid var(--red);
  padding-bottom: 8px;
}
.page-hero-desc {
  max-width: 720px;
  font-size: 17px; line-height: 1.7;
  color: rgba(242, 241, 238, 0.82);
}

/* ===== WHO / TWO COL ===== */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.panel {
  background: var(--panel);
  padding: 36px;
  border-left: 3px solid var(--red);
}
.panel h3 {
  font-family: var(--font-serif);
  font-size: 22px; color: var(--ash);
  margin-bottom: 10px;
}
.panel p { color: var(--on-light); font-size: 15px; line-height: 1.7; }
.vm-list { display: grid; gap: 16px; }
.value-item {
  display: grid; grid-template-columns: 16px 1fr; gap: 14px;
  align-items: start;
}
.value-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); margin-top: 7px;
}
.value-item h4 {
  font-size: 15px; font-weight: 600; color: var(--ash);
  margin-bottom: 4px;
}
.value-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== SERVICE CARDS ===== */
.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards-2 {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  height: 100%;
}
.service-card:hover {
  border-color: rgba(163, 30, 44, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ash); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
#services .service-icon {
  background: rgba(163, 30, 44, 0.1);
  color: var(--red);
}
.service-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600; color: var(--ash);
  line-height: 1.3;
}
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.65; flex: 1; }
.service-card .card-link {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 6px;
}
.service-card .card-link:hover { color: var(--red-hover); }
.service-thumb {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; background: var(--panel);
  border: 1px solid var(--border);
}
.service-card ul {
  display: grid; gap: 8px; margin-top: 4px;
}
.service-card ul li {
  position: relative; padding-left: 16px;
  font-size: 14px; color: var(--on-light); line-height: 1.5;
}
.service-card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: var(--red);
}

/* Home compact service cards (no list) */
.cards-3 .service-card.compact { min-height: auto; }

/* ===== SERVICE PAGE CARDS (enhanced) ===== */
.service-card.enhanced {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.service-card.enhanced .service-thumb {
  border: none;
  border-bottom: 1px solid var(--border);
}
.service-card.enhanced .service-body {
  padding: 28px 26px 30px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.service-card.enhanced h3 {
  font-size: 20px; margin: 0;
}
.service-card.enhanced p {
  font-size: 14.5px; margin: 0; flex: 0;
}
.service-card.enhanced ul {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.service-card.enhanced ul li::before {
  width: 5px; height: 5px; border-radius: 50%;
  top: 7px;
}
.service-card.enhanced:hover .service-thumb img,
.service-card.enhanced:hover .service-thumb {
  transform: none;
}
.service-card.enhanced .service-thumb { overflow: hidden; }
.service-card.enhanced .service-thumb { position: relative; }

/* ===== JKH WAY / FLOW ===== */
.flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px; align-items: stretch;
}
.flow-card {
  background: var(--ash-2); color: var(--on-dark);
  padding: 32px 24px; border-top: 3px solid var(--red);
  height: 100%;
}
.flow-card h3 {
  font-family: var(--font-serif);
  font-size: 24px; margin-bottom: 12px; color: var(--white);
}
.flow-card p { font-size: 15px; color: rgba(242, 241, 238, 0.78); line-height: 1.65; }
.flow-card .flow-num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--red); margin-bottom: 12px; text-transform: uppercase;
}
.flow-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--red); align-self: center;
}
.flow-arrow svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ===== WHY GRID ===== */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 32px 28px; display: grid; gap: 16px;
}
.why-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(163, 30, 44, 0.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; }
.why-card h3 {
  font-family: var(--font-serif);
  font-size: 20px; color: var(--ash);
}
.why-card p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--ash); color: var(--on-dark);
  padding: 72px 0; position: relative;
}
.cta-banner::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--white); margin-bottom: 8px;
}
.cta-inner p { color: rgba(242, 241, 238, 0.75); font-size: 16px; }

/* ===== ABOUT: LEGAL / DL ===== */
.corp-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
}
.corp-split .corporate-table-wrap { min-width: 0; }
.corp-aside {
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.corp-aside .legal-note {
  font-size: 15px; line-height: 1.75; color: var(--muted);
}
.legal-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: start;
}
.dl-list { display: grid; gap: 0; }
.dl-row {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 16px; padding: 18px 0 18px 16px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--red);
}
.dl-row dt {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding-top: 3px;
}
.dl-row dd { font-size: 16px; font-weight: 500; color: var(--ash); }
.doc-card {
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow); padding: 16px;
}
.doc-card img {
  width: 100%; height: auto; object-fit: contain;
  background: var(--panel);
}
.doc-card figcaption {
  margin-top: 12px; font-size: 13px;
  color: var(--muted); text-align: center;
}

/* Leadership */
.lead-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.lead-card { text-align: center; }
.lead-photo {
  width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 16px;
  filter: grayscale(1) contrast(1.05);
  border: 3px solid var(--panel);
  background: var(--panel);
}
.lead-card h3 {
  font-family: var(--font-serif);
  font-size: 17px; color: var(--ash); margin-bottom: 4px;
}
.lead-card .role {
  font-size: 13px; font-weight: 600;
  color: var(--red); margin-bottom: 4px;
}
.lead-card .org { font-size: 13px; color: var(--muted); }

/* Liaison */
.liaison-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.liaison-item {
  background: var(--panel); padding: 24px;
  border-left: 3px solid var(--red);
}
.liaison-item strong {
  display: block; font-size: 15px; color: var(--ash);
  margin-bottom: 6px;
}
.liaison-item span { font-size: 14px; color: var(--muted); }

/* Markets table */
.markets-wrap { overflow-x: auto; }
.markets-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); font-size: 15px;
}
.markets-table th,
.markets-table td {
  text-align: left; padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.markets-table th {
  background: var(--ash); color: var(--on-dark);
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
}
.markets-table .tag {
  display: inline-block; padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.tag-core { background: rgba(163, 30, 44, 0.12); color: var(--red); }
.tag-ext { background: var(--panel); color: var(--muted); border: 1px solid var(--border); }
.markets-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Who We Work With — card grid */
.client-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.client-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(163, 30, 44, 0.35);
}
.client-card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(163, 30, 44, 0.1); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.client-card-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none; stroke-width: 1.75;
}
.client-card h3 {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 600;
  color: var(--ash); line-height: 1.35;
}
.client-card p {
  font-size: 14.5px; color: var(--muted); line-height: 1.65;
}
.client-card .client-tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); background: rgba(163, 30, 44, 0.1);
  padding: 5px 12px; margin-top: auto;
}

/* ===== PROCESS STRIP ===== */
.process-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  text-align: center; padding: 28px 16px;
  background: var(--white); border: 1px solid var(--border);
}
.process-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(163, 30, 44, 0.1); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; margin: 0 auto 16px;
}
.process-step h3 {
  font-family: var(--font-serif);
  font-size: 18px; color: var(--ash); margin-bottom: 8px;
}
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 40px; align-items: start;
}
.contact-sidebar {
  background: var(--panel); padding: 36px 32px;
  border-top: 3px solid var(--red);
}
.contact-sidebar .logo-mark {
  width: 48px; margin-bottom: 20px;
}
.contact-sidebar h2 {
  font-family: var(--font-serif);
  font-size: 24px; color: var(--ash); margin-bottom: 20px;
}
.contact-block { margin-bottom: 24px; }
.contact-block h3 {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.contact-block a { color: var(--ash); font-weight: 500; }
.contact-block a:hover { color: var(--red); }
.contact-block p { font-size: 14px; color: var(--on-light); line-height: 1.6; }
.response-note {
  margin-top: 8px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px; color: var(--muted); font-style: italic;
}

.contact-form-panel {
  background: var(--white); border: 1px solid var(--border);
  padding: 36px 32px;
}
.form-intro {
  font-size: 15px; color: var(--muted);
  margin-bottom: 28px; line-height: 1.65;
}
.form-step { display: none; }
.form-step.active { display: block; }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ash); margin-bottom: 8px;
}
.field label .req { color: var(--red); margin-left: 2px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 0; font-size: 15px; color: var(--on-light);
  transition: border-color var(--ease), background var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--red);
  background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .error {
  display: none; margin-top: 6px;
  font-size: 13px; color: var(--error); font-weight: 500;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field.has-error .error { display: block; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill {
  position: relative;
}
.radio-pill input {
  position: absolute; opacity: 0; inset: 0;
}
.radio-pill span {
  display: inline-block; padding: 10px 16px;
  border: 1px solid var(--border); background: var(--cream);
  font-size: 14px; cursor: pointer;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.radio-pill input:checked + span {
  border-color: var(--red); background: rgba(163, 30, 44, 0.08);
  color: var(--red); font-weight: 600;
}
.radio-pill input:focus-visible + span {
  outline: 2px solid var(--red); outline-offset: 2px;
}

.checkbox-field {
  display: grid; grid-template-columns: auto 1fr;
  gap: 12px; align-items: start;
}
.checkbox-field input {
  width: 18px; height: 18px; margin-top: 3px;
  accent-color: var(--red);
}
.checkbox-field label {
  font-size: 14px; font-weight: 400;
  color: var(--on-light); line-height: 1.55; margin: 0;
}

.form-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 8px;
}

/* Confirm summary */
.summary-list { border-top: 1px solid var(--border); margin-bottom: 24px; }
.summary-row {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.summary-row dt {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.summary-row dd { font-size: 15px; color: var(--ash); white-space: pre-wrap; }

/* Success */
.success-box { text-align: center; padding: 24px 8px; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(163, 30, 44, 0.1); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.success-icon svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 2; }
.success-box h2 {
  font-family: var(--font-serif);
  font-size: 28px; color: var(--ash); margin-bottom: 12px;
}
.success-box p {
  font-size: 16px; color: var(--muted);
  max-width: 480px; margin: 0 auto 12px; line-height: 1.65;
}
.success-box .note {
  font-size: 14px; color: var(--on-light);
  margin-bottom: 28px;
}
.success-box .note a { color: var(--red); font-weight: 600; }

/* ===== FOOTER ===== */
.site-footer { background: var(--ash); color: var(--on-dark); }
.footer-cta {
  border-bottom: 1px solid var(--border-dark);
  padding: 40px 0;
}
.footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-cta-inner .overline { margin-bottom: 8px; }
.footer-cta-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700; letter-spacing: -0.01em;
  color: var(--white);
}
.footer-main { padding: 56px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-logo { display: inline-flex; margin-bottom: 16px; }
.footer-logo svg { height: 32px; width: auto; }
.footer-logo svg .cls-1,
.footer-logo svg .cls-2,
.footer-logo svg path,
.footer-logo svg rect { fill: #FFFFFF !important; }
.footer-desc {
  font-size: 14px; line-height: 1.7;
  color: rgba(242, 241, 238, 0.7); max-width: 280px;
}
.footer-heading {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a,
.footer-links p {
  font-size: 14px; color: rgba(242, 241, 238, 0.78);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--white); }
.footer-addr {
  font-size: 13px !important;
  color: rgba(242, 241, 238, 0.55) !important;
  line-height: 1.55;
}
.footer-social {
  display: flex; gap: 10px; margin-top: 8px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: rgba(242, 241, 238, 0.7);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.footer-social a:hover {
  border-color: var(--red); color: var(--white);
  background: rgba(163, 30, 44, 0.25);
}
.footer-social svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.75; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 13px; color: rgba(242, 241, 238, 0.5);
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media video { display: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== PARTNER MARQUEE ===== */
.partners-section {
  background: var(--cream);
  border-top: none;
  border-bottom: none;
  padding: 96px 0;
  overflow: hidden;
}
.partners-section .section-header {
  margin-bottom: 36px;
}
.partner-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partner-track {
  display: flex;
  width: max-content;
  gap: 48px;
  align-items: center;
  animation: partner-scroll 36s linear infinite;
}
.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-slide {
  flex: 0 0 auto;
  width: 160px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 12px 16px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.partner-slide:hover {
  border-color: rgba(163, 30, 44, 0.35);
  box-shadow: var(--shadow);
}
.partner-slide img,
.partner-slide svg {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.72);
  transition: filter var(--ease);
}
.partner-slide:hover img,
.partner-slide:hover svg {
  filter: grayscale(0) opacity(1);
}
@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; }
}
@media (max-width: 640px) {
  .partner-slide { width: 130px; height: 60px; }
  .partner-track { gap: 28px; }
  .partners-section { padding: 40px 0; }
}

/* ===== PARTNER GRID (about static) ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.partner-grid .partner-slide {
  width: 100%;
  height: 88px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .lead-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .legal-grid { grid-template-columns: 1fr; }
  .corp-split { grid-template-columns: 1fr; }
  .corp-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .corp-aside .doc-card { flex: 1 1 240px; }
  .corp-aside .legal-note { flex: 1 1 100%; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .two-col,
  .contact-grid,
  .why-grid,
  .cards-2,
  .liaison-strip { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .summary-row { grid-template-columns: 1fr; gap: 4px; }
  .dl-row { grid-template-columns: 1fr; gap: 4px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 64px 0 48px; }
  .contact-form-panel,
  .contact-sidebar { padding: 28px 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .form-actions .btn { width: auto; flex: 1; }
  .client-cards { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .corp-aside { flex-direction: column; }
}


/* ===== MARKETS BOXES ===== */
.markets-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.market-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow var(--ease), transform var(--ease);
}
.market-box:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.market-box .market-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--ash); letter-spacing: -0.01em;
}
.market-box .market-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.market-box .tag {
  display: inline-block; padding: 5px 12px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.market-box p.market-desc {
  font-size: 13px; color: var(--muted); line-height: 1.55;
}

/* Corporate info table (full width) */
.corporate-table-wrap {
  overflow-x: auto;
  background: transparent;
  border: none;
  box-shadow: none;
}
.corporate-table {
  width: 100%; border-collapse: collapse;
  font-size: 15px; min-width: 560px;
}
.corporate-table th,
.corporate-table td {
  text-align: left; padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.corporate-table tr:last-child th,
.corporate-table tr:last-child td { border-bottom: none; }
.corporate-table th {
  width: 220px;
  background: transparent;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  border-right: 1px solid var(--border);
  border-left: 3px solid var(--red);
}
.corporate-table td { color: var(--ash); font-weight: 500; line-height: 1.65; }
.corporate-table td a { color: var(--red); font-weight: 600; }
.corporate-table td a:hover { text-decoration: underline; }
.corporate-table .addr-block { display: grid; gap: 10px; }
.corporate-table .addr-block strong {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 2px;
}
.corporate-table .biz-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.corporate-table .biz-list .tag {
  display: inline-block; padding: 5px 12px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(163, 30, 44, 0.1); color: var(--red);
}

/* Privacy page */
.privacy-content { max-width: 820px; }
.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--ash); margin: 36px 0 12px;
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p,
.privacy-content li {
  font-size: 15px; line-height: 1.75;
  color: var(--on-light); margin-bottom: 12px;
}
.privacy-content ul {
  list-style: disc; padding-left: 22px; margin-bottom: 16px;
  display: block;
}
.privacy-content ul li { margin-bottom: 8px; }
.privacy-content a { color: var(--red); font-weight: 600; }
.privacy-content a:hover { text-decoration: underline; }
.privacy-meta {
  font-size: 13px; color: var(--muted);
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.checkbox-field label a {
  color: var(--red); font-weight: 600; text-decoration: underline;
}
.checkbox-field label a:hover { color: var(--red-hover); }

@media (max-width: 860px) {
  .markets-boxes { grid-template-columns: 1fr 1fr; }
  .corporate-table th { width: 160px; }
}
@media (max-width: 768px) {
  .corporate-table-wrap { overflow-x: visible; }
  .corporate-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
    display: block;
  }
  .corporate-table tbody { display: block; width: 100%; }
  .corporate-table tr {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .corporate-table tr:last-child { border-bottom: none; }
  .corporate-table th,
  .corporate-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-right: none;
    border-left: none;
    border-bottom: none;
    padding: 0 0 0 12px;
  }
  .corporate-table th {
    width: auto;
    border-left: 3px solid var(--red);
    padding-bottom: 6px;
    margin-bottom: 4px;
  }
  .corporate-table td {
    padding-top: 0;
    padding-bottom: 4px;
    border-left: 3px solid transparent;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
  .corporate-table td a { word-break: break-word; }
  .corporate-table .biz-list .tag {
    max-width: 100%;
    white-space: normal;
  }
}
@media (max-width: 640px) {
  .markets-boxes { grid-template-columns: 1fr; }
  .corporate-table { font-size: 14px; }
  .corporate-table th { letter-spacing: 0.08em; }
}
