:root {
  --accent: #255A4B;
  --accent-soft: #E3EDEA;
  --hero-tint: #F2F6F4;
  --text: #131415;
  --muted: #5A6863;
  --line: #DEE6E3;
}
* { box-sizing: border-box; }
body, h1, h2, h3, h4, button, input, textarea {
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
}
body {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.6;
  padding-bottom: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
.site-header {
  background: #fff;
  height: 76px;
  position: relative;
  z-index: 200;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.logo-icon { width: 34px; height: 34px; color: var(--accent); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-brand { font-size: 13px; font-weight: 600; color: var(--muted); }
.logo-keyword { font-size: 19px; font-weight: 700; color: var(--text); }
.nav {
  display: flex; align-items: center; gap: 30px;
  font-family: "Barlow Condensed", "Pretendard Variable", Pretendard, sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: -0.035em; text-transform: uppercase;
}
.nav > * { flex-shrink: 0; }
.nav > a, .nav-drop > a, .nav-cta { white-space: nowrap; }
.nav > a, .nav-drop > a { color: var(--text); }
.nav-drop { position: relative; flex-shrink: 0; }
.nav-drop-menu {
  position: absolute; top: 100%; left: 0; margin-top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0,0,0,.1);
  display: flex; flex-direction: column; min-width: 200px;
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .15s ease; z-index: 201;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-menu a {
  padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: -0.035em;
}
.nav-drop-menu a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-cta {
  padding: 11px 22px; border-radius: 999px; background: var(--accent); color: #fff !important;
  font-size: 15px;
}

/* ---- hero ---- */
.hero { padding: 28px 20px 40px; background: #fff; }
.hero__inner {
  max-width: 1280px; margin: 0 auto; padding: 56px; border-radius: 26px;
  background: var(--hero-tint);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .4px;
  margin: 0 0 18px;
}
.hero h1 {
  font-size: 44px; font-weight: 700; color: var(--text); letter-spacing: -.3px;
  line-height: 1.32; margin: 0 0 14px;
}
.hero-sub { font-size: 16px; line-height: 28px; color: var(--muted); max-width: 440px; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.btn-fill {
  min-height: 48px; padding: 14px 26px; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 600;
  letter-spacing: -.3px; display: inline-flex; align-items: center;
}
.btn-line {
  min-height: 48px; padding: 14px 26px; border-radius: 999px; white-space: nowrap;
  background: transparent; color: var(--text); border: 1px solid var(--text);
  font-size: 15px; font-weight: 600; letter-spacing: -.3px;
  display: inline-flex; align-items: center;
}
.hero-checks {
  display: flex; gap: 20px; padding: 18px 0 0; margin: 0;
  font-size: 14px; color: var(--muted); list-style: disc inside;
}
.hero-media {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 44px rgba(0,0,0,.14);
  display: flex; align-items: center; justify-content: center;
}
.hero-media img { width: 100%; height: auto; object-fit: contain; display: block; }

/* ---- page hero (sub pages, tint panel) ---- */
.hero-panel {
  max-width: 1280px; margin: 40px auto; padding: 48px 56px;
  background: var(--hero-tint); border-radius: 26px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero-panel h1 { font-size: 34px; font-weight: 700; margin: 8px 0 14px; line-height: 1.35; }
.hero-panel p { color: var(--muted); font-size: 16px; line-height: 26px; max-width: 460px; }
.hero-panel .hero-panel-media { border-radius: 16px; overflow: hidden; background: #fff; }
.hero-panel .hero-panel-media img { width: 100%; height: auto; object-fit: contain; display: block; }

.page-hero {
  position: relative; z-index: 0; min-height: 420px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; background: rgba(19,19,19,.5); pointer-events: none; z-index: 0;
}
.page-hero .copy { position: relative; z-index: 1; color: #fff; pointer-events: none; }
.page-hero .copy .hero-eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.page-hero h1 { color: #fff; font-size: 38px; font-weight: 800; margin: 0; }

/* ---- sections ---- */
section { padding: 96px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; letter-spacing: 1px; color: var(--accent); margin: 0 0 12px;
}
.section-title { font-size: 30px; font-weight: 700; margin: 0 0 16px; }
.section-lead { font-size: 16px; max-width: 640px; color: var(--muted); margin: 0 0 48px; }

#about { background: #F6FAF8; }
.about-body p { font-size: 16px; line-height: 30px; color: var(--muted); max-width: 760px; margin: 0 0 18px; }

#service .service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 24px; }
.svc-icon { display: block; width: 44px; height: 44px; flex-shrink: 0; overflow: hidden; margin-bottom: 18px; }
.svc-icon svg { display: block; width: 100%; height: 100%; max-width: 44px; max-height: 44px; color: var(--accent); }
.service-card h3 { font-size: 18px; margin: 0 0 8px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 22px; margin: 0; }

#cases { background: #EEF4F1; }
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.case-card { background: #fff; border-radius: 16px; overflow: hidden; transition: transform .2s ease; display: block; }
.case-card:hover { transform: scale(1.03); }
.case-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: #F2F6F4; }
.case-card .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.case-card .body { padding: 20px; }
.case-card h3 { font-size: 18px; margin: 0 0 8px; }
.case-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cases-more { text-align: center; margin-top: 40px; }

#process { background: #fff; }
.process-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--line); }
.process-item { padding: 28px 20px 28px 24px; border-right: 1px solid var(--line); }
.process-item:first-child { padding-left: 0; }
.process-item:last-child { border-right: none; }
.pnum { color: var(--accent); font-weight: 700; font-size: 13px; display: block; margin-bottom: 10px; }
.process-item h3 { font-size: 17px; margin: 0 0 8px; }
.process-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 22px; }

#region { background: #F6FAF8; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 14px; }
.region-chip {
  padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  font-size: 14px; font-weight: 600; text-align: center;
}
.region-chip:hover { border-color: var(--accent); color: var(--accent); }

#faq { background: #fff; }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-item h3 { font-size: 17px; margin: 0 0 10px; }
.faq-item p { font-size: 15px; color: var(--muted); line-height: 26px; margin: 0; }

/* ---- closing ---- */
.closing {
  position: relative; min-height: 600px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.closing-overlay { position: absolute; inset: 0; background: rgba(19,19,19,.55); }
.closing-inner { position: relative; z-index: 1; text-align: center; color: #fff; max-width: 640px; padding: 0 24px; }
.closing-quote { font-size: 15px; opacity: .85; margin: 0 0 16px; }
.closing-headline { font-size: 32px; font-weight: 700; margin: 0 0 32px; line-height: 1.4; }
.closing-cta {
  display: inline-flex; padding: 14px 32px; border: 1px solid #fff; color: #fff; border-radius: 0;
  font-size: 15px; font-weight: 600;
}

/* ---- footer ---- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 96px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.footer-review { font-size: 14px; color: var(--muted); }
.footer-biz p { font-size: 13px; color: var(--muted); line-height: 22px; margin: 0 0 4px; }
.footer-bottom { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* ---- mobile bar ---- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: 60px; z-index: 300;
    box-shadow: 0 -4px 12px rgba(0,0,0,.08);
  }
  .mb-btn { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
  .mb-fill { background: var(--accent); color: #fff; }
  .mb-line { background: #fff; color: var(--text); border-top: 1px solid var(--line); }
  body { padding-bottom: 72px; }
}

/* ---- case detail body ---- */
.case-body { max-width: 640px; margin: 48px auto 0; text-align: center; }
.case-body .photo { border-radius: 16px; overflow: hidden; background: #F2F6F4; }
.case-body .photo img { width: 100%; height: auto; object-fit: contain; display: block; }
.case-body .label { font-size: 13px; color: #888; margin: 14px 0 6px; }
.case-body h2 { font-size: 28px; font-weight: 700; margin: 0 0 24px; }
.case-body .desc { text-align: left; font-size: 16px; line-height: 30px; color: var(--muted); margin: 0 0 12px; }
.back-link { text-align: center; padding: 48px 0; }
.back-link a { font-size: 15px; font-weight: 600; color: var(--accent); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero__inner, .hero-panel { grid-template-columns: 1fr; }
  #service .service-grid, .process-list, .case-grid { grid-template-columns: repeat(2,1fr); }
  .process-item { border-right: none; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
}
@media (max-width: 767px) {
  .hero { padding: 0; }
  .hero__inner { padding: 28px 24px; border-radius: 20px; margin: 20px; }
  .hero h1 { font-size: 32px; }
  .header-inner { gap: 12px; }
  .nav { gap: 16px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-drop-menu { left: auto; right: 0; }
  .case-grid, #service .service-grid, .process-list { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
