/* ==============================
   Pagina Servizi e Convenzioni Clinica EvoDent
============================== */

.services-conventions-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);
}

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

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

.services-conventions-hero-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 36px;
    align-items: stretch;
}

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

.services-conventions-hero-content h1 {
    font-size: 60px;
    line-height: 1.05;
    letter-spacing: -2.2px;
    margin-bottom: 26px;
    color: var(--title-color);
}

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

.services-conventions-hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.services-conventions-whatsapp-btn {
    background: var(--theme-color);
    color: var(--title-color);
}

.services-conventions-whatsapp-btn:hover {
    color: var(--title-color);
}

.services-conventions-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.services-conventions-hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 50px;
    background: var(--smoke-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
}

.services-conventions-hero-tags i {
    color: var(--theme-color);
    font-size: 12px;
}

.services-conventions-hero-image {
    position: relative;
    min-height: 670px;
    border-radius: 38px;
    overflow: hidden;
}

.services-conventions-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 670px;
    object-fit: cover;
    display: block;
}

.services-conventions-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);
}

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

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

/* Payments */
.services-conventions-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.services-conventions-payment-card {
    min-height: 330px;
    padding: 34px 28px;
    border-radius: 30px;
    background: var(--smoke-color);
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.services-conventions-payment-card:hover {
    transform: translateY(-8px);
}

.services-conventions-payment-logo {
    height: 66px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.services-conventions-payment-logo img {
    max-width: 160px;
    max-height: 56px;
    width: auto;
    height: auto;
    display: block;
}

.services-conventions-payment-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #cc3366;
    margin-top: auto;
    margin-bottom: 12px;
}

.services-conventions-payment-card p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--body-color);
    margin-bottom: 0;
}

.services-conventions-payment-note {
    max-width: 860px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-color);
}

/* Agreements */
.services-conventions-agreements-area {
    padding: 90px 0;
}

.services-conventions-agreements-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: stretch;
    padding: 54px;
    border-radius: 42px;
    background: linear-gradient(135deg, #cc3366 0%, #cc3366 45%, #28c7c7 100%);
}

.services-conventions-agreements-content {
    padding: 20px 10px;
    color: #ffffff;
}

.services-conventions-agreements-content .services-conventions-section-label,
.services-conventions-agreements-content h2,
.services-conventions-agreements-content p {
    color: #ffffff;
}

.services-conventions-agreements-content h2 {
    font-size: 44px;
    line-height: 1.16;
    letter-spacing: -1.4px;
    margin-bottom: 24px;
}

.services-conventions-agreements-content p {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.services-conventions-agreements-content .btn {
    margin-top: 18px;
}

.services-conventions-agreements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.services-conventions-agreement-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;
}

.services-conventions-agreement-card h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* Patient services */
.services-conventions-patient-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.services-conventions-patient-card {
    min-height: 250px;
    padding: 34px 30px;
    border-radius: 30px;
    background: #ffffff;
    transition: all 0.35s ease;
}

.services-conventions-patient-card:hover {
    transform: translateY(-6px);
}

.services-conventions-patient-card i {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--theme-color);
    font-size: 42px;
}

.services-conventions-patient-card h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 10px;
}

.services-conventions-patient-card p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--body-color);
    margin-bottom: 0;
}

/* Access */
.services-conventions-access-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
    gap: 28px;
    align-items: stretch;
}

.services-conventions-access-content {
    padding: 54px 50px;
    border-radius: 36px;
    background: var(--smoke-color);
}

.services-conventions-access-content h2 {
    font-size: 44px;
    line-height: 1.16;
    letter-spacing: -1.4px;
    margin-bottom: 24px;
}

.services-conventions-access-content p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--body-color);
}

.services-conventions-location-card {
    padding: 44px 38px;
    border-radius: 36px;
    background: var(--title-color);
    color: #ffffff;
}

.services-conventions-location-card > i {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--theme-color);
    color: var(--title-color);
    font-size: 24px;
    margin-bottom: 30px;
}

.services-conventions-location-card h3 {
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 26px;
}

.services-conventions-contact-list {
    display: grid;
    gap: 10px;
}

.services-conventions-contact-list a,
.services-conventions-contact-list div {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.services-conventions-contact-list span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.5;
}

/* Treatments */
.services-conventions-treatment-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.services-conventions-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;
}

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

.services-conventions-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;
}

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

/* FAQ */
.services-conventions-faq-accordion .accordion-card.style2 {
    background: var(--smoke-color);
    border-radius: 22px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid rgba(10, 12, 0, 0.06);
}

.services-conventions-faq-accordion .accordion-card.style2 .accordion-button {
    background: var(--smoke-color);
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
    padding: 26px 72px 26px 30px;
    border-radius: 0;
    box-shadow: none;
}

.services-conventions-faq-accordion .accordion-card.style2 .accordion-button::after {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background-color: var(--theme-color);
    background-position: center;
    background-size: 14px;
    position: absolute;
    right: 24px;
}

.services-conventions-faq-accordion .accordion-body {
    padding: 0 30px 28px 30px;
}

.services-conventions-faq-accordion .faq-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.75;
}

/* Final CTA */
.services-conventions-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;
}

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

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

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

.services-conventions-final-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.services-conventions-final-dark-btn:hover {
    color: #ffffff;
}

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

    .services-conventions-payment-grid,
    .services-conventions-treatment-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-conventions-patient-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .services-conventions-hero-wrap,
    .services-conventions-agreements-wrap,
    .services-conventions-access-wrap,
    .services-conventions-final-box {
        grid-template-columns: 1fr;
    }

    .services-conventions-hero-content,
    .services-conventions-hero-image,
    .services-conventions-hero-image img {
        min-height: auto;
    }

    .services-conventions-hero-image img {
        height: auto;
    }

    .services-conventions-final-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

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

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

    .services-conventions-hero-buttons,
    .services-conventions-final-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .services-conventions-hero-buttons .btn,
    .services-conventions-final-buttons .btn {
        width: 100%;
    }

    .services-conventions-payment-grid,
    .services-conventions-agreements-grid,
    .services-conventions-patient-grid,
    .services-conventions-treatment-strip {
        grid-template-columns: 1fr;
    }

    .services-conventions-agreements-wrap,
    .services-conventions-final-box {
        padding: 32px 26px;
        border-radius: 30px;
    }

    .services-conventions-access-content,
    .services-conventions-location-card {
        padding: 38px 26px;
        border-radius: 28px;
    }
}

@media (max-width: 575px) {
    .services-conventions-hero-content p,
    .services-conventions-section-text,
    .services-conventions-agreements-content p,
    .services-conventions-access-content p {
        font-size: 16px;
    }

    .services-conventions-agreements-content h2,
    .services-conventions-access-content h2,
    .services-conventions-final-box h2 {
        font-size: 30px;
        letter-spacing: -0.8px;
    }

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

    .services-conventions-payment-card,
    .services-conventions-patient-card,
    .services-conventions-agreement-card {
        padding: 28px 24px;
        border-radius: 24px;
    }

    .services-conventions-payment-logo {
        height: auto;
        margin-bottom: 24px;
    }

    .services-conventions-payment-logo img {
        max-width: 145px;
        max-height: 48px;
    }

    .services-conventions-faq-accordion .accordion-card.style2 .accordion-button {
        font-size: 17px;
        padding: 22px 62px 22px 22px;
    }

    .services-conventions-faq-accordion .accordion-body {
        padding: 0 22px 24px 22px;
    }

    .services-conventions-faq-accordion .faq-text {
        font-size: 16px;
    }

    .services-conventions-treatment-strip a {
        min-height: 130px;
    }
    .services-conventions-hero-content h1 {
        font-size: 26px;
    }
    .services-conventions-payment-grid, .services-conventions-treatment-strip {
        grid-auto-flow: column;
        overflow-x: auto;
        grid-template-columns: 80%;
        grid-auto-columns: 80%;
    }
    .services-conventions-agreements-area {
        padding: 45px 0;
    }
    .sec-title {
        font-size: 26px;
    }
}

/* ==============================
   Convenzioni Dirette - Clinica EvoDent
============================== */

.services-conventions-direct-area {
    position: relative;
    overflow: hidden;
}

.services-conventions-direct-intro {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 36px 34px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 14px 45px rgba(10, 12, 0, 0.06);
}

.services-conventions-direct-intro-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--theme-color);
    color: var(--title-color);
    font-size: 26px;
}

.services-conventions-direct-intro h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--title-color);
}

.services-conventions-direct-intro p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--body-color);
    margin-bottom: 0;
}

/* Griglia loghi */
.services-conventions-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.services-conventions-logo-card {
    min-height: 132px;
    padding: 26px 22px;
    border-radius: 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(10, 12, 0, 0.05);
    transition: all 0.35s ease;
}

.services-conventions-logo-card:hover {
    transform: translateY(-6px);
}

.services-conventions-logo-card img {
    max-width: 170px;
    max-height: 58px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Box rimborso indiretto */
.services-conventions-direct-support {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    padding: 46px 44px;
    border-radius: 32px;
    background: linear-gradient(135deg, #cc3366 0%, #cc3366 45%, #28c7c7 100%);
    color: #ffffff;
}

.services-conventions-direct-support-content span {
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--title-font);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.services-conventions-direct-support-content h3 {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 18px;
}

.services-conventions-direct-support-content p {
    max-width: 900px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.services-conventions-direct-support-content p:last-child {
    margin-bottom: 0;
}

.services-conventions-direct-support-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-conventions-direct-whatsapp-btn {
    background: var(--title-color);
    color: #ffffff;
}

.services-conventions-direct-whatsapp-btn:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1199px) {
    .services-conventions-logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .services-conventions-logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-conventions-direct-support {
        grid-template-columns: 1fr;
    }

    .services-conventions-direct-support-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .services-conventions-direct-intro {
        flex-direction: column;
        padding: 30px 24px;
        border-radius: 26px;
    }

    .services-conventions-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .services-conventions-logo-card {
        min-height: 110px;
        padding: 22px 16px;
        border-radius: 20px;
    }

    .services-conventions-logo-card img {
        max-width: 135px;
        max-height: 48px;
    }

    .services-conventions-direct-support {
        padding: 34px 24px;
        border-radius: 26px;
    }

    .services-conventions-direct-support-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .services-conventions-direct-support-actions .btn {
        width: 100%;
    }

    .services-conventions-direct-support-content h3 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .services-conventions-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-conventions-direct-intro-icon {
        width: 58px;
        height: 58px;
        min-width: 58px;
        font-size: 22px;
    }

    .services-conventions-direct-intro h3 {
        font-size: 24px;
    }

    .services-conventions-direct-intro p,
    .services-conventions-direct-support-content p {
        font-size: 16px;
    }

    .services-conventions-logo-card {
        min-height: 96px;
    }

    .services-conventions-logo-card img {
        max-width: 120px;
        max-height: 42px;
    }
}