.tech-detail-page {
    background: linear-gradient(180deg, #f6f9ff 0%, #eef4fb 100%);
    color: #14233d;
    padding: 26px 0 42px
}

.tech-profile-card,
.tech-metrics,
.tech-info-grid article,
.tech-detail-card,
.detail-section,
.review-grid article {
    background: #fff;
    border: 1px solid #dfe8f4;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(12, 35, 72, .055)
}

.tech-profile-card {
    display: grid;
    grid-template-columns: 284px minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
    margin-bottom: 18px;
    padding: 18px
}

.technician-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: #596174;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5
}

.technician-breadcrumb a {
    color: #073aa8;
    font-weight: 600
}

.technician-breadcrumb .separator {
    color: #8a96aa
}

.technician-breadcrumb .last {
    color: #34425c;
    font-weight: 500
}

.tech-profile-photo {
    position: relative;
    min-height: 286px;
    border: 1px solid #e3ebf6;
    border-radius: 10px;
    overflow: hidden;
    background: #eef3f9
}

.tech-profile-photo::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(7, 27, 77, 0) 0%, rgba(7, 27, 77, .18) 100%)
}

.tech-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.tech-profile-photo span {
    position: absolute;
    z-index: 1;
    left: 16px;
    bottom: 16px;
    min-height: 36px;
    border: 1px solid rgba(31, 176, 103, .18);
    border-radius: 6px;
    background: rgba(255, 255, 255, .95);
    color: #10864b;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(7, 27, 77, .13)
}

.tech-profile-photo span.is-busy {
    border-color: rgba(245, 158, 11, .2);
    color: #b66a00
}

.tech-profile-photo span i {
    font-size: 19px
}

.tech-profile-info {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 8px 6px 6px 0
}

.tech-profile-main {
    display: grid;
    gap: 11px
}

.detail-eyebrow {
    color: #0a4bb8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase
}

.tech-profile-info h1 {
    color: #071b4d;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 34px;
    line-height: 1.16;
    font-weight: 600;
    margin: 0
}

.tech-profile-info h1 i {
    color: #1684e8;
    font-size: 29px
}

.tech-detail-vip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px
}

.tech-detail-vip .smm-technician-vip-badge {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px
}

.detail-meta span,
.detail-location {
    color: #34425c;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0
}

.detail-meta i,
.detail-location i {
    color: #073aa8;
    font-size: 19px
}

.detail-rating {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #17213b;
    font-size: 14px;
    font-weight: 600
}

.detail-rating span,
.review-stars {
    color: #f59b14;
    letter-spacing: 1px
}

.detail-rating small {
    color: #66758f;
    font-weight: 600
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px
}

.detail-tags span,
.tech-chip-list span {
    min-height: 30px;
    border: 1px solid #d2e0f2;
    border-radius: 999px;
    background: #f6f9fe;
    color: #073aa8;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2
}

.detail-intro {
    max-width: 760px;
    color: #24334f;
    font-size: 15px;
    line-height: 1.72;
    font-weight: 500;
    margin: 0
}

.detail-action-panel {
    border: 1px solid #e4ebf5;
    border-radius: 10px;
    background: #f8fbff;
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px
}

.detail-action-panel span,
.tech-detail-list span,
.tech-maintenance-grid span {
    color: #66758f;
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35
}

.detail-action-panel strong {
    color: #071b4d;
    display: block;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 3px
}

.detail-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px
}

.detail-actions a {
    min-height: 44px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap
}

.detail-actions i {
    font-size: 18px;
    flex: 0 0 auto
}

.call-btn {
    background: #073aa8;
    color: #fff;
    box-shadow: 0 10px 20px rgba(7, 58, 168, .22)
}

.zalo-btn {
    background: #fff;
    color: #073aa8;
    border: 1px solid #c8d7ec
}

.request-btn {
    background: #f0552e;
    color: #fff;
    box-shadow: 0 10px 20px rgba(240, 85, 46, .2)
}

.tech-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px
}

.tech-metrics div {
    min-height: 96px;
    border: 1px solid #e5edf7;
    border-radius: 9px;
    background: #fbfdff;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 5px;
    align-items: center;
    padding: 15px
}

.tech-metrics i {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: #eef5ff;
    color: #073aa8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    grid-row: 1 / 3
}

.tech-metrics strong {
    align-self: end;
    color: #071b4d;
    display: block;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 600;
    margin: 0
}

.tech-metrics span {
    align-self: start;
    color: #52627b;
    display: block;
    font-size: 12px;
    font-weight: 600
}

.tech-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px
}

.tech-info-grid article {
    padding: 24px;
    min-height: 278px
}

.tech-info-grid h2 {
    color: #073aa8;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 24px
}

.tech-info-grid h2 i {
    font-size: 27px
}

.tech-info-grid h3 {
    color: #13213b;
    font-size: 14px;
    font-weight: 600;
    margin: 18px 0 10px
}

.tech-info-grid p,
.tech-info-grid li {
    color: #24334f;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500
}

.tech-info-grid li {
    position: relative;
    padding-left: 20px
}

.tech-info-grid li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #073aa8;
    font-weight: 600
}

.time-note {
    background: #edf4ff;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 22px;
    padding: 14px
}

.time-note i {
    color: #073aa8;
    font-size: 28px
}

.time-note strong,
.time-note span {
    display: block
}

.time-note strong {
    color: #073aa8;
    font-size: 14px;
    margin-bottom: 2px
}

.tech-profile-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px
}

.tech-detail-card {
    border-radius: 10px;
    padding: 22px
}

.tech-detail-card.is-wide {
    grid-column: 1 / -1
}

.tech-detail-card h2 {
    color: #073aa8;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 18px
}

.tech-detail-card h2 i {
    font-size: 23px
}

.tech-detail-card h3 {
    color: #13213b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 11px
}

.tech-detail-list {
    display: grid;
    gap: 0;
    border-top: 1px solid #edf2f8
}

.tech-detail-list div {
    border-bottom: 1px solid #edf2f8;
    display: grid;
    grid-template-columns: minmax(120px, 32%) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 13px 0
}

.tech-detail-list div:first-child {
    padding-top: 14px
}

.tech-detail-list strong,
.tech-maintenance-grid strong {
    color: #17213b;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    overflow-wrap: anywhere
}

.tech-specialty-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.tech-specialty-columns>div {
    border: 1px solid #edf2f8;
    border-radius: 9px;
    background: #fbfdff;
    padding: 16px
}

.tech-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px
}

.tech-maintenance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px
}

.tech-maintenance-grid div {
    border: 1px solid #e5edf7;
    border-radius: 9px;
    background: #fbfdff;
    display: grid;
    gap: 6px;
    padding: 14px
}

.tech-profile-copy {
    border-left: 3px solid #0a4bb8;
    color: #24334f;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 500;
    padding-left: 15px
}

.tech-video-wrap {
    margin-top: 18px
}

.tech-video-wrap video {
    width: 100%;
    max-height: 420px;
    border: 1px solid #dbe4f2;
    border-radius: 9px;
    background: #071b4d
}

.detail-section {
    padding: 22px;
    margin-bottom: 18px
}

.detail-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px
}

.detail-section-head h2 {
    color: #073aa8;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600
}

.detail-section-head a {
    color: #073aa8;
    font-size: 14px;
    font-weight: 600
}

.detail-section-head span {
    color: #596174;
    font-size: 14px;
    font-weight: 600
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px
}

.work-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dbe4f2;
    background: #eef3f9
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.review-grid article {
    border-radius: 8px;
    padding: 18px
}

.review-grid h3 {
    color: #073aa8;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px
}

.review-grid ul {
    display: grid;
    gap: 9px;
    color: #1f2d49;
    font-size: 14px;
    line-height: 1.45;
    padding-left: 18px
}

.review-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 14px
}

.review-head>span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #edf4ff;
    color: #073aa8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px
}

.review-head strong {
    color: #071b4d;
    font-size: 14px;
    font-weight: 600
}

.review-head small {
    color: #66758f;
    font-size: 12px;
    margin-left: 8px
}

.review-stars {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px
}

.review-stars strong {
    color: #071b4d;
    letter-spacing: 0;
    margin-left: 8px
}

.review-grid p {
    color: #24334f;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500
}

.tech-review-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px
}

.tech-customer-reviews.has-slider {
    position: relative
}

.tech-customer-reviews.has-slider .tech-review-list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 2px 8px
}

.tech-customer-reviews.has-slider .tech-review-list::-webkit-scrollbar {
    display: none
}

.tech-customer-reviews.has-slider .tech-review-card {
    flex: 0 0 min(390px, calc((100% - 28px) / 3));
    scroll-snap-align: start
}

.tech-review-slider-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: -4px 0 12px
}

.tech-review-arrow {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe4f2;
    border-radius: 8px;
    background: #fff;
    color: #0f3fb3;
    cursor: pointer;
    transition: .2s ease
}

.tech-review-arrow:hover {
    border-color: #0f3fb3;
    background: #edf4ff
}

.tech-review-arrow:disabled {
    opacity: .45;
    cursor: not-allowed
}

.tech-review-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 190px;
    padding: 18px;
    border: 1px solid #dbe4f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(7, 58, 168, .06)
}

.tech-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.tech-review-head strong {
    color: #ffb400;
    font-size: 15px;
    letter-spacing: 0
}

.tech-review-head small,
.tech-review-card span {
    color: #66758f;
    font-size: 12px;
    line-height: 1.45
}

.tech-review-card h3 {
    color: #071b4d;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700
}

.tech-review-card p {
    color: #24334f;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500
}

.tech-review-card span {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 7px 9px;
    border-radius: 999px;
    background: #f3f7ff;
    color: #3f4d68;
    font-weight: 600
}

@media (max-width: 1199px) {
    .tech-profile-card {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 24px
    }

    .tech-profile-info h1 {
        font-size: 30px
    }

    .detail-action-panel {
        grid-template-columns: 1fr
    }

    .tech-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .tech-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .tech-profile-detail-grid,
    .tech-specialty-columns {
        grid-template-columns: 1fr
    }

    .tech-maintenance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .work-gallery,
    .tech-review-list {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .tech-customer-reviews.has-slider .tech-review-card {
        flex-basis: calc((100% - 28px) / 3)
    }
}

@media (max-width: 767px) {
    .tech-detail-page {
        padding: 16px 0 30px
    }

    .tech-profile-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px
    }

    .tech-profile-photo {
        min-height: 250px
    }

    .tech-profile-info {
        gap: 16px;
        padding: 0
    }

    .tech-profile-info h1 {
        font-size: 25px
    }

    .detail-actions,
    .tech-metrics,
    .tech-info-grid,
    .tech-profile-detail-grid,
    .tech-maintenance-grid,
    .work-gallery,
    .review-grid,
    .tech-review-list {
        grid-template-columns: 1fr
    }

    .tech-review-slider-actions {
        justify-content: flex-start
    }

    .tech-customer-reviews.has-slider .tech-review-card {
        flex-basis: 88%
    }

    .detail-action-panel {
        padding: 12px
    }

    .detail-actions {
        gap: 9px
    }

    .detail-actions a {
        width: 100%;
        white-space: normal
    }

    .tech-metrics {
        padding: 10px
    }

    .tech-metrics div {
        min-height: 84px;
        padding: 13px
    }

    .tech-detail-list div {
        grid-template-columns: 1fr;
        gap: 5px
    }

    .tech-info-grid article,
    .tech-detail-card,
    .detail-section {
        padding: 16px
    }

    .tech-specialty-columns>div {
        padding: 14px
    }

    .work-gallery {
        gap: 12px
    }

    .detail-section-head {
        align-items: flex-start;
        flex-direction: column
    }
}
