/* 매장 인프라·주문 서비스 페이지 공통 블록 (pickup-order · online-reservation · store-internet · cctv · serving-robot)
   접두사 inf- — 상단 파란 배너, 섹션 간격, 제목+설명, 큰 이미지, STEP 목록, 자주 묻는 질문 */

/* 본문 바탕 (디자인 #f5f5f5) — 페이지 본문 전체를 .inf-page 로 감쌈 */
.inf-page { display: flow-root; background: #f5f5f5; }

/* ───────── 섹션 간격: 배너→첫 섹션 100 · 섹션 사이 150 · 마지막→상담폼 150 (태블릿 100 · 모바일 50) ───────── */
.inf-sec { margin-top: 150px; }
.inf-hero + .inf-sec { margin-top: 100px; }
.inf-sec:last-child { margin-bottom: 150px; }
@media (max-width: 1023px) {
  .inf-sec, .inf-hero + .inf-sec { margin-top: 100px; }
  .inf-sec:last-child { margin-bottom: 100px; }
}
@media (max-width: 767px) {
  .inf-sec, .inf-hero + .inf-sec { margin-top: 50px; }
  .inf-sec:last-child { margin-bottom: 50px; }
}

/* 본문 폭: PC 1120 / 900 · 태블릿 600 · 모바일 335 (=100% - 40) */
.inf-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.inf-wrap-900 { width: min(900px, 100% - 40px); margin-inline: auto; }
@media (max-width: 1023px) { .inf-wrap, .inf-wrap-900 { width: min(600px, 100% - 40px); } }

/* PC·태블릿에서만 줄바꿈 */
.inf-br { display: inline; }
@media (max-width: 767px) { .inf-br { display: none; } }

/* ───────── 상단 파란 배너 (PC 300 · 태블릿 200 · 모바일 127) ───────── */
.inf-hero {
  display: flex; align-items: center; height: 300px;
  background: linear-gradient(179.05deg, #6aa1cb 5.08%, #1687f5 95.46%);
}
.inf-hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: min(1120px, 100% - 40px); margin-inline: auto; padding-left: 57px; }
.inf-hero-label { color: rgba(255, 255, 255, .7); font-size: 20px; font-weight: 600; line-height: normal; }
/* 포장·픽업 / 온라인 예약 디자인: 줄높이 28 · 자간 -0.4 */
.inf-hero-label-28 { line-height: 28px; letter-spacing: -0.4px; }
.inf-hero-title { color: #fff; font-size: 30px; font-weight: 800; line-height: normal; }
@media (max-width: 1023px) {
  .inf-hero { height: 200px; background: linear-gradient(178.47deg, #6aa1cb 5.08%, #1687f5 95.46%); }
  .inf-hero-inner { gap: 5px; width: min(600px, 100% - 40px); padding: 1px 0 0; }
  .inf-hero-label { font-size: 15px; line-height: normal; letter-spacing: 0; }
  .inf-hero-title { font-size: 25px; }
}
@media (max-width: 767px) {
  .inf-hero { height: 127px; background: linear-gradient(177.93deg, #6aa1cb 5.08%, #1687f5 95.46%); }
  .inf-hero-inner { align-items: center; text-align: center; }
  .inf-hero-label { font-size: 12px; }
  .inf-hero-title { font-size: 20px; }
}

/* ───────── 섹션 제목 + 설명 ───────── */
.inf-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.inf-title { color: var(--ink); text-align: center; font-size: 30px; font-weight: 700; line-height: normal; }
.inf-desc { color: var(--ink); font-size: 20px; font-weight: 500; line-height: normal; }
@media (max-width: 1023px) {
  .inf-title { font-size: 25px; }
  .inf-desc-t18 { font-size: 18px; }
}
@media (max-width: 767px) {
  .inf-head { gap: 5px; }
  .inf-title { font-size: 15px; }
  .inf-desc { font-size: 12px; }
}
/* 태블릿·모바일 디자인에 제목이 없는 섹션: 화면에서만 숨김 (문서 구조용 h2 유지) */
@media (max-width: 1023px) {
  .inf-title-pc { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ───────── 제목 + 큰 이미지 ───────── */
.inf-media { display: flex; flex-direction: column; align-items: center; gap: 50px; }
.inf-media-img { width: 100%; }
@media (max-width: 1023px) { .inf-media { gap: 30px; } }
@media (max-width: 767px) { .inf-media { gap: 20px; } }

/* ───────── STEP 목록 (이미지 600 + 글 389, 사이 130) ───────── */
.inf-steps-sec { display: flex; flex-direction: column; gap: 50px; }
.inf-steps { display: flex; flex-direction: column; gap: 30px; }
.inf-step { display: flex; align-items: center; gap: 130px; }
.inf-step-img { flex: none; width: 600px; }
.inf-step-text { display: flex; flex-direction: column; gap: 13px; width: 389px; min-width: 0; }
.inf-step-no { color: var(--blue); font-size: 20px; font-weight: 700; line-height: normal; }
.inf-step-title { color: var(--ink); font-size: 30px; font-weight: 700; line-height: normal; }
.inf-step-desc { color: #4d555e; font-size: 20px; font-weight: 500; line-height: normal; }
@media (max-width: 1159px) {
  .inf-step { gap: clamp(40px, 100% - 990px, 130px); }
  .inf-step-img { width: min(600px, 58%); }
  .inf-step-text { flex: 1; width: auto; }
}
@media (max-width: 1023px) {
  .inf-steps-sec { gap: 50px; }
  .inf-step { gap: 40px; }
  .inf-step-img { width: min(350px, 100% - 250px); }
  .inf-step-text { flex: 0 1 210px; gap: 10px; }
  .inf-step-no { font-size: 18px; }
  .inf-step-title { font-size: 25px; }
  .inf-step-desc { font-size: 15px; }
}
@media (max-width: 767px) {
  .inf-steps-sec { gap: 20px; }
  .inf-step { flex-direction: column; align-items: stretch; gap: 15px; }
  .inf-step-img { order: 2; width: 100%; }
  .inf-step-text { flex: none; gap: 5px; }
  .inf-step-no { font-size: 12px; }
  .inf-step-title { font-size: 15px; }
  .inf-step-desc { font-size: 12px; }
}

/* ───────── 자주 묻는 질문 (목록 스타일은 공통 .faq-list) ───────── */
.inf-faq { display: flex; flex-direction: column; gap: 50px; }
@media (max-width: 1023px) { .inf-faq { gap: 30px; } }
@media (max-width: 767px) { .inf-faq { gap: 20px; } }
