@charset "UTF-8";
/* CSS Document */

/* ==========================================================================
   1. CARICAMENTO FONT PERSONALIZZATO (Definizione Unica)
   ========================================================================== */
@font-face {
    font-family: 'NewHeroAccess';
    src: url('fonts/NewHeroAccess-Regular.woff2') format('woff2'),
         url('fonts/NewHeroAccess-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NewHeroAccess';
    src: url('fonts/NewHeroAccess-Bold.woff2') format('woff2'),
         url('fonts/NewHeroAccess-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. VARIABILI E RESET GLOBALE
   ========================================================================== */
:root {
    --verde-medicale: #30EA02; /* Colore verde Haleon aggiornato */
    --grigio-sfondo: #f4f4f4;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'NewHeroAccess', Arial, sans-serif; 
    color: #333; 
    background-color: #fcfcfc; 
    line-height: 1.5;
}

h1, h2, h3 {
    font-family: 'NewHeroAccess', Arial, sans-serif;
    font-weight: bold; 
}

/* ==========================================================================
   3. STRUTTURA E NAVBAR LOGO
   ========================================================================== */
.logo-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 0; 
    background-color: #fff;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logo-navbar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(calc(-50% - 1px)); 
    height: 48px; 
    background-color: var(--verde-medicale);
    z-index: 1; 
}

.logo-wrapper {
    position: relative;
    z-index: 2; 
    background-color: #fff; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; 
}

.logo-img {
    display: block;
    height: 85px; 
    width: auto;     
}

/* ==========================================================================
   4. CONFIGURAZIONE HERO BANNER (Stile Base Mobile - Sotto i 768px)
   ========================================================================== */
.hero-header {
    background-color: #f7fbfb; 
    width: 100%;
    position: relative;
}

.hero-container {
    padding: 25px 20px;
    max-width: 100%;
    display: flex;
    flex-direction: column; 
}

.hero-text h1 {
    color: #006666;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-text h1 span {
    color: var(--verde-medicale);
}

.hero-text p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hero-image-mobile {
    display: block;
    width: 100%;
    margin-top: 15px;
}

.hero-image-mobile img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* ==========================================================================
   5. SEZIONE TAPPE E CONTENUTI (Stile Base Mobile - Sotto i 768px)
   ========================================================================== */
.tour-section { 
    padding: 30px 15px; 
    max-width: 900px; 
    margin: 0 auto; 
}

.section-title {
    text-align: center;
    color: #006666;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 40px;
}

.tappa-card {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 35px;
    position: relative;
    display: flex;
    flex-direction: column; 
}

.badge-numero {
    position: absolute;
    top: -15px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #006666;
    color: #fff;
    width: 30px; 
    height: 30px;
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
    z-index: 10;
}

.tappa-info { 
    padding: 25px; 
}

.tappa-data {
    font-size: 13px;
    color: #666;
    font-weight: bold;
}

.tappa-info h3 {
    color: #006666;
    margin: 10px 0;
    font-size: 14px;
}

.tappa-info p, .tappa-info span {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
}

.tappa-split-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;       
    background-size: contain;   
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    border-top: 1px solid #eee;
}

.tappa-split-image::before {
    display: none; 
}

/* FOOTER E CALL TO ACTION */
/* --- FASCIA VERDE DIVISORIA --- */
.footer-divider-bar {
    width: 100%;
    height: 35px; /
    background-color: var(--verde-medicale, #00FF00); 
    margin-top: 40px;
}

 /* --- STRUTTURA NUOVO FOOTER --- */
.site-footer {
    width: 100%;
    background-color: #ffffff;
    padding: 0; 
    margin-top: 40px;
    box-sizing: border-box;
}

.footer-images-container {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column; 
}

.footer-block-left,
.footer-block-right {
    width: 100%;
    display: flex;
}

.footer-cta-link {
    width: 100%;
    display: flex;
    text-decoration: none;
}


.footer-img-responsive {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* ==========================================================================
   6. VERSIONI E COMPORTAMENTI DESKTOP (Computer e schermi sopra i 768px)
   ========================================================================== */
@media (min-width: 768px) {
    
    /* --- Layout Header Desktop --- */
    .hero-header {
        background-color: #fcfdfc; 
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 1920px; 
        margin: 0 auto; 
        padding: 40px 0; 
    }

    .hero-container {
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
        padding: 40px;
        display: flex;
        flex-direction: row; 
        align-items: center;
        gap: 40px; 
        background-image: url('header.png');
        background-repeat: no-repeat;
        background-position: right center;
        background-size: contain; 
        min-height: 450px;
    }

    .hero-text {
        flex: 1; 
        max-width: 550px; 
        text-align: left;
        background: transparent; 
        padding: 0;
    }

    .hero-text h1 {
        font-size: 36px;
    }

   
    .hero-subtitle {
        font-size: 16px;
    }

    .hero-image-mobile {
        display: none;
    }

    /* --- GESTIONE TAPPE SU DESKTOP --- */
    .tappe-container {
        width: 100%;
        max-width: 1200px; 
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 55px; 
    }

    .tappa-card { 
        width: 100%; 
        display: flex;
        flex-direction: row; 
        align-items: center; 
        position: relative; 
        overflow: visible !important; 
        min-height: auto !important; 
    }
    
    .tappa-info {
        width: 65%; 
        flex: 0 0 65%; 
        padding: 20px; 
        box-sizing: border-box;
    }
    
    .badge-numero { 
        position: absolute;
        top: 0;
        left: 50%; 
        transform: translate(-50%, -50%); 
        z-index: 10; 
    }

   
    .tappa-split-image {
        flex: 1; 
        align-self: stretch; 
        height: auto;
        position: relative; 
        background-size: 100% auto; 
        background-repeat: no-repeat; 
        background-position: center right; 
        clip-path: none; 
        box-sizing: border-box;
    }
    /* --- COMPORTAMENTO FOOTER SU DESKTOP --- */
	
	 
    .footer-images-container {
        flex-direction: row; 
        align-items: stretch;
    }

    .footer-block-left,
    .footer-block-right {
        width: 50%;
        flex: 0 0 50%;
    }
/* --- EFFETTO HOVER SULLA CTA DEL FOOTER --- */
.footer-cta-link {
    width: 100%;
    display: flex;
    text-decoration: none;
    overflow: hidden;
}


.footer-cta-link .footer-img-responsive {
    transition: transform 0.3s ease, opacity 0.3s ease; 
    cursor: pointer;
}


.footer-cta-link:hover .footer-img-responsive {
    opacity: 0.9;
    transform: scale(1.02);
}l

 }  