/* 암보험비교사이트 — 비교 가이드형 원페이지 */
.onepage { background: #fff; color: #1f2933; }
.onepage header { margin-top: 0; border-bottom: 1px solid #eceff3; }
.onepage header .brand {
  display: inline-flex; align-items: center; gap: 12px;
  width: auto; max-width: none; padding: 18px 0; text-decoration: none;
}
.onepage header .brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: #ff6a00; color: #fff; font-size: 20px; font-weight: 800;
  letter-spacing: -0.5px; flex-shrink: 0;
}
.onepage header .brand__name {
  font-size: 22px; font-weight: 800; color: #222; letter-spacing: -0.8px; line-height: 1.2;
}

/* 히어로: 좌측 헤드라인 + 우측 2x2 특징 */
.cmp-hero { padding: 56px 0 40px; background: #fff; }
.cmp-hero__row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 48px;
}
.cmp-hero__left { flex: 1; max-width: 560px; }
.cmp-hero__eyebrow {
  margin: 0 0 16px; font-size: 16px; color: #888; letter-spacing: -0.3px;
}
.cmp-hero__title {
  margin: 0 0 24px; font-size: 40px; line-height: 1.35; font-weight: 800; letter-spacing: -1.2px; color: #222;
}
.cmp-hero__title em { font-style: normal; color: #ff6a00; }
.cmp-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f3f3f3; color: #555; font-size: 14px;
  padding: 8px 16px; border-radius: 999px;
}
.cmp-hero__right { width: 420px; flex-shrink: 0; }
.cmp-feature-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.cmp-feature-grid a {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 14px; border: 1px solid #eee; border-radius: 12px;
  font-size: 14px; line-height: 1.35; font-weight: 600; color: #333;
  transition: border-color .2s, box-shadow .2s;
}
.cmp-feature-grid a:hover { border-color: #ff6a00; box-shadow: 0 4px 14px rgba(255,106,0,.08); }
.cmp-chevron { margin-left: auto; color: #bbb; font-size: 20px; font-weight: 400; }
.cmp-hero__note { margin-top: 12px; font-size: 12px; color: #999; text-align: right; }

.cmp-ico {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; position: relative;
}
.cmp-ico--chart {
  background: #e8f1ff;
  box-shadow: inset 8px 20px 0 -10px #4a90e2, inset 18px 14px 0 -10px #4a90e2, inset 28px 24px 0 -10px #4a90e2;
}
.cmp-ico--cover {
  background: #fff0e8; border-radius: 50%;
  box-shadow: inset 0 0 0 8px #ff8a4c;
}
.cmp-ico--type {
  background: #eafaf0; border-radius: 50%;
  box-shadow: inset 0 0 0 8px #3cb371;
}
.cmp-ico--tip { background: #fff6e5; }
.cmp-ico--tip::before {
  content: '%'; position: absolute; inset: 0; text-align: center; line-height: 36px;
  font-size: 14px; font-weight: 800; color: #ff6a00;
}

/* 견적 폼: 예시표 복제 대신 폼 + 체크리스트 */
.cmp-quote { padding: 56px 0 64px; background: #f4f6f8; }
.cmp-quote__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.cmp-quote__panel {
  background: #fff; border-radius: 18px; padding: 32px 28px;
  border: 1px solid #e6eaef; box-shadow: 0 10px 28px rgba(31,41,51,.06);
}
.cmp-quote__panel h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.8px; }
.cmp-quote__panel > p { margin: 0 0 24px; font-size: 14px; color: #6b7280; line-height: 1.6; }

.cmp-quote form ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cmp-quote form li label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: #333; }
.cmp-quote input[type="text"],
.cmp-quote input[type="tel"],
.cmp-quote select {
  width: 100%; box-sizing: border-box; border: 1px solid #d7dde5; border-radius: 10px;
  padding: 14px 16px; font-size: 16px; font-family: inherit; outline: none; background: #fff;
}
.cmp-quote input:focus, .cmp-quote select:focus { border-color: #ff6a00; }
.cmp-form-row { display: flex; gap: 10px; align-items: center; }
.cmp-form-row .form-name { flex: 1; }
.cmp-quote .sex_cover { display: flex; gap: 6px; }
.cmp-quote input[type="radio"] { display: none; }
.cmp-quote .sex_box label {
  display: flex; align-items: center; justify-content: center;
  min-width: 64px; height: 48px; margin: 0; padding: 0 14px;
  border: 1px solid #d7dde5; border-radius: 10px; background: #fff; color: #777;
  font-size: 15px; font-weight: 600; cursor: pointer; box-sizing: border-box;
}
.cmp-quote input[type="radio"]:checked + label {
  background: #fff4ec; color: #c24f00; border-color: #ff6a00;
}
.cmp-quote .tel_cover { display: flex; gap: 8px; }
.cmp-quote .tel_cover select { width: 110px; flex-shrink: 0; background: #fff url("./arrow_tel.png") no-repeat 85% 50% !important; }
.cmp-submit {
  width: 100% !important; margin-top: 20px; border: 0; border-radius: 12px;
  background: #ff6a00 !important; color: #fff; font-size: 18px !important; font-weight: 700;
  padding: 18px !important; cursor: pointer; flex-direction: row !important; gap: 0 !important;
}
.cmp-rolling { margin-top: 18px; background: #243040; border-radius: 12px; padding: 22px 20px; }
.cmp-rolling .verti { width: 100%; }
.cmp-rolling .name, .cmp-rolling .age, .cmp-rolling .time { color: #fff; font-size: 15px; }
.cmp-rolling .slides-slide {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; box-sizing: border-box; padding: 0 8px;
}
.cmp-rolling .name { min-width: 48px; font-weight: 600; }
.cmp-rolling .age { flex: 1; text-align: left; opacity: .92; }
.cmp-rolling .time {
  background: #3d4d62; border-radius: 20px; padding: 8px 14px; font-size: 12px;
  flex-shrink: 0; min-width: 64px; text-align: center;
}

.cmp-aside h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.cmp-aside ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.cmp-aside li {
  counter-increment: step; position: relative;
  padding: 16px 16px 16px 52px; margin-bottom: 10px;
  background: #fff; border: 1px solid #e6eaef; border-radius: 12px;
}
.cmp-aside li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 14px; top: 16px;
  font-size: 13px; font-weight: 800; color: #ff6a00;
}
.cmp-aside li strong { display: block; margin-bottom: 4px; font-size: 15px; }
.cmp-aside li span { font-size: 13px; color: #6b7280; line-height: 1.5; }
.cmp-aside__note { margin-top: 12px; font-size: 12px; color: #8a939c; line-height: 1.5; }

/* 가이드 점프 */
.cmp-jump {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  border-bottom: 1px solid #eceff3; backdrop-filter: blur(6px);
}
.cmp-jump ul {
  list-style: none; margin: 0; padding: 10px 0;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.cmp-jump a {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #5b6770; background: #f4f6f8;
}
.cmp-jump a.is-active, .cmp-jump a:hover { background: #ff6a00; color: #fff; }

/* SEO 가이드 블록: 번호 카드형 (좌문우도 패턴 탈피) */
.cmp-guide { padding: 72px 0 40px; }
.cmp-guide__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.cmp-guide__head h2 { margin: 0 0 12px; font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.cmp-guide__head p { margin: 0; font-size: 16px; line-height: 1.7; color: #5b6770; }

.cmp-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cmp-card {
  scroll-margin-top: 78px;
  background: #fff; border: 1px solid #e6eaef; border-radius: 16px; padding: 28px 28px 28px 30px;
}
.cmp-card--tint { background: #fafbfc; }
.cmp-card__num {
  display: inline-block; margin-bottom: 10px;
  font-size: 13px; font-weight: 800; color: #ff6a00; letter-spacing: 0.4px;
}
.cmp-card h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.4; font-weight: 800; letter-spacing: -0.6px; }
.cmp-card p { margin: 0 0 14px; font-size: 15px; line-height: 1.75; color: #4b5563; }
.cmp-card ul { margin: 0; padding: 0; list-style: none; }
.cmp-card ul li {
  position: relative; padding-left: 14px; margin-bottom: 8px;
  font-size: 13px; line-height: 1.55; color: #6b7280;
}
.cmp-card ul li::before { content: '–'; position: absolute; left: 0; color: #ff6a00; }

.cmp-faq { padding: 40px 0 80px; }
.cmp-faq__title { text-align: center; font-size: 28px; font-weight: 800; line-height: 1.4; margin: 0 0 32px; }
.cmp-qna { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; }
.cmp-qna .qna_item { border: 1px solid #e6eaef; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.cmp-qna .q_box {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px; cursor: pointer; background: #fff;
}
.cmp-qna .q_wrap p { margin: 0; font-size: 16px; font-weight: 700; color: #222; }
.cmp-qna__arrow { color: #9aa3ad; font-size: 14px; transition: transform .2s; }
.cmp-qna .qna_item.on .cmp-qna__arrow { transform: rotate(180deg); }
.cmp-qna .a_box { display: none; padding: 0 18px 18px; background: #fafbfc; }
.cmp-qna .a_box.show { display: block; }
.cmp-qna .txt_box p { margin: 0; font-size: 14px; line-height: 1.7; color: #5b6770; }

.onepage .bottom_form_wrap form { background: #243040; }
.onepage .bottom_form_wrap .btn_submit__btm { background: #ff6a00; }

@media (max-width: 1100px) {
  .cmp-hero__row { flex-direction: column; }
  .cmp-hero__right { width: 100%; }
  .cmp-hero__title { font-size: 32px; }
  .cmp-quote__grid { grid-template-columns: 1fr; }
  .cmp-jump ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .cmp-jump a { white-space: nowrap; }
}
