/* ============================================================
   미르경량철골 (MIR LIGHTWEIGHT STEEL) 공식 스타일시트
   Reference Design System: newsm.ai.kr
   대표: 최경동 | 051-973-3370 | 부산 강서구 낙동북로108번길 8
============================================================ */

/* CSS Variables */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f3ee;
  --fg: #211d1a;
  --muted: #726a5f;
  --border: #e7e1d7;
  --accent: #a35d3a;
  --accent-soft: #f5ebe2;
  --accent-hover: #8c4c2d;
  --ink: #1c1917;
  --ink-card: #25211e;
  --max: 1080px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 12px rgba(33, 29, 26, 0.05);
  --shadow-md: 0 12px 30px rgba(33, 29, 26, 0.09);
  --shadow-lg: 0 20px 44px rgba(0, 0, 0, 0.28);
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --header-height: 70px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utilities */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sec {
  padding: 5rem 0;
  position: relative;
}

.sec--soft {
  background: var(--bg-soft);
}

.sec--dark {
  background: var(--ink);
  color: #ede6de;
}

.sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.sec__head--center {
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.sec__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.sec__eyebrow--on {
  color: #d9a985;
}

.sec__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.sec__title--on {
  color: #ffffff;
}

.sec__desc {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 38rem;
  line-height: 1.6;
}

.sec__desc--on {
  color: #b5aba0;
}

/* ============================================================
   1. SITE HEADER (newsm.ai.kr 스티키 바)
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.site-header .bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

/* Brand Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--fg);
  flex-shrink: 0;
}

.brand-logo-img {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.02);
}

.footer-logo-img {
  display: block;
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cta-phone--mobile {
  background: #1e3a5f !important;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.35) !important;
}

.cta-phone--mobile:hover {
  background: #142842 !important;
}

.float-btn--tel {
  background: #25201d;
  color: #ffffff !important;
}

/* Navigation Links */
.nav {
  display: flex;
  align-items: center;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  flex-shrink: 0;
}

.nav a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav a:hover,
.nav a.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav a.nav-consult {
  color: var(--accent);
  font-weight: 700;
  position: relative;
}

/* Header CTA Phone */
.cta-phone {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(163, 93, 58, 0.35);
  transition: all 0.2s ease;
}

.cta-phone:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(163, 93, 58, 0.45);
}

.cta-phone .cta-ic {
  font-size: 1.05rem;
  line-height: 1;
}

.cta-phone .cta-num {
  letter-spacing: 0.02em;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   2. HERO SECTION (newsm.ai.kr 다크 와이드 슬라이더)
============================================================ */
.hero {
  background: radial-gradient(1200px 520px at 80% -10%, rgba(163, 93, 58, 0.35), transparent 60%),
              radial-gradient(800px 400px at 10% 90%, rgba(163, 93, 58, 0.15), transparent 50%),
              var(--ink);
  color: #ece5db;
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3.2rem;
}

/* Background Blueprint Grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
}

.hero__wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.8rem;
  align-items: center;
}

/* Hero Left Text */
.hero__text {
  display: flex;
  flex-direction: column;
}

.hero__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.75rem;
  margin: 0 0 1rem;
}

.hero__brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.hero__brand-sub {
  padding-left: 0.75rem;
  border-left: 1px solid rgba(236, 229, 219, 0.35);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d9a985;
}

.hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-weight: 800;
}

.hero__title .hl {
  color: #e59d6e;
  background: none;
}

.hero__sub {
  margin: 0 0 1.8rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #c9c0b4;
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(163, 93, 58, 0.4);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163, 93, 58, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ece5db;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Right Slider */
.hero__media {
  position: relative;
  aspect-ratio: 2.1 / 1.35;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #25201d;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 6s linear;
}

.hero__slide.is-on {
  opacity: 1;
  transform: scale(1.08);
}

.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 17, 15, 0.88) 0%, rgba(20, 17, 15, 0.25) 45%, transparent 70%);
  pointer-events: none;
}

.hero__now {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  z-index: 2;
}

.hero__caps {
  display: grid;
  min-width: 0;
  flex: 1;
}

.hero__cap {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.hero__cap.is-on {
  opacity: 1;
  visibility: visible;
}

.hero__cap-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #e3b48f;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.hero__cap-title {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.hero__arrow {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(20, 17, 15, 0.65);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hero__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero__count {
  min-width: 3.8rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.hero__count b {
  color: #ffffff;
}

/* ============================================================
   3. QUICK HIGHLIGHT BANNER (newsm.ai.kr fxb 스타일)
============================================================ */
.fxb {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--fg);
  background: linear-gradient(90deg, #fff7ee, #ffffff 45%, #f4f8f4);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #a35d3a, #cf825b 40%, #5a8a5b 70%, #2f6b35) 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.fxb__wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.fxb__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--accent);
  border: 1px solid var(--border);
}

.fxb__text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.fxb__kicker {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.fxb__kicker b {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--accent);
}

.fxb__kicker b:last-child {
  background: #396f42;
}

.fxb__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.fxb__title em {
  font-style: normal;
  color: var(--accent);
}

.fxb__sub {
  min-width: 0;
  font-size: 0.88rem;
  color: #635c55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fxb__cta {
  flex: 0 0 auto;
  padding: 0.48rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), #cf825b);
  box-shadow: 0 4px 14px rgba(163, 93, 58, 0.3);
  transition: transform 0.15s ease;
}

.fxb:hover .fxb__cta {
  transform: translateX(4px);
}

/* ============================================================
   4. BUSINESS AREAS (4대 사업분야)
============================================================ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.biz {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.biz:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.biz__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.biz__icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
}

.biz__tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.biz__title {
  margin: 0 0 0.6rem;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.biz__desc {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
}

.biz__list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px dashed var(--border);
  padding-top: 0.8rem;
}

.biz__list li {
  font-size: 0.84rem;
  color: #4f473e;
  position: relative;
  padding-left: 0.9rem;
}

.biz__list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.biz__go {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
}

/* ============================================================
   5. PORTFOLIO / WORKS (시공사례 그리드 & 필터)
============================================================ */
.work-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
}

.work-tab {
  padding: 0.5rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
  background: transparent;
}

.work-tab:hover {
  color: var(--fg);
  background: rgba(0, 0, 0, 0.04);
}

.work-tab.is-active {
  background: var(--fg);
  color: #ffffff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.work {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.work:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.work__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--bg-soft);
}

.work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work:hover .work__img {
  transform: scale(1.05);
}

.work__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(28, 25, 23, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.work__cap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem 1.05rem;
}

.work__tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.work__label {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--fg);
  margin: 0.1rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work__loc {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.work__specs {
  font-size: 0.8rem;
  color: #8c8275;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.2rem;
}

/* ============================================================
   6. WHY MIR (미르를 선택하는 이유)
============================================================ */
.str-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.str {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.str:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.str__no {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}

.str__title {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.str__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   7. PROCESS TIMELINE (7단계 시공 프로세스)
============================================================ */
.proc {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.85rem;
}

.proc__item {
  position: relative;
  padding: 1.4rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.proc__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(217, 169, 133, 0.4);
}

.proc__no {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.proc__title {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.proc__desc {
  color: #a89f92;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ============================================================
   8. ABOUT MIR (회사소개 & 가치)
============================================================ */
.about {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about__lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.8rem;
}

.about__facts {
  margin: 0;
  display: grid;
  border-bottom: 1px solid var(--border);
}

.about__facts > div {
  display: grid;
  grid-template-columns: 6.8rem 1fr;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.96rem;
  align-items: baseline;
}

.about__facts dt {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}

.about__facts dd {
  margin: 0;
  color: var(--fg);
  font-weight: 500;
}

.about__values {
  display: grid;
  gap: 1.1rem;
}

.val {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.val__en {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.val__ko {
  margin: 0.25rem 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.val__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ============================================================
   9. CONTACT SECTION (간편 온라인 견적/상담 폼)
============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.2rem;
  align-items: start;
}

.contact__lead {
  color: var(--muted);
  margin: 0 0 1.8rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.contact__list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
}

.contact__list li {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.96rem;
  align-items: baseline;
}

.contact__list span {
  color: var(--muted);
  font-weight: 700;
}

.contact__list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--fg);
}

.contact__list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact__list em {
  font-style: normal;
  color: var(--fg);
}

.contact__badge-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-top: 1.5rem;
}

.contact__badge-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.contact__badge-desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

/* Form Styles */
.cf {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.cf__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.fld {
  display: block;
  margin-bottom: 1.1rem;
}

.fld > span {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--fg);
}

.fld > span em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
}

.fld input,
.fld select,
.fld textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  font: inherit;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.15s ease, outline 0.15s ease;
}

.fld textarea {
  resize: vertical;
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.cf__agree {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0.5rem 0 1.2rem;
  cursor: pointer;
}

.cf__agree input {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.cf__btn {
  width: 100%;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.6rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(163, 93, 58, 0.35);
  transition: all 0.2s ease;
}

.cf__btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(163, 93, 58, 0.45);
}

.cf__btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.cf__note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.cf__note.is-ok {
  color: #2f6b35;
  font-weight: 700;
  background: #eefaf0;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #c2e8c8;
}

.cf__note.is-err {
  color: #b23b3b;
  font-weight: 700;
  background: #fdf2f2;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #f8d7da;
}

/* ============================================================
   10. SITE FOOTER (newsm.ai.kr 다크 푸터)
============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--ink);
  color: #cfc7bc;
  padding: 4rem 0 2rem;
}

.site-footer .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.2fr 1fr;
  gap: 2.2rem 1.8rem;
}

.footer-col h4 {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 800;
}

.footer-col p {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-col strong {
  color: #efe9e0;
  font-weight: 700;
  margin-right: 0.2rem;
}

.footer-col .dim {
  color: #9b9287;
  font-size: 0.84rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.footer-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.ftag {
  color: #e7ddcf !important;
  font-size: 0.96rem !important;
  font-weight: 600;
  margin: 0.4rem 0 !important;
}

.fnote {
  color: #9b9287 !important;
  font-size: 0.86rem !important;
}

.site-footer a {
  color: #cfc7bc;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.6rem !important;
}

.site-footer .bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9b9287;
  font-size: 0.84rem;
}

.site-footer .bottom p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #9b9287;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* ============================================================
   11. LIGHTBOX MODAL (상세 시공사례 팝업)
============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.15s ease;
}

.modal-close:hover {
  background: var(--accent);
}

.modal-gallery {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1c1917;
  overflow: hidden;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

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

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.modal-prev:hover,
.modal-next:hover {
  background: var(--accent);
}

.modal-prev { left: 1rem; }
.modal-next { right: 1rem; }

.modal-info {
  padding: 1.8rem 2rem 2.2rem;
}

.modal-tag {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: inline-block;
}

.modal-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  background: var(--bg-soft);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.4rem;
}

.modal-meta-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

.modal-meta-item strong {
  font-size: 0.94rem;
  color: var(--fg);
}

.modal-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4a4239;
  margin-bottom: 1.6rem;
}

.modal-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.modal-thumb {
  width: 80px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.15s ease;
}

.modal-thumb.is-active,
.modal-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}

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

/* ============================================================
   12. FLOATING QUICK ACTION BUTTONS
============================================================ */
.floating-quick {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
}

.float-btn--phone {
  background: var(--accent);
  color: #ffffff !important;
}

.float-btn--top {
  width: 44px;
  height: 44px;
  padding: 0;
  background: #ffffff;
  color: var(--fg);
  border: 1px solid var(--border);
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease;
}

.float-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   13. RESPONSIVE DESIGN (미디어 쿼리)
============================================================ */
@media (max-width: 1024px) {
  .hero__wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__media {
    aspect-ratio: 2 / 1.1;
  }
  .biz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .str-grid {
    grid-template-columns: 1fr;
  }
  .proc {
    grid-template-columns: repeat(4, 1fr);
  }
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .site-footer .top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  .site-header .bar {
    padding: 0.5rem 1rem;
  }
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .nav a {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
  }
  .brand-logo-img {
    height: 42px;
  }
  .header-ctas {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .cta-phone {
    display: none;
  }
  .hero {
    padding: 2.5rem 0 2rem;
  }
  .hero__title {
    font-size: 1.85rem;
  }
  .hero__media {
    aspect-ratio: 16 / 10;
  }
  .fxb__wrap {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .fxb__text {
    width: 100%;
    order: 3;
  }
  .proc {
    grid-template-columns: repeat(2, 1fr);
  }
  .cf {
    padding: 1.4rem;
  }
  .cf__row {
    grid-template-columns: 1fr;
  }
  .site-footer .top {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .modal-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .biz-grid,
  .work-grid,
  .proc {
    grid-template-columns: 1fr;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
  }
}

/* Consult Badge Bubble */
.consult-bubble {
  position: absolute;
  top: -0.65rem;
  right: -0.9rem;
  background: #ef4444;
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
  animation: bubble-pop 1.8s ease-in-out infinite;
}

@keyframes bubble-pop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
