:root {
    /* Colori primari */
    --primary-teal: #174C4F;        /* Verde petrolio principale */
    --primary-green: #047124;       /* Pantone P 140-16C */
    --primary-orange: #EC6907;      /* Pantone P30-8 C */
    
    /* Colori secondari */
    --secondary-blue: #0076A7;      /* CMYK C:100% M:0% Y:0% K:35% */
    --secondary-olive: #65833F;     /* CMYK C:47% M:0% Y:76% K:45% */
    --secondary-orange: #F07E2D;    /* CMYK C:0% M:60% Y:87% K:0% */
    --secondary-yellow: #D9C9A3;    /* Oro tenue accent */
    
    /* Colori di testo e sfondo */
    --text-dark: #333333;
    --text-light: #6C6C6C;
    --background-light: #FFFFFF;
    --background-soft: #F4F2EE;
    --border-light: #ecf0f1;
}

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    font-size: 18px;
    color: var(--text-dark);
}

.intropage {
    background-color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 20px 40px 20px;
    position: relative;
    overflow: hidden;
}

.intropage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.intropage-container {
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.intropage-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--secondary-yellow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.intropage-pagetitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 6vw, 4.75rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 35px;
    line-height: 1.1;
}

.intropage-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .intropage {
        padding: 150px 20px 40px 20px;
    }
    .intropage-subtitle {
        font-size: 15px;
        letter-spacing: 0.5px;
        margin-bottom: 20px;
    }
    .intropage-pagetitle {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 30px;
    }
    .intropage-description {
        font-size: 16px;
    }
}

@media screen and (min-width:768px) and (max-width:991px){
    .intropage {
        padding: 180px 20px 40px 20px;
    }
    .intropage-pagetitle {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4.5vw, 3.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.section-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }
}


/* ------------------------------------------------
-------------------- HEADER -----------------------
------------------------------------------------ */
.sezmenu {
    background-color: var(--background-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0px 20px 0px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.0);
}

.navbar {
    margin-bottom: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    min-height: auto;
}

.navbar-brand {
    padding: 5px 15px;
    height: auto;
}

.logo {
    width: 130px;
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    display: block;
}

.navbar-nav {
    margin: 0;
}

.navbar-nav>li>a {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: normal;
    padding: 15px 10px;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus {
    background-color: transparent!important;
    color: var(--primary-teal)!important;
    text-decoration: none;
}

.navbar-toggle {
    border: none !important;
    margin-top: 15px;
    cursor: pointer;
}

.navbar-default .navbar-toggle:focus, 
.navbar-default .navbar-toggle:hover {
    background-color: var(--background-soft) !important;
}

/* DROPDOWN ANIMATO - DESKTOP ONLY */
@media screen and (min-width:768px) {
    .dropdown-menu {
        background-color: var(--background-light) !important;
        border: 1px solid var(--border-light) !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
        left: 0 !important;
        right: auto !important;
        position: absolute !important;
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-15px) scale(0.95) !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        pointer-events: none !important;
        margin-top: 0 !important;
        border-radius: 8px !important;
        min-width: 180px !important;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
        pointer-events: auto !important;
    }
    
    .dropdown-menu li a {
        font-family: 'Open Sans', sans-serif;
        background: transparent !important;
        color: var(--text-dark) !important;
        padding: 12px 20px !important;
        display: block !important;
        font-size: 15px !important;
        font-weight: normal;
        transition: all 0.2s ease !important;
        border-radius: 4px !important;
        margin: 4px 8px !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .dropdown-menu li a:hover {
        color: var(--primary-teal) !important;
    }
}

.caret {
    margin-left: 5px;
}
    
@media screen and (max-width:767px){
    .sezmenu {
        padding: 10px 0px;
    }
    
    .logo {
        width: 140px;
    }
    
    .navbar-nav {
        margin: 0;
    }
    
    .navbar-nav>li>a {
        text-align: center;
        padding: 10px 10px;
        font-size: 16px;
    }
    
    /* Mostra solo "Servizi" su mobile, nasconde dropdown toggle e submenu */
    .dropdown > .dropdown-toggle {
        display: block !important; /* Mostra la voce principale "Servizi" */
    }
    
    /* Nasconde il caret su mobile */
    .dropdown > .dropdown-toggle .caret {
        display: none !important;
    }
    
    /* Nasconde completamente il dropdown menu su mobile */
    .dropdown-menu {
        display: none !important;
    }
    
    /* Stile uguale per tutte le voci menu mobile */
    .dropdown > .dropdown-toggle {
        font-family: 'Open Sans', sans-serif !important;
        text-align: center !important;
        padding: 10px 10px !important;
        color: var(--text-dark) !important;
        font-size: 16px !important;
        font-weight: normal !important;
        background: transparent !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .dropdown > .dropdown-toggle:hover {
        color: var(--primary-teal) !important;
    }
}

@media screen and (min-width:768px) and (max-width:991px){
    .logo {
        width: 180px;
    }
    .navbar-nav>li {
        margin-top: 30px;
    }
    .navbar-nav>li>a {
        font-size: 16px;
    }

    .dropdown-menu li a {
        font-size: 15px !important;
    }
}

@media screen and (min-width:992px) and (max-width:1199px){
    .logo {
        width: 200px;
    }
    .navbar-nav>li {
        margin-top: 30px;
    }
    .navbar-nav>li>a {
        padding: 15px 20px;
        font-size: 17px;
    }
}

@media screen and (min-width:1200px){
    .logo {
        width: 250px;
    }
    .navbar-nav>li {
        margin-top: 30px;
    }
    .navbar-nav>li>a {
        padding: 15px 20px;
        font-size: 18px;
    }
}

@media screen and (min-width:1350px){
    .sezmenu .container-fluid {
        padding: 0px 150px !important;
    }
}


/* ------------------------------------------------
-------------------- FOOTER -----------------------
------------------------------------------------ */
.footer {
    background-color: var(--background-light);
    border-top: 1px solid var(--border-light);
    padding: 80px 20px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-green) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.footer-description {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-teal);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 16px;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.contact-item a {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.contact-item a:hover {
    color: var(--primary-teal);
}

/* Icona + testo al hover per i link Google Maps */
.contact-item a[target="_blank"] {
    position: relative;
}

.contact-item a[target="_blank"]::after {
    content: '↗';
    display: inline-block;
    font-size: 14px;
    margin-left: 4px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.contact-item a[target="_blank"]::before {
    content: 'Vedi su Maps';
    position: absolute;
    left: 100%;
    margin-left: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-teal);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-item a[target="_blank"]:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-item a[target="_blank"]:hover::after {
    transform: translate(2px, -2px);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--background-soft);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-teal);
    color: white;
    border-color: var(--primary-teal);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    font-size: 16px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-teal);
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-column h3 {
        font-size: 24px;
    }
    
    .footer-description {
        font-size: 16px;
    }
    
    .footer-nav a {
        font-size: 16px;
    }
    
    .contact-item {
        font-size: 16px;
    }
    
    /* Su mobile, mostra sempre il testo "Vedi su Maps" */
    .contact-item a[target="_blank"]::before {
        position: static;
        opacity: 1;
        transform: translateX(0);
        margin-left: 8px;
        margin-right: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        order: -1;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .copyright {
        font-size: 14px;
    }
    
    .footer-bottom-links a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 32px;
    }
    
    .footer-column h3 {
        font-size: 22px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
    }
    
    /* Su mobile piccolo, testo più compatto */
    .contact-item a[target="_blank"]::before {
        font-size: 11px;
    }
}


/* ------------------------------------------------
--------------- PULSANTE FISSO CTA  ---------------
------------------------------------------------ */
.pcta-fixed {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
}

.pcta-button {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(236, 105, 7, 0.35);
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1.5;
}

.pcta-button:hover {
    background: linear-gradient(135deg, var(--secondary-orange), var(--primary-orange));
    box-shadow: 0 12px 32px rgba(236, 105, 7, 0.45);
    transform: translateY(-2px);
}

.pcta-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animazione pulse */
@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.pcta-button.pulse {
    animation: pulse-scale 0.4s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .pcta-fixed {
        bottom: 20px;
        right: 20px;
    }
    .pcta-button {
        padding: 14px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .pcta-fixed {
        bottom: 16px;
        right: 16px;
    }
    .pcta-button {
        padding: 12px 20px;
        font-size: 15px;
        gap: 10px;
    }
    .pcta-icon {
        width: 18px;
        height: 18px;
    }
}


/* ------------------------------------------------
----------- SEZIONE TENIAMOCI IN CONTATTO --------
------------------------------------------------ */
.contatto-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.contatto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(23, 76, 79, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 105, 7, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contatto-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contatto-header {
    text-align: center;
    margin-bottom: 80px;
}

.contatto-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 4.25vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.1;
}

.contatto-main-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.contatto-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contatto-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contatto-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.contatto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--secondary-blue));
}

.contatto-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
}

.contatto-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
    color: white;
}

.contatto-card:nth-child(2) .contatto-card-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
}

.contatto-card-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.contatto-card-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.contatto-cta-button {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}

.contatto-card:nth-child(2) .contatto-cta-button {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
}

.contatto-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 76, 79, 0.4);
}

.contatto-card:nth-child(2) .contatto-cta-button:hover {
    box-shadow: 0 8px 25px rgba(236, 105, 7, 0.4);
    background: linear-gradient(135deg, var(--secondary-orange), var(--primary-orange));
}

/* Modal per il form contatto */
.contatto-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
}

.contatto-modal-content {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    margin: 5% auto;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.contatto-modal-close {
    color: rgba(255, 255, 255, 0.7);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
}

.contatto-modal-close:hover {
    color: white;
}

.contatto-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.2;
}

.contatto-form-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 40px;
}

.contatto-form-group {
    margin-bottom: 24px;
}

.contatto-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contatto-form-group label {
    font-family: 'Open Sans', sans-serif;
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.contatto-form-group input,
.contatto-form-group textarea {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.contatto-form-group input:focus,
.contatto-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: rgba(255, 255, 255, 0.08);
}

.contatto-form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.7;
}

.contatto-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
}

.contatto-form-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    min-width: 20px;
    height: 20px;
    accent-color: var(--primary-teal);
}

.contatto-form-checkbox label {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.contatto-form-checkbox label a {
    color: var(--secondary-yellow);
    text-decoration: underline;
}

.contatto-form-checkbox label a:hover {
    color: white;
}

.contatto-form-submit {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    line-height: 1.5;
}

.contatto-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 105, 7, 0.4);
}

/* Modal Calendly */
.contatto-calendly-embed {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.contatto-calendly-content {
    margin: 2% auto;
    width: 90%;
    max-width: 900px;
    height: 90%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.contatto-calendly-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .contatto-section {
        padding: 80px 20px;
    }
    
    .contatto-main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 30px;
    }
    
    .contatto-main-description {
        font-size: 18px;
    }
    
    .contatto-options {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contatto-card {
        padding: 40px 24px;
    }
    
    .contatto-card-title {
        font-size: 24px;
    }
    
    .contatto-card-subtitle {
        font-size: 16px;
    }
    
    .contatto-cta-button {
        font-size: 16px;
        padding: 14px 28px;
    }
    
    .contatto-form-row {
        grid-template-columns: 1fr;
    }
    
    .contatto-modal-content {
        padding: 32px 24px;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .contatto-form-title {
        font-size: 30px;
    }
    
    .contatto-form-subtitle {
        font-size: 16px;
    }
    
    .contatto-form-group label {
        font-size: 16px;
    }
    
    .contatto-form-group input,
    .contatto-form-group textarea {
        font-size: 16px;
    }
    
    .contatto-form-checkbox label {
        font-size: 14px;
    }
    
    .contatto-form-submit {
        font-size: 16px;
    }
    
    .contatto-calendly-content {
        margin: 5% auto;
        width: 95%;
        height: 85%;
    }
}

@media (max-width: 480px) {
    .contatto-section {
        padding: 60px 16px;
    }
    
    .contatto-main-title {
        font-size: clamp(1.75rem, 7vw, 2rem);
    }
    
    .contatto-main-description {
        font-size: 16px;
    }
    
    .contatto-card {
        padding: 32px 20px;
    }
    
    .contatto-card-title {
        font-size: 22px;
    }
    
    .contatto-card-subtitle {
        font-size: 15px;
    }
    
    .contatto-cta-button {
        font-size: 15px;
        padding: 12px 24px;
    }
    
    .contatto-modal-content {
        padding: 24px 20px;
        margin: 2% auto;
        width: 95%;
        max-height: 90vh;
    }
    
    .contatto-form-title {
        font-size: 26px;
    }
    
    .contatto-form-submit {
        font-size: 15px;
        padding: 14px 32px;
    }
}

/* Messaggi di feedback */
.contatto-feedback-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    animation: slideDown 0.3s ease;
}

.contatto-feedback-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contatto-feedback-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stato disabled del pulsante */
.contatto-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}




/* ------------------------------------------------
--------------- ANIMAZIONI SCROLL -----------------
------------------------------------------------ */

/* Keyframes per le diverse direzioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Classi base per le animazioni */
.animate {
    opacity: 0;
    transition: none;
}

.animate.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Direzioni */
.animate-up.animated {
    animation-name: fadeInUp;
}

.animate-down.animated {
    animation-name: fadeInDown;
}

.animate-left.animated {
    animation-name: fadeInLeft;
}

.animate-right.animated {
    animation-name: fadeInRight;
}

.animate-fade.animated {
    animation-name: fadeIn;
}

.animate-scale.animated {
    animation-name: scaleIn;
}

/* Velocità personalizzate */
.animate-slow {
    animation-duration: 1.2s !important;
}

.animate-fast {
    animation-duration: 0.5s !important;
}

.animate-slower {
    animation-duration: 1.6s !important;
}

/* Ritardi */
.animate-delay-1 {
    animation-delay: 0.1s !important;
}

.animate-delay-2 {
    animation-delay: 0.2s !important;
}

.animate-delay-3 {
    animation-delay: 0.3s !important;
}

.animate-delay-4 {
    animation-delay: 0.4s !important;
}

.animate-delay-5 {
    animation-delay: 0.5s !important;
}

.animate-delay-6 {
    animation-delay: 0.6s !important;
}

.animate-delay-7 {
    animation-delay: 0.7s !important;
}

.animate-delay-8 {
    animation-delay: 0.8s !important;
}

/* Disabilita animazioni su mobile se preferisci */
@media (max-width: 768px) {
    .animate-mobile-off.animate {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .animate-mobile-off.animated {
        animation: none !important;
    }
}

/* Riduce le animazioni per chi ha abilitato "Reduce Motion" */
@media (prefers-reduced-motion: reduce) {
    .animate,
    .animate.animated {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}



/*
Classi base (obbligatorie):
------------
animate - Classe base (sempre necessaria)

Direzioni (scegli una):
------------
animate-up - Dal basso verso l'alto 
animate-down - Dall'alto verso il basso 
animate-left - Da sinistra verso destra
animate-right - Da destra verso sinistra 
animate-fade - Solo fade in (senza movimento)
animate-scale - Scale da piccolo a normale

Velocità (opzionali):
------------
animate-fast - 0.5s
default - 0.8s (senza classe)
animate-slow - 1.2s
animate-slower - 1.6s

Ritardi (opzionali):
------------
animate-delay-1 - 0.1s
animate-delay-2 - 0.2s
animate-delay-3 - 0.3s
...fino a...
animate-delay-8 - 0.8s

Easing (opzionali):
------------
animate-ease-out - Più veloce all'inizio
animate-ease-in - Più veloce alla fine
animate-ease-in-out - Bilanciato (default)
animate-bounce - Effetto elastico

Utility:
------------
animate-mobile-off - Disabilita animazioni su mobile
*/