/* ==========================================================================
   1. RESET, FONT E PALETTE LUMINOSA (ACCENDIAMO LA LANTERNA)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #fcfaf7;
    color: #00333d;
    padding-top: 0;
    overflow-x: hidden;
}

section,
.content-section,
.about-minimal-section,
.offriamo-section,
.gallery-section,
.contact-minimal-section,
.candidati-form-section {
    padding-top: 40px;
    padding-bottom: 56px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

h2 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #00667a;
    /* Il petrolio del logo */
    line-height: 1.1;
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 6px;
    background-color: #00667a;
    border-radius: 20px;
    margin-bottom: 40px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: #4c7c87;
    max-width: 580px;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 60px;
}

/* ==========================================================================
   2. NAVBAR FLUTTUANTE E PULITA
   ========================================================================== */
.navbar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 24px));
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 102, 122, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 66, 78, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    margin: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
}

.nav-logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.logo-nav {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-nav:hover {
    transform: scale(1.08);
}

.nav-logo {
    text-decoration: none;
    color: #00667a;
    font-weight: 700;
    font-size: 1rem;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #00667a;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: #cbb49e;
}

/* Il bottone Merch diventa un elemento di stacco netto */
.nav-menu a.nav-candidati {
    background: #00667a;
    color: #ffffff;
    padding: 9px 20px;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: 0 4px 0px #cbb49e;
    /* Contrasto inverso */
}

.nav-menu a.nav-merch:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0px #cbb49e;
}

/* Stile per il bottone candidati in navbar */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #00333d;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

.nav-links a.candidati-btn {
    background: #00667a;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 4px 0px rgba(38, 117, 141, 0.7);
    transition: all 0.2s ease;
}

.nav-links a.candidati-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0px rgba(38, 117, 141, 0.7);
    color: #ffffff;
    background: #14a0d3;
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #00333d;
    border-radius: 999px;
    transition: all 0.25s ease;
}

/* ==========================================================================
   3. HERO LUMINOSA CON GRIGLIA A DUE COLONNE (LOGO A DESTRA)
   ========================================================================== */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, #f1edf7 0%, #fcfaf7 100%);
    padding: 92px 0 60px;
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Spazio asimmetrico per testo e logo */
    gap: 40px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.badge {
    background: rgba(0, 102, 122, 0.08);
    color: #00667a;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 102, 122, 0.1);
}

.hero-content h1 {
    font-size: 4.4rem;
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #00333d;
}

.text-gradient {
    color: #00667a;
    background: linear-gradient(135deg, #00667a 0%, #4c7c87 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: #4c7c87;
    max-width: 580px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* CONTENITORE PER IL LOGO GIGANTE A DESTRA */
.hero-logo-large {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatingLogo 6s ease-in-out infinite;
    /* Movimento leggero e vivo */
}

.hero-logo-large img {
    width: 100%;
    max-width: 380px;
    /* Dimensione imponente */
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 66, 78, 0.12));
}

@keyframes floatingLogo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* BOTTONI EDITORIALI */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #00667a;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 102, 122, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #004d5c;
    box-shadow: 0 8px 25px rgba(0, 102, 122, 0.25);
}

.btn-secondary {
    background: transparent;
    color: #00667a;
    border: 2px solid #00667a;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(0, 102, 122, 0.05);
}

/* ==========================================================================
   4. SEZIONI E CARDS MORBIDE SUL CHIARO
   ========================================================================== */
.content-section {
    padding: 50px 0;
}

.bg-light {
    background-color: #f3eff2;
    /* Un contrasto leggermente rosato/crema per rompere la pagina */
    border-radius: 40px;
    margin: 20px;
}

.grid {
    display: grid;
    gap: 40px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Card bianche che staccano dallo sfondo crema */
.card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 28px;
    border: 1px solid rgba(0, 102, 122, 0.05);
    box-shadow: 0 15px 40px rgba(0, 66, 78, 0.04);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 25px 50px rgba(0, 66, 78, 0.08);
}

/* Evidenziamo la card centrale col colore del brand */
.grid-3 .card:nth-child(2) {
    background: #00667a;
}

.grid-3 .card:nth-child(2) h3,
.grid-3 .card:nth-child(2) p {
    color: rgb(0, 0, 0);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #00333d;
}

.card p {
    color: #4c7c87;
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   GALLERY: CAROSELLO ORIZZONTALE AUTOMATICO E INFINITO
   ========================================================================== */
.gallery-section {
    padding: 82px 0 100px 0;
    background-color: #fcfaf7; /* Mantiene lo sfondo caldo e accogliente */
    overflow: hidden; /* Fondamentale: nasconde le foto che escono dallo schermo */
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 50px;
    text-align: left;
}

.gallery-title {
    font-size: 3rem !important;
    font-weight: 800;
    color: #00333d;
    letter-spacing: -1.5px;
    margin-top: 5px;
}

/* Contenitore che taglia l'overflow laterale dello schermo */
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 30px;
    width: 100%;
}

/* La traccia che contiene i due gruppi specchio */
.marquee-track {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    min-width: 100%;
    /* Richiama l'animazione creata sotto. 30s è la velocità, puoi aumentarla o diminuirla */
    animation: scroll-infinite 30s linear infinite; 
}

/* Quando l'utente passa il mouse sopra, il carosello si ferma dolcemente per guardare le foto */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* Il blocco di immagini */
.marquee-group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
}

/* Stile delle singole foto del carosello */
.gallery-img {
    width: 460px;  /* Prima era 350px - Ora hanno una bellissima presenza panoramica */
    height: 320px; /* Prima era 250px - Perfette per far risaltare i dettagli */
    object-fit: cover; 
    border-radius: 24px; /* Arrotondiamo un pelo di più gli angoli per adeguarli alla nuova grandezza */
    background-color: #f5f0eb;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Effetto micro-zoom quando ci passi sopra */
.gallery-img:hover {
    transform: scale(1.03);
    cursor: pointer;
}

/* ANIMAZIONE CSS PER IL MOVIMENTO CONTINUO */
@keyframes scroll-infinite {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(calc(-50% - 15px)); /* Traspone esattamente della metà per creare il loop */
    }
}

/* Responsive mobile */
@media (max-width: 768px) {
    .gallery-title { font-size: 2.4rem !important; }
    .gallery-img {
        width: 320px; /* Più grandi anche da mobile rispetto a prima */
        height: 220px;
        border-radius: 16px;
    }
}
/* BOX CANDIDATURA IN BASSO - SPINGE SUL RIGUARDO VISIVO */
.join-box {
    background: #00667a;
    color: #ffffff;
    padding: 60px 40px;
    border-radius: 36px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 102, 122, 0.25);
}

.join-box h3 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -1px;
}

.join-box p {
    color: #eef7f9;
    margin-bottom: 35px;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.join-box .btn-primary {
    background: #fcfaf7;
    color: #00667a;
    box-shadow: none;
}

.join-box .btn-primary:hover {
    background: #ffffff;
    color: #00333d;
}

/* ==========================================================================
   5. FOOTER CHIARO ED ELEGANTE
   ========================================================================== */
.main-footer {
    background: #f4eff0;
    padding: 80px 0 30px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(0, 102, 122, 0.08);
}

.main-footer h4 {
    font-size: 1.2rem;
    color: #00333d;
    margin-bottom: 20px;
    font-weight: 700;
}

.main-footer p {
    color: #4c7c87;
    line-height: 2;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    color: #7fa1a8;
    font-weight: 500;
    border-top: 1px solid rgba(0, 102, 122, 0.04);
    margin-top: 40px;
}

/* ==========================================================================
   6. SEZIONI SPECIFICHE: COSA OFFRIAMO & REQUISITI
   ========================================================================== */
.card-mini {
    padding: 30px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px !important;
}

.card-icon-mini {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card-mini h3 {
    font-size: 1.15rem !important;
    font-weight: 700;
    margin-bottom: 0 !important;
}

/* Evidenziamo leggermente la card centrale dei viaggi */
.highlight-mini {
    background: #ffffff !important;
    border: 2px solid #cbb49e !important; /* Dettaglio sabbia del logo */
    transform: scale(1.03);
}

.separator-bottom {
    margin-bottom: 80px;
}

/* Box per i requisiti ("Sei la persona giusta se...") */
.requirements-box {
    background: #ffffff;
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(0, 66, 78, 0.03);
    border: 1px solid rgba(0, 102, 122, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.requirements-title {
    font-size: 2rem;
    font-weight: 800;
    color: #00333d;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.text-left {
    text-align: left;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fcfaf7; /* Fondo leggermente caldo per gli item */
    padding: 20px 25px;
    border-radius: 18px;
    border-left: 4px solid #00667a; /* Barra color petrolio laterale che fa molto stile "notifica" */
    transition: transform 0.2s ease;
}

.requirement-item:hover {
    transform: translateX(5px); /* Si sposta leggermente a destra quando ci passi sopra */
}

.check-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.requirement-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #00333d;
    line-height: 1.4;
}

/* Fix responsive veloce per la griglia interna dei requisiti */
@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .requirement-item {
        min-width: 0;
    }

    .requirements-box {
        padding: 30px 20px;
    }
    .requirements-title {
        font-size: 1.6rem;
    }
}


/* ==========================================================================
   ABOUT US: LOOK MINIMALE, EDITORIALE E ACCOGLIENTE
   ========================================================================== */

.about-minimal-section {
    padding: 140px 0;
    background-color: #fcfaf7; /* Fondo caldo e accogliente, non bianco ospedale */
}

.about-minimal-container {
    max-width: 1000px; /* Più stretto per aumentare la leggibilità in verticale */
    margin: 0 auto;
    padding: 0 24px;
}

/* Kicker (i micro titoli sopra) */
.about-kicker {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #cbb49e; /* Colore sabbia morbido */
    margin-bottom: 15px;
}

/* Titolo gigante stile agenzia di design */
.about-hero-block {
    margin-bottom: 80px;
    text-align: left;
}

.about-giant-title {
    font-size: 4rem !important; /* Enorme */
    font-weight: 800;
    color: #00333d;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.about-lead {
    font-size: 1.55rem;
    color: #4c7c87;
    line-height: 1.6;
    max-width: 850px;
    font-weight: 400;
}

/* Il Flow dei 3 punti: niente card, solo testo che respira */
.about-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 120px;
    text-align: left;
}

.flow-item {
    position: relative;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 102, 122, 0.1); /* Sottilissima linea di divisione top */
}

.flow-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbb49e;
    display: block;
    margin-bottom: 10px;
}

.flow-item h3 {
    font-size: 1.5rem; /* Prima era 1.3rem */
    font-weight: 700;
    color: #00333d;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.flow-item p {
    font-size: 1.15rem; /* Prima era 0.98rem - Molto più presente */
    color: #4c7c87;
    line-height: 1.6;
}
/* Blocco Manifesto: una lista asimmetrica super pulita */
.manifesto-block {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    text-align: left;
    margin-bottom: 120px;
    padding: 60px 0;
    border-top: 1px solid rgba(0, 102, 122, 0.1);
    border-bottom: 1px solid rgba(0, 102, 122, 0.1);
}

.manifesto-header h2 {
    font-size: 2.2rem !important;
    font-weight: 800;
    color: #00333d;
    line-height: 1.2;
    letter-spacing: -1px;
}

.manifesto-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.manifesto-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* La sezione del Manifesto (Perché scegliamo il contatto umano?) */
.manifesto-keyword {
    font-size: 1.35rem; /* Prima era 1.15rem */
    font-weight: 700;
    color: #00667a;
    margin-bottom: 4px;
}

.manifesto-row p {
    font-size: 1.2rem; /* Prima era 1.02rem */
    color: #4c7c87;
    line-height: 1.6;
}

/* Nuvola dei Valori: addio tag racchiusi, ora sono parole libere e fluttuanti */
.minimal-values {
    text-align: center;
    padding-top: 20px;
}

.values-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #cbb49e;
    display: block;
    margin-bottom: 25px;
}

.values-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

/* Le parole dei valori in fondo */
.value-word {
    font-size: 2.2rem;
    font-weight: 800;
    color: #00333d;
    transition: color 0.3s ease;
}

.value-dot {
    color: #cbb49e;
    font-size: 1.6rem;
}

/* Responsive pulito */
@media (max-width: 850px) {
    .about-giant-title { font-size: 2.6rem !important; }
    .about-flow-grid { grid-template-columns: 1fr; gap: 35px; }
    .manifesto-block { grid-template-columns: 1fr; gap: 40px; }
    .value-word { font-size: 1.4rem; }
    .value-dot { display: none; }
    .values-cloud { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   SEZIONE OWNER: GIULIA BERGESE (LAYOUT EDITORIALE FLUIDO)
   ========================================================================== */
/* ==========================================================================
   SEZIONE OWNER: LAYOUT AVVOLGENTE (IL TESTO VA SOTTO LA FOTO)
   ========================================================================== */
.owner-section-fluid {
    margin-top: 76px;
    padding-top: 72px;
    padding-bottom: 90px; 
    border-top: 1px solid rgba(0, 102, 122, 0.1);
    text-align: left;
    position: relative;
}

/* La foto "fluttua" a sinistra, permettendo al testo di affiancarla e poi andare sotto */
.owner-sidebar-inline {
    float: left;
    width: 42%; /* Prende poco meno della metà dello spazio visivo */
    margin-right: 60px; /* Crea un bellissimo spazio tra foto e testo di lato */
    margin-bottom: 30px; /* Se il testo scende sotto la foto, mantiene la distanza */
}

.owner-name {
    font-size: 3rem !important;
    font-weight: 800;
    color: #00333d;
    line-height: 1.1;
    margin-bottom: 5px;
    letter-spacing: -1.5px;
}

.owner-role {
    font-size: 1.35rem;
    color: #cbb49e;
    font-weight: 700;
    margin-bottom: 35px;
}

.owner-image-wrapper {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f5f0eb;
}

.owner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Il testo si adatta dinamicamente allo spazio libero */
.owner-story-text {
    display: block; /* Non flex, così i paragrafi possono aggirare l'ostacolo della foto */
}

.story-block {
    margin-bottom: 35px;
}

.story-time-tag {
    display: block;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #00667a;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
}

.story-block p {
    font-size: 1.25rem;
    color: #4c7c87;
    line-height: 1.65;
    font-weight: 400;
    margin-bottom: 40px;
}

.story-block p strong {
    color: #00333d;
    font-weight: 700;
}

/* Responsive perfetto per Mobile */
@media (max-width: 850px) {
    .owner-sidebar-inline {
        float: none; /* Sul telefono togliamo il fluttuamento laterale */
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .owner-image-wrapper {
        max-width: 100%;
    }
    
    .owner-name {
        font-size: 2.4rem !important;
    }
    
    .story-block p {
        font-size: 1.15rem;
    }
}
    
    .owner-sidebar {
        position: relative;
        top: 0;
    }
    
    .owner-name {
        font-size: 2.4rem !important;
    }
    
    .owner-image-wrapper {
        max-width: 450px; /* Evita che la foto diventi gigante su schermi medi */
        margin: 0 auto;
    }
    
    .story-block p {
        font-size: 1.15rem; /* Si rimpicciolisce leggermente solo da mobile per fluidità */
    }


/* ==========================================================================
   SEZIONE CONTATTI: STILE INTERNAZIONALE MINIMALE
   ========================================================================== */
.contact-minimal-section {
    padding: 82px 0 0 0; /* Zero sotto perché si chiude con la mappa fluida */
    background-color: #fcfaf7;
}

.contact-minimal-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
}

.contact-info-side {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
    align-items: start;
}

/* Colonna Info */
.contact-info-side {
    text-align: left;
}

.contact-giant-title {
    font-size: 3.5rem !important;
    font-weight: 800;
    color: #00333d;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.contact-lead-text {
    font-size: 1.35rem;
    color: #4c7c87;
    margin-bottom: 30px;
}

.contact-apply-btn {
    margin-bottom: 50px;
}

/* Trasporti */
.reach-us-block h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #00333d;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.reach-us-block {
    min-width: 0;
}

.reach-us-block h3 {
    margin-bottom: 24px;
}

.reach-us-block {
    grid-column: 2;
}

.contact-info-side > .about-kicker,
.contact-info-side > .contact-giant-title,
.contact-info-side > .contact-lead-text,
.contact-info-side > .contact-apply-btn {
    grid-column: 1;
}

.contact-info-side > .about-kicker {
    grid-row: 1;
}

.contact-info-side > .contact-giant-title {
    grid-row: 2;
}

.contact-info-side > .contact-lead-text {
    grid-row: 3;
}

.contact-info-side > .contact-apply-btn {
    grid-row: 4;
}

.contact-info-side > .reach-us-block {
    grid-row: 1 / span 4;
}

.transport-group {
    margin-bottom: 25px;
    padding: 18px 20px;
    border-left: 4px solid #cbb49e;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 0 14px 14px 0;
}

.transport-metro {
    border-left-color: #d91f26;
}

.transport-bus {
    border-left-color: #008c45;
}

.transport-tram {
    border-left-color: #f58220;
}

.line-m1 strong {
    color: #d91f26 !important;
}

.line-m2 strong {
    color: #008c45 !important;
}

.transport-bus p strong {
    color: #008c45 !important;
}

.transport-tram p strong {
    color: #f58220 !important;
}

.transport-type {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #cbb49e;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.transport-group p {
    font-size: 1.15rem;
    color: #4c7c87;
    line-height: 1.5;
    margin-bottom: 4px;
}

.transport-group p strong {
    color: #00667a;
    font-weight: 600;
}

/* FORM DI CONTATTO ULTRA-MINIMAL (Solo linee inferiori) */
.contact-form-side {
    display: flex;
    align-items: flex-start;
}

.minimal-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Grande spazio tra i campi */
}

.form-field {
    position: relative;
    width: 100%;
}

/* L'input diventa una linea pulita invece di un box */
.form-field input,
.form-field textarea,
.form-field select,
.form-field input[type="file"] {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 51, 61, 0.15);
    font-size: 1.25rem;
    color: #00333d;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-field input[type="file"] {
    padding: 12px 0;
    cursor: pointer;
}

.form-field input[type="file"]::file-selector-button {
    background-color: #00667a;
    color: #fcfaf7;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-right: 12px;
}

.form-field input[type="file"]::file-selector-button:hover {
    background-color: #00333d;
}

.form-field textarea {
    resize: none;
}

/* Label che fluttua sopra l'input quando è selezionato */
.form-field label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 1.25rem;
    color: #4c7c87;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Animazione magica del focus del form */
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.form-field input[type="file"]:focus {
    border-bottom-color: #00667a;
}

/* Quando l'input è cliccato o contiene testo, sposta la label in alto e rimpiccioliscila */
.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label,
.form-field select:focus ~ label,
.form-field input[type="file"]:focus ~ label {
    top: -18px;
    font-size: 0.9rem;
    color: #00667a;
    font-weight: 700;
}

/* Bottone Candidatura Elegante */
.minimal-btn {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #00333d;
    color: #fcfaf7;
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.minimal-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.minimal-btn:hover {
    background-color: #00667a;
}

.minimal-btn:hover svg {
    transform: translateX(5px); /* Micro scatto freccia verso destra */
}

/* SEZIONE MAPPA IN FONDO A TUTTA LARGHEZZA */
.map-wrapper-minimal {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 60px;
    overflow: hidden;
}

.static-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(105%) brightness(98%);
}

/* Card asimmetrica sovrapposta alla mappa, molto chic */
.map-overlay-card {
    position: absolute;
    top: 50px;
    left: 10%;
    background-color: #fcfaf7;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 51, 61, 0.05);
    text-align: left;
    z-index: 2;
}

.map-overlay-card p {
    font-size: 1.4rem;
    font-weight: 800;
    color: #00333d;
    margin-bottom: 4px;
}

.map-overlay-card span {
    display: block;
    font-size: 1.1rem;
    color: #4c7c87;
    margin-bottom: 20px;
}

.map-link-btn {
    display: inline-block;
    color: #00667a;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    border-bottom: 2px solid rgba(0, 102, 122, 0.2);
    transition: border-color 0.3s ease;
}

.map-link-btn:hover {
    border-bottom-color: #00667a;
}

/* Responsive mobile */
@media (max-width: 900px) {
    .contact-minimal-container {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 60px;
    }

    .contact-info-side {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-side > .about-kicker,
    .contact-info-side > .contact-giant-title,
    .contact-info-side > .contact-lead-text,
    .contact-info-side > .contact-apply-btn,
    .contact-info-side > .reach-us-block {
        grid-column: 1;
        grid-row: auto;
    }

    .contact-giant-title { font-size: 2.6rem !important; }
    .map-overlay-card {
        left: 5%;
        right: 5%;
        top: auto;
        bottom: 30px;
    }
}

/* ==========================================================================
   FIX TOTALE MAPPA IMMERSIVA ED ELEMENTI SOVRAPPOSTI
   ========================================================================== */
.map-wrapper-minimal {
    position: relative;
    width: 100vw; /* Forza la mappa ad occupare il 100% della larghezza dello schermo */
    left: 50%;
    right: 50%;
    margin-left: -50vw; /* Questi tre comandi rompono i margini del container e la sparano a tutta larghezza */
    margin-right: -50vw;
    height: 500px; /* Un po' più alta così respira ancora meglio */
    margin-top: 80px;
    overflow: hidden;
}

/* Forziamo l'iframe a prendersi ogni singolo pixel disponibile */
.map-wrapper-minimal iframe, 
.google-map-iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block;
    filter: grayscale(15%) contrast(102%); /* Rende i colori della mappa più eleganti e integrati */
}

/* Sistemiamo la card che ci galleggia sopra in modo che sia perfetta */
/* ==========================================================================
   HIDDEN BUT ACTIVE: NASCONDIAMO LA CARD SENZA ROMPERE IL LAYOUT
   ========================================================================== */
.map-overlay-card {
    /* Manteniamo le proprietà di posizionamento per non rompere il flusso CSS */
    position: absolute;
    top: 40px; 
    left: calc(50% - 500px);
    z-index: 10;
    
    /* ABBATTIAMO LA VISIBILITÀ: Sparisce visivamente */
    opacity: 0; 
    visibility: hidden;
    
    /* ABBATTIAMO L'INGOMBRO: Non occupa spazio e non intercetta i click */
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none; /* Impedisce che l'utente ci clicchi sopra per sbaglio */
    
    /* Reset background e bordi per sicurezza */
    background: transparent;
    border: none;
    box-shadow: none;
}


/* Fix veloce per schermi piccoli (tablet e smartphone) */
@media (max-width: 1100px) {
    .map-overlay-card {
        left: 24px; /* Evita che vada fuori schermo sui portatili più piccoli */
    }
}

@media (max-width: 768px) {
    .map-wrapper-minimal {
        height: 400px;
    }
    .map-overlay-card {
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 20px; /* Da mobile si posiziona sotto, comodissima */
    }
}

/* ==========================================================================
   STILE FOOTER COMPLETO (REPLICA EOT - IMAGE_B1AFDB.PNG)
   ========================================================================== */
.main-footer {
    background-color: #6395a3; /* Il colore ottanio/azzurro polvere dello screenshot */
    padding: 60px 0 30px 0;
    color: #ffffff;
    font-family: sans-serif; /* Cambia con il font principale del tuo progetto */
}

.footer-top-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* COLONNA SINISTRA: LOGO E SOCIAL */
.footer-brand-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo-wrapper {
    width: 120px;          /* Ridotto un po' il cerchio rispetto a prima per proporzione */
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;   /* Spazio tra il cerchio e le icone social */
}

/* 2. L'IMMAGINE DEL LOGO (Deve riempire il cerchio!) */
.footer-logo-wrapper img,
.footer-logo-img {
    width: 85% !important;   /* Forza l'immagine a occupare quasi tutto il cerchio bianco */
    height: 85% !important;
    max-width: 85% !important;
    max-height: 85% !important;
    object-fit: contain;     /* Mantiene le proporzioni del logo senza tagliarlo */
    display: block;
}


.footer-social-links .footer-social-icon {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: contain;
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* COLONNA DESTRA: TESTI E NAV */
.footer-info-side {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.footer-contact-details p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-contact-details strong {
    font-weight: 700;
}

.footer-mail-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

/* MENU DI NAVIGAZIONE IN LINEA */
.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

/* SEZIONE CENTRALE E DATI AZIENDALI */
.footer-bottom-legal {
    margin-top: 50px;
    text-align: center;
    padding: 0 20px;
}

.footer-bottom-legal p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

/* RIGA COPY E FIRMA CREATOR */
.dev-copyright-row {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dev-copyright-row p {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.dev-copyright-row .dev-name span {
    color: #ffffff;
    font-weight: 600;
}

/* RESPONSIVE FLUIDO */
@media (max-width: 768px) {
    .footer-top-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    
    .footer-info-side {
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* Rimuove i trattini di sottolineatura dai link delle icone social */
.footer-social-links a {
    text-decoration: none !important;
    display: inline-block; /* Aiuta a isolare l'immagine eliminando spazi di testo fantasma */
}

/* ==========================================================================
   ESTENSIONE LAYOUT SHOP MERCHANDISING
   ========================================================================== */
.merch-shop-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Griglia asimmetrica e fluida che si rompe da sola su mobile */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px;
}

/* La scheda del singolo prodotto */
.merch-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 51, 61, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.merch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 51, 61, 0.07);
}

/* Contenitore Immagine con segnaposto */
.merch-img-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    background-color: #eae6df; /* Tono neutro ed elegante */
    overflow: hidden;
}

/* Il rettangolo che vedi adesso prima di mettere le foto vere */
.merch-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.merch-placeholder-img span {
    font-family: monospace;
    font-size: 0.9rem;
    color: #4c7c87;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 6px;
}

/* Se deciderai di metterci un tag img reale, questo lo gestirà da dio */
.merch-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.5s ease;
}

.merch-card:hover .merch-img-wrapper img {
    scale: 1.05;
}

/* Badge (New entry / Best seller) molto minimalisti */
.merch-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #00333d;
    color: #fcfaf7;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.item-sold-out {
    background-color: #888888;
}

/* Dettagli testo sotto la foto */
.merch-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.merch-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #cbb49e;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.merch-product-title {
    font-size: 1.25rem;
    color: #00333d;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.merch-price {
    font-size: 1.35rem;
    color: #00667a;
    font-weight: 800;
    margin-top: auto; /* Spinge il prezzo sempre in fondo sopra al bottone */
}

/* ==========================================================================
   CAROSELLO CSS NATIVO PER FRONTE/RETRO PRODOTTI
   ========================================================================== */
.css-carousel {
    overflow-x: auto !important; /* Abilita lo scroll orizzontale */
    scroll-snap-type: x mandatory; /* Effetto calamita: si blocca sulla foto */
    scroll-behavior: smooth;
}

/* Nascondiamo la barra di scorrimento brutta per un look pulito */
.css-carousel::-webkit-scrollbar {
    display: none;
}
.css-carousel {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

/* Il binario interno che tiene le foto affiancate */
.carousel-track {
    display: flex;
    width: 200%; /* Avendo due immagini, il binario è largo il doppio */
    height: 100%;
}

/* Adattiamo le immagini del carosello */
.css-carousel .merch-product-img {
    width: 50% !important; /* Ogni immagine prende esattamente metà del binario (cioè tutta la card) */
    flex-shrink: 0;
    scroll-snap-align: start; /* Dice dove agganciarsi con la calamita dello scroll */
}

/* Micro scritta di suggerimento in fondo alla foto */
.carousel-hint {
    position: absolute;
    bottom: 8px;
    right: 12px;
    background-color: rgba(0, 51, 61, 0.6);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
    letter-spacing: 0.5px;
    z-index: 2;
    font-weight: 600;
}

/* ==========================================================================
   MEDIA QUERIES PER RENDERE IL SITO RESPONSIVE (DA AGGIUNGERE IN FONDO)
   ========================================================================== */

/* Per Tablet e schermi intermedi (max 820px) */
@media (max-width: 820px) {
    /* Griglie e Flexbox flessibili */
    .offriamo-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .offriamo-item {
        flex: 1 1 250px; /* Si adattano e si ridimensionano in base allo spazio */
        max-width: 300px;
    }

    /* Struttura del Footer */
    .footer-top-container {
        display: flex;
        flex-direction: column; /* Incolonna la parte sinistra e destra */
        align-items: center;
        gap: 40px;
    }

    .footer-info-side {
        text-align: center; /* Centra i testi su tablet/mobile */
        align-items: center;
    }

    .footer-nav {
        justify-content: center;
        flex-wrap: wrap; /* Evita che i link escano dallo schermo */
        gap: 15px;
    }
}

/* Per Smartphone (max 480px) */
@media (max-width: 480px) {
    /* Gestione dei flussi e dei margini globali per non far uscire gli elementi */
    .container {
        padding: 0 16px; /* Riduce leggermente il padding laterale per dare più spazio */
    }

    /* Tipografia fluida (evita che i titoli enormi rompano il layout) */
    .offriamo-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .offriamo-item h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    /* Ridimensionamento icone/immagini se lo schermo è minuscolo */
    .offriamo-img-wrapper {
        width: 100px;
        height: 100px;
    }

    /* Spaziature interne ridotte per mobile */
    .offriamo-section {
        padding: 50px 0;
    }

    .offriamo-item {
        padding: 20px 15px;
    }

    .main-footer {
        padding: 50px 0 25px 0;
    }
    
    .footer-contact-details p {
        font-size: 0.95rem;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #ffffff; /* O il colore della tua navbar */
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none; /* RAGION PER CUI CI SONO I PALLINI: questo li toglie */
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #00333d;
    font-weight: 500;
}

.hamburger {
    display: none; /* Nascosto su PC */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #00333d;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* 2. Comportamento solo quando lo schermo diventa piccolo */
@media (max-width: 820px) {
    .hamburger {
        display: flex; /* Appare solo su Mobile/Tablet */
    }

    .nav-links {
        position: absolute;
        top: 100%; /* Si aggancia sotto la navbar */
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding-top: 50px;
        transition: right 0.4s ease;
        box-shadow: -5px 5px 15px rgba(0,0,0,0.05);
        z-index: 99;
    }

    .nav-links.active {
        right: 0; /* Fa scivolare dentro il menu su mobile */
    }

    /* Trasformazione in X */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Logo piccolo responsive */
    .nav-logo-small {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: auto;
    }

    .logo-nav {
        height: 35px;
        width: auto;
    }

    .nav-logo {
        display: none;
    }
}

/* ==========================================================================
   PAGINA CANDIDATI: HERO + FORM
   ========================================================================== */

.candidati-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, #f1edf7 0%, #fcfaf7 100%);
    padding: 40px 0;
}

.candidati-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    text-align: left;
}

.candidati-hero-content h1 {
    font-size: 4.4rem;
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #00333d;
}

.candidati-hero-content p {
    font-size: 1.25rem;
    color: #4c7c87;
    max-width: 580px;
    line-height: 1.6;
}

/* Sezione Form Candidati */
.candidati-form-section {
    padding: 100px 0;
    background-color: #fcfaf7;
}

.candidati-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #00667a;
    line-height: 1.1;
    margin-bottom: 20px;
}

.form-header p {
    font-size: 1.2rem;
    color: #4c7c87;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.form-wrapper {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 32px;
    border: 1px solid rgba(0, 102, 122, 0.05);
    box-shadow: 0 20px 50px rgba(0, 66, 78, 0.03);
}

.candidati-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-field {
    position: relative;
    width: 100%;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 51, 61, 0.15);
    font-size: 1.15rem;
    color: #00333d;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-field textarea {
    resize: none;
    padding: 12px 0;
}

.form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 24px;
    padding-right: 35px;
}

.form-field label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 1.15rem;
    color: #4c7c87;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-bottom-color: #00667a;
}

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label,
.form-field select:focus ~ label,
.form-field select:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.9rem;
    color: #00667a;
    font-weight: 700;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #00667a;
}

.form-checkbox label {
    font-size: 1rem;
    color: #4c7c87;
    line-height: 1.4;
    cursor: pointer;
    position: relative;
    top: 0;
}

.form-checkbox label a {
    color: #00667a;
    font-weight: 600;
    text-decoration: underline;
}

.candidati-submit-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #00333d;
    color: #fcfaf7;
    border: none;
    padding: 18px 42px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.candidati-submit-btn:hover {
    background-color: #00667a;
    transform: translateY(-2px);
}

.form-message {
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.loading {
    background-color: #cfe2ff;
    color: #084298;
    border: 1px solid #b6d4fe;
}

/* Responsive per tablet e mobile */
@media (max-width: 768px) {
    .candidati-hero-content h1 {
        font-size: 2.6rem;
    }

    .candidati-hero-content p {
        font-size: 1.1rem;
    }

    .form-header h2 {
        font-size: 2.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .candidati-form {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .candidati-hero-content h1 {
        font-size: 2rem;
    }

    .form-header h2 {
        font-size: 1.8rem;
    }

    .form-header p {
        font-size: 1rem;
    }

    .form-wrapper {
        padding: 20px 16px;
    }

    .form-field label {
        font-size: 1rem;
    }

    .form-field input,
    .form-field textarea,
    .form-field select {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .navbar {
        top: 8px;
        width: calc(100% - 16px);
        padding: 10px 12px;
    }

    .nav-logo-small {
        width: 34px;
        height: 34px;
    }

    .logo-nav {
        height: 32px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(0, 102, 122, 0.08);
        border-radius: 16px;
        box-shadow: 0 16px 32px rgba(0, 51, 61, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.7rem 0.8rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .nav-links a.candidati-btn {
        display: inline-block;
        width: auto;
        text-align: center;
        margin-top: 0.2rem;
    }

    .hero-section {
        padding-top: 110px;
    }

    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-logo-large {
        order: -1;
        margin: 0 auto 4px;
        width: min(270px, 72vw);
    }

    .hero-logo-large img {
        max-width: 100%;
    }

    .hero-content {
        text-align: left;
    }

    .hero-content h1 {
        font-size: clamp(3.1rem, 15vw, 5rem);
        line-height: 0.96;
    }

    .hero-content p {
        font-size: 1.12rem;
        max-width: 100%;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Impedisce al browser di trascinare nativamente l'immagine come file, bloccando lo script */
.marquee-track img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.marquee-track {
    display: flex;
    cursor: grab;
    will-change: transform;
}

.marquee-track.is-dragging {
    cursor: grabbing;
}


/* --- Box Citazione: Perfettamente integrato nella palette del sito --- */
.story-highlight-quote {
    /* Bianco puro con una sfumatura impercettibile verso l'azzurro ghiaccio */
    background: linear-gradient(135deg, #ffffff 0%, #f4f8fa 100%);
    
    /* Arrotondamento coordinato con l'immagine della camicia (24px) */
    border-radius: 24px; 
    
    /* Bordo grigio-ottanio sottilissimo e freddo */
    border: 1px solid #dce6eb;
    
    padding: 32px 45px;
    margin-top: 35px;
    text-align: center;
    position: relative;
    
    /* Ombra fredda ultra-soffice che richiama il tono del sito */
    box-shadow: 0 10px 25px rgba(0, 50, 65, 0.05);
}

.story-highlight-quote p {
    /* Stesso colore ottanio desaturato del testo della storia */
    color: #426370; 
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}

/* Grassetti: scuri e decisi come i titoli e i bold del sito */
.story-highlight-quote strong {
    color: #0a2b38; 
    font-weight: 700;
    font-style: normal;
}

/* Virgoletta decorativa nello stesso azzurro/ottanio del brand */
.story-highlight-quote::before {
    content: "“";
    font-family: Georgia, serif;
    font-size: 3.5rem;
    color: #00667a;
    opacity: 0.18;
    position: absolute;
    top: -5px;
    left: 28px;
    line-height: 1;
}

@media (max-width: 768px) {
    .story-highlight-quote {
        border-radius: 18px;
        padding: 22px 20px;
    }
    .story-highlight-quote p {
        font-size: 1.05rem;
    }
    .story-highlight-quote::before {
        display: none;
    }
}

/* --- Tasto Tazzina di Caffè --- */
/* --- Tasto Tazzina di Caffè (Dimensioni Aumentate) --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;  /* Ingrandito da 52px a 60px */
    height: 60px; /* Ingrandito da 52px a 60px */
    background-color: #ffffff;
    border: 1px solid #dce6eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 50, 65, 0.12);
    z-index: 999;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, border-color 0.2s ease;
}

.coffee-svg {
    width: 34px;  /* Ingrandita da 28px a 34px */
    height: 34px; /* Ingrandita da 28px a 34px */
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    border-color: #00667a;
    box-shadow: 0 8px 25px rgba(0, 50, 65, 0.2);
}

/* Transizione morbida del livello del liquido */
#coffee-liquid {
    transition: transform 0.1s linear;
    transform-origin: bottom;
    /* La scala Y parte da 1 (piena) e scende a 0 (vuota) */
    transform: scaleY(var(--fill-level, 1));
}

/* ==========================================================================
   PAGINA PRIVACY POLICY
   ========================================================================== */
.privacy-policy-section {
    padding: 100px 0;
    background-color: #fcfaf7;
}

.privacy-policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.privacy-policy-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 32px;
    border: 1px solid rgba(0, 102, 122, 0.05);
    box-shadow: 0 20px 50px rgba(0, 66, 78, 0.03);
}

.privacy-policy-card h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #00667a;
    line-height: 1.1;
    margin-bottom: 12px;
}

.privacy-policy-updated {
    color: #4c7c87;
    font-style: italic;
    margin-bottom: 30px;
}

.privacy-policy-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: normal;
    color: #00667a;
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 14px;
}

.privacy-policy-card p {
    color: #00333d;
    line-height: 1.7;
    margin-bottom: 14px;
}

.privacy-policy-card ul {
    margin: 0 0 14px 0;
    padding-left: 22px;
    color: #00333d;
    line-height: 1.7;
}

.privacy-policy-card li {
    margin-bottom: 8px;
}

.privacy-policy-card a {
    color: #00667a;
    font-weight: 600;
}

@media (max-width: 600px) {
    .privacy-policy-card {
        padding: 36px 24px;
        border-radius: 24px;
    }

    .privacy-policy-card h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   BANNER COOKIE
   ========================================================================== */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background-color: #00333d;
    color: #ffffff;
    padding: 18px 24px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(110%);
    transition: transform 0.4s ease;
}

.cookie-banner.cookie-banner-show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-banner-text {
    flex: 1 1 320px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: #ffffff;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.cookie-btn-more {
    color: #ffffff;
    text-decoration: underline;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.cookie-btn-more:hover {
    opacity: 0.75;
}

.cookie-btn-accept {
    background-color: #00667a;
    color: #ffffff;
    border: none;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cookie-btn-accept:hover {
    background-color: #00485a;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cookie-banner {
        padding: 14px 16px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        text-align: center;
        gap: 10px;
    }

    .cookie-banner-text {
        flex: 0 1 auto;
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .cookie-banner-actions {
        justify-content: center;
        gap: 14px;
    }

    .cookie-btn-more {
        font-size: 0.82rem;
    }

    .cookie-btn-accept {
        padding: 8px 22px;
        font-size: 0.85rem;
    }
}