/* =========================================
   (주)워시텍 홈페이지 스타일
   ========================================= */

:root {
  --navy: #14206E;        /* 주색 (로고 네이비) */
  --navy-dark: #0E1550;   /* 푸터 */
  --red: #D21A0E;         /* 강조·CTA (로고 레드) */
  --text: #1A1D29;
  --text-sub: #4A5068;
  --gray-bg: #F4F5F8;
  --line: #E6E8EF;
  --input-line: #C9CDDA;
  --radius: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  word-break: keep-all;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, p { margin: 0; }

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

/* ---------- 헤더 ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo span { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-weight: 500; }
.nav__cta {
  background: var(--red); color: #fff !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 700;
}

/* ---------- 공통 ---------- */
.section { padding-top: 88px; padding-bottom: 88px; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); color: #fff; }
.section__head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; margin-bottom: 40px; }
.section__head h2, .split__text h2, .contact__info h2 {
  font-size: 38px; font-weight: 800; letter-spacing: -1px; color: var(--navy); line-height: 1.35;
}
.section--navy h2 { color: #fff; font-size: 36px; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--red); }
.eyebrow--light { color: #FFB4AC; }
.muted-light { color: #D5D9EC; font-size: 17px; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 10px; font-size: 17px; font-weight: 700;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--block { width: 100%; background: var(--red); }
.btn--block:hover { background: #B01509; }

/* ---------- 01 히어로 ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 52px; line-height: 1.25; font-weight: 800; letter-spacing: -1.5px; color: var(--navy); }
.hero__desc { font-size: 19px; color: var(--text-sub); }
.hero__img {
  flex: 1 1 480px; min-width: 0; width: 100%; height: 520px;
  object-fit: cover; object-position: center 55%; border-radius: 20px;
}

/* ---------- 02 서비스 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; color: var(--navy); }
.card h3 { font-size: 21px; font-weight: 700; color: var(--text); }
.card p { color: var(--text-sub); }

/* ---------- 03 세척 과정 ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 40px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; }
.gallery figcaption { font-size: 17px; font-weight: 700; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px;
}
.steps li { border: 1px solid var(--line); border-radius: 12px; padding: 18px; font-size: 17px; font-weight: 700; display: flex; flex-direction: column; gap: 4px; }
.steps span { font-size: 14px; font-weight: 800; color: var(--red); }

/* ---------- 04 투명 위생 / 공통 2단 ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split--top { align-items: flex-start; gap: 48px; }
.split__img { flex: 1 1 460px; min-width: 0; width: 100%; height: 420px; object-fit: cover; border-radius: 20px; }
.split__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- 05 인사말 ---------- */
#greeting { padding-bottom: 0; }
.greeting { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; font-size: 18px; color: #333848; line-height: 1.85; }
.greeting__lead { font-size: 24px; font-weight: 700; line-height: 1.5; color: var(--text); }
.greeting__sign { text-align: right; font-weight: 700; color: var(--text); margin-top: 8px; }

/* ---------- 06 이용방법 / FAQ ---------- */
.howto {
  list-style: none; margin: 0 0 48px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; text-align: center;
}
.howto li { background: var(--gray-bg); border-radius: 14px; padding: 28px 16px; font-size: 20px; font-weight: 700; display: flex; flex-direction: column; gap: 6px; }
.howto span { font-size: 14px; font-weight: 800; color: var(--red); }
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--text-sub); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 8px; color: var(--text-sub); }

/* ---------- 07 상담 ---------- */
.contact__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.form { flex: 1 1 460px; min-width: 0; background: #fff; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.form input[type="text"], .form input[type="tel"], .form input[type="number"], .form textarea {
  height: 48px; border: 1px solid var(--input-line); border-radius: 10px; padding: 0 14px;
  font-size: 16px; font-family: inherit;
}
.form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.form__agree { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 14px !important; color: var(--text-sub); }
.form__agree input { width: 18px; height: 18px; }
.form__msg { font-size: 14px; font-weight: 700; color: var(--navy); min-height: 1em; }

/* ---------- 푸터 ---------- */
.footer { background: var(--navy-dark); color: #C3C8E0; font-size: 14px; }
.footer .container { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 8px; }
.footer strong { font-size: 18px; color: #fff; }

/* ---------- 모바일 하단 상담바 ---------- */
.mobile-bar { display: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 768px) {
  .nav { display: none; }                 /* 모바일: 하단 상담바로 대체 */
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .hero__desc br, .hero h1 br { display: none; }
  .hero__img { height: 420px; }
  .section__head h2, .split__text h2, .contact__info h2, .section--navy h2 { font-size: 28px; }
  .split__img { height: 280px; }
  .form { padding: 24px; }
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -2px 10px rgba(0,0,0,.08);
  }
  .mobile-bar a { padding: 18px 0; text-align: center; font-weight: 700; background: var(--navy); color: #fff; }
  .mobile-bar .mobile-bar__cta { background: var(--red); }
}

/* ---------- 허니팟 (봇 차단용 — 화면에 보이지 않음) ---------- */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- 푸터 링크 (네이비 배경이라 별도 색) ---------- */
.footer a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer a:hover { color: #FFB4AC; }

/* ---------- 폼 동의 문구 안의 링크 ---------- */
.form__agree a { text-decoration: underline; text-underline-offset: 2px; }
