:root {
    --primary-dark: #0043a8;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafd;
}

/* Hero / Breadcrumb Section */
.page-header {
    position: relative;
    background-image: url('assets/img/pages/rete-assistenza-bg.webp');
    background-size: cover;
    background-position: center;
    background-color: #1e293b;
    /* Fallback color */
    padding: 100px 0;
    margin-bottom: 5rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

/* Immagine Prodotto */
.product-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Sfondo di fallback in caso l'immagine non venga caricata in anteprima */
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    min-height: 400px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-image-wrapper:hover .product-image {
    transform: scale(1.03);
}

/* Pricing Card */
.pricing-box {
    background: var(--bg-light);
    border: 1px solid rgba(13, 110, 253, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: inline-block;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.price-old {
    font-size: 1.25rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.price-current {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -1px;
}

/* Lista Servizi */
.service-list li {
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.service-icon {
    color: #10b981;
    /* Verde smeraldo */
    font-size: 1.25rem;
    margin-right: 0.75rem;
    margin-top: 2px;
}

/* Badge */
.custom-badge {
    background: rgb(1 87 122 / 10%);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Bottone CTA */
.btn-cta {
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--color-primary);
    color: var(--white);
    border-color: var(--color-primary);
}

.btn-cta:hover {
    transform: translateY(-3px);
    border-color: var(--color-style-two);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

/* Animazione di base */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===================================================================
   SEZIONE ACI GLOBAL - ASSISTENZA MOBILITÀ EUROPA
   PERCHÉ: Stili esclusivi per la sezione di assistenza alla mobilità
           ACI Global, visibile solo su Premium e Premium Plus+.
   UTILIZZO: Classe .aci-mobilita-section in prodotto.php.
   DIPENDENZE: Variabili del tema (--color-primary, --font-default).
   =================================================================== */

.aci-mobilita-section {
    padding: 80px 0 70px;
    background: linear-gradient(135deg, #f0f9f6 0%, #e8f4f8 50%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}

/* Decorazione di sfondo: cerchio sfumato in basso a destra */
.aci-mobilita-section::before {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 87, 124, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --- Header Sezione --- */
.aci-section-header {
    margin-bottom: 50px;
}

.aci-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 87, 124, 0.08);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: var(--font-default);
}

.aci-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.15;
    margin-bottom: 15px;
    font-family: var(--font-default);
}

.aci-section-title span {
    color: #197149;
}

.aci-section-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Contenuto principale --- */
.aci-content-row {
    margin-top: 10px;
}

/* --- Immagine ACI --- */
.aci-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 87, 124, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.aci-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px rgba(0, 87, 124, 0.2);
}

.aci-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.aci-image-wrapper:hover .aci-main-image {
    transform: scale(1.03);
}

/* Badge H24 sovrapposto all'immagine */
.aci-image-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.aci-h24-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), #197149);
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 87, 124, 0.35);
    animation: aci-pulse 2.5s ease-in-out infinite;
}

@keyframes aci-pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 87, 124, 0.35);
    }

    50% {
        box-shadow: 0 4px 25px rgba(0, 87, 124, 0.55);
    }
}

/* --- Lista Servizi --- */
.aci-services-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aci-service-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 22px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 87, 124, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.aci-service-item:hover {
    border-color: rgba(0, 87, 124, 0.2);
    box-shadow: 0 8px 25px rgba(0, 87, 124, 0.1);
    transform: translateX(6px);
}

.aci-service-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 87, 124, 0.08), rgba(25, 113, 73, 0.08));
    border-radius: 12px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.aci-service-item:hover .aci-service-icon {
    background: linear-gradient(135deg, var(--color-primary), #197149);
    color: #fff;
    transform: scale(1.08);
}

.aci-service-text h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
    font-family: var(--font-default);
}

.aci-service-text p {
    font-size: 0.88rem;
    color: #5a6a7a;
    margin: 0;
    line-height: 1.5;
}

/* --- Numero Verde Box --- */
.aci-numverde-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: #fff;
    border: 2px solid rgba(0, 87, 124, 0.1);
    border-radius: 16px;
    padding: 24px 36px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.aci-numverde-box:hover {
    border-color: rgba(0, 87, 124, 0.25);
    box-shadow: 0 10px 30px rgba(0, 87, 124, 0.1);
}

.aci-numverde-img {
    max-width: 340px;
    height: auto;
    flex-shrink: 0;
}

.aci-numverde-text {
    font-size: 1rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 991px) {
    .aci-mobilita-section {
        padding: 60px 0 50px;
    }

    .aci-section-title {
        font-size: 2rem;
    }

    .aci-section-header {
        margin-bottom: 35px;
    }

    .aci-numverde-img {
        max-width: 260px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .aci-mobilita-section {
        padding: 45px 0 40px;
    }

    .aci-section-title {
        font-size: 1.6rem;
    }

    .aci-section-subtitle {
        font-size: 0.95rem;
    }

    .aci-section-header {
        margin-bottom: 28px;
    }

    .aci-service-item {
        padding: 14px 16px;
        gap: 14px;
    }

    .aci-service-icon {
        width: 44px;
        height: 44px;
    }

    .aci-service-icon svg {
        width: 22px;
        height: 22px;
    }

    .aci-service-text h5 {
        font-size: 0.92rem;
    }

    .aci-service-text p {
        font-size: 0.82rem;
    }

    .aci-numverde-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }

    .aci-numverde-img {
        max-width: 100%;
    }
}

/* Small mobile */
@media (max-width: 575px) {
    .aci-section-title {
        font-size: 1.35rem;
    }

    .aci-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .aci-services-list {
        gap: 12px;
    }
}


/* ===================================================================
   SEZIONE TAGLIANDO MANUTENZIONE ORDINARIA (SOLO PREMIUM PLUS+)
   PERCHÉ: Design premium e impattante, volutamente più "forte" della
           sezione ACI per sottolineare l'esclusività del prodotto top.
   UTILIZZO: Classe .tagliando-section in prodotto.php.
   DIPENDENZE: Variabili del tema (--color-primary, --font-default).
   =================================================================== */

.tagliando-section {
    padding: 80px 0 70px;
    background: linear-gradient(160deg, #0a2a3c 0%, #003d5b 40%, #00577c 100%);
    position: relative;
    overflow: hidden;
}

/* Decorazione sfondo: cerchi luminosi */
.tagliando-section::before {
    content: '';
    position: absolute;
    left: -120px;
    top: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(24, 235, 235, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tagliando-section::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --- Header Sezione --- */
.tagl-section-header {
    margin-bottom: 50px;
}

.tagl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.08));
    color: #d4af37;
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: var(--font-default);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.tagl-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 15px;
    font-family: var(--font-default);
}

.tagl-section-title span {
    background: linear-gradient(90deg, #18ebeb, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagl-section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
    line-height: 1.6;
}

.tagl-section-subtitle strong {
    color: #fff;
}

/* --- Contenuto principale --- */
.tagl-content-row {
    margin-top: 10px;
}

/* --- Griglia Servizi Tagliando --- */
.tagl-services-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tagl-service-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(24, 235, 235, 0.4);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.tagl-service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #18ebeb;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateX(6px);
}

/* Card highlight per "Mano d'Opera" (bordo dorato) */
.tagl-service-card.tagl-highlight {
    border-left-color: #d4af37;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-left: 3px solid #d4af37;
}

.tagl-service-card.tagl-highlight:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
}

.tagl-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 235, 235, 0.08);
    border-radius: 12px;
    color: #18ebeb;
    transition: all 0.3s ease;
}

.tagl-highlight .tagl-card-icon {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.tagl-service-card:hover .tagl-card-icon {
    background: linear-gradient(135deg, rgba(24, 235, 235, 0.2), rgba(0, 87, 124, 0.3));
    transform: scale(1.08);
}

.tagl-highlight:hover .tagl-card-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
}

.tagl-card-text h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-family: var(--font-default);
}

.tagl-card-text p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* --- Colonna Destra --- */
.tagl-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Segnaposto Immagine --- */
.tagl-image-placeholder {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.tagl-main-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tagl-image-placeholder:hover .tagl-main-image {
    transform: scale(1.03);
}

/* Stile del placeholder visivo (da rimuovere quando c'è la foto vera) */
.tagl-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 60px 20px;
    aspect-ratio: 3 / 2;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.tagl-placeholder-inner span {
    font-size: 1rem;
    font-weight: 600;
}

.tagl-placeholder-inner small {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* --- Box Valore Aggiunto --- */
.tagl-value-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(25, 113, 73, 0.12), rgba(212, 175, 55, 0.06));
    border: 1px solid rgba(25, 113, 73, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(4px);
}

.tagl-value-icon {
    flex-shrink: 0;
    color: #197149;
    margin-top: 2px;
}

.tagl-value-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-default);
}

.tagl-value-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tagl-value-list li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.tagl-value-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #197149;
    font-weight: 700;
    font-size: 0.8rem;
}

.tagl-value-list li strong {
    color: #d4af37;
}

/* --- Responsive Tagliando --- */

/* Tablet */
@media (max-width: 991px) {
    .tagliando-section {
        padding: 60px 0 50px;
    }

    .tagl-section-title {
        font-size: 2rem;
    }

    .tagl-section-header {
        margin-bottom: 35px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .tagliando-section {
        padding: 45px 0 40px;
    }

    .tagl-section-title {
        font-size: 1.6rem;
    }

    .tagl-section-subtitle {
        font-size: 0.95rem;
    }

    .tagl-section-header {
        margin-bottom: 28px;
    }

    .tagl-service-card {
        padding: 14px 16px;
        gap: 14px;
    }

    .tagl-card-icon {
        width: 44px;
        height: 44px;
    }

    .tagl-card-icon svg {
        width: 22px;
        height: 22px;
    }

    .tagl-card-text h5 {
        font-size: 0.92rem;
    }

    .tagl-card-text p {
        font-size: 0.82rem;
    }

    .tagl-placeholder-inner {
        padding: 40px 16px;
    }

    .tagl-value-box {
        flex-direction: column;
        gap: 12px;
        padding: 18px 16px;
    }
}

/* Small mobile */
@media (max-width: 575px) {
    .tagl-section-title {
        font-size: 1.35rem;
    }

    .tagl-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .tagl-services-grid {
        gap: 10px;
    }
}