/* =============================================================
   O2OMATE — main.css
   Design system tokens + all public page components
   ============================================================= */

/* ─────────────── 1. CSS 변수 (디자인 토큰) ─────────────── */
:root {
  --black: #0d0d0d;
  --gray: #555;
  --gray-mid: #888;
  --gray-light: #bbb;
  --border: #e8e8e8;
  --bg: #f5f5f5;
  --white: #fff;
  --nav-height: 60px;
  --red: #E5302A;
  --red-dark: #C22520;
  --red-alpha: rgba(229, 48, 42, 0.08);
}

/* ─────────────── 2. 리셋 + 기본 ─────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─────────────── 3. 네비게이션 ─────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

.nav-inner {
  height: var(--nav-height);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 1px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-mid);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--red); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* 햄버거 버튼 */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* 햄버거 → X 전환 */
.nav-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-menu-btn.open span:nth-child(2) { opacity: 0; }
.nav-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 모바일 드롭다운 */
.nav-mobile {
  display: none;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.nav-mobile.open {
  max-height: 400px;
}

.nav-mobile ul {
  list-style: none;
  padding: 12px 20px 20px;
}

.nav-mobile li {
  border-bottom: 1px solid var(--border);
}

.nav-mobile li:last-child {
  border-bottom: none;
}

.nav-mobile a {
  display: block;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 400;
  color: var(--gray);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--red); }

/* ─────────────── 4. 대각선 라인 배경 (.diag-bg) ─────────────── */
.diag-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 28px,
    rgba(0,0,0,0.022) 28px,
    rgba(0,0,0,0.022) 29px
  );
  z-index: 0;
}

.diag-bg-dark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 28px,
    rgba(255,255,255,0.02) 28px,
    rgba(255,255,255,0.02) 29px
  );
  z-index: 0;
}

/* ─────────────── 5. 섹션 공통 유틸 ─────────────── */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}

.view-all {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
  padding-bottom: 2px;
  white-space: nowrap;
}

.view-all:hover { color: var(--red); gap: 10px; }
.view-all::after { content: "→"; }

/* ─────────────── 6. 버튼 ─────────────── */
.btn-primary {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  padding: 14px 30px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(229, 48, 42, 0.3);
}

/* nav 전용 소형 버튼 */
.nav-cta.btn-primary {
  padding: 9px 20px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-ghost {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}

.btn-ghost:hover { color: var(--red); gap: 10px; }
.btn-ghost::after { content: "→"; }

/* ─────────────── 7. 섹션 타이포 ─────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title-wrap {
  position: relative;
}

.section-bg-num {
  position: absolute;
  top: -0.25em;
  left: -0.06em;
  font-size: 7em;
  font-weight: 800;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  color: var(--black);
  letter-spacing: -1.5px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.section-title strong { font-weight: 700; }

/* ─────────────── 8. 마퀴 스트립 ─────────────── */
.marquee-strip {
  background: var(--black);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-content .m-item {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.marquee-content .m-item::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────── 9. 카드 공통 ─────────────── */
.work-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s;
}

.work-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.work-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 48px rgba(229,48,42,0.12);
  border-color: rgba(229,48,42,0.2);
}

.work-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
}

.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .work-thumb img { transform: scale(1.06); }

.work-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ebebeb 0%, #e0e0e0 100%);
  color: var(--gray-light);
  font-size: 13px;
}

.work-info { padding: 24px 26px; }

.work-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}

.work-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: rgba(229,48,42,0.06);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(229,48,42,0.2);
  letter-spacing: 0.3px;
}

.work-date {
  font-size: 12px;
  color: var(--gray-light);
}

.work-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.work-desc {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* 포트폴리오 그리드 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ─────────────── 10. 히어로 전용 ─────────────── */
.hero {
  padding: 130px 48px 100px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 28px,
    rgba(0,0,0,0.022) 28px,
    rgba(0,0,0,0.022) 29px
  );
  z-index: 0;
}

/* 블롭 */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 560px; height: 560px;
  background: #E5302A;
  opacity: 0.06;
  top: -120px; right: 8%;
  animation: blobDrift1 20s ease-in-out infinite;
}

.blob-2 {
  width: 420px; height: 420px;
  background: #C22520;
  opacity: 0.04;
  bottom: -60px; right: 28%;
  animation: blobDrift2 26s ease-in-out infinite;
}

.blob-3 {
  width: 380px; height: 380px;
  background: #FF6B6B;
  opacity: 0.035;
  top: 40%; left: 2%;
  animation: blobDrift3 30s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  25%      { transform: translate(-50px,35px) scale(1.08); }
  50%      { transform: translate(30px,-25px) scale(0.94); }
  75%      { transform: translate(55px,45px) scale(1.05); }
}
@keyframes blobDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(65px,-45px) scale(1.1); }
  66%      { transform: translate(-35px,25px) scale(0.91); }
}
@keyframes blobDrift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(35px,-55px) scale(1.07); }
  80%      { transform: translate(-45px,35px) scale(0.95); }
}

.hero-bg-text {
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32vw;
  font-weight: 800;
  color: rgba(0,0,0,0.028);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
  letter-spacing: -0.04em;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}

.hero-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray-mid);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
}

.hero h1 {
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: 32px;
}

.hero-line-static {
  display: block;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 300;
  color: #444;
}

/* 단어 사이클링 컨테이너 */
.hero-line-cycle {
  display: block;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800;
  color: var(--black);
  overflow: hidden;
  height: 1.1em;
  position: relative;
}

.cycle-word {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

.cycle-word.active {
  transform: translateY(0);
  opacity: 1;
}

.cycle-word.leaving {
  transform: translateY(-110%);
  opacity: 0;
}

.hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--gray-mid);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 44px;
}

.hero-desc strong {
  font-weight: 500;
  color: var(--black);
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* 히어로 우측 카드 */
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.07);
  animation: cardFloat 5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes cardFloat {
  0%,100% { transform: translateY(0); box-shadow: 0 8px 48px rgba(0,0,0,0.07); }
  50%      { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.11); }
}

.hero-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 22px;
}

.service-list { list-style: none; }

.service-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  transition: padding-left 0.2s;
  cursor: default;
}

.service-list li:last-child { border-bottom: none; }
.service-list li:hover { padding-left: 5px; }

.service-list .s-tag {
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-light);
  background: var(--bg);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.card-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.card-stats {
  display: flex;
  gap: 12px;
}

.card-stat {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  background: var(--bg);
  border-radius: 10px;
}

.card-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.card-stat-unit {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-light);
}

.card-stat-label {
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─────────────── 11. 폼 다크 섹션 ─────────────── */
.estimate {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.estimate-bg-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 28px,
    rgba(255,255,255,0.02) 28px,
    rgba(255,255,255,0.02) 29px
  );
  pointer-events: none;
}

.estimate-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.estimate-blob-1 {
  width: 500px; height: 500px;
  background: #E5302A;
  opacity: 0.1;
  top: -100px; right: -100px;
  animation: blobDrift1 22s ease-in-out infinite;
}

.estimate-blob-2 {
  width: 350px; height: 350px;
  background: #C22520;
  opacity: 0.07;
  bottom: -80px; left: 20%;
  animation: blobDrift2 28s ease-in-out infinite;
}

.estimate-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.estimate-left .section-eyebrow { color: var(--red); }
.estimate-left .section-title { color: var(--white); margin-bottom: 20px; }

.estimate-left p {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  line-height: 1.85;
  margin-bottom: 36px;
}

.promise-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.promise-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: pulseDot 2.5s ease-in-out infinite;
}

.promise-item:nth-child(2) .promise-dot { animation-delay: 0.7s; }
.promise-item:nth-child(3) .promise-dot { animation-delay: 1.4s; }

@keyframes pulseDot {
  0%,100% { transform: scale(1); opacity: 0.35; }
  50%      { transform: scale(1.7); opacity: 1; }
}

.estimate-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 40px;
  animation: formGlow 5s ease-in-out infinite;
}

@keyframes formGlow {
  0%,100% { box-shadow: 0 0 0 rgba(229,48,42,0); }
  50%      { box-shadow: 0 0 50px rgba(229,48,42,0.12); }
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(255,255,255,0.09);
}

.form-group select option { background: #1a1a1a; color: var(--white); }
.form-group textarea { resize: none; height: 110px; }

.form-submit {
  width: 100%;
  background: var(--white);
  color: var(--black);
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 18px;
  letter-spacing: -0.3px;
}

.form-submit:hover { opacity: 0.86; transform: translateY(-1px); }

.form-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  margin-top: 12px;
}

/* ─────────────── FOOTER ─────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.9;
}

.footer-nav { display: flex; gap: 56px; }

.footer-col h6 {
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 13px;
  color: var(--gray-light);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--red); }

.footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 11px; color: var(--gray-light); line-height: 1.8; }

/* ─────────────── 스크롤 reveal ─────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────── 13. 약관/정책 페이지 ─────────────── */
.policy-page {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 100px;
}

.policy-page .policy-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.policy-page h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.policy-page .policy-date {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 48px;
}

.policy-page h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin: 40px 0 12px;
  letter-spacing: -0.4px;
}

.policy-page h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  margin: 24px 0 8px;
}

.policy-page p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray);
  margin-bottom: 14px;
}

.policy-page ul, .policy-page ol {
  margin: 8px 0 16px 20px;
}

.policy-page li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 6px;
}

.policy-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}

.policy-page th, .policy-page td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  color: var(--gray);
}

.policy-page th {
  background: var(--bg);
  font-weight: 600;
  color: var(--black);
}

/* ─────────────── 12. 모바일 반응형 ─────────────── */
@media (max-width: 960px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-mobile { display: block; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { display: none; }
  .hero-bg-text { font-size: 50vw; }

  .marquee-content .m-item { padding: 0 20px; gap: 20px; }

  .section-wrap { padding: 60px 20px; }
  .works-grid { grid-template-columns: 1fr; }

  .estimate-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 20px; }

  .site-footer { padding: 40px 20px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-nav { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 340px; gap: 48px; }
}
