/* ═══════════════════════════════════════════════════════
   DACOSTA — Single Dentist Page (specialist profile)
   Dark cinematic theme consistent with page-dentistas.css.
   Uses design tokens: --dbg, --dtext, --dmuted, --brand, --brandSoft, --dline
   Adapts to all 3 themes via --dc-* vars.
   ═══════════════════════════════════════════════════════ */

.dc-dentist-single {
    background: var(--dbg);
    color: var(--dtext);
    min-height: 100vh;
    padding-top: 80px;
}

.dc-dentist-single,
.dc-dentist-single h1,
.dc-dentist-single h2,
.dc-dentist-single h3,
.dc-dentist-single h4 {
    color: var(--dtext);
}

.dc-dentist-single .dc-muted {
    color: var(--dmuted);
}

/* ── HERO ──────────────────────────────────────────────── */

.dc-dentist-single__hero {
    padding: clamp(40px, 8vh, 80px) clamp(20px, 5vw, 60px) clamp(30px, 5vh, 50px);
    background:
        radial-gradient(ellipse at 50% 30%, var(--brandSoft) 0%, transparent 60%),
        var(--dbg);
    position: relative;
    overflow: hidden;
}

.dc-dentist-single__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--dline, rgba(255,255,255,0.04)) 1px, transparent 1px),
        linear-gradient(90deg, var(--dline, rgba(255,255,255,0.04)) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    opacity: 0.5;
}

.dc-dentist-single__hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(200px, 320px) 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .dc-dentist-single__hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

/* ── PHOTO ─────────────────────────────────────────────── */

.dc-dentist-single__photo-wrap {
    position: relative;
}

.dc-dentist-single__photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid var(--brand);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 8px var(--brandSoft);
    display: block;
    margin: 0 auto;
}

.dc-dentist-single__photo--placeholder {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    border: 2px solid var(--brand);
    background: var(--brandSoft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.dc-dentist-single__initial {
    font-size: clamp(60px, 12vw, 100px);
    font-weight: 800;
    color: var(--brand);
    font-family: 'Montserrat', sans-serif;
}

/* ── HERO INFO ─────────────────────────────────────────── */

.dc-dentist-single__tag {
    display: inline-block;
    margin-bottom: 12px;
}

.dc-dentist-single__name {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 8px;
    font-family: 'Montserrat', sans-serif;
}

.dc-dentist-single__subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    margin: 0 0 16px;
}

.dc-dentist-single__meta {
    font-size: 15px;
    margin: 0 0 20px;
    color: var(--dmuted);
}

.dc-dentist-single__sep {
    margin: 0 8px;
    opacity: 0.6;
}

.dc-dentist-single__quote {
    font-size: clamp(16px, 2vw, 18px);
    font-style: italic;
    border-left: 3px solid var(--brand);
    padding: 8px 0 8px 20px;
    margin: 0 0 28px;
    color: var(--dtext);
    max-width: 600px;
}

.dc-dentist-single__cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.dc-dentist-single__badge {
    font-size: 13px;
    color: var(--brand);
    background: var(--brandSoft);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .dc-dentist-single__cta-row {
        justify-content: center;
    }
    .dc-dentist-single__quote {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── SECTION TITLES ────────────────────────────────────── */

.dc-dentist-single__section-title {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    margin: 0 0 28px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* ── BIO SECTION ───────────────────────────────────────── */

.dc-dentist-single__bio-section {
    padding: clamp(40px, 6vh, 70px) clamp(20px, 5vw, 40px);
    background: var(--dbg);
}

.dc-narrow {
    max-width: 760px;
    margin: 0 auto;
}

.dc-dentist-single__bio {
    font-size: 16px;
    line-height: 1.75;
    color: var(--dtext);
}

.dc-dentist-single__bio p {
    margin: 0 0 18px;
}

/* ── CREDENTIALS GRID ──────────────────────────────────── */

.dc-dentist-single__credentials-section {
    padding: clamp(40px, 6vh, 70px) clamp(20px, 5vw, 40px);
    background:
        linear-gradient(180deg, transparent 0%, var(--brandSoft) 50%, transparent 100%),
        var(--dbg);
}

.dc-dentist-single__credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.dc-dentist-single__credential {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dline, rgba(255, 255, 255, 0.08));
    border-left: 3px solid var(--brand);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dc-dentist-single__credential:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.dc-dentist-single__credential-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dmuted);
    font-weight: 600;
}

.dc-dentist-single__credential-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--dtext);
}

.dc-dentist-single__linkedin-row {
    text-align: center;
    margin-top: 30px;
}

.dc-dentist-single__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--brand);
    border-radius: 8px;
    transition: background 0.2s;
}

.dc-dentist-single__linkedin:hover {
    background: var(--brandSoft);
}

/* ── SKILLS ────────────────────────────────────────────── */

.dc-dentist-single__skills-section {
    padding: clamp(40px, 6vh, 70px) clamp(20px, 5vw, 40px);
    background: var(--dbg);
}

.dc-dentist-single__skills {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dc-dentist-single__skill-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.dc-dentist-single__skill-name {
    font-weight: 600;
    color: var(--dtext);
}

.dc-dentist-single__skill-pct {
    color: var(--brand);
    font-weight: 700;
    font-family: 'Fira Code', monospace;
}

.dc-dentist-single__skill-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.dc-dentist-single__skill-fill {
    height: 100%;
    background: var(--brandGrad, linear-gradient(90deg, var(--brand), var(--brandTeal, #0f8f8c)));
    border-radius: 3px;
    transition: width 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── PROCEDURES ────────────────────────────────────────── */

.dc-dentist-single__procedures-section {
    padding: clamp(40px, 6vh, 70px) clamp(20px, 5vw, 40px);
    background:
        linear-gradient(180deg, transparent 0%, var(--brandSoft) 50%, transparent 100%),
        var(--dbg);
}

.dc-dentist-single__procedures {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.dc-dentist-single__procedure {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dline, rgba(255, 255, 255, 0.08));
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dc-dentist-single__procedure::before {
    content: '◆';
    color: var(--brand);
    font-size: 10px;
}

/* ── FINAL CTA ─────────────────────────────────────────── */

.dc-dentist-single__final-cta {
    padding: clamp(60px, 10vh, 100px) clamp(20px, 5vw, 40px);
    background:
        radial-gradient(ellipse at 50% 50%, var(--brandSoft) 0%, transparent 60%),
        var(--dbg);
    text-align: center;
}

.dc-dentist-single__final-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin: 0 0 14px;
    font-family: 'Montserrat', sans-serif;
}

.dc-dentist-single__final-subtitle {
    font-size: 16px;
    margin: 0 0 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.dc-dentist-single__final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ── REDUCED MOTION ────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .dc-dentist-single__skill-fill {
        transition: none;
    }
    .dc-dentist-single__credential:hover {
        transform: none;
    }
}
