:root {
  --primary: #0f1e33;
  --primary-strong: #081322;
  --accent: #d6222b;
  --text-main: #1f2937;
  --text-muted: #5f6b7a;
  --surface: #ffffff;
  --surface-muted: #f3f6fb;
  --line: #d7deea;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text-main);
  background: #f7f9fc;
}

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

.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section-spacing {
  padding: 5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 19, 34, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
}

.brand-sub {
  font-size: 0.72rem;
  opacity: 0.82;
}

.main-navigation {
  display: flex;
  gap: 1.2rem;
  color: #dbe4f2;
  font-size: 0.95rem;
}

.main-navigation a:hover {
  color: #fff;
}

.call-button {
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero-section {
  position: relative;
  min-height: 76vh;
  background-image:
    linear-gradient(110deg, rgba(8, 19, 34, 0.88) 20%, rgba(8, 19, 34, 0.55) 60%, rgba(8, 19, 34, 0.78) 100%),
    url("../images/hero-image1.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-label {
  margin: 0;
  color: #dbe4f2;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.hero-section h1 {
  margin: 0.9rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.35;
}

.hero-description {
  max-width: 760px;
  color: #eaf0fa;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
}

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

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.section-kicker {
  margin: 0 0 0.5rem;
  color: #4e5f77;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.card-panel {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 15px 35px rgba(15, 30, 51, 0.08);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.about-content {
  padding: 2rem;
}

.about-content h2 {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.72;
}

.about-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
}

.about-list i {
  color: var(--accent);
}

.about-visual {
  margin: 0;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.section-title-wrap h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.product-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(15, 30, 51, 0.05);
}

.product-card i {
  font-size: 1.25rem;
  color: var(--accent);
}

.product-card h3 {
  margin: 0.65rem 0 0.5rem;
}

.product-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.62;
}

.service-layout {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.2rem;
  background: linear-gradient(150deg, #ffffff 20%, #f2f5fb 100%);
}

.service-layout h2 {
  margin: 0.35rem 0 0.85rem;
}

.service-layout p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  align-content: center;
}

.service-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.service-list i {
  color: var(--primary);
}

.contact-lead {
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
}

.contact-card h3 {
  margin-top: 0;
  font-size: 1.08rem;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-card a {
  color: var(--primary);
  font-weight: 700;
}

.site-footer {
  padding: 1.5rem 0;
  background: var(--primary-strong);
  color: #d2d9e5;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.92rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 1024px) {
  .main-navigation {
    display: none;
  }

  .section-grid,
  .service-layout,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.75rem 0;
  }

  .call-button {
    width: 100%;
    text-align: center;
  }

  .hero-section {
    min-height: 68vh;
  }

  .section-spacing {
    padding: 3.6rem 0;
  }

  .section-grid,
  .service-layout,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
