/* ============================================================
   ROYAL ONE — Design System v2.0
   Brand Guidelines: League Spartan / Inter / Noto Sans JP
   Colors: Deep Navy #0d1b3e · Tech Blue #2d5bff · Coral #e85949
   ============================================================ */

/* ── Variables ── */
:root {
  --navy:       #0d1b3e;
  --navy-mid:   #111f48;
  --navy-light: #1a2b5e;
  --blue:       #2d5bff;
  --blue-light: #4d78ff;
  --violet:     #6c3dbd;
  --coral:      #e85949;
  --coral-soft: #f67168;
  --gold:       #c9a84c;
  --white:      #ffffff;
  --off:        #f7f8fc;
  --gray-100:   #eef0f7;
  --gray-200:   #d8dce8;
  --gray-400:   #9098b5;
  --gray-600:   #5a6282;
  --text:       #0d1b3e;
  --text-mid:   #3d4870;
  --text-light: #6b74a0;

  --ff-h: 'League Spartan', sans-serif;
  --ff-b: 'Inter', sans-serif;
  --ff-jp: 'Noto Sans JP', sans-serif;

  --r:   8px;
  --rl:  16px;
  --rxl: 24px;

  --sh:    0 2px 16px rgba(13,27,62,.08);
  --sh-md: 0 8px 40px rgba(13,27,62,.14);
  --sh-lg: 0 20px 60px rgba(13,27,62,.2);

  --transition: .35s cubic-bezier(.4,0,.2,1);

  --grad-hero: linear-gradient(135deg, #060e24 0%, #0d1b3e 50%, #111f48 100%);
  --grad-blue: linear-gradient(135deg, #0d1b3e 0%, #2d5bff 100%);
  --grad-coral: linear-gradient(135deg, #e85949 0%, #f67168 100%);
  --grad-section: linear-gradient(180deg, #f7f8fc 0%, #fff 100%);
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--ff-h);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--navy);
}
body.lang-ja h1,
body.lang-ja h2,
body.lang-ja h3,
body.lang-ja h4 {
  font-family: var(--ff-jp);
  letter-spacing: -.01em;
  font-weight: 700;
}
.section-label {
  font-family: var(--ff-h);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 14px;
}
body.lang-ja .section-label {
  font-family: var(--ff-jp);
  letter-spacing: .1em;
}

/* ── Layout ── */
.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}
.section {
  padding: 110px 0;
}
.section-sm { padding: 70px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-h);
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 100px;
  padding: 14px 32px;
  font-size: .9rem;
  transition: var(--transition);
  white-space: nowrap;
}
body.lang-ja .btn { font-family: var(--ff-jp); letter-spacing: .03em; }
.btn-coral {
  background: var(--grad-coral);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232,89,73,.35);
}
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,89,73,.45); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(13,27,62,.25);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  padding: 13px 30px;
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);
}
.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding: 10px 0;
  font-size: .85rem;
  gap: 6px;
}
.btn-ghost:hover { color: var(--coral); }
.btn-ghost::after { content: '→'; transition: var(--transition); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-lg { padding: 17px 40px; font-size: 1rem; }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(7,13,32,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.nav-logo {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 6px;
  padding: 6px 10px;
  box-shadow: 0 8px 26px rgba(0,0,0,.16);
}
.nav-logo-image {
  width: 146px;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: var(--ff-h);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}
body.lang-ja .nav-link { font-family: var(--ff-jp); letter-spacing: .05em; text-transform: none; font-size: .82rem; }
.nav-link:hover, .nav-link.active-nav { color: var(--white); }
.nav-cta {
  font-family: var(--ff-h);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--white);
  background: var(--coral);
  padding: 9px 22px;
  border-radius: 100px;
  transition: var(--transition);
}
body.lang-ja .nav-cta { font-family: var(--ff-jp); }
.nav-cta:hover { background: var(--coral-soft); transform: translateY(-1px); }
.nav-lang {
  font-family: var(--ff-h);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
}
.nav-lang:hover { color: var(--white); border-color: rgba(255,255,255,.4); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media(max-width:860px){
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(6,12,28,.97);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: var(--transition);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; }
  .nav-cta { font-size: .95rem; padding: 12px 32px; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,14,36,.5) 0%, rgba(6,14,36,.2) 50%, rgba(6,14,36,.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 7px 18px;
  font-family: var(--ff-h);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}
body.lang-ja .hero-eyebrow { font-family: var(--ff-jp); letter-spacing: .08em; text-transform: none; }
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--coral);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
}
body.lang-ja .hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.25; }
.hero h1 em {
  font-style: normal;
  color: var(--coral);
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.65);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.3);
  font-family: var(--ff-h);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
}

/* ── BELIEF / PHILOSOPHY ── */
.belief {
  background: var(--white);
}
.belief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.belief-visual {
  position: relative;
}
.belief-hexagon {
  width: 100%;
  max-width: 420px;
}
.belief-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 28px;
  line-height: 1.18;
}
.belief-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}
.belief-text p strong { color: var(--navy); }

/* ── WHAT WE DO ── */
.services {
  background: var(--off);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}
.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 18px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}
.services-intro {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--rl);
  padding: 36px 32px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--sh);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,89,73,.1), rgba(232,89,73,.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.4rem;
}
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.service-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ── HOW IT WORKS ── */
.process {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,91,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.process .section-label { color: var(--coral-soft); }
.process h2 { color: var(--white); font-size: clamp(1.9rem,3.5vw,2.8rem); margin-bottom: 18px; }
.process-sub { color: rgba(255,255,255,.5); font-size: 1rem; max-width: 540px; margin: 0 auto 70px; text-align: center; }
.process-header { text-align: center; max-width: 640px; margin: 0 auto; }
.phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.phases::before {
  content: '';
  position: absolute;
  top: 42px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,91,255,.4), rgba(232,89,73,.4), transparent);
}
.phase {
  padding: 0 20px;
  text-align: center;
}
.phase-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--ff-h);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--coral);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.phase:hover .phase-num {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  box-shadow: 0 0 24px rgba(232,89,73,.4);
}
.phase-title {
  font-family: var(--ff-h);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral-soft);
  margin-bottom: 12px;
}
body.lang-ja .phase-title { text-transform: none; letter-spacing: .03em; }
.phase h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.phase p {
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
}

/* ── SCOPE ── */
.scope {
  background: var(--white);
}
.scope-intro {
  max-width: 740px;
  margin: 0 auto 64px;
  text-align: center;
}
.scope-intro p { font-size: 1rem; color: var(--text-mid); line-height: 1.85; }
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.scope-item {
  padding: 32px;
  border-radius: var(--rl);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  background: var(--white);
}
.scope-item:hover { border-color: var(--blue); box-shadow: var(--sh-md); transform: translateY(-3px); }
.scope-item-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.scope-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.scope-item p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ── DIFFERENTIATOR ── */
.why {
  background: linear-gradient(135deg, #060e24 0%, #0d1b3e 100%);
  position: relative;
  overflow: hidden;
}
.why::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,61,189,.15) 0%, transparent 70%);
  pointer-events: none;
}
.why .section-label { color: var(--coral-soft); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 24px;
}
.why-text p {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
  margin-bottom: 18px;
}
.why-text p strong { color: var(--white); }
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--rl);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-stat:hover { background: rgba(255,255,255,.07); border-color: rgba(45,91,255,.3); }
.why-stat-num {
  font-family: var(--ff-h);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 8px;
}
.why-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

/* ── RESULTS ── */
.results {
  background: var(--off);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.result-card {
  background: var(--white);
  border-radius: var(--rl);
  padding: 40px 36px;
  box-shadow: var(--sh);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.result-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.result-client {
  font-family: var(--ff-h);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 24px;
}
body.lang-ja .result-client { letter-spacing: .08em; text-transform: none; }
.result-numbers {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.result-num-block { text-align: center; }
.result-num {
  font-family: var(--ff-h);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.result-num-label {
  font-size: .72rem;
  color: var(--text-light);
  margin-top: 4px;
}
.result-arrow {
  font-size: 1.4rem;
  color: var(--coral);
  flex-shrink: 0;
}
.result-desc {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.logos-section { text-align: center; }
.logos-label {
  font-family: var(--ff-h);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 28px;
}
body.lang-ja .logos-label { font-family: var(--ff-jp); text-transform: none; letter-spacing: .08em; }
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-item {
  font-family: var(--ff-h);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--gray-400);
  transition: var(--transition);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
body.lang-ja .logo-item { font-family: var(--ff-jp); }
.logo-item:hover { color: var(--navy); border-color: var(--coral); }

/* ── MODELS ── */
.models {
  background: var(--white);
}
.models-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.model-card {
  border-radius: var(--rxl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.model-card-dwu {
  background: var(--off);
  border: 1px solid var(--gray-100);
}
.model-card-dwu:hover { border-color: var(--blue); box-shadow: var(--sh-md); }
.model-card-dfu {
  background: var(--navy);
  border: 1px solid var(--navy-light);
}
.model-card-dfu:hover { box-shadow: 0 16px 48px rgba(13,27,62,.35); }
.model-card-dfu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-coral);
}
.model-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-family: var(--ff-h);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
body.lang-ja .model-badge { font-family: var(--ff-jp); text-transform: none; letter-spacing: .05em; }
.model-badge-dwu { background: rgba(45,91,255,.1); color: var(--blue); }
.model-badge-dfu { background: rgba(232,89,73,.15); color: var(--coral-soft); }
.model-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.model-card-dfu h3 { color: var(--white); }
.model-card p {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-mid);
}
.model-card-dfu p { color: rgba(255,255,255,.6); }

/* ── CONTACT ── */
.contact {
  background: linear-gradient(135deg, #060e24 0%, #0d1b3e 60%, #111f48 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,89,73,.1) 0%, transparent 65%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left .section-label { color: var(--coral-soft); }
.contact-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 20px;
}
.contact-left p {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-info-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.contact-info-text {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.contact-info-text a { color: rgba(255,255,255,.85); transition: var(--transition); }
.contact-info-text a:hover { color: var(--coral-soft); }

/* Contact Form */
.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--rxl);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-family: var(--ff-h);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 7px;
}
body.lang-ja .form-group label { font-family: var(--ff-jp); text-transform: none; letter-spacing: .03em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  color: var(--white);
  font-family: var(--ff-b);
  font-size: .9rem;
  padding: 12px 16px;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}
body.lang-ja .form-group input,
body.lang-ja .form-group select,
body.lang-ja .form-group textarea { font-family: var(--ff-jp); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(45,91,255,.6);
  background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 3px rgba(45,91,255,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-error {
  font-size: .72rem;
  color: var(--coral-soft);
  margin-top: 4px;
  min-height: 16px;
}
.form-submit-row {
  margin-top: 4px;
}
.form-success {
  display: none;
  margin-top: 18px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--r);
  padding: 14px 18px;
  font-size: .88rem;
  color: #86efac;
  line-height: 1.6;
}
.form-success.show { display: block; }

/* ── FOOTER ── */
footer {
  background: #060c1c;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo-image {
  width: 138px;
  height: auto;
  background: rgba(255,255,255,.94);
  border-radius: 6px;
  padding: 7px 10px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-family: var(--ff-h);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  transition: var(--transition);
}
body.lang-ja .footer-links a { font-family: var(--ff-jp); text-transform: none; }
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-copy {
  font-size: .72rem;
  color: rgba(255,255,255,.2);
  font-family: var(--ff-b);
}

/* ── Back to top ── */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(232,89,73,.4);
  z-index: 500;
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-3px); }

/* ── Animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
[data-animate="fadeInLeft"]  { transform: translateX(-28px); }
[data-animate="fadeInRight"] { transform: translateX(28px); }
[data-animate="fadeInUp"]    { transform: translateY(28px); }
[data-animate].animated { opacity: 1; transform: none; }

/* ── Responsive ── */
@media(max-width:1024px){
  .phases { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .phases::before { display: none; }
  .belief-grid { gap: 48px; }
  .why-grid { gap: 48px; }
}
@media(max-width:800px){
  .section { padding: 80px 0; }
  .belief-grid,
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .belief-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .scope-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media(max-width:500px){
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .logos-row { gap: 28px; }
  .result-numbers { flex-wrap: wrap; }
}
