/* =====================================================================
   주식회사 원탑 — 새 디자인 시스템 (저작권 독립 버전)
   Palette: Deep Navy #0B1D3A + Steel Teal #0E7C86 + Emerald #1A7F5A
   ('--gold*' 토큰은 하위호환용 별칭 — 값은 스틸틸 계열로 통일)
   ===================================================================== */

:root {
  --navy:       #0B1D3A;
  --navy-2:     #132948;
  --navy-3:     #1C3D6B;
  --gold:       #0E7C86;
  --gold-light: #37AEB9;
  --gold-pale:  #E4F3F4;
  --emerald:    #1A7F5A;
  --emerald-lt: #22A874;
  --ink:        #1A1A2E;
  --ink-soft:   #4B5563;
  --muted:      #9CA3AF;
  --line:       #E5E9EF;
  --surface:    #F8F9FC;
  --white:      #FFFFFF;
  --shadow-sm:  0 2px 8px rgba(11,29,58,.07);
  --shadow-md:  0 8px 28px rgba(11,29,58,.12);
  --shadow-lg:  0 20px 60px rgba(11,29,58,.18);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --max:        1200px;
  --font:       'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --header-h:   74px;
}

/* ── reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); font-size: 16px; }
body { font-family: var(--font); color: var(--ink); background: var(--white);
       line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button, input, textarea, select { font-family: var(--font); }

/* ── container ── */
.wrap  { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap--sm { max-width: 820px; }
.wrap--lg { max-width: 1320px; }

/* ── util ── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-emerald{ color: var(--emerald); }
.sr-only     { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }

/* ─────────────────────── REVEAL animation ─────────────────────── */
.js .reveal      { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.in   { opacity: 1; transform: none; }
.js .reveal-l    { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal-l.in { opacity: 1; transform: none; }
.js .reveal-r    { opacity: 0; transform: translateX(28px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal-r.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-l, .js .reveal-r { opacity: 1; transform: none; transition: none; }
}

/* ─────────────────────── BUTTONS ─────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: 2px solid transparent; transition: all .22s ease;
  white-space: nowrap; letter-spacing: .01em;
}
.btn--gold    { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14,124,134,.35); }
.btn--navy    { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); transform: translateY(-2px); }
.btn--ghost   { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--lg      { padding: 16px 42px; font-size: 16px; }
.btn--sm      { padding: 10px 22px; font-size: 14px; }

/* ─────────────────────── HEADER ─────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); background: rgba(255,255,255,.99); }

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-h);
  gap: 20px;
}

/* logo */
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.site-logo img { height: 44px; width: auto; max-width: 100%; object-fit: contain; transition: transform .2s; }
.site-logo:hover img { transform: scale(1.03); }

/* gnb — center */
.gnb { display: flex; justify-content: center; }
.gnb__list { display: flex; gap: 4px; }
.gnb__link {
  display: block; padding: 8px 16px; font-weight: 600; font-size: 15px;
  color: var(--ink-soft); border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  position: relative;
}
.gnb__link::after {
  content: ''; position: absolute; left: 16px; bottom: 4px;
  width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.gnb__link:hover, .gnb__link[aria-current="page"] { color: var(--navy); }
.gnb__link:hover::after, .gnb__link[aria-current="page"]::after { width: calc(100% - 32px); }

/* header right */
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-tel   { font-weight: 700; font-size: 14px; color: var(--navy); white-space: nowrap; }
.header-tel span { color: var(--gold); font-size: 16px; }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; align-items: flex-end;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 18px; }
.hamburger span:nth-child(3) { width: 24px; }
.hamburger.open span:nth-child(1) { width: 24px; transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { width: 24px; transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-drawer {
  max-height: 0; overflow: hidden; background: var(--white);
  border-bottom: 1px solid var(--line); transition: max-height .35s ease;
}
.mobile-drawer.open { max-height: 400px; }
.mobile-drawer__list { padding: 12px 28px 24px; }
.mobile-drawer__item { border-bottom: 1px solid var(--line); }
.mobile-drawer__link { display: block; padding: 14px 4px; font-weight: 600; font-size: 16px; }
.mobile-drawer__cta  { color: var(--gold); font-weight: 700; }

/* ─────────────────────── PAGE HERO (sub pages) ─────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: 90px 0 70px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  margin-bottom: -40px;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 30%, rgba(14,124,134,.2), transparent);
}
.page-hero__inner { position: relative; }
.page-hero__watermark {
  position: absolute; right: 28px; top: 46%; transform: translateY(-50%); z-index: 3;
  height: 140px; width: auto; opacity: .08;
  filter: brightness(0) invert(1);
  pointer-events: none; user-select: none;
}
@media (max-width: 768px) {
  .page-hero__watermark { height: 84px; opacity: .06; right: 12px; }
}
.page-hero__inner > * { animation: heroTextUp .7s ease both; }
.page-hero__inner > *:nth-child(1) { animation-delay: .05s; }
.page-hero__inner > *:nth-child(2) { animation-delay: .17s; }
.page-hero__inner > *:nth-child(3) { animation-delay: .29s; }
.page-hero__inner > *:nth-child(4) { animation-delay: .41s; }
@keyframes heroTextUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__inner > * { animation: none; }
}
.page-hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,124,134,.18); border: 1px solid rgba(14,124,134,.4);
  color: var(--gold); padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .05em; margin-bottom: 20px;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -.02em; }
.page-hero__sub { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,.75); }
.breadcrumb { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); }
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { margin: 0 8px; }

/* ─────────────────────── SECTION base ─────────────────────── */
.section { padding: 100px 0; }
.section--sm { padding: 72px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--surface { background: var(--surface); }
.section--dark2  { background: var(--navy-2); color: var(--white); }

/* section header */
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--gold); }
.section-title {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 900;
  line-height: 1.25; letter-spacing: -.02em;
}
.section-title--light { color: var(--white); }
.section-desc {
  margin-top: 16px; font-size: 17px; color: var(--ink-soft); line-height: 1.8;
  max-width: 640px;
}
.section-desc--light { color: rgba(255,255,255,.72); }

/* ─────────────────────── HERO (index only) ─────────────────────── */
.hero {
  min-height: calc(100vh - var(--header-h));
  background: var(--navy);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,29,58,.6) 0%, rgba(11,29,58,.25) 45%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 70% 40%, rgba(14,124,134,.18), transparent),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(26,127,90,.15), transparent);
}
/* diagonal grid pattern */
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .04;
  background-image: repeating-linear-gradient(
    45deg, rgba(255,255,255,1) 0px, rgba(255,255,255,1) 1px,
    transparent 1px, transparent 50px
  );
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: center;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 60px 28px;
}

/* hero bg — 느린 Ken Burns 줌 (은은한 생동감) */
.hero__bg { transform: scale(1); animation: heroKenBurns 24s ease-in-out infinite alternate; will-change: transform; }
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}

/* hero left */
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(14,124,134,.15); border: 1px solid rgba(14,124,134,.45);
  color: var(--gold); padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; margin-bottom: 28px;
}
.hero__badge-icon { font-size: 16px; }
.hero__title {
  font-size: clamp(32px, 4.5vw, 54px); font-weight: 900; color: var(--white);
  line-height: 1.2; letter-spacing: -.025em;
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__sub {
  margin-top: 22px; font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,.72); line-height: 1.8; max-width: 520px;
}
.hero__services {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0;
}
.hero__service-tag {
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85);
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  background: rgba(255,255,255,.06);
  transition: all .2s;
}
.hero__service-tag:hover { border-color: var(--gold); color: var(--gold); background: rgba(14,124,134,.1); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero right — floating stat cards (Horizontal 3-rows) */
.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(11,29,58,.88);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 15px 28px;
  transition: transform .3s, border-color .3s;
}
.stat-card { animation: statFloat 6s ease-in-out infinite; }
.hero__stats .stat-card:nth-child(2) { animation-delay: -2s; }
.hero__stats .stat-card:nth-child(3) { animation-delay: -4s; }
.stat-card:hover { transform: translateY(-6px); border-color: rgba(14,124,134,.5); animation-play-state: paused; }
@keyframes statFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .stat-card { animation: none; }
}
.stat-card__info { flex: 1; min-width: 0; }
.stat-card__label { font-size: 15.5px; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: .02em; margin-bottom: 4px; }
.stat-card__sub { font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-card__value { font-size: 22px; font-weight: 900; color: var(--gold-light); white-space: nowrap; letter-spacing: -.02em; }
.stat-card--gold { background: linear-gradient(135deg, rgba(14,124,134,.28), rgba(11,29,58,.9)); border-color: rgba(14,124,134,.5); }

/* ─────────────────────── TRUST TICKER ─────────────────────── */
.trust-ticker {
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0; overflow: hidden;
}
.ticker-track {
  display: flex; gap: 0;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: flex; align-items: center; gap: 10px; padding: 0 32px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.6);
  flex-shrink: 0;
}
.ticker-item::before { content: '●'; color: var(--gold); font-size: 8px; }
.ticker-item strong { color: rgba(255,255,255,.9); }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────── SERVICES (교차 2단 레이아웃) ─────────────────────── */
.service-item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: stretch; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}
.service-item:last-child { margin-bottom: 0; }
.service-item--rev { direction: rtl; }
.service-item--rev > * { direction: ltr; }

.service-item__visual {
  min-height: 260px; position: relative; overflow: hidden;
  background: var(--navy-2);
}
.service-item__visual-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
}
.service-item__icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 2px solid rgba(14,124,134,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.service-item__num {
  font-size: 100px; font-weight: 900; color: rgba(255,255,255,.05);
  position: absolute; bottom: -20px; right: 20px; line-height: 1;
  pointer-events: none; user-select: none;
}

.service-item__body {
  background: var(--white); padding: 40px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.service-item__tag {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.service-item__title { font-size: 23px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.service-item__desc  { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
.service-item__meta {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.service-item__meta-badge {
  font-size: 13px; font-weight: 600; color: var(--emerald);
  background: rgba(26,127,90,.08); border: 1px solid rgba(26,127,90,.2);
  padding: 4px 12px; border-radius: 999px;
}

/* ─────────────────────── WHY US (glassmorphism cards on dark) ─────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.why-card {
  background: rgba(19, 41, 72, 0.92);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(14,124,134,.35); }
.why-card::before {
  content: attr(data-num); position: absolute; top: -16px; right: 20px;
  font-size: 96px; font-weight: 900; color: rgba(255,255,255,.06);
  line-height: 1; pointer-events: none;
}
.why-card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 22px;
}
.why-card__title { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.why-card__desc  { font-size: 14.5px; color: rgba(255,255,255,.85); line-height: 1.85; }

/* ─────────────────────── PROJECT MAGAZINE ─────────────────────── */
.project-magazine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 56px;
}
.proj-card {
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-md);
  position: relative; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.proj-card--featured {
  grid-row: 1 / 3;
}
.proj-card--featured .proj-card__thumb { height: 400px; }

.proj-card__thumb {
  height: 250px; position: relative; overflow: hidden; flex-shrink: 0;
}
.proj-card__thumb-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .4s ease;
}
.proj-card:hover .proj-card__thumb-bg { transform: scale(1.06); }
.proj-card__thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,.7) 0%, transparent 50%);
}
.proj-card__cat {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--white);
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.proj-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.proj-card__name { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.proj-card--featured .proj-card__name { font-size: 22px; }
.proj-card__info { font-size: 14px; color: var(--muted); }
.proj-card__size { font-size: 13px; color: var(--emerald); font-weight: 600; margin-top: 8px; }

/* ─────────────────────── EQUIPMENT GRID ─────────────────────── */
.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.equip-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.equip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.equip-card__icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--gold-pale); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 16px;
}
.equip-card__name { font-size: 14px; font-weight: 700; color: var(--navy); }

/* ─────────────────────── CREDENTIAL BAR ─────────────────────── */
.cred-bar { padding: 56px 0; background: var(--navy); position: relative; overflow: hidden; }
.cred-bar::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 100% at 85% 50%, rgba(14,124,134,.22), transparent);
}
.cred-bar__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cred-bar__text h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 900; color: var(--white); }
.cred-bar__text p  { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.72); }
.cred-bar__logo { height: 30px; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 16px; }

/* ─────────────────────── CONTACT SPLIT ─────────────────────── */
.contact-split {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start;
}
.contact-info__title { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.contact-info__sub   { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 36px; }
.contact-info__list  { display: flex; flex-direction: column; gap: 20px; }
.cinfo-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.cinfo-item__icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.cinfo-item__label { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; letter-spacing: .05em; }
.cinfo-item__value { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.cinfo-item__value a { color: var(--emerald); }

/* ─────────────────────── FORM ─────────────────────── */
.counsel-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-section-title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.req { color: #E5484D; }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; background: var(--surface);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(14,124,134,.15);
}
.chk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chk-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.chk-label input { accent-color: var(--gold); width: 16px; height: 16px; }
.agree-row { display: flex; align-items: center; gap: 10px; }
.agree-row input { accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.agree-row span { font-size: 14px; color: var(--ink-soft); }

/* ─────────────────────── STATS ROW (한눈에 숫자) ─────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: rgba(255,255,255,.15);
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.stats-row__item {
  padding: 44px 20px;
  text-align: center;
  background-color: var(--navy);
  color: var(--white);
}
.stats-row__num  { font-size: 44px; font-weight: 900; color: var(--white); line-height: 1; }
.stats-row__num .unit { font-size: 22px; color: var(--gold); font-weight: 800; }
.stats-row__label { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.85); font-weight: 700; }

/* ─────────────────────── PERF TABLE ─────────────────────── */
.perf-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.perf-table th {
  background: var(--navy); color: var(--white);
  padding: 12px 16px; text-align: left; font-weight: 700; font-size: 13px;
}
.perf-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.perf-table tr:hover td { background: var(--surface); }
.perf-table td:first-child { color: var(--muted); font-size: 13px; }
.perf-table td:nth-child(3) { font-weight: 700; }

/* ─────────────────────── FILTER BAR ─────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font-size: 14px; font-weight: 700; color: var(--ink-soft);
  cursor: pointer; font-family: var(--font); transition: all .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy); border-color: var(--navy); color: var(--white);
}

/* ─────────────────────── PERF CARDS ─────────────────────── */
.perf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.perf-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.perf-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.perf-card__thumb { height: 240px; }
.perf-card__body { padding: 22px; }
.perf-card__cat {
  font-size: 12px; font-weight: 700; color: var(--gold);
  letter-spacing: .05em; margin-bottom: 8px;
}
.perf-card__name { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.perf-card__meta { font-size: 13px; color: var(--muted); }
.perf-card__size { font-size: 13px; color: var(--emerald); font-weight: 600; margin-top: 4px; }

/* ─────────────────────── ORG CHART ─────────────────────── */
.org-tree { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 48px; }
.org-level { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.org-box {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 28px; text-align: center;
  font-weight: 700; font-size: 15px; color: var(--navy);
  box-shadow: var(--shadow-sm); min-width: 120px;
}
.org-box--lead { background: var(--navy); color: var(--white); border-color: var(--navy); }
.org-box--dept { background: var(--gold-pale); border-color: var(--gold); color: var(--navy-2); }
.org-connector { width: 1px; height: 24px; background: var(--line); margin: 0 auto; }
.org-dept-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 0; }
.org-dept-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px;
}
.org-dept-card__title {
  font-size: 15px; font-weight: 800; color: var(--navy);
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--gold);
}
.org-dept-card__list li { font-size: 14px; color: var(--ink-soft); padding: 4px 0; }
.org-dept-card__list li::before { content: '·  '; color: var(--gold); font-weight: 900; }

/* ─────────────────────── TECH TABLE ─────────────────────── */
.tech-table { width: 100%; border-collapse: collapse; }
.tech-table th { background: var(--navy-2); color: var(--white); padding: 14px 20px; font-size: 14px; font-weight: 700; text-align: center; }
.tech-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: center; }
.tech-table tr:nth-child(even) td { background: var(--surface); }
.grade-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.grade-badge--sp  { background: rgba(14,124,134,.15); color: var(--gold); border: 1px solid rgba(14,124,134,.4); }
.grade-badge--hi  { background: rgba(26,127,90,.1); color: var(--emerald); border: 1px solid rgba(26,127,90,.3); }
.grade-badge--mid { background: rgba(19,41,72,.08); color: var(--navy-3); border: 1px solid rgba(19,41,72,.2); }
.grade-badge--jr  { background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); }

/* ─────────────────────── EQUIP CATALOG ─────────────────────── */
.equip-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.equip-cat-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .25s;
  display: flex; flex-direction: column;
}
.equip-cat-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.equip-cat-card__img-wrap {
  width: 100%; height: 170px; background: #FAFBFD;
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.equip-cat-card__img-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 12px;
  transition: transform .3s;
}
.equip-cat-card:hover .equip-cat-card__img-wrap img { transform: scale(1.06); }
.equip-cat-card__info {
  padding: 16px 12px; text-align: center; border-top: 1px solid var(--line); flex-grow: 1;
  display: flex; align-items: center; justify-content: center; background: var(--white);
}
.equip-cat-card__name  { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; }

/* ─────────────────────── MODAL ─────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 200; display: none; align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 48px; text-align: center; width: 380px; max-width: 90%;
  animation: modalPop .25s ease;
}
.modal-box__logo { height: 30px; width: auto; margin: 0 auto 18px; opacity: .9; }
.modal-box__icon { font-size: 48px; margin-bottom: 16px; }
.modal-box__title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.modal-box__desc  { font-size: 15px; color: var(--ink-soft); margin-bottom: 28px; }
@keyframes modalPop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ─────────────────────── FOOTER ─────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 64px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand__logo { filter: brightness(0) invert(1); opacity: .9; height: 36px; margin-bottom: 20px; }
.footer-brand__desc { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer-brand__info { margin-top: 20px; }
.footer-brand__info p { font-size: 13px; margin: 5px 0; }
.footer-brand__info a { color: var(--gold); }

.footer-col__title { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 18px; letter-spacing: .04em; }
.footer-col__list li { margin: 10px 0; }
.footer-col__list a { font-size: 14px; transition: color .2s; }
.footer-col__list a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}
.copyright { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.45); }
.footer-links a:hover { color: var(--gold); }

/* ─────────────────────── TABLE RESPONSIVE ─────────────────────── */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
}

/* ─────────────────────── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .service-item { grid-template-columns: 1fr; }
  .service-item--rev { direction: ltr; }
  .service-item__visual { min-height: 220px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .project-magazine { grid-template-columns: 1fr; }
  .proj-card--featured { grid-row: auto; }
  .proj-card--featured .proj-card__thumb { height: 260px; }
  .equip-grid { grid-template-columns: repeat(3, 1fr); }
  .equip-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .perf-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1fr; gap: 40px; }
  [style*="grid-template-columns:300px 1fr"],
  [style*="grid-template-columns: 300px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  [style*="position:sticky"],
  [style*="position: sticky"] {
    position: static !important;
  }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section--sm { padding: 48px 0; }
  
  /* Header */
  .header-inner { grid-template-columns: 1fr auto; height: 72px; gap: 12px; }
  .site-logo { flex-shrink: 1; min-width: 0; }
  .site-logo img { height: auto; max-height: 34px; width: auto; max-width: 100%; object-fit: contain; }
  .gnb  { display: none; }
  .hamburger { display: flex; }
  .header-tel { display: none; }

  /* Hero */
  .hero { min-height: auto; }
  .hero__inner { padding: 44px 16px 56px; gap: 36px; }
  .hero__badge { font-size: 12px; padding: 6px 14px; margin-bottom: 20px; }
  .hero__title { font-size: clamp(26px, 7vw, 36px); }
  .hero__sub { font-size: 15px; margin-top: 16px; }
  .hero__services { gap: 6px; margin: 20px 0 24px; }
  .hero__service-tag { font-size: 12px; padding: 4px 10px; }
  
  /* Hero Stats (3-Rows) */
  .hero__stats { gap: 12px; }
  .stat-card { padding: 16px 18px; gap: 12px; }
  .stat-card__label { font-size: 14.5px; margin-bottom: 2px; }
  .stat-card__sub { font-size: 12px; white-space: normal; word-break: keep-all; }
  .stat-card__value { font-size: 17px; font-weight: 800; }

  /* Cards & Grids */
  .why-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .why-card { padding: 28px 24px; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
  .equip-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .equip-cat-card__img-wrap { height: 135px; }
  .equip-cat-card__info { padding: 12px 8px; }
  .equip-cat-card__name { font-size: 13px; }
  
  /* Portfolio */
  .filter-bar { justify-content: flex-start; gap: 8px; margin-bottom: 24px; }
  .filter-btn { padding: 8px 16px; font-size: 13px; }
  .perf-grid  { grid-template-columns: 1fr; gap: 20px; }
  .perf-card__thumb { height: 200px; }
  .perf-card__body { padding: 18px; }
  #btnMorePerf { width: 100%; padding: 12px 20px; }

  /* Form & Contact */
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .counsel-form { padding: 24px 18px; border-radius: var(--radius-md); }
  .contact-info__title { font-size: 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-links { justify-content: center; }

  /* Sub Page Hero */
  .page-hero { padding: 60px 0 48px; clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); margin-bottom: -24px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero__sub { font-size: 15px; }
}

@media (max-width: 480px) {
  .site-logo img { max-height: 30px; }
  .header-right { gap: 8px; }
  .header-right .btn--sm { padding: 6px 10px; font-size: 13px; }
  .hero__inner { padding: 36px 14px 44px; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .cred-bar__inner { flex-direction: column; text-align: center; }
  .cred-bar__inner .btn { width: 100%; justify-content: center; }
  .stat-card { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stat-card__value { align-self: flex-end; }
}

/* ─────────────────────── 인증·등록 (cert) ─────────────────────── */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cert-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cert-card a { display: block; background: var(--surface); }
.cert-card img { width: 100%; height: 300px; object-fit: contain; padding: 18px; background: var(--white); }
.cert-card figcaption { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.cert-card figcaption b { display: block; font-size: 16px; color: var(--navy); font-weight: 800; margin-bottom: 6px; }
.cert-card figcaption span { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* ─────────────────────── 법적 문서 (privacy/terms) ─────────────────────── */
.legal-doc { color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.legal-doc .legal-intro { padding: 20px 24px; background: var(--surface); border-radius: var(--radius-md); margin-bottom: 12px; }
.legal-doc h2 { font-size: 19px; color: var(--navy); font-weight: 800; margin: 34px 0 12px; }
.legal-doc ul { margin: 8px 0 8px 4px; }
.legal-doc li { position: relative; padding-left: 18px; margin: 6px 0; }
.legal-doc li::before { content: '·'; position: absolute; left: 4px; color: var(--gold); font-weight: 900; }
.legal-doc .legal-note { margin-top: 10px; padding: 14px 18px; background: var(--gold-pale); border-radius: var(--radius-sm); font-size: 14px; color: var(--ink); }
.legal-doc .legal-date { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .cert-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ─────────────────────── SVG 라인 아이콘 ─────────────────────── */
.ic {
  width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em;
  flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
/* 컨테이너별 색·크기 보정 */
.service-item__icon { color: var(--gold); }
.service-item__icon .ic { width: 40px; height: 40px; }
.why-card__icon { color: var(--navy); }
.why-card__icon .ic { width: 30px; height: 30px; }
.equip-card__icon .ic { width: 30px; height: 30px; }
.cinfo-item__icon .ic { width: 22px; height: 22px; }
.modal-box__icon { color: var(--emerald); line-height: 0; }
.modal-box__icon .ic { width: 52px; height: 52px; }
.page-hero__tag .ic { width: 15px; height: 15px; }
.stat-card__label .ic { width: 16px; height: 16px; margin-right: 4px; }
.hero__badge .ic { width: 16px; height: 16px; }
.proj-card__info .ic { width: 14px; height: 14px; margin-right: 3px; color: var(--gold); }
.header-tel .ic { width: 15px; height: 15px; }
.btn .ic { width: 1.15em; height: 1.15em; }

/* ─────────────────────── 모바일 레이아웃 보정 (잘림/가로스크롤 방지) ─────────────────────── */
@media (max-width: 768px) {
  /* 그리드 자식 축소 허용 (nowrap 값이 넘치는 것 방지) */
  .hero__inner > * { min-width: 0; }
  .hero__stats, .stat-card { min-width: 0; max-width: 100%; }
  .stat-card__value { white-space: normal; }

  /* inline grid 는 미디어쿼리가 안 먹으므로 속성선택자 + !important 로 모두 1열 강제 */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; max-width: 100%; }
  /* grid/flex 자식 min-width:auto 로 트랙 팽창하는 것 방지 */
  [style*="grid-template-columns"] > * { min-width: 0; }

  /* 좌우 등장 애니메이션(translateX) → 모바일선 수직으로 (수평 오버플로/잘림 방지) */
  .js .reveal-l, .js .reveal-r { transform: translateY(28px); }
  .js .reveal-l.in, .js .reveal-r.in { transform: none; }
  /* 프로세스 등 가로 화살표(→) 모바일 숨김 */
  [style*="right:-16px"] { display: none !important; }

  /* 넓은 표 → min-width 해제하고 셀 줄바꿈으로 화면에 맞춤 (가로스크롤 제거) */
  .perf-table { min-width: 0 !important; }
  .perf-table th, .perf-table td { padding: 9px 10px; font-size: 12.5px; white-space: normal; word-break: keep-all; }
}

/* ─────────────────────── 폼 인라인 에러 + 안심/신뢰 문구 ─────────────────────── */
.field-error { color: #E5484D; font-size: 13px; font-weight: 600; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #E5484D !important; }
.field.invalid input:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 3px rgba(229,72,77,.12); }
.form-trust {
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
  font-size: 13px; color: var(--emerald); font-weight: 700; margin: 10px 0 22px;
}
.form-trust .ic { width: 15px; height: 15px; }
.form-trust span { display: inline-flex; align-items: center; gap: 5px; }
.form-assurance { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.7; }
.form-assurance b { color: var(--emerald); font-weight: 700; }

/* ─────────────────────── 10-Cell Treemap Mosaic Layout (Separated Panel) ─────────────────────── */
.tm-grid-10 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 200px);
  gap: 12px;
  margin-top: 20px;
}

.tm-cell {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11, 29, 58, 0.08);
  box-shadow: 0 4px 14px rgba(11, 29, 58, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.tm-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 29, 58, 0.16);
  border-color: var(--gold);
}

.tm-1 { grid-column: 1 / span 4; grid-row: 1 / span 2; } /* SK테크노파크 */
.tm-2 { grid-column: 5 / span 3; grid-row: 1 / span 2; } /* 제니스 */
.tm-3 { grid-column: 8 / span 5; grid-row: 1 / span 1; } /* 오션센트럴비즈 */
.tm-4 { grid-column: 8 / span 2; grid-row: 2 / span 1; } /* 센텀스타 */
.tm-5 { grid-column: 10 / span 3; grid-row: 2 / span 1; } /* 디테크타워 */

.tm-6 { grid-column: 1 / span 3; grid-row: 3 / span 1; } /* 우방유쉘 */
.tm-7 { grid-column: 4 / span 2; grid-row: 3 / span 1; } /* 아브뉴프랑 */
.tm-8 { grid-column: 6 / span 2; grid-row: 3 / span 1; } /* 월드마크용산 */
.tm-9 { grid-column: 8 / span 3; grid-row: 3 / span 1; } /* 시티세븐 */
.tm-10 { grid-column: 11 / span 2; grid-row: 3 / span 1; } /* 타임브릿지 */

.tm-cell__img-box {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  background: #f1f5f9;
}

.tm-cell__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1 !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-cell:hover .tm-cell__img {
  transform: scale(1.05);
}

.tm-cell__chip {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(11, 29, 58, 0.88);
  backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.tm-cell__info {
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid rgba(11, 29, 58, 0.06);
}

.tm-cell__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.25;
}

.tm-1 .tm-cell__title { font-size: 20px; }
.tm-2 .tm-cell__title { font-size: 17px; }

.tm-cell__desc {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .tm-grid-10 {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
  }
  .tm-1, .tm-2, .tm-3, .tm-4, .tm-5, .tm-6, .tm-7, .tm-8, .tm-9, .tm-10 {
    grid-column: span 3;
    grid-row: auto;
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .tm-1, .tm-2, .tm-3, .tm-4, .tm-5, .tm-6, .tm-7, .tm-8, .tm-9, .tm-10 {
    grid-column: span 6;
    min-height: 180px;
  }
}

/* =====================================================================
   신뢰도 강화 + 최신 트렌드 UI/UX 추가분 (2026)
   ===================================================================== */

/* ─── 접근성: 본문 바로가기 ─── */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: var(--white);
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid var(--gold-light); outline-offset: 2px; }

/* ─── 폼 접근성: aria-live 상태 안내 ─── */
.form-status { min-height: 0; }
.form-status:empty { display: none; }
.form-status[data-state="error"] {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.3);
  color: #b91c1c; font-size: 14px; font-weight: 600;
}
.form-status[data-state="success"] {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(26,127,90,.08); border: 1px solid rgba(26,127,90,.3);
  color: var(--emerald); font-size: 14px; font-weight: 600;
}

/* ─── 문의유형 fieldset (레이아웃 초기화) ─── */
.chk-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.chk-fieldset > legend {
  padding: 0; margin-bottom: 8px;
  font-size: inherit; font-weight: inherit; color: inherit;
}

/* ─── 위치 지도 embed (반응형 16:9) ─── */
.map-embed {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-block { margin-top: 40px; }
.map-block__title { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.map-block__addr {
  margin-top: 14px; font-size: 14px; color: var(--ink-soft);
  display: flex; align-items: flex-start; gap: 8px;
}
.map-block__addr .ic { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ─── footer 사업자정보 확인 배지 ─── */
.biz-verify {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600;
  transition: background .2s, border-color .2s, transform .2s;
}
.biz-verify:hover { background: rgba(14,124,134,.2); border-color: rgba(14,124,134,.5); transform: translateY(-1px); }
.biz-verify .ic { color: var(--gold-light); }

/* ─── 모바일 하단 고정 CTA 바 ─── */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px) saturate(180%);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(11,29,58,.12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta-bar__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 8px; font-size: 15px; font-weight: 800; letter-spacing: .01em;
  }
  .mobile-cta-bar__btn .ic { font-size: 18px; }
  .mobile-cta-bar__btn--tel { color: var(--navy); }
  .mobile-cta-bar__btn--tel .ic { color: var(--gold); }
  .mobile-cta-bar__btn--cta { background: var(--gold); color: var(--white); }
  /* 고정 바 높이만큼 본문 하단 여백 확보 */
  body { padding-bottom: 60px; }
}

/* ─── 마이크로 인터랙션: 서비스 카드 이미지 줌 ─── */
.service-item__visual-inner img { transition: transform .55s ease; will-change: transform; }
.service-item:hover .service-item__visual-inner img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .service-item__visual-inner img,
  .service-item:hover .service-item__visual-inner img { transition: none; transform: none; }
  .biz-verify:hover, .mobile-cta-bar { transition: none; }
}