/* General Styles */

body {
    font-family: 'Bitter', serif;
    background-color: #F9FAFB !important;
    /* Sfondo Chiaro */
    margin: 0;
    padding: 0;
}

.recaptcha-badge {
    display: flex;
    justify-content: flex-end;
    min-height: 60px;
    margin-top: 0.75rem;
}


/* Navbar */

.navbar {
    background-color: #2E5E4E !important;
    /* Verde scuro naturale */
    padding: 0.3rem;
}

/* Migliora visibilità della navbar-brand su sfondo verde scuro */
/* Forza il logo testuale .navbar-brand a mantenere il bianco e ingrandisci leggermente */
.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: #ffffff !important;
    font-weight: 700;
}

/* Aggiungi un colore di sfondo anche al menu a tendina mobile */
.navbar-collapse {
    background-color: #2E5E4E !important;
}

.navbar-brand:hover {
    color: #A8D5BA !important; /* Verde salvia in hover */
}


/* Cambia il colore delle tre linee del bottone in bianco */

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255%2C255%2C255%2C1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler {
    border-color: #F9FAFB;
    /* Cambia anche il colore del bordo del bottone hamburger */
}


/* Impostazioni specifiche per il monogramma nella navbar */

.navbar-brand img {
    width: auto !important;
    /* Forza il mantenimento della proporzione originale */
    height: 80px !important;
    /* Aumenta l'altezza del monogramma */
    display: block !important;
    margin-left: 0 !important;
    /* Spostalo leggermente a sinistra se necessario */
    margin-right: 0 !important;
    /* Evita margini extra a destra */
    padding-top: 0px !important;
    /* Aggiusta l'altezza rispetto alla navbar */
    padding-bottom: 0px !important;
}


/* Regole responsive per monogramma su dispositivi mobili */

@media (max-width: 768px) {
    .navbar-brand img {
        height: 80px !important;
        /* Regola l'altezza su dispositivi mobili */
        padding-top: 0px !important;
        /* Aggiusta il padding per centrare verticalmente */
    }
}

.navbar-brand:hover {
    text-decoration: none;
    color: #3E5C76 !important;
    /* Colore Primario al passaggio del mouse */
}

.navbar-nav .nav-link {
    font-size: 18px;
    color: #ffffff !important;
    font-weight: 600;
    margin-right: 20px;
}

.navbar-nav .nav-link:hover {
    color: #A8D5BA !important;
}

.navbar-nav .btn {
    background-color: #3C8D72 !important;
    /* Colore Primario */
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .btn:hover {
    background-color: #2E5E4E !important;
    /* Colore Secondario al passaggio del mouse */
    color: #ffffff !important;
}


/* Hero Section */

.hero {
    position: relative;
    height: auto;
    /* Altezza adattata ai contenuti */
    background: linear-gradient(to right, #D6EADF, #F1F9F4) !important;
    /* Azzurro molto chiaro con sfumatura */
    background-size: cover;
    background-position: center -210px;
    /* Sposta leggermente l'immagine verso l'alto */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 0;
    /* Padding verticale ridotto per maggiore armonia */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(52, 73, 94, 0.4);
    /* Blu-grigio scuro moderno con trasparenza */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Il testo e il logo sopra l'overlay */
    color: #2C3E50 !important;
    /* Blu-grigio scuro leggibile su sfondo chiaro */
}


/* Regole per tablet (tra 768px e 1024px di larghezza) */

@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        height: 80vh;
        /* Riduce leggermente l'altezza per i tablet */
        background-position: center top;
        /* Centra meglio l'immagine */
    }
}


/* Regole per schermi piccoli */

@media (max-width: 768px) {
    .hero {
        height: 75vh;
        /* Riduce ulteriormente l'altezza per smartphone */
        background-position: center top;
        /* Centra l'immagine rispetto al top */
    }
}


/* Regole per schermi molto piccoli (smartphone piccoli) */

@media (max-width: 576px) {
    .hero {
        height: auto !important;
        min-height: 100vh;
        padding-top: 60px;
        padding-bottom: 40px;
        background-position: center top;
    }

    .hero .img-fluid.rounded-circle {
        max-width: 180px;
        margin: 20px auto 10px auto;
        display: block;
    }

    .hero p.short-description {
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.1rem;
        font-weight: 500;
        color: #2F3F38;
    }

    .hero .btn {
        display: none !important;
    }

    .hero .col-md-6.text-center.text-md-start {
        text-align: center !important;
        margin-bottom: 0;
    }

    .hero h1, .hero h2 {
        text-align: center !important;
        font-size: 1.6rem;
    }

    .hero p.full-description {
        display: none !important;
    }

    .hero p.short-description {
        display: block !important;
    }
}


/* Logo con effetto di zoom-out */

.logo-zoom-out {
    width: 80%;
    /* Il logo occupa l'80% della larghezza della hero */
    max-width: 1000px;
    /* Limite massimo di larghezza */
    height: auto;
    /* Mantiene le proporzioni */
    animation: zoomOutLogo 2s ease-in-out forwards;
    /* Animazione di zoom-out */
    opacity: 0;
    /* Inizia invisibile */
}


/* Media query per dispositivi di medie dimensioni (tablet) */

@media (max-width: 992px) {
    .logo-zoom-out {
        width: 80%;
        /* Il logo rimane ben visibile su tablet */
        max-width: 700px;
        /* Limite massimo per dispositivi medi */
    }
}


/* Media query per dispositivi mobili */

@media (max-width: 768px) {
    .logo-zoom-out {
        width: 80%;
        /* Logo più grande sui dispositivi mobili */
        max-width: 700px;
        /* Limite massimo di larghezza su mobile */
    }
}


/* Media query per dispositivi molto piccoli (smartphone piccoli) */

@media (max-width: 576px) {
    .logo-zoom-out {
        width: 80%;
        /* Logo ancora più grande su schermi molto piccoli */
        max-width: 500px;
        /* Limite massimo di larghezza */
    }
}


/* Modifica della dimensione del testo per mantenere il logo più grande rispetto alla scritta */

.hero h1 {
    font-size: 3rem;
    /* Riduzione della dimensione del testo */
    color: #2E5E4E !important;
    font-weight: 700;
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    /* Riduzione della dimensione del sottotitolo */
    color: #2F3F38 !important;
    text-shadow: none;
}

@keyframes zoomOutLogo {
    0% {
        transform: scale(1.5);
        /* Inizia più grande */
        opacity: 0;
        /* Inizia invisibile */
    }
    100% {
        transform: scale(1);
        /* Ritorna alla dimensione normale */
        opacity: 1;
        /* Diventa visibile */
    }
}

.hero h1,
.hero p {
    margin: 0;
    background: none;
    /* Nessuno sfondo opaco */
}


/* Uniforma tutti i titoli h1, h2, .hero h1 */

h1,
h2,
.hero h1 {
    color: #2E5E4E !important;
    font-weight: 700;
}


/* Uniforma sottotitoli e paragrafi */

.hero p,
section p {
    color: #2F3F38 !important;
}


.hero h1 {
    font-size: 4rem;
}

.hero p {
    font-size: 1.5rem;
}

.hero .btn {
    background-color: #3E5C76 !important;
    /* Colore Primario */
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
    padding: 1rem 2rem;
    box-shadow: none;
    position: relative;
    z-index: 2;
    /* Assicura che il bottone sia sopra l'overlay */
}

.hero .btn:hover {
    background-color: #2C3E50 !important;
    /* Colore Secondario al passaggio del mouse */
    color: #ffffff !important;
}


/* Fascia di Prenotazione */

.booking-bar {
    background-color: #2C3E50 !important;
    /* Colore Secondario */
    padding: 40px 0;
    color: #34495E !important;
    /* Testo Normale */
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.booking-bar h3 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #2C3E50 !important;
    /* Testo Titoli */
}

.booking-bar .form-group input {
    background-color: #F9FAFB !important;
    /* Sfondo Chiaro */
    color: #34495E !important;
    /* Testo Normale */
    border: 1px solid #2C3E50 !important;
    /* Colore Secondario */
    padding: 12px;
    font-size: 18px;
    width: 200px;
    /* Larghezza fissa */
    text-align: center;
}

.booking-bar .form-group label {
    color: #2C3E50 !important;
    /* Testo Titoli */
    font-size: 16px;
    margin-bottom: 5px;
}

.booking-bar input[type="submit"] {
    background-color: #3E5C76 !important;
    /* Colore Primario */
    color: #ffffff !important;
    /* Testo bianco */
    font-size: 18px;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 100%;
    /* Imposta altezza al 100% per allineamento */
    margin-top: 30px;
    /* Spazio per allinearlo verticalmente */
}

.booking-bar input[type="submit"]:hover {
    background-color: #2C3E50 !important;
    /* Colore Secondario al passaggio del mouse */
    color: #ffffff !important;
    /* Testo bianco */
}


/* Compensa la navbar fissa con un padding aggiuntivo */

section {
    scroll-margin-top: 80px;
    /* Cambia il valore in base all'altezza della tua navbar */
    padding: 60px 20px;
    /* Layout più equilibrato */
}


/* Section Titles */

h2 {
    margin: 2rem 0;
    font-size: 2.5rem;
    text-align: center;
    color: #2E5E4E !important;
    /* Testo Titoli */
    font-weight: 700;
}


/* Footer */

.footer {
    background-color: #2E5E4E !important;
    /* Verde scuro naturale */
    color: #FDFEFE !important;
    /* Testo chiaro */
    padding: 1rem;
    text-align: center;
    font-size: 14px;
}

.footer a {
    color: #A8D5BA !important;
    /* Verde salvia */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}


/* Logo nel Footer */

.footer img {
    width: 100%;
    /* Adatta la larghezza del logo al 100% dello spazio disponibile */
    max-width: 400px;
    /* Imposta una larghezza massima per mantenere proporzioni ragionevoli */
    height: auto;
    /* Mantiene le proporzioni originali del logo */
    margin: 0 auto;
    /* Centra il logo */
    display: block;
    /* Assicura che sia trattato come un blocco */
    padding-bottom: 15px;
    /* Spazio sotto il logo */
}


/* Regole Responsive per il Logo nel Footer */

@media (max-width: 768px) {
    .footer img {
        max-width: 400px;
        /* Riduce leggermente la larghezza su dispositivi mobili */
    }
}

@media (max-width: 576px) {
    .footer img {
        max-width: 300px;
        /* Ulteriore riduzione per schermi molto piccoli */
    }
}


/* Scroll to Top Button */

#scrollTopBtn {
    display: none;
    /* Inizialmente nascosto */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #3E5C76 !important;
    /* Colore Primario */
    color: #ffffff !important;
    /* Testo bianco */
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
}

#scrollTopBtn:hover {
    background-color: #2C3E50 !important;
    /* Colore Secondario */
    color: #ffffff !important;
    /* Testo bianco */
}


/* Cookie Banner */

#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.9);
    /* Colore Secondario con trasparenza */
    color: #34495E !important;
    padding: 20px;
    text-align: center;
    z-index: 9999;
}

#cookieBanner button {
    background-color: #3E5C76 !important;
    /* Colore Primario */
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    color: #ffffff !important;
}


/* Modal Customization */

.modal-content {
    background-color: #f9f5f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.modal-header {
    background-color: #2C3E50 !important;
    /* Colore Secondario */
    color: #fff !important;
    padding: 20px !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}


/* Imposta dimensioni fisse per le immagini dello slider */

.slider-img {
    height: 400px;
    /* Altezza fissa */
    object-fit: cover;
    /* Taglia l'immagine per riempire lo spazio senza distorsioni */
}

@media (max-width: 768px) {
    .slider-img {
        height: 250px;
        /* Altezza ridotta su dispositivi mobili */
    }
}

.card-img-top {
    width: 100%;
    height: 300px;
    /* Imposta l'altezza fissa per tutte le immagini */
    object-fit: cover;
    /* Assicura che l'immagine riempia il contenitore senza distorsioni */
}

.scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    gap: 20px;
}

.card {
    flex: 0 0 300px;
    border: none;
    background-color: #f9f9f9;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.card-body {
    padding: 15px;
    text-align: center;
}

.social-icons a img {
    width: 30px;
    margin-right: 10px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}


/* Link base styles */

a {
    color: #3E5C76;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2C3E50;
    text-decoration: underline;
}


/* Button styles */

.btn, .btn-primary, .btn-dark, .btn-outline-dark {
    background-color: #3C8D72 !important;
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.btn:hover, .btn-primary:hover, .btn-dark:hover, .btn-outline-dark:hover {
    background-color: #2E5E4E !important;
    color: #ffffff !important;
}

/* Hero CTA palette */
.hero .btn-outline-dark {
    background-color: transparent !important;
    color: #2E5E4E !important;
    border: 1px solid #2E5E4E !important;
}

.hero .btn-outline-dark:hover {
    background-color: #2E5E4E !important;
    color: #ffffff !important;
}

.hero .btn-primary {
    background-color: #3C8D72 !important;
    border: 1px solid #3C8D72 !important;
}

.hero .btn-primary:hover {
    background-color: #2E5E4E !important;
    border-color: #2E5E4E !important;
}

.hero .btn-success {
    background-color: #3C8D72 !important;
    border: 1px solid #3C8D72 !important;
}

.hero .btn-success:hover {
    background-color: #2E5E4E !important;
    border-color: #2E5E4E !important;
}

/* Booking section palette */
#booking {
    background: linear-gradient(to right, #F1F9F4, #E8F5EC) !important;
    padding: 80px 20px;
}

#booking .card {
    background-color: #F1F9F4;
    border: 1px solid rgba(46, 94, 78, 0.12) !important;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(46, 94, 78, 0.10) !important;
}

#booking .nav-pills {
    background: #E8F5EC;
    border: 1px solid rgba(46, 94, 78, 0.14);
    border-radius: 16px;
    padding: 0.4rem;
}

#booking .booking-tab-button,
#booking .nav-pills .nav-link {
    color: #5E685F !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.9rem 1.2rem;
    transition: all 0.25s ease;
}

#booking .booking-tab-button:hover,
#booking .nav-pills .nav-link:hover {
    color: #2E5E4E !important;
    background: rgba(168, 213, 186, 0.28) !important;
    border-color: rgba(46, 94, 78, 0.10) !important;
    text-decoration: none;
}

#booking .booking-tab-button.active,
#booking .nav-pills .nav-link.active,
#booking .nav-pills .show > .nav-link {
    background: #3C8D72 !important;
    color: #ffffff !important;
    border-color: #3C8D72 !important;
    box-shadow: inset 0 0 0 1px rgba(46, 94, 78, 0.08), 0 8px 16px rgba(66, 79, 69, 0.08);
}

#booking .form-label {
    color: #355447 !important;
    font-weight: 700;
}

#booking .form-control,
#booking .calendar-grid,
#booking #selected-slots-box,
#booking #consultation-selected-slots-box {
    border-color: #D7E2DB !important;
    background-color: #F8FCF9 !important;
}

#booking .form-control:focus {
    border-color: #7AA892 !important;
    box-shadow: 0 0 0 0.2rem rgba(60, 141, 114, 0.14) !important;
}

#booking .calendar-grid {
    padding: 1rem !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#booking .booking-week + .booking-week {
    margin-top: 1.5rem;
}

#booking .booking-week-title {
    color: #2E5E4E;
    font-weight: 700;
    text-align: center;
}

#booking .booking-week-nav {
    display: grid;
    grid-template-columns: 110px 1fr 110px;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

#booking .booking-week-nav-button {
    background: #E8F5EC;
    border: 1px solid rgba(46, 94, 78, 0.12);
    border-radius: 12px;
    color: #355447;
    font-weight: 700;
    padding: 0.7rem 0.9rem;
    text-align: center;
    transition: all 0.2s ease;
}

#booking .booking-week-nav-button:hover:not(:disabled) {
    background: #DDEEE4;
}

#booking .booking-week-nav-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#booking .booking-week-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#booking .booking-day-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0.85rem;
    align-items: stretch;
}

#booking .booking-day-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.15rem;
    background: #E8F5EC;
    border: 1px solid rgba(46, 94, 78, 0.12);
    border-radius: 12px;
    padding: 0.95rem 1rem;
    color: #355447;
}

#booking .booking-day-info span {
    font-size: 0.92rem;
    text-transform: capitalize;
    font-weight: 700;
}

#booking .booking-day-info strong {
    font-size: 1rem;
}

#booking .booking-day-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    min-height: 72px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px dashed rgba(46, 94, 78, 0.10);
    border-radius: 12px;
    padding: 0.55rem;
}

#booking .booking-day-empty {
    color: #6B7F75;
    font-weight: 600;
    padding: 0.5rem;
}

#booking .booking-slot-button {
    min-width: 124px;
    border: 1px solid #7AA892;
    background: #F7FCF8;
    color: #2E5E4E;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.75rem 0.8rem;
    transition: all 0.2s ease;
}

#booking .booking-slot-button:hover {
    background: #E1F1E7;
    border-color: #3C8D72;
}

#booking .booking-slot-button.is-selected {
    background: #3C8D72;
    color: #ffffff;
    border-color: #3C8D72;
    box-shadow: 0 8px 18px rgba(60, 141, 114, 0.18);
}

@media (max-width: 768px) {
    #booking {
        padding: 56px 12px;
    }

    #booking .card-body {
        padding: 1.1rem !important;
    }

    #booking .nav-pills {
        gap: 0.5rem !important;
        padding: 0.45rem;
    }

    #booking .nav-item {
        width: 100%;
    }

    #booking .booking-tab-button,
    #booking .nav-pills .nav-link {
        width: 100%;
        font-size: 0.95rem;
        line-height: 1.25;
        padding: 0.8rem 0.9rem;
    }

    #booking .booking-week-nav {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    #booking .booking-week-title {
        grid-column: 1 / -1;
        order: -1;
        font-size: 0.98rem;
        line-height: 1.35;
        margin-bottom: 0.15rem;
    }

    #booking .booking-week-nav-button {
        min-height: 46px;
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    #booking .booking-day-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    #booking .booking-day-info {
        align-items: center;
        text-align: center;
        padding: 0.8rem 0.9rem;
    }

    #booking .booking-day-slots {
        justify-content: flex-start;
        min-height: 0;
        padding: 0.45rem;
    }

    #booking .booking-slot-button {
        min-width: calc(50% - 0.3rem);
        flex: 1 1 calc(50% - 0.3rem);
        min-height: 48px;
        font-size: 0.84rem;
        padding: 0.72rem 0.65rem;
    }

    #booking #selected-slots-box,
    #booking #consultation-selected-slots-box {
        padding: 0.75rem !important;
    }

    #booking .recaptcha-badge {
        justify-content: center;
    }

    #booking .booking-submit-button,
    #booking .booking-submit-button-alt {
        width: 100%;
        min-height: 48px;
        padding: 0.85rem 1rem;
    }

    #booking .text-muted.small,
    #booking .small {
        line-height: 1.45;
    }
}

@media (max-width: 576px) {
    #booking h2 {
        font-size: 2rem;
    }

    #booking .calendar-grid {
        padding: 0.75rem !important;
    }

    #booking .booking-week-nav {
        grid-template-columns: 1fr;
    }

    #booking .booking-week-title {
        order: 0;
    }

    #booking .booking-week-nav-button {
        width: 100%;
    }

    #booking .booking-day-info span {
        font-size: 0.82rem;
    }

    #booking .booking-day-info strong {
        font-size: 0.95rem;
    }

    #booking .booking-day-slots {
        gap: 0.45rem;
    }

    #booking .booking-slot-button {
        min-width: 100%;
        flex-basis: 100%;
    }
}

#booking .booking-submit-button {
    background-color: #355B4C !important;
    border: 1px solid #355B4C !important;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 0.8rem 1.6rem;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 22px rgba(53, 91, 76, 0.18);
}

#booking .booking-submit-button:hover {
    background-color: #28463A !important;
    border-color: #28463A !important;
    color: #ffffff !important;
}

#booking .booking-submit-button-alt {
    background-color: #3C8D72 !important;
    border-color: #3C8D72 !important;
    box-shadow: 0 10px 22px rgba(60, 141, 114, 0.18);
}

#booking .booking-submit-button-alt:hover {
    background-color: #2E5E4E !important;
    border-color: #2E5E4E !important;
}


/* Specific styles for #percorso section */
section#percorso {
    background: linear-gradient(to right, #F1F9F4, #E8F5EC) !important;
    padding: 80px 20px;
}

section#percorso h2 {
    color: #2E5E4E !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

section#percorso p {
    color: #2F3F38 !important;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Migliora il comportamento responsive dell'immagine circolare nella hero section */
/* Migliora il comportamento responsive dell'immagine circolare nella hero section */
.hero .img-fluid.rounded-circle {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border: 6px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
#pacchetti .pricing-shell {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(63, 109, 92, 0.12);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 22px 44px rgba(33, 64, 54, 0.08);
}

#pacchetti .pricing-tab-button {
    border: 1px solid rgba(63, 109, 92, 0.18);
    border-radius: 18px;
    background: rgba(223, 238, 231, 0.8);
    color: #3a6155;
    font-weight: 700;
    padding: 1rem 1.25rem;
}

#pacchetti .pricing-tab-button:hover,
#pacchetti .pricing-tab-button:focus {
    color: #2f564a;
    background: rgba(214, 232, 223, 0.95);
}

#pacchetti .pricing-tab-button.active {
    background: #3f8f72;
    color: #fff;
    box-shadow: 0 14px 26px rgba(63, 143, 114, 0.22);
}

#pacchetti .pricing-card {
    height: 100%;
    padding: 2rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 244, 0.98) 100%);
    border: 1px solid rgba(63, 109, 92, 0.12);
    box-shadow: 0 16px 34px rgba(33, 64, 54, 0.08);
}

#pacchetti .pricing-card h4 {
    color: #2f564a;
    margin-bottom: 0.85rem;
}

#pacchetti .pricing-card p {
    margin-bottom: 0.75rem;
}

#pacchetti .pricing-card-price {
    color: #3f8f72;
    font-size: 1.55rem;
    margin-bottom: 0;
}

#pacchetti .pricing-empty-state {
    padding: 2rem;
    border-radius: 22px;
    border: 1px dashed rgba(63, 109, 92, 0.25);
    background: rgba(255, 255, 255, 0.72);
    color: #58786b;
    text-align: center;
}

#pacchetti .pricing-empty-state-error {
    color: #9f3f4b;
    border-color: rgba(159, 63, 75, 0.25);
}

@media (max-width: 767.98px) {
    #pacchetti .pricing-shell {
        padding: 1.25rem;
        border-radius: 22px;
    }

    #pacchetti .pricing-tab-button {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    #pacchetti .pricing-card {
        padding: 1.5rem 1.25rem;
    }
}
