/* ============================================================
   ডাক্তারপাড়া — dp-health-packages.css
   হেলথ চেকআপ প্যাকেজ পেজ: হিরো, পরিসংখ্যান, ট্যাব, প্যাকেজ কার্ড,
   হোম-স্যাম্পল ব্যানার, কেন/তুলনা/যোগাযোগ সেকশন ও বুকিং মডাল।
   টোকেন আসে dp-chrome.css থেকে।
   ============================================================ */

:root { --dph-ink: #0e2a25; --dph-line: #dfe8e6; }

.dph-btn-green,
.dph-btn-light,
.dph-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s;
}
.dph-btn-green { color: #fff; background: linear-gradient(180deg, #11a04a 0%, var(--dp-green-dark) 100%); box-shadow: 0 6px 14px rgba(10, 138, 58, .26), inset 0 1px 0 rgba(255, 255, 255, .25); }
.dph-btn-green:hover { color: #fff; transform: translateY(-1px); }
.dph-btn-light { color: var(--dph-ink); background: #fff; border-color: #cfdcdf; }
.dph-btn-white { color: #0a7a33; background: #fff; }
.dph-btn-white.is-outline { color: #fff; background: transparent; border-color: #fff; }
.dph-btn-green:disabled { opacity: .7; cursor: wait; }
.dph-empty { grid-column: 1 / -1; padding: 40px 16px; text-align: center; color: var(--dp-muted); }

/* ============================================================
   হিরো
   ============================================================ */
.dph-hero { position: relative; overflow: hidden; min-height: 224px; background: linear-gradient(95deg, #f5fbfb 0%, #eaf6f7 55%, #dcecf3 100%); }
.dph-hero-art { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 54%; object-fit: cover; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.dph-hero-inner { position: relative; z-index: 2; padding: 22px 0 46px; }
.dph-hero h1 { margin: 0 0 6px; font-size: 24px; font-weight: 800; line-height: 1.25; color: var(--dph-ink); }
.dph-hero h1 small { display: block; font-size: 26px; font-weight: 800; }
.dph-hero h1 span { display: block; font-size: 54px; line-height: 1.15; color: #0a8a24; }
.dph-hero p { max-width: 440px; margin: 4px 0 12px; font-size: 18px; font-weight: 500; line-height: 1.45; color: var(--dp-text); }
.dph-checks { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0; padding: 0; list-style: none; }
.dph-checks li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 10px; border-radius: 999px; font-size: 15.5px; font-weight: 600; color: var(--dph-ink); background: rgba(255, 255, 255, .85); box-shadow: 0 3px 10px rgba(11, 42, 91, .06); }
.dph-checks i { font-size: 19px; color: #12a04a; }

/* পরিসংখ্যান */
.dph-stats-wrap { position: relative; z-index: 3; margin-top: -30px; }
.dph-stats { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 8px 6px; list-style: none; border: 1px solid var(--dph-line); border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgba(11, 42, 91, .1); }
.dph-stats li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-left: 1px solid #e3eceb; }
.dph-stats li:first-child { border-left: 0; }
.dph-stats i { flex-shrink: 0; font-size: 32px; line-height: 1; color: #0a8a3a; }
.dph-stats strong { display: block; font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--dph-ink); }
.dph-stats span { display: block; font-size: 13.5px; line-height: 1.3; color: var(--dp-text); }

/* ============================================================
   প্যাকেজ
   ============================================================ */
.dph-section { padding: 20px 0 0; }
.dph-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dph-section-head h2 { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.3; color: var(--dph-ink); }
.dph-more { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 600; color: var(--dp-green); white-space: nowrap; }

.dph-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.dph-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border: 1px solid #e2eaec; border-radius: 8px; background: #fff; box-shadow: 0 3px 10px rgba(11, 42, 91, .05); font-size: 16px; font-weight: 500; color: var(--dph-ink); cursor: pointer; transition: background .2s; }
.dph-tabs button i { font-size: 18px; color: #0a8a3a; }
.dph-tabs button:hover { background: #eaf7ef; }
.dph-tabs button.is-active { color: #fff; border-color: transparent; background: linear-gradient(180deg, #11a04a 0%, var(--dp-green-dark) 100%); }
.dph-tabs button.is-active i { color: #fff; }

.dph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dph-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--dph-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(11, 42, 91, .07); }
.dph-card[hidden] { display: none; }
.dph-ribbon { position: absolute; right: 12px; top: 10px; z-index: 2; padding: 2px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: #0a8a3a; }

.dph-card-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px; }
.dph-card-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; font-size: 28px; background: rgba(255, 255, 255, .85); }
.dph-card-head h3 { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.25; }
.dph-card-head p { margin: 2px 0 0; font-size: 14px; line-height: 1.35; color: var(--dp-text); }

.dph-card-body { position: relative; flex: 1; padding: 12px 14px 8px; min-height: 230px; }
.dph-tests { margin: 0; padding: 0 76px 0 0; list-style: none; }
.dph-tests li { display: flex; align-items: flex-start; gap: 8px; padding: 3px 0; font-size: 14.5px; line-height: 1.4; color: var(--dph-ink); }
.dph-tests li i { flex-shrink: 0; margin-top: 3px; font-size: 16px; color: #12a04a; }
.dph-tests li.is-info { font-weight: 600; }
.dph-total { position: absolute; right: 12px; top: 12px; width: 70px; padding: 6px 4px; border-radius: 8px; text-align: center; }
.dph-total small { display: block; font-size: 12.5px; line-height: 1.2; color: var(--dph-ink); }
.dph-total b { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; }

.dph-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 16px; }
.dph-price { display: flex; align-items: baseline; gap: 8px; }
.dph-price s { font-size: 14.5px; color: #d21c18; }
.dph-price strong { font-size: 26px; font-weight: 800; color: var(--dph-ink); }
.dph-card-foot .dph-btn-green { height: 42px; padding: 0 16px; font-size: 15.5px; }

/* কার্ডের রং (color_class অনুযায়ী) */
.pkg-basic    .dph-card-head { background: linear-gradient(180deg, #e8f7ee, #f6fcf8); }
.pkg-basic    .dph-card-head h3, .pkg-basic .dph-card-icon { color: #0a7a33; }
.pkg-basic    .dph-total { background: #e2f5ea; } .pkg-basic .dph-total b { color: #0a7a33; }
.pkg-standard .dph-card-head { background: linear-gradient(180deg, #e8f1fc, #f6faff); }
.pkg-standard .dph-card-head h3, .pkg-standard .dph-card-icon { color: #1f5fb5; }
.pkg-standard .dph-total { background: #dfeafa; } .pkg-standard .dph-total b { color: #1f5fb5; }
.pkg-premium  .dph-card-head { background: linear-gradient(180deg, #fdeedd, #fff8f0); }
.pkg-premium  .dph-card-head h3, .pkg-premium .dph-card-icon { color: #d45a0a; }
.pkg-premium  .dph-total { background: #fde6cf; } .pkg-premium .dph-total b { color: #d45a0a; }
.pkg-women    .dph-card-head { background: linear-gradient(180deg, #f6e9fb, #fcf6fe); }
.pkg-women    .dph-card-head h3, .pkg-women .dph-card-icon { color: #8a2fb0; }
.pkg-women    .dph-total { background: #f1def9; } .pkg-women .dph-total b { color: #8a2fb0; }
.pkg-heart    .dph-card-head { background: linear-gradient(180deg, #fde8ea, #fff6f7); }
.pkg-heart    .dph-card-head h3, .pkg-heart .dph-card-icon { color: #c4161c; }
.pkg-heart    .dph-total { background: #fbdde0; } .pkg-heart .dph-total b { color: #c4161c; }
.pkg-family   .dph-card-head { background: linear-gradient(180deg, #e3f5f6, #f4fbfb); }
.pkg-family   .dph-card-head h3, .pkg-family .dph-card-icon { color: #0b7e8a; }
.pkg-family   .dph-total { background: #d6eff1; } .pkg-family .dph-total b { color: #0b7e8a; }

/* ============================================================
   হোম স্যাম্পল ব্যানার
   ============================================================ */
.dph-banner-wrap { padding: 22px 0 0; }
.dph-banner { position: relative; display: flex; align-items: center; gap: 22px; min-height: 100px; padding: 10px 18px 10px 290px; border: 1px solid #cfe6d8; border-radius: 16px; background: linear-gradient(95deg, #ecf8f0 0%, #f4fbf6 55%, #e4f4ea 100%); box-shadow: 0 8px 22px rgba(11, 42, 91, .06); }
.dph-banner > img { position: absolute; left: 0; bottom: 0; height: 120%; width: auto; max-width: 280px; border-radius: 16px 0 0 16px; -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
.dph-banner h3 { flex-shrink: 0; margin: 0; font-size: 30px; font-weight: 800; line-height: 1.25; color: #0a7a33; }
.dph-banner h3 small { display: block; font-size: 18px; font-weight: 500; color: var(--dph-ink); }
.dph-banner-steps { display: flex; flex: 1; margin: 0; padding: 0; list-style: none; }
.dph-banner-steps li { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 4px 12px; border-left: 1px solid #c6e1d0; font-size: 14.5px; line-height: 1.35; color: var(--dph-ink); }
.dph-banner-steps i { flex-shrink: 0; font-size: 30px; color: #0a8a3a; }
.dph-banner-btn { flex-shrink: 0; height: 46px; }

/* কেন */
.dph-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dph-why-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--dph-line); border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(11, 42, 91, .05); }
.dph-why-item > i { flex-shrink: 0; font-size: 32px; line-height: 1; color: #0a8a3a; }
.dph-why-item b { display: block; font-size: 16.5px; font-weight: 800; color: var(--dph-ink); }
.dph-why-item span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--dp-text); }

/* তুলনা */
.dph-compare { overflow-x: auto; border: 1px solid var(--dph-line); border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(11, 42, 91, .05); }
.dph-compare table { width: 100%; border-collapse: collapse; font-size: 15px; color: var(--dph-ink); }
.dph-compare th { padding: 12px 14px; font-weight: 800; text-align: center; background: #f4f9f7; border-bottom: 1px solid var(--dph-line); }
.dph-compare th:first-child, .dph-compare td:first-child { text-align: left; }
.dph-compare td { padding: 10px 14px; text-align: center; border-bottom: 1px solid #edf1f0; }
.dph-compare .is-yes { font-size: 19px; color: #12a04a; }
.dph-compare .is-no { font-size: 19px; color: #aab4b2; }
.dph-compare tr.is-price td { font-size: 17px; font-weight: 800; border-bottom: 0; }

/* যোগাযোগের আহ্বান */
.dph-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; border-radius: 14px; color: #fff; background: linear-gradient(95deg, #0f9a48 0%, #0a7a33 100%); }
.dph-cta h3 { margin: 0 0 4px; font-size: 26px; font-weight: 800; color: #fff; }
.dph-cta p { margin: 0; font-size: 16px; color: #eafff1; }
.dph-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dph-section:last-of-type { padding-bottom: 30px; }

/* ============================================================
   বুকিং মডাল
   ============================================================ */
.dph-modal-backdrop { display: none; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 20, 40, .55); }
.dph-modal-backdrop.is-open { display: flex; }
.dph-modal { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.dph-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid #e8eeee; }
.dph-modal-head h4 { margin: 0; font-size: 20px; font-weight: 800; color: var(--dph-ink); }
.dph-modal-head h4 i { color: var(--dp-green); }
.dph-modal-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f5f4; font-size: 16px; cursor: pointer; }
.dph-modal-body { padding: 18px 22px; }
.dph-modal-body label { display: block; margin: 0 0 10px; font-size: 14.5px; font-weight: 600; color: var(--dph-ink); }
.dph-modal-body label b { color: #d21c18; }
.dph-modal-body input,
.dph-modal-body select,
.dph-modal-body textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 12px; border: 1px solid #cfdcdf; border-radius: 8px; outline: 0; font-size: 15px; font-weight: 400; color: var(--dp-text); background: #fff; }
.dph-modal-body input:focus,
.dph-modal-body select:focus,
.dph-modal-body textarea:focus { border-color: var(--dp-green); box-shadow: 0 0 0 3px rgba(10, 138, 58, .12); }
.dph-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dph-modal-body label.dph-check { display: flex; align-items: center; gap: 8px; }
.dph-modal-body label.dph-check input { display: inline-block; width: auto; margin: 0; }
.dph-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; background: #e7f6ee; }
.dph-summary > span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; color: #0a8a3a; background: #fff; }
.dph-summary strong { display: block; font-size: 17px; color: var(--dph-ink); }
.dph-summary em { font-style: normal; font-size: 17px; font-weight: 800; color: #0a7a33; }
.dph-form-error { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: #b91c1c; background: #fde8ea; }
.dph-form-error[hidden] { display: none; }
.dph-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 18px; border-top: 1px solid #e8eeee; }
.dph-success { padding: 30px 24px 26px; text-align: center; }
.dph-success[hidden], form[hidden] { display: none; }
.dph-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin-bottom: 10px; border-radius: 50%; font-size: 34px; color: #12a04a; background: #dcfce7; }
.dph-success h3 { margin: 0 0 6px; font-weight: 800; }
.dph-ref { display: inline-block; margin: 8px 0; padding: 6px 18px; border-radius: 999px; font-weight: 800; color: #0a7a33; background: #e7f6ee; }
.dph-success-note { margin: 0 0 14px; font-size: 14.5px; color: var(--dp-muted); }

/* ============================================================
   রেসপনসিভ
   ============================================================ */
@media (max-width: 1399px) {
    .dph-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dph-hero h1 span { font-size: 46px; }
    .dph-stats strong { font-size: 16.5px; }
    .dph-banner h3 { font-size: 26px; }
    .dph-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
    .dph-stats { grid-template-columns: repeat(3, 1fr); row-gap: 6px; }
    .dph-stats li:nth-child(4) { border-left: 0; }
    .dph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dph-banner { flex-wrap: wrap; }
    .dph-banner-steps { flex-basis: 100%; order: 3; }
    .dph-banner-steps li:first-child { border-left: 0; padding-left: 0; }
    .dph-banner-btn { margin-left: auto; }
}

@media (max-width: 767px) {
    .dph-hero-art { opacity: .35; max-width: 100%; }
    .dph-hero h1 small { font-size: 21px; }
    .dph-hero h1 span { font-size: 36px; }
    .dph-hero p { font-size: 16px; }
    .dph-stats { grid-template-columns: repeat(2, 1fr); }
    .dph-stats li:nth-child(odd) { border-left: 0; }
    .dph-stats li:nth-child(4) { border-left: 1px solid #e3eceb; }
    .dph-section-head h2 { font-size: 23px; }
    .dph-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
    .dph-tabs button { flex-shrink: 0; }
    .dph-grid { grid-template-columns: 1fr; }
    .dph-why-grid { grid-template-columns: 1fr; }
    .dph-banner { padding: 86px 16px 16px; text-align: center; justify-content: center; }
    .dph-banner > img { left: 50%; top: -14px; bottom: auto; height: 92px; transform: translateX(-50%); border-radius: 12px; }
    .dph-banner h3 { font-size: 22px; flex-basis: 100%; }
    .dph-banner-steps { flex-wrap: wrap; text-align: left; }
    .dph-banner-steps li { flex: 1 1 50%; border-left: 0; }
    .dph-banner-btn { width: 100%; margin: 0; }
    .dph-cta { flex-direction: column; align-items: flex-start; }
    .dph-row2 { grid-template-columns: 1fr; }
}
