/* ========================================== */
/* DOCTOR HERO (Mobile / PWA)                  */
/* ========================================== */

:root {
    --dh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --dh-card-radius: 20px;
    --dh-text-light: #ffffff;
    --dh-text-dark: #1a1a2e;
    --dh-accent: #1B9AA6;
}

/* ========================================== */
/* CONTAINER                                   */
/* ========================================== */
.doctor-hero {
    padding-top: calc(24px + env(safe-area-inset-top, 0px));
    background: #0c1517;
    padding-bottom: 24px;
}

/* ========================================== */
/* HEADER (back + menu)                        */
/* ========================================== */
.doctor-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
}

.doctor-hero-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: #333;
    border-radius: 50%;
    transition: background 0.2s;
}

.doctor-hero-header-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.doctor-hero-header-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.doctor-hero-menu-btn {
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.doctor-hero-menu-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ========================================== */
/* TITLE                                       */
/* ========================================== */
.doctor-hero-title {
    font-family: var(--dh-font);
    font-size: 22px;
    font-weight: 700;
    color: #111;
    padding: 0 16px;
    margin: 0 0 16px;
    line-height: 1.3;
}

/* ========================================== */
/* DOCTOR CARD (single, static)                */
/* ========================================== */
.doctor-card {
    margin: 0 16px;
    border-radius: var(--dh-card-radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
    background: #e0e0e0;
}

.doctor-card-picture {
    position: absolute;
    inset: 0;
}

.doctor-card-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.doctor-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0) 65%);
    z-index: 1;
    pointer-events: none;
}

.doctor-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 20px;
}

.doctor-card-category {
    display: block;
    font-family: var(--dh-font);
    font-size: 12px;
    font-weight: 500;
    color: #D1D5DB;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.doctor-card-name {
    display: block;
    font-family: var(--dh-font);
    font-size: 26px;
    font-weight: 700;
    color: var(--dh-text-light);
    line-height: 1.2;
    margin-bottom: 14px;
}

.doctor-card-actions {
    display: flex;
    gap: 10px;
}

.doctor-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    cursor: pointer;
    color: var(--dh-text-light);
    transition: background 0.2s, transform 0.2s;
}

.doctor-card-action:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.doctor-card-action svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.doctor-card-action:focus-visible {
    outline: 2px solid var(--dh-text-light);
    outline-offset: 2px;
}

/* ========================================== */
/* BANNERS SECTION                             */
/* ========================================== */
.banners-section {
    padding: 0 0 24px;
}

.banners-section-title {
    font-family: var(--dh-font);
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    padding: 0 20px;
    margin: 20px 0 12px;
}

.banners-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 0 20px;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.banners-track::-webkit-scrollbar {
    display: none;
}

.banner-card {
    flex: 0 0 88%;
    scroll-snap-align: start;
    border-radius: var(--dh-card-radius);
    overflow: hidden;
    position: relative;
    min-height: 170px;
    aspect-ratio: 16 / 9;
    background: #e0e0e0;
}

.banner-card-picture {
    position: absolute;
    inset: 0;
}

.banner-card-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.banner-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 18px 18px 18px 20px;
}

.banner-card-subtitle {
    display: block;
    font-family: var(--dh-font);
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.banner-card-heading {
    font-family: var(--dh-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--dh-text-light);
    line-height: 1.3;
    margin: 0 0 10px;
}

.banner-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: none;
    border-radius: 50px;
    background: var(--dh-text-light);
    color: var(--dh-text-dark);
    font-family: var(--dh-font);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    align-self: flex-start;
}

.banner-card-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.banner-card-btn:focus-visible {
    outline: 2px solid var(--dh-text-light);
    outline-offset: 2px;
}

/* ========================================== */
/* RESPONSIVE — hide on desktop                */
/* ========================================== */
@media (min-width: 769px) {
    .doctor-hero,
    .banners-section {
        display: none;
    }
}
