/* =========================================================
   강동구 이사·청소 – 통합 디자인 시스템
   강동구.KR 브랜드 기준 통일
   ========================================================= */

:root {
  --gold:       #d4af37;
  --gold-2:     #f0c040;
  --gold-light: rgba(212,175,55,.12);
  --dark:       #111318;
  --dark-2:     #1b1f27;
  --text:       #1b1b1b;
  --text-2:     #374151;
  --muted:      #6b7280;
  --border:     rgba(0,0,0,.09);
  --white:      #ffffff;
  --bg:         #f8f8f6;
  --accent:     #2563eb;
  --success:    #16a34a;
  --radius:     14px;
  --radius-sm:  10px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.13);
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ── Layout ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section.white { background: var(--white); }
.section.bg { background: var(--bg); }
.section.dark { background: var(--dark); color: var(--white); }

/* ── Typography ── */
h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1.25; }
h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 700; line-height: 1.3; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 700; }
p  { color: var(--text-2); }

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1b1b1b;
  box-shadow: 0 4px 20px rgba(212,175,55,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212,175,55,.45); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-light {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-light:hover { border-color: var(--gold); color: var(--gold); }

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-gold-outline:hover { background: var(--gold); color: #1b1b1b; }

.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 38px; font-size: 17px; }

/* ── Header / Nav ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  color: #1b1b1b;
}
.brand-title { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.2; }
.brand-sub   { font-size: 10px; color: var(--muted); font-weight: 400; }

.nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--bg); }

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}

.mobile-menu-btn {
  display: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* ── Site Banner (연동 배너) ── */
.site-banner {
  background: var(--dark-2);
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.site-banner a { color: var(--gold-2); font-weight: 700; }
.site-banner a:hover { text-decoration: underline; }

/* ── Hero ── */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(160deg, #0f1117 0%, #1a1e2a 60%, #0d1520 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}

.hero .kicker { color: var(--gold-2); }

.hero h1 { color: var(--white); margin: 16px 0 20px; }
.hero h1 span { color: var(--gold-2); }
.hero > .container > div > p { color: rgba(255,255,255,.65); font-size: 17px; margin-bottom: 32px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
.trust-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Hero 카드 패널 */
.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(12px);
}
.hero-panel-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-2);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.panel-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.panel-service:last-child { border-bottom: none; }
.panel-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(212,175,55,.15);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.panel-service h4 { color: var(--white); font-size: 15px; margin-bottom: 2px; }
.panel-service p  { font-size: 12px; color: rgba(255,255,255,.45); margin: 0; }
.panel-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212,175,55,.2);
  color: var(--gold-2);
  flex-shrink: 0;
}

/* ── Section Head ── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.section-head > div > h2 { margin-top: 8px; }
.section-head > div > p  { margin-top: 10px; max-width: 560px; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── Service Cards ── */
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  font-size: 34px;
  margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p  { font-size: 14px; margin-bottom: 20px; }
.service-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold-light);
  color: #9a7b1a;
}

/* ── How It Works ── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.step {
  padding: 36px 32px;
  text-align: center;
  position: relative;
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -16px; top: 44px;
  font-size: 22px;
  color: var(--gold);
  font-weight: 900;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #1b1b1b;
  margin: 0 auto 18px;
}
.step h3 { margin-bottom: 8px; }
.step p  { font-size: 14px; }

/* ── Trust Section ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.trust-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
}
.trust-card .icon { font-size: 30px; margin-bottom: 12px; }
.trust-card h4    { font-size: 15px; margin-bottom: 6px; }
.trust-card p     { font-size: 13px; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  gap: 16px;
}
.faq-q .arrow {
  font-size: 20px;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--gold);
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding-top: 12px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: 20px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,.6); margin-top: 8px; }
.cta-banner .kicker { color: var(--gold-2); }

/* ── Form ── */
.form-page {
  padding: 72px 0;
  background: var(--bg);
  min-height: 80vh;
}
.form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-header { margin-bottom: 36px; }
.form-header .kicker { margin-bottom: 8px; }
.form-header h1 { font-size: 28px; }
.form-header p  { margin-top: 10px; }

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

label.field-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
label.field-label span { color: #e53e3e; margin-left: 3px; }

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.15);
}
.field-textarea { resize: vertical; min-height: 110px; }

.service-selector { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.service-option { display: none; }
.service-option + label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}
.service-option + label .icon { font-size: 26px; }
.service-option:checked + label {
  border-color: var(--gold);
  background: var(--gold-light);
  color: #9a7b1a;
}

.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-option { display: none; }
.radio-option + label {
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.radio-option:checked + label {
  border-color: var(--gold);
  background: var(--gold-light);
  color: #9a7b1a;
}

.consent-box {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 8px;
}
.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  cursor: pointer;
}
.consent-label input { margin-top: 3px; accent-color: var(--gold); }

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1b1b1b;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212,175,55,.35);
}
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212,175,55,.45); }
.form-submit-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.success-message {
  display: none;
  text-align: center;
  padding: 48px 32px;
}
.success-message.show { display: block; }
.success-icon { font-size: 52px; margin-bottom: 20px; }
.success-message h2 { margin-bottom: 12px; }
.success-message p  { max-width: 400px; margin: 0 auto 28px; }

/* ── Partner Cards ── */
.partner-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.partner-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.partner-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.partner-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.partner-name { font-weight: 700; font-size: 16px; }
.partner-area { font-size: 13px; color: var(--muted); margin-top: 2px; }
.partner-services { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.partner-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
}
.verified-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(22,163,74,.1);
  color: var(--success);
}

/* ── Page Hero (내부 페이지) ── */
.page-hero {
  padding: 60px 0 52px;
  background: linear-gradient(160deg, var(--dark) 0%, #1a2030 100%);
  color: var(--white);
}
.page-hero .kicker { color: var(--gold-2); margin-bottom: 12px; }
.page-hero h1 { color: var(--white); font-size: clamp(26px,3.5vw,40px); }
.page-hero p  { color: rgba(255,255,255,.6); margin-top: 12px; font-size: 17px; max-width: 560px; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ── Privacy Page ── */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 40px 0 14px; padding-top: 40px; border-top: 1px solid var(--border); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose p   { font-size: 15px; line-height: 1.85; margin-bottom: 14px; }
.prose ul  { padding-left: 20px; margin-bottom: 14px; }
.prose ul li { font-size: 15px; line-height: 1.85; list-style: disc; color: var(--text-2); margin-bottom: 4px; }

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid p   { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.75; margin: 12px 0; }
.footer-grid small { font-size: 12px; color: rgba(255,255,255,.35); }
.footer-grid h4  { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { font-size: 14px; color: rgba(255,255,255,.45); transition: var(--transition); }
.footer-grid ul li a:hover { color: var(--gold-2); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom small { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-site-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.footer-site-link:hover { border-color: var(--gold); color: var(--gold-2); }
.footer-site-link .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

/* ── Reveal Animation ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -14px; transform: translateX(-50%); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: 36px 24px; text-align: center; justify-content: center; }
  .cta-banner > div { text-align: center; }
  .form-wrapper { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .service-selector { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:first-child { display: none; }
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .header-actions .btn:not(.btn-primary) { display: none; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .service-selector { grid-template-columns: 1fr 1fr; }
}
