/* 교회 창고·재고 관리 — 홍보/신청 사이트 공용 스타일 (앱과 동일 파란 톤) */
:root {
  --blue: #1e3a8a;
  --blue-d: #152a63;
  --hero-blue: #2563eb;
  --red: #FF3333;
  --red-d: #FF0021;
  --accent: #22c55e;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: system-ui, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.7; -webkit-font-smoothing: antialiased;
  word-break: keep-all; overflow-wrap: break-word;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section h2 { font-size: 26px; margin: 0 0 8px; text-align: center; }
.section .lead { text-align: center; color: var(--muted); margin: 0 auto 32px; max-width: 620px; }

/* 상단 네비 */
header.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: #1d4ed8; text-decoration: none; }
.brand .logo { font-size: 22px; }
.brand .brand-mark { display: block; }
.brand small { font-weight: 600; font-size: 12px; color: var(--muted); margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { text-decoration: none; color: #334155; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--hero-blue); }
.nav-links a.btn { color: #fff; }

/* 버튼 */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 16px; border: none; cursor: pointer; }
.btn:hover { background: var(--red-d);  color: #fff;  }
.btn.lg { padding: 15px 30px; font-size: 17px; }
.btn.ghost { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
.btn.block { display: block; width: 100%; text-align: center; }

/* 히어로 (텍스트 + 사진 분리 레이아웃) */
.hero { background: linear-gradient(180deg, #e9f1ff 0%, #f4f9ff 55%, #fbfdff 100%);
  color: var(--text); padding: 52px 0 40px; border-bottom: 1px solid #e6eefb; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.18; margin: 0 0 18px; font-weight: 800; letter-spacing: -.6px; }
.hero h1 .hl { color: var(--hero-blue); }
.hero-sub { font-size: 17.5px; color: #475569; margin: 0 0 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* 히어로 기능 칩 */
.hero-feats { list-style: none; padding: 0; margin: 0 0 22px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero-feats li { text-align: left; }
.hero-feats .hf-ico { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #dbe7fb; border-radius: 13px; color: var(--hero-blue);
  box-shadow: 0 4px 12px rgba(37,99,235,.09); margin-bottom: 9px; }
.hero-feats .hf-ico svg { width: 24px; height: 24px; }
.hero-feats b { display: block; font-size: 14.5px; color: #1e293b; }
.hero-feats small { display: block; font-size: 12.5px; color: #64748b; line-height: 1.45; margin-top: 3px; }

/* 신뢰 배너 */
.hero-trust { display: flex; gap: 12px; align-items: flex-start;
  background: #eaf1fe; border: 1px solid #d5e4fd; border-radius: 14px; padding: 15px 17px; margin: 0 0 26px; }
.hero-trust .ht-ico { flex: none; width: 28px; height: 28px; color: var(--hero-blue); }
.hero-trust p { margin: 0; font-size: 14.5px; color: #334155; line-height: 1.6; }
.hero-trust b { color: #1d4ed8; }

/* 히어로 사진 (세로 컷 — 손+휴대폰 스캔 부분을 우선 노출) */
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 100%;
  max-height: 620px; border-radius: 20px; border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(30,58,138,.18); display: block; }

/* 프로세스 흐름 */
.hero-flow { display: flex; align-items: flex-start; gap: 4px;
  margin-top: 36px; padding-top: 26px; border-top: 1px dashed #cdddf7; }
.hf-step { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
  font-size: 13px; font-weight: 600; color: #334155; flex: 0 0 auto; width: 92px; }
.hf-step .hfs-ico { color: var(--hero-blue); }
.hf-step .hfs-ico svg { width: 30px; height: 30px; }
.hf-line { flex: 1 1 auto; height: 0; border-top: 2px dotted #b9cdf0; margin: 18px 2px 0; min-width: 14px; }

/* 고민 → 해결 카드 */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 6px 18px rgba(30,58,138,.06); }
.pb-q { background: #fff6f4; border-bottom: 1px dashed #f3cec4; padding: 20px 20px 18px; }
.pb-ico { display: block; font-size: 26px; margin-bottom: 8px; }
.pb-q p { margin: 0; font-size: 16px; font-weight: 700; color: #9a3412; line-height: 1.55; }
.pb-a { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; }
.pb-tag { align-self: flex-start; background: #eaf1fe; color: #1d4ed8;
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.pb-a p { margin: 0; font-size: 14.5px; color: #334155; line-height: 1.65; }
.pb-a b { color: #1d4ed8; }

/* 기능 카드 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature .ico { font-size: 30px; }
.feature h3 { font-size: 17px; margin: 10px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* 화면 미리보기 */
.shots { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.shots figure { margin: 0; text-align: center; width: 210px; }
.shots img { width: 100%; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.10); background: #fff; }
.shots figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* 절차 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 14px; text-align: center; }
.step .n { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; border-radius: 50%; font-weight: 700; margin-bottom: 8px; }
.step b { display: block; font-size: 15px; }
.step span { font-size: 13px; color: var(--muted); }

/* 요금 */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.price-card h3 { margin: 0 0 4px; font-size: 18px; }
.price-card .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.price-list li:last-child { border-bottom: none; }
.price-list .amt { font-weight: 700; white-space: nowrap; }
.draft-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin: 18px auto 0; max-width: 720px; }
.warn-note { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: #991b1b; margin: 10px auto 0; max-width: 720px; }

/* 연락 가능 시간 */
.price-list li.hours-row { flex-wrap: wrap; }
.hours-label { white-space: nowrap; }
.contact-hours { color: var(--blue); font-weight: 700; white-space: nowrap; }
.contact-hours small { color: var(--muted); font-weight: 400; font-size: 12.5px; margin-left: 4px; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 4px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.faq details p { margin: 0 0 14px; color: #374151; }

/* CTA 밴드 */
.cta-band { background: var(--blue); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.9); }

/* 폼 */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; max-width: 620px; margin: 0 auto; }
.form-card label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; font-family: inherit; }
.form-card .req { color: #dc2626; }
.form-card .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.form-row { display: flex; gap: 12px; }
.form-row > div { flex: 1; }
.form-msg { margin-top: 14px; padding: 12px; border-radius: 10px; font-size: 14px; display: none; }
.form-msg.ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; display: block; }
.form-msg.err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; display: block; }

/* 푸터 */
footer.site { background: #0f172a; color: #cbd5e1; padding: 30px 0 48px; font-size: 14px; }
footer.site .wrap { display: flex; flex-direction: column; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; text-align: center; }
footer.site a { color: #cbd5e1; }

/* 반응형 */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero h1 { font-size: 33px; }
  .hero-sub { font-size: 16px; }
  .hero .cta-row { justify-content: center; }
  .hero-photo { order: -1; max-width: 400px; margin: 0 auto; }
  .hero-photo img { aspect-ratio: 1 / 1; max-height: 400px; }
  .hero-feats { max-width: 470px; margin-left: auto; margin-right: auto; }
  .hero-feats li { text-align: center; }
  .hero-trust { text-align: left; max-width: 560px; margin-left: auto; margin-right: auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .problems { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-flow { flex-wrap: wrap; justify-content: center; gap: 16px 10px; }
  .hf-line { display: none; }
  .hf-step { width: 28%; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero-feats { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }

  /* 모바일 폰트·여백 최적화 */
  .section { padding: 40px 0; }
  .section h2 { font-size: 21px; }
  .section .lead { font-size: 14.5px; margin-bottom: 26px; }
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 27px; line-height: 1.25; }
  .hero-sub { font-size: 14.5px; }
  .hero-trust p { font-size: 13.5px; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 14px; }
  .pb-q p { font-size: 15px; }
  .pb-a p { font-size: 13.5px; }
  .price-list li { font-size: 14px; }
  .faq summary { font-size: 15px; }
  .faq details p { font-size: 14px; }
  .btn.lg { padding: 13px 22px; font-size: 15.5px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 24px; }
  .section h2 { font-size: 20px; }
  .hero-feats b { font-size: 13.5px; }
  .hero-feats small { font-size: 12px; }
}
