/* ============================================================
   PORTAL LOCAL SEARCH 02
   PROFESSIONAL SECTION DESIGN
   ============================================================ */


/* ============================================================
   HERO
   ============================================================ */

.p2-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(75px,8vw,118px) 0;
    background:
        radial-gradient(circle at 82% 15%,rgba(37,99,235,.15),transparent 30%),
        radial-gradient(circle at 13% 90%,rgba(79,70,229,.08),transparent 28%),
        linear-gradient(180deg,#f8fbff,#fff);
}

.p2-hero__grid {
    display: grid;
    grid-template-columns: minmax(0,1.12fr) minmax(340px,.88fr);
    gap: clamp(45px,6vw,82px);
    align-items: center;
}

.p2-hero__content h1 {
    max-width: 760px;
    margin: 18px 0 0;
    color: #0f172a;
    font-size: clamp(2.8rem,5.3vw,5.3rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 900;
}

.p2-hero__content > p {
    max-width: 670px;
    margin: 24px 0 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.p2-hero__actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.p2-hero__stats {
    margin-top: 34px;
    padding-top: 22px;
    display: flex;
    gap: 36px;
    border-top: 1px solid #e5eaf1;
}

.p2-hero__stats div {
    display: grid;
    gap: 3px;
}

.p2-hero__stats strong {
    color: #1e293b;
    font-size: 12px;
}

.p2-hero__stats span {
    color: #94a3b8;
    font-size: 9px;
}

.p2-hero-card {
    padding: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 27px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 28px 80px rgba(15,23,42,.11);
}

.p2-hero-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 9px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 9px;
    font-weight: 850;
}

.p2-hero-card h2 {
    margin: 20px 0 24px;
    color: #172033;
    font-size: clamp(1.75rem,2.8vw,2.6rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.p2-hero-card h2 strong {
    display: block;
    color: #2563eb;
}

.p2-hero-card__item {
    margin-top: 10px;
    padding: 13px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid #e8edf4;
    border-radius: 14px;
}

.p2-hero-card__item > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #eff6ff;
    color: #2563eb;
}

.p2-hero-card__item strong,
.p2-hero-card__item small {
    display: block;
}

.p2-hero-card__item strong {
    color: #1e293b;
    font-size: 11px;
}

.p2-hero-card__item small {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 9px;
}


/* ============================================================
   SEARCH
   ============================================================ */

.p2-search {
    padding: clamp(75px,7vw,105px) 0;
    background: #fff;
}

.p2-search-panel {
    max-width: 980px;
    margin-inline: auto;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 23px;
    background: #f8fafc;
    box-shadow: 0 18px 55px rgba(15,23,42,.055);
}

.p2-search-preview {
    padding: 7px;
    display: grid;
    grid-template-columns: 1fr 230px auto;
    gap: 7px;
    border: 1px solid #e1e7ef;
    border-radius: 16px;
    background: #fff;
}

.p2-search-preview__field,
.p2-search-preview__location {
    min-height: 52px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 10px;
}

.p2-search-preview__location {
    border-left: 1px solid #e5eaf1;
}

.p2-search-preview__button {
    min-height: 52px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 850;
}

.p2-search-chips {
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.p2-search-chips > span {
    color: #94a3b8;
    font-size: 9px;
}

.p2-search-chips a {
    padding: 7px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    text-decoration: none;
    font-size: 9px;
    font-weight: 750;
}

.p2-search-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5eaf1;
    color: #94a3b8;
    text-align: center;
    font-size: 8px;
}


/* ============================================================
   CATEGORIES
   ============================================================ */

.p2-categories {
    padding: clamp(75px,7vw,105px) 0;
    background: #f8fafc;
}

.p2-category-card {
    position: relative;
    min-height: 180px;
    padding: 21px;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    background: #fff;
    transition: transform .2s ease,box-shadow .2s ease;
}

.p2-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15,23,42,.08);
}

.p2-category-card > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
}

.p2-category-card h3 {
    margin: 20px 0 0;
    color: #172033;
    font-size: 12px;
}

.p2-category-card p {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 9px;
}

.p2-category-card > i {
    position: absolute;
    right: 18px;
    top: 18px;
    color: #cbd5e1;
    font-size: 9px;
}


/* ============================================================
   LOCATIONS
   ============================================================ */

.p2-locations {
    padding: clamp(75px,7vw,105px) 0;
    background: #fff;
}

.p2-location-grid {
    max-width: 980px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

.p2-location-card {
    padding: 17px;
    display: grid;
    grid-template-columns: 42px 1fr 18px;
    gap: 12px;
    align-items: center;
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    background: #fff;
}

.p2-location-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
}

.p2-location-card strong,
.p2-location-card small {
    display: block;
}

.p2-location-card strong {
    color: #1e293b;
    font-size: 11px;
}

.p2-location-card small {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 9px;
}

.p2-location-card > i {
    color: #cbd5e1;
    font-size: 9px;
}


/* ============================================================
   FEATURED
   ============================================================ */

.p2-featured {
    padding: clamp(75px,7vw,105px) 0;
    background: #f8fafc;
}

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

.p2-business-card {
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(15,23,42,.045);
}

.p2-business-card__image {
    min-height: 145px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background:
        radial-gradient(circle at 85% 15%,rgba(37,99,235,.14),transparent 38%),
        #f8fbff;
}

.p2-business-card__image span {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #2563eb;
    color: #fff;
}

.p2-business-card__image small {
    color: #2563eb;
    font-size: 8px;
    font-weight: 850;
}

.p2-business-card__body {
    padding: 19px;
}

.p2-business-card__category {
    color: #2563eb;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.p2-business-card h3 {
    margin: 8px 0 0;
    color: #172033;
    font-size: 14px;
}

.p2-business-card p {
    color: #94a3b8;
    font-size: 9px;
}

.p2-business-card__body > div {
    margin-top: 16px;
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #edf0f4;
    color: #94a3b8;
    font-size: 8px;
}


/* ============================================================
   OFFERS
   ============================================================ */

.p2-offers {
    padding: clamp(75px,7vw,105px) 0;
    background: #fff;
}

.p2-offer-card {
    padding: 26px;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.04);
}

.p2-offer-card > span {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff7ed;
    color: #ea580c;
}

.p2-offer-card small {
    display: block;
    margin-top: 21px;
    color: #ea580c;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.p2-offer-card h3 {
    margin: 7px 0 0;
    color: #172033;
    font-size: 14px;
}

.p2-offer-card p {
    margin: 9px 0 0;
    color: #64748b;
    font-size: 9px;
    line-height: 1.65;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */

.p2-testimonials {
    padding: clamp(75px,7vw,105px) 0;
    background: #f8fafc;
}

.p2-review-card {
    padding: 24px;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    background: #fff;
}

.p2-review-card__quote {
    color: #2563eb;
    font-size: 21px;
}

.p2-review-card > p {
    min-height: 55px;
    margin: 17px 0 0;
    color: #475569;
    font-size: 10px;
    line-height: 1.7;
}

.p2-review-card > div {
    margin-top: 20px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #edf0f4;
}

.p2-review-card__avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
}

.p2-review-card strong,
.p2-review-card small {
    display: block;
}

.p2-review-card strong {
    color: #172033;
    font-size: 9px;
}

.p2-review-card small {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 8px;
}


/* ============================================================
   CONTACT
   ============================================================ */

.p2-contact {
    padding: clamp(75px,7vw,105px) 0;
    background: #fff;
}

.p2-contact-card {
    padding: clamp(30px,5vw,58px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 10%,rgba(255,255,255,.14),transparent 30%),
        linear-gradient(135deg,#1e3a8a,#2563eb);
    color: #fff;
}

.p2-contact-card > div:first-child {
    max-width: 650px;
}

.p2-contact-card .p2-kicker {
    color: #bfdbfe;
}

.p2-contact-card h2 {
    margin: 13px 0 0;
    font-size: clamp(2rem,4vw,3.6rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.p2-contact-card p {
    margin: 15px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 11px;
    line-height: 1.7;
}

.p2-contact-card__actions {
    min-width: 180px;
    display: grid;
    gap: 9px;
}

.p2-contact-button {
    min-height: 45px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    text-decoration: none;
    font-size: 9px;
    font-weight: 850;
}

.p2-contact-button--primary {
    background: #fff;
    color: #1d4ed8;
}

.p2-contact-button--secondary {
    border: 1px solid rgba(255,255,255,.24);
    color: #fff;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 920px) {

    .p2-hero__grid {
        grid-template-columns: 1fr;
    }

    .p2-hero__content {
        text-align: center;
    }

    .p2-hero__content .p2-kicker {
        margin-inline: auto;
    }

    .p2-hero__actions,
    .p2-hero__stats {
        justify-content: center;
    }

    .p2-hero-card {
        width: min(100%,640px);
        margin-inline: auto;
    }

    .p2-featured-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .p2-search-preview {
        grid-template-columns: 1fr;
    }

    .p2-search-preview__location {
        border-left: 0;
        border-top: 1px solid #e5eaf1;
    }

    .p2-contact-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .p2-contact-card__actions {
        width: 100%;
        grid-template-columns: repeat(2,1fr);
    }

}

@media (max-width: 620px) {

    .p2-hero {
        padding: 56px 0 65px;
    }

    .p2-hero__content h1 {
        font-size: clamp(2.4rem,12vw,3.5rem);
    }

    .p2-hero__actions {
        display: grid;
    }

    .p2-button {
        width: 100%;
    }

    .p2-hero__stats {
        gap: 20px;
    }

    .p2-location-grid,
    .p2-featured-grid {
        grid-template-columns: 1fr;
    }

    .p2-contact-card__actions {
        grid-template-columns: 1fr;
    }

}


/* === PORTAL02 SECTION IMAGES START === */


/* ============================================================
   CMS SECTION MEDIA
   ============================================================ */

.p2-section-media {
    position: relative;

    overflow: hidden;

    width: 100%;

    margin:
        0
        0
        30px;

    border:
        1px solid
        #e2e8f0;

    border-radius: 20px;

    background: #f8fafc;

    box-shadow:
        0 15px 45px
        rgba(15, 23, 42, .065);
}


.p2-section-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ------------------------------------------------------------
   HERO IMAGE
   ------------------------------------------------------------ */

.p2-section-media--hero {
    height: 230px;

    margin-bottom: 23px;

    padding: 10px;

    background:
        linear-gradient(
            145deg,
            #f8fafc,
            #eef2ff
        );
}


.p2-section-media--hero img {
    object-fit: contain;

    border-radius: 14px;
}


/* ------------------------------------------------------------
   SEARCH
   ------------------------------------------------------------ */

.p2-section-media--search {
    height: 270px;
}


.p2-search-panel
.p2-section-media--search {
    margin-bottom: 20px;
}


/* ------------------------------------------------------------
   CATEGORIES
   ------------------------------------------------------------ */

.p2-section-media--categories {
    height: 280px;
}


/* ------------------------------------------------------------
   LOCATIONS
   ------------------------------------------------------------ */

.p2-section-media--locations {
    max-width: 980px;

    height: 300px;

    margin-left: auto;
    margin-right: auto;
}


/* ------------------------------------------------------------
   FEATURED
   ------------------------------------------------------------ */

.p2-section-media--featured {
    height: 310px;
}


/* ------------------------------------------------------------
   OFFERS
   ------------------------------------------------------------ */

.p2-section-media--offers {
    height: 270px;
}


/* ------------------------------------------------------------
   TESTIMONIALS
   ------------------------------------------------------------ */

.p2-section-media--testimonials {
    height: 270px;
}


/* ------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------ */

.p2-contact-card
.p2-section-media--contact {
    flex:
        0
        0
        250px;

    width: 250px;
    height: 190px;

    margin: 0;

    border-color:
        rgba(
            255,
            255,
            255,
            .18
        );

    background:
        rgba(
            255,
            255,
            255,
            .08
        );

    box-shadow: none;
}


.p2-contact-card
.p2-section-media--contact img {
    object-fit: cover;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 920px) {

    .p2-section-media--hero {
        width: min(
            100%,
            520px
        );

        margin-left: auto;
        margin-right: auto;
    }


    .p2-contact-card
    .p2-section-media--contact {
        width: 100%;
        max-width: 520px;

        flex-basis: auto;

        height: 230px;
    }

}


@media (max-width: 620px) {

    .p2-section-media,
    .p2-section-media--search,
    .p2-section-media--categories,
    .p2-section-media--locations,
    .p2-section-media--featured,
    .p2-section-media--offers,
    .p2-section-media--testimonials {
        height: 210px;

        border-radius: 16px;
    }


    .p2-section-media--hero {
        height: 220px;
    }


    .p2-contact-card
    .p2-section-media--contact {
        height: 200px;
    }

}


/* === PORTAL02 SECTION IMAGES END === */
