/*!
Theme Name: Innovazione Marketing
Description: Theme WordPress per marketing digitale locale - Riviera Romagnola
Version: 1.0.0
Author: Innovazione Marketing
Text Domain: innovazione-marketing
Tags: business, marketing, local, responsive, accessibility-ready
*/

/* =========================================
   INNOVAZIONE MARKETING - MAIN STYLESHEET
   ========================================= */
   
   /* === IMPORT GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* === CSS RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #059669;
    --orange-color: #ea580c;
    --pink-color: #db2777;
    --purple-color: #9333ea;
    
    /* Gray Scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 16px;
   --font-family-heading: 'Poppins', sans-serif;
    --line-height-base: 1.6;
    
    /* Spacing */
    --container-max-width: 1200px;
    --container-padding: 20px;
    
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* === BASE TYPOGRAPHY === */
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--gray-800);
    font-size: 1rem;
    background: white;
    overflow-x: hidden;
}

/* === HEADINGS CON DM SERIF DISPLAY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 700; /* Poppins Bold per i titoli */
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--gray-900);
    letter-spacing: -0.01em; /* Leggero spacing negativo per Poppins */
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800; /* Extra Bold per H1 */
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    font-weight: 700; /* Bold per H2 */
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600; /* SemiBold per H3 */
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600; /* SemiBold per H4 */
}

h5 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500; /* Medium per H5 */
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 500; /* Medium per H6 */
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-hover);
}

a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Lists */
ul, ol {
    padding-left: 1.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === LAYOUT === */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    justify-content: center;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    min-width: 250px;
}

.btn .icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-base);
}

.btn:hover .icon.arrow {
    transform: translateX(4px);
}

/* === HEADER === */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-branding {
    flex-shrink: 0;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: var(--gray-900);
}

.site-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.custom-logo-link img {
    max-height: 60px;
    width: auto;
}

.primary-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.primary-menu a {
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.primary-menu a:hover::after {
    width: 100%;
}

.btn-header {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    min-width: auto;
}

.btn-header:hover {
    background: var(--primary-hover);
    color: white;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.menu-toggle-icon {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-base);
    transform-origin: center;
}

.menu-toggle.is-active .menu-toggle-icon:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8faff 0%, #f1f7ff 100%);
    padding: 6rem 0 4rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-headline {
    margin-bottom: 2rem;
}

.hero-headline h1 {
    line-height: 1.05; /* Ancora più stretto per impatto visivo */
    margin-bottom: 1.5rem;
    background: var(--pink-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700; /* DM Serif Display standard weight */
}

.hero-headline h2 {
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--gray-600);
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0rem 0;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.location-badge .icon {
    width: 16px;
    height: 16px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: 3rem 0;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: center;
}

.trust-item {
    padding: 1rem;
    transition: transform var(--transition-base);
}

.trust-item:hover {
    transform: translateY(-4px);
}

.trust-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    color: var(--gray-600);
    font-size: 1rem;
    font-weight: 500;
}

/* === SECTIONS === */
.problem-solution-section,
.work-method-section {
    padding: 6rem 0;
}

.problem-solution-section {
    background: white;
}

.work-method-section {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-primary {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.3;
}

/* === SOLUTIONS GRID === */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.solution-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    position: relative;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.solution-card.orange .solution-icon {
    background: rgba(234, 88, 12, 0.1);
    color: var(--orange-color);
}

.solution-card.pink .solution-icon {
    background: rgba(219, 39, 119, 0.1);
    color: var(--pink-color);
}

.solution-card.blue .solution-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.card-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(5deg);
}

.solution-icon svg {
    width: 32px;
    height: 32px;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.problem-solution {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.problem {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.solution {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.problem-solution p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.btn-card {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    min-width: auto;
    position: relative;
    overflow: hidden;
}

.solution-card:hover .btn-card {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(10px); /* Ridotto da 20px */
    transition: all 0.15s ease-out; /* Da 0.25s a 0.15s */
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* === STEPS GRID === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.step-card .card-content {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    font-weight: 700;
    color: var(--gray-100);
    z-index: 1;
    transition: all var(--transition-base);
}

.step-card:hover .step-number {
    color: var(--gray-200);
    transform: scale(1.1);
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-base);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-card.blue .step-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.step-card.green .step-icon {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary-color);
}

.step-card.orange .step-icon {
    background: rgba(234, 88, 12, 0.1);
    color: var(--orange-color);
}

.step-card.purple .step-icon {
    background: rgba(147, 51, 234, 0.1);
    color: var(--purple-color);
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* === SECTION CTA === */
.section-cta {
    text-align: center;
}

.section-message {
    text-align: center;
}

.message-box {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* === CONTACT SECTION === */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-base);
}

.whatsapp-card .contact-icon {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary-color);
}

.calendly-card .contact-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.contact-icon svg {
    width: 40px;
    height: 40px;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-whatsapp {
    background: var(--secondary-color);
    color: white;
}

.btn-whatsapp:hover {
    background: #047857;
    color: white;
}

.btn-calendly {
    background: var(--primary-color);
    color: white;
}

.btn-calendly:hover {
    background: var(--primary-hover);
    color: white;
}

.call-benefits {
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
}

.call-benefits h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    text-align: center;
}

.benefit-number {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
    font-size: 1.125rem;
}

.benefit-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === FOOTER === */
.site-footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-300);
    transition: color var(--transition-base);
}

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

.footer-description {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
}

.contact-item .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.9rem;
}

/* === RESPONSIVE DESIGN === */
@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Base mobile fixes */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px; /* Più stretto su mobile */
    }
    
    /* === LAYOUT BASE === */
    .container {
        padding: 0 16px; /* Padding fisso mobile */
        max-width: 100%;
    }
    
    body {
        overflow-x: hidden; /* Evita scroll orizzontale */
    }
    
    /* === HEADER MOBILE === */
    .site-header {
        padding: 0.5rem 0;
    }
    
    .nav-wrapper {
        padding: 0.75rem 0;
        min-height: 60px;
    }
    
    .site-title {
        font-size: 1.25rem;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* === HERO SECTION MOBILE === */
    .hero-section {
        padding: 5rem 0 3rem;
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 0;
        max-width: 100%;
    }
    
    .hero-headline {
        margin-bottom: 1.5rem;
        margin-top: 1rem;
    }
    
    .hero-headline h1 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        line-height: 1.1;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }
    
    .hero-headline h2 {
        font-size: clamp(1.2rem, 8vw, 4rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .location-badge {
        margin: 1.5rem 0;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-cta {
        margin: 2rem 0;
        gap: 1rem;
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .trust-indicators {
        margin-top: 2rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .trust-number {
        font-size: 2.5rem;
    }
    
    /* === BUTTONS MOBILE === */
    .btn {
        width: auto;
        max-width: none;
        min-width: auto;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.125rem;
        min-width: auto;
    }
    
    .btn-header {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* === SECTIONS MOBILE === */
    .problem-solution-section,
    .work-method-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    /* === SOLUTIONS GRID MOBILE === */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .solution-card {
        margin: 0 0 1rem 0;
        max-width: 100%;
    }
    
    .solution-card h3 {
        font-size: 1.25rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .btn-card {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    /* === STEPS GRID MOBILE === */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .step-card {
        margin: 0 0 1rem 0;
        max-width: 100%;
    }
    
    .step-card h3 {
        font-size: 1.25rem;
    }
    
    .step-number {
        font-size: 3rem;
    }
    
    /* === CONTACT SECTION MOBILE === */
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .contact-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .contact-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .contact-card h3 {
        font-size: 1.25rem;
    }
    
    .contact-card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-card .btn {
        width: 100%;
        max-width: none;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .call-benefits {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* === SECTION CTA MOBILE === */
    .section-cta {
        padding: 0 1rem;
    }
    
    .section-cta .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .section-message {
        padding: 0 1rem;
    }
    
    .message-box {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        display: block;
        max-width: 100%;
    }
    
    /* === FOOTER MOBILE === */
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* === MOBILE MENU === */
    .mobile-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .mobile-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-content {
        padding: 2rem 1rem;
    }
    
    .mobile-primary-menu {
        list-style: none;
        padding: 0;
        margin: 0 0 2rem 0;
    }
    
    .mobile-primary-menu li {
        border-bottom: 1px solid var(--gray-100);
    }
    
    .mobile-primary-menu li:last-child {
        border-bottom: none;
    }
    
    .mobile-primary-menu a {
        display: block;
        padding: 1rem 0;
        color: var(--gray-700);
        text-decoration: none;
        font-weight: 500;
        font-size: 1.125rem;
        text-align: center;
    }
    
    .mobile-cta {
        text-align: center;
    }
    
    .btn-mobile {
        width: 100%;
        max-width: 250px;
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

/* === EXTRA SMALL MOBILE (480px and below) === */
@media (max-width: 480px) {
    :root {
        --container-padding: 12px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Hero più compatto */
    .hero-section {
        padding: 4rem 0 2rem;
    }
    
    .hero-headline h1 {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    
    .hero-headline h2 {
        font-size: clamp(1.2rem, 8vw, 4rem);
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 0;
    }
    
    .hero-cta {
        margin: 0.5rem 0;
        padding: 0;
    }
    
    .hero-cta .btn {
        max-width: 260px;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .trust-indicators {
        padding: 0;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .location-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin: 1rem 0;
    }
    
    /* Sections più compatte */
    .problem-solution-section,
    .work-method-section,
    .contact-section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Cards più compatte */
    .card-content {
        padding: 1.25rem;
    }
    
    .solution-card h3,
    .step-card h3 {
        font-size: 1.125rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .contact-card h3 {
        font-size: 1.125rem;
    }
    
    .contact-card p {
        font-size: 0.9rem;
    }
    
    /* Footer più compatto */
    .footer-section {
        padding: 0 0.5rem;
        text-align: left;
    }
    
    .message-box {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* === LANDSCAPE MOBILE === */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
        padding: 3rem 0 2rem;
    }
    
    .hero-headline {
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        margin: 1.5rem 0;
    }
    
    .trust-indicators {
        margin-top: 1.5rem;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === FIX OVERFLOW ISSUES === */
@media (max-width: 768px) {
    .solution-card,
    .step-card,
    .contact-card {
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-content,
    .section-header {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Assicura che nessun elemento esca dal viewport */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* === SMOOTH ANIMATIONS ON MOBILE === */
@media (max-width: 768px) {
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(15px);
        transition: all 0.3s ease-out;
    }
    
    .animate-on-scroll.animate-in {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Hover effects ridotti su mobile */
    .solution-card:hover,
    .step-card:hover,
    .contact-card:hover {
        transform: translateY(-3px);
    }
    
    .trust-item:hover {
        transform: translateY(-2px);
    }
}

/* === UTILITY CLASSES MOBILE === */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
    
    .mobile-visible {
        display: block !important;
    }
    
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-no-margin {
        margin: 0 !important;
    }
    
    .mobile-small-padding {
        padding: 1rem !important;
    }
}

/* === TYPOGRAPHY MOBILE === */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }
    
    h3 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }
    
    h4 {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
}