
.offices-hero {

    position: relative;

    overflow: hidden;

    padding: 40px 0 65px;

    background:
        linear-gradient(
            135deg,
            #fff7f8,
            #ffffff 55%,
            #f7f7f9
        );

    border-bottom:
        1px solid #ececef;

}


.offices-hero::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    right: -170px;

    top: -220px;

    border-radius: 50%;

    background:
        rgba(180,0,24,.05);

}


.offices-breadcrumb {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 45px;

    color: #858990;

    font-size: 10px;

    font-weight: 600;

}


.offices-breadcrumb a {

    display: flex;

    align-items: center;

    gap: 6px;

    color: var(--red);

}


.offices-breadcrumb > i {

    color: #c5c7ca;

    font-size: 8px;

}


.offices-hero-content {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


.office-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 16px;

    padding: 7px 11px;

    border-radius: 100px;

    color: var(--red);

    background: var(--red-pale);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.3px;

}


.offices-hero h1 {

    max-width: 750px;

    margin: 0 0 16px;

    color: var(--black);

    font-size:
        clamp(38px, 5vw, 62px);

    line-height: 1.02;

    letter-spacing: -3px;

}


.offices-hero h1 span {

    color: var(--red);

}


.offices-hero-content p {

    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;

}

.office-card-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #fff;

    overflow: hidden;
}

.office-card-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}



.office-hero-stat {

    min-width: 170px;

    padding: 25px;

    text-align: center;

    background: white;

    border:
        1px solid
        rgba(180,0,24,.10);

    border-radius: 18px;

    box-shadow:
        0 18px 45px
        rgba(20,20,30,.07);

}


.office-hero-stat strong {

    display: block;

    color: var(--red);

    font-size: 38px;

    font-weight: 900;

    letter-spacing: -2px;

}


.office-hero-stat span {

    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .8px;

}


/* =========================================================
   MAIN SECTION
========================================================= */

.offices-section {

    padding: 55px 0 100px;

    background: #f7f7f9;

}


/* =========================================================
   TOOLBAR
========================================================= */

.office-toolbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;

}


.office-search {

    position: relative;

    width: 100%;

    max-width: 570px;

}


.office-search i {

    position: absolute;

    left: 17px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #9a9da3;

    font-size: 13px;

}


.office-search input {

    width: 100%;

    height: 49px;

    padding:
        0 18px 0 44px;

    color: var(--black);

    background: white;

    border:
        1px solid var(--border);

    border-radius: 12px;

    outline: none;

    font-family: inherit;

    font-size: 11px;

    box-shadow:
        0 4px 15px
        rgba(20,20,30,.03);

    transition: .2s ease;

}


.office-search input:focus {

    border-color:
        rgba(180,0,24,.35);

    box-shadow:
        0 0 0 3px
        rgba(180,0,24,.07);

}


.office-result {

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;

}


/* =========================================================
   FILTERS
========================================================= */

.office-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 50px;

}


.office-filter {

    padding: 9px 14px;

    color: #777b82;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 8px;

    cursor: pointer;

    font-family: inherit;

    font-size: 10px;

    font-weight: 700;

    transition: .2s ease;

}


.office-filter:hover {

    color: var(--red);

    border-color:
        rgba(180,0,24,.2);

}


.office-filter.active {

    color: white;

    background: var(--red);

    border-color: var(--red);

    box-shadow:
        0 5px 15px
        rgba(180,0,24,.16);

}


/* =========================================================
   CATEGORY
========================================================= */

.office-category {

    margin-bottom: 65px;

}


.category-heading {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom:
        1px solid #dedfe2;

}


.category-icon {

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    color: var(--red);

    background: var(--red-pale);

    border-radius: 11px;

}


.category-icon i {

    font-size: 17px;

}


.category-heading span {

    display: block;

    margin-bottom: 3px;

    color: var(--red);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.2px;

}


.category-heading h2 {

    margin: 0;

    color: var(--black);

    font-size: 22px;

    font-weight: 900;

    letter-spacing: -.7px;

}


/* =========================================================
   OFFICE GRID
========================================================= */

.office-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

}


/* =========================================================
   OFFICE CARD
========================================================= */

.office-card {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    min-height: 145px;

    padding: 20px;

    overflow: hidden;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 14px;

    box-shadow:
        0 4px 14px
        rgba(20,20,30,.035);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;

}


.office-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 3px;

    height: 0;

    background: var(--red);

    transition: .25s ease;

}


.office-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(180,0,24,.16);

    box-shadow:
        0 15px 30px
        rgba(20,20,30,.08);

}


.office-card:hover::before {

    height: 100%;

}


/* =========================================================
   OFFICE ICON
========================================================= */

.office-card-icon {

    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    color: var(--red);

    background: var(--red-pale);

    border-radius: 11px;

}


.office-card-icon i {

    font-size: 15px;

}


/* =========================================================
   OFFICE CONTENT
========================================================= */

.office-card-content {

    padding-right: 17px;

}


.office-code {

    display: inline-block;

    margin-bottom: 5px;

    color: var(--red);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .8px;

}


.office-card h3 {

    margin: 0 0 7px;

    color: var(--black);

    font-size: 12px;

    line-height: 1.35;

    font-weight: 800;

}


.office-card p {

    margin: 0;

    color: #858990;

    font-size: 9px;

    line-height: 1.5;

}


.office-arrow {

    position: absolute;

    right: 16px;

    bottom: 16px;

    color: #c8cacf;

    font-size: 9px;

    transition: .2s ease;

}


.office-card:hover .office-arrow {

    color: var(--red);

    transform:
        translateX(3px);

}


/* =========================================================
   HOSPITAL GRID
========================================================= */

.hospital-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

}


.hospital-card {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 20px;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 14px;

    box-shadow:
        0 4px 14px
        rgba(20,20,30,.035);

    transition: .22s ease;

}


.hospital-card > i {

    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    color: var(--red);

    background: var(--red-pale);

    border-radius: 11px;

}


.hospital-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(180,0,24,.16);

    box-shadow:
        0 15px 30px
        rgba(20,20,30,.08);

}


.hospital-card span {

    display: block;

    margin-bottom: 5px;

    color: var(--red);

    font-size: 8px;

    font-weight: 900;

}


.hospital-card h3 {

    margin: 0 0 5px;

    color: var(--black);

    font-size: 11px;

    line-height: 1.45;

    font-weight: 800;

}


.hospital-card p {

    margin: 0;

    color: #858990;

    font-size: 9px;

}


/* =========================================================
   NO RESULTS
========================================================= */

.no-results {

    display: none;

    padding: 70px 20px;

    text-align: center;

}


.no-results > i {

    margin-bottom: 15px;

    color: #c9cbd0;

    font-size: 40px;

}


.no-results h3 {

    margin: 0 0 6px;

    color: var(--black);

    font-size: 17px;

}


.no-results p {

    margin: 0;

    color: var(--muted);

    font-size: 11px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .office-grid,
    .hospital-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 800px) {

    .offices-hero-content {

        display: block;

    }


    .office-hero-stat {

        display: inline-block;

        margin-top: 25px;

    }


    .office-toolbar {

        display: block;

    }


    .office-result {

        margin-top: 10px;

    }

}


@media (max-width: 650px) {

    .office-grid,
    .hospital-grid {

        grid-template-columns: 1fr;

    }


    .offices-hero h1 {

        font-size: 40px;

        letter-spacing: -2px;

    }


    .offices-section {

        padding-top: 40px;

    }


    .category-heading h2 {

        font-size: 19px;

    }


    .office-filters {

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 5px;

    }


    .office-filter {

        flex-shrink: 0;

    }

}