@import url('font-awesome.min.css');

.employee-profile-page { min-height: 100vh; background: #edf5ff url('../img/employees/team-logistics-background-v1.webp') center top / cover fixed no-repeat; color: #102b56; }
.employee-profile,
.employee-profile * { box-sizing: border-box; font-family: Arial, Helvetica, sans-serif; }
.employee-profile .fa { font-family: FontAwesome !important; }
.employee-profile .fa-whatsapp:before { content: "\f095"; }
.employee-profile { width: min(1150px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 58px; }
.employee-profile__back { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; color: #1269e9; font-size: .88rem; font-weight: 700; text-decoration: none; }
.employee-profile__back:hover { text-decoration: underline; }
.employee-profile__card { padding: 0; background: transparent; border: 0; box-shadow: none; }
.employee-profile__notice { padding: 28px 30px; border: 1px solid #d6e4f8; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(23, 65, 119, .06); }
.employee-profile__notice h1 { margin: 0; color: #102b56; font-size: 1.4rem; }

.employee-profile__hero { display: flex; align-items: center; gap: 34px; padding: 32px; border: 1px solid #cfe0f7; border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 12px 30px rgba(23, 65, 119, .06); }
.employee-profile__photo-shell { display: grid; flex: 0 0 208px; width: 208px; height: 208px; padding: 0; place-items: center; overflow: hidden; border: 1px solid #d6e5f8; border-radius: 16px; background: #edf5ff; cursor: zoom-in; }
.employee-profile__photo-shell:hover { border-color: #1269e9; box-shadow: 0 0 0 4px rgba(18,105,233,.14); }
.employee-profile__photo-shell:focus-visible { outline: 3px solid rgba(18,105,233,.4); outline-offset: 3px; }
.employee-profile__photo { display: block; width: 208px; height: 208px; border-radius: 16px; object-fit: cover; object-position: center 28%; }
.employee-profile__photo--logo { padding: 12px; object-fit: contain; }
.employee-profile__hero-content { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; min-width: 0; }
.employee-profile h1 { margin: 0; color: #102b56; font-size: clamp(2rem, 3.25vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; overflow-wrap: anywhere; }
.employee-profile__role { margin: 9px 0 0; color: #1269e9; font-size: 1.18rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.employee-profile__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #dfe9f6; }
.employee-profile__contact-label { color: #647a9c; font-size: .9rem; font-weight: 700; }
.employee-profile__contact-row a { display: inline-flex; align-items: center; gap: 8px; color: #1269e9; font-size: .94rem; font-weight: 700; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.employee-profile__contact-row a:hover { text-decoration: underline; }
.employee-profile__contact-row .fa { font-size: 1rem; }
.employee-profile__contact-row .employee-contact-copy { display: inline-grid; width: 29px; height: 29px; padding: 0; place-items: center; border: 1px solid #c9dcf7; border-radius: 8px; background: #fff; color: #1269e9; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.employee-profile__contact-row .employee-contact-copy:hover { border-color: #1269e9; background: #edf5ff; transform: translateY(-1px); }
.employee-profile__contact-row .employee-contact-copy.is-copied { border-color: #168c56; background: #edf9f2; color: #168c56; }
.employee-profile__contact-row .employee-contact-copy:focus-visible { outline: 3px solid rgba(18,105,233,.3); outline-offset: 2px; }
.employee-profile__contact-row .employee-contact-copy .fa { font-size: .9rem; }
.employee-profile__hero-actions { display: flex; margin-top: 22px; }
.employee-profile__share { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 15px; border: 1px solid #1269e9; border-radius: 10px; background: #1269e9; color: #fff; cursor: pointer; font: 800 .88rem/1 Arial, Helvetica, sans-serif; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.employee-profile__share:hover { border-color: #0d55bd; background: #0d55bd; transform: translateY(-1px); }
.employee-profile__share:focus-visible { outline: 3px solid rgba(18,105,233,.35); outline-offset: 3px; }
.employee-profile__share .fa { font-size: 1rem; }

.employee-profile__section { margin-top: 18px; }
.employee-profile__detail { display: flex; align-items: flex-start; gap: 18px; min-width: 0; padding: 24px 26px; border: 1px solid #d5e5fa; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 10px 26px rgba(23, 65, 119, .045); }
.employee-profile__detail > div { min-width: 0; }
.employee-profile__detail-icon,
.employee-profile__fact-icon { display: grid; flex: 0 0 58px; width: 58px; height: 58px; margin: 0; place-items: center; border-radius: 50%; background: #edf4ff; color: #1269e9; font-size: 1.6rem; }
.employee-profile__section h2 { margin: 0 0 7px; color: #102b56; font-size: 1.18rem; font-weight: 800; line-height: 1.25; }
.employee-profile__section p { margin: 0; color: #536984; font-size: .98rem; line-height: 1.6; }
.employee-profile__detail + .employee-profile__detail { margin-top: 14px; }

.employee-profile__tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.employee-profile__tag-group { display: flex; align-items: flex-start; min-width: 0; min-height: 132px; padding: 22px 24px; border: 1px solid #d5e5fa; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 10px 26px rgba(23, 65, 119, .045); }
.employee-profile__tag-group > div { min-width: 0; margin-left: 16px; }
.employee-profile__tag-group span { display: block; margin: 2px 0 7px; color: #102b56; font-size: 1.08rem; font-weight: 800; line-height: 1.25; }
.employee-profile__tag-group p { color: #536984; font-size: .96rem; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.employee-profile__contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.employee-profile__contact-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1px solid #cfdef3; border-radius: 11px; background: #fff; color: #1269e9; font-size: .9rem; font-weight: 800; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.employee-profile__contact-link:hover { border-color: currentColor; background: #f8fbff; }
.employee-profile__contact-link .fa { font-size: 1.35rem; }
.employee-profile__contact-link--whatsapp { color: #24b965; }
.employee-profile__contact-link--telegram { color: #229ed9; }

.employee-photo-modal-open { overflow: hidden; }
.employee-photo-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 24px; }
.employee-photo-modal[hidden] { display: none; }
.employee-photo-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(5,20,43,.84); cursor: zoom-out; }
.employee-photo-modal__content { position: relative; z-index: 1; display: grid; max-width: min(90vw,900px); max-height: 88vh; }
.employee-photo-modal__content img { display: block; max-width: min(90vw,900px); max-height: 88vh; border: 4px solid #fff; border-radius: 16px; box-shadow: 0 24px 80px rgba(0,0,0,.35); object-fit: contain; }
.employee-photo-modal__close { position: absolute; top: -15px; right: -15px; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #1269e9; color: #fff; cursor: pointer; font-size: 27px; line-height: 1; }

@media (max-width: 780px) {
    .employee-profile { width: min(100% - 28px, 1150px); padding: 24px 0 46px; }
    .employee-profile__hero { gap: 20px; padding: 24px; }
    .employee-profile__photo-shell,
    .employee-profile__photo { flex-basis: 150px; width: 150px; height: 150px; }
    .employee-profile h1 { font-size: clamp(1.72rem, 6vw, 2.4rem); }
    .employee-profile__role { font-size: 1rem; }
    .employee-profile__contact-row { gap: 9px 16px; margin-top: 17px; padding-top: 14px; }
    .employee-profile__hero-actions { margin-top: 17px; }
    .employee-profile__contact-label { flex-basis: 100%; }
    .employee-profile__detail { padding: 20px; }
    .employee-profile__tag-group { min-height: 118px; padding: 18px; }
}

@media (max-width: 560px) {
    .employee-profile { width: min(100% - 24px, 1150px); }
    .employee-profile__hero { align-items: flex-start; gap: 15px; padding: 17px; border-radius: 17px; }
    .employee-profile__photo-shell,
    .employee-profile__photo { flex-basis: 96px; width: 96px; height: 96px; border-radius: 14px; }
    .employee-profile h1 { font-size: 1.45rem; line-height: 1.12; }
    .employee-profile__role { margin-top: 6px; font-size: .9rem; }
    .employee-profile__contact-row { gap: 8px 12px; margin-top: 12px; padding-top: 11px; }
    .employee-profile__hero-actions { margin-top: 14px; }
    .employee-profile__share { min-height: 38px; padding: 8px 12px; font-size: .8rem; }
    .employee-profile__contact-label { display: none; }
    .employee-profile__contact-row a { font-size: .8rem; }
    .employee-profile__contact-row .employee-contact-copy { width: 27px; height: 27px; }
    .employee-profile__detail { gap: 13px; padding: 17px; border-radius: 16px; }
    .employee-profile__detail-icon,
    .employee-profile__fact-icon { flex-basis: 44px; width: 44px; height: 44px; font-size: 1.25rem; }
    .employee-profile__section h2 { font-size: 1.06rem; }
    .employee-profile__section p { font-size: .9rem; line-height: 1.55; }
    .employee-profile__tags { grid-template-columns: 1fr; gap: 12px; }
    .employee-profile__tag-group { min-height: 0; padding: 16px; border-radius: 16px; }
    .employee-profile__tag-group > div { margin-left: 13px; }
    .employee-profile__tag-group span { font-size: 1rem; }
    .employee-profile__tag-group p { font-size: .88rem; }
}
