/* =============================================================
   bonniedental - style-dental.css
   치아보험 본문 섹션 (contents) — 통이미지 대체: 실제 HTML 텍스트(SEO)
   + PSD에서 추출한 실제 일러스트/사진/아이콘/로고 + CSS 도형
   팔레트: navy #0c1f3f / primary #183f80 / blue #1e5ba8 / teal #29aecb
           gold #fbbf38 / orange #ff7200 / tint #eef9ff
   ============================================================= */
:root {
    --dent-navy: #0c1f3f;
    --dent-primary: #183f80;
    --dent-blue: #1e5ba8;
    --dent-blue2: #1e427d;
    --dent-teal: #29aecb;
    --dent-teal2: #1c90d1;
    --dent-gold: #fbbf38;
    --dent-orange: #ff7200;
    --dent-tint: #eef9ff;
    --dent-tint2: #f4faff;
    --dent-line: #dbe6f2;
    --dent-ink: #282828;
    --dent-gray: #6a7684;
}

.dent-card {
    background: #fff;
    border: 1px solid var(--dent-line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(12, 31, 63, .07);
    overflow: hidden;
}
.dent-src { font-size: 11px; color: #8a94a0; margin: 10px 0 0; line-height: 1.4; }
.dent-note { font-size: 12px; color: var(--dent-gray); }
.dent-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--dent-orange); margin-top: 12px; }

/* ===== SECTION 01 — 치과 통계 4종 카드 ===== */
.dent-stat-card { height: 100%; padding: 0; }
.dent-stat-head {
    background: var(--dent-primary); color: #fff; font-weight: 700; font-size: 19px;
    text-align: center; padding: 14px 12px; letter-spacing: -.4px;
}
.dent-stat-body { padding: 22px 20px 20px; }
.dent-stat-unit { text-align: right; font-size: 11px; color: var(--dent-gray); margin-bottom: 6px; }
.dent-bars {
    display: flex; align-items: flex-end; justify-content: space-around; gap: 14px;
    height: 190px; padding: 10px 4px 0; border-bottom: 2px solid var(--dent-line);
}
.dent-bar {
    flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
    align-items: center; height: 100%; max-width: 78px;
}
.dent-bar > b { font-size: 15px; font-weight: 700; color: #8a94a0; margin-bottom: 6px; white-space: nowrap; }
.dent-bar.is-active > b { color: var(--dent-teal2); }
.dent-bar > .dent-bar-fill { width: 100%; background: #c9d3de; border-radius: 8px 8px 0 0; }
.dent-bar.is-active > .dent-bar-fill { background: var(--dent-teal2); }
.dent-bar > span { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--dent-ink); }
.dent-bar-sub { font-size: 11px; color: var(--dent-gray); margin-top: 2px; }
.dent-donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.dent-donut {
    width: 160px; height: 160px; border-radius: 50%; position: relative; flex: 0 0 auto;
    background: conic-gradient(var(--dent-primary) 0 35.2%, var(--dent-teal) 35.2% 47.1%,
        var(--dent-teal2) 47.1% 53.9%, #e3e8ef 53.9% 100%);
}
.dent-donut::after {
    content: "치과질환\ATOP 3"; white-space: pre; position: absolute; inset: 30px; background: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center;
    font-size: 14px; font-weight: 800; color: var(--dent-navy); line-height: 1.25;
}
.dent-legend { list-style: none; padding: 0; margin: 0; text-align: left; font-size: 13px; }
.dent-legend li { display: flex; align-items: center; gap: 8px; padding: 3px 0; color: var(--dent-ink); }
.dent-legend i { width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; }
.dent-legend b { font-weight: 700; }
.dent-price-row {
    display: flex; align-items: center; justify-content: space-between; background: var(--dent-tint2);
    border: 1px solid var(--dent-line); border-radius: 12px; padding: 14px 18px; margin-bottom: 12px;
}
.dent-price-row:last-of-type { margin-bottom: 0; }
.dent-price-row .dent-price-name { font-weight: 700; color: var(--dent-teal2); font-size: 16px; }
.dent-price-row .dent-price-val { text-align: right; font-size: 13px; color: var(--dent-gray); line-height: 1.4; }
.dent-price-row .dent-price-val strong { display: block; font-size: 19px; color: var(--dent-navy); }
.dent-stat-cap {
    background: var(--dent-primary); color: #fff; text-align: center; font-weight: 700;
    font-size: 14px; line-height: 1.4; border-radius: 12px; padding: 12px; margin-top: 16px;
}
.dent-stat-cap b { color: var(--dent-gold); }

/* ===== SECTION 02 — 걱정 3종 (텍스트 좌 + 치아 일러스트 우) ===== */
.dent-concern-card {
    display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--dent-line);
    border-radius: 18px; box-shadow: 0 8px 24px rgba(12, 31, 63, .06); padding: 24px 28px; margin-bottom: 22px;
}
.dent-concern-card:last-child { margin-bottom: 0; }
.dent-concern-text { flex: 0 0 33%; text-align: left; }
.dent-concern-q { font-size: 24px; font-weight: 800; color: var(--dent-navy); letter-spacing: -.5px; line-height: 1.3; margin: 0 0 8px; }
.dent-concern-q em { font-style: normal; color: var(--dent-blue); }
.dent-concern-desc { font-size: 15px; color: var(--dent-ink); line-height: 1.55; margin: 0; }
.dent-concern-illust { flex: 1; min-width: 0; }
.dent-concern-illust img { width: 100%; height: auto; display: block; border-radius: 12px; }

/* ===== SECTION 03 — 나이에 따라 다르게 (사진 + 텍스트 2카드) ===== */
.dent-age-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.dent-age-card { text-align: center; }
.dent-age-card .dent-age-photo {
    width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px;
    box-shadow: 0 10px 26px rgba(12, 31, 63, .12); margin-bottom: 20px;
}
.dent-age-card h4 { font-size: 26px; font-weight: 800; color: var(--dent-navy); letter-spacing: -.5px; margin: 0 0 12px; line-height: 1.3; }
.dent-age-card h4 em { font-style: normal; color: var(--dent-orange); }
.dent-age-card p { font-size: 18px; font-weight: 600; color: var(--dent-ink); line-height: 1.7; margin: 0; }

/* ===== SECTION 04 — 면책/감액 타임라인 ===== */
.dent-timeline {
    background: #fff; border: 1px solid var(--dent-line); border-radius: 18px;
    box-shadow: 0 8px 24px rgba(12, 31, 63, .06); padding: 34px 30px 26px; max-width: 820px; margin: 0 auto;
}
.dent-tl-track { display: flex; border-radius: 12px; overflow: hidden; height: 78px; box-shadow: inset 0 0 0 1px var(--dent-line); }
.dent-tl-seg {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    color: #fff; font-weight: 700; line-height: 1.25; font-size: 14px; padding: 6px;
}
.dent-tl-seg.free { background: var(--dent-primary); flex: 1.1; }
.dent-tl-seg.half { background: var(--dent-teal2); flex: 1; }
.dent-tl-seg.full { background: var(--dent-navy); flex: 1.3; }
.dent-tl-seg small { font-size: 11px; opacity: .92; font-weight: 500; }
.dent-tl-marks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--dent-ink); }
.dent-tl-marks span { flex: 1; text-align: center; }
.dent-tl-marks span:first-child { text-align: left; }
.dent-tl-marks span:last-child { text-align: right; }
.dent-tl-cta {
    font-size: 30px; font-weight: 800; color: var(--dent-ink); text-align: center;
    line-height: 1.45; letter-spacing: -.5px; margin: 22px 0 0;
}
.dent-tl-cta span { color: var(--dent-orange); }

/* ===== SECTION 05 — 진단형 vs 무진단형 (일러스트 포함) ===== */
.dent-vs { display: flex; align-items: stretch; justify-content: center; max-width: 900px; margin: 0 auto; position: relative; }
.dent-vs-col { flex: 1; border-radius: 20px; padding: 26px 22px 0; text-align: center; overflow: hidden; }
.dent-vs-col.left { background: #fff6bc; }
.dent-vs-col.right { background: #cbeafb; }
.dent-vs-badge {
    align-self: center; flex: 0 0 auto; width: 68px; height: 68px; margin: 0 -16px; z-index: 2;
    border-radius: 50%; background: var(--dent-primary); color: #fff; font-size: 28px; font-weight: 800;
    font-style: italic; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(24, 63, 128, .35);
}
.dent-vs-tag {
    display: inline-block; background: #fff; border-radius: 40px; padding: 8px 30px; font-size: 24px;
    font-weight: 800; letter-spacing: -.5px; margin-bottom: 14px; box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
}
.dent-vs-col.left .dent-vs-tag { color: var(--dent-orange); }
.dent-vs-col.right .dent-vs-tag { color: var(--dent-blue2); }
.dent-vs-col p { font-size: 17px; font-weight: 700; color: var(--dent-ink); line-height: 1.5; margin: 0 0 6px; }
.dent-vs-col .dent-vs-sub { font-size: 14px; font-weight: 600; color: var(--dent-blue2); line-height: 1.5; margin: 6px 0 0; }
.dent-vs-illust { width: 100%; height: auto; display: block; margin-top: 14px; }

/* ===== SECTION 08 — 제휴 보험사 로고 + 배너 ===== */
.dent-logos { max-width: 940px; margin: 0 auto; }
.dent-logos img { width: 100%; height: auto; display: block; }
.dent-logos-banner {
    background: var(--dent-tint); border-radius: 16px; text-align: center; padding: 28px 20px; margin: 6px 0;
}
.dent-logos-banner .dent-logos-pill {
    display: inline-block; background: var(--dent-primary); color: #fff; font-size: 20px; font-weight: 800;
    padding: 10px 28px; border-radius: 40px; margin-bottom: 16px; letter-spacing: -.4px;
}
.dent-logos-banner h3 { font-size: 30px; font-weight: 700; color: var(--dent-navy); line-height: 1.4; margin: 0; letter-spacing: -.5px; }
.dent-logos-banner h3 b { color: var(--dent-primary); font-weight: 800; }

/* ===== SECTION 09 — 3포인트 (실제 라인 아이콘) ===== */
.dent-p3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dent-p3-card {
    background: #fff; border: 1px solid var(--dent-line); border-radius: 18px;
    box-shadow: 0 8px 24px rgba(12, 31, 63, .07); overflow: hidden; text-align: center; padding-top: 12px;
}
.dent-p3-icon { width: 118px; height: 118px; margin: 18px auto 0; border-radius: 50%; overflow: hidden; background: #fff8c8; }
.dent-p3-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dent-p3-title { background: var(--dent-orange); color: #fff; font-size: 19px; font-weight: 800; display: inline-block; padding: 8px 26px; border-radius: 40px; margin: 22px 0 0; }
.dent-p3-desc { font-size: 15px; color: var(--dent-navy); line-height: 1.55; padding: 18px 18px 26px; margin: 0; }

/* ===== SECTION 10 — 모델 + 질문 버블 ===== */
.dent-model-wrap { position: relative; max-width: 560px; margin: 0 auto; padding: 30px 0 10px; }
.dent-model-wrap .dent-model { display: block; width: 300px; max-width: 60%; margin: 0 auto; }
.dent-bubble {
    display: inline-block; font-size: 22px; font-weight: 800; padding: 12px 26px; border-radius: 16px;
    background: var(--dent-primary); color: var(--dent-gold); box-shadow: 0 8px 18px rgba(12, 31, 63, .22); position: relative;
}
.dent-bubble::after { content: ""; position: absolute; bottom: -9px; left: 30px; border: 10px solid transparent; border-top-color: var(--dent-primary); border-bottom: 0; }
.dent-bubble.b-top { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 3; }
.dent-bubble.b-left { position: absolute; top: 38%; left: 0; z-index: 3; }
.dent-bubble.b-right { position: absolute; top: 52%; right: 0; z-index: 3; color: #fff; }

/* ===== SECTION 20 — POINT 01/02/03 (주황 카드 + 아이콘) ===== */
.dent-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dent-point {
    background: #fff; border: 1px solid var(--dent-line); border-radius: 20px; overflow: hidden;
    text-align: center; box-shadow: 0 10px 26px rgba(12, 31, 63, .08);
}
.dent-point-top { padding: 26px 20px 20px; }
.dent-point-badge {
    display: inline-block; background: var(--dent-orange); color: #fff; font-size: 16px; font-weight: 800;
    letter-spacing: .5px; padding: 8px 26px; border-radius: 40px; margin-bottom: 18px;
}
.dent-point-icon { width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; overflow: hidden; background: #eef0f2; }
.dent-point-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dent-point-body { background: var(--dent-orange); color: #fff; padding: 24px 20px 28px; }
.dent-point-body h4 { font-size: 21px; font-weight: 800; color: #fff; line-height: 1.35; margin: 0 0 14px; letter-spacing: -.4px; }
.dent-point-body p { font-size: 15px; color: #fff; line-height: 1.6; margin: 0; opacity: .96; }

/* barit.css가 참조하는 sectionbg_11.jpg / sectionbg_11m.jpg가 테마에 없어
   흰 배경 위 흰 텍스트가 되던 문제 — 단색 네이비로 대체 */
.section11_bg { background-image: none; background-color: var(--dent-navy); }

/* ===== 반응형 ===== */
@media (max-width: 991px) {
    .dent-p3, .dent-points { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
    .dent-stat-head { font-size: 17px; }
    .dent-bars { height: 160px; }
    .dent-concern-card { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 18px; }
    .dent-concern-text { flex: none; text-align: center; }
    .dent-concern-q { font-size: 20px; }
    .dent-age-grid { grid-template-columns: 1fr; gap: 28px; }
    .dent-age-card h4 { font-size: 23px; }
    .dent-vs { flex-direction: column; gap: 14px; }
    .dent-vs-col { padding-bottom: 6px; }
    .dent-vs-badge { margin: -16px auto; }
    .dent-tl-seg { font-size: 12px; }
    .dent-tl-seg small { font-size: 10px; }
    .dent-logos-banner h3 { font-size: 22px; }
    .dent-model-wrap { padding-top: 0; }
    .dent-model-wrap .dent-model { max-width: 72%; }
    .dent-bubble { font-size: 18px; padding: 10px 20px; }
    .dent-bubble.b-top { position: static; transform: none; display: block; margin: 0 auto 12px; width: max-content; }
    .dent-bubble.b-left, .dent-bubble.b-right { position: static; margin: 8px 6px 0; }
}
.speech-bubble.lh-15 { line-height: 1.35; }
.speech-bubble-white.lh-15 { line-height: 1.35; }
@media (max-width: 575px) {
  .fs-45.xs-fs-32 { font-size: 2rem; }
  .fs-38.xs-fs-28 { font-size: 1.75rem; }
  .fs-45.xs-fs-32.lh-30 { line-height: 1.4; }
}
