/* DB손해보험 다이렉트 - 가정보장보험(화재) 리뉴얼 (PC) */
#house-dl * { box-sizing: border-box; }
#house-dl { width: 100%; overflow-x: hidden; background: #fff; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }

/* 상단 배너 (높이 고정: 헤더가 80px 아래에 붙음) */
.hdl-topbanner { display: block; height: 80px; overflow: hidden; background: #FBF9E9; }
#wrap .hdl-topbanner img { display: block; width: 1920px; max-width: none; height: 80px; margin-left: 50%; transform: translateX(-50%); }

/* 히어로 (메인 KV) */
.hdl-kv { position: relative; height: 700px; }
.hdl-kv__box { position: absolute; left: 50%; top: 0; width: 1080px; height: 550px; margin-left: -540px; border-radius: 20px; overflow: hidden; background: linear-gradient(-31.98deg, #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: 38px; color: #008048; font-weight: 500; font-size: 17px; line-height: 20px; letter-spacing: -0.51px; }
.hdl-kv__lead { top: 69px; color: #222; font-weight: 600; font-size: 20px; line-height: 24px; letter-spacing: -0.8px; }
.hdl-kv__main { top: 91px; color: #047a44; font-weight: 700; font-size: 51px; line-height: 1.25; }
.hdl-kv__opt { top: 155px; color: #333; font-weight: 600; font-size: 26px; line-height: 1.25; }
#wrap .hdl-kv__weather { position: absolute; left: 305px; top: 241px; width: 156px; height: auto; }
#wrap .hdl-kv__model { position: absolute; left: 310px; top: 190px; width: 423px; height: auto; }

.hdl-kv__event { position: absolute; left: 50%; top: 495px; z-index: 2; width: 750px; height: 105px; margin-left: -375px; background: #fff; border-radius: 20px; box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.06), 4px 4px 12px rgba(0, 0, 0, 0.06); color: #000; text-decoration: none; }
.hdl-kv__evicon { position: absolute; left: 35px; top: 29px; width: 87px; }
#wrap .hdl-kv__evicon img { display: block; width: 87px; height: auto; }
.hdl-kv__evbadge { position: absolute; left: 68px; top: 10px; width: 65px; height: 28px; padding-top: 2px; background: url("../images/kv_badge.svg") no-repeat 0 0 / 65px 28px; color: #fff; font-weight: 600; font-size: 14px; line-height: 18px; text-align: center; }
.hdl-kv__evtit { position: absolute; left: 141px; top: 29px; font-weight: 600; font-size: 21px; line-height: 25px; letter-spacing: -0.63px; white-space: nowrap; }
.hdl-kv__evtit em { font-style: normal; font-weight: 700; color: #008048; }
.hdl-kv__evsub { position: absolute; left: 141px; top: 57px; color: #666; font-weight: 500; font-size: 18px; line-height: 21px; letter-spacing: -0.36px; white-space: nowrap; }
.hdl-kv__evarw { position: absolute; left: 673px; top: 39px; width: 27px; height: 27px; border-radius: 50%; background: #035530; }
.hdl-kv__evarw::after { content: ""; position: absolute; left: 9px; top: 10px; width: 6px; height: 6px; border-top: 1.8px solid #fff; border-right: 1.8px solid #fff; transform: rotate(45deg); }

/* 내 보험료 계산하기 (스크롤해서 노출된 뒤에는 하단 고정) */
.hdl-kv__cta { position: absolute; left: 0; right: 0; top: 610px; height: 90px; }
.hdl-ctabar { height: 90px; padding-top: 34px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, #fff 35%); }
.hdl-ctabar.is-fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; }
.hdl-ctabar__btn { display: block; width: 640px; height: 56px; margin: 0 auto; border-radius: 10px; background: #4fb84f; color: #fff; font-weight: 700; font-size: 24px; line-height: 56px; letter-spacing: -0.48px; text-align: center; text-decoration: none; }

/* 약속 1~3 공통 */
.hdl-pro { background: #fff; padding: 0 20px 60px; }
.hdl-pro--1 { padding-top: 60px; }
.hdl-pro__inner { width: 642px; max-width: 100%; margin: 0 auto; }
.hdl-pro__head { text-align: center; }
.hdl-pro__pill { display: inline-block; min-width: 103px; height: 34px; padding: 0 20px; line-height: 32px; border: 1px solid #089254; border-radius: 100px; color: #089254; font-weight: 600; font-size: 16px; }
.hdl-pro__tit { margin: 11px 0 0; color: #222; font-weight: 700; font-size: 28px; line-height: 36px; letter-spacing: -0.02em; }
.hdl-pro__tit em { font-style: normal; color: #047a44; }
.hdl-pro__note { margin: 15px 0 0; text-align: center; color: #888; font-size: 15px; line-height: 22px; letter-spacing: -0.01em; }

/* 약속 1·2 카드 (2열) */
.hdl-grid { display: grid; grid-template-columns: repeat(2, 310px); gap: 20px; justify-content: space-between; margin: 36px 0 0; padding: 0; list-style: none; }
.hdl-grid__item { position: relative; height: 200px; background: #e8ffea; border-radius: 20px; }
.hdl-badge { position: absolute; left: 15px; top: 15px; width: 45px; height: 21px; line-height: 21px; border-radius: 100px; background: #089254; color: #fff; font-size: 13px; font-weight: 500; text-align: center; }
.hdl-grid__img { position: absolute; left: 0; right: 0; top: 14px; height: 108px; display: flex; align-items: center; justify-content: center; }
.hdl-grid__img img { max-width: 150px; max-height: 112px; height: auto; }
.hdl-grid__txt { position: absolute; left: 0; right: 0; top: 130px; margin: 0; text-align: center; color: #333; font-weight: 600; font-size: 18px; line-height: 24px; letter-spacing: -0.02em; }

/* 약속 3 슬라이드 */
.hdl-slide.swiper { width: auto; margin: 24px -12px 0; padding: 12px; }
.hdl-card { display: block; height: 320px; padding: 36px 20px 0; background: #e8ffea; border-radius: 20px; 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: 21px; line-height: 30px; letter-spacing: -0.02em; }
.hdl-card__img { display: flex; align-items: center; justify-content: center; height: 128px; margin: 10px 0 14px; }
.hdl-card__img img { max-width: 180px; max-height: 124px; height: auto; }
.hdl-card__txt { margin: 0; color: #333; font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: -0.03em; }
.hdl-card__sub { margin: 4px 0 0; color: #888; font-size: 13px; line-height: 18px; letter-spacing: -0.02em; }
@media (hover: hover) {
  .hdl-card:hover { transform: scale(1.04); box-shadow: 0 8px 20px rgba(8, 146, 84, 0.12); }
}
.hdl-slide__ctrl { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px 0 0; }
.hdl-slide__dots.swiper-pagination-bullets { position: static; display: flex; align-items: center; gap: 6px; 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: 20px 0 0; }
.hdl-det__btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto; padding: 4px 0; background: none; border: 0; cursor: pointer; font: inherit; color: #222; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.hdl-det__arw { width: 9px; height: 9px; margin-top: 2px; border-left: 2px solid #222; border-top: 2px 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: 40px 0 0; color: #888; font-size: 14px; line-height: 22px; letter-spacing: -0.02em; }
.hdl-det.is-open .hdl-det__body { display: block; }
.hdl-det__body p { position: relative; margin: 0; }
.hdl-det__body .d1 { padding-left: 10px; }
.hdl-det__body .d1::before { content: "•"; position: absolute; left: 0; top: 0; }
.hdl-det__body .d2 { padding-left: 21px; }
.hdl-det__body .d2::before { content: "-"; position: absolute; left: 10px; top: 0; }

/* FAQ + 유의문구 영역 */
.hdl-faqwrap { background: #f4f6f9; padding: 80px 20px 10px; }
.hdl-faq-inner { max-width: 1200px; margin: 0 auto; }
.hdl-faq-head { text-align: center; }
.hdl-faq-pill { display: inline-block; margin: 0 0 20px; padding: 9px 30px; background: #1aa54f; border-radius: 100px; color: #fff; font-weight: 700; font-size: 22px; letter-spacing: 0.04em; }
.hdl-faq-title { text-align: center; font-weight: 800; font-size: 42px; letter-spacing: -0.02em; color: #1a1a1a; margin: 0 0 44px; }

.hdlfaq { background: #fff; border-radius: 24px; padding: 14px 48px; margin: 0 auto; }
.hdlfaq__item { border-bottom: 1px solid #ededed; }
.hdlfaq__item:last-child { border-bottom: 0; }
.hdlfaq__q { display: flex; align-items: flex-start; gap: 16px; width: 100%; font: inherit; background: none; border: 0; cursor: pointer; text-align: left; padding: 36px 4px; }
.hdlfaq__qq { flex: 0 0 auto; color: #1a1a1a; font-weight: 800; font-size: 22px; line-height: 1.35; }
.hdlfaq__qt { flex: 1 1 auto; color: #1a1a1a; font-weight: 700; font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; }
.hdlfaq__arw { flex: 0 0 auto; width: 15px; height: 15px; margin: 8px 6px 0 0; border-right: 2.5px solid #555; border-bottom: 2.5px solid #555; transform: translateY(-2px) 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: 800px; opacity: 1; }
.hdlfaq__abox { padding: 0 4px 36px 40px; color: #777; font-size: 18px; line-height: 1.75; letter-spacing: -0.01em; }

/* 유의문구 (가운데 정렬) */
.hdl-disc { background: #f4f6f9; padding: 60px 20px 50px; }
.hdl-disc__inner { display: flex; align-items: flex-start; gap: 18px; max-width: 890px; margin: 0 auto; }
.hdl-disc__logo { flex: 0 0 auto; width: 76px; }
#wrap .hdl-disc__logo img { display: block; width: 100%; height: auto; }
.hdl-disc__body { flex: 1 1 auto; }
.hdl-disc__txt { margin: 0; color: #8a8f99; font-size: 13px; line-height: 1.75; }
.hdl-disc__num { margin: 14px 0 0; color: #8a8f99; font-size: 13px; }
.hdl-disc__ai { margin: 4px 0 0; color: #aaa; font-size: 11px; }

@media (max-width: 1240px) {
  .hdl-faq-title { font-size: 3.4vw; }
  .hdlfaq__qt, .hdlfaq__qq { font-size: 1.9vw; }
}
