/* MOBILE ECHIPA CSS - HIGH FIDELITY REFACTOR */

.echipa-mobile-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    overflow-x: hidden;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
}

/* Atmospheric Mesh Background */
.echipa-mesh-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mc1 {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -100px;
    right: -200px;
    background: radial-gradient(circle, rgba(237, 35, 144, 0.15) 0%, transparent 70%);
    filter: blur(60px);
}

.mc2 {
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: 20%;
    left: -150px;
    background: radial-gradient(circle, rgba(237, 35, 144, 0.1) 0%, transparent 70%);
    filter: blur(80px);
}

.mc3 {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 40%;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    filter: blur(60px);
}

/* Hero Section */
.echipa-hero-mobile {
    position: relative;
    padding: 100px 24px 60px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%),
                url('../../Imagini/echipa/shutterstock_2565274315 (1) 1.jpg') center / cover no-repeat;
    text-align: center;
    border-radius: 0 0 40px 40px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);
    z-index: 2;
}

.echipa-h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

.echipa-hero-subtitle {
    font-size: 16px;
    color: #cedce5;
    line-height: 1.5;
    margin: 0;
}

/* Visuals Intro */
.echipa-intro-visuals {
    padding: 40px 24px;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.team-photo-container {
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.team-photo-img {
    width: 100%;
    display: block;
}

.review-card-mobile {
    margin: 24px auto 0;
    background: linear-gradient(180deg, #ed2390 0%, #d40000 100%);
    padding: 32px 24px;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.review-stars {
    height: 24px;
    margin-bottom: 16px;
}

.review-text-mobile {
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    margin: 0;
}

/* Info Cards Info Section */
.echipa-info-section-mobile {
    padding: 24px 20px;
    background: #D9D9D9;
    margin: 40px 16px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 3;
}

.info-item-mobile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon-box {
    width: 44px;
    height: 44px;
    background: #d40000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-box img {
    width: 20px;
    height: 20px;
}

.info-text-box {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.info-val {
    font-size: 13px;
    color: #666;
}

.btn-programeaza-echipa {
    background: #f00;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
}

/* Description Section */
.echipa-description-mobile {
    padding: 60px 24px 40px;
    margin-bottom: 50px;
    background: #1B1B1B;
    position: relative;
    z-index: 3;
}

.echipa-desc-img-container {
    width: 100%;
    margin-bottom: 32px;
}

.echipa-desc-img {
    width: 100%;
    display: block;
    border-radius: 32px;
}

.label-row-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.label-icon-mobile {
    width: 40px;
    height: 40px;
}

.label-text-mobile {
    font-size: 19px;
    font-weight: 700;
    color: #f00;
}

.echipa-h2 {
    font-size: 33px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 24px;
}

.echipa-p {
    font-size: 16px;
    line-height: 1.6;
    color: #cedce5;
    margin-bottom: 0;
}

/* Doctors Grid */
.doctors-grid-mobile {
    padding: 0 16px 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 3;
}

.doctor-card-mobile {
    display: flex;
    flex-direction: column;
    background: transparent;
    text-decoration: none;
    color: inherit;
    border: none;
    position: relative;
}

.doctor-image-wrapper {
    position: relative;
    width: 100%;
}

.doctor-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 24px;
}

.doctor-image-wrapper img.img-masked {
    /* Inverted circle masking correctly aligns exactly with the red badge */
    -webkit-mask-image: radial-gradient(circle 38px at calc(100% - 32px) calc(100% - 32px), transparent 38px, black 39px);
    mask-image: radial-gradient(circle 38px at calc(100% - 32px) calc(100% - 32px), transparent 38px, black 39px);
}


.doctor-arrow-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 48px;
    height: 48px;
    background: linear-gradient(180deg, #ED2390 0%, #D40000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.doctor-arrow-badge svg {
    width: 20px;
    height: 20px;
    display: block;
}

.doctor-info-mobile {
    padding: 24px 16px 8px;
    text-align: center;
}

.doctor-info-mobile h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.doctor-info-mobile p {
    font-size: 14px;
    color: #cedce5;
    margin: 0 auto;
    max-width: 240px;
    line-height: 1.5;
}

/* CTA Bottom */
.echipa-cta-bottom {
    padding: 60px 24px;
    background: #d9d9d9;
    border-radius: 40px 40px 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 3;
}

.cta-icon-bottom {
    width: 180px;
}

.echipa-cta-bottom h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.echipa-cta-bottom p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.cta-phone-btn {
    background: linear-gradient(180deg, #f00 0%, #c80000 100%);
    color: #fff;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}
