/* ================================================================
   bmw-promo.css  —  BMW 6월 프로모션 이벤트 페이지
   ================================================================ */

/* ── 플로팅 뒤로가기 버튼 ── */
.promo_back_btn {
  position: fixed;
  top: 14px;
  left: 14px; /* JS가 PC에서 재조정 */
  z-index: 200;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.promo_back_ico {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../images/icon/arrow_left_w.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* ── 메인 래퍼 ── */
.promo_main {
  padding-top: 0;
  padding-bottom: 96px;
  background: #1c69d4;
}

/* ── HERO ── */
.promo_hero {
  background: #1c69d4;
  padding: 72px 24px 60px;
  padding-bottom: 30px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.promo_brand_logo {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  animation: promo_fadeup 0.6s ease 0s both;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.3));
}
.promo_brand_logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.14) 38%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: -1;
  filter: blur(2px);
  animation: promo_pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
.promo_hero_badge {
  display: inline-block;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  padding: 5px 14px;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
  animation: promo_fadeup 0.55s ease 0.05s both;
}
.promo_hero_sub {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  animation: promo_fadeup 0.55s ease 0.15s both;
}
.promo_hero_title {
  position: relative;
  z-index: 1;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -2px;
  text-shadow: 0 0 48px rgba(255, 255, 255, 0.2);
  animation: promo_fadeup 0.55s ease 0.25s both;
}
.promo_hero_title_lead {
  font-size: 0.9em;
}
.promo_hero_title em {
  font-style: normal;
  font-size: 1.2em;
  position: relative;
  display: inline-block;
  color: #bfdbfe;
  animation: promo_glow 2.8s ease-in-out infinite;
}
@keyframes promo_glow {
  0%,
  100% {
    text-shadow: 0 0 16px rgba(191, 219, 254, 0.35);
  }
  50% {
    text-shadow: 0 0 34px rgba(191, 219, 254, 0.85);
  }
}
.promo_hero_mid {
  position: relative;
  z-index: 1;
  font-size: 21px;
  font-weight: 800;
  color: #fde68a;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  animation: promo_fadeup 0.55s ease 0.35s both;
}

/* ── HERO 모바일 반응형 ── */
@media (max-width: 500px) {
  .promo_hero_sub {
    font-size: 18px;
  }
  .promo_hero_title {
    font-size: 34px;
  }
  .promo_hero_mid {
    font-size: 17px;
  }
}

@keyframes promo_fadeup {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes promo_pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.3);
  }
}
/* ── 별 장식 ── */
.promo_hero_deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.promo_star {
  position: absolute;
  color: #fff;
  font-style: normal;
  animation: promo_pulse 2.4s ease-in-out infinite;
}
.promo_star.s1 {
  top: 18%;
  left: 8%;
  font-size: 14px;
  animation-delay: 0s;
}
.promo_star.s2 {
  top: 12%;
  right: 10%;
  font-size: 10px;
  animation-delay: 0.6s;
}
.promo_star.s3 {
  top: 30%;
  left: 6%;
  font-size: 12px;
  animation-delay: 0.3s;
}

/* ── 스크롤 페이드인 ── */
.promo_anim {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.promo_anim.promo_visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HOW TO TIP 박스 오버라이드 ── */
.promo_main .section_notice.notice_blue {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
.promo_main .section_notice.notice_blue span {
  color: rgba(255, 255, 255, 0.85);
}

/* ── 하단 고정 CTA ── */
.promo_fix_cta {
  position: fixed;
  bottom: 0;
  left: 0; /* JS가 재조정 */
  width: 100%; /* JS가 재조정 */
  background: linear-gradient(to bottom, transparent, #2d7ae7 38%);
  display: flex;
  gap: 10px;
  padding: 32px 16px 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  box-shadow: none;
  z-index: 90;
}
.promo_fix_cta .btn_line,
.promo_fix_cta .btn_main {
  flex: 1;
  height: 50px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
}
.promo_fix_cta .btn_main {
  background: #0e2254;
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

/* ── 요약 스트립 (글래스 카드) ── */
.promo_summary_strip {
  display: flex;
  gap: 10px;
  padding: 0 14px 20px;
  background: transparent;
  box-shadow: none;
  margin-bottom: 0;
}
.promo_sum_ico {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.promo_sum_item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
}
.promo_sum_label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  word-break: keep-all;
  line-height: 1.3;
}
.promo_sum_value {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  line-height: 1.2;
  word-break: keep-all;
}
.promo_sum_value b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  word-break: keep-all;
}
.promo_sum_list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
  text-align: center;
}
.promo_sum_divider {
  display: none;
}

/* ── 공통 섹션 ── */
.promo_section {
  padding: 28px 14px 12px;
}
.promo_section_head {
  text-align: center;
  margin-bottom: 20px;
}
.promo_section_label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.promo_section_title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.1px;
  line-height: 1.4;
  word-break: keep-all;
  margin-bottom: 6px;
}
.promo_section_sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  word-break: keep-all;
  line-height: 1.5;
}

/* ── TIER 블록 ── */
.promo_tier {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.promo_tier_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
}
.promo_tier_badge {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}
.promo_tier_range {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* TIER 1 — 딥 네이비 */
.promo_tier.tier1 .promo_tier_header {
  background: #0e2254;
}
/* TIER 2 — 블루 */
.promo_tier.tier2 .promo_tier_header {
  background: #2563b8;
}
/* TIER 3 — 라이트 블루 */
.promo_tier.tier3 .promo_tier_header {
  background: #499ae6;
}

/* ── 모델 카드 ── */
.promo_model_card {
  background: #f8f9fb;
  padding: 14px 14px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 0;
}
.promo_model_card:first-of-type {
  border-top: none;
}
.promo_model_name {
  flex: 0 0 101px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding-right: 14px;
  border-right: 1px solid #e9ecef;
  align-self: stretch;
  justify-content: center;
  word-break: keep-all;
}
.promo_model_sub {
  font-size: 13px;
  font-weight: 500;
  color: #797f85;
  word-break: keep-all;
  line-height: 1.4;
}
.promo_ev_badge {
  font-size: 12px !important;
  padding: 3px 8px !important;
  border-radius: 100px !important;
  background: #e8f5e9 !important;
  color: #388e3c !important;
  font-weight: 600 !important;
}

/* ── 5·7시리즈 공동 프로모션 강화 ── */
.promo_combo {
  background: #f8f9fb;
}
.promo_combo_head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #f0f0f0;
  background-color: #e8edff;
}
.promo_combo_bullet {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.promo_combo_head_text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.promo_combo_title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  word-break: keep-all;
  letter-spacing: -0.1px;
}
.promo_combo_title_hl {
  color: var(--primary);
  font-weight: 800;
}
.promo_combo_desc {
  font-size: 13px;
  color: #55595d;
  line-height: 1.5;
  word-break: keep-all;
}
.promo_finance_note {
  display: none;
  margin: 0;
  padding: 10px 14px;
  background: #eef1f5;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  font-weight: 500;
  color: #495057;
  text-align: center;
  word-break: keep-all;
}

/* ── 혜택 행 ── */
.promo_benefit_rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 10px;
}
.promo_benefit_row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
}
.promo_benefit_row:first-child {
  border-top: none;
  padding-top: 0;
}
.promo_benefit_top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.promo_btype_label {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  word-break: keep-all;
}
.promo_bformula {
  font-size: 14px;
  color: #53575a;
  word-break: keep-all;
  font-weight: 400;
}
.promo_btotal {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
/* ── SMART POINT ── */
.promo_smart {
  background: #1e3478;
  padding: 36px 24px 32px;
  text-align: center;
  color: #fff;
  margin: 0 14px 8px;
  border-radius: 18px;
}
.promo_smart_eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.promo_smart_head {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.5px;
  word-break: keep-all;
  margin-bottom: 20px;
}
.promo_smart_pct {
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 12px;
}
.promo_smart_pct span {
  font-size: 60px;
  font-weight: 800;
  color: #ffc02d;
}
.promo_smart_sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 12px;
  word-break: keep-all;
}
.promo_smart_sub strong {
  color: #fff;
}
.promo_smart_note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  margin-bottom: 14px;
  word-break: keep-all;
}
.promo_smart_source {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 28px;
}

/* 비교 카드 */
.promo_compare {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo_cmp_item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  text-align: left;
}
.promo_cmp_item.bad {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.promo_cmp_item.good {
  background: rgba(48, 111, 225, 0.2);
  border: 1px solid rgba(48, 111, 225, 0.35);
}
.promo_cmp_icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}
.promo_cmp_item.bad .promo_cmp_icon {
  background: rgba(255, 99, 99, 0.25);
  color: #ff8080;
}
.promo_cmp_item.good .promo_cmp_icon {
  background: rgba(100, 180, 255, 0.3);
  color: #7ec8ff;
}
.promo_cmp_txt {
  flex: 1;
  min-width: 0;
}
.promo_cmp_txt strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.promo_cmp_txt p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  word-break: keep-all;
}
.promo_cmp_note {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(253, 230, 138, 0.12);
  border: 1px solid rgba(253, 230, 138, 0.3);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fde68a;
  line-height: 1.5;
  text-align: center;
  word-break: keep-all;
}

/* ── HOW TO ── */
.promo_howto {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 14px;
}
.promo_step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #e8edff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.promo_step_arrow {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  padding: 6px 0;
}
.promo_step_num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}
.promo_step_content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.promo_step_txt {
  font-size: 15px;
  color: #2c2c2c;
  font-weight: 500;
  line-height: 1.45;
  word-break: keep-all;
}

/* ── 면책 각주 ── */
.promo_footnote {
  padding: 16px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(191, 203, 240, 0.428);
  border-radius: 12px;
  margin: 0 12px;
}
.promo_fn_intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.promo_fn_head {
  display: flex;
  align-items: center;
  gap: 6px;
}
.promo_fn_ico {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.promo_fn_title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.promo_fn_desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  word-break: keep-all;
}
.promo_fn_block strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.806);
  margin-bottom: 4px;
}
.promo_fn_block p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.617);
  line-height: 1.65;
  word-break: keep-all;
}
.promo_fn_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── CTA 버튼 영역 ── */
.promo_cta {
  padding: 20px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo_cta .btn_main,
.promo_cta .btn_line {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

/* ── 문의 바텀시트 ── */
.promo_inq_sec {
  padding-bottom: 4px;
}
.promo_inq_sec + .promo_inq_sec {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}
.promo_inq_sec_ttl {
  font-size: 11px;
  font-weight: 700;
  color: #adb5bd;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.promo_inq_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.promo_inq_chip {
  cursor: pointer;
}
.promo_inq_chip input[type="radio"],
.promo_inq_chip input[type="checkbox"] {
  display: none;
}
.promo_inq_chip span {
  display: inline-block;
  padding: 7px 14px;
  border: 1.5px solid #e2e5ea;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  background: #f8f9fa;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
  white-space: nowrap;
}
.promo_inq_chip input[type="radio"]:checked + span,
.promo_inq_chip input[type="checkbox"]:checked + span {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
  font-weight: 700;
}
.promo_inq_req {
  color: var(--primary);
  font-weight: 700;
}
.promo_inq_chip_color span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.promo_inq_swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #d8dadd;
  background: #fff
    url("https://file.carisyou.com/upload/2026/04/06/FILE_202604060422158800.gif")
    center / cover no-repeat;
  flex-shrink: 0;
}
.promo_inq_sheet .input_group.promo_inq_step {
  display: none;
}
.promo_inq_custom_row {
  display: flex;
  gap: 8px;
}
.promo_inq_custom_field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1.5px solid #e2e5ea;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}
.promo_inq_custom_field:focus-within {
  border-color: var(--primary);
}
.promo_inq_custom_input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 0;
  background: transparent;
  text-align: right;
}
.promo_inq_custom_unit {
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
}
.promo_inq_sheet .input_group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.promo_inq_sheet .input_group > label {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.promo_inq_sheet .input_group input[type="text"]:not(.promo_inq_custom_input),
.promo_inq_sheet .input_group select {
  padding: 11px 14px;
  border: 1.5px solid #e2e5ea;
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}
.promo_inq_sheet
  .input_group
  input[type="text"]:not(.promo_inq_custom_input):focus,
.promo_inq_sheet .input_group select:focus {
  border-color: var(--primary);
}
.promo_inq_sheet .input_group select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
