html, body{
    font-family: 'DM Sans', sans-serif;
    background-color: #F5F5F5;
    overflow-x: hidden;
}
p{
    margin: 0;
}

.section-header{
    height: 64px;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    position: fixed;
    width: 100%;
    z-index: 1;
}
.img-logo{
    width: 86px;
}
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active{
    background-color: #F43939 !important;
    color: white !important;
    border-radius: 8px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}
.btn-call{
    width: 123px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 12px;
}
.btn-call img{
    margin-right: 8px;
}
.text-google{
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: white;
}
.text-rating{
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: white;
    margin-right: 4px;
}
.img-star-google{
    width: 12px;
    margin: 0 1px;
}
@media (max-width: 360px){
    .img-logo{
        width: 80px;
    }
    .btn-call{
        width: 110px;
    }
}

.section-body{
    height: calc(100vh - 136px);
    overflow-x: hidden;
    overflow-y: scroll;
    padding-top: 64px;
}
.block-technician{
    padding: 134px 16px 112px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%), url('../images/bg-people.jpg');
    background-color: black;
    background-repeat: no-repeat;
}
.block-description{
    position: relative;
    border-radius: 16px;
    padding: 60px 23px 16px;
    background: #282828A6;
    border: 1px solid #FFFFFF26;
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 10px 0px #000000BF;
}
.img-face{
    position: absolute;
    top: -106px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
}
.text-meet{
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    margin-bottom: 4px;
}
.text-technician{
    font-family: 'Plus Jakarta Sans';
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: white;
    text-align: center;
    margin-bottom: 16px;
}
.panel-spec{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.panel-spec:not(:last-child){
    margin-bottom: 12px;
}
.panel-spec img{
    margin-right: 8px;
}
.panel-spec .text-spec{
    color: white;
    font-size: 14px;
    line-height: 20px;
}
.panel-spec .text-spec span{
    font-weight: 700;
}

.block-review{
    margin-top: -88px;
    padding: 0 16px;
}
.text-why{
    font-family: 'Plus Jakarta Sans';
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 16px;
    color: white;
}
.owl-review{
    width: calc(100% - 8px);
}
.owl-review .owl-stage-outer{
    width: calc(100% + 64px);
    overflow: visible;
}
.owl-dots{
    margin-top: 8px;
    line-height: 0;
    text-align: center;
}
.owl-dot{
    width: 10px;
    height: 4px;
    border-radius: 4px;
    margin-right: 4px;
    background-color: #0000004D !important;
}
.owl-dot.active{
    width: 32px;
    background-color: #F43939 !important;
}
.panel-review{
    border-radius: 16px;
    padding: 16px;
    background-color: white;
}
.img-review-profile{
    width: 36px !important;
    margin-right: 8px;
}
.text-review-name{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: black;
}
.img-star-review{
    width: 14px;
    margin: 0 1px;
}
.text-review-content{
    margin-top: 8px;
    font-size: 14px;
    line-height: 18px;
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-read-more{
    font-weight: 700;
    font-size: 12px;
    line-height: 30px;
    color: #F43939;
}
.text-look{
    font-family: 'Plus Jakarta Sans';
    font-weight: 500;
    font-style: Italic;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: black;
    padding: 16px;
}
/* @media (max-height: 843px){
    .section-body{
        height: calc(100vh - 180px);
    }
    .block-technician{
        padding: 94px 16px 112px;
    }
    .block-description{
        padding: 36px 15px 8px;
    }
    .img-face{
        width: 100px;
        top: -76px;
    }
    .text-meet{
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 2px;
    }
    .text-technician{
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 8px;
    }
    .panel-spec:not(:last-child){
        margin-bottom: 4px;
    }
    .block-review{
        margin-top: -108px;
    }
    .text-why{
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 4px;
    }
    .owl-dots{
        display: none;
    }
    .text-look{
        font-size: 12px;
        line-height: 14px;
        padding: 12px;
    }
} */

.section-footer{
    height: 64px;
    background-color: #ECECEC;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

/* ===================================================================
   DESKTOP / TABLET (min-width: 768px) — ADDITIVE ONLY.
   None of the mobile rules above are modified, so mobile is unchanged.
   One-screen app shell: header + hero (card + 3-across reviews) +
   tagline + footer always fill EXACTLY one viewport — footer pinned
   to the bottom, no dead space below it. Shared by every technician
   page via this one file, so new technician pages inherit it all.
   =================================================================== */
@media (min-width: 768px){
    /* One-screen shell: middle stretches, footer sits at the exact bottom */
    body{
        height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .section-body{
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    .section-footer{
        flex: 0 0 auto;
    }
    /* Bars stay full-width black; their CONTENT is capped to a centered band */
    .section-header,
    .section-footer{
        padding-left:  max(16px, calc((100% - 1140px) / 2));
        padding-right: max(16px, calc((100% - 1140px) / 2));
    }
    /* Hero expands to fill all remaining space with the team photo */
    .block-technician{
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-image: linear-gradient(180deg, rgba(0,0,0,.40) 0%, rgba(0,0,0,.72) 100%), url('../images/bg-people.jpg');
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        padding-top: 130px;
        padding-bottom: 170px;
    }
    /* Center the technician card at a comfortable reading width */
    .block-description{
        max-width: 720px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 72px 40px 28px;
    }
    .img-face{
        width: 170px;
        top: -120px;
    }
    .text-technician{
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 20px;
    }
    .panel-spec .text-spec{
        font-size: 15px;
        line-height: 22px;
    }
    /* Reviews row, overlapping the hero's bottom edge */
    .block-review{
        flex: 0 0 auto;
        max-width: 1100px;
        width: 100%;
        margin: -120px auto 24px;
    }
    .text-why{
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }
    /* The carousel script is mobile-only, so on desktop the container is
       never initialized (stays display:none from owl's base CSS). Lay the
       un-initialized panels out as a 3-across row instead. :not(.owl-loaded)
       keeps mobile-UA tablets (which DO initialize the carousel) untouched. */
    .owl-review.owl-carousel-mobile:not(.owl-loaded){
        display: flex;
        width: 100%;
        gap: 16px;
        align-items: stretch;
    }
    .owl-review:not(.owl-loaded) .panel-review{
        flex: 1 1 0;
        min-width: 0;
    }
    .text-look{
        flex: 0 0 auto;
        font-size: 20px;
        line-height: 26px;
    }
}
/* Shorter desktop screens (typical laptops): compress vertical rhythm so
   the full one-screen layout still fits without internal scrolling */
@media (min-width: 768px) and (max-height: 860px){
    .block-technician{
        padding-top: 96px;
        padding-bottom: 150px;
    }
    .block-description{
        padding: 52px 32px 20px;
    }
    .img-face{
        width: 128px;
        top: -90px;
    }
    .text-technician{
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 12px;
    }
    .panel-spec:not(:last-child){
        margin-bottom: 8px;
    }
    .block-review{
        margin-top: -116px;
        margin-bottom: 16px;
    }
    .text-why{
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 12px;
    }
    .text-look{
        font-size: 16px;
        line-height: 20px;
        padding: 12px 16px;
    }
}
/* Very short desktop windows: tightest tier */
@media (min-width: 768px) and (max-height: 740px){
    .block-technician{
        padding-top: 76px;
        padding-bottom: 136px;
    }
    .block-description{
        padding: 44px 28px 16px;
    }
    .img-face{
        width: 112px;
        top: -80px;
    }
    .panel-spec .text-spec{
        font-size: 14px;
        line-height: 20px;
    }
    .block-review{
        margin-top: -110px;
        margin-bottom: 12px;
    }
    .text-look{
        padding: 8px 16px;
    }
}