/* ============================================================
   M Square Inc. (MSQ) — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;700&family=Shippori+Mincho:wght@400;500;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@200;300;400;500;600&display=swap');

:root {
  --gold:        #b89a5a;
  --gold-light:  #d4b87a;
  --gold-pale:   #f5eed8;
  --ink:         #1a1714;
  --ink-soft:    #2e2b27;
  --ink-muted:   #5c5751;
  --smoke:       #f7f5f0;
  --white:       #fdfcfa;
  --line:        rgba(184,154,90,0.25);
  --font-jp:     'Noto Serif JP', 'Shippori Mincho', serif;
  --font-en:     'Cormorant Garamond', Georgia, serif;
  --font-ui:     'Jost', sans-serif;
  --nav-h:       70px;
  --section-gap: 120px;
  --max-w:       1160px;
  --radius:      2px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-jp);
  background: var(--white);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.gold-line { display: block; width: 48px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.label { font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.section-title { font-family: var(--font-en); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.2; color: var(--ink); }
.section-title-jp { font-family: var(--font-jp); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 300; color: var(--ink-muted); margin-top: 6px; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; padding: 14px 32px; transition: all 0.3s var(--ease-out); }
.btn-gold { background: var(--gold); color: var(--white); border: 1px solid var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(26,23,20,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(253,252,250,0.97);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  width: 100%;
  max-width: calc(var(--max-w) + 80px);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; flex-direction: column; line-height: 1; justify-content: center; }
.nav-logo .logo-mark { font-family: var(--font-en); font-size: 28px; font-weight: 600; letter-spacing: 0.06em; color: var(--white); transition: color 0.3s; }
#navbar.scrolled .nav-logo .logo-mark { color: var(--ink); }
.nav-logo .logo-sub { font-family: var(--font-ui); font-size: 8px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-top: 4px; opacity: 0.85; }

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-item { position: relative; }
.nav-link { font-family: var(--font-ui); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 18px; color: rgba(255,255,255,0.88); transition: color 0.3s; display: flex; align-items: center; gap: 5px; }
#navbar.scrolled .nav-link { color: var(--ink); }
.nav-link:hover { color: var(--gold); }
.nav-link svg { width: 10px; height: 10px; transition: transform 0.2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(0); background: var(--white); border: 1px solid var(--line); min-width: 240px; padding: 8px 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s var(--ease-out), visibility 0.25s, transform 0.25s var(--ease-out); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(4px); }
.dropdown a { display: block; padding: 16px 24px; font-family: var(--font-ui); font-size: 14px; letter-spacing: 0.12em; color: var(--ink-soft); transition: all 0.2s; }
.dropdown a:hover { color: var(--gold); padding-left: 32px; background: var(--smoke); }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* ── Lang Switch (desktop + mobile navbar) ── */
.lang-switch {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
}
#navbar.scrolled .lang-switch { color: var(--ink-muted); }
.lang-switch span { padding: 4px 8px; cursor: pointer; transition: color 0.2s; }
.lang-switch span.active { color: var(--gold); font-weight: 500; }
.lang-switch .divider { opacity: 0.3; cursor: default; }

.nav-cta { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; padding: 12px 28px; background: var(--gold); color: var(--white); transition: all 0.3s; }
.nav-cta:hover { background: var(--ink); }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 6px; padding: 8px; cursor: pointer; background: none; border: none; }
.nav-hamburger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: background 0.3s; }
#navbar.scrolled .nav-hamburger span { background: var(--ink); }

/* ── HERO ── */
#hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; background: var(--ink-soft); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,23,20,0.92) 0%, rgba(46,43,39,0.75) 60%, rgba(26,23,20,0.85) 100%), url('images/hero-bg.jpg') center/cover no-repeat; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.015) 2px, rgba(0,0,0,0.015) 4px); }
.hero-deco-line { position: absolute; left: 40px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: 0.4; }
.hero-content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 40px 40px; padding-top: calc(var(--nav-h) + 40px); flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow { font-family: var(--font-ui); font-size: 14px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; display: flex; align-items: center; gap: 16px; }
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.hero-title { font-family: var(--font-en); font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; line-height: 1.1; color: var(--white); margin-bottom: 16px; letter-spacing: -0.01em; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-title-jp { font-family: var(--font-jp); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 300; color: rgba(255,255,255,0.6); margin-bottom: 40px; line-height: 1.9; }
.hero-sub { font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.05em; color: rgba(255,255,255,0.65); max-width: 540px; line-height: 1.9; margin-bottom: 52px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(26,23,20,0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-stats-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 28px 20px; border-right: 1px solid rgba(255,255,255,0.06); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-en); font-size: 2.4rem; font-weight: 300; color: var(--gold-light); line-height: 1; }
.stat-label { font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.2em; color: rgba(255,255,255,0.45); text-transform: uppercase; margin-top: 8px; }
.stat-label-jp { font-family: var(--font-jp); font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* ── PHILOSOPHY ── */
#philosophy { padding: var(--section-gap) 0; background: var(--smoke); position: relative; }
#philosophy::before { content: 'MSQ'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%) rotate(90deg); font-family: var(--font-en); font-size: 200px; font-weight: 300; color: rgba(184,154,90,0.04); line-height: 1; pointer-events: none; white-space: nowrap; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.philosophy-quote { font-family: var(--font-en); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.5; margin: 28px 0; }
.philosophy-quote-jp { font-family: var(--font-jp); font-size: 15px; color: var(--ink-muted); line-height: 2.2; }
.philosophy-body { font-family: var(--font-jp); font-size: 14px; color: var(--ink-soft); line-height: 2.2; margin-top: 24px; }
.pillars { display: flex; flex-direction: column; gap: 0; }
.pillar { display: flex; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.pillar:first-child { border-top: 1px solid var(--line); }
.pillar-num { font-family: var(--font-ui); font-size: 3rem; font-weight: 600; color: var(--gold); opacity: 0.85; line-height: 1; flex-shrink: 0; width: 60px; }
.pillar-content { flex: 1; }
.pillar-title { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pillar-title-jp { font-family: var(--font-jp); font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.pillar-desc { font-family: var(--font-jp); font-size: 13px; color: var(--ink-muted); line-height: 2; }

/* ── SERVICES ── */
#services { padding: var(--section-gap) 0; background: var(--white); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--white); padding: 48px 36px; transition: background 0.3s; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { background: var(--smoke); }
.service-icon { width: 40px; height: 40px; margin-bottom: 28px; color: var(--gold); }
.service-num { font-family: var(--font-en); font-size: 18px; font-weight: 600; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 16px; }
.service-title { font-family: var(--font-ui); font-size: 14px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; line-height: 1.5; }
.service-title-jp { font-family: var(--font-jp); font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 20px; line-height: 1.6; }
.service-desc { font-family: var(--font-jp); font-size: 14px; color: var(--ink-soft); line-height: 2.2; }
.service-arrow { position: absolute; bottom: 28px; right: 28px; width: 32px; height: 32px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all 0.3s; color: var(--ink-muted); }
.service-card:hover .service-arrow { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ── FOUNDER ── */
#founder { padding: var(--section-gap) 0; background: var(--ink); position: relative; overflow: hidden; }
.founder-bg-text { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); font-family: var(--font-en); font-size: 320px; font-weight: 300; color: rgba(255,255,255,0.02); line-height: 1; user-select: none; }
.founder-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; position: relative; z-index: 2; }
.founder-portrait { position: relative; }
.founder-portrait-frame { aspect-ratio: 3/4; background: var(--ink-soft); border: 1px solid rgba(184,154,90,0.2); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.founder-portrait-frame::before { content: ''; position: absolute; top: 12px; left: 12px; right: -12px; bottom: -12px; border: 1px solid rgba(184,154,90,0.15); z-index: -1; }
.founder-img { width: 100%; height: 100%; object-fit: cover; }
.founder-caption { margin-top: 20px; }
.founder-name { font-family: var(--font-en); font-size: 1.5rem; font-weight: 400; color: var(--white); }
.founder-name-jp { font-family: var(--font-jp); font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 6px; }
.founder-role { font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-top: 12px; }
.founder-info { color: var(--white); }
.timeline { margin-top: 40px; }
.timeline-item { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.timeline-item:first-child { padding-top: 0; }
.timeline-year { font-family: var(--font-en); font-size: 14px; color: var(--gold); letter-spacing: 0.05em; padding-top: 3px; }
.timeline-content-title { font-family: var(--font-jp); font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.timeline-content-desc { font-family: var(--font-jp); font-size: 12px; color: rgba(255,255,255,0.5); line-height: 2; }
.credentials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.credential-tag { font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; padding: 8px 16px; border: 1px solid rgba(184,154,90,0.3); color: var(--gold); }

/* ── CASES ── */
#cases { padding: var(--section-gap) 0; background: var(--smoke); }
.cases-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn { font-family: var(--font-ui); font-size: 15px; letter-spacing: 0.15em; text-transform: uppercase; padding: 14px 28px; border: 1px solid var(--line); color: var(--ink-muted); transition: all 0.25s; cursor: pointer; background: transparent; }
.filter-btn.active, .filter-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.case-card { background: var(--white); padding: 36px 32px; transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden; }
.case-card.hidden { display: none; }
.case-card:hover { background: var(--ink); }
.case-tag { font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: inline-block; }
.case-client { font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.15em; color: var(--ink-muted); margin-bottom: 12px; transition: color 0.3s; }
.case-card:hover .case-client { color: rgba(255,255,255,0.4); }
.case-title { font-family: var(--font-jp); font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.6; margin-bottom: 12px; transition: color 0.3s; }
.case-card:hover .case-title { color: var(--white); }
.case-title-en { font-family: var(--font-en); font-size: 13px; font-style: italic; color: var(--ink-muted); line-height: 1.5; margin-bottom: 16px; transition: color 0.3s; }
.case-card:hover .case-title-en { color: rgba(255,255,255,0.45); }
.case-desc { font-family: var(--font-jp); font-size: 12px; color: var(--ink-muted); line-height: 2; transition: color 0.3s; }
.case-card:hover .case-desc { color: rgba(255,255,255,0.5); }

/* ── COACHING ── */
#coaching { padding: var(--section-gap) 0; background: var(--white); }
.coaching-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; }
.coaching-visual { aspect-ratio: 4/3; background: var(--ink); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.coaching-visual-inner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.coaching-bg-en { position: absolute; font-family: var(--font-en); font-size: 7rem; font-weight: 300; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(184,154,90,0.05); z-index: 1; }
.coaching-visual-jp { position: relative; z-index: 2; font-family: var(--font-jp); font-size: 3rem; font-weight: 500; color: rgba(184,154,90,0.6); writing-mode: vertical-rl; letter-spacing: 0.15em; }
.coaching-visual::before { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(184,154,90,0.15); }
.program-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.program-item:first-child { border-top: 1px solid var(--line); padding-top: 0; }
.program-label { font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.program-title { font-family: var(--font-jp); font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.program-desc { font-family: var(--font-jp); font-size: 12px; color: var(--ink-muted); line-height: 2; }

/* ── CONTACT ── */
#contact { padding: var(--section-gap) 0; background: var(--ink); position: relative; overflow: hidden; }
.contact-header-line { position: absolute; left: 0; top: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.contact-info-title { font-family: var(--font-en); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 8px; }
.contact-info-jp { font-family: var(--font-jp); font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 40px; }
.contact-details { margin-top: 48px; }
.contact-detail-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.contact-detail-label { font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.contact-detail-value { font-family: var(--font-jp); font-size: 14px; color: rgba(255,255,255,0.7); }
.form-row { margin-bottom: 20px; }
.form-label { font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; display: block; }
.form-input, .form-select, .form-textarea { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 14px 16px; font-family: var(--font-jp); font-size: 14px; transition: border-color 0.3s; outline: none; -webkit-appearance: none; appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.08); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-select { cursor: pointer; }
.form-select option { background: var(--ink-soft); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit { width: 100%; padding: 16px; background: var(--gold); color: var(--white); font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.3s; margin-top: 8px; }
.form-submit:hover { background: var(--gold-light); }

/* ── FOOTER ── */
footer { background: #0e0c0a; padding: 60px 0 32px; border-top: 1px solid rgba(184,154,90,0.1); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-logo { font-family: var(--font-en); font-size: 28px; font-weight: 500; color: var(--white); margin-bottom: 12px; }
.footer-tagline { font-family: var(--font-jp); font-size: 12px; color: rgba(255,255,255,0.3); line-height: 2; }
.footer-col-title { font-family: var(--font-ui); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-family: var(--font-jp); font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.1em; color: rgba(255,255,255,0.2); }
.footer-address { font-family: var(--font-jp); font-size: 11px; color: rgba(255,255,255,0.2); text-align: right; }

/* ── MOBILE NAV PANEL ── */
.mobile-nav-panel { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; background: var(--white); z-index: 99999; transform: translateX(100%); transition: transform 0.4s var(--ease-out); padding: 80px 40px 40px; overflow-y: auto; box-shadow: -20px 0 60px rgba(0,0,0,0.15); }
.mobile-nav-panel.open { transform: translateX(0); }
.mobile-nav-close { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0; }
.mobile-nav-links a { font-family: var(--font-jp); font-size: 16px; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); transition: color 0.2s; display: block; }
.mobile-nav-links a:hover { color: var(--gold); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99998; opacity: 0; visibility: hidden; transition: all 0.3s; }
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; --section-gap: 80px; }
  .container { padding: 0 20px; }

  /* Ẩn desktop menu và CTA */
  .nav-menu { display: none; }
  .nav-cta  { display: none; }

  /* Lang switch: luôn hiển thị trên mobile, thu nhỏ lại */
  .lang-switch {
    font-size: 11px;
    gap: 0;
  }
  .lang-switch span {
    padding: 4px 6px;
  }

  /* Hamburger: hiện trên mobile */
  .nav-hamburger {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px;
    padding: 8px;
    cursor: pointer;
  }
  .nav-hamburger span {
    display: block !important;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
  }
  #navbar.scrolled .nav-hamburger span { background: var(--ink); }

  /* Layout */
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid, .founder-grid, .coaching-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cases-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-address { text-align: center; }
  .hero-deco-line { display: none; }
  .founder-bg-text { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
}