:root {
  --ink: #16191c;
  --ink-2: #3a4148;
  --muted: #6b747d;
  --line: #dfe3e7;
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --steel: #1c1f22;
  --steel-2: #262a2e;
  --accent: #e8620c;
  --accent-ink: #b84a05;
  --radius: 14px;
  --wrap: 1180px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.muted { color: var(--muted); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-dark { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; }

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(28,31,34,.96); color: #fff;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.15rem; border-radius: 8px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.1rem; }
.brand-text small { font-size: .68rem; letter-spacing: .18em; color: #aab2ba; }
.site-nav { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; }
.site-nav a { text-decoration: none; color: #d4d9de; }
.site-nav a:hover { color: #fff; }
.header-call { padding: 8px 16px; }

/* ── hero ── */
.hero {
  position: relative; color: #fff; background: var(--steel); overflow: hidden;
  background-image:
    linear-gradient(115deg, rgba(232,98,12,.18) 0%, rgba(232,98,12,0) 45%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 56px);
}
.hero-inner { padding: 96px 20px 80px; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; max-width: 16em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 44em; margin-top: 18px; }
.hero .lead { color: #c8cfd5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats dt { font-size: .85rem; color: #9aa3ab; }
.hero-stats dd { margin: 4px 0 0; font-size: 1.9rem; font-weight: 800; }

/* ── sections ── */
.section { padding: 88px 0; }
.section.tight { padding: 40px 0 72px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--steel); color: #fff; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
h2.sub { font-size: 1.3rem; margin-bottom: 20px; }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.service {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 10px; background: #fff;
}
.service h3 { font-size: 1.2rem; }
.service h3::before { content: ""; display: block; width: 28px; height: 4px; background: var(--accent); margin-bottom: 14px; border-radius: 2px; }
.service p { color: var(--ink-2); flex: 1; }
.service a { font-weight: 600; text-decoration: none; color: var(--accent-ink); }

.strengths { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.strengths li { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.strengths h3 { font-size: 1.15rem; margin-bottom: 8px; }
.strengths p { color: var(--ink-2); }
.industries { margin-top: 40px; }
.industries h3 { font-size: 1rem; margin-bottom: 12px; color: var(--muted); font-weight: 600; }
.industries ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.industries li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }

/* ── cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius);
  overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,25,30,.1); }
.card[hidden] { display: none; }
.card-media { aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.img-ph { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #e6e9ec 0 10px, #eef0f2 10px 20px); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.card-body h3 { font-size: 1.05rem; font-weight: 700; }
.card-meta { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.card-spec { font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 10px; border-radius: 999px;
  background: #fdeee4; color: var(--accent-ink);
}

/* ── process ── */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.process li { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; background: var(--steel-2); }
.step-no { font-weight: 800; color: var(--accent); font-size: 1.4rem; }
.process h3 { margin: 8px 0; font-size: 1.2rem; }
.process p { color: #b9c1c8; }

/* ── faq ── */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; font-size: 1.08rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* ── contact ── */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 10px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: baseline; font-size: 1.1rem; }
.contact-list span { width: 80px; flex: none; color: var(--muted); font-size: .95rem; }
.contact-list a { font-weight: 600; }
.address-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; justify-items: start; }
.address { font-size: 1.1rem; font-weight: 600; }

/* ── page head / case ── */
.page-head { background: var(--bg-alt); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  font: inherit; font-size: .95rem; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
}
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.case-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.case-figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); align-self: start; display: grid; place-items: center; }
/* 블로그 썸네일은 작으므로 원본 크기 이상으로 늘리지 않는다 */
.case-img { width: auto; max-width: 100%; height: auto; }
.case-info { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 120px; color: var(--muted); font-weight: 500; font-size: .95rem; }
.spec-table td { font-variant-numeric: tabular-nums; }
.spec-table .chip { margin: 0 4px 4px 0; }
.case-text { color: var(--ink-2); }
.cta-box {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--steel); color: #fff; border-radius: var(--radius); padding: 36px 40px; margin-bottom: 24px;
  max-width: calc(var(--wrap) - 40px);
}
.cta-box h2 { font-size: 1.5rem; margin-bottom: 6px; }
.cta-box p { color: #b9c1c8; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── footer ── */
.site-footer { background: #111315; color: #9aa3ab; padding: 48px 0 96px; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-inner p { margin-bottom: 6px; }
.footer-brand { color: #e6eaee; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: #d4d9de; }
.copyright { margin-top: 28px; font-size: .82rem; color: #6b747d; }

/* ── mobile CTA ── */
.mobile-cta { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .95rem;
  z-index: 50; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.toast.show { opacity: 1; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-call { margin-left: auto; }
  .contact, .case-grid { grid-template-columns: 1fr; }
  .contact { gap: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-call { display: none; }
  .hero-inner { padding: 64px 16px 56px; }
  .hero-stats { gap: 24px; }
  .hero-stats dd { font-size: 1.5rem; }
  .section { padding: 64px 0; }
  .cta-box { padding: 28px 22px; margin-left: 16px; margin-right: 16px; }
  .contact-list li { flex-direction: column; gap: 2px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--steel); border-top: 1px solid rgba(255,255,255,.1);
  }
  .mobile-cta a, .mobile-cta button {
    font: inherit; font-weight: 700; color: #fff; background: none; border: 0; padding: 16px 8px;
    text-align: center; text-decoration: none; cursor: pointer;
  }
  .mobile-cta a { background: var(--accent); }
}
