/* =========================================================
   성빈하이텍 (SEUNGBIN-HITECH) — 공용 스타일
   Brand: Steel Navy #2D3E50 · Gold #E8A317 · Green #00A878
   ========================================================= */

:root {
  --navy: #2d3e50;
  --navy-deep: #223040;
  --gold: #e8a317;
  --green: #00a878;
  --ink: #1c2733;
  --body: #44525f;
  --muted: #7c8a98;
  --line: #e5e9ee;
  --bg: #ffffff;
  --bg-soft: #f5f7f9;
  --bg-navy: #2d3e50;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34, 48, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(34, 48, 64, 0.14);
  --wrap: 1140px;
}

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

body {
  font-family: "Pretendard", "IBM Plex Sans KR", -apple-system, "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(var(--wrap), 92%); margin: 0 auto; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; letter-spacing: -0.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--green); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700;
  text-decoration: none; font-size: 0.96rem; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: #3a2a00; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(232, 163, 23, 0.35); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 18px;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 34px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  text-decoration: none; color: var(--navy); font-weight: 600;
  font-size: 0.98rem; padding: 9px 14px; border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-menu a:hover { background: var(--bg-soft); }
.nav-menu a.active { color: var(--green); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(0,168,120,0.30), transparent 60%),
    radial-gradient(680px 360px at 8% 110%, rgba(232,163,23,0.22), transparent 60%),
    linear-gradient(155deg, #2d3e50 0%, #223040 60%, #1b2735 100%);
}
.hero-inner { padding: 92px 0 84px; display: grid; gap: 22px; max-width: 820px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.3rem); }
.hero h1 .hl { color: var(--gold); }
.hero p { color: #cfd8e1; font-size: clamp(1rem, 2vw, 1.15rem); max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 34px; margin-top: 30px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: var(--white); }
.hero-stats .num span { color: var(--gold); }
.hero-stats .lbl { color: #aebccb; font-size: 0.88rem; }

/* page hero (interior) */
.page-hero {
  color: var(--white);
  background:
    radial-gradient(720px 320px at 90% -20%, rgba(0,168,120,0.28), transparent 60%),
    linear-gradient(155deg, #2d3e50, #223040);
}
.page-hero .wrap { padding: 64px 0 56px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 12px; }
.page-hero p { color: #cfd8e1; margin-top: 10px; max-width: 640px; }
.crumbs { color: #9fb0c0; font-size: 0.85rem; }
.crumbs a { color: #9fb0c0; text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--bg-navy); color: #cfd8e1; }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; display: grid; gap: 14px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Grid & cards ---------- */
.cols { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--body); font-size: 0.97rem; }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 16px; background: rgba(0,168,120,0.12); color: var(--green);
}
.card .ico.gold { background: rgba(232,163,23,0.15); color: #b97e00; }
.card .ico.navy { background: rgba(45,62,80,0.10); color: var(--navy); }

/* feature row icon list */
.feature-list { list-style: none; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .dot {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center; background: rgba(0,168,120,0.14);
  color: var(--green); font-weight: 800; font-size: 0.8rem;
}

/* business division split cards */
.biz-card {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.2s;
}
.biz-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.biz-card .top { padding: 30px 30px 0; }
.biz-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.biz-tag.machining { background: rgba(232,163,23,0.16); color: #9c6c00; }
.biz-tag.smart { background: rgba(0,168,120,0.14); color: #007a57; }
.biz-card h3 { font-size: 1.5rem; }
.biz-card .body { padding: 18px 30px 30px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.biz-card .bar { height: 5px; }
.biz-card .bar.machining { background: var(--gold); }
.biz-card .bar.smart { background: var(--green); }

/* equipment table */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 15px 14px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.03em; }
.table td { color: var(--ink); font-weight: 600; }
.table td .qty { color: var(--green); font-weight: 800; }
.table tr:last-child td { border-bottom: 0; }

/* equipment stat chips */
.eq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eq-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow);
}
.eq-chip .n { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.eq-chip .n span { font-size: 1rem; color: var(--gold); }
.eq-chip .t { margin-top: 8px; color: var(--body); font-weight: 600; }

/* product screenshots gallery */
.shot {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: #0d1622; box-shadow: var(--shadow);
}
.shot img { width: 100%; }
.shot-cap { padding: 14px 16px; background: var(--white); }
.shot-cap h4 { font-size: 1rem; margin-bottom: 3px; }
.shot-cap p { font-size: 0.86rem; color: var(--muted); }

.feature-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.feature-split.reverse > .media { order: 2; }

/* contact */
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px;
}
.contact-card.machining { border-top: 5px solid var(--gold); }
.contact-card.smart { border-top: 5px solid var(--green); }
.contact-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; }
.contact-row .k { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.contact-row .v { color: var(--ink); font-weight: 600; }
.contact-row .v a { color: var(--navy); text-decoration: none; }
.contact-row .v a:hover { color: var(--green); text-decoration: underline; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th { width: 150px; text-align: left; vertical-align: top; color: var(--muted);
  font-weight: 600; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); }
.info-table td { color: var(--ink); font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: var(--white); }
.cta-band .wrap { padding: 60px 0; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: #cfd8e1; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebccb; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer img { height: 30px; margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 0.02em; }
.site-footer a { color: #aebccb; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: var(--white); }
.footer-links { display: grid; gap: 9px; }
.footer-info { font-size: 0.9rem; display: grid; gap: 7px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 0.85rem; color: #8295a6;
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-split { grid-template-columns: 1fr; gap: 28px; }
  .feature-split.reverse > .media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px; display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px 14px; border-radius: 8px; }
  .nav-cta { margin: 6px; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4, .eq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 66px 0 60px; }
  .hero-stats { gap: 22px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
