/* =========================================================
 * 화물복지카드 간편신청
 * ========================================================= */
:root {
  --blue: #1666ff;
  --indigo: #402ed9;
  --gradient: linear-gradient(90deg, var(--blue), var(--indigo));
  --text: #191f28;
  --text-sub: #4e5968;
  --text-weak: #8b95a1;
  --bg: #fafafb;
  --surface: #ffffff;
  --gray-100: #f2f4f6;
  --gray-200: #e5e8eb;
  --blue-50: #e8f3ff;
  --radius-lg: 32px;
  --radius-md: 24px;
  --container: 1670px;
  --gutter: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: -0.02em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 32px;
  border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  color: var(--blue-50); cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .pill:focus-visible, .tab:focus-visible { outline: 3px solid rgba(22, 102, 255, .4); outline-offset: 2px; }
.btn--gradient { background: var(--gradient); box-shadow: 0 8px 24px -10px rgba(22, 102, 255, .6); }
.btn--primary { background: var(--blue); }
.btn--dark { background: var(--text-sub); }
.btn--sm { min-height: 48px; padding: 12px 24px; font-size: 15px; gap: 4px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 999px;
  background: var(--surface); font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: background .15s ease;
}
.pill:hover { background: var(--blue-50); }

/* 080 무료 상담번호 안내 (작게) */
.free-note { margin: 0; font-size: 13px; font-weight: 500; color: var(--text-weak); letter-spacing: -0.01em; }
.hero > .free-note { margin-top: 14px; }
.consult__intro > .free-note { margin-top: 10px; }
.modal__foot { flex-wrap: wrap; }
.modal__foot .free-note { flex-basis: 100%; text-align: center; margin-top: -4px; }
.footer .free-note { color: rgba(255, 255, 255, .75); font-size: 12px; margin-top: 2px; }
.mobile-bar .free-note { display: none; }

/* ---------- Header ---------- */
.header { padding-top: 68px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo__mark { display: flex; align-items: center; justify-content: center; width: 65px; height: 53px; }
.logo__mark img { width: 54px; height: 54px; transform: skewX(-11deg) scaleY(.98); }
.logo__text { width: 143px; height: auto; }
.nav { display: flex; gap: 13px; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 0 86px; }
.hero__title { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 17px; }
.hero__title img:first-child { width: 378px; }
.hero__title img:last-child { width: 251px; }
.hero__sub { margin: 32px 0 0; font-size: 20px; font-weight: 600; }
.hero__image { width: 295px; height: 295px; margin-top: 59px; object-fit: contain; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 29px; margin-top: 59px; }

/* ---------- Recommend (주유소별) ---------- */
.recommend {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 96px 24px;
  display: flex; flex-direction: column; align-items: center;
}
.recommend__title {
  position: relative; margin: 0; width: min(558px, 100%);
  container-type: inline-size;
}
.recommend__title img { width: 100%; height: auto; }
.recommend__station {
  position: absolute; top: 0; bottom: 0;
  left: 2.37%; width: 40.3%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5.4cqw; font-weight: 800; letter-spacing: -0.04em; white-space: nowrap;
}
/* 글자만 움직이고 괄호는 고정 */
.recommend__station-text {
  display: inline-block;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.recommend__station-text.is-changing { animation: station-in .35s ease; }
@keyframes station-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}

/* 옆으로 슬라이드 전환 */
.recommend__body, .card-grid { touch-action: pan-y; }
.recommend { overflow: hidden; }
.cards-section { overflow-x: clip; }
.slide-out-next { animation: slide-out-next .18s ease-in forwards; }
.slide-out-prev { animation: slide-out-prev .18s ease-in forwards; }
.slide-in-next { animation: slide-in-next .32s cubic-bezier(.2, .8, .2, 1); }
.slide-in-prev { animation: slide-in-prev .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide-out-next { to { opacity: 0; transform: translateX(-60px); } }
@keyframes slide-out-prev { to { opacity: 0; transform: translateX(60px); } }
@keyframes slide-in-next { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-prev { from { opacity: 0; transform: translateX(-80px); } to { opacity: 1; transform: none; } }

.station-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.tab {
  border: 0; cursor: pointer;
  padding: 10px 20px; border-radius: 999px;
  background: var(--gray-100); color: var(--text-sub);
  font-size: 15px; font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.tab:hover { background: var(--gray-200); }
.tab[aria-selected="true"] { background: var(--text); color: #fff; }

.recommend__body { margin-top: 48px; min-height: 253px; width: 100%; display: flex; justify-content: center; }
.feature { display: flex; align-items: center; gap: 20px; }
.feature.is-changing { animation: fade-up .45s ease; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.feature__image { width: 403px; height: 253px; flex: none; display: flex; align-items: center; justify-content: center; }
.feature__info { width: 403px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.feature__head { display: flex; align-items: center; gap: 16px; }
.feature__name { margin: 0; font-size: 24px; font-weight: 700; }

.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 72px; padding: 8px 20px; border-radius: 999px;
  background: var(--blue-50); font-size: 16px; font-weight: 600; white-space: nowrap;
}

.benefits {
  margin: 0; padding: 32px; list-style: none;
  background: var(--bg); border-radius: var(--radius-md);
  color: var(--text-sub); font-weight: 600; font-size: 20px; line-height: 1.3;
  display: flex; flex-direction: column; gap: 6px; width: 100%;
}
.benefits b { color: var(--blue); font-weight: 600; }
.actions { display: flex; gap: 16px; }

/* 카드 이미지 공통 */
.card-img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; filter: drop-shadow(0 10px 18px rgba(25, 31, 40, .12)); }
.card-img--vertical { width: auto; height: 100%; }

/* ---------- Cards section ---------- */
.cards-section { padding-top: 94px; }
.cards-section__head {
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.section-title { margin: 0; font-size: 32px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.issuer-tabs { display: flex; gap: 17px; flex-wrap: wrap; justify-content: center; }
.issuer-tabs .tab { padding: 16px 32px; font-size: 20px; background: var(--gray-100); color: var(--text); }
.issuer-tabs .tab[aria-selected="true"] { background: var(--text); color: #fff; }

.card-grid {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.card-grid > .product { width: 382px; }
.product {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 14px; text-align: center;
}
.product__badge { align-self: center; }
.product__name { margin: 0; font-size: 20px; font-weight: 700; }
.product__image { aspect-ratio: 334 / 210; display: flex; align-items: center; justify-content: center; }
.product .benefits {
  flex: 1; padding: 24px 26px; font-size: 16px; text-align: left; justify-content: center;
}
.product .actions { gap: 4px; }
.product .actions .btn { flex: 1; }

.empty { grid-column: 1 / -1; text-align: center; color: var(--text-weak); padding: 48px 0; }

/* ---------- Consult ---------- */
#consult { padding-top: 120px; }
.consult {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px);
}
.consult__desc { margin: 16px 0 0; color: var(--text-sub); font-size: 18px; font-weight: 500; }
.consult__tel {
  margin-top: 32px; display: inline-flex; flex-direction: column; gap: 4px;
  padding: 24px 32px; border-radius: var(--radius-md); background: var(--blue-50);
}
.consult__tel-label { font-size: 15px; font-weight: 600; color: var(--text-sub); }
.consult__tel strong { font-size: 32px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--text-sub); }
.field em { color: var(--blue); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 18px;
  border: 1.5px solid transparent; border-radius: 16px;
  background: var(--gray-100); font-size: 16px; font-weight: 500;
  transition: border-color .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234e5968' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; }
.field.is-invalid input { border-color: #f04452; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.consent { gap: 4px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; color: var(--text); }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }
.consent.is-invalid .check { color: #f04452; }
.consent__detail { font-size: 14px; color: var(--text-weak); padding-left: 30px; }
.consent__detail summary { cursor: pointer; width: max-content; }
.consent__detail p { margin: 8px 0 0; }

.form__msg { grid-column: 1 / -1; margin: 0; min-height: 1.5em; font-weight: 600; font-size: 15px; }
.form__msg.is-error { color: #f04452; }
.form__msg.is-success { color: var(--blue); }
.form .btn--block { grid-column: 1 / -1; }

/* ---------- FAQ ---------- */
.faq-section { padding-top: 120px; }
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--radius-md); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 26px 32px; font-size: 18px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--blue); font-weight: 800; font-size: 20px; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238b95a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq__a { margin: 0; padding: 0 32px 28px 66px; color: var(--text-sub); font-size: 16px; font-weight: 500; line-height: 1.7; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 120px; padding: 64px 0 160px;
  background:
    linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, .28) 100%),
    linear-gradient(100deg, var(--blue) 0%, #2b4ff0 50%, var(--indigo) 100%);
  color: #fff;
}
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__logo { width: 300px; max-width: 100%; height: auto; }
.footer__copy { margin: 0; font-size: 14px; font-weight: 500; opacity: .95; }
.footer__info { margin: 0; display: grid; gap: 8px; }
.footer__info div { display: grid; grid-template-columns: 190px auto; gap: 12px; }
.footer__info dt { font-size: 14px; font-weight: 600; }
.footer__info dd { margin: 0; font-size: 14px; font-weight: 500; }
.footer__info a:hover { text-decoration: underline; }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
html:has(dialog[open]) { overflow: hidden; }
.modal {
  width: min(760px, 100% - 32px); max-height: min(90vh, 960px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; animation: fade-up .25s ease; }
.modal::backdrop { background: rgba(25, 31, 40, .5); backdrop-filter: blur(2px); }
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--gray-100); font-size: 24px; line-height: 1; cursor: pointer;
}
.modal__content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 48px 40px 32px; }
.modal__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-bottom: 28px; border-bottom: 1px solid var(--gray-100); }
.modal__head h3 { margin: 0; font-size: 24px; font-weight: 700; }
.modal__image { height: 200px; display: flex; justify-content: center; margin-bottom: 8px; }
.modal__stations { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--gray-100); font-size: 14px; font-weight: 600; color: var(--text-sub); }
.modal h4 { margin: 24px 0 12px; font-size: 16px; font-weight: 700; }
.modal .benefits { font-size: 17px; padding: 24px 28px; gap: 10px; }
.modal__loading { text-align: center; color: var(--text-weak); padding: 32px 0; margin: 0; }
.modal__foot { flex: none; padding: 16px 40px 20px; border-top: 1px solid var(--gray-100); background: var(--surface); }
.modal__foot .btn { flex: 1; }

.modal__close:focus { outline: none; }
.modal__close:focus-visible { outline: 3px solid rgba(22, 102, 255, .4); outline-offset: 2px; }

/* 신청 팝업 */
.apply__head { display: flex; align-items: center; gap: 24px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--gray-100); }
.apply__image { width: 180px; height: 114px; flex: none; display: flex; justify-content: center; }
.apply__text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.apply__text h3 { margin: 0; font-size: 22px; font-weight: 700; }
.apply__desc { margin: 0; color: var(--text-sub); font-size: 15px; }
.modal--apply .modal__content { padding-top: 40px; }
/* 카드 없이 여는 일반 상담 팝업 */
.apply__head--general { justify-content: center; text-align: center; }
.apply__head--general .apply__image, .apply__head--general .badge { display: none; }
.apply__head--general .apply__text { align-items: center; }
.apply__head--general h3 { color: var(--blue); font-size: 26px; font-weight: 800; }

/* 상세 내용 (content/details/*.html) */
.card-detail-content { font-size: 15px; color: var(--text-sub); line-height: 1.65; }
.detail-title { display: none; }
.detail-heading {
  margin: 32px 0 10px; font-size: 18px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.detail-heading::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--blue); flex: none; }
.detail-text { margin: 4px 0; }
.detail-note { margin: 4px 0; font-size: 13px; color: var(--text-weak); }
.detail-list { margin: 4px 0; padding-left: 18px; }
.detail-list li { margin: 2px 0; }
.detail-list li::marker { color: var(--text-weak); }
.detail-table-wrap { margin: 10px 0 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--gray-200); border-radius: 14px; }
.detail-table { width: 100%; border-collapse: collapse; border-style: hidden; font-size: 14px; text-align: center; white-space: nowrap; }
.detail-table th, .detail-table td { padding: 10px 12px; border: 1px solid var(--gray-200); vertical-align: middle; }
.detail-table th { background: var(--gray-100); color: var(--text); font-weight: 700; }
.detail-table td[colspan] { background: #fbfcfd; }

/* =========================================================
 * Responsive
 * ========================================================= */
@media (max-width: 1100px) {
  .feature { flex-direction: column; }
  .feature__info { align-items: center; text-align: center; }
  .consult { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header { padding-top: 48px; }
  .header__inner { justify-content: center; }
  .nav { display: none; }
  .logo__mark { width: 52px; height: 43px; }
  .logo__mark img { width: 44px; height: 44px; }
  .logo__text { width: 116px; }

  .hero { padding: 43px 0 80px; }
  .hero__title { gap: 11px; }
  .hero__title img:first-child { width: 243px; }
  .hero__title img:last-child { width: 163px; }
  .hero__sub { font-size: 16px; margin-top: 40px; }
  .hero__image { width: 241px; height: 241px; margin-top: 40px; }
  .hero__actions { margin-top: 57px; gap: 12px; flex-direction: column; width: 100%; max-width: 337px; }
  .hero__actions .btn { width: 100%; }

  .container.hero, .recommend-wrap { width: 100%; }
  .recommend { padding: 80px 0; border-radius: 0; }
  section.container:has(> .recommend) { width: 100%; }
  .recommend__title { width: min(290px, 100% - 40px); }
  .recommend__title img { display: none; }
  .recommend__title {
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    font-size: 28px; font-weight: 800; letter-spacing: -0.04em;
  }
  .recommend__station {
    position: relative; inset: auto; font-size: 30px;
    width: min(290px, 100%); height: 48px; padding: 0 22px;
  }
  .recommend__station::before, .recommend__station::after {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-weight: 800; font-size: 40px; line-height: 1; color: var(--blue);
  }
  .recommend__station::before { content: "["; left: 0; }
  .recommend__station::after { content: "]"; right: 0; color: var(--indigo); }
  .recommend__title .sr-only {
    position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .station-tabs, .issuer-tabs {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px;
    width: 100%; max-width: 380px; margin-inline: auto;
  }
  .station-tabs { padding-inline: 20px; max-width: 420px; }
  .station-tabs .tab, .issuer-tabs .tab {
    grid-column: span 2; padding: 12px 4px; font-size: 15px; white-space: nowrap;
  }
  /* 마지막 줄이 2개면 반반 */
  .tab:nth-last-child(2):nth-child(3n+1),
  .tab:last-child:nth-child(3n+2) { grid-column: span 3; }
  /* 마지막 줄이 1개가 되는 경우(4개, 7개 …)는 마지막 4개를 2+2로 */
  .tab:first-child:nth-last-child(3n+1):nth-last-child(-n+4),
  .tab:first-child:nth-last-child(3n+1) ~ .tab:nth-last-child(-n+4) { grid-column: span 3; }
  .recommend__body { padding-inline: 28px; }
  .feature { width: 100%; max-width: 334px; gap: 16px; }
  .feature__image { width: 100%; height: auto; aspect-ratio: 334 / 210; }
  .feature__info { display: contents; }
  .feature__head { order: -1; }
  .feature__head { flex-direction: column; gap: 12px; }
  .feature__name { font-size: 20px; }
  .feature .benefits { font-size: 16px; padding: 26px; text-align: center; }
  .feature .actions { width: 100%; gap: 4px; }
  .feature .actions .btn { flex: 1; }

  .cards-section { padding-top: 80px; }
  .cards-section__head { gap: 20px; }
  .section-title { font-size: 26px; }
  .card-grid > .product { width: 100%; max-width: 382px; }

  #consult, .faq-section { padding-top: 80px; }
  .form { grid-template-columns: 1fr; }
  .product .benefits { text-align: center; }
  .consult { text-align: center; }
  .form { text-align: left; }  /* 문의 폼은 왼쪽 정렬 */
  .consult__intro { display: flex; flex-direction: column; align-items: center; }
  .consult__tel { align-items: center; }
  .faq-section .section-title { text-align: center; }
  .faq summary { text-align: left; }
  .faq summary span { flex: 1; }
  .faq__a { padding: 0 20px 22px 50px; text-align: left; }
  .consult__tel strong { font-size: 26px; }
  .faq summary { padding: 22px 20px; font-size: 16px; }
  .faq__a { font-size: 15px; }

  .footer { margin-top: 80px; padding: 48px 0 calc(120px + env(safe-area-inset-bottom)); }
  .footer__inner { flex-direction: column; align-items: flex-start; text-align: left; gap: 28px; }
  .footer__brand { align-items: flex-start; gap: 10px; }
  .footer__logo { width: 240px; }
  .footer__copy { font-size: 12px; }
  .footer__info { min-width: 0; gap: 10px; }
  .footer__info div { grid-template-columns: 96px 1fr; justify-content: start; gap: 12px; }
  .footer__info dt { font-size: 13px; opacity: .8; }
  .footer__info dd { font-size: 13px; }
  .mobile-bar {
    display: flex; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
  }
  .mobile-bar .btn { flex: 1; }
  .mobile-bar { flex-wrap: wrap; row-gap: 6px; }
  .mobile-bar .free-note { display: block; order: 1; flex-basis: 100%; text-align: center; font-size: 11px; }
  .modal { width: 100%; max-width: none; max-height: 92vh; margin: auto auto 0; border-radius: 24px 24px 0 0; }
  .modal__content { padding: 56px 20px 24px; }
  .modal__image { height: 150px; }
  .modal__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 8px; }
  .detail-heading { justify-content: center; }
  .apply__head { flex-direction: column; text-align: center; gap: 14px; }
  .apply__text { align-items: center; }
  .apply__head { gap: 10px; padding-bottom: 18px; margin-bottom: 18px; }
  .apply__image { width: 140px; height: 88px; }
  .apply__text { gap: 6px; }
  .apply__text h3 { font-size: 19px; }
  .apply__desc { font-size: 14px; }
  /* 모바일에서는 표 글자를 줄바꿈해 가로 스크롤을 최소화 */
  .detail-table { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; font-size: 13px; }
  .detail-table th, .detail-table td { padding: 9px 8px; }
  .modal__close { background: rgba(242, 244, 246, .95); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
