:root {
  --ink: #102027;
  --muted: #5c6c72;
  --line: #d9e3df;
  --paper: #f6faf8;
  --white: #ffffff;
  --green: #0b7a5c;
  --green-dark: #075640;
  --blue: #1d6f96;
  --gold: #d2a84b;
  --shadow: 0 22px 70px rgba(10, 35, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 32px rgba(16, 32, 39, 0.08);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 36px rgba(16, 32, 39, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
}

.brand-logo {
  width: 92px;
  height: 54px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  transform: translateX(8px);
}

.header-actions {
  order: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 3px;
  border: 1px solid rgba(16, 32, 39, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.site-header.is-scrolled .lang-switch,
.site-header.is-open .lang-switch {
  border-color: var(--line);
  background: rgba(246, 250, 248, 0.9);
}

.lang-switch button {
  min-width: 38px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lang-switch button.is-active {
  color: var(--ink);
  background: var(--gold);
}

.site-nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-left: auto;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #102027;
}

.hero picture,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero picture {
  opacity: 1;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 27, 31, 0.74), rgba(6, 27, 31, 0.34) 54%, rgba(6, 27, 31, 0.18)),
    linear-gradient(180deg, rgba(5, 24, 29, 0.34) 0, rgba(5, 24, 29, 0.16) 52%, rgba(5, 24, 29, 0.64));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 0 clamp(90px, 14vh, 150px) clamp(20px, 6vw, 88px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 6.2vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

html[lang="en"] h1,
html[lang="ko"] h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.55vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 36px;
  z-index: 2;
  width: min(400px, calc(100% - 40px));
  padding: 24px;
  border: 1px solid rgba(16, 32, 39, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(16, 32, 39, 0.12);
}

.hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: #9a6508;
  font-size: 12px;
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 21px;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
}

section {
  scroll-margin-top: 88px;
}

.intro,
.products,
.metrics,
.about,
.contact {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head h2,
.copy-block h2,
.metrics-copy h2,
.about-text h2,
.contact-copy h2 {
  color: #102a30;
}

.intro-grid,
.product-grid,
.metric-grid {
  display: grid;
  gap: 18px;
}

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

.intro-grid article,
.product-grid article,
.metric-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-grid article {
  min-height: 230px;
  padding: 28px;
}

.intro-grid span {
  display: block;
  margin-bottom: 48px;
  color: var(--green);
  font-weight: 800;
}

.intro-grid p,
.product-grid p,
.copy-block p,
.metrics-copy p,
.about-text p,
.contact-copy p {
  color: var(--muted);
}

.band {
  background: var(--white);
}

.split,
.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

.split {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.image-rail,
.about-image {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.copy-block {
  max-width: 680px;
}

.solution-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.solution-list a {
  display: grid;
  grid-template-columns: minmax(128px, 0.34fr) minmax(0, 0.66fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.solution-list a:last-child {
  border-bottom: 1px solid var(--line);
}

.solution-list strong {
  color: var(--green-dark);
}

.solution-list span {
  color: var(--muted);
}

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

.product-grid article {
  min-height: 380px;
  padding: 16px;
  overflow: hidden;
}

.product-photo {
  width: 100%;
  height: 150px;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.product-photo img {
  object-fit: contain;
  padding: 8px;
}

.service-photo img {
  object-fit: cover;
  padding: 0;
}

.service-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  height: 150px;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 122, 92, 0.08), rgba(29, 111, 150, 0.1)),
    #f8fbfa;
}

.service-visual span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 122, 92, 0.26);
  border-radius: 8px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.epc-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  height: 150px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 32, 39, 0.06), rgba(11, 122, 92, 0.1)),
    #f8fbfa;
}

.epc-visual span {
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(11, 122, 92, 0.26);
  border-radius: 8px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: 13px;
  font-weight: 850;
}

.metrics {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  color: var(--white);
  background:
    linear-gradient(rgba(12, 54, 57, 0.9), rgba(12, 54, 57, 0.9)),
    url("https://images.unsplash.com/photo-1497440001374-f26997328c1b?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.metrics h2,
.metrics p {
  color: var(--white);
}

.metrics-copy p {
  opacity: 0.82;
}

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

.metric-grid article {
  min-height: 170px;
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.metric-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.82);
}

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

.about-text {
  max-width: 700px;
}

.contact {
  align-items: start;
}

.contact dl {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
}

.contact dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contact dt {
  color: var(--green);
  font-weight: 800;
}

.contact dd {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form .form-wide,
.contact-form .button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form .button {
  justify-self: start;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #cddad7;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(11, 122, 92, 0.14);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-size: 14px;
  text-align: left;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #0d252b;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 750;
}

@media (max-width: 1040px) {
  .intro-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .image-rail,
  .about-image {
    min-height: 380px;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 70px;
    padding: 12px 20px;
  }

  .brand {
    min-width: 92px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 14px;
    left: 14px;
    order: 4;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .lang-switch {
    min-height: 34px;
  }

  .lang-switch button {
    min-width: 34px;
    height: 26px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 20px 250px;
  }

  .hero-panel {
    right: 20px;
    bottom: 28px;
    left: 20px;
    width: auto;
  }

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

  .solution-list a,
  .contact dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

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

@media (max-width: 460px) {
  .brand {
    min-width: 78px;
  }

  .brand-logo {
    width: 78px;
    height: 46px;
    padding: 0;
  }

  .hero {
    min-height: 820px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
