/* Premium visual refinements for Mesora Health Directory. */

body {
    font-family: "IBM Plex Sans Arabic", "Inter", "Noto Sans Arabic", sans-serif;
}

/* --------------------------------------------------
   Premium home hero
-------------------------------------------------- */
.hero-editorial-card {
    min-height: 440px;
    padding: 50px 42px 44px;
    justify-content: flex-end;
    background-image:
        linear-gradient(
            90deg,
            rgba(10, 20, 18, 0.62) 0%,
            rgba(10, 20, 18, 0.46) 34%,
            rgba(10, 20, 18, 0.18) 72%,
            rgba(10, 20, 18, 0.06) 100%
        ),
        url("../images/hero-lake.0a3a99b379fd.jpg");
    background-position: center center;
    box-shadow: 0 18px 42px rgba(17, 28, 23, 0.12);
}

.hero-editorial-card::before {
    background:
        linear-gradient(180deg, rgba(7, 18, 15, 0.08), rgba(7, 18, 15, 0.18)),
        linear-gradient(0deg, rgba(7, 18, 15, 0.14), transparent 50%);
}

.hero-copy {
    max-width: 720px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.eyebrow {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 720px;
    margin: 10px 0 12px;
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.85rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.025em;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.24);
}

.hero-copy p {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    line-height: 1.8;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.editorial-search {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 34px rgba(12, 20, 17, 0.2);
    backdrop-filter: blur(12px);
}

.editorial-search select,
.search-main-field input {
    color: #1e1e1e;
    font-weight: 500;
}

.search-main-field input::placeholder {
    color: #868686;
}

.editorial-search-btn {
    background: #151817;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.categories-section {
    padding-top: 42px;
}

.section-kicker {
    color: #6b8b85;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.section-head h2 {
    font-size: 1.62rem;
    font-weight: 700;
}

.editorial-category {
    min-height: 110px;
    border-color: #e8e5de;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(25, 31, 28, 0.035);
}

.editorial-category:hover {
    transform: translateY(-3px);
    border-color: #c8d7d3;
    box-shadow: 0 14px 30px rgba(31, 42, 36, 0.08);
}

.category-icon {
    background: #edf3f1;
    color: #5d817a;
}

.category-arrow {
    background: #fff;
}

/* --------------------------------------------------
   Premium search page
-------------------------------------------------- */
.premium-search-page {
    background:
        radial-gradient(circle at top right, rgba(90, 124, 118, 0.07), transparent 28rem),
        #fafafa;
}

.premium-search-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 20px;
}

.premium-search-header .section-kicker {
    display: inline-block;
    margin-bottom: 4px;
}

.premium-search-header h1 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.18;
}

.premium-search-header .subtle {
    margin: 7px 0 0;
    color: #777a76;
}

.reset-search-link {
    padding-bottom: 4px;
    white-space: nowrap;
}

.premium-search-bar-wrap {
    margin-bottom: 30px;
}

.premium-compact-search {
    margin-top: 0;
    border: 1px solid #e9e6df;
    box-shadow: 0 12px 30px rgba(20, 29, 25, 0.06);
}

.premium-search-layout {
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 28px;
}

.premium-filters {
    padding: 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #ebe8e1;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(26, 34, 30, 0.04);
    backdrop-filter: blur(8px);
}

.filter-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.filter-header-row .filter-title {
    margin: 0;
}

.filter-hint {
    color: #9a9b98;
    font-size: 0.72rem;
}

.premium-filters .control {
    border-color: #e4e1da;
    border-radius: 11px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-filters .control:focus {
    border-color: #9eb5b0;
    box-shadow: 0 0 0 3px rgba(91, 127, 120, 0.09);
}

.premium-check input {
    accent-color: #5d817a;
}

.premium-filters .full-btn {
    min-height: 46px;
    border-radius: 12px;
}

.premium-results {
    gap: 14px;
}

.premium-result-card {
    min-height: 158px;
    grid-template-columns: 118px minmax(0, 1fr) 126px;
    gap: 20px;
    padding: 18px;
    border-color: #ebe8e2;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(25, 31, 28, 0.025);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-result-card:hover {
    transform: translateY(-2px);
    border-color: #ccd9d5;
    box-shadow: 0 14px 30px rgba(30, 41, 35, 0.07);
}

.premium-result-img-wrap {
    align-self: stretch;
}

.premium-result-card .result-img {
    width: 118px;
    height: 100%;
    min-height: 120px;
    border-radius: 14px;
    object-fit: cover;
}

.premium-result-content {
    min-width: 0;
}

.provider-type-pill,
.verified-pill {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.provider-type-pill {
    color: #4c6661;
    background: #eef4f2;
}

.verified-pill {
    color: #216f50;
    background: #ebf7f0;
}

.premium-result-card h2 {
    margin: 8px 0 3px;
    font-size: 1.26rem;
    line-height: 1.3;
}

.premium-result-card h2 a:hover {
    color: #557b74;
}

.result-category,
.result-location {
    margin: 3px 0;
    color: #666a66;
    font-size: 0.87rem;
}

.result-location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.result-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.result-service-tags span {
    padding: 5px 9px;
    color: #666a66;
    background: #f7f6f2;
    border: 1px solid #ece9e2;
    border-radius: 999px;
    font-size: 0.72rem;
}

.premium-result-actions {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 9px;
}

.view-profile-btn,
.quick-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.view-profile-btn {
    color: #fff;
    background: #171a19;
}

.view-profile-btn:hover {
    background: #000;
}

.quick-contact-link {
    color: #4e706a;
    background: #eef4f2;
}

.quick-contact-link:hover {
    background: #e2eeeb;
}

.premium-empty-state {
    padding: 64px 24px;
    border-style: solid;
    border-color: #e7e4dd;
    box-shadow: 0 8px 22px rgba(25, 31, 28, 0.03);
}

.empty-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 50%;
    color: #5d817a;
    background: #edf3f1;
    font-size: 1.25rem;
}

/* --------------------------------------------------
   Premium provider profile
-------------------------------------------------- */
.premium-profile-page {
    background:
        radial-gradient(circle at top right, rgba(90, 124, 118, 0.065), transparent 30rem),
        #fafafa;
}

.profile-back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: #686b68;
    font-size: 0.84rem;
    font-weight: 600;
}

.profile-back-link:hover {
    color: #557b74;
}

.premium-profile-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
}

.premium-profile-main {
    padding: 28px;
    border-color: #e9e6df;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(24, 32, 28, 0.045);
}

.premium-profile-hero {
    grid-template-columns: 172px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.profile-image-shell {
    overflow: hidden;
    border-radius: 18px;
    background: #f2f2ef;
    box-shadow: 0 8px 20px rgba(25, 32, 29, 0.06);
}

.premium-profile-main .profile-img {
    width: 172px;
    height: 172px;
    border-radius: 0;
}

.profile-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.premium-profile-title h1 {
    margin: 10px 0 5px;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.2;
}

.profile-category,
.profile-location {
    margin: 4px 0;
    color: #676b67;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.premium-profile-title .profile-description {
    max-width: 680px;
    margin-top: 14px;
    line-height: 1.85;
}

.premium-profile-section {
    margin-top: 30px;
    padding-top: 26px;
}

.profile-section-heading {
    margin-bottom: 16px;
}

.profile-section-heading h2 {
    margin: 4px 0 0;
    font-size: 1.35rem;
}

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

.profile-service-tags span {
    padding: 8px 12px;
    color: #526862;
    background: #eef4f2;
    border: 1px solid #dfeae6;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
}

.locations-stack {
    display: grid;
    gap: 14px;
}

.premium-location-card {
    padding: 18px;
    border-color: #e8e5de;
    border-radius: 16px;
    background: #fdfdfc;
}

.location-card-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
}

.location-label {
    color: #7b7e7a;
    font-size: 0.72rem;
}

.location-card-head h3 {
    margin: 4px 0 0;
    font-size: 1rem;
}

.primary-location-badge {
    padding: 5px 9px;
    color: #4e706a;
    background: #eaf2f0;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
}

.location-address {
    margin: 10px 0 12px;
    color: #696c68;
    font-size: 0.86rem;
}

.hours-shell {
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid #ece9e2;
    border-radius: 12px;
    background: #fff;
}

.premium-hours th,
.premium-hours td {
    padding: 10px 12px;
}

.premium-hours tr:last-child th,
.premium-hours tr:last-child td {
    border-bottom: 0;
}

.hours-slot {
    display: inline-block;
    color: #3f4541;
    font-weight: 500;
}

.premium-profile-side {
    gap: 14px;
}

.premium-contact-card,
.premium-trust-card {
    padding: 20px;
    border-color: #e8e5de;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(25, 31, 28, 0.035);
}

.premium-contact-card h3,
.premium-trust-card h3 {
    margin: 4px 0 8px;
    font-size: 1.14rem;
}

.contact-card-copy {
    margin: 0 0 15px;
    color: #7a7d79;
    font-size: 0.82rem;
    line-height: 1.7;
}

.premium-contact-list {
    gap: 9px;
}

.contact-primary,
.contact-secondary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 10px 13px;
    border-radius: 11px;
    font-size: 0.82rem;
    font-weight: 600;
}

.contact-primary {
    color: #fff;
    background: #171a19;
}

.contact-primary:hover {
    background: #000;
}

.contact-secondary {
    color: #4f6661;
    background: #f0f5f3;
}

.contact-secondary:hover {
    background: #e4eeeb;
}

.trust-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 13px 0;
    padding: 10px 12px;
    border-radius: 11px;
    font-size: 0.8rem;
    font-weight: 600;
}

.trust-status.verified {
    color: #226d50;
    background: #ebf7f0;
}

.trust-status.unverified {
    color: #806c40;
    background: #faf5e9;
}

.trust-status-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------
   Responsive refinements
-------------------------------------------------- */
@media (max-width: 980px) {
    .hero-editorial-card {
        min-height: 400px;
        padding: 44px 32px 36px;
    }

    .hero-copy h1 {
        font-size: clamp(2.1rem, 5vw, 3.2rem);
    }

    .premium-search-layout,
    .premium-profile-grid {
        grid-template-columns: 1fr;
    }

    .premium-filters,
    .premium-profile-side {
        position: static;
    }

    .premium-result-card {
        grid-template-columns: 104px minmax(0, 1fr) 112px;
    }

    .premium-result-card .result-img {
        width: 104px;
    }
}

@media (max-width: 700px) {
    .hero-editorial-card {
        min-height: 360px;
        padding: 32px 20px 24px;
        background-position: 42% center;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-copy h1 {
        font-size: 2rem;
        line-height: 1.12;
    }

    .hero-copy p {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .premium-search-header {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .premium-filters {
        padding: 16px;
    }

    .premium-result-card {
        min-height: auto;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 13px;
        padding: 14px;
    }

    .premium-result-card .result-img {
        width: 72px;
        height: 72px;
        min-height: 72px;
    }

    .premium-result-actions {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .view-profile-btn,
    .quick-contact-link {
        flex: 1;
    }

    .premium-profile-main {
        padding: 20px;
    }

    .premium-profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-image-shell,
    .premium-profile-main .profile-img {
        width: 132px;
        height: 132px;
    }

    .premium-profile-title h1 {
        font-size: 1.9rem;
    }

    .location-card-head {
        flex-direction: column;
    }
}
