/* ==============================
   Pagina Team Clinica EvoDent
============================== */

.team-evodent-section-label {
    display: inline-block;
    margin-bottom: 16px;
    font-family: var(--title-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--theme-color);
}

.team-evodent-section-text {
    font-size: 18px;
    line-height: 1.75;
    color: var(--body-color);
    margin-bottom: 0;
}

/* Hero */
.team-evodent-hero {
    padding: 120px 0 80px;
    background: var(--smoke-color);
    overflow: hidden;
}

.team-evodent-hero-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 36px;
    align-items: stretch;
}

.team-evodent-hero-content {
    min-height: 660px;
    padding: 70px 64px;
    border-radius: 38px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-evodent-hero-content h1 {
    font-size: 62px;
    line-height: 1.05;
    letter-spacing: -2.4px;
    margin-bottom: 26px;
    color: var(--title-color);
}

.team-evodent-hero-content p {
    font-size: 19px;
    line-height: 1.75;
    color: var(--body-color);
    margin-bottom: 14px;
}

.team-evodent-hero-content p:last-of-type {
    margin-bottom: 0;
}

.team-evodent-hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.team-evodent-whatsapp-btn {
    background: var(--theme-color);
    color: var(--title-color);
}

.team-evodent-whatsapp-btn:hover {
    color: var(--title-color);
}

.team-evodent-hero-image {
    position: relative;
    min-height: 660px;
    border-radius: 38px;
    overflow: hidden;
}

.team-evodent-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 660px;
    display: block;
}

.team-evodent-hero-card {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    padding: 28px 30px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(10, 12, 0, 0.16);
}

.team-evodent-hero-card strong {
    display: block;
    font-family: var(--title-font);
    font-size: 22px;
    color: var(--title-color);
    margin-bottom: 8px;
}

.team-evodent-hero-card span {
    display: block;
    font-size: 16px;
    line-height: 1.6;
    color: var(--body-color);
}

/* Intro */
.team-evodent-intro-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 60px;
    align-items: start;
}

.team-evodent-intro-title h2,
.team-evodent-director-content h2,
.team-evodent-staff-content h2,
.team-evodent-approach-heading h2,
.team-evodent-location-content h2 {
    font-size: 44px;
    line-height: 1.16;
    letter-spacing: -1.4px;
    margin-bottom: 24px;
}

.team-evodent-intro-text p,
.team-evodent-director-content p,
.team-evodent-staff-content p,
.team-evodent-location-content p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--body-color);
}

/* Direzione sanitaria */
.team-evodent-director-area {
    padding: 40px 0 90px;
}

.team-evodent-director-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 34px;
    align-items: stretch;
    padding: 34px;
    border-radius: 42px;
    background: linear-gradient(135deg, #cc3366 0%, #cc3366 45%, #28c7c7 100%);
}

.team-evodent-director-image {
    border-radius: 34px;
    overflow: hidden;
    min-height: 640px;
    background: #ffffff;
}

.team-evodent-director-image img {
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    display: block;
}

.team-evodent-director-content {
    padding: 56px 52px;
    border-radius: 34px;
    background: #ffffff;
}

.team-evodent-director-content h2 {
    margin-bottom: 8px;
}

.team-evodent-director-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #cc3366;
    margin-bottom: 28px;
}

.team-evodent-director-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.team-evodent-director-tags span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 50px;
    background: var(--smoke-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
}

.team-evodent-director-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.team-evodent-outline-btn {
    background: var(--title-color);
    color: #ffffff;
}

.team-evodent-outline-btn:hover {
    color: #ffffff;
}

/* Team members */
.team-evodent-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.team-evodent-member-card {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.team-evodent-member-card:hover {
    transform: translateY(-8px);
}

.team-evodent-member-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--smoke-color);
}

.team-evodent-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-evodent-member-content {
    padding: 30px 28px 34px;
}

.team-evodent-member-content span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #cc3366;
    letter-spacing: 0.04em;
}

.team-evodent-member-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.team-evodent-member-content p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--body-color);
    margin-bottom: 24px;
}

/* Staff */
.team-evodent-staff-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.team-evodent-staff-content {
    padding: 50px 46px;
    border-radius: 34px;
    background: var(--smoke-color);
}

.team-evodent-staff-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.team-evodent-staff-card {
    min-height: 230px;
    padding: 34px 30px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 14px 45px rgba(10, 12, 0, 0.06);
}

.team-evodent-staff-card i {
    display: inline-flex;
    margin-bottom: 30px;
    font-size: 40px;
    color: var(--theme-color);
}

.team-evodent-staff-card h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 10px;
}

.team-evodent-staff-card p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--body-color);
    margin: 0;
}

/* Approach */
.team-evodent-approach-area {
    padding: 90px 0;
}

.team-evodent-approach-wrap {
    padding: 64px;
    border-radius: 42px;
    background: linear-gradient(135deg, #cc3366 0%, #cc3366 45%, #28c7c7 100%);
}

.team-evodent-approach-heading {
    max-width: 850px;
    margin-bottom: 40px;
}

.team-evodent-approach-heading .team-evodent-section-label,
.team-evodent-approach-heading h2 {
    color: #ffffff;
}

.team-evodent-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.team-evodent-approach-card {
    min-height: 230px;
    padding: 30px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.team-evodent-approach-card i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #cc3366;
    font-size: 20px;
    margin-bottom: 26px;
}

.team-evodent-approach-card h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.team-evodent-approach-card p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Trattamenti collegati */
.team-evodent-treatment-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.team-evodent-treatment-strip a {
    min-height: 150px;
    padding: 26px 24px;
    border-radius: 26px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--title-color);
    transition: all 0.35s ease;
}

.team-evodent-treatment-strip a:hover {
    transform: translateY(-6px);
    color: var(--title-color);
}

.team-evodent-treatment-strip i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--theme-color);
    font-size: 17px;
    color: var(--title-color);
    margin-bottom: 24px;
}

.team-evodent-treatment-strip span {
    font-family: var(--title-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* Location */
.team-evodent-location-wrap {
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
    gap: 30px;
    align-items: stretch;
}

.team-evodent-location-content {
    padding: 54px 50px;
    border-radius: 36px;
    background: var(--smoke-color);
}

.team-evodent-location-map {
    min-height: 560px;
    border-radius: 36px;
    overflow: hidden;
    background: var(--smoke-color);
}

.team-evodent-contact-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.team-evodent-contact-list a,
.team-evodent-contact-list div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #ffffff;
    color: var(--title-color);
}

.team-evodent-contact-list i {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--theme-color);
    color: var(--title-color);
    font-size: 14px;
}

.team-evodent-contact-list span {
    font-size: 16px;
    line-height: 1.5;
}

/* Final CTA */
.team-evodent-final-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    padding: 60px 56px;
    border-radius: 38px;
    background: linear-gradient(135deg, #cc3366 0%, #cc3366 45%, #28c7c7 100%);
    overflow: hidden;
}

.team-evodent-final-box .team-evodent-section-label,
.team-evodent-final-box h2,
.team-evodent-final-box p {
    color: #ffffff;
}

.team-evodent-final-box h2 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.team-evodent-final-box p {
    max-width: 800px;
    font-size: 18px;
    line-height: 1.75;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.team-evodent-final-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-evodent-final-dark-btn {
    background: var(--title-color);
    color: #ffffff;
}

.team-evodent-final-dark-btn:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1199px) {
    .team-evodent-hero-content h1 {
        font-size: 50px;
    }

    .team-evodent-members-grid,
    .team-evodent-approach-grid,
    .team-evodent-treatment-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-evodent-location-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .team-evodent-hero {
        padding: 90px 0 60px;
    }

    .team-evodent-hero-wrap,
    .team-evodent-intro-wrap,
    .team-evodent-director-wrap,
    .team-evodent-staff-wrap,
    .team-evodent-final-box {
        grid-template-columns: 1fr;
    }

    .team-evodent-hero-content,
    .team-evodent-hero-image,
    .team-evodent-hero-image img,
    .team-evodent-director-image,
    .team-evodent-director-image img {
        min-height: auto;
    }

    .team-evodent-hero-image img,
    .team-evodent-director-image img {
        height: auto;
    }

    .team-evodent-final-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .team-evodent-hero-content {
        padding: 44px 28px;
        border-radius: 28px;
    }

    .team-evodent-hero-content h1 {
        font-size: 38px;
        letter-spacing: -1.4px;
    }

    .team-evodent-hero-buttons,
    .team-evodent-director-buttons,
    .team-evodent-final-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .team-evodent-hero-buttons .btn,
    .team-evodent-director-buttons .btn,
    .team-evodent-final-buttons .btn {
        width: 100%;
    }

    .team-evodent-members-grid,
    .team-evodent-staff-cards,
    .team-evodent-approach-grid,
    .team-evodent-treatment-strip {
        grid-template-columns: 1fr;
    }

    .team-evodent-director-wrap,
    .team-evodent-approach-wrap,
    .team-evodent-final-box {
        padding: 28px;
        border-radius: 30px;
    }

    .team-evodent-director-content,
    .team-evodent-staff-content,
    .team-evodent-location-content {
        padding: 38px 26px;
        border-radius: 28px;
    }

    .team-evodent-location-map {
        min-height: 360px;
        border-radius: 28px;
    }
}

@media (max-width: 575px) {
    .team-evodent-hero-content p,
    .team-evodent-intro-text p,
    .team-evodent-director-content p,
    .team-evodent-staff-content p,
    .team-evodent-location-content p,
    .team-evodent-section-text {
        font-size: 16px;
    }

    .team-evodent-intro-title h2,
    .team-evodent-director-content h2,
    .team-evodent-staff-content h2,
    .team-evodent-approach-heading h2,
    .team-evodent-location-content h2,
    .team-evodent-final-box h2 {
        font-size: 30px;
        letter-spacing: -0.8px;
    }

    .team-evodent-hero-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 14px;
        border-radius: 22px;
    }

    .team-evodent-member-content,
    .team-evodent-staff-card,
    .team-evodent-approach-card {
        padding: 28px 24px;
    }

    .team-evodent-treatment-strip a {
        min-height: 130px;
    }

    .team-evodent-hero-content h1 {
        font-size: 26px;
    }
    .team-evodent-intro-wrap {
        gap: 15px;
    }
    .team-evodent-intro-wrap {
        font-size: 26px;
    }
    .team-evodent-members-grid {
        grid-auto-flow: column;
        overflow-x: auto;
        grid-template-columns: 80%;
        grid-auto-columns: 80%;
    }
    .team-evodent-approach-area {
        padding: 45px 0;
    }
    .h2, h2 {
        font-size: 32px;
    }
}