/* ═══════════════════════════════════════════════════════════════
   ENGINEER TEMPLATES — Tech (dark) + Corporate
═══════════════════════════════════════════════════════════════ */

/* ── Tech Engineer ──────────────────────────────────────────── */
.prof-eng-tech{max-width:860px;margin:0 auto;padding:0 16px 60px;}
.prof-eng-tech__hero{
    background:linear-gradient(135deg,#0f0f1a,#1a1a2e,#16213e);
    padding:40px 32px 32px;border-radius:0 0 20px 20px;
    text-align:center;position:relative;overflow:hidden;
}
.prof-eng-tech__hero .prof-back{position:absolute;top:16px;left:20px;text-align:left;}
.prof-eng-tech__hero::before{
    content:'';position:absolute;inset:0;
    background-image:radial-gradient(circle at 30% 50%,rgba(99,102,241,.15) 0%,transparent 60%),
                     radial-gradient(circle at 70% 30%,rgba(139,92,246,.1) 0%,transparent 50%);
}
.prof-eng-tech__avatar-wrap{margin:0 auto 14px;position:relative;z-index:1;display:inline-block;}
.prof-eng-tech__avatar{width:100px;height:100px;border-radius:50%;object-fit:cover;border:3px solid #6366f1;box-shadow:0 0 20px rgba(99,102,241,.4);}
.prof-eng-tech__avatar--fb{width:100px;height:100px;border-radius:50%;background:rgba(99,102,241,.2);display:flex;align-items:center;justify-content:center;font-size:2.4rem;color:#a5b4fc;font-family:var(--f-serif);}
.prof-eng-tech__name{font-family:'Raleway',sans-serif;font-size:1.9rem;color:#e2e8f0;font-weight:800;margin-bottom:4px;position:relative;z-index:1;}
.prof-eng-tech__tagline{font-family:var(--f-body);font-size:.9rem;color:rgba(226,232,240,.65);margin-bottom:10px;font-style:italic;position:relative;z-index:1;}
.prof-eng-tech__body{display:flex;flex-direction:column;gap:16px;padding-top:20px;}
.prof-eng-tech__card{background:#fff;border:1px solid #e0e0ff;border-radius:14px;padding:22px 24px;box-shadow:0 4px 20px rgba(99,102,241,.08);}
.prof-eng-tech__section-title{font-family:'Raleway',sans-serif;font-size:1rem;font-weight:800;color:#4338ca;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid rgba(99,102,241,.2);letter-spacing:.04em;}
.prof-eng-tech__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-bottom:10px;}

/* ── Corporate Engineer ─────────────────────────────────────── */
.prof-eng-corp{max-width:860px;margin:0 auto;padding:0 16px 60px;}
.prof-eng-corp__hero{background:linear-gradient(135deg,#1e293b,#334155,#475569);padding:40px 32px 32px;border-radius:0 0 20px 20px;text-align:center;position:relative;}
.prof-eng-corp__hero .prof-back{position:absolute;top:16px;left:20px;text-align:left;}
.prof-eng-corp__avatar-wrap{margin:0 auto 14px;display:inline-block;}
.prof-eng-corp__avatar{width:100px;height:100px;border-radius:50%;object-fit:cover;border:3px solid #f59e0b;box-shadow:0 4px 16px rgba(0,0,0,.3);}
.prof-eng-corp__avatar--fb{width:100px;height:100px;border-radius:50%;background:rgba(245,158,11,.15);display:flex;align-items:center;justify-content:center;font-size:2.4rem;color:#f59e0b;font-family:var(--f-serif);}
.prof-eng-corp__name{font-family:'Raleway',sans-serif;font-size:1.9rem;color:#f8fafc;font-weight:800;margin-bottom:4px;}
.prof-eng-corp__tagline{font-family:var(--f-body);font-size:.9rem;color:rgba(248,250,252,.65);margin-bottom:10px;font-style:italic;}
.prof-eng-corp__body{display:flex;flex-direction:column;gap:16px;padding-top:20px;}
.prof-eng-corp__card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:22px 24px;box-shadow:0 4px 20px rgba(30,41,59,.07);}
.prof-eng-corp__section-title{font-family:'Raleway',sans-serif;font-size:1rem;font-weight:800;color:#1e293b;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid rgba(30,41,59,.12);letter-spacing:.04em;}
.prof-eng-corp__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-bottom:10px;}

@media(max-width:600px){
    .prof-eng-tech__card,.prof-eng-corp__card{padding:16px;}
    .prof-eng-tech__name,.prof-eng-corp__name{font-size:1.5rem;}
}
