:root {
  --ink: #17201c;
  --muted: #5e6862;
  --line: #dfe5df;
  --paper: #ffffff;
  --soft: #f4f7f2;
  --deep: #173b35;
  --deep-2: #0e2d29;
  --accent: #b88746;
  --accent-dark: #7a5628;
  --blue-soft: #e9f0f4;
  --danger-soft: #f8eee9;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(15, 45, 38, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  background: var(--paper);
  letter-spacing: 0;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: white;
  background: var(--deep);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(223, 229, 223, 0.95);
  backdrop-filter: blur(14px);
}
.brand, .header-call, .primary-nav a, .btn, .service-card a, .center-link a, .footer-links a { text-decoration: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--deep);
  border-radius: 7px;
}
.brand-text { overflow-wrap: normal; }
.primary-nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
  color: var(--muted);
}
.primary-nav a:hover { color: var(--deep); }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: white;
  background: var(--deep);
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}
svg { flex: 0 0 auto; }
.header-call svg, .btn svg, .check-list svg, .mobile-cta svg { width: 18px; height: 18px; }
.hero {
  min-height: calc(78vh - 72px);
  display: grid;
  align-items: center;
  padding: 72px 32px 58px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.89) 42%, rgba(255,255,255,0.48) 72%, rgba(255,255,255,0.32) 100%),
    url("/assets/hero-consultation.png") center / cover no-repeat;
}
.hero-copy, .sub-hero > div {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}
h1, h2, h3, p { word-break: keep-all; overflow-wrap: break-word; }
h1 {
  max-width: 780px;
  margin: 0;
  font-size: 50px;
  line-height: 1.16;
  letter-spacing: 0;
}
.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #2f3935;
  font-size: 20px;
  line-height: 1.68;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}
.btn-primary { color: white; background: var(--deep); }
.btn-primary:hover { background: var(--deep-2); }
.btn-secondary {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--deep);
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 42px 0 0;
}
.trust-strip div {
  min-width: 190px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.trust-strip dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
}
.trust-strip dd { margin: 0; font-weight: 900; }
.band { padding: 84px 32px; }
.band > *, .consult-layout, .final-cta, .site-footer {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.intro-band, .process-band, .faq-band { background: var(--soft); }
.service-band { background: white; }
.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-head h2, .consult-layout h2, .split-copy h2, .final-cta h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: 0;
}
.section-head p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}
.metric-grid, .service-grid, .case-grid {
  display: grid;
  gap: 16px;
}
.metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-grid article, .service-card, .case-grid article {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.metric-grid strong {
  color: var(--accent-dark);
  font-weight: 900;
}
.metric-grid h3, .service-card h3, .case-grid h3 {
  margin: 14px 0 10px;
  font-size: 19px;
}
.metric-grid p, .service-card p, .case-grid p, .consult-layout p, .split-copy p, .site-footer p, .faq-list p, .text-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  min-height: 232px;
  display: flex;
  flex-direction: column;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--deep);
  background: var(--blue-soft);
  border-radius: 8px;
}
.card-icon svg { width: 23px; height: 23px; }
.service-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--deep);
  font-weight: 900;
}
.form-band { color: white; background: var(--deep); }
.consult-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}
.consult-copy .eyebrow { color: #dfb879; }
.consult-layout p { color: rgba(255, 255, 255, 0.78); }
.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}
.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.lead-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 900;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: white;
}
.lead-form textarea { resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px;
  opacity: 0;
}
.privacy-check {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px !important;
  font-weight: 700 !important;
}
.privacy-check input { width: 18px; margin-top: 2px; }
.form-note {
  font-size: 13px;
}
.form-result {
  padding: 14px;
  color: var(--deep);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.7;
}
.form-result a {
  display: inline-flex;
  margin-top: 10px;
  margin-right: 8px;
  padding: 9px 12px;
  color: white;
  background: var(--deep);
  border-radius: 7px;
  text-decoration: none;
  font-weight: 900;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.process-list li {
  min-height: 178px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: step;
}
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-weight: 900;
}
.process-list strong, .process-list span { display: block; }
.process-list span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.risk-band { background: #fff; }
.risk-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.risk-table div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.risk-table div:last-child { border-bottom: 0; }
.risk-table strong { color: var(--deep); }
.risk-table span { color: var(--muted); line-height: 1.65; }
.case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split-band { color: white; background: var(--deep-2); }
.split-copy {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 50px;
  align-items: center;
}
.split-copy .eyebrow { color: #dfb879; }
.split-copy p { color: rgba(255, 255, 255, 0.78); font-size: 18px; }
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}
.faq-list p { padding: 0 20px 20px; }
.center-link { margin: 24px 0 0; text-align: center; }
.center-link a { color: var(--deep); font-weight: 900; }
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px 32px;
}
.sub-hero {
  padding: 92px 32px 74px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97), rgba(255,255,255,0.82), rgba(255,255,255,0.46)),
    url("/assets/hero-consultation.png") center / cover no-repeat;
}
.sub-hero.compact { padding-bottom: 64px; }
.text-page article {
  max-width: 860px;
  padding: 0;
}
.text-page h2 {
  margin: 30px 0 10px;
  font-size: 24px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 32px 96px;
  border-top: 1px solid var(--line);
}
.site-footer p {
  max-width: 680px;
  margin-top: 10px;
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}
.mobile-cta { display: none; }
@media (max-width: 980px) {
  .primary-nav { display: none; }
  h1 { font-size: 40px; }
  .lead { font-size: 18px; }
  .metric-grid, .service-grid, .case-grid, .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consult-layout, .split-copy { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header {
    height: 64px;
    padding: 0 16px;
  }
  .brand-text { max-width: 178px; white-space: normal; line-height: 1.15; }
  .header-call span { display: none; }
  .hero {
    min-height: auto;
    padding: 54px 18px 42px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.84)),
      url("/assets/hero-consultation.png") 62% center / cover no-repeat;
  }
  .sub-hero { padding: 56px 18px 48px; }
  h1 { font-size: 31px; }
  .lead { font-size: 16px; }
  .btn { width: 100%; padding: 0 14px; }
  .trust-strip div { width: 100%; }
  .band { padding: 62px 18px; }
  .section-head h2, .consult-layout h2, .split-copy h2, .final-cta h2 { font-size: 27px; }
  .metric-grid, .service-grid, .case-grid, .process-list { grid-template-columns: 1fr; }
  .consult-layout { gap: 28px; }
  .lead-form { padding: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .risk-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .final-cta, .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    flex-wrap: wrap;
    white-space: normal;
  }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-top: 1px solid var(--line);
  }
  .mobile-cta a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    color: var(--deep);
    text-decoration: none;
    font-weight: 900;
  }
  .mobile-cta a:first-child {
    color: white;
    background: var(--deep);
  }
  body { padding-bottom: 58px; }
}
