:root {
  --accent: #3879CE;
  --accent-dark: rgb(46,99,169);
  --accent-border-soft: rgba(56,121,206,0.35);
  --accent-ring: rgba(56,121,206,0.15);
  --accent-land: rgba(56,121,206,0.3);

  --ink: #14171f;
  --page-bg: #f5f6f8;

  --section-bg: #14171f;
  --section-text-strong: #f5f6f8;
  --section-card-bg: #14171f;
  --section-eyebrow: rgba(245,246,248,0.45);
  --section-body-65: rgba(245,246,248,0.65);
  --section-divider: rgba(245,246,248,0.12);
  --section-text-80: rgba(245,246,248,0.8);
  --section-text-60: rgba(245,246,248,0.6);
  --section-text-50: rgba(245,246,248,0.5);
  --section-track-25: rgba(245,246,248,0.25);
  --footer-border-15: rgba(245,246,248,0.15);
  --footer-text-75: rgba(245,246,248,0.75);
  --footer-text-30: rgba(245,246,248,0.3);

  --card-radius: 20px;
  --card-radius-inner: 14px;
  --card-border: 1px solid rgba(20,23,31,0.1);

  --pad-section: clamp(40px,6vw,72px);
  --pad-section-x: clamp(20px,4vw,56px);
  --gap-xl: 56px;
  --gap-lg: 28px;
  --gap-md: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  width: 100%;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--pad-section-x);
  background: rgba(245,246,248,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20,23,31,0.08);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 22px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { color: var(--ink); }

.header-cta {
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.header-cta:hover { background: var(--accent); color: #fff; }

/* ---------- Section shells ---------- */
section, footer.contact-footer {
  padding: var(--pad-section) var(--pad-section-x);
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.dark-section {
  background: var(--section-bg);
  color: var(--section-text-strong);
  gap: var(--gap-xl);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.section-label {
  font-size: 15.5px;
  font-weight: 700;
  color: rgba(20,23,31,0.45);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.dark-section .section-label,
.section-label.on-dark { color: var(--section-eyebrow); }

.section-title {
  margin: 0;
  font-size: clamp(30px,4vw,48px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  max-width: 400px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(20,23,31,0.55);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px,8vw,104px) var(--pad-section-x) clamp(48px,6vw,80px);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: -140px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.08;
  pointer-events: none;
}

.badge-pill {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  background: rgba(20,23,31,0.06);
  color: rgba(20,23,31,0.6);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-title {
  position: relative;
  margin: 0;
  font-size: clamp(40px,7vw,88px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 760px;
}

.accent-text { color: var(--accent); }

.hero-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-desc {
  margin: 0;
  max-width: 460px;
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(20,23,31,0.6);
}

.hero-actions { display: flex; gap: 12px; align-items: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 999px;
  width: fit-content;
  transition: background 0.15s ease;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.link-underline {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid rgba(20,23,31,0.25);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.link-underline:hover { border-color: var(--accent); color: var(--accent); }

.stat-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(20,23,31,0.08);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-top: 16px;
}

.stat-item { background: var(--page-bg); padding: 22px 24px; }
.stat-value { font-size: clamp(24px,3vw,34px); font-weight: 800; }
.stat-label { font-size: 15.5px; color: rgba(20,23,31,0.5); margin-top: 6px; }

/* ---------- Catalog ---------- */
.catalog-card {
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: #fff;
}
.catalog-card-title { font-size: 20px; font-weight: 800; }
.catalog-card-sub {
  font-size: 16px;
  color: rgba(20,23,31,0.5);
  margin-top: 6px;
  line-height: 1.5;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  width: fit-content;
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.catalog-note {
  font-size: 13px;
  font-weight: 600;
  color: rgba(20,23,31,0.4);
  margin-top: 8px;
}

/* ---------- About ---------- */
.about-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px,4vw,56px);
  align-items: end;
}

.about-body {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--section-body-65);
}

.journey-offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
  gap: clamp(24px,4vw,48px);
  align-items: stretch;
}

.col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.col-header .eyebrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--section-eyebrow);
  letter-spacing: 0.08em;
}
.col-header .meta {
  font-size: 16px;
  font-weight: 600;
  color: var(--section-text-50);
}

.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid;
  grid-template-columns: clamp(70px,8vw,100px) 1fr;
  gap: 0;
}
.timeline-year {
  font-size: clamp(20px,2.2vw,26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 0 24px 30px 0;
  text-align: right;
}
.timeline-content {
  position: relative;
  border-left: 2px solid var(--section-divider);
  padding: 0 0 30px 26px;
}
.timeline-dot {
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--section-bg);
  box-sizing: border-box;
}
.timeline-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--section-text-80);
  padding-top: 2px;
}

.offices-panel {
  border: 1px solid var(--section-divider);
  border-radius: var(--card-radius);
  background: var(--section-card-bg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-sizing: border-box;
  height: calc(100% - 52px);
}

.map-outer {
  position: relative;
  flex: 1;
  min-height: 320px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-aspect {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 100 / 97;
  margin: auto;
}

.map-aspect svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.office-label {
  position: absolute;
  font-size: 15px;
  font-weight: 700;
  color: var(--section-text-strong);
  white-space: nowrap;
  pointer-events: none;
}

.offices-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}
.office-item { display: flex; flex-direction: column; gap: 2px; }
.office-full { font-size: 16px; font-weight: 700; color: var(--section-text-strong); }
.office-role { font-size: 14.5px; color: var(--section-text-60); }

/* ---------- Strengths / Portfolio / Order share ---------- */
.block-eyebrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--section-eyebrow);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.strengths-grid, .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: var(--gap-md);
}
.portfolio-grid { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }

.strength-card {
  border: 1px solid var(--section-divider);
  border-radius: var(--card-radius);
  background: var(--section-card-bg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.strength-num { font-size: 16.5px; font-weight: 800; color: var(--accent); }
.strength-title { font-size: 18px; font-weight: 800; color: var(--section-text-strong); line-height: 1.35; }
.strength-text { font-size: 16.5px; line-height: 1.65; color: var(--section-text-60); }

.portfolio-card {
  border: 1px solid var(--section-divider);
  border-radius: var(--card-radius);
  background: var(--section-card-bg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.portfolio-title { font-size: 23px; font-weight: 800; color: var(--section-text-strong); }
.portfolio-text { font-size: 16.5px; line-height: 1.65; color: var(--section-text-60); }

.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: var(--gap-md);
}
.order-card {
  border: 1px solid var(--section-divider);
  border-radius: var(--card-radius);
  background: var(--section-card-bg);
  padding: 34px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.donut {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut-inner {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: var(--section-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut-pct { font-size: 34px; font-weight: 800; color: var(--section-text-strong); }
.legend { display: flex; gap: 20px; font-size: 16px; font-weight: 600; flex-wrap: wrap; justify-content: center; }
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-name { color: var(--section-text-strong); }
.legend-pct { color: var(--section-text-50); }

/* ---------- Partners (logo wall) ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
  gap: var(--gap-md);
}
.logo-tile {
  border: var(--card-border);
  border-radius: var(--card-radius);
  height: 112px;
  box-sizing: border-box;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Factories ---------- */
.factories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: var(--gap-md);
}
.factory-card {
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
}
.factory-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--card-radius-inner);
  overflow: hidden;
  background: rgba(20,23,31,0.04);
  border: 1px dashed rgba(20,23,31,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(20,23,31,0.35);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  gap: 6px;
}
.factory-photo svg { opacity: 0.5; }

.factory-top { display: flex; justify-content: space-between; align-items: flex-start; }
.factory-name { font-size: 20px; font-weight: 800; }
.factory-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent-border-soft);
  border-radius: 999px;
  padding: 4px 10px;
}

.factory-stats { display: flex; gap: 24px; }
.factory-stat-value { font-size: 20px; font-weight: 800; }
.factory-stat-label { font-size: 14.5px; color: rgba(20,23,31,0.45); margin-top: 2px; }

.factory-products {
  border-top: 1px solid rgba(20,23,31,0.08);
  padding-top: 14px;
}
.factory-products-label {
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(20,23,31,0.45);
  margin-bottom: 6px;
}
.factory-products-text { font-size: 16px; line-height: 1.6; color: rgba(20,23,31,0.75); }

/* ---------- Footer / Contact ---------- */
.contact-footer {
  padding: var(--pad-section) var(--pad-section-x) 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-title {
  margin: 0;
  font-size: clamp(28px,4vw,44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 520px;
  line-height: 1.2;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-cta:hover { background: var(--section-bg); color: var(--section-text-strong); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 24px;
  border-top: 1px solid var(--footer-border-15);
  padding-top: 28px;
}
.footer-company { font-size: 18px; font-weight: 800; }
.footer-ceo { font-size: 15px; color: var(--section-eyebrow); margin-top: 6px; }
.footer-col-label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--section-eyebrow);
  margin-bottom: 8px;
}
.footer-col-text { font-size: 16px; color: var(--footer-text-75); }

.footer-copy { font-size: 14.5px; color: var(--footer-text-30); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; gap: 16px; padding-top: 4px; }
}
