:root {
  --bg: #fbfdff;
  --surface: #ffffff;
  --surface-soft: #f2f8ff;
  --surface-accent: #ebf5ff;
  --line: #d7e8fb;
  --text: #203245;
  --muted: #617386;
  --blue: #0099ff;
  --blue-soft: #4db8ff;
  --blue-deep: #0078e7;
  --blue-dark: #005fc7;
  --shadow: 0 18px 44px rgba(0, 120, 231, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin-top: 0; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 68px 0; }
.section-tight { padding: 54px 0; }
.bg-soft { background: var(--surface-soft); }
.bg-white { background: var(--surface); }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 500;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(251, 253, 255, 0.92);
  border-bottom: 1px solid rgba(215, 232, 251, 0.95);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand-title { display: flex; flex-direction: column; line-height: 1.2; }
.brand-title strong { font-size: 0.96rem; font-weight: 500; }
.brand-title span { color: var(--muted); font-size: 0.84rem; font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 10px 14px; font-size: 0.94rem; font-weight: 400; color: var(--muted); border-radius: 999px; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-dark); background: var(--surface-accent); }
.nav-cta { border: 1px solid var(--line); background: var(--surface); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--blue-dark); border-radius: 99px; transition: 180ms ease; }

.top-banner {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fafdff 0%, #edf6ff 100%);
}
.top-banner .container { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; color: var(--muted); font-size: 0.88rem; }
.top-banner strong { color: var(--blue-dark); font-weight: 500; }

.welcome-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(77, 184, 255, 0.26), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(0, 153, 255, 0.20), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f1f8ff 100%);
}
.welcome-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 44px; align-items: center; min-height: 610px; }
.welcome-copy h1 {
  font-size: clamp(1.95rem, 3.6vw, 3.35rem);
  line-height: 1.06;
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.welcome-copy p { max-width: 62ch; color: var(--muted); font-size: 0.95rem; }
.welcome-panel { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; }
.badge {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: 0.88rem;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 400;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 30px rgba(0, 153, 255, 0.24);
}
.btn-secondary { color: var(--blue-dark); background: var(--surface); border: 1px solid var(--line); }
.hero-figure { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(215,232,251,0.95);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card img { width: 100%; aspect-ratio: 1.08 / 1; object-fit: cover; }
.hero-caption { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.hero-caption strong { display: block; font-size: 0.88rem; font-weight: 500; color: var(--blue-dark); }
.hero-caption span { color: var(--muted); font-size: 0.82rem; }

.hero-caption a {
  display: block;
  height: 100%;
  padding: 15px;
  background: rgba(255,255,255,0.98);
  transition: background 180ms ease, transform 180ms ease;
}
.hero-caption a:hover {
  background: #f0f8ff;
  transform: translateY(-1px);
}
.hero-caption a:focus-visible,
.product-icon-link:focus-visible {
  outline: 3px solid rgba(0, 153, 255, 0.35);
  outline-offset: 4px;
  border-radius: 16px;
}
.product-icon-link {
  display: inline-flex;
  width: 100%;
  max-width: 120px;
  margin-bottom: 14px;
  border-radius: 16px;
  transition: transform 180ms ease, filter 180ms ease;
}
.product-icon-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(0, 153, 255, 0.18));
}
.product-icon-link img {
  margin-bottom: 0;
}

.section-head { display: grid; gap: 8px; max-width: 760px; margin-bottom: 32px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.section-head p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }

.overview-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 26px; align-items: start; }
.card, .stat-card, .service-card, .product-card, .list-card, .contact-card, .info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 26px; }
.card p:last-child, .service-card p:last-child, .product-card p:last-child, .contact-card p:last-child, .info-card p:last-child { margin-bottom: 0; }
.stat-stack { display: grid; gap: 14px; }
.stat-card { padding: 18px 20px; }
.stat-card strong { display: block; font-size: 1.18rem; font-weight: 500; color: var(--blue-dark); }
.stat-card span { color: var(--muted); font-size: 0.9rem; }

.service-grid, .product-grid, .contact-grid, .info-grid, .footer-grid { display: grid; gap: 18px; }
.service-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .product-card { padding: 22px; }
.service-card img, .product-card img { width: 100%; max-width: 92px; margin-bottom: 14px; }
.service-card h3, .product-card h3, .info-card h3, .list-card h3 { margin-bottom: 10px; font-size: 1.04rem; font-weight: 500; }
.service-card p, .product-card p, .info-card p, .list-card p, .contact-card p, .list-card li { color: var(--muted); font-size: 0.93rem; }
.text-link, .footer a, .contact-card a, .inline-link { color: var(--blue-deep); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.93rem; font-weight: 400; }

.split-layout { display: grid; grid-template-columns: 0.96fr 1.04fr; gap: 26px; align-items: start; }
.list-card { padding: 26px; }
.list-card ul { margin: 14px 0 0; padding-left: 18px; }
.list-card li { margin-bottom: 9px; }
.info-grid { grid-template-columns: repeat(2, 1fr); }
.info-card { padding: 20px; }

.products-hero, .page-hero { background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%); }
.page-hero .hero-inner, .products-hero .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 340px; }
.page-hero h1, .products-hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.08; margin-bottom: 14px; font-weight: 500; letter-spacing: -0.03em; }
.page-hero p, .products-hero p { color: var(--muted); max-width: 60ch; font-size: 0.95rem; }
.hero-box { padding: 22px; border-radius: 26px; background: rgba(255,255,255,0.96); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-box img { width: 100%; max-width: 110px; margin-bottom: 10px; }
.hero-box ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.93rem; }

.detail-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 24px; align-items: start; }
.key-list { display: grid; gap: 14px; }
.key-item { padding: 17px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.key-item strong { display: block; margin-bottom: 6px; font-weight: 500; color: var(--blue-dark); }
.key-item span { color: var(--muted); font-size: 0.92rem; }


.product-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.product-category-card h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--text);
}
.product-category-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.product-category-card .product-items {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
@media (max-width: 760px) {
  .product-category-grid { grid-template-columns: 1fr; }
}

.contact-grid { grid-template-columns: 0.78fr 1.22fr; }
.contact-card-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card { padding: 22px; }
.contact-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 500;
}

.footer { padding: 24px 0 34px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { grid-template-columns: 1fr auto auto; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; }
.footer p { margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .welcome-grid, .overview-grid, .split-layout, .detail-grid, .contact-grid, .page-hero .hero-inner, .products-hero .hero-inner { grid-template-columns: 1fr; }
  .service-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-toggle { display: block; z-index: 60; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: fixed; left: 14px; right: 14px; top: 84px; display: grid; gap: 8px; padding: 14px;
    background: rgba(255,255,255,0.98); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-12px); pointer-events: none;
  }
  .nav-links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .top-banner .container, .hero-caption, .service-grid, .product-grid, .info-grid, .contact-card-wrap { grid-template-columns: 1fr; display: grid; }
  .top-banner .container { justify-content: start; }
  .welcome-grid { gap: 28px; min-height: auto; padding: 18px 0; }
  .section { padding: 56px 0; }
  .section-tight { padding: 42px 0; }
  .service-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 14px; }
}
