/* 모바일 도슨트란? — 시안 Docent / Docent-M */

.dc-sec { display: flex; flex-direction: column; gap: 48px; padding-top: var(--section-gap); }

/* D1 히어로 */
.dc-hero { padding-top: 32px; }
.dc-hero__box { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 32px; background: var(--charcoal); }
.dc-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.dc-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 27, 29, .78) 0%, rgba(22, 27, 29, .35) 55%, rgba(22, 27, 29, 0) 100%); }
.dc-hero__circle { position: absolute; right: 64px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--vermilion); }
.dc-hero__text { position: relative; max-width: 680px; padding: 64px; display: flex; flex-direction: column; gap: 24px; color: var(--white); }
.dc-hero__badge { align-self: flex-start; padding: 8px 16px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: .06em; }
.dc-hero__text p { font-size: 20px; line-height: 1.6; color: #EDEFF0; }

/* D2 정의 */
.dc-what { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 56px 80px; }
.dc-what__visual { position: relative; flex: 1 1 480px; min-width: 0; min-height: 560px; }
.dc-what__circle { position: absolute; left: 20px; top: 60px; width: 440px; height: 440px; border-radius: 50%; background: var(--vermilion); }
.dc-what__dot { position: absolute; right: 30px; top: 10px; }
.dc-what__dot div { width: 90px; height: 90px; border-radius: 50%; background: var(--sand-pale); }
.dc-what__phone { position: absolute; left: 140px; top: 0; width: 250px; aspect-ratio: 300 / 600; overflow: hidden; border: 8px solid var(--black); border-radius: 30px; background: var(--white); box-shadow: 0 30px 60px rgba(22, 27, 29, .25); }
.dc-what__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dc-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--white); box-shadow: 0 14px 30px rgba(22, 27, 29, .14); line-height: 1.2; }
.dc-card__ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vermilion-50); color: var(--vermilion); }
.dc-card b { font-size: 16px; }
.dc-card--audio { left: 0; top: 150px; }
.dc-card--lang { right: 0; top: 300px; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--black); color: var(--white); box-shadow: 0 14px 30px rgba(22, 27, 29, .2); }
.dc-card--lang > span { font-size: 12px; color: var(--gray-on-dark); }
.dc-card--lang div { display: flex; gap: 6px; }
.dc-card--lang i { padding: 4px 9px; border-radius: 6px; background: #2B3A40; font-size: 13px; font-weight: 700; font-style: normal; }
.dc-card--lang i.on { background: var(--vermilion); }
.dc-card--qr { left: 40px; bottom: 30px; gap: 10px; padding: 10px 16px 10px 10px; border-radius: var(--radius-pill); }
.dc-card--qr .dc-card__ic { width: 34px; height: 34px; border-radius: 8px; background: var(--black); color: var(--white); }
.dc-card--qr b { font-size: 15px; }
.dc-what__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.dc-what__text .section-label { margin: 0; }
.dc-what__lead { font-size: 22px; line-height: 1.65; color: var(--charcoal); }
.dc-what__lead strong { color: var(--vermilion-600); }
.dc-what__desc { font-size: 18px; line-height: 1.7; color: var(--gray-700); }
.dc-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.dc-flow li { padding: 10px 18px; border-radius: 12px; background: var(--white); font-size: 16px; font-weight: 600; line-height: 1.2; }
.dc-flow li.is-on { background: var(--vermilion); color: var(--white); }
.dc-flow .dc-flow__arrow { padding: 0; background: none; color: var(--vermilion); font-size: 20px; }

/* D3 이용 방법 */
.dc-how { margin-top: var(--section-gap); background: var(--sand-pale); }
.dc-how__inner { display: flex; flex-direction: column; gap: 64px; padding-top: 120px; padding-bottom: 120px; }
.dc-how .section-label { color: var(--vermilion-700); }
.dc-center-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.dc-center-head .section-label { margin: 0; }
.dc-center-head p { font-size: 20px; line-height: 1.2; color: var(--gray-700); }
.dc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.dc-steps li { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.dc-steps__phone { width: 220px; aspect-ratio: 300 / 600; overflow: hidden; border: 8px solid var(--black); border-radius: 28px; background: var(--white); }
.dc-steps__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dc-steps__no { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vermilion); color: var(--white); font-weight: 700; }
.dc-steps h3 { font-size: 28px; line-height: 1.2; }
.dc-steps__inl { display: none; }
.dc-steps p { max-width: 300px; font-size: 18px; line-height: 1.6; color: var(--gray-700); }

/* D4 비교 */
.dc-table { overflow-x: auto; border-radius: var(--radius-img); background: var(--white); }
.dc-table table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 18px; line-height: 1.4; }
.dc-table th, .dc-table td { padding: 22px 32px; text-align: left; border-top: 1px solid #E6E1D8; }
.dc-table thead th { padding: 24px 32px; border-top: 0; font-size: 15px; font-weight: 600; color: var(--gray-500); }
.dc-table thead th:first-child { width: 22%; }
.dc-table thead th.is-us { background: var(--vermilion); color: var(--white); }
.dc-table tbody th { font-weight: 600; }
.dc-table tbody td { color: var(--gray-500); }
.dc-table tbody td.is-us { border-top-color: var(--vermilion-100); background: var(--vermilion-50); color: var(--black); font-weight: 600; }
.dc-note { font-size: 15px; line-height: 1.5; color: var(--gray-500); margin-top: -16px; }

/* D5 이유 */
.dc-sec > .sec-head__title { gap: 20px; }
.dc-reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; margin-top: 8px; }
.dc-reasons li { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 20px; background: var(--white); }
.dc-reasons span { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--vermilion); }
.dc-reasons h3 { font-size: 26px; line-height: 1.4; }
.dc-reasons p { font-size: 17px; line-height: 1.6; color: var(--gray-700); }

/* D6 인증 */
.dc-cert { margin-top: var(--section-gap); background: var(--charcoal); color: var(--ivory); }
.dc-cert__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 120px; padding-bottom: 120px; }
.dc-cert__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.dc-cert .section-label { margin: 0; color: var(--vermilion-400); }
.dc-cert__list > div { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 28px 0; border-top: 1px solid var(--gray-700); }
.dc-cert__list > div:last-child { border-bottom: 1px solid var(--gray-700); }
.dc-cert__list dt { font-size: 28px; font-weight: 700; line-height: 1.2; }
.dc-cert__list .dc-cert__no { align-self: center; font-size: 14px; font-weight: 600; color: var(--vermilion-400); }
.dc-cert__list dd:last-child { grid-column: 1 / -1; font-size: 17px; line-height: 1.6; color: #C9D0D2; }
.dc-cert__text .btn { align-self: flex-start; }
.dc-cert__img { flex: 0 1 420px; width: 100%; max-width: 420px; min-width: 0; aspect-ratio: 397 / 513; object-fit: cover; border-radius: var(--radius-img); }

/* D7 과정 */
.dc-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 8px; }
.dc-process li { display: flex; flex-direction: column; gap: 14px; }
.dc-process__no { display: flex; align-items: center; gap: 8px; }
.dc-process__no span { width: 44px; height: 44px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--black); font-size: 15px; font-weight: 700; }
.dc-process__no span.is-first { background: var(--vermilion); border-color: var(--vermilion); color: var(--white); }
.dc-process__no span.is-last { background: var(--black); color: var(--white); }
.dc-process__no i { flex: 1; height: 1px; background: var(--border); }
.dc-process h3 { font-size: 20px; line-height: 1.2; }
.dc-process p { font-size: 15px; line-height: 1.6; color: var(--gray-700); }
.dc-process__time { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--vermilion-700); }
.dc-prepare { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 32px 40px; border-radius: 20px; background: var(--white); }
.dc-prepare h3 { font-size: 20px; line-height: 1.2; }
.dc-prepare ul { display: contents; }
.dc-prepare li { display: flex; align-items: center; gap: 8px; font-size: 17px; line-height: 1.2; }
.dc-prepare li span { color: var(--vermilion); font-weight: 700; }

/* D8 분야 */
.dc-sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.sector { display: flex; flex-direction: column; gap: 14px; color: var(--black); text-decoration: none; }
.sector__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: var(--sand-pale); }
.sector__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sector:hover img, .sector:focus-visible img { transform: scale(1.05); }
.sector b { font-size: 22px; line-height: 1.2; }
.sector:hover b { color: var(--vermilion-600); }
.sector__ex { font-size: 14px; line-height: 1.5; color: var(--gray-500); }

/* D9 FAQ */
.dc-faq { flex-direction: row; flex-wrap: wrap; gap: 48px 80px; }
.dc-faq__intro { flex: 0 1 360px; display: flex; flex-direction: column; gap: 20px; }
.dc-faq__intro .section-label { margin: 0; }
.dc-faq__intro p { font-size: 17px; line-height: 1.6; color: var(--gray-700); }
.dc-faq__body { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dc-faq__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-faq__tabs[hidden] { display: none; }
.dc-faq__list { border-bottom: 1px solid var(--border); }
.dc-faq__list li[hidden] { display: none; }
.dc-faq__list h3 { margin: 0; font-size: inherit; }
.q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; border: 0; border-top: 1px solid var(--border); background: none;
  color: var(--black); font-size: 20px; font-weight: 600; line-height: 1.4; text-align: left;
}
.q:hover { color: var(--vermilion-600); }
.q__text { display: flex; gap: 16px; }
.q__mark { color: var(--vermilion); }
.q__sign { position: relative; width: 18px; height: 18px; flex: none; color: var(--gray-500); }
.q__sign::before, .q__sign::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .25s ease; }
.q__sign::after { transform: rotate(90deg); }
.q[aria-expanded="true"] .q__sign::after { transform: rotate(0); }
.a { padding: 0 0 28px 34px; }
.a[hidden] { display: none; }
.a p { font-size: 17px; line-height: 1.7; color: var(--gray-700); }

/* D10 CTA (버튼 2개) */
.cta-band__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn.dark:hover, .cta-band .btn.dark:focus-visible { background: var(--white); color: var(--black); }
.btn-line-white {
  height: 58px; padding: 0 28px; display: inline-flex; align-items: center;
  border: 1.5px solid var(--white); border-radius: var(--radius-pill); color: var(--white);
  font-size: 18px; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease;
}
.btn-line-white:hover, .btn-line-white:focus-visible { background: var(--white); color: var(--vermilion-700); }
#main > .cta-band-wrap:last-child { padding-top: var(--section-gap); }

@media (max-width: 1023px) {
  .dc-what__visual { flex-basis: 100%; }
}

@media (max-width: 767px) {
  .dc-sec { gap: 20px; padding-top: 80px; }

  .dc-hero { padding-top: 8px; }
  .dc-hero__box { min-height: 0; height: 520px; border-radius: 24px; }
  .dc-hero__img { object-position: 35% 50%; }
  .dc-hero__shade { background: linear-gradient(0deg, rgba(22, 27, 29, .85) 0%, rgba(22, 27, 29, .2) 60%, rgba(22, 27, 29, 0) 100%); }
  .dc-hero__circle { right: -30px; top: -40px; width: 120px; height: 120px; }
  .dc-hero__text { padding: 28px 24px; gap: 14px; }
  .dc-hero__badge { padding: 6px 12px; font-size: 12px; }
  .dc-hero .page-hero__title { font-size: 36px; line-height: 1.25; }
  .dc-hero__text p { font-size: 16px; }

  .dc-what { flex-direction: column; align-items: stretch; gap: 24px; }
  .dc-what__text { display: contents; }
  .dc-what__text .section-label { order: 1; }
  .dc-what__text h2 { order: 2; }
  .dc-what__visual { order: 3; flex: none; min-height: 0; height: 400px; }
  .dc-what__lead { order: 4; font-size: 18px; line-height: 1.7; }
  .dc-what__desc, .dc-flow { display: none; }
  .dc-what__circle { width: 300px; height: 300px; }
  .dc-what__dot { display: none; }
  .dc-what__phone { left: 100px; width: 170px; border-width: 6px; border-radius: 24px; box-shadow: 0 20px 40px rgba(22, 27, 29, .25); }
  .dc-card { padding: 10px 12px; border-radius: 12px; }
  .dc-card__ic { display: none; }
  .dc-card b { font-size: 13px; }
  .dc-card--audio { top: 110px; }
  .dc-card--lang { top: 230px; }
  .dc-card--lang > span { display: none; }
  .dc-card--lang div { gap: 4px; }
  .dc-card--lang i { padding: 3px 7px; border-radius: 5px; font-size: 12px; }
  .dc-card--qr { left: 20px; bottom: 10px; }

  .dc-how { margin-top: 80px; }
  .dc-how__inner { gap: 24px; padding: 72px 0 72px var(--gutter); }
  .dc-center-head { align-items: flex-start; text-align: left; gap: 16px; padding-right: var(--gutter); }
  .dc-how .h2 { font-size: 28px; line-height: 1.35; }
  .dc-steps { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--gutter); scrollbar-width: none; }
  .dc-steps::-webkit-scrollbar { display: none; }
  .dc-steps li { flex: 0 0 220px; align-items: flex-start; gap: 14px; text-align: left; scroll-snap-align: start; }
  .dc-steps__phone { width: 100%; aspect-ratio: 300 / 560; border-width: 6px; border-radius: 22px; }
  .dc-steps__no { display: none; }
  .dc-steps h3 { font-size: 20px; }
  .dc-steps__inl { display: inline !important; margin-right: 6px; color: var(--vermilion); }
  .dc-steps p { font-size: 15px; }

  .dc-sec .h2 { font-size: 28px; line-height: 1.35; }
  .sec-head__side { font-size: 16px; }
  .dc-compare-m { display: flex; flex-direction: column; gap: 10px; }
  .dc-compare-m li { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 16px; background: var(--white); line-height: 1.3; }
  .dc-compare-m b { font-size: 15px; color: var(--gray-500); }
  .dc-compare-m s { font-size: 14px; color: var(--gray-500); }
  .dc-compare-m strong { font-size: 17px; color: var(--vermilion-600); }
  .dc-note { margin-top: 0; font-size: 14px; }

  .dc-reasons { grid-template-columns: 1fr; gap: 10px; margin-top: 0; }
  .dc-reasons li { gap: 8px; padding: 22px; border-radius: 16px; }
  .dc-reasons span { font-size: 13px; }
  .dc-reasons h3 { font-size: 20px; line-height: 1.3; }
  .dc-reasons p { font-size: 15px; }

  .dc-cert { margin-top: 80px; }
  .dc-cert__inner { padding-top: 72px; padding-bottom: 72px; }
  .dc-cert__text { flex: none; gap: 24px; }
  .dc-cert .h2--xl { font-size: 30px; }
  .dc-cert__list > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 0; border-bottom: 0 !important; }
  .dc-cert__list dt { font-size: 22px; }
  .dc-cert__list .dc-cert__no { font-size: 13px; }
  .dc-cert__list dd:last-child { font-size: 15px; }

  .dc-process { display: flex; flex-direction: column; gap: 0; margin-top: 0; }
  .dc-process li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
  .dc-process li:last-child { border-bottom: 1px solid var(--border); }
  .dc-process__no i, .dc-process p { display: none; }
  .dc-process__no span { width: 36px; height: 36px; font-size: 13px; }
  .dc-process h3 { font-size: 17px; }
  .dc-prepare { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border-radius: 16px; }
  .dc-prepare h3 { font-size: 17px; }
  .dc-prepare ul { display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .dc-prepare li { font-size: 15px; gap: 4px; }

  .dc-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dc-sectors li:nth-child(n+5) { display: none; }
  .sector { gap: 8px; }
  .sector__img { aspect-ratio: 1; border-radius: 12px; }
  .sector b { font-size: 16px; }

  .dc-faq { flex-direction: column; gap: 20px; }
  .dc-faq__intro { flex: none; gap: 16px; }
  .dc-faq__body { flex: none; gap: 16px; }
  .dc-faq__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .dc-faq__tabs::-webkit-scrollbar { display: none; }
  .dc-faq__tabs .tab { flex: none; height: 40px; padding: 0 16px; font-size: 14px; }
  .q { gap: 12px; padding: 18px 0; font-size: 16px; }
  .q__text { gap: 10px; }
  .a { padding: 0 0 20px 24px; }
  .a p { font-size: 15px; }

  #main > .cta-band-wrap:last-child { padding-top: 72px; }
  .cta-band__actions .btn { width: 100%; justify-content: space-between; }
}
