:root {
  --navy: #071827;
  --navy-2: #0d2235;
  --slate: #64707c;
  --slate-2: #e6ebf0;
  --line: rgba(7, 24, 39, .12);
  --surface: #f5f7f9;
  --white: #fff;
  --accent: #e4572e;
  --accent-2: #b82f22;
  --ink: #101820;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  letter-spacing: 0;
  background: var(--surface);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 84px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  padding: 0 38px;
  background: rgba(245, 247, 249, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .44);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 164px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  white-space: nowrap;
}

.main-nav a {
  color: #102235;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover {
  color: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.menu-button {
  width: 34px;
  display: grid;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button span {
  height: 3px;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 130px 0 110px;
  background: var(--navy);
}

.hero-showcase {
  min-height: 100svh;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 4.8s ease;
  filter: saturate(.92) brightness(.72);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.95) brightness(.7);
}

.hero-tint {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 24, 39, .96) 0%, rgba(7, 24, 39, .84) 32%, rgba(7, 24, 39, .28) 64%, rgba(7, 24, 39, .18) 100%),
    linear-gradient(180deg, rgba(7, 24, 39, .3), rgba(7, 24, 39, .72));
}

.hero-content {
  width: min(1180px, calc(100vw - 44px));
  margin: 0 auto;
  color: #fff;
}

.hero-stage {
  width: min(1180px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .44fr);
  gap: 60px;
  align-items: center;
  margin: 0 auto;
}

.hero-stage .hero-content {
  width: auto;
  margin: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(44px, 5.7vw, 84px);
  line-height: 1.08;
  font-weight: 900;
  word-break: keep-all;
}

.hero-lead {
  max-width: 690px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
  line-height: 1.82;
  word-break: keep-all;
}

.hero-selector {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.14);
  box-shadow: 0 28px 70px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}

.hero-tab {
  min-height: 92px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  padding: 17px 20px;
  border: 0;
  border-left: 3px solid transparent;
  background: rgba(7, 24, 39, .68);
  color: #fff;
  text-align: left;
  transition: background .24s ease, border-color .24s ease, transform .24s ease;
}

.hero-tab:hover,
.hero-tab.active {
  border-left-color: var(--accent);
  background: rgba(255,255,255,.94);
  color: var(--navy);
  transform: translateX(-6px);
}

.hero-tab span {
  grid-row: span 2;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.hero-tab strong {
  font-size: 18px;
  font-weight: 900;
}

.hero-tab small {
  color: inherit;
  opacity: .72;
  line-height: 1.45;
}

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

.primary-button,
.secondary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.primary-button {
  background: var(--accent);
  color: #fff;
}

.secondary-button {
  border: 1px solid rgba(255,255,255,.38);
  color: #fff;
}

.hero-metrics {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1180px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(7, 24, 39, .74);
  backdrop-filter: blur(8px);
}

.hero-metrics div {
  min-height: 92px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255,255,255,.16);
  color: #fff;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 110px 0;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card,
.quality-grid article,
.process-grid article {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.product-card:hover,
.quality-grid article:hover,
.process-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 54px rgba(7, 24, 39, .12);
  border-color: rgba(228, 87, 46, .28);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.16;
  font-weight: 900;
  word-break: keep-all;
}

.section-heading > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.78;
  word-break: keep-all;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card-media {
  display: block;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.product-card > div {
  padding: 24px;
}

.product-card span,
.process-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.product-card h3,
.process-grid h3,
.partner-grid h3 {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 900;
}

.product-card p,
.process-grid p,
.partner-grid p {
  margin-top: 12px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.68;
  word-break: keep-all;
}

.product-card ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin-top: 18px;
  list-style: none;
  color: #2c3a47;
  font-size: 14px;
  font-weight: 800;
}

.product-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.product-detail-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.product-detail-link:hover {
  background: var(--navy);
  color: #fff;
}

.product-card-dark {
  display: flex;
  align-items: stretch;
  background: var(--navy);
  color: #fff;
}

.product-card-dark p {
  color: rgba(255,255,255,.72);
}

.product-card-dark a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.quality-section {
  width: 100%;
  padding-left: max(22px, calc((100vw - 1180px) / 2));
  padding-right: max(22px, calc((100vw - 1180px) / 2));
  background: #fff;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.quality-grid article {
  min-height: 210px;
  padding: 28px;
  background: #fff;
}

.icon-text {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(228, 87, 46, .1);
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
}

.quality-grid strong {
  display: block;
  margin-top: 42px;
  font-size: 22px;
  font-weight: 900;
}

.quality-grid p {
  margin-top: 10px;
  color: var(--slate);
  line-height: 1.65;
}

.cert-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  padding: 30px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.cert-strip strong {
  font-size: 22px;
  font-weight: 900;
}

.cert-strip p {
  margin-top: 8px;
  color: rgba(255,255,255,.68);
}

.cert-images {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cert-images img {
  height: 54px;
  width: auto;
  border: 1px solid rgba(255,255,255,.24);
  background: #fff;
}

.technology-section {
  color: #fff;
}

.technology-section {
  width: 100%;
  padding-left: max(22px, calc((100vw - 1180px) / 2));
  padding-right: max(22px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(7,24,39,.98), rgba(13,34,53,.94)),
    url("assets/hero-ai-premium-door.png") center / cover;
}

.technology-section .section-heading > p:not(.eyebrow) {
  color: rgba(255,255,255,.68);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

.process-grid p {
  color: rgba(255,255,255,.68);
}

.partners-section {
  padding-bottom: 80px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.partner-grid article {
  min-height: 250px;
  padding: 30px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 24, 39, .06);
}

.contact-section {
  width: min(1180px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, .78fr);
  gap: 48px;
  align-items: start;
  margin: 0 auto 90px;
  padding: 54px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.contact-copy p:not(.eyebrow) {
  margin-top: 20px;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.75;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: #fff;
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.contact-form option {
  color: var(--ink);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,.42);
}

.full-field,
.contact-form button,
.form-note,
.form-status {
  grid-column: 1 / -1;
}

.contact-form button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.form-note {
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

.form-status {
  min-height: 20px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 800;
}

.form-status.error {
  color: #ffb6a5;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 24px;
  }

  .main-nav {
    display: none;
  }

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

  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .hero-tab:hover,
  .hero-tab.active {
    transform: translateY(-4px);
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 72px;
    padding: 0 16px;
  }

  .brand img {
    width: 132px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding-top: 110px;
    padding-bottom: 260px;
  }

  .hero-bg img {
    object-position: 62% center;
  }

  .hero-stage {
    width: calc(100vw - 32px);
  }

  .hero-selector {
    grid-template-columns: 1fr;
  }

  .hero-tab {
    min-height: 82px;
    padding: 16px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: auto;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .section,
  .quality-section,
  .technology-section {
    width: 100%;
    padding: 72px 16px;
  }

  .product-grid,
  .quality-grid,
  .process-grid,
  .partner-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .cert-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .cert-images {
    flex-wrap: wrap;
  }

  .contact-section {
    width: calc(100vw - 32px);
    margin-bottom: 48px;
    padding: 28px;
  }
}
