/* 테이블오더 /od — 공통 틀은 common.css, 칩·마크·떠있는 모션 등은 main.css 를 같이 쓴다 */

/* ① 배너: 흐린 매장 사진 + 가운데 문구 + 아래 두둥실 떠 있는 기기 */
.od-hero {
  position: relative; overflow: hidden;
  padding: 10.4rem 0 0;
  text-align: center; color: #fff;
  background: #1a1813;
}
.od-hero-bg { position: absolute; inset: 0; z-index: 0; }
.od-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.od-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 50% at 50% 38%, rgba(26, 24, 19, .35), rgba(26, 24, 19, .15) 70%, rgba(26, 24, 19, .3)); }
.od-hero .container { position: relative; z-index: 2; }
.od-hero .eyebrow { color: var(--yellow); }
.od-hero .kicker { margin: 0.9rem 0 0.2rem; font-size: 1.35rem; font-weight: 500; color: #e9e6df; }
.od-hero h1 { margin: 0; font-size: 3.4rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.zero-row { display: flex; justify-content: center; margin: 1.6rem 0 2.2rem; }
.zero-item { padding: 0 2.6rem; }
.zero-item + .zero-item { border-left: 1px solid rgba(255, 255, 255, .22); }
.zero-item span { display: block; font-size: 1rem; color: #d6d2ca; }
.zero-item b { display: block; margin-top: 0.15rem; font-family: var(--font-num); font-size: 2.1rem; font-weight: 900; color: var(--yellow); letter-spacing: -.01em; line-height: 1.1; }
.od-hero-btns { display: flex; justify-content: center; gap: 0.8rem; }
.od-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 3.4rem; padding: 0 2rem; border-radius: 999px;
  font-size: 1.08rem; font-weight: 700;
  transition: transform .55s cubic-bezier(.25, .8, .25, 1), box-shadow .55s ease, background-color .55s ease, border-color .55s ease;
}
.od-btn .arr { transition: transform .55s cubic-bezier(.25, .8, .25, 1); }
.od-btn:hover { transform: translateY(-2px); }
.od-btn:hover .arr { transform: translateX(4px); }
.od-btn.yellow { background: var(--yellow); color: #1a1813; }
.od-btn.yellow:hover { box-shadow: 0 0.6rem 1.6rem rgba(255, 194, 26, .3); }
.od-btn.line { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.od-btn.line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.od-site-link { display: inline-block; margin-top: 1.2rem; font-size: 0.95rem; color: #d6d2ca; text-decoration: underline; text-underline-offset: 4px; }
.od-site-link:hover { color: var(--yellow); }
/* 기기는 설치대 절반까지만 보이게 아래가 배너 끝에서 잘림 */
.od-hero-device { position: relative; z-index: 1; width: 22rem; margin: 2.4rem auto 0; height: 22.5rem; }
.od-hero-device img { width: 100%; height: auto; animation: heroFloat 4.2s ease-in-out infinite; filter: drop-shadow(0 1.6rem 2.4rem rgba(0, 0, 0, .45)); }

/* ② 이런 걱정, 있으신가요? */
.worry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.worry-card {
  display: flex; flex-direction: column;
  padding: 1.6rem 1.7rem 2.1rem;
  border: 1px solid #ebe8e1; border-radius: 1.3rem; background: #fff;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, .04);
  transition: transform .55s cubic-bezier(.25, .8, .25, 1), box-shadow .55s ease;
}
.worry-card:hover { transform: scale(1.03); box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, .1); }
.worry-top { position: relative; height: 9.8rem; margin-bottom: 2.4rem; }
.worry-top::before { content: ""; position: absolute; left: 0; top: 0.4rem; width: 9.4rem; height: 9.4rem; border-radius: 50%; background: #fff5d6; }
.worry-top img { position: relative; width: 11rem; height: auto; margin-left: -0.6rem; }
.worry-top .no { position: absolute; right: 0; top: 0.4rem; font-family: var(--font-num); font-size: 0.95rem; font-weight: 600; color: #c9c0a5; }
.worry-q { margin: 0; min-height: 3.6rem; font-size: 1rem; line-height: 1.75; color: #777; }
.worry-card hr { width: 100%; margin: 2rem 0 1.9rem; border: 0; border-top: 1px solid #ebe8e1; }
.worry-label { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 1rem; font-size: 0.85rem; font-weight: 700; color: var(--yellow-deep); }
.worry-label i { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1813' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 0.7rem no-repeat; }
.worry-a { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; color: #1a1813; }

/* ③ 시작부터 운영까지 — 3단계 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.9rem; }
.step-head { position: relative; text-align: center; margin-bottom: 2.1rem; }
.step-no {
  position: relative; z-index: 1; width: 3.9rem; height: 3.9rem; margin: 0 auto 1.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow);
  font-family: var(--font-num); font-size: 1.45rem; font-weight: 800; color: #1a1813;
}
/* 단계 사이 연결선 + 화살표 */
.step:not(:last-child) .step-head::after {
  content: ""; position: absolute; top: 1.95rem; left: calc(50% + 2.6rem);
  width: calc(100% + 1.9rem - 5.2rem); height: 2px; background: #f2dc93;
}
.step:not(:last-child) .step-head::before {
  content: ""; position: absolute; top: calc(1.95rem - 0.42rem + 1px); left: calc(100% + 0.95rem - 0.4rem); z-index: 1;
  border-left: 0.75rem solid #f2c94c; border-top: 0.42rem solid transparent; border-bottom: 0.42rem solid transparent;
}
.step-head small { display: block; margin-bottom: 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: .2em; color: var(--yellow-deep); }
.step-head h3 { margin: 0; font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; }
.step-card { padding: 0.6rem 1.9rem; border-radius: 1.3rem; background: #f8f6f1; }
.step-item { display: flex; align-items: center; gap: 1.1rem; padding: 1.7rem 0; }
.step-item + .step-item { border-top: 1px solid #e8e3d8; }
.step-item .ico { flex-shrink: 0; width: 2.8rem; height: 2.8rem; border-radius: 0.8rem; background: #fff; color: var(--yellow-deep); display: grid; place-items: center; }
.step-item .ico svg { width: 1.35rem; height: 1.35rem; stroke-width: 1.8; }
.step-item b { display: block; margin-bottom: 0.3rem; font-size: 1.2rem; font-weight: 700; }
.step-item span { font-size: 0.9rem; color: #777; }

/* ④ 운영에 필요한 핵심 혜택 */
.benefits { background: #faf8f2; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.9rem; }
.benefit-card {
  overflow: hidden; border-radius: 1.5rem; background: #fff;
  box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, .06);
  transition: transform .55s cubic-bezier(.25, .8, .25, 1), box-shadow .55s ease;
}
/* 차례로 천천히 올라오기 (0 · 0.32 · 0.64초 간격) */
html .benefit-card.reveal { transform: translateY(2.6rem); transition: opacity 1.25s ease, transform 1.45s cubic-bezier(.22, .7, .2, 1); }
html .benefit-card.reveal.is-in { transform: none; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 1.6rem 3.4rem rgba(0, 0, 0, .1); }
.benefit-photo { position: relative; height: 14.6rem; overflow: hidden; background: #eee; }
.benefit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; transition: transform 1.2s cubic-bezier(.25, .8, .25, 1); }
.benefit-card:hover .benefit-photo img { transform: scale(1.04); }
.benefit-photo .no { position: absolute; left: 1.2rem; top: 1.2rem; width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); font-family: var(--font-num); font-size: 0.95rem; font-weight: 700; color: #1a1813; }
.benefit-body { padding: 2.1rem 2.2rem 2.5rem; }
.benefit-body h3 { margin: 0 0 0.6rem; font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; }
.benefit-body .sub { margin: 0; font-size: 0.98rem; color: #777; }
.benefit-body hr { margin: 1.8rem 0 1.7rem; border: 0; border-top: 1px solid #ebe8e1; }
.check-list { display: grid; gap: 1.15rem; margin: 0; padding: 0; list-style: none; font-size: 1.08rem; font-weight: 500; color: #222; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; }
.check-list li::before {
  content: ""; width: 1.3rem; height: 1.3rem; flex-shrink: 0; border-radius: 50%;
  background: #fff0c2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8900a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* ══ 모바일·태블릿 (1100px 이하) — 테이블오더 모바일 시안 기준 ══ */
.bno { display: none; }
@media (max-width: 1100px) {
  /* 배너: 문구 가운데, 기기는 설치대 절반에서 잘림 */
  .od-hero { padding: 104px 0 0; }
  .od-hero .eyebrow { font-size: 12px; }
  .od-hero .kicker { margin-top: 12px; font-size: 16px; }
  .od-hero h1 { font-size: 32px; }
  .zero-row { margin: 22px 0 28px; }
  .zero-item { padding: 0 20px; }
  .zero-item span { font-size: 13px; }
  .zero-item b { font-size: 24px; }
  .od-hero-btns { gap: 8px; }
  .od-btn { height: 48px; padding: 0 24px; font-size: 15px; }
  .od-hero-device { width: 250px; height: 250px; margin-top: 18px; }

  /* 걱정: 가로 카드 (왼쪽 일러스트 · 오른쪽 질문 + 답) */
  .worry-grid { grid-template-columns: 1fr; gap: 10px; }
  .worry-card { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 0 16px; padding: 18px 18px; border-radius: 18px; box-shadow: none; }
  .worry-card:hover { transform: none; }
  .worry-top { grid-row: span 2; height: 64px; margin: 0; }
  .worry-top::before { left: 2px; top: 6px; width: 56px; height: 56px; }
  .worry-top img { width: 70px; margin: -4px 0 0 -6px; }
  .worry-top .no, .worry-card hr, .worry-label { display: none; }
  .worry-q { min-height: 0; margin-bottom: 8px; font-size: 13px; line-height: 1.5; }
  .worry-a { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; }
  .worry-a::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px; border-radius: 50%;
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1813' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
  }

  /* 3단계: 세로 타임라인 */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { position: relative; padding: 0 0 28px 56px; }
  .step:last-child { padding-bottom: 0; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; background: #f2dc93; }
  .step:not(:last-child) .step-head::after, .step:not(:last-child) .step-head::before { display: none; }
  .step-head { text-align: left; margin-bottom: 12px; }
  .step-no { position: absolute; left: -56px; top: 2px; width: 40px; height: 40px; margin: 0; font-size: 16px; }
  .step-head small { margin-bottom: 2px; font-size: 11px; }
  .step-head h3 { font-size: 19px; }
  .step-card { padding: 2px 16px; border-radius: 16px; box-shadow: none; }
  .step-item { gap: 12px; padding: 14px 0; }
  .step-item .ico { width: 32px; height: 32px; border-radius: 8px; }
  .step-item .ico svg { width: 16px; height: 16px; }
  .step-item b { margin-bottom: 2px; font-size: 15px; }
  .step-item span { font-size: 12.5px; }

  /* 혜택: 사진 없이 번호 · 제목 · 부제 + 체크 2열 */
  .benefit-grid { grid-template-columns: 1fr; gap: 12px; }
  .benefit-card { border-radius: 18px; box-shadow: 0 8px 20px rgba(0, 0, 0, .04); }
  .benefit-card:hover { transform: none; }
  .benefit-photo { display: none; }
  .benefit-body { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 12px; padding: 20px 20px 22px; }
  .bno { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); font-family: var(--font-num); font-size: 12px; font-weight: 700; color: #1a1813; }
  .benefit-body h3 { margin: 0; font-size: 18px; }
  .benefit-body .sub { font-size: 13px; }
  .benefit-body hr { grid-column: 1 / -1; width: 100%; margin: 16px 0; }
  .check-list { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 12px 10px; font-size: 14px; }
  .check-list li { gap: 8px; }
  .check-list li::before { width: 18px; height: 18px; background-size: 11px; }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .od-hero-device { width: 300px; height: 300px; }
  .worry-grid { grid-template-columns: 1fr 1fr; }
  /* 혜택 3개는 2열이면 하나가 남으니, 한 줄에 하나씩 넓게 + 체크 항목 4열 */
  .benefit-grid { grid-template-columns: 1fr; gap: 14px; }
  .benefit-body { padding: 24px 28px 26px; }
  .check-list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}
