:root {
  --ink: #15171d;
  --muted: #667085;
  --line: #e6e8ee;
  --panel: #ffffff;
  --soft: #f6f8fb;
  --brand: #d71920;
  --brand-dark: #9f1016;
  --navy: #17213b;
  --steel: #3e556f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Arial, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

#PageTop {
  position: absolute;
  top: 0;
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(230, 232, 238, 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand .brand-logo {
  width: 100px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 6px;
  color: #303846;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--soft);
  color: var(--brand);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 20, 35, 0.88), rgba(14, 20, 35, 0.48) 48%, rgba(14, 20, 35, 0.24)),
    url("images/1.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 76px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  background: var(--brand);
  color: #ffffff;
}

.primary-action:hover {
  background: var(--brand-dark);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section-pad {
  padding: 92px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
}

.intro p:not(.section-kicker) {
  margin: 34px 0 0;
  color: var(--steel);
  font-size: 19px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.technology {
  background: var(--soft);
}

.feature-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(20, 30, 48, 0.06);
}

.feature-card {
  padding: 28px;
}

.feature-card img {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
}

.feature-card h3,
.product-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.feature-card p,
.product-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f2f4f7;
}

.product-card div {
  padding: 20px;
}

.visual-band {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(23, 33, 59, 0.92), rgba(23, 33, 59, 0.36)),
    url("images/2.png") center / cover no-repeat;
  color: #ffffff;
}

.visual-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.visual-content h2 {
  color: #ffffff;
}

.visual-content p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.28;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-grid a:hover img {
  transform: scale(1.04);
}

.contact {
  background: var(--navy);
  color: #ffffff;
}

.contact h2 {
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 52px;
  align-items: start;
}

.contact-lead {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel dl {
  margin: 0;
}

.contact-panel div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-panel div:first-child {
  padding-top: 0;
}

.contact-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-panel dt {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.contact-panel dd {
  margin: 0;
}

.contact-panel a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: #0f1420;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
}

.footer-inner p {
  margin: 0;
}

#HomeButton {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 110;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(20, 30, 48, 0.28);
}

#HomeButton:hover {
  background: var(--brand-dark);
}

@media (max-width: 960px) {
  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro p:not(.section-kicker) {
    margin-top: 0;
  }

  .feature-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-shell {
    width: min(var(--max), calc(100% - 28px));
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand .brand-logo {
    width: 100px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .nav-links a {
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-content,
  .section-inner,
  .visual-content {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 18px;
  }

  h2 {
    font-size: 32px;
  }

  .section-pad {
    padding: 64px 0;
  }

  .feature-grid,
  .product-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
  }

  #HomeButton {
    right: 16px;
    bottom: 18px;
  }
}
