
/* =================================================================
   PREVENTIVE DENTISTRY PAGE — PD-specific CSS
   ================================================================= */

/* ── WHAT SECTION — INVEST NOTE ─────────────────────────────────── */
.pd-invest-note {
    display:flex;gap:12px;align-items:flex-start;margin-top:20px;
    background:#ECFDF5;border:1px solid #A7F3D0;border-radius:12px;padding:14px 18px;
}
.pd-invest-note svg { flex-shrink:0;margin-top:2px; }
.pd-invest-note p { font-size:.9rem;font-style:italic;color:#065F46;font-weight:600;line-height:1.6;margin:0; }

/* ── WHO NEEDS IT GRID ──────────────────────────────────────────── */
.pd-who { background:linear-gradient(160deg,#F8FAFF,#F0F9FF); }
.pd-who-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px; }
.pd-who-card {
    display:flex;gap:14px;align-items:flex-start;
    background:#fff;border:1px solid #E5E7EB;border-radius:16px;padding:20px 16px;
    box-shadow:0 2px 10px rgba(10,22,40,.05);
    transition:transform .2s,box-shadow .2s,border-color .2s;
}
.pd-who-card:hover { transform:translateY(-3px);box-shadow:0 8px 24px rgba(46,196,182,.1);border-color:#A7F3D0; }
.pd-who-card > div:last-child { flex:1; }
.pd-who-card strong { display:block;font-size:.9rem;font-weight:700;color:#0A1628;margin-bottom:5px; }
.pd-who-card p { font-size:.84rem;color:#4B5563;line-height:1.65;margin:0; }

/* ── CONSEQUENCE TABLE ROW ──────────────────────────────────────── */
.pd-consequence-serious td { background:#FEF3C7;font-size:.88rem; }

/* ── TREATMENTS SECTION ─────────────────────────────────────────── */
.pd-treatments { padding:80px 0;background:#fff; }
.pd-treatment-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:32px; }

.pd-treatment-card {
    display:flex;gap:16px;align-items:flex-start;
    background:#F9FAFB;border:1px solid #E5E7EB;border-radius:18px;padding:24px 20px;
    transition:transform .2s,box-shadow .2s,border-color .2s;
}
.pd-treatment-card:hover { transform:translateY(-3px);box-shadow:0 8px 28px rgba(46,196,182,.1);border-color:#A7F3D0; }

.pd-treatment-icon {
    flex-shrink:0;width:50px;height:50px;border-radius:13px;
    display:flex;align-items:center;justify-content:center;
}
.pd-icon-blue   { background:linear-gradient(135deg,#1E40AF,#3B82F6);color:#fff; }
.pd-icon-teal   { background:linear-gradient(135deg,#0A1628,#2EC4B6);color:#fff; }
.pd-icon-green  { background:linear-gradient(135deg,#065F46,#10B981);color:#fff; }
.pd-icon-amber  { background:linear-gradient(135deg,#92400E,#F59E0B);color:#fff; }
.pd-icon-purple { background:linear-gradient(135deg,#4C1D95,#8B5CF6);color:#fff; }

.pd-treatment-body { flex:1; }
.pd-treatment-body h3 { font-size:.95rem;font-weight:700;color:#0A1628;margin-bottom:8px; }
.pd-treatment-body > p { font-size:.86rem;color:#4B5563;line-height:1.7;margin-bottom:10px; }
.pd-treatment-note { font-size:.82rem;color:#6B7280;line-height:1.6;margin-top:10px !important; }
.pd-treatment-note a { color:#1B6FD8;font-weight:600;text-decoration:none; }
.pd-treatment-note a:hover { text-decoration:underline; }

.pd-treatment-list { list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:6px; }
.pd-treatment-list li {
    font-size:.84rem;color:#374151;line-height:1.6;
    padding-left:14px;position:relative;
}
.pd-treatment-list li::before { content:'';position:absolute;left:0;top:9px;width:5px;height:5px;border-radius:50%;background:#2EC4B6; }

/* ── RISK LEVEL BADGES ──────────────────────────────────────────── */
.pd-risk-levels { display:flex;flex-direction:column;gap:6px;margin-top:10px; }
.pd-risk-badge {
    display:inline-block;font-size:.76rem;font-weight:700;
    border-radius:20px;padding:4px 12px;width:fit-content;
}
.pd-risk-green  { background:#D1FAE5;color:#065F46; }
.pd-risk-amber  { background:#FEF3C7;color:#92400E; }
.pd-risk-red    { background:#FEE2E2;color:#991B1B; }

/* ── SPECIALIST ROW (CHILDREN + ADULTS) ─────────────────────────── */
.pd-specialist-row { display:grid;grid-template-columns:1fr 1fr;gap:24px; }
.pd-specialist-card {
    border-radius:18px;padding:28px 24px;
}
.pd-specialist-kids {
    background:linear-gradient(135deg,#F0FDFA,#EFF6FF);border:1px solid #A7F3D0;
}
.pd-specialist-adults {
    background:linear-gradient(135deg,#F8FAFF,#EFF6FF);border:1px solid #BFDBFE;
}
.pd-specialist-card h3 { font-size:1rem;font-weight:700;color:#0A1628;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid rgba(0,0,0,.06); }
.pd-specialist-link {
    display:inline-block;margin-top:16px;font-size:.87rem;font-weight:700;
    color:#1B6FD8;text-decoration:none;
}
.pd-specialist-link:hover { text-decoration:underline; }

/* ── WHY — IMAGE ────────────────────────────────────────────────── */
.pd-why-img-wrap {
    border-radius:16px;overflow:hidden;box-shadow:0 8px 32px rgba(10,22,40,.1);
    margin-bottom:40px;
}
.pd-why-img-wrap img { width:100%;height:300px;object-fit:cover;display:block; }

/* ── PD RESPONSIVE ──────────────────────────────────────────────── */
@media(max-width:1200px){
    .pd-treatment-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:1024px){
    .pd-who-grid { grid-template-columns:repeat(2,1fr); }
    .pd-specialist-row { grid-template-columns:1fr; }
}
@media(max-width:768px){
    .pd-treatments { padding:64px 0; }
    .pd-who-grid { grid-template-columns:1fr; }
    .pd-treatment-grid { grid-template-columns:1fr; }
    .pd-treatment-card { flex-direction:column;gap:12px; }
    .pd-treatment-icon { width:44px;height:44px;border-radius:11px; }
    .pd-why-img-wrap img { height:200px; }
}
@media(max-width:480px){
    .pd-invest-note { flex-direction:column;gap:8px; }
    .pd-who-card { flex-direction:column;gap:10px; }
}
