/* Stili Mobile */
@media (max-width: 768px) {
    /* Header e Logo */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        height: 60px;
        display: flex;
        align-items: center;
    }

    .header-container {
        padding: 0 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between; /* Spazio tra logo e hamburger */
        width: 100%;
        height: 100%;
    }

    .site-logo {
        height: 32px;
    }

    .site-logo img {
        height: 100%;
        width: auto;
    }

    /* Nascondi solo gli elementi non necessari nell'header su mobile */
    .desktop-menu,
    .header-cta,
    .language-dropdown2,
    .language-selector-mobile,
    .mobile-header-language {
        display: none !important;
    }

    /* Rimuovo il padding-top del main su mobile */
    main {
        padding-top: 0;
    }

    /* Hero Section */
    .hero {
        padding-top: 60px; /* Solo lo spazio per l'header fisso */
        margin-top: 0;
    }

    .hero-title {
        margin-top: 3rem;
        padding-top: 0;
    }

    /* Menu Hamburger */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 6px;
        cursor: pointer;
        border: none;
        background: none;
        margin-left: auto;
        z-index: 1002;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--charcoal);
        margin: 2px auto;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -3px);
    }

    /* Menu Mobile */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: white;
        padding-top: 60px;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }

    /* X per chiudere il menu */
    .mobile-menu-toggle.active {
        position: fixed;
        top: 14px;
        right: 16px;
        z-index: 1001;
        width: 32px;
        height: 32px;
        background: white;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-toggle.active span {
        margin: 0;
        position: absolute;
        width: 20px;
        left: 50%;
        top: 50%;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .mobile-menu-container {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-menu .menu-item {
        font-size: 1.2rem;
        text-align: center;
        width: 100%;
        padding: 12px;
        color: var(--charcoal);
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .mobile-menu .menu-item:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .mobile-menu .demo-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        background: var(--primary-color);
        color: white;
        border-radius: var(--border-radius);
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .mobile-menu .demo-btn:hover {
        background-color: #ff4f57;
    }

    .mobile-break {
        display: block;
    }

    .highlight {
        display: block;
        margin: 0.5rem 0;
        color: var(--desert-sand);
    }

    .hero-extra-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
        text-align: left;
    }

    .hero-benefits {
        margin: 2rem 0;
    }

    .benefit-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        padding: 1rem;
        border-radius: 12px;
    }

    .benefit-icon {
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .benefit-content {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .benefit-content strong {
        font-size: 1.1rem;
        color: var(--desert-sand);
    }

    .benefit-content span {
        font-size: 0.95rem;
        opacity: 0.9;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        padding: 0 1rem;
    }

    .hero-left {
        order: 1;
    }

    .hero-right {
        order: 3;
    }

    /* Nascondi completamente il pulsante nella sezione hero-left su mobile */
    .hero-left .btn {
        display: none !important;
    }

    .hero-right .hero-benefits {
        order: 1;
    }

    .hero-right .hero-features {
        order: 2;
    }

    .hero__content::after {
        content: "";
        order: 3;
        display: block;
    }

    .hero-features {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .feature-tag {
        background: rgba(0, 0, 0, 0.165);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 14px 20px;
        color: white;
        font-size: 16px;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin: 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    }

    .feature-tag i {
        font-size: 18px;
        color: var(--desert-sand);
    }

    .mobile-only-btn {
        order: 2;
        margin: 10px 0;
    }

    /* Stile per l'elemento di risposta rapida - più prominente */
    .feature-tag.response-time {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 14px;
        font-size: 17px;
        padding: 16px 20px;
        margin-bottom: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
    }

    .hero__content .btn {
        order: 2;
        width: 100%;
        background: #F75E61;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 0.3rem;
    }

    /* Container per le feature tecniche secondarie */
    .technical-features {
        order: 3;
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 16px;
        padding: 12px;
    }

    /* Stile comune per le feature tecniche */
    .feature-tag.technical {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        font-size: 16px;
        padding: 14px 20px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
        opacity: 0.95;
    }

    .feature-tag:hover {
        transform: translateY(-1px);
        opacity: 1;
    }

    .feature-tag br {
        display: none;
        text-align: center;
    }

    .btn {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 0.3rem;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        text-decoration: none;
        color: white;
    }

    .btn-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .btn-text {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .btn-subtitle {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .mobile-cta-floating {
        display: none;
    }

    /* Rimuovo il padding-bottom aggiuntivo dal body */
    body {
        padding-bottom: initial;
    }

    /* Nascondi la versione desktop del pulsante */
    .desktop-only-btn {
        display: none;
    }

    /* Aggiusto il breadcrumb per mobile */
    .breadcrumb {
        margin-top: 60px;
    }

    .site-footer {
        padding: 40px 20px;
        text-align: center;
        background: linear-gradient(180deg, #EA4850 0%, #d13f46 100%);
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .footer-left {
        width: 100%;
        max-width: none;
        margin-bottom: 8px;
    }

    .footer-logo {
        font-size: 1.8rem;
        margin-bottom: 12px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .footer-tagline {
        font-size: 0.95rem;
        line-height: 1.5;
        opacity: 0.95;
        max-width: 280px;
        margin: 0 auto;
    }

    .footer-center {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 24px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-center a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 1rem;
        padding: 12px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .footer-center a:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.15);
    }

    .footer-center a i {
        font-size: 1.2rem;
    }

    .footer-right {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding-top: 8px;
    }

    .footer-right a {
        font-size: 0.9rem;
        opacity: 0.8;
        position: relative;
    }

    .footer-right a:not(:last-child):after {
        position: absolute;
        right: -10px;
        opacity: 0.5;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-menu {
        display: none;
    }

    .desktop-menu {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .desktop-menu .menu-item {
        color: var(--charcoal);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .desktop-menu .menu-item:hover {
        color: var(--primary-color);
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .promo-banner__content {
        font-size: 0.8rem;
        padding: 8px 35px;
    }

    .promo-banner__close {
        width: 28px;
        height: 28px;
        font-size: 1.3rem;
    }

    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
    }

    .mobile-menu-toggle span {
        width: 20px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }

    .benefit-item {
        padding: 0.8rem;
    }

    .feature-tag {
        font-size: 16px;
        padding: 14px 16px;
    }
}

/* Nascondi versione mobile di default */
.mobile-only-btn {
    display: none;
}

.site-footer {
    background-color: #EA4850;
    padding: 40px 0 20px;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.footer-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-center a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.footer-center a i {
    font-size: 1.2rem;
    opacity: 0.9;
}

.footer-center a:hover {
    opacity: 0.8;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-right a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

.footer-right a:hover {
    opacity: 1;
} 