/* ADCORP 문의 입구 공용 스타일 (2026-11-17)
   - .lb-mid   : 서비스·지역·회사소개 페이지 본문 중간의 상담 입구
   - .lb-quote : 비용 안내 페이지의 빠른 견적 상자
   - .lb-geo   : 글·용어사전의 무료 GEO 진단 입구
   글 페이지는 tokens.css를 불러오지 않으므로 모든 색에 대체값을 둔다. */

.lb-mid, .lb-quote, .lb-geo {
  --lb-brand: var(--color-brand, #FF3659);
  --lb-brand-dark: var(--color-brand-dark, #E01B45);
  --lb-brand-light: var(--color-brand-light, #FFECEF);
  --lb-ink: var(--color-dark, #2B2D42);
  --lb-navy: var(--color-navy, #101828);
  --lb-muted: #667085;
  --lb-line: var(--color-border, #E5E7EB);
  font-family: var(--font-sans, 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif);
  box-sizing: border-box;
}
.lb-mid *, .lb-quote *, .lb-geo * { box-sizing: border-box; }

/* 공용 버튼 */
.lb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.lb-btn--pri { background: var(--lb-brand); color: #fff; }
.lb-btn--pri:hover { background: var(--lb-brand-dark); transform: translateY(-1px); }
.lb-btn--line { background: transparent; color: var(--lb-ink); border: 1px solid var(--lb-line); }
.lb-btn--line:hover { border-color: var(--lb-ink); }
.lb-btn:focus-visible { outline: 3px solid var(--lb-brand); outline-offset: 3px; }
.lb-btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ── 본문 중간 상담 입구 ── */
.lb-mid { padding: 8px 0 56px; }
.lb-mid__card {
  width: min(1080px, calc(100% - 40px)); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 28px 32px; border-radius: 24px;
  background: var(--lb-brand-light); border-left: 6px solid var(--lb-brand);
}
.lb-mid__eyebrow { margin: 0 0 8px; color: var(--lb-brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.lb-mid__title { margin: 0 0 8px; color: var(--lb-ink); font-size: clamp(19px, 2.6vw, 23px); font-weight: 800; line-height: 1.35; word-break: keep-all; }
.lb-mid__desc { margin: 0; color: #5b4048; font-size: 15px; line-height: 1.65; word-break: keep-all; }
.lb-mid__actions { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.lb-mid__actions .lb-btn--line { background: #fff; }
@media (max-width: 760px) {
  .lb-mid__card { grid-template-columns: 1fr; padding: 24px 22px; }
  .lb-mid__actions { min-width: 0; }
}

/* ── 빠른 견적 상자 ── */
.lb-quote__box {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px;
  padding: 36px; border-radius: 24px; background: var(--lb-navy); color: #fff;
  box-shadow: 0 24px 60px -30px rgba(16, 24, 40, .55);
}
.lb-quote__eyebrow { margin: 0 0 12px; color: #FF8AA1; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.lb-quote__title { margin: 0 0 12px; font-size: clamp(22px, 3.2vw, 28px); font-weight: 800; line-height: 1.3; word-break: keep-all; }
.lb-quote__desc { margin: 0 0 18px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.7; word-break: keep-all; }
.lb-quote__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lb-quote__points li { position: relative; padding-left: 22px; color: rgba(255,255,255,.85); font-size: 14px; word-break: keep-all; }
.lb-quote__points li::before { content: "✓"; position: absolute; left: 0; color: #FF8AA1; font-weight: 800; }

/* 접수 완료 후 입력칸을 숨긴다 — 아래 display:grid/flex가 브라우저 기본 [hidden]을 덮지 않도록 */
.lb-quote [hidden] { display: none !important; }
.lb-quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; }
.lb-quote__field { display: grid; gap: 6px; }
.lb-quote__field--full { grid-column: 1 / -1; }
.lb-quote__field label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }
.lb-quote__field label em { color: #FF8AA1; font-style: normal; }
.lb-quote__field input, .lb-quote__field select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff;
  font: inherit; font-size: 16px; /* iOS 확대 방지 */
}
.lb-quote__field select option { color: #101828; }
.lb-quote__field input::placeholder { color: rgba(255,255,255,.4); }
.lb-quote__field input:focus, .lb-quote__field select:focus { outline: 2px solid #FF8AA1; outline-offset: 1px; border-color: transparent; }
.lb-quote__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lb-quote__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.lb-quote__privacy { margin: 0; color: rgba(255,255,255,.5); font-size: 12.5px; }
.lb-quote__privacy a { color: rgba(255,255,255,.75); text-decoration: underline; }
.lb-quote__msg { grid-column: 1 / -1; display: none; margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.6; }
.lb-quote__msg.is-error { display: block; background: #FFF1F2; color: #BE123C; }
.lb-quote__done { display: none; grid-column: 1 / -1; padding: 28px; border-radius: 16px; background: rgba(255,255,255,.06); text-align: center; }
.lb-quote__done.is-visible { display: block; }
.lb-quote__done strong { display: block; margin-bottom: 8px; font-size: 19px; }
.lb-quote__done p { margin: 0; color: rgba(255,255,255,.75); font-size: 14.5px; word-break: keep-all; }
@media (max-width: 860px) {
  .lb-quote__box { grid-template-columns: 1fr; gap: 26px; padding: 28px 22px; }
}
@media (max-width: 520px) {
  .lb-quote__form { grid-template-columns: 1fr; }
}

/* ── 무료 GEO 진단 입구 (글·용어사전) ── */
.lb-geo {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin: 36px 0; padding: 22px 24px; border-radius: 16px;
  background: #F8F9FF; border: 1px solid #DDE3F4;
}
.lb-geo__text { min-width: 0; }
.lb-geo__eyebrow { margin: 0 0 6px !important; color: var(--lb-brand-dark); font-size: 12px !important; font-weight: 800; letter-spacing: .06em; }
.lb-geo__title { margin: 0 0 4px !important; color: var(--lb-ink); font-size: 17px !important; font-weight: 800; line-height: 1.4 !important; word-break: keep-all; }
.lb-geo__desc { margin: 0 !important; color: var(--lb-muted); font-size: 14px !important; line-height: 1.6 !important; word-break: keep-all; }
.lb-geo .lb-btn { flex: none; min-height: 44px; padding: 0 20px; font-size: 14px; color: #fff !important; text-decoration: none !important; }
@media (max-width: 600px) {
  .lb-geo { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .lb-btn { transition: none; }
  .lb-btn--pri:hover { transform: none; }
}
