:root {
  --ink: #17202a;
  --ink-strong: #0f1720;
  --muted: #5b6472;
  --line: #dfe5ec;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --steel: #263442;
  --blue: #195abc;
  --blue-dark: #123f86;
  --accent: #f2b84b;
  --shadow: 0 18px 40px rgba(17, 27, 39, .12);
  --nav-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.section-padding {
  padding: 96px 0;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-height);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.header.transparent {
  background: rgba(10, 15, 22, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.header.solid {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(223, 229, 236, .9);
  box-shadow: 0 12px 32px rgba(17, 27, 39, .08);
  backdrop-filter: blur(12px);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo small {
  margin-right: 2px;
  font-size: 14px;
  font-weight: 700;
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 3px;
}

.header.solid .logo {
  color: var(--ink-strong);
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-menu a {
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  font-weight: 700;
  transition: color .2s ease;
}

.header.solid .nav-menu a {
  color: var(--steel);
}

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

.header.solid .nav-menu a:hover {
  color: var(--blue);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--accent);
  color: #111827 !important;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.header.solid .hamburger {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background: url("../images/hero.png") center/cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 15, 22, .92), rgba(9, 15, 22, .66) 48%, rgba(9, 15, 22, .28)),
    linear-gradient(0deg, rgba(9, 15, 22, .36), rgba(9, 15, 22, .08));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-height);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 68px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  color: #fff;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
  word-break: keep-all;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  border: 2px solid var(--blue);
  color: #fff;
}

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

.btn-outline {
  border: 2px solid rgba(255, 255, 255, .84);
  color: #fff;
}

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

.hero-stats {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 20px 24px;
  background: rgba(15, 23, 32, .82);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
}

.section-title {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-title p {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.section-title h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: 0;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: start;
}

.about-text {
  padding: 34px 0 0;
}

.about-text h3 {
  margin: 0 0 18px;
  color: var(--ink-strong);
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: 0;
  word-break: keep-all;
}

.about-text p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  word-break: keep-all;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 27, 39, .06);
}

.feature-card i {
  grid-row: span 2;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #e9f0fb;
  color: var(--blue);
  font-size: 22px;
}

.feature-card h4 {
  margin: 0 0 4px;
  font-size: 19px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

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

.product-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 27, 39, .06);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 22px;
  background: #f8fafc;
}

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

.product-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--ink-strong);
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.gallery {
  background: #fff;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink-strong);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

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

.gallery-grid figcaption {
  padding: 15px 18px;
  color: #fff;
  font-weight: 700;
}

.contact {
  background:
    linear-gradient(90deg, rgba(15, 23, 32, .94), rgba(15, 23, 32, .86)),
    url("../images/construction2.png") center/cover no-repeat;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 40px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 680px;
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: 0;
}

.contact-copy p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.contact-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.contact-card div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

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

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

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card strong {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 14px;
}

.contact-card span {
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
}

.footer {
  padding: 26px 0;
  background: #0d141c;
  color: rgba(255, 255, 255, .72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer strong {
  color: #fff;
}

.reveal,
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.active,
.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: .1s;
}

.delay-2 {
  transition-delay: .2s;
}

.delay-3 {
  transition-delay: .3s;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: none;
    padding: 18px 16px 24px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(17, 27, 39, .12);
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    display: grid;
    gap: 8px;
  }

  .nav-menu a,
  .header.transparent .nav-menu a {
    display: block;
    padding: 12px 8px;
    color: var(--ink);
  }

  .btn-nav {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    min-height: 700px;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 440px);
    bottom: 24px;
  }

  .hero-stats div {
    padding: 14px 18px;
  }

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

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

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

@media (max-width: 640px) {
  :root {
    --nav-height: 68px;
  }

  .section-padding {
    padding: 72px 0;
  }

  .logo {
    font-size: 18px;
  }

  .logo-img {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 56px;
  }

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

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

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

  .btn {
    width: 100%;
  }

  .section-title h2,
  .contact-copy h2 {
    font-size: 30px;
  }

  .about-text h3 {
    font-size: 25px;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card i {
    grid-row: auto;
    margin-bottom: 14px;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
