:root {
  --logo-navy: #002663;
  --navy: #123878;
  --navy-dark: #0b2859;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --blue-border: #c3ddfd;

  --white: #ffffff;
  --bg-gray: #f8fafc;
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-light: #64748b;
  --line: #e2e8f0;

  --container: 1140px;
  --header-h: 72px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   헤더 (심플 & 명확한 블루·네이비 톤)
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: auto;
}

.logo-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--logo-navy);
  letter-spacing: -0.03em;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
}

/* 버튼 공통 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue);
}

.btn-ghost {
  background: var(--bg-gray);
  color: var(--text-dark);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
  padding: 12px 20px;
  font-size: 0.92rem;
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--blue-soft);
}

/* 모바일 토글 */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 20px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  padding: 12px 4px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 1px solid var(--bg-gray);
}

/* =========================================
   섹션 공통
   ========================================= */
.section {
  padding: 88px 0;
}

.sec-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.sec-head-row .sec-head {
  margin-bottom: 0;
}

.sec-head {
  margin-bottom: 40px;
}

.sec-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.sec-head p {
  font-size: 1rem;
  color: var(--text-body);
}

.admin-quick-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--blue-border);
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s;
}

.admin-quick-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* =========================================
   1. 업체 소개 (Hero + 5대 시공분야 + 3대 약속 + 4단계 절차)
   ========================================= */
.intro-section {
  padding-top: 60px;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.hero-box {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 72px;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--blue);
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.72;
  margin-bottom: 22px;
}

.hero-sub strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* 히어로 3대 핵심 가치 배지 (착한 가격 · 열린 소통 · 믿음/신뢰) */
.hero-trust-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(0, 38, 99, 0.05);
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid var(--blue-border);
  flex-shrink: 0;
}

.pill-badge.navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.trust-pill.area-pill {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed var(--blue-border);
}

.trust-pill.area-pill strong {
  color: var(--navy);
}

.trust-pill strong {
  font-weight: 700;
  color: var(--text-dark);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 우측 라이브 쇼케이스 */
.hero-showcase {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 20px 45px rgba(0, 38, 99, 0.09);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.showcase-head-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 2px;
  font-size: 0.8rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
  flex-shrink: 0;
}

.showcase-head-strip strong {
  font-weight: 800;
  color: var(--navy);
}

.showcase-head-strip span {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--text-light);
}

.showcase-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #0f172a;
  cursor: pointer;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, opacity 0.3s ease;
}

.showcase-main:hover .showcase-img {
  transform: scale(1.04);
}

.showcase-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.showcase-cat {
  background: var(--navy);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.showcase-count {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.showcase-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 100%);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.showcase-caption-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.showcase-caption-text p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.showcase-more-btn {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.showcase-thumb-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 9px;
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--bg-gray);
  opacity: 0.65;
  transition: all 0.2s ease;
}

.showcase-thumb-item.active {
  border-color: var(--blue);
  opacity: 1;
}

.showcase-thumb-item:hover {
  opacity: 1;
}

.showcase-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   주요 시공 분야 5칸 요약 + 3대 약속 + 4단계 진행 절차
   ========================================= */
.about-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.about-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 30px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.about-logo {
  width: 68px;
  height: auto;
  flex-shrink: 0;
}

.about-head h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-head p {
  font-size: 0.96rem;
  color: var(--text-body);
}

.service-minimal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.s-item {
  background: var(--bg-gray);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.s-item.primary-card {
  background: var(--white);
  border-color: var(--blue-border);
  border-top: 3px solid var(--blue);
  box-shadow: 0 6px 18px rgba(0, 38, 99, 0.05);
}

.s-item.accent {
  background: var(--blue-soft);
  border-color: var(--blue-border);
  border-top: 3px solid var(--blue);
}

.s-item:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 10px 22px rgba(0, 38, 99, 0.08);
}

.s-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.s-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
}

.s-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.s-item.accent .s-icon,
.s-item.primary-card .s-icon {
  color: var(--blue);
  border-color: var(--blue-border);
}

.s-icon svg {
  width: 18px;
  height: 18px;
}

.s-item h3 {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.s-item p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 12px;
  flex: 1;
}

.s-mini-tag {
  display: block;
  width: 100%;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 6px;
  align-self: stretch;
}

/* 3대 핵심 약속 바 (착한 가격 · 열린 소통 · 믿음과 신뢰) */
.promise-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
}

.promise-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 2.5px solid #60a5fa;
}

.p-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.05em;
}

.promise-item strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}

.promise-item span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.52;
}

/* 4단계 진행 절차 바 */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--bg-gray);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2.5px solid var(--blue);
}

.p-step-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.process-step strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.process-step p {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.48;
}

/* =========================================
   2. 시공 사례 (Portfolio)
   ========================================= */
.portfolio-section {
  background: var(--bg-gray);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

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

.case-more-wrap {
  margin-top: 32px;
  text-align: center;
}

.case-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.case-item.hidden {
  display: none;
}

.case-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 38, 99, 0.08);
  border-color: var(--blue);
}

.case-img-box {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-gray);
}

.case-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.case-item:hover .case-img-box img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.84);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge.blue {
  background: var(--blue);
}

.badge.navy {
  background: var(--navy);
}

.photo-count-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.ba-indicator-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(37, 99, 235, 0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.case-info {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-info h3 {
  font-size: 1.04rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.42;
}

.case-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* =========================================
   3. 시공 문의 (Inquiry)
   ========================================= */
.inquiry-section {
  background: var(--white);
}

.inquiry-wrap {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: start;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.inquiry-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.inquiry-desc {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 28px;
}

.direct-call-box {
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.direct-call-box span {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue);
}

.call-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 6px;
}

.direct-call-box p {
  font-size: 0.86rem;
  color: var(--text-body);
}

.simple-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.simple-checks li {
  font-size: 0.92rem;
  color: var(--text-body);
  padding-left: 20px;
  position: relative;
}

.simple-checks li strong {
  color: var(--text-dark);
}

.simple-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

/* 우측 심플 폼 */
.simple-form {
  background: var(--bg-gray);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.chip-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 9px 15px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.18s;
}

.chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

/* =========================================
   4. 오시는 길 (실제 지도 임베드)
   ========================================= */
.location-section {
  background: var(--bg-gray);
  border-top: 1px solid var(--line);
}

.loc-box {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.loc-map-embed {
  position: relative;
  min-height: 360px;
  background: #eef3f9;
  z-index: 1;
}

.korea-map-canvas {
  width: 100%;
  height: 100%;
  min-height: 360px;
  z-index: 1;
}

.map-reset-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 500;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  transition: all 0.18s;
}

.map-reset-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* 구글 지도 실제 좌표에 고정되어 지도와 함께 움직이는 현대하우징 마커 */
.hdh-custom-marker {
  background: transparent !important;
  border: 0 !important;
}

.hdh-pin-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 7px 12px;
  box-shadow: 0 8px 20px rgba(0, 38, 99, 0.24);
  white-space: nowrap;
  transform: translate(-50%, -100%);
  margin-top: -8px;
}

.hdh-pin-wrap::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px;
  height: 11px;
  background: var(--white);
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}

.hdh-pin-dot {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hdh-pin-wrap img {
  width: 26px !important;
  height: 21px !important;
  max-width: 26px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.hdh-pin-info strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--logo-navy);
  line-height: 1.2;
}

.hdh-pin-info span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-body);
}

.loc-details {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.loc-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  font-size: 0.95rem;
}

.loc-label {
  font-weight: 700;
  color: var(--text-light);
}

.loc-val {
  color: var(--text-dark);
}

.loc-tel {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  margin-right: 6px;
}

.loc-sub {
  font-size: 0.84rem;
  color: var(--text-light);
}

.btn-copy {
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-gray);
  cursor: pointer;
}

.loc-buttons {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* =========================================
   푸터 (Footer)
   ========================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 44px 0;
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 64px;
  height: auto;
}

.footer-left strong {
  display: block;
  color: var(--white);
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.admin-footer-btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.admin-footer-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* =========================================
   모달 & 토스트
   ========================================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 1120px;
  width: 96vw;
  padding: 28px 32px;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.modal-header-info {
  padding-right: 44px;
  margin-bottom: 16px;
}

.modal-cat-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.modal-title {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.35;
}

/* Before / After 필터 탭 */
.modal-ba-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.ba-tab-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-gray);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.18s;
}

.ba-tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* 메인 갤러리 뷰어 스테이지 (대형 고화질 뷰어) */
.gallery-stage {
  position: relative;
  width: 100%;
  height: clamp(480px, 68vh, 740px);
  background: #0b1120;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.gallery-stage.fullscreen-zoom {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  z-index: 999;
  border-radius: 0;
  margin: 0;
  background: rgba(5, 10, 20, 0.96);
  padding: 24px;
}

.gallery-stage.fullscreen-zoom .modal-img {
  cursor: zoom-out;
}

.stage-type-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.stage-type-badge.after {
  background: var(--blue);
}

.stage-type-badge.before {
  background: #475569;
}

.stage-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
}

.stage-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.18s;
}

.stage-nav-btn:hover {
  background: #ffffff;
}

.stage-nav-btn.prev {
  left: 12px;
}

.stage-nav-btn.next {
  right: 12px;
}

/* 6장 이상 다중 썸네일 그리드 갤러리 */
.modal-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.modal-thumb-btn {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--bg-gray);
  transition: transform 0.15s, border-color 0.15s;
}

.modal-thumb-btn.active {
  border-color: var(--blue);
  transform: scale(0.98);
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-mini-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  color: #fff;
}

.thumb-mini-tag.after {
  background: rgba(37, 99, 235, 0.92);
}

.thumb-mini-tag.before {
  background: rgba(71, 85, 105, 0.9);
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 22px;
  line-height: 1.68;
  white-space: pre-line;
  background: var(--bg-gray);
  padding: 16px 18px;
  border-radius: 12px;
}

.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 300;
}

.toast.show {
  opacity: 1;
}

.mobile-cta-bar {
  display: none;
}

/* =========================================
   반응형 (모바일 최적화)
   ========================================= */
@media (max-width: 980px) {
  .hero-box,
  .inquiry-wrap,
  .loc-box {
    grid-template-columns: 1fr;
  }

  .service-minimal-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise-bar {
    grid-template-columns: 1fr;
  }

  .process-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav,
  .header-phone,
  .header-right .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .pc-br {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .sec-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-summary,
  .simple-form,
  .loc-details {
    padding: 24px 20px;
  }

  .showcase-head-strip span {
    display: none;
  }

  .showcase-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase-more-btn {
    display: none;
  }

  .service-minimal-grid,
  .process-strip,
  .case-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  .loc-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .modal {
    padding: 12px;
  }

  .modal-box {
    padding: 20px 16px;
    max-height: 94vh;
  }

  .modal-title {
    font-size: 1.15rem;
  }

  .gallery-stage {
    height: clamp(320px, 52vh, 460px);
  }

  .stage-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }

  .modal-thumbs-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .footer {
    padding-bottom: 96px;
  }

  .footer-inner,
  .footer-left,
  .footer-right {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
  }

  .m-btn {
    padding: 13px;
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
    font-size: 0.94rem;
  }

  .m-btn.call {
    background: var(--blue-soft);
    color: var(--navy);
  }

  .m-btn.inquire {
    background: var(--navy);
    color: var(--white);
  }
}
