/* ==========================================================================
   Seintech Co., Ltd. — Corporate site stylesheet
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f3;
  --bg-soft-2: #eeece8;
  --bg-dark: #1b1918;
  --bg-dark-2: #262322;
  --ink: #201d1c;
  --ink-soft: #6f6a67;
  --ink-faint: #a29c98;
  --line: #e4e0da;
  --line-dark: #3a3634;

  --burgundy: #6c2331;
  --burgundy-deep: #4c1721;
  --burgundy-bright: #8a3141;
  --burgundy-tint: #f4e9ea;

  --container: 1180px;
  --radius: 2px;
  --shadow: 0 12px 32px rgba(20, 16, 16, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Kicker / eyebrow label ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--burgundy);
  display: inline-block;
}

.section-head {
  margin-bottom: 44px;
  max-width: 760px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }

section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 72px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--burgundy);
  color: #fff;
}
.btn-primary:hover { background: var(--burgundy-deep); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--burgundy); color: var(--burgundy); }
.btn-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 40px; }
.nav-desktop a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after { transform: scaleX(1); }
.nav-desktop a.active { color: var(--burgundy); }

.header-cta { display: flex; align-items: center; gap: 22px; }
.header-tel {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.header-tel span { color: var(--burgundy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: all 0.25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid var(--line);
}
.nav-mobile a.active { color: var(--burgundy); }

@media (max-width: 900px) {
  .nav-desktop, .header-tel { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 64px 0 48px;
  position: relative;
}
.page-hero .kicker { color: var(--burgundy-bright); }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin-top: 14px;
  color: #cfc9c6;
  max-width: 640px;
  font-size: 16px;
}
.breadcrumb {
  margin-top: 26px;
  font-size: 13px;
  color: var(--ink-faint);
  display: flex;
  gap: 8px;
}
.breadcrumb a:hover { color: #fff; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,13,13,0.92) 20%, rgba(15,13,13,0.72) 55%, rgba(15,13,13,0.45) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0 90px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy-bright);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--burgundy-bright);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 780px;
  line-height: 1.32;
}
.hero h1 em {
  font-style: normal;
  color: var(--burgundy-bright);
}
.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  color: #d8d3d0;
  max-width: 560px;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 26px 28px;
  border-left: 1px solid rgba(255,255,255,0.16);
}
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}
.hero-stat b span { color: var(--burgundy-bright); }
.hero-stat small {
  font-size: 13px;
  color: var(--ink-faint);
}
@media (max-width: 760px) {
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.16); padding: 20px 0; }
  .hero-stat:nth-child(odd) { padding-right: 16px; }
  .hero-stat:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,0.16); }
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 30px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { border-color: var(--burgundy); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--burgundy);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}
.split img { border: 1px solid var(--line); }

.check-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  margin-top: 9px;
  background: var(--burgundy);
}

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--bg-dark);
  color: #fff;
}
.stat-band .grid-4 { gap: 0; }
.stat-band .stat {
  padding: 48px 30px;
  border-left: 1px solid var(--line-dark);
  text-align: center;
}
.stat-band .stat:first-child { border-left: none; }
.stat b {
  display: block;
  font-size: 38px;
  font-weight: 800;
  color: #fff;
}
.stat b span { color: var(--burgundy-bright); }
.stat small { font-size: 13.5px; color: var(--ink-faint); margin-top: 8px; display: block; }
@media (max-width: 760px) {
  .stat-band .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-band .stat { border-left: none; border-top: 1px solid var(--line-dark); }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--burgundy);
  color: #fff;
  padding: 72px 0;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.cta-banner p { margin-top: 10px; color: rgba(255,255,255,0.82); }
.cta-banner .btn-primary { background: #fff; color: var(--burgundy); }
.cta-banner .btn-primary:hover { background: var(--bg-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark-2);
  color: var(--ink-faint);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand img { height: 26px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.footer-col li { font-size: 13.5px; line-height: 2; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
}

/* ---------- Timeline (history) ---------- */
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-year { font-size: 26px; font-weight: 800; color: var(--burgundy); }
.timeline-text h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.timeline-text p { color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 600px) {
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Table ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 16px 4px; font-size: 15px; }
.info-table th { width: 160px; color: var(--ink-soft); font-weight: 600; }
.info-table td { font-weight: 600; }

/* ---------- Org chart ---------- */
.org-chart { text-align: center; }
.org-node {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.org-node.sub { background: #fff; color: var(--ink); border-color: var(--ink); }
.org-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) { .org-branches { grid-template-columns: 1fr; } }
.org-dept { border: 1px solid var(--line); padding: 20px; }
.org-dept h4 {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--burgundy);
}
.org-dept li { font-size: 14px; color: var(--ink-soft); padding: 5px 0; }

/* ---------- Process steps ---------- */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  counter-reset: step;
}
.process-step {
  flex: 1 1 130px;
  text-align: center;
  padding: 20px 10px;
  position: relative;
}
.process-step .dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin: 0 auto 14px;
}
.process-step p { font-size: 13.5px; font-weight: 600; }

/* ---------- Certification cards ---------- */
.cert-card {
  border: 1px solid var(--line);
  padding: 34px 24px;
  text-align: center;
}
.cert-card .mark {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border: 2px solid var(--burgundy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--burgundy);
  font-weight: 800;
  font-size: 18px;
}
.cert-card h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.cert-card small { color: var(--ink-soft); font-size: 13px; }

/* ---------- Reference / track record ---------- */
.ref-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--burgundy);
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--ink);
}
.ref-col li {
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}

.project-card { border: 1px solid var(--line); overflow: hidden; }
.project-card .thumb {
  height: 200px;
  background: var(--bg-soft-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  font-size: 13px;
}
.project-card .body { padding: 24px; }
.project-tag { font-size: 12px; font-weight: 800; color: var(--burgundy); letter-spacing: 0.03em; }
.project-card h4 { font-size: 16.5px; font-weight: 700; margin: 10px 0 8px; }
.project-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  border: 1px solid var(--line);
  padding: 34px;
}
.contact-row { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .label { width: 84px; flex: none; font-weight: 700; color: var(--burgundy); font-size: 14px; }
.contact-row .value { font-size: 15px; }
.map-frame { border: 1px solid var(--line); height: 420px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.02); }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--line); margin: 64px 0; }
.text-center { text-align: center; }
.mt-lg { margin-top: 64px; }
