/* DB손해보험 다이렉트 - 참좋은운전자보험 리뉴얼 (Mobile) */
#driver-dl * { box-sizing: border-box; }
#driver-dl { width: 100%; max-width: 720px; margin: 0 auto; overflow-x: hidden; background: #fff; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
#driver-dl p, #driver-dl h2, #driver-dl h3 { margin: 0; }
#driver-dl em { font-style: normal; }

/* 히어로 (메인 KV) — 360px 디자인 기준, 가운데 정렬 */
.ddl-kv { position: relative; height: 569px; overflow: hidden; }
.ddl-kv::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 460px; background: linear-gradient(-56.98deg, #d8ffdb 19.534%, #e8ffea 49.636%, #f6fff7 75.941%); }
.ddl-kv__tit p { position: absolute; left: 0; right: 0; text-align: center; white-space: nowrap; }
.ddl-kv__sub { top: 39px; color: #008048; font-weight: 500; font-size: 12px; line-height: 15px; letter-spacing: -0.24px; }
.ddl-kv__lead { top: 64px; color: #222; font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: -0.3px; }
.ddl-kv__main { top: 101px; color: #047a44; font-weight: 700; font-size: 34px; line-height: 1.35; }
.ddl-kv__src { top: 150px; color: #75a178; font-weight: 500; font-size: 10px; line-height: 1.25; letter-spacing: -0.4px; }
#wrap .ddl-kv__model { position: absolute; left: 50%; top: 174px; width: 168px; height: auto; margin-left: -77px; }
#wrap .ddl-kv__medal { position: absolute; left: 50%; top: 206px; width: 93px; height: auto; margin-left: 43px; }

.ddl-kv__event { position: absolute; left: 0; right: 0; top: 390px; z-index: 2; display: flex; align-items: center; gap: 8px; height: 90px; padding: 13px 20px 11px; background: #fff; border-radius: 20px; filter: drop-shadow(-4px 4px 6px rgba(0, 0, 0, 0.06)) drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.06)); color: #000; text-decoration: none; }
.ddl-kv__evicon { position: relative; flex: 0 0 auto; width: 64px; height: 56px; }
#wrap .ddl-kv__evicon img { position: absolute; left: 0; top: 14px; width: 62px; height: auto; }
.ddl-kv__evbadge { position: absolute; left: 22px; top: 0; width: 46px; height: 20px; padding-top: 1px; background: url("../images/kv_badge.svg") no-repeat 0 0 / 46px 20px; color: #fff; font-weight: 600; font-size: 10px; line-height: 13px; text-align: center; }
.ddl-kv__evtxt { flex: 1 1 auto; min-width: 0; }
.ddl-kv__evtit { display: block; font-weight: 600; font-size: 15px; line-height: 18px; letter-spacing: -0.45px; white-space: nowrap; }
.ddl-kv__evtit em { font-weight: 700; color: #008048; }
.ddl-kv__evsub { display: block; margin-top: 4px; color: #666; font-weight: 500; font-size: 12px; line-height: 14px; letter-spacing: -0.6px; white-space: nowrap; }
.ddl-kv__evarw { flex: 0 0 auto; width: 9px; height: 9px; margin-right: 4px; border-top: 2px solid #008048; border-right: 2px solid #008048; border-radius: 1px; transform: rotate(45deg); }

/* 내 보험료 계산하기 (첫 화면부터 하단 고정) */
.ddl-kv__cta { position: absolute; left: 0; right: 0; top: 486px; height: 83px; }
.ddl-ctabar { height: 83px; padding: 27px 20px 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, #fff 35%); }
.ddl-ctabar.is-fixed { position: fixed; left: 50%; bottom: 0; z-index: 900; width: 100%; max-width: 720px; height: auto; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); }
.ddl-ctabar__btn { display: block; height: 56px; border-radius: 10px; background: #4fb84f; color: #fff; font-weight: 700; font-size: 20px; line-height: 56px; letter-spacing: -0.4px; text-align: center; text-decoration: none; }
#driver-dl::after { content: ""; display: block; height: calc(99px + env(safe-area-inset-bottom, 0px)); background: #747474; }

/* TIP 공통 */
.ddl-sec { padding: 0 20px 50px; background: #fff; }
.ddl-sec--1 { padding-top: 50px; }
.ddl-sec__head { text-align: center; }
.ddl-sec__pill { display: inline-block; width: 90px; height: 28px; line-height: 26px; border: 1px solid #089254; border-radius: 20px; color: #089254; font-weight: 600; font-size: 15px; letter-spacing: -0.3px; }
#driver-dl .ddl-sec__q { margin: 16px 0 0; color: #222; font-weight: 600; font-size: 15px; line-height: 1.25; letter-spacing: -0.45px; word-break: keep-all; }
#driver-dl .ddl-sec__q--n { margin-left: -10px; margin-right: -10px; letter-spacing: -0.75px; }
#driver-dl .ddl-sec__tit { margin: 7px 0 0; color: #222; font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -0.42px; }
#driver-dl .ddl-sec__tit--n { letter-spacing: -0.63px; }
#driver-dl .ddl-sec__tit--nn { margin-left: -10px; margin-right: -10px; letter-spacing: -0.84px; }
.ddl-sec__tit em { color: #047a44; }
#driver-dl .ddl-sec__note { margin: 16px 0 0; text-align: center; color: #777; font-size: 13px; line-height: 1.3; letter-spacing: -0.39px; word-break: keep-all; }
#driver-dl .ddl-sec__note--l { line-height: 1.6; }
#driver-dl .ddl-pager + .ddl-sec__note { margin-top: 23px; }

/* TIP1 자동차보험 vs 운전자보험 (일러스트 + 비교표) */
.ddl-vs { position: relative; height: 109px; margin-top: 32px; }
#wrap .ddl-vs img { position: absolute; left: 50%; max-width: none; height: auto; }
#wrap .ddl-vs__car { top: 6px; width: 123px; margin-left: -113px; }
#wrap .ddl-vs__driver { top: 0; width: 106px; margin-left: 39px; }
.ddl-tbl { width: calc(100% - 10px); margin: 19px 5px 0; font-family: inherit; border-collapse: collapse; table-layout: fixed; }
.ddl-tbl th, .ddl-tbl td { padding: 15px 4px; border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; color: #444; font-family: inherit; font-size: 14px; line-height: 1.2; letter-spacing: -0.28px; text-align: center; vertical-align: middle; word-break: keep-all; }
.ddl-tbl th:last-child, .ddl-tbl td:last-child { border-right: 0; }
.ddl-tbl th { font-weight: 600; }
.ddl-tbl thead th { height: 40px; padding: 9px 4px; background: #e8ffea; border-top: 1px solid #b7e5bb; border-bottom-color: #b7e5bb; border-right-color: #b7e5bb; color: #153718; line-height: 1.3; }
.ddl-tbl tbody th { padding: 15px 0; background: rgba(245, 245, 245, 0.37); }
.ddl-tbl td { font-weight: 500; }

/* TIP1 자동차보험 고객 할인 배너 */
.ddl-promo { position: relative; overflow: hidden; height: 200px; margin-top: 26px; padding-top: 20px; border-radius: 20px; background: linear-gradient(152.71deg, #fafff3 21.134%, #e7fde1 78.866%); text-align: center; }
#driver-dl .ddl-promo__lead { color: #333; font-weight: 600; font-size: 13px; line-height: 1.15; letter-spacing: -0.26px; }
#driver-dl .ddl-promo__main { margin-top: 3px; color: #047a44; font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -0.4px; }
#driver-dl .ddl-promo__note { margin-top: 7px; color: #5d6e58; font-size: 11px; line-height: 1.2; letter-spacing: -0.22px; }
#wrap .ddl-promo__img { position: absolute; left: 50%; top: 105px; width: 142px; height: auto; margin-left: -71px; }

/* TIP2 사고 단계별 보장 (슬라이드) */
.ddl-step { margin: 32px -20px 0; padding-left: 40px; }
.ddl-step .swiper { overflow: visible; clip-path: inset(-20px -100vw -20px 0); }
.ddl-step .swiper-wrapper { margin: 0; padding: 0; list-style: none; }
.ddl-step .ddl-step__item { position: relative; width: 270px; height: 300px; background: #e8ffea; border-radius: 20px; text-align: center; }
.ddl-step__cat { position: absolute; left: 0; right: 0; top: 31px; color: #60bf68; font-weight: 500; font-size: 15px; line-height: 1.3; letter-spacing: -0.3px; }
.ddl-step__q { position: absolute; left: 0; right: 0; top: 53px; color: #333; font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -0.4px; white-space: nowrap; }
.ddl-step__img { position: absolute; left: 0; right: 0; top: 92px; height: 112px; display: flex; align-items: center; justify-content: center; }
/* 제목이 2줄인 카드: 이미지를 제목 아래로 내림 */
.ddl-step__item--2line .ddl-step__img { top: 108px; height: 104px; }
#wrap .ddl-step__img img { margin: 0; height: auto; }
.ddl-step__txt { position: absolute; left: 0; right: 0; top: 217px; color: #333; font-weight: 500; font-size: 15px; line-height: 1.3; letter-spacing: -0.3px; white-space: nowrap; }

/* 슬라이드 페이지 표시 + 일시정지 */
.ddl-pager { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 21px; height: 10px; }
.ddl-pager .ddl-pager__dots { position: static; display: flex; align-items: center; gap: 5px; width: auto; transform: none; }
.ddl-dot { display: block; width: 5px; height: 5px; padding: 0; border: 0; border-radius: 2.5px; background: #888; cursor: pointer; transition: width 0.3s ease; }
.ddl-dot.is-on { width: 17px; }
.ddl-pager__play { position: relative; width: 8px; height: 10px; padding: 0; border: 0; background: none; cursor: pointer; }
.ddl-pager__play::before, .ddl-pager__play::after { content: ""; position: absolute; top: 0; width: 3px; height: 10px; background: #888; }
.ddl-pager__play::before { left: 0; }
.ddl-pager__play::after { right: 0; }
.ddl-pager__play.is-paused::before { left: 0; width: 0; height: 0; background: none; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #888; }
.ddl-pager__play.is-paused::after { display: none; }

/* TIP3 3대 핵심 형사 책임 비용 (1열) */
.ddl-rows { margin: 28px 0 0; padding: 0; list-style: none; }
.ddl-row { display: flex; align-items: center; height: 90px; margin-top: 10px; background: #e8ffea; border-radius: 10px; }
.ddl-row:first-child { margin-top: 0; }
.ddl-row__img { flex: 0 0 151px; display: flex; align-items: center; justify-content: center; }
#wrap .ddl-row__img img { margin: 0; height: auto; }
.ddl-row__txt { padding-left: 12px; color: #333; font-weight: 600; font-size: 14px; line-height: 1.4; letter-spacing: -0.28px; }
.ddl-row__txt small { display: block; color: #757c75; font-weight: 500; font-size: 12px; letter-spacing: -0.36px; }

/* TIP4 상황별 추천 특약 (아코디언) */
.ddl-cov { margin: 32px 6px 0; padding: 0; list-style: none; }
.ddl-cov__item { margin-top: 15px; padding: 21px 19px; background: #fff; border: 1px solid #a0e6a6; border-radius: 20px; }
.ddl-cov__item:first-child { margin-top: 0; }
.ddl-cov__btn { position: relative; display: block; width: 100%; padding: 0 30px 0 0; background: none; border: 0; cursor: pointer; font: inherit; text-align: left; color: inherit; }
.ddl-cov__tit { display: block; color: #222; font-weight: 700; font-size: 15px; line-height: 1.25; letter-spacing: -0.3px; word-break: keep-all; }
.ddl-cov__tit em { color: #047a44; }
.ddl-cov__arw { position: absolute; right: 5px; top: 9px; width: 9px; height: 9px; border-left: 1.5px solid #222; border-top: 1.5px solid #222; transform: rotate(45deg); transition: transform 0.3s ease; }
.ddl-cov__item:not(.is-open) .ddl-cov__arw { top: 3px; transform: rotate(225deg); }
.ddl-cov__list { margin: 7px 0 0; padding: 0; list-style: none; }
.ddl-cov__item:not(.is-open) .ddl-cov__list { display: none; }
.ddl-cov__list li { position: relative; margin-top: 4px; padding-left: 9px; color: #666; font-size: 13px; line-height: 1.35; letter-spacing: -0.39px; word-break: break-all; }
.ddl-cov__list li:first-child { margin-top: 0; }
.ddl-cov__list li::before { content: "•"; position: absolute; left: 0; top: 0; }
.ddl-cov__list li.sub { margin-top: 0; padding-left: 20px; }
.ddl-cov__list li.sub::before { content: "-"; left: 10px; }

/* 세부 내용 토글 */
.ddl-det { margin: 26px 0 0; }
.ddl-det__btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; color: #222; font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: -0.28px; }
.ddl-det__arw { width: 7px; height: 7px; margin-top: 2px; border-left: 1.5px solid #222; border-top: 1.5px solid #222; transform: rotate(225deg) translate(2px, 2px); transition: transform 0.3s ease; }
.ddl-det.is-open .ddl-det__arw { transform: rotate(45deg) translate(1px, 1px); }
.ddl-det__body { display: none; padding: 20px 10px 0; color: #888; font-size: 12px; line-height: 1.35; letter-spacing: -0.24px; word-break: break-all; }
.ddl-det.is-open .ddl-det__body { display: block; }
.ddl-det__body p { position: relative; }
#driver-dl .ddl-det__body .d1 { margin-top: 7px; padding-left: 9px; }
.ddl-det__body .d1::before { content: "•"; position: absolute; left: 0; top: 0; }
.ddl-det__body .d2 { padding-left: 19px; }
.ddl-det__body .d2::before { content: "-"; position: absolute; left: 10px; top: 0; }

/* FAQ */
.ddl-faqwrap { background: #f4f6f9; padding: 30px 20px 50px; }
.ddl-faq-head { text-align: center; }
.ddl-faq-pill { display: inline-block; width: 90px; height: 28px; border-radius: 20px; background: #089254; color: #fff; font-weight: 600; font-size: 15px; line-height: 28px; letter-spacing: -0.3px; }
#driver-dl .ddl-faq-title { margin: 8px 0 24px; color: #222; font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.44px; }
.ddlfaq { background: #fff; border-radius: 20px; padding: 10px 20px; }
.ddlfaq__item { border-bottom: 1px solid #ededed; }
.ddlfaq__item:last-child { border-bottom: 0; }
.ddlfaq__q { display: flex; align-items: flex-start; gap: 6px; width: 100%; font: inherit; background: none; border: 0; cursor: pointer; text-align: left; padding: 18px 0; color: inherit; }
.ddlfaq__qq { flex: 0 0 19px; color: #232323; font-weight: 700; font-size: 16px; line-height: 1.3; }
.ddlfaq__qt { flex: 1 1 auto; color: #232323; font-weight: 600; font-size: 16px; line-height: 1.3; letter-spacing: -0.32px; word-break: keep-all; }
.ddlfaq__arw { flex: 0 0 auto; width: 9px; height: 9px; margin: 5px 2px 0 6px; border-right: 1.5px solid #222; border-bottom: 1.5px solid #222; transform: rotate(45deg); transition: transform 0.3s ease; }
.ddlfaq__item.is-open .ddlfaq__arw { transform: translateY(4px) rotate(-135deg); }
.ddlfaq__a { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s ease, opacity 0.3s ease; }
.ddlfaq__item.is-open .ddlfaq__a { max-height: 2500px; opacity: 1; }
.ddlfaq__abox { padding: 0 0 20px 25px; color: #666; font-size: 13px; line-height: 1.3; letter-spacing: -0.26px; word-break: keep-all; }
#driver-dl .ddlfaq__abox p + p { margin-top: 1.3em; }
.ddlfaq__abox em { font-weight: 600; color: #047a44; }
.ddlfaq__abox .s { color: #888; font-size: 11px; line-height: 1.3; letter-spacing: -0.22px; }

/* 알아두실 사항 */
.ddl-notice { padding: 35px 20px; background: #fff; border-bottom: 10px solid #f4f6f9; }
#driver-dl .ddl-notice__tit { position: relative; padding-left: 21px; color: #333; font-weight: 600; font-size: 14px; line-height: 16px; letter-spacing: -0.28px; }
.ddl-notice__tit::before { content: "!"; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #333; color: #fff; font-size: 12px; line-height: 16px; text-align: center; }
.ddl-notice__list, .ddl-notice__list ul { margin: 0; padding: 0; list-style: none; }
.ddl-notice__list { margin-top: 10px; padding-left: 3px; }
.ddl-notice__list li { position: relative; padding-left: 9px; color: #444; font-size: 12px; line-height: 1.35; word-break: keep-all; }
.ddl-notice__list > li + li { margin-top: 7px; }
.ddl-notice__list li::before { content: "•"; position: absolute; left: 0; top: 0; }
.ddl-notice__list li li { padding-left: 11px; }
.ddl-notice__list li li::before { content: "-"; left: 1px; }

/* 유의문구 */
.ddl-disc { background: #fff; padding: 40px 20px 34px; }
.ddl-disc__logo { width: 81px; margin: 0 auto 16px; }
#wrap .ddl-disc__logo img { display: block; width: 100%; height: auto; }
#driver-dl .ddl-disc__txt { color: #444; font-size: 11px; line-height: 1.35; letter-spacing: -0.22px; text-align: justify; }
#driver-dl .ddl-disc__num { margin: 8px 0 0; color: #444; font-size: 10px; line-height: 15.5px; letter-spacing: -0.2px; text-align: center; }
#driver-dl .ddl-disc__ai { margin: 6px 0 0; color: #999; font-size: 9px; line-height: 15.5px; letter-spacing: -0.18px; text-align: center; }
