:root {
  --ink: #13130A;
  --yellow: #FEEB8F;
  --muted: #5B5B52;
  --line: #E7E5DD;
  --bg-soft: #F6F5F0;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body, h1, h2, h3, button, input, textarea {
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  color: var(--ink);
}
body { padding-bottom: 0; letter-spacing: -0.3px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { margin: 0; }

/* ---------- top ---------- */
.top { position: relative; z-index: 200; background: #fff; height: 76px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 34px; height: 34px; color: var(--ink); }
.logo-icon svg { width: 100%; height: 100%; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-brand { font-size: 13px; font-weight: 600; color: var(--muted); }
.logo-keyword { font-size: 19px; font-weight: 700; color: var(--ink); }
.nav {
  display: flex; align-items: center; gap: 30px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: -0.035em; text-transform: uppercase;
}
.nav-cta { padding: 11px 22px; border-radius: 999px; background: var(--ink); color: #fff !important; font-size: 15px; }
.nav-drop { position: relative; }
.nav-drop__menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px;
  box-shadow: 0 16px 32px rgba(0,0,0,.12); z-index: 201; margin-top: 10px;
}
.nav-drop.open .nav-drop__menu, .nav-drop:hover .nav-drop__menu { display: flex; flex-direction: column; }
.nav-drop__menu a { padding: 10px 12px; border-radius: 8px; font-size: 14px; text-transform: none; letter-spacing: -0.3px; font-weight: 600; }
.nav-drop__menu a:hover { background: var(--bg-soft); }

/* ---------- hero (apt: full-bleed bright photo, no dark overlay, big black type above) ---------- */
.hero { background: #fff; }
.hero__panel { padding: 64px 0 32px; text-align: left; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 700; margin: 0 0 18px;
}
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.28; letter-spacing: -0.5px; margin: 0 0 16px; white-space: nowrap; }
.hero-sub { font-size: 16px; line-height: 28px; color: var(--muted); max-width: 560px; margin: 0 0 24px; }
.hero-cta { display: flex; gap: 12px; margin: 0 0 20px; }
.btn-fill { height: 48px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; }
.btn-line { height: 48px; padding: 0 26px; border-radius: 999px; background: transparent; color: var(--ink); border: 1px solid var(--ink); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; }
.hero-checks { display: flex; gap: 20px; padding: 0; margin: 0; font-size: 14px; color: var(--muted); list-style: disc inside; }
.hero-media { width: 100%; overflow: hidden; background: var(--bg-soft); }
.hero-media img { width: 100%; height: auto; max-height: 640px; object-fit: cover; display: block; }

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

/* ---------- about split ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about p { font-size: 15.5px; line-height: 1.8; color: var(--muted); margin: 0 0 16px; }
.about-media img { border-radius: 18px; }

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

/* ---------- cases carousel (home) ---------- */
.case-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.case-scroll .case-card { flex: 0 0 300px; scroll-snap-align: start; }
.case-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); transition: transform .2s; }
.case-card:hover { transform: scale(1.03); }
.case-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.case-card__body { padding: 16px 18px; }
.case-card__body h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.case-card__body p { font-size: 13.5px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-more { text-align: center; margin-top: 32px; }

/* case list grid (portfolio) */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- process ---------- */
.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(--ink); background: var(--yellow); display: inline-block; padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.process-item h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.process-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- region ---------- */
.region-links { display: flex; flex-wrap: wrap; gap: 12px; }
.region-links a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.region-links a:hover { background: var(--ink); color: #fff; }

/* ---------- faq ---------- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.faq-item p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.75; }

/* ---------- closing ---------- */
.closing { position: relative; min-height: 600px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.closing__overlay { position: absolute; inset: 0; background: rgba(19,19,19,.55); pointer-events: none; }
.closing__inner { position: relative; z-index: 1; text-align: center; color: #fff; padding: 0 24px; }
.closing__head { font-size: 32px; font-weight: 800; white-space: nowrap; margin: 0 0 14px; }
.closing__quote { font-size: 15px; opacity: .85; margin: 0 0 26px; }
.closing__cta { display: inline-flex; padding: 14px 32px; border: 1px solid #fff; color: #fff; font-weight: 700; border-radius: 0; }

/* ---------- footer (black, apt) ---------- */
.site-footer { background: #000; color: #B8B7AD; }
.footer__inner { padding: 56px 0; }
.footer__brand { color: #fff; font-weight: 700; font-size: 16px; margin: 0 0 14px; }
.footer__nap p { font-size: 13px; line-height: 1.9; margin: 0 0 6px; }
.footer__links a { color: #FEEB8F; }
.footer__copy { margin-top: 16px; opacity: .7; }

/* ---------- floating consult ---------- */
.fab-consult {
  position: fixed; right: 24px; bottom: 90px; z-index: 300;
  background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px;
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
@media (min-width: 768px) { .fab-consult { bottom: 32px; } }

/* ---------- mobile bottom bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: 58px; z-index: 250; }
  .mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
  .mobile-bar a:first-child { background: var(--ink); color: #fff; }
  .mobile-bar a:last-child { background: var(--yellow); color: var(--ink); }
  body { padding-bottom: 72px; }
}

/* ---------- page-hero (sub pages: hub/region/case-list) ---------- */
.page-hero { position: relative; z-index: 0; min-height: 260px; overflow: hidden; background: var(--bg-soft); display: flex; align-items: center; }
.page-hero.has-photo { min-height: 420px; }
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::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; width: 100%; }
.page-hero.has-photo .copy { color: #fff; text-align: center; }
.page-hero .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.page-hero h1 { font-size: 34px; font-weight: 800; margin: 0; }
.page-hero p { margin: 12px 0 0; font-size: 15px; opacity: .85; max-width: 560px; }
.page-hero.has-photo p { margin-left: auto; margin-right: auto; }

/* hero-panel (tint, no big photo) */
.hero-panel { max-width: 1180px; margin: 32px auto; padding: 48px 56px; background: var(--bg-soft); border-radius: 26px; }
.hero-panel h1 { font-size: 32px; font-weight: 800; margin: 10px 0 12px; }
.hero-panel p { font-size: 15px; color: var(--muted); max-width: 640px; margin: 0; }

/* ---------- case detail body ---------- */
.case-body { max-width: 640px; margin: 48px auto 0; text-align: center; }
.case-body img { border-radius: 18px; background: var(--bg-soft); margin: 0 auto 16px; }
.case-body .label { font-size: 13px; color: #888; margin: 0 0 10px; }
.case-body h2 { font-size: 28px; font-weight: 700; margin: 0 0 20px; }
.case-body .desc { text-align: left; font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.case-back { text-align: center; margin: 56px 0; }

table.info-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
table.info-table th, table.info-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; font-size: 14.5px; }
table.info-table th { background: var(--bg-soft); width: 32%; }
ul.check-list { padding-left: 20px; line-height: 1.9; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-item:nth-child(2n) { border-right: none; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .nav { display: none; }
  .hero h1 { font-size: 30px; white-space: normal; }
  .closing__head { font-size: 24px; white-space: normal; }
  .section { padding: 56px 0; }
  .hero-panel { padding: 28px 24px; border-radius: 20px; margin: 20px auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
}
