/* ======================
   CSS Variables
   ====================== */
:root {
  --color-primary: #4caf6e;
  --color-primary-light: #6fcf8e;
  --color-primary-dark: #2e7d4f;
  --color-primary-bg: #e8f5ee;
  --color-primary-gradient: linear-gradient(135deg, #2e7d4f, #4caf6e);
  --color-accent: #00e676;
  --color-text: #0f1923;
  --color-text-light: #4a5568;
  --color-text-muted: #94a3b8;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9f7;
  --color-bg-dark: #0a1628;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
  --shadow-primary: 0 8px 32px rgba(46, 125, 79, 0.35);
  --font-ja: "Noto Sans JP", sans-serif;
  --font-mono: "SF Mono", "Fira Code", monospace;
  --max-width: 1120px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ======================
   Utility
   ====================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.sp-only { display: none; }
.sp-only-hide { display: inline; }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ======================
   Header
   ====================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: transparent;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 2;
}

.logo-img {
  height: 32px;
  width: auto;
  transition: filter 0.4s ease;
}

/* White logo on dark hero */
.header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.logo-img-footer {
  filter: brightness(0) invert(1);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.25s ease;
  position: relative;
  letter-spacing: 0.03em;
}

.header.scrolled .nav-link {
  color: var(--color-text-light);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary-gradient);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.nav-link:hover { color: var(--color-accent); }
.header.scrolled .nav-link:hover { color: var(--color-primary-dark); }
.nav-link:hover::after { width: 100%; }

/* Language toggle */
.lang-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-ja);
  color: #fff;
  letter-spacing: 0.05em;
}

.header.scrolled .lang-btn {
  background: none;
  border-color: var(--color-border);
  color: var(--color-text);
}

.lang-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  border-radius: 2px;
}

.header.scrolled .hamburger span { background: var(--color-text); }

.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 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg-new.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.6) 50%,
    rgba(46, 125, 79, 0.3) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.6; transform: translateY(-20px) scale(1); }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-200px) scale(0.5); }
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeIn 1s 1.5s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  letter-spacing: 0.04em;
  font-family: var(--font-ja);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary-gradient);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(46, 125, 79, 0.5);
  filter: brightness(1.08);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 20px 52px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* ======================
   Stats Section
   ====================== */
.stats {
  background: var(--color-bg-dark);
  padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 24px 16px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ======================
   Section (common)
   ====================== */
.section {
  padding: 112px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ======================
   About
   ====================== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-image-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.about-image-badge-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.about-image-badge-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.about-text .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.about-lead {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.about-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.about-card:hover::before { opacity: 1; }

.about-card-icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-primary-bg);
  border-radius: 12px;
}

.about-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.about-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ======================
   Services
   ====================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-primary);
  border-color: transparent;
}

.service-card:hover::after { opacity: 1; }

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
  position: relative;
  z-index: 1;
}

.service-card-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.service-card:hover .service-card-num { color: rgba(255,255,255,0.6); }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.75;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

/* ======================
   Track Record
   ====================== */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.track-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.track-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.track-tag {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary-bg);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.track-item p {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.65;
}

/* Filter */
.track-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 8px 22px;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-ja);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background: var(--color-primary-bg);
}

.filter-btn.active {
  background: var(--color-primary-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.track-item.hidden { display: none; }

.track-note {
  text-align: center;
  margin-top: 36px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ======================
   Company
   ====================== */
.company-table-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s ease;
}

.company-table tr:last-child { border-bottom: none; }

.company-table tr:hover {
  background: var(--color-primary-bg);
}

.company-table th,
.company-table td {
  padding: 22px 28px;
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

.company-table th {
  width: 150px;
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.company-table td {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ======================
   Contact
   ====================== */
#contact {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(76, 175, 110, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

#contact::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0, 230, 118, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-content .section-header {
  margin-bottom: 20px;
}

.contact-content .section-eyebrow {
  background: rgba(76, 175, 110, 0.2);
  color: var(--color-accent);
}

.contact-content .section-title {
  color: #fff;
}

.contact-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
  line-height: 1.9;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ======================
   Footer
   ====================== */
.footer {
  background: #07101e;
  color: #fff;
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-link:hover { color: var(--color-primary-light); }

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

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-ja);
}

.footer-tag {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}

/* ======================
   Section Dividers
   ====================== */
.section-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-wave svg {
  display: block;
  width: 100%;
}

/* ======================
   Accessibility & Reduced Motion
   ====================== */
::selection {
  background: rgba(76, 175, 110, 0.2);
  color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in, .hero-title, .hero-eyebrow, .hero-subtitle, .hero-actions, .hero-scroll {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html { scroll-behavior: auto; }
}

/* ======================
   Responsive
   ====================== */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-text .section-header {
    text-align: center;
  }

  .about-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .track-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(3)::after { display: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .sp-only { display: inline; }
  .sp-only-hide { display: none; }

  .container { padding: 0 20px; }

  /* Header */
  .hamburger { display: flex; }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100dvh;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 44px;
    padding-top: var(--header-height);
  }

  .nav.open { display: flex; }

  .nav-link {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85) !important;
  }

  /* Hero */
  .hero { min-height: 100dvh; }

  .hero-actions { gap: 14px; }

  .hero-scroll { bottom: 24px; }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Sections */
  .section { padding: 80px 0; }

  .section-header { margin-bottom: 48px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-card { padding: 22px 20px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px 20px; }

  /* Track */
  .track-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Company */
  .company-table th {
    width: 90px;
    font-size: 0.82rem;
    padding: 16px 16px;
  }

  .company-table td {
    font-size: 0.82rem;
    padding: 16px 16px;
  }

  /* Contact */
  .btn-lg { padding: 18px 36px; font-size: 0.95rem; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
