/* 4가지 프로그램 카드 */
.hc-package-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;list-style:none;padding:0;margin:0}
.hc-pkg{position:relative;display:flex;flex-direction:column;min-height:340px;background:#fff;border:1px solid #e5ebf3;border-radius:16px;padding:26px 22px 20px;box-shadow:0 6px 20px rgba(30,80,150,.05);transition:transform .22s,box-shadow .22s,border-color .22s}
.hc-pkg:hover{transform:translateY(-5px);box-shadow:0 14px 36px rgba(30,80,150,.14);border-color:#b8d4f0}
.hc-pkg-modal-trigger{cursor:pointer}
.hc-pkg-modal-trigger:focus-visible{outline:3px solid #1f6fd1;outline-offset:3px}
.hc-pkg-hot{border-color:#1f6fd1;border-width:2px}
.hc-pkg-vip{background:linear-gradient(180deg,#fffaf0 0%,#fff 60%);border-color:#e7c98a}
.hc-tag{display:inline-block;font-size:12px;font-weight:700;color:#1f6fd1;background:#e8f1fc;padding:5px 12px;border-radius:999px;margin-bottom:14px}
.hc-tag-hot{color:#fff;background:#1f6fd1}
.hc-tag-vip{color:#fff;background:#c89a3a}
.hc-pkg h4{font-size:22px;font-weight:800;color:#19243a;margin:0 0 4px}
.hc-pkg-sub{font-size:14px;color:#6b7a91;margin:0 0 18px}
.hc-pkg-price{font-size:30px;font-weight:800;color:#1f6fd1;margin:0;line-height:1}
.hc-pkg-price em{font-size:15px;font-weight:600;color:#19243a;font-style:normal;margin-left:4px}
.hc-pkg-price-sm{font-size:22px}
.hc-pkg-desc{font-size:13px;color:#56657a;background:#f3f7fc;padding:10px 12px;border-radius:8px;margin:14px 0 16px}
.hc-pkg-list{list-style:none;padding:0;margin:0;border-top:1px dashed #dde6f1;padding-top:14px}
.hc-pkg-list li{position:relative;padding:6px 0 6px 18px;font-size:14px;color:#3b4a64}
.hc-pkg-list li::before{content:"";position:absolute;left:0;top:13px;width:8px;height:8px;border-radius:50%;background:#1f6fd1;opacity:.7}

.hc-pkg-foot{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:auto;padding-top:18px;border-top:1px dashed #d0dce8;font-size:14px;font-weight:800;color:#1f6fd1;letter-spacing:-.02em}
.hc-pkg-foot__arrow{display:inline-block;transition:transform .22s ease;font-size:17px;line-height:1}
.hc-pkg:hover .hc-pkg-foot__arrow{transform:translateX(5px)}
.hc-pkg-foot__label{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}

/* 프로그램 비교표 (정보 구조) */
.hc-compare-head{text-align:center;margin:0 0 8px;padding:0 8px}
.hc-compare-title{font-size:20px;font-weight:800;color:#19243a;margin:0 0 10px;letter-spacing:-.3px}
.hc-compare-sub{font-size:14px;color:#56657a;margin:0;line-height:1.55}
.hc-compare-sub strong{color:#1f6fd1;font-weight:800}
.hc-legend{white-space:nowrap}
.hc-legend-in,.hc-legend-out{display:inline-block;min-width:1.2em;font-weight:800;color:#1f6fd1}
.hc-legend-out{color:#9aa8bc}

.hc-compare-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:16px 0 0;padding:0 0 6px}
.hc-compare-table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #cdd5e4;border-radius:14px;overflow:hidden;box-shadow:0 6px 22px rgba(30,80,150,.06);font-size:14px}
.hc-compare-caption{caption-side:top;text-align:left;font-size:13px;font-weight:600;color:#56657a;padding:0 4px 12px;line-height:1.45}

/* 헤더·본문 열별 색 (프로그램 구분) */
.hc-compare-table thead th{padding:14px 10px;text-align:center;font-weight:800;vertical-align:middle;line-height:1.35;border-bottom:2px solid rgba(25,36,58,.12)}
.hc-compare-table thead th:nth-child(1){text-align:left;min-width:188px;position:sticky;left:0;z-index:4;box-shadow:4px 0 12px rgba(25,36,58,.1);background:#e4e8ef;color:#19243a;border-bottom-color:#b9c3d6}
.hc-compare-table thead th:nth-child(2){background:#c8ddf3;color:#0d2744;border-left:1px solid rgba(25,36,58,.08)}
.hc-compare-table thead th:nth-child(3){background:#b0d0ef;color:#0c2238;border-left:1px solid rgba(25,36,58,.08)}
.hc-compare-table thead th:nth-child(4){background:#f2d9a6;color:#3d2e0c;border-left:1px solid rgba(25,36,58,.08)}
.hc-compare-table thead th:nth-child(5){background:#cec2e6;color:#291e3d;border-left:1px solid rgba(25,36,58,.08)}

.hc-compare-table tbody tr.hc-compare-data th,.hc-compare-table tbody tr.hc-compare-data td{padding:13px 11px;border-bottom:1px solid #dce3ee;text-align:center;vertical-align:middle;color:#3b4a64}
.hc-compare-table tbody tr.hc-compare-data th{text-align:left;font-weight:700;color:#19243a;font-size:13.5px;white-space:normal;min-width:160px;position:sticky;left:0;z-index:2;background:#e8ecf3;box-shadow:4px 0 10px rgba(25,36,58,.08);border-right:1px solid #d5dde8}
.hc-compare-table tbody tr.hc-compare-data th .hc-row-desc{display:block;margin-top:6px;font-size:12px;font-weight:500;color:#6b7a91;line-height:1.4}
.hc-compare-table tbody tr.hc-compare-data td:nth-child(2){background:#f4f8fd;border-left:1px solid rgba(25,36,58,.08)}
.hc-compare-table tbody tr.hc-compare-data td:nth-child(3){background:#edf4fc;border-left:1px solid rgba(25,36,58,.08)}
.hc-compare-table tbody tr.hc-compare-data td:nth-child(4){background:#fff8ec;border-left:1px solid rgba(25,36,58,.08)}
.hc-compare-table tbody tr.hc-compare-data td:nth-child(5){background:#f6f2fc;border-left:1px solid rgba(25,36,58,.08)}
.hc-compare-table tbody tr.hc-compare-data:last-child td,.hc-compare-table tbody tr.hc-compare-data:last-child th{border-bottom:0}

.hc-compare-table tbody tr.hc-compare-data:hover th{background:#dfe5ee}
.hc-compare-table tbody tr.hc-compare-data:hover td:nth-child(2){background:#e9f2fa}
.hc-compare-table tbody tr.hc-compare-data:hover td:nth-child(3){background:#e0ecf8}
.hc-compare-table tbody tr.hc-compare-data:hover td:nth-child(4){background:#fff0d9}
.hc-compare-table tbody tr.hc-compare-data:hover td:nth-child(5){background:#ede7f7}

.hc-compare-table tbody td strong{color:#1f6fd1}

/* 섹션 태그 (베이직/플러스/VIP) */
.hc-section-tag{display:inline-block;font-size:12px;font-weight:700;color:#1f6fd1;background:#e8f1fc;padding:5px 12px;border-radius:999px;margin-bottom:10px}
.hc-section-tag-hot{color:#fff;background:#1f6fd1}
.hc-section-tag-vip{color:#fff;background:#c89a3a}

/* 가격 행 (남/여) */
.hc-price-row{display:flex;gap:16px;justify-content:center;margin-top:20px;flex-wrap:wrap}
.hc-price-row > div{background:#fff;border:1px solid #e5ebf3;border-radius:12px;padding:16px 32px;display:flex;align-items:center;gap:14px;min-width:200px;justify-content:center}
.hc-price-row > div span{font-size:13px;color:#6b7a91;background:#f3f7fc;padding:4px 10px;border-radius:6px;font-weight:700}
.hc-price-row > div strong{font-size:22px;font-weight:800;color:#1f6fd1}

/* 검진 상세 카드 그리드 */
.hc-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hc-detail-grid-4{grid-template-columns:repeat(4,1fr)}
.hc-detail-card{background:#fff;border:1px solid #e5ebf3;border-radius:14px;padding:22px 20px;box-shadow:0 4px 14px rgba(30,80,150,.04)}
.hc-detail-card h5{font-size:17px;font-weight:800;color:#19243a;margin:0 0 6px;padding-bottom:10px;border-bottom:2px solid #1f6fd1;display:inline-block}
.hc-detail-card .hc-detail-sub{font-size:13px;color:#6b7a91;margin:8px 0 14px}
.hc-detail-card ul{list-style:none;padding:0;margin:12px 0 0}
.hc-detail-card li{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:14px;color:#3b4a64;border-bottom:1px dashed #eef2f8}
.hc-detail-card li:last-child{border-bottom:0}
.hc-detail-card li span{flex-shrink:0;display:inline-block;font-size:11px;font-weight:700;color:#1f6fd1;background:#e8f1fc;padding:3px 8px;border-radius:6px;min-width:46px;text-align:center}
.hc-detail-card li.hc-detail-li-stack{align-items:flex-start}
.hc-detail-card .hc-detail-li-val{flex:1;line-height:1.45}
.hc-detail-card .hc-detail-li-val small{display:block;margin-top:2px;font-size:11px;font-weight:400;color:#8a97ab;line-height:1.3}
.hc-detail-highlight{background:linear-gradient(180deg,#f0f7ff 0%,#fff 70%);border-color:#bcd6f1}
.hc-detail-highlight h5{border-bottom-color:#c89a3a}

/* 뇌건강세트 옵션 */
.hc-brain-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;list-style:none;padding:0;margin:0}
.hc-brain{position:relative;background:#fff;border:1px solid #e5ebf3;border-radius:14px;padding:24px 18px;box-shadow:0 4px 14px rgba(30,80,150,.04);text-align:left}
.hc-brain-best{border:2px solid #1f6fd1;background:linear-gradient(180deg,#f0f7ff 0%,#fff 70%)}
.hc-brain-best-tag{position:absolute;top:-12px;right:14px;background:#e84e3b;color:#fff;font-size:12px;font-weight:700;padding:5px 12px;border-radius:999px}
.hc-brain-step{font-size:12px;font-weight:700;color:#1f6fd1;letter-spacing:1px;margin:0 0 8px}
.hc-brain h5{font-size:18px;font-weight:800;color:#19243a;margin:0 0 4px}
.hc-brain-sub{font-size:13px;color:#6b7a91;margin:0 0 14px}
.hc-brain-price{font-size:26px;font-weight:800;color:#1f6fd1;margin:0 0 14px;padding-bottom:14px;border-bottom:1px dashed #dde6f1}
.hc-brain ul{list-style:none;padding:0;margin:0}
.hc-brain li{position:relative;padding:5px 0 5px 16px;font-size:13px;color:#3b4a64}
.hc-brain li::before{content:"";position:absolute;left:0;top:11px;width:6px;height:6px;border-radius:50%;background:#1f6fd1;opacity:.7}

/* 추가검사 가격 카드 */
.hc-price-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.hc-price-card{background:#fff;border:1px solid #e5ebf3;border-radius:14px;padding:24px;box-shadow:0 4px 14px rgba(30,80,150,.04)}
.hc-price-card h5{font-size:18px;font-weight:800;color:#19243a;margin:0 0 16px;padding-bottom:12px;border-bottom:2px solid #1f6fd1;display:flex;justify-content:space-between;align-items:center}
.hc-price-card h5 span{font-size:12px;font-weight:700;color:#1f6fd1;background:#e8f1fc;padding:4px 10px;border-radius:999px}
.hc-price-card ul{list-style:none;padding:0;margin:0}
.hc-price-card li{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:14px;color:#3b4a64;border-bottom:1px dashed #eef2f8}
.hc-price-card li:last-child{border-bottom:0}
.hc-price-card li em{font-style:normal;font-weight:800;color:#1f6fd1}
.hc-price-card-foot{margin:14px 0 0;font-size:12px;color:#7c8699;text-align:right}

/* 특수 검사 */
.hc-special-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;list-style:none;padding:0;margin:0}
.hc-special-grid li{background:#fff;border:1px solid #e5ebf3;border-radius:14px;padding:24px 22px;box-shadow:0 4px 14px rgba(30,80,150,.04)}
.hc-special-tag{display:inline-block;font-size:11px;font-weight:700;color:#1f6fd1;background:#e8f1fc;padding:4px 10px;border-radius:6px;margin-bottom:10px}
.hc-special-grid h5{font-size:17px;font-weight:800;color:#19243a;margin:0 0 8px}
.hc-special-grid p{font-size:14px;color:#56657a;margin:0 0 16px;line-height:1.55}
.hc-special-foot{display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px dashed #dde6f1}
.hc-special-foot span{font-size:12px;color:#7c8699}
.hc-special-foot strong{font-size:20px;font-weight:800;color:#1f6fd1}

/* 프로그램 상세 모달 (카드·표 헤더 → 팝업) */
html.hc-program-detail-use-modal .hc-program-detail-source{display:none!important}

.hc-program-modal{display:none;position:fixed;inset:0;z-index:10050;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:40px 28px 64px;align-items:flex-start;justify-content:center;background:rgba(18,30,48,.58)}
.hc-program-modal--open{display:flex!important;flex-direction:column}
.hc-program-modal__dialog{position:relative;box-sizing:border-box;display:flex;flex-direction:column;width:min(960px,calc(100vw - 56px));min-height:min(720px,78vh);max-height:min(860px,88vh);margin:0 auto;background:#fff;border-radius:18px;box-shadow:0 24px 64px rgba(0,0,0,.3);padding:40px 44px 44px}
.hc-program-modal__close{position:absolute;top:18px;right:18px;width:48px;height:48px;border:0;border-radius:12px;background:#eef2f8;color:#19243a;font-size:28px;line-height:1;cursor:pointer;z-index:2;padding:0}
.hc-program-modal__close:hover{background:#e2e8f0}
.hc-program-modal__close:focus-visible{outline:2px solid #1f6fd1;outline-offset:2px}
.hc-program-modal__title{flex-shrink:0;margin:0 60px 24px 0;font-size:23px;font-weight:800;color:#19243a;letter-spacing:-.3px;padding:4px 0 16px;border-bottom:2px solid #1f6fd1;display:block;max-width:100%}
.hc-program-modal__body{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;color:#3b4a64;padding:8px 4px 0}
.hc-program-modal__body > .inner{width:100%;max-width:100%;margin:0 auto;padding:0 8px 12px;box-sizing:border-box}
.hc-program-modal__body .middle-title{margin-top:0;margin-bottom:8px}
.hc-program-modal__body .hc-price-row{margin-top:8px;margin-bottom:8px}
.hc-program-modal__body .hc-detail-grid,.hc-program-modal__body .hc-brain-grid{margin-top:28px}
.hc-program-modal__body .hc-note{margin-top:28px;margin-bottom:4px;padding:0 4px}

/* 예약 안내 */
.hc-contact{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hc-contact-card{background:#fff;border:1px solid #e5ebf3;border-radius:14px;padding:28px 24px;box-shadow:0 4px 14px rgba(30,80,150,.04)}
.hc-contact-label{font-size:13px;font-weight:700;color:#1f6fd1;background:#e8f1fc;display:inline-block;padding:4px 12px;border-radius:999px;margin:0 0 14px}
.hc-contact-phone{display:block;font-size:30px;font-weight:800;color:#19243a;text-decoration:none;letter-spacing:-.5px;margin-bottom:8px}
.hc-contact-phone:hover{color:#1f6fd1}
.hc-contact-desc{font-size:14px;color:#56657a;line-height:1.6;margin:0}
.hc-contact-addr{font-size:17px;font-weight:700;color:#19243a;margin:0 0 8px}
.hc-contact-hours{list-style:none;padding:0;margin:0}
.hc-contact-hours li{display:flex;justify-content:space-between;padding:8px 0;font-size:15px;color:#3b4a64;border-bottom:1px dashed #eef2f8}
.hc-contact-hours li:last-child{border-bottom:0}
.hc-contact-hours li span{font-weight:700;color:#19243a}

/* 공통 */
.hc-note{margin-top:22px;font-size:13px;color:#7c8699;text-align:center;line-height:1.6}
.hc-note b{color:#1f6fd1}

/* 반응형 */
@media (max-width:1024px){
	.hc-package-grid{grid-template-columns:repeat(2,1fr)}
	.hc-detail-grid,.hc-detail-grid-4{grid-template-columns:repeat(2,1fr)}
	.hc-brain-grid{grid-template-columns:repeat(2,1fr)}
	.hc-special-grid{grid-template-columns:repeat(2,1fr)}
	.hc-contact{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
	.hc-pkg,.hc-pkg-foot__arrow{transition:none}
}

@media (max-width:640px){
	.hc-package-grid{grid-template-columns:1fr}
	.hc-detail-grid,.hc-detail-grid-4{grid-template-columns:1fr}
	.hc-brain-grid{grid-template-columns:1fr}
	.hc-special-grid{grid-template-columns:1fr}
	.hc-price-grid{grid-template-columns:1fr}
	.hc-program-modal{padding:24px 14px 48px}
	.hc-program-modal__dialog{width:calc(100vw - 28px);padding:32px 22px 36px;min-height:min(520px,80vh);max-height:90vh;border-radius:16px}
	.hc-program-modal__close{top:14px;right:14px;width:44px;height:44px;font-size:26px}
	.hc-program-modal__title{margin-right:50px;font-size:20px;padding-bottom:14px;margin-bottom:20px}
	.hc-program-modal__body{padding:4px 0 0}
	.hc-program-modal__body > .inner{padding:0 2px 8px}
}
