/* =============================================
   GAIKOKUJIN RENTAL — MAIN STYLESHEET
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --primary:        #13132a;
  --primary-mid:    #1e1e40;
  --accent:         #c8911f;
  --accent-light:   #e5ab35;
  --line-green:     #06C755;
  --line-dark:      #05a849;
  --red-japan:      #bc002d;
  --white:          #ffffff;
  --off-white:      #fafaf8;
  --bg-light:       #f4f4f0;
  --text-dark:      #111118;
  --text-body:      #444450;
  --text-muted:     #888895;
  --border:         #e4e4ec;
  --shadow-xs:      0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:      0 4px 16px rgba(0,0,0,.08);
  --shadow-md:      0 8px 32px rgba(0,0,0,.11);
  --shadow-lg:      0 20px 60px rgba(0,0,0,.14);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      36px;
  --nav-h:          72px;
  --transition:     0.3s cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Inter', system-ui, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Noto Sans JP', 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ---- Container ---- */
.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ---- Language Classes ---- */
.hidden { display: none !important; }

/* ---- Section Spacing ---- */
.section-pad { padding-block: clamp(64px, 10vw, 120px); }
.bg-light { background: var(--bg-light); }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section-header.light .section-title,
.section-header.light .section-sub { color: var(--white); }

.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow-label.light { color: rgba(255,255,255,.7); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-line {
  background: var(--line-green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(6,199,85,.35);
}
.btn-line:hover {
  background: var(--line-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,199,85,.45);
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(200,145,31,.35);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-email {
  background: var(--primary);
  color: var(--white);
}
.btn-email:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
}

.btn-linkedin {
  background: #0077b5;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,119,181,.35);
}
.btn-linkedin:hover {
  background: #005f94;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,119,181,.45);
}

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

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
}

.navbar.scrolled .logo-jp,
.navbar.scrolled .logo-en,
.navbar.scrolled .nav-link { color: var(--text-dark); }

.navbar.scrolled .logo-mark { background: var(--primary); color: var(--white); }
.navbar.scrolled .nav-cta { background: var(--line-green); color: var(--white); }
.navbar.scrolled .lang-toggle { color: var(--text-dark); border-color: var(--border); }
.navbar.scrolled .hamburger span { background: var(--text-dark); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-jp {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.logo-en {
  font-size: .65rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
  transition: color var(--transition);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }

.nav-cta {
  background: var(--line-green);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 50px;
}
.nav-cta:hover { background: var(--line-dark); }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  padding: 6px 14px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.4);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .06em;
  transition: var(--transition);
}
.lang-toggle:hover { background: rgba(255,255,255,.15); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

/* Background */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3d3b8e, transparent 70%);
  top: -150px; right: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #c8911f44, transparent 70%);
  bottom: -100px; left: -80px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #bc002d22, transparent 70%);
  top: 40%; left: 40%;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(60px, 10vw, 100px);
  max-width: 720px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  backdrop-filter: blur(8px);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 24px;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { padding-right: 0; }

.stat-item strong {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* Flag bubbles */
.hero-flags {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.flag-bubble {
  position: absolute;
  font-size: 2rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  animation: floatBubble linear infinite;
}

.f1 { top: 15%; right: 12%; animation-duration: 7s; animation-delay: 0s; }
.f2 { top: 35%; right: 6%;  animation-duration: 9s; animation-delay: -2s; }
.f3 { top: 60%; right: 18%; animation-duration: 6s; animation-delay: -4s; }
.f4 { top: 75%; right: 8%;  animation-duration: 8s; animation-delay: -1s; }
.f5 { top: 20%; right: 28%; animation-duration: 10s; animation-delay: -3s; }
.f6 { top: 50%; right: 32%; animation-duration: 7s; animation-delay: -5s; }
.f7 { top: 82%; right: 25%; animation-duration: 9s; animation-delay: -2s; }
.f8 { top: 8%;  right: 40%; animation-duration: 8s; animation-delay: -6s; }

@keyframes floatBubble {
  0%   { transform: translateY(0px) rotate(0deg); }
  33%  { transform: translateY(-12px) rotate(5deg); }
  66%  { transform: translateY(6px) rotate(-3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Scroll button */
.hero-scroll-btn {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
  animation: bounce 2s ease infinite;
}
.hero-scroll-btn:hover { background: rgba(255,255,255,.2); color: var(--white); }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ===================================================
   ABOUT
   =================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

/* Orbit visual */
.about-visual { display: flex; justify-content: center; }

.orbit-wrap {
  position: relative;
  width: 320px;
  height: 320px;
}

.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px; height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 0 0 8px rgba(19,19,42,.08);
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(19,19,42,.15);
  top: 50%; left: 50%;
  animation: spin linear infinite;
}

.orbit-1 {
  width: 140px; height: 140px;
  margin: -70px 0 0 -70px;
  animation-duration: 12s;
}
.orbit-2 {
  width: 220px; height: 220px;
  margin: -110px 0 0 -110px;
  animation-duration: 18s;
  animation-direction: reverse;
}
.orbit-3 {
  width: 300px; height: 300px;
  margin: -150px 0 0 -150px;
  animation-duration: 24s;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit-dot {
  position: absolute;
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
/* Counter-rotate so flags stay upright */
.orbit-1 .orbit-dot { animation: counterSpin 12s linear infinite; }
.orbit-2 .orbit-dot { animation: counterSpin 18s linear reverse infinite; }
.orbit-3 .orbit-dot { animation: counterSpin 24s linear infinite; }

@keyframes counterSpin { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* Position dots around their orbit */
.od1 { top: -20px; left: 50%; margin-left: -20px; }
.od2 { bottom: -20px; left: 50%; margin-left: -20px; }
.od3 { top: -20px; left: 50%; margin-left: -20px; }
.od4 { bottom: -20px; left: 50%; margin-left: -20px; }
.od5 { top: 50%; right: -20px; margin-top: -20px; }
.od6 { top: -20px; left: 50%; margin-left: -20px; }
.od7 { bottom: -20px; left: 50%; margin-left: -20px; }
.od8 { top: 50%; right: -20px; margin-top: -20px; }

/* About text */
.about-text { display: flex; flex-direction: column; gap: 20px; }

.about-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
}
.about-desc strong { color: var(--primary); }

.highlights { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hi-icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hi-text strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.hi-text p { font-size: .875rem; color: var(--text-muted); margin: 0; }

/* ===================================================
   SERVICES
   =================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.sc-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================
   HOW IT WORKS
   =================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: .3;
  pointer-events: none;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px 28px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: 'Inter', monospace;
}

.step-icon {
  font-size: 2.5rem;
  margin: 8px 0 16px;
  display: block;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================
   PROFILES
   =================================================== */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.profile-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pc-avatar {
  background: var(--g);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pc-flag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 1.3rem;
  background: var(--white);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xs);
}

.pc-init {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  font-family: 'Playfair Display', serif;
}

.pc-body { padding: 20px; }

.pc-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pc-origin {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag {
  font-size: .75rem;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--bg-light);
  border-radius: 50px;
  color: var(--text-body);
  border: 1px solid var(--border);
}

.pc-langs {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pc-rate {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}
.pc-rate span {
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.profiles-more {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.profiles-more p {
  font-size: .95rem;
  color: var(--text-muted);
}

/* ===================================================
   LEO FEATURED PROFILE
   =================================================== */
.leo-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  align-items: start;
}

/* Photo column */
.leo-photo-col {
  background: linear-gradient(160deg, #1e1e40 0%, #13132a 100%);
  padding: 36px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100%;
}

.leo-photo-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
}

/* Fallback avatar — always visible behind the photo */
.leo-photo-wrap::before {
  content: "L";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 40%, #e17055 100%);
  display: block;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  text-align: center;
  line-height: 192px; /* 200px − 2×4px border */
  border: 4px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  z-index: 0;
}

.leo-photo {
  position: absolute;
  inset: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 4px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  background: #fff;
  z-index: 1;
}

.leo-flag-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 1.6rem;
  background: var(--white);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  z-index: 2;
}

/* Languages block */
.leo-langs-title,
.leo-world-title {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
}

.leo-lang-tags,
.leo-world-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lang-tag {
  font-size: .8rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07);
}

.world-tag {
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
}

/* Info column */
.leo-info-col {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.leo-name {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
  margin-bottom: 4px;
}

.leo-title {
  font-size: .9rem;
  color: var(--accent);
  font-weight: 500;
}

.leo-bio p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
}

/* Activities */
.leo-act-title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.leo-act-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.act-tag {
  font-size: .85rem;
  padding: 6px 14px;
  background: var(--bg-light);
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-body);
  transition: var(--transition);
}
.act-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Donation note */
.leo-donation-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, rgba(200,145,31,.08), rgba(200,145,31,.03));
  border: 1px solid rgba(200,145,31,.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.don-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }

.leo-donation-note strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.leo-donation-note p {
  font-size: .875rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* CTAs */
.leo-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Donation emoji size */
.don-amount { font-size: 3rem; display: block; margin-bottom: 4px; }

/* ===================================================
   PRICING
   =================================================== */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
  max-width: 900px;
  margin-inline: auto;
}

.main-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.main-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,145,31,.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pricing-label {
  display: inline-block;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.pricing-amount {
  margin-bottom: 8px;
}

.amount-range {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.amount-range em {
  font-style: normal;
  color: var(--accent);
  margin-inline: 4px;
}

.amount-unit {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  display: block;
  margin-bottom: 28px;
}

.pricing-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
}

.check {
  width: 22px; height: 22px;
  background: var(--line-green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Pricing notes */
.pricing-notes {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.pricing-notes h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pn-icon {
  font-size: 1.3rem;
  width: 40px; height: 40px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.pricing-note strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.pricing-note p {
  font-size: .825rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===================================================
   FAQ
   =================================================== */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-sm); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: .975rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background var(--transition);
}
.faq-q:hover { background: var(--bg-light); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.faq-a p {
  padding: 0 24px 20px;
  font-size: .925rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact {
  position: relative;
  background: var(--primary);
  overflow: hidden;
}

.contact-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .4;
}
.c-orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #3d3b8e, transparent 70%);
  top: -150px; right: -100px;
}
.c-orb2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,145,31,.4), transparent 70%);
  bottom: -80px; left: -60px;
}

.contact .section-header { position: relative; z-index: 1; }

.contact-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.contact-card:hover {
  background: rgba(255,255,255,.11);
  transform: translateY(-4px);
}

.cc-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.line-bg { background: var(--line-green); }
.email-bg { background: var(--accent); }

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.cc-id {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  font-family: 'Inter', monospace;
  margin-bottom: 8px;
}

.cc-note {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
}

.contact-tip {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tip-icon { font-size: 1.3rem; flex-shrink: 0; }

.contact-tip p {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin: 0;
}
.contact-tip p strong { color: rgba(255,255,255,.9); }

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--text-dark);
  padding-block: 60px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-mark { background: rgba(255,255,255,.1); }
.footer-logo .logo-jp { color: var(--white); }
.footer-logo .logo-en { color: rgba(255,255,255,.4); }

.footer-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-location {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  padding-block: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--transition);
}
.footer-contact-link:last-of-type { border-bottom: none; }
.footer-contact-link:hover { color: var(--white); }

.badge-line {
  background: var(--line-green);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .04em;
}

.badge-email {
  background: var(--accent);
  color: var(--white);
  font-size: .75rem;
  width: 22px; height: 22px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}

.badge-linkedin {
  background: #0077b5;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  width: 22px; height: 22px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}

.footer-foreign {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  margin-top: 12px;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

.footer-tagline {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  font-style: italic;
}

/* ===================================================
   FLOATING LINE BUTTON
   =================================================== */
.float-line {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px; height: 60px;
  background: var(--line-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(6,199,85,.45);
  transition: var(--transition);
  animation: floatPop .6s cubic-bezier(.34,1.56,.64,1) 1s both;
}
.float-line:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(6,199,85,.55);
}

@keyframes floatPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ===================================================
   SCROLL REVEAL
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger for grid children */
.services-grid .reveal:nth-child(2) { transition-delay: .05s; }
.services-grid .reveal:nth-child(3) { transition-delay: .10s; }
.services-grid .reveal:nth-child(4) { transition-delay: .15s; }
.services-grid .reveal:nth-child(5) { transition-delay: .20s; }
.services-grid .reveal:nth-child(6) { transition-delay: .25s; }
.services-grid .reveal:nth-child(7) { transition-delay: .30s; }
.services-grid .reveal:nth-child(8) { transition-delay: .35s; }

.profiles-grid .reveal:nth-child(2) { transition-delay: .07s; }
.profiles-grid .reveal:nth-child(3) { transition-delay: .14s; }
.profiles-grid .reveal:nth-child(4) { transition-delay: .21s; }
.profiles-grid .reveal:nth-child(5) { transition-delay: .28s; }
.profiles-grid .reveal:nth-child(6) { transition-delay: .35s; }

.steps-grid .reveal:nth-child(2) { transition-delay: .07s; }
.steps-grid .reveal:nth-child(3) { transition-delay: .14s; }
.steps-grid .reveal:nth-child(4) { transition-delay: .21s; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 980px) {
  .leo-card {
    grid-template-columns: 1fr;
  }
  .leo-photo-col {
    padding: 36px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
  }
  .leo-photo-wrap {
    width: 140px; height: 140px;
    flex-shrink: 0;
  }
  .leo-photo { width: 140px; height: 140px; }
  .leo-info-col { padding: 0 32px 32px; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .navbar.scrolled .nav-links { background: var(--white); }
  .navbar.scrolled .nav-link { color: var(--text-dark); }

  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }

  .pricing-wrap { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .contact-cards { grid-template-columns: 1fr; max-width: 400px; }

  .hero-flags { display: none; }
  .steps-grid::before { display: none; }
}

@media (max-width: 600px) {
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 16px 20px;
  }
  .stat-sep { display: none; }
  .stat-item { padding-inline: 12px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .leo-photo-col { flex-direction: column; align-items: center; text-align: center; }
  .leo-lang-tags, .leo-world-tags { justify-content: center; }
  .leo-info-col { padding: 0 20px 28px; }
  .leo-ctas { flex-direction: column; }
  .leo-ctas .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .pricing-notes { padding: 20px; }
  .main-card { padding: 28px 20px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2rem; }
  .contact-card { padding: 24px 20px; }
}

/* ===================================================
   PRINT
   =================================================== */
@media print {
  .navbar, .float-line, .hero-flags, .hero-scroll-btn { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  .reveal { opacity: 1; transform: none; }
}
