/* ============================================================
   만세케어 — 자격증 상세 페이지 전용 스타일
   ============================================================ */

/* 헤더 투명 처리 */
.header { background: transparent; border-bottom: none; backdrop-filter: none; }
.header.scrolled { background: rgba(255,250,235,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.header .btn-primary { background: #ED6F23; color: #fff; box-shadow: 0 6px 16px rgba(237,111,35,.3); }
.header .btn-primary:hover { background: #d85f17; }
.header .btn-ghost { border-color: rgba(58,44,0,.28); color: #3a2c00; }
.header .btn-ghost:hover { background: rgba(255,255,255,.4); }

/* 히어로 */
.d-hero { background: var(--primary); position: relative; overflow: hidden; margin-top: -74px; padding: calc(74px + clamp(40px,6vw,72px)) 0 clamp(48px,6vw,80px); }
.d-hero::before { content: ""; position: absolute; width: 46vw; height: 46vw; max-width: 580px; max-height: 580px; border-radius: 50%; background: rgba(255,255,255,.22); top: -18%; right: -8%; }
.d-hero .wrap { position: relative; z-index: 1; text-align: center; }
.crumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; color: #3a2c00; opacity: .75; }
.crumb a { color: inherit; text-decoration: none; }
.crumb .sep { opacity: .5; }
.d-hero .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: #fff; background: var(--primary-deep); padding: 7px 14px; border-radius: 999px; margin-top: 18px; }
.d-hero h1 { font-size: clamp(36px,5.4vw,68px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: #3a2c00; margin: 18px 0 0; }
.d-hero .sub { font-size: clamp(17px,2vw,21px); color: #3a2c00; font-weight: 600; margin: 18px auto 0; max-width: 720px; line-height: 1.6; }
.d-hero .quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: center; }
.d-hero .quick .q { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.55); border: 1px solid rgba(58,44,0,.16); border-radius: 999px; padding: 9px 18px; font-weight: 800; font-size: 15.5px; color: #3a2c00; }
.d-hero .quick .q b { color: var(--primary-deep); }

/* 섹션 공통 */
.d-sec { padding: clamp(56px,7vw,96px) 0; }
.d-sec h2 { font-size: clamp(26px,3.2vw,38px); font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.25; }
.d-sec .lead { margin: 14px 0 0; color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 680px; }
.d-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px,3.5vw,40px); }
.d-head .eye { display: inline-block; font-size: 13px; font-weight: 800; color: var(--primary-deep); background: var(--primary-soft); padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; margin-bottom: 14px; }

/* 자격 소개 */
.d-about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,4vw,56px); align-items: start; }
.about-body p { color: #3a474e; font-size: 17px; line-height: 1.85; margin: 0 0 18px; }
.about-body .points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.about-body .points li { display: flex; gap: 14px; font-size: 16px; color: #2f3a40; line-height: 1.6; }
.about-body .points .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #3a2c00; display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.about-side { background: linear-gradient(180deg,var(--surface-2),#fff); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.about-side h4 { margin: 0 0 16px; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.about-side .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--primary); color: #3a2c00; display: grid; place-items: center; font-weight: 900; }
.about-side dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 14px 18px; }
.about-side dt { font-size: 14px; color: var(--muted); font-weight: 700; }
.about-side dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink); }

/* 커리큘럼 */
.d-curr { background: var(--bg); }
.curr-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin-bottom: 22px; }
.curr-summary .cs-item { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 92px; }
.curr-summary .cs-k { font-size: 13px; font-weight: 700; color: var(--muted); }
.curr-summary .cs-v { font-size: 26px; font-weight: 900; color: #3a474e; line-height: 1; }
.curr-summary .cs-v small { font-size: 13px; color: var(--muted); font-weight: 700; margin-left: 3px; }
.curr-summary .cs-op { font-size: 20px; font-weight: 800; color: var(--muted); }
.curr-summary .cs-total .cs-k { color: var(--primary-deep); }
.curr-summary .cs-total .cs-v { color: var(--primary-deep); }
.curr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 18px; }
.curr-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; position: relative; }
.curr-card .num { position: absolute; top: 20px; right: 24px; font-size: 13px; font-weight: 800; color: var(--primary-deep); background: var(--primary-soft); padding: 5px 11px; border-radius: 8px; }
.curr-card h4 { font-size: 21px; font-weight: 800; margin: 0 0 18px; padding-right: 72px; }
.curr-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.curr-card li { font-size: 15.5px; color: #3a474e; padding-left: 18px; position: relative; line-height: 1.55; }
.curr-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.curr-field { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; align-items: center; margin-top: 18px; background: var(--primary-soft); border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; }
.curr-field .cf-tag { display: inline-block; font-size: 13px; font-weight: 800; color: var(--primary-deep); background: var(--surface); padding: 5px 11px; border-radius: 8px; }
.curr-field h4 { font-size: 22px; font-weight: 800; margin: 12px 0 8px; }
.curr-field .cf-head p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }
.curr-field .cf-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.curr-field .cf-list li { font-size: 15.5px; color: #3a474e; padding-left: 18px; position: relative; line-height: 1.55; }
.curr-field .cf-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.curr-field .cf-list b { color: var(--primary-deep); font-weight: 800; }
@media (max-width: 720px) { .curr-field { grid-template-columns: 1fr; } }

/* 취득 경로 */
.d-path { background: var(--surface); }
.path-line { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; position: relative; }
.path-line::before { content: ""; position: absolute; top: 40px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg,var(--primary) 0 8px,transparent 8px 14px); z-index: 0; }
.p-step { position: relative; z-index: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; text-align: center; }
.p-step .num { width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: #3a2c00; display: grid; place-items: center; font-size: 20px; font-weight: 900; margin: 0 auto 16px; border: 6px solid var(--surface); }
.p-step h5 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.p-step p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* 수강료 */
.d-fee { background: var(--bg); }
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fee-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.fee-panel h4 { margin: 0 0 20px; font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.fee-panel h4 .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-size: 16px; }
.sched-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sched-item { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.sched-item .tag { display: inline-block; font-size: 12.5px; font-weight: 800; color: #3a2c00; background: var(--primary); padding: 3px 10px; border-radius: 6px; }
.sched-item .when { font-size: 16.5px; font-weight: 800; margin: 9px 0 4px; }
.sched-item .span { font-size: 14px; color: var(--muted); }
.fee-list { display: flex; flex-direction: column; }
.fee-list .ln { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.fee-list .ln:last-of-type { border-bottom: none; }
.fee-list .ln .lbl { color: #46535b; }
.fee-list .ln .val { font-weight: 800; color: var(--ink); }
.fee-list .total { background: #FFF8E1; border: 1px solid #F3DFA3; border-radius: 12px; padding: 16px 18px; margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.fee-list .total .lbl { color: #5a4500; font-weight: 700; }
.fee-list .total .val { font-size: 22px; font-weight: 900; color: #7A5500; }

/* 활동 분야 */
.d-field { background: var(--surface); }
.field-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.field { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .18s, border-color .18s, box-shadow .18s; }
.field:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.field .em { font-size: 32px; line-height: 1; }
.field h5 { margin: 14px 0 6px; font-size: 18px; font-weight: 800; }
.field p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* FAQ */
.d-faq { background: var(--bg); }
.faq-list-d { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item-d { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .18s; }
.faq-item-d[open] { box-shadow: var(--shadow-sm); }
.faq-item-d summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 22px 24px; font-weight: 700; font-size: 17.5px; }
.faq-item-d summary::-webkit-details-marker { display: none; }
.faq-item-d summary .q { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; font-weight: 900; font-size: 13.5px; }
.faq-item-d summary .arrow { margin-left: auto; color: var(--muted); transition: transform .2s; font-size: 16px; }
.faq-item-d[open] summary .arrow { transform: rotate(180deg); }
.faq-item-d .ans { padding: 0 24px 24px 68px; color: #46535b; font-size: 15.5px; line-height: 1.8; }

/* CTA */
.d-cta { background: var(--primary); text-align: center; padding: clamp(56px,7vw,96px) 0; }
.d-cta h2 { font-size: clamp(28px,4.2vw,48px); font-weight: 800; color: #3a2c00; letter-spacing: -.03em; }
.d-cta p { color: #3a2c00; font-weight: 600; font-size: clamp(16px,1.8vw,19px); margin: 14px 0 30px; }
.d-cta .acts { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.d-cta .btn-deep { background: var(--primary-deep); color: #fff; }
.d-cta .btn-deep:hover { background: #7d5700; }
.d-cta .btn-wht { background: #fff; color: #3a2c00; }
.d-cta .btn-wht:hover { filter: brightness(.97); }
/* tel: 링크 버튼은 모바일 전용 — PC에서 숨김 */
@media (min-width:769px) {
    .d-cta .acts .tel-only { display: none; }
}

/* 반응형 */
@media (max-width:980px) {
    .about-grid { grid-template-columns: 1fr; }
    .curr-grid { grid-template-columns: 1fr; }
    .path-line { grid-template-columns: repeat(2,1fr); }
    .path-line::before { display: none; }
    .fee-grid { grid-template-columns: 1fr; }
    .field-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:560px) {
    .sched-list { grid-template-columns: 1fr; }
    .field-grid { grid-template-columns: 1fr; }
    .d-hero .quick { flex-direction: column; gap: 8px; }
}
