/* ===================================================
   더제이클린 랜딩페이지 스타일
   =================================================== */

:root {
  --navy-900: #0e2238;
  --navy-800: #14304d;
  --navy-700: #1b3f65;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-50: #eef4ff;
  --ink: #16202b;
  --ink-soft: #4a5568;
  --ink-faint: #7c8896;
  --line: #e6ebf1;
  --paper: #ffffff;
  --paper-soft: #f6f8fb;
  --accent: #d98a3d; /* 따뜻한 포인트 컬러 - 청결/신뢰 대비용 */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(14, 34, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(14, 34, 56, 0.10);
  --shadow-lg: 0 24px 64px rgba(14, 34, 56, 0.16);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system,
    BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.35;
}
.section-head p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-soft);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

section { padding: 96px 0; }
@media (max-width: 640px) {
  section { padding: 64px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-800); box-shadow: var(--shadow-md); }

.btn-kakao {
  background: #FEE500;
  color: #191600;
}
.btn-kakao:hover { box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy-900); }

.btn-block { width: 100%; }
.btn-lg { padding: 17px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--blue-600); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--navy-900); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: 640px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 56px 90px 24px;
  max-width: 620px;
  margin-left: auto;
}
.hero-copy .eyebrow {
  background: rgba(59, 130, 246, 0.16);
  color: #9ec1ff;
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
}
.hero h1 em {
  font-style: normal;
  color: #6fa3ff;
}
.hero-sub {
  margin-top: 22px;
  color: #c3d1e3;
  font-size: 17px;
  line-height: 1.7;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-trust strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.hero-trust span {
  color: #93a5bd;
  font-size: 13px;
}

.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,34,56,0.55) 0%, rgba(14,34,56,0) 30%);
}
.hero-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}
.hero-badge strong { display: block; font-size: 14px; color: var(--navy-900); }
.hero-badge span { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { margin: 0; max-width: none; padding: 64px 24px 40px; }
  .hero-media { order: -1; min-height: 280px; }
  .hero-media img { min-height: 280px; }
  .hero-badge { display: none; }
}

/* ---------- Marquee / trust strip ---------- */
.trust-strip {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-strip .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-strip svg { width: 18px; height: 18px; color: var(--blue-600); flex-shrink: 0; }

/* ---------- Services ---------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-media { aspect-ratio: 4/3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 26px 24px 28px; }
.service-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: #fbf1e6;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.service-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.service-body p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.service-body ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-body li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.service-body li svg { width: 16px; height: 16px; color: var(--blue-600); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 900px) {
  .service-list { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process {
  background: var(--navy-900);
  color: #fff;
}
.process .section-head h2 { color: #fff; }
.process .section-head p { color: #a9b8cc; }
.process .eyebrow { background: rgba(59,130,246,0.16); color: #9ec1ff; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}
.step-num {
  font-size: 13px;
  font-weight: 800;
  color: #6fa3ff;
  letter-spacing: 0.04em;
}
.step h3 {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.step p {
  margin-top: 8px;
  font-size: 13.5px;
  color: #a9b8cc;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ---------- Why us ---------- */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.why-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.why-point { display: flex; gap: 16px; }
.why-point .num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.why-point h3 { font-size: 16.5px; font-weight: 700; color: var(--navy-900); }
.why-point p { margin-top: 6px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--paper-soft); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.review-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.review-card p {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.7;
}
.review-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-faint);
  font-weight: 600;
}
.review-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

.review-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
}

@media (max-width: 900px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-900);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  overflow: hidden;
}
.final-cta .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.final-cta h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.4;
}
.final-cta p {
  margin-top: 14px;
  color: #b9c7db;
  font-size: 15.5px;
}
.final-cta-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.consult-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.consult-form h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-900);
}
.consult-form p.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 6px; }
.form-row { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper-soft);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 1px;
  background: #fff;
}
.form-actions { margin-top: 20px; }
.form-status {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--blue-600);
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }

@media (max-width: 900px) {
  .final-cta .wrap { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1c2e;
  color: #8ba0ba;
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 13.5px; max-width: 320px; line-height: 1.7; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 13.5px; color: #8ba0ba; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #5f7288;
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(14,34,56,0.12);
}
@media (max-width: 640px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 1; transform: none; }

/* ---------- Mobile nav drawer ---------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .backdrop {
  position: absolute; inset: 0;
  background: rgba(14,34,56,0.5);
}
.mobile-drawer .panel {
  position: absolute;
  top: 0; right: 0;
  width: 78%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-drawer .panel a {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
}
.drawer-close {
  align-self: flex-end;
  background: none; border: none; font-size: 22px; color: var(--ink-faint);
}
