/* DB손해보험 다이렉트 - 가정보장보험(화재) 리뉴얼 (Mobile) */
#house-dl * { box-sizing: border-box; }
#house-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; }

/* 히어로 (메인 KV) — 360px 디자인 기준, 가운데 정렬 */
.hdl-kv { position: relative; height: 610px; overflow: hidden; }
.hdl-kv::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 500px; background: linear-gradient(-59.12deg, #d8ffdb 19.53%, #e8ffea 49.64%, #f6fff7 75.94%); }
.hdl-kv__tit p { position: absolute; left: 0; right: 0; margin: 0; text-align: center; white-space: nowrap; }
.hdl-kv__sub { top: 48px; color: #008048; font-weight: 600; font-size: 14px; line-height: 17px; letter-spacing: -0.42px; }
.hdl-kv__lead { top: 73px; color: #222; font-weight: 600; font-size: 16px; line-height: 1.25; letter-spacing: -0.64px; }
.hdl-kv__main { top: 92px; color: #047a44; font-weight: 700; font-size: 35px; line-height: 1.35; letter-spacing: -0.9px; }
.hdl-kv__opt { top: 134px; color: #333; font-weight: 600; font-size: 20px; line-height: 1.35; letter-spacing: -0.6px; }
#wrap .hdl-kv__weather { position: absolute; left: 50%; top: 216px; width: 114px; height: auto; margin-left: -158px; }
#wrap .hdl-kv__model { position: absolute; left: 50%; top: 173px; width: 339px; height: auto; margin-left: -167px; }

.hdl-kv__event { position: absolute; left: 0; right: 0; top: 430px; 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; }
.hdl-kv__evicon { position: relative; flex: 0 0 auto; width: 64px; height: 56px; }
#wrap .hdl-kv__evicon img { position: absolute; left: 0; top: 14px; width: 62px; height: auto; }
.hdl-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; }
.hdl-kv__evtxt { flex: 1 1 auto; min-width: 0; }
.hdl-kv__evtit { display: block; font-weight: 600; font-size: 15px; line-height: 18px; letter-spacing: -0.45px; white-space: nowrap; }
.hdl-kv__evtit em { font-style: normal; font-weight: 700; color: #008048; }
.hdl-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; }
.hdl-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); }

/* 내 보험료 계산하기 (스크롤해서 노출된 뒤에는 하단 고정) */
.hdl-kv__cta { position: absolute; left: 0; right: 0; top: 527px; height: 83px; }
.hdl-ctabar { height: 83px; padding: 27px 20px 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, #fff 35%); }
.hdl-ctabar.is-fixed { position: fixed; left: 50%; bottom: 0; z-index: 900; width: 100%; max-width: 720px; transform: translateX(-50%); }
.hdl-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; }
#house-dl::after { content: ""; display: block; height: 83px; background: #747474; }

/* 약속 1~3 공통 */
.hdl-pro { padding: 0 20px 50px; background: #fff; }
.hdl-pro--1 { padding-top: 50px; }
.hdl-pro__head { text-align: center; }
.hdl-pro__pill { display: inline-block; min-width: 90px; height: 28px; padding: 0 16px; line-height: 26px; border: 1px solid #089254; border-radius: 100px; color: #089254; font-weight: 600; font-size: 14px; }
.hdl-pro__tit { margin: 14px 0 0; color: #222; font-weight: 700; font-size: 22px; line-height: 30px; letter-spacing: -0.03em; }
.hdl-pro__tit em { font-style: normal; color: #047a44; }
.hdl-pro__note { margin: 18px 0 0; text-align: center; color: #888; font-size: 13px; line-height: 20px; letter-spacing: -0.02em; }

/* 약속 1·2 카드 (1열) */
.hdl-rows { margin: 28px 0 0; padding: 0; list-style: none; }
.hdl-row { position: relative; display: flex; align-items: center; height: 90px; margin-top: 14px; background: #e8ffea; border-radius: 12px; }
.hdl-row:first-child { margin-top: 0; }
.hdl-pro--2 .hdl-row { margin-top: 10px; }
.hdl-pro--2 .hdl-row:first-child { margin-top: 0; }
.hdl-badge { position: absolute; left: 10px; top: 10px; width: 35px; height: 18px; line-height: 18px; border-radius: 100px; background: #089254; color: #fff; font-size: 11px; font-weight: 500; text-align: center; }
.hdl-row__img { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 110px; height: 80px; margin-left: 35px; }
.hdl-row__img img { max-width: 100px; max-height: 76px; height: auto; }
.hdl-row__txt { flex: 1 1 auto; margin: 0 0 0 18px; color: #333; font-weight: 600; font-size: 15px; line-height: 17px; letter-spacing: -0.03em; }

/* 약속 3 슬라이드 */
.hdl-slide.swiper { margin: 14px -20px 0; padding: 10px 0; }
.hdl-slide .swiper-slide { width: 270px; }
.hdl-card { display: block; height: 310px; padding: 34px 6px 0; background: #e8ffea; border-radius: 24px; text-align: center; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hdl-card__tit { display: block; color: #222; font-weight: 700; font-size: 20px; line-height: 28px; letter-spacing: -0.03em; }
.hdl-card__img { display: flex; align-items: center; justify-content: center; height: 118px; margin: 18px 0 14px; }
.hdl-card__img img { max-width: 160px; max-height: 112px; height: auto; }
.hdl-card__txt { margin: 0; color: #333; font-weight: 600; font-size: 14px; line-height: 20px; letter-spacing: -0.04em; }
.hdl-card__sub { margin: 3px 0 0; color: #888; font-size: 12px; line-height: 16px; letter-spacing: -0.03em; }
@media (hover: hover) {
  .hdl-card:hover { transform: scale(1.03); box-shadow: 0 6px 16px rgba(8, 146, 84, 0.12); }
}
.hdl-slide__ctrl { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; }
.hdl-slide__dots.swiper-pagination-bullets { position: static; display: flex; align-items: center; gap: 5px; width: auto; }
.hdl-slide__dots .swiper-pagination-bullet { width: 5px; height: 5px; margin: 0 !important; background: #888; opacity: 1; border-radius: 3px; transition: width 0.3s ease; }
.hdl-slide__dots .swiper-pagination-bullet-active { width: 17px; }
.hdl-slide__play { position: relative; width: 12px; height: 12px; padding: 0; border: 0; background: none; cursor: pointer; }
.hdl-slide__play::before, .hdl-slide__play::after { content: ""; position: absolute; top: 1px; width: 3px; height: 10px; background: #888; }
.hdl-slide__play::before { left: 2px; }
.hdl-slide__play::after { left: 7px; }
.hdl-slide__play.is-paused::before { left: 2px; width: 0; height: 0; background: none; border-left: 9px solid #888; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.hdl-slide__play.is-paused::after { display: none; }

/* 세부 내용 토글 */
.hdl-det { margin: 24px 10px 0; }
.hdl-det__btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto; padding: 4px 0; background: none; border: 0; cursor: pointer; font: inherit; color: #222; font-weight: 600; font-size: 14px; letter-spacing: -0.03em; }
.hdl-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; }
.hdl-det.is-open .hdl-det__arw { transform: rotate(45deg) translate(1px, 1px); }
.hdl-det__body { display: none; padding: 30px 0 0; color: #888; font-size: 12px; line-height: 17px; letter-spacing: -0.03em; word-break: keep-all; }
.hdl-det.is-open .hdl-det__body { display: block; }
.hdl-det__body p { position: relative; margin: 0; }
.hdl-det__body .d1 { padding-left: 9px; }
.hdl-det__body .d1::before { content: "•"; position: absolute; left: 0; top: 0; }
.hdl-det__body .d2 { padding-left: 17px; }
.hdl-det__body .d2::before { content: "-"; position: absolute; left: 9px; top: 0; }

/* FAQ */
.hdl-faqwrap { background: #f4f6f9; padding: 40px 18px 8px; }
.hdl-faq-head { text-align: center; }
.hdl-faq-pill { display: inline-block; margin: 0 0 14px; padding: 7px 22px; background: #1aa54f; border-radius: 100px; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.hdl-faq-title { text-align: center; font-weight: 800; font-size: 25px; letter-spacing: -0.02em; color: #1a1a1a; margin: 0 0 24px; }
.hdlfaq { background: #fff; border-radius: 16px; padding: 4px 18px; }
.hdlfaq__item { border-bottom: 1px solid #ededed; }
.hdlfaq__item:last-child { border-bottom: 0; }
.hdlfaq__q { display: flex; align-items: flex-start; gap: 8px; width: 100%; font: inherit; background: none; border: 0; cursor: pointer; text-align: left; padding: 22px 2px; }
.hdlfaq__qq { flex: 0 0 auto; color: #1a1a1a; font-weight: 800; font-size: 16px; line-height: 1.4; }
.hdlfaq__qt { flex: 1 1 auto; color: #1a1a1a; font-weight: 700; font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; }
.hdlfaq__arw { flex: 0 0 auto; width: 11px; height: 11px; margin: 6px 2px 0 0; border-right: 2px solid #555; border-bottom: 2px solid #555; transform: rotate(45deg); transition: transform 0.3s ease; }
.hdlfaq__item.is-open .hdlfaq__arw { transform: translateY(3px) rotate(-135deg); }
.hdlfaq__a { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s ease, opacity 0.3s ease; }
.hdlfaq__item.is-open .hdlfaq__a { max-height: 1000px; opacity: 1; }
.hdlfaq__abox { padding: 0 2px 22px 24px; color: #777; font-size: 14px; line-height: 1.7; letter-spacing: -0.01em; }

/* 유의문구 */
.hdl-disc { background: #f4f6f9; padding: 24px 18px 34px; }
.hdl-disc__logo { width: 76px; margin: 0 auto 12px; }
#wrap .hdl-disc__logo img { display: block; width: 100%; height: auto; }
.hdl-disc__txt { margin: 0; color: #8a8f99; font-size: 11.5px; line-height: 1.7; }
.hdl-disc__num { margin: 14px 0 0; color: #8a8f99; font-size: 11.5px; text-align: center; }
.hdl-disc__ai { margin: 10px 0 0; color: #aaa; font-size: 10px; text-align: center; }
