/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #fafbff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 120px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid #eef1fa;
    z-index: 1000;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.nav {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    position: relative;
}

.logo img {
    height: 4rem;
    cursor: pointer;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2.5px;
    width: 0;
    background: linear-gradient(90deg, #667eea 40%, #764ba2 100%);
    transition: width 0.35s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1rem 2.7rem;
    border: none;
    border-radius: 60px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    min-height: 44px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(102, 126, 234, 0.2);
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    position: relative;
    width: 35px;
    height: 22px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1100;
    min-height: 44px;
    margin-right: 0.5rem;
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 150%;
    background: linear-gradient(116deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    filter: brightness(0.5) blur(2.5px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: auto;
    padding: 2.5rem;
}

.hero h1 {
    font-size: clamp(2.7rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.6px;
    margin-bottom: 1.3rem;
    background: linear-gradient(90deg, #fff 60%, #d1bbfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    color: #e6eaff;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .cta-button {
    color: #667eea;
    background: #fff;
}

.cta-secondary {
    background: transparent;
    color: #667eea;
    border: 2.2px solid #fff;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-secondary:hover::before {
    width: 100%;
}

.cta-secondary:hover {
    color: #667eea;
    transform: translateY(-2px);
}

/* Floating Shapes */
.floating-shapes .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.shape1 {
    width: 100px;
    height: 100px;
    top: 18%;
    left: 12%;
    animation: float 7s infinite, pulse 4s infinite;
}

.shape2 {
    width: 130px;
    height: 130px;
    top: 67%;
    right: 10%;
    animation: float 9s infinite reverse, pulse 6s infinite;
}

.shape3 {
    width: 70px;
    height: 70px;
    top: 28%;
    right: 27%;
    animation: float 8s infinite, pulse 5s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(90deg); }
    66% { transform: translateY(-8px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* Sections */
.services, .values, .method, .contact {
    padding: 6rem 2rem 5rem;
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.services {
    background: #f8fafc;
}

.values {
    background: #fff;
}

.method {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    color: #fff;
    position: relative;
}

.method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.07"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    z-index: 0;
}

.method > .container {
    position: relative;
    z-index: 1;
}

.contact {
    background: #f8fafc;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.section-header p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 90%;
    margin: 0 auto;
}

.services .section-header h2,
.values .section-header h2,
.contact .section-header h2 {
    color: #1a1a1a;
}

.services .section-header p,
.values .section-header p,
.contact .section-header p {
    color: #7a86a6;
}

.method .section-header h2 {
    color: #fff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.method .section-header p {
    color: #e6eaff;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 45px rgba(102, 126, 234, 0.08);
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 60px rgba(139, 92, 246, 0.25);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-icon, .lottie-icon {
    width: 74px;
    height: 74px;
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.13) 0%, rgba(118, 75, 162, 0.13) 100%);
    font-size: 2.2rem;
    color: #764ba2;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon,
.service-card:hover .lottie-icon {
    transform: scale(1.1);
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.2rem;
    margin-top: 4rem;
}

.value-item {
    text-align: center;
    padding: 2.3rem 1.2rem;
    background: rgba(102, 126, 234, 0.055);
    border-radius: 18px;
    box-shadow: 0 2px 15px rgba(118, 75, 162, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 40px rgba(118, 75, 162, 0.2);
}

.value-icon, .lottie-icon-value {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: rgba(102, 126, 234, 0.53);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon,
.value-item:hover .lottie-icon-value {
    transform: scale(1.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.value-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Method */
.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.method-step {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.method-step:hover {
    transform: translateY(-5px) scale(1.03);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.method-step h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.method-step p {
    color: #e6eaff;
    line-height: 1.7;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    color: #fff;
}

.method-step:hover .step-number {
    transform: scale(1.1);
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px 20px 0 0;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    color: #fff;
    transition: transform 0.3s ease;
        max-width: 60px;

}

.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #764ba2;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #667eea;
}

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

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

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom {
    background-color: #1a1a1a;
    text-align: center;
    padding: 2px;
    font-size: 10px;
    color: #999999;
    border-top: 1px solid #333333;
    margin-top: 2rem;
}

/* ====================================
   STILI SPECIFICI PAGINA SERVIZI
   ==================================== */

:root {
    --blue: #0056b3;
    --light: #e9f6ff;
    --card: #fff;
    --text: #222;
    --muted: #6b7280;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: float-particle 6s infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    50% { transform: translateY(-100px) rotate(180deg); opacity: 1; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Services Header */
.services-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s ease-out 0.2s forwards;
}

.services-header h2 {
    font-size: 2.8em;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.services-header p {
    font-size: 1.3em;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid dei 12 servizi */
.services-grid-12 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: stretch;
}

.service-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%,
        rgba(139, 92, 246, 0.03) 50%,
        rgba(236, 72, 153, 0.05) 100%);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-box:hover::before {
    opacity: 1;
}

.service-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.service-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    text-align: center;
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

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

.service-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    position: relative;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.service-box:hover .service-title::after {
    width: 60px;
}

.service-desc {
    font-size: 0.95em;
    color: #444;
    margin-top: auto;
    line-height: 1.5;
    flex-grow: 1;
}

/* Colori di sfondo per ogni box */
.c1  { background: linear-gradient(135deg, #eaf4ff, rgba(234, 244, 255, 0.8)); }
.c2  { background: linear-gradient(135deg, #e6f9f2, rgba(230, 249, 242, 0.8)); }
.c3  { background: linear-gradient(135deg, #fff3e6, rgba(255, 243, 230, 0.8)); }
.c4  { background: linear-gradient(135deg, #f2f0ff, rgba(242, 240, 255, 0.8)); }
.c5  { background: linear-gradient(135deg, #e8fff3, rgba(232, 255, 243, 0.8)); }
.c6  { background: linear-gradient(135deg, #fff5f5, rgba(255, 245, 245, 0.8)); }
.c7  { background: linear-gradient(135deg, #f9f9e3, rgba(249, 249, 227, 0.8)); }
.c8  { background: linear-gradient(135deg, #f0f7ff, rgba(240, 247, 255, 0.8)); }
.c9  { background: linear-gradient(135deg, #f6f2ff, rgba(246, 242, 255, 0.8)); }
.c10 { background: linear-gradient(135deg, #fffbf0, rgba(255, 251, 240, 0.8)); }
.c11 { background: linear-gradient(135deg, #eefafc, rgba(238, 250, 252, 0.8)); }
.c12 { background: linear-gradient(135deg, #fdf2f8, rgba(253, 242, 248, 0.8)); }

/* Sezione dettagli */
.main-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    position: relative;
    z-index: 2;
}

.section-title-detail {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    margin: 20px 0 40px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    margin: 60px 0 30px 0;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%,
        rgba(139, 92, 246, 0.03) 50%,
        rgba(236, 72, 153, 0.05) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-detail:hover::before {
    opacity: 1;
}

.service-detail:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 80px rgba(59, 130, 246, 0.1);
}

.service-detail.alternate {
    grid-template-columns: 1fr 1fr;
}

.service-detail.alternate .img-wrap {
    order: 2;
}

.service-detail.alternate .content {
    order: 1;
}

.img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.9) saturate(1.1);
}

.service-detail:hover .img-wrap img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1) saturate(1.3);
}

.img-wrap::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.service-detail:hover .img-wrap::after {
    transform: scale(1.1) rotate(360deg);
    background: rgba(139, 92, 246, 0.9);
}

.content {
    position: relative;
    z-index: 2;
}

.content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b, #475569);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 16px 0;
    position: relative;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.6s ease;
    border-radius: 2px;
}

.service-detail:hover .content h2::after {
    width: 80px;
}

.content p {
    color: #475569;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.content ul {
    margin: 10px 0 0 0;
    padding-left: 0;
    list-style: none;
}

.content li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: #334155;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.content li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.content li:hover {
    color: #1e293b;
    transform: translateX(5px);
}

.content li:hover::before {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    transform: rotate(360deg) scale(1.1);
}

/* Call to Action Styles */
.cta2-section {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%,
        rgba(139, 92, 246, 0.05) 50%,
        rgba(236, 72, 153, 0.1) 100%);
    border-radius: 20px;
    padding: 60px 40px 40px;
    margin: 60px 0 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta2-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta2-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta2-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b, #3b82f6, #8b5cf6);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta2-subtitle {
    font-size: 1.3rem;
    color: #475569;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta2-description {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta2-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.benefit-icon {
    margin-right: 12px;
    font-size: 1.1em;
}

.primary-cta2 {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.cta2-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-height: 70px;
    position: relative;
    overflow: hidden;
}

.cta2-button::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 ease;
}

.cta2-button:hover::before {
    left: 100%;
}

.cta2-button.primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.cta2-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.cta2-button.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.cta2-button.secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.button-icon {
    font-size: 1.5em;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.button-text strong {
    font-size: 1.1em;
    margin-bottom: 2px;
}

.button-text small {
    font-size: 0.85em;
    opacity: 0.8;
}

.secondary-cta2 {
    text-align: center;
}

.cta2-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta2-link:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

.arrow {
    transition: transform 0.3s ease;
}

.cta2-link:hover .arrow {
    transform: translateX(5px);
}

.cta2-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.success-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.success-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.success-icon {
    font-size: 2.5em;
    color: white;
}

.growth-chart {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: end;
    gap: 8px;
    height: 60px;
}

.chart-bar {
    width: 20px;
    background: linear-gradient(to top, #3b82f6, #8b5cf6);
    border-radius: 4px;
    animation: growBar 2s ease-out infinite alternate;
}

.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.4s; }
.chart-bar:nth-child(4) { animation-delay: 0.6s; }
.chart-bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes growBar {
    from { transform: scaleY(0.3); }
    to { transform: scaleY(1); }
}

.urgency-banner {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    margin: 40px -40px -40px;
    padding: 20px 40px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1f2937;
    font-size: 1.05rem;
    text-align: center;
}

.urgency-icon {
    font-size: 1.2em;
    animation: pulse 1.5s infinite;
}

/* SEZIONE "HAI GIÀ UN SITO?" */

.existing-site {
    padding: 6rem 2rem 5rem;
    margin-top: 80px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.existing-site .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.existing-site-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.existing-site-text h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 1.3rem;
    line-height: 1.2;
    text-align: center;
}

.existing-site-text .lead {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #7a86a6;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-align: center;
}

.problems-list {
    margin-bottom: 2.5rem;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
    padding: 1.2rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.problem-item:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateX(10px);
}

.problem-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.problem-item p {
    color: #1a1a1a;
    margin: 0;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.5;
}

.existing-site-cta {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 2rem;
    border-radius: 18px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 10px;
}

.existing-site-cta:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
}

.existing-site-cta h3 {
    color: #1a1a1a;
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.existing-site-cta p {
    color: #7a86a6;
    margin-bottom: 1.5rem;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.6;
}

.existing-site-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.comparison-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(102, 126, 234, 0.05);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.before-box,
.after-box {
    background: #fff;
    padding: 2rem;
    border-radius: 18px;
    min-width: 200px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.before-box {
    border: 3px solid #ff6b6b;
}

.after-box {
    border: 3px solid #51cf66;
}

.before-box:hover,
.after-box:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.before-box h4,
.after-box h4 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-align: center;
}

.before-box h4 {
    color: #ff6b6b;
}

.after-box h4 {
    color: #51cf66;
}

.before-box ul,
.after-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.before-box li,
.after-box li {
    padding: 0.6rem 0;
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    color: #333;
    line-height: 1.5;
}

.before-box li::before {
    content: '• ';
    color: #ff6b6b;
    font-weight: bold;
    margin-right: 8px;
}

.after-box li::before {
    content: '✓ ';
    color: #51cf66;
    font-weight: bold;
    margin-right: 8px;
}

.arrow-transform {
    font-size: 3rem;
    color: #667eea;
    animation: pulse-arrow 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-arrow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideInFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes bounceInScale {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes flipInY {
    0% { transform: perspective(400px) rotateY(90deg); opacity: 0; }
    40% { transform: perspective(400px) rotateY(-20deg); }
    60% { transform: perspective(400px) rotateY(10deg); }
    80% { transform: perspective(400px) rotateY(-5deg); }
    100% { transform: perspective(400px) rotateY(0deg); opacity: 1; }
}

@keyframes zoomInRotate {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.wow {
    visibility: hidden;
}

.animate__animated {
    visibility: visible;
}

.slideInLeft { animation: slideInFromLeft 0.6s ease-out; }
.slideInRight { animation: slideInFromRight 0.6s ease-out; }
.bounceInScale { animation: bounceInScale 0.6s ease-out; }
.flipInY { animation: flipInY 0.6s ease-out; }
.zoomInRotate { animation: zoomInRotate 0.6s ease-out; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animazioni di entrata staggered */
.service-box:nth-child(1) { animation-delay: 0.1s; }
.service-box:nth-child(2) { animation-delay: 0.2s; }
.service-box:nth-child(3) { animation-delay: 0.3s; }
.service-box:nth-child(4) { animation-delay: 0.4s; }
.service-box:nth-child(5) { animation-delay: 0.5s; }
.service-box:nth-child(6) { animation-delay: 0.6s; }
.service-box:nth-child(7) { animation-delay: 0.7s; }
.service-box:nth-child(8) { animation-delay: 0.8s; }
.service-box:nth-child(9) { animation-delay: 0.9s; }
.service-box:nth-child(10) { animation-delay: 1.0s; }
.service-box:nth-child(11) { animation-delay: 1.1s; }
.service-box:nth-child(12) { animation-delay: 1.2s; }

/* Responsive Design */

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) {
    .nav {
        padding: 0.7rem 1.5rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .method-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .contact-content {
        gap: 3rem;
    }
    .existing-site-content {
        gap: 40px;
    }
    .comparison-box {
        flex-direction: column;
        padding: 1.5rem;
    }
    .arrow-transform {
        transform: rotate(90deg);
        font-size: 2.5rem;
    }
    .before-box,
    .after-box {
        width: 100%;
        max-width: 350px;
    }
    .service-detail,
    .service-detail.alternate {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px 20px;
    }
    .service-detail.alternate .img-wrap,
    .service-detail.alternate .content {
        order: initial;
    }
    .cta2-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Large (≤768px) */
@media (max-width: 768px) {
.nav {
    padding: 0.6rem 0rem 0.6rem 1rem;
    position: relative;
}

    
    .logo img {
        height: 3rem;
    }
    
    .hamburger-btn {
        display: flex;
        z-index: 1100;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
        flex-direction: column;
        gap: 1rem;
        z-index: 999;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
    }
    
    .nav-links.active {
        display: flex !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        display: block;
        text-align: center;
        touch-action: manipulation;
    }
    
    .header .cta-button {
        display: none !important;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .hero {
        min-height: 70vh;
        padding: 1.5rem;
    }
    
    .hero-bg {
        filter: brightness(0.6) blur(1px);
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        line-height: 1.2;
        letter-spacing: -0.5px;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
        justify-content: flex-start;
    }
    
    .cta-button, .cta-secondary {
        width: 100%;
        max-width: none;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
        text-align: center;
    }
    
    .floating-shapes {
        display: none;
    }
    
    .services, .values, .method, .contact {
        padding: 3rem 1rem;
        margin-top: 0px;
        padding-top: 0px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .services-grid, .values-grid, .method-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid-12 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-box {
        min-height: 200px;
        padding: 20px;
    }
    
    .service-icon {
        font-size: 2em;
    }
    
    .service-title {
        font-size: 1.1em;
    }
    
    .service-desc {
        font-size: 0.9em;
    }
    
    .services-header h2 {
        font-size: 2.2em;
    }
    
    .services-header p {
        font-size: 1.1em;
    }
    
    .service-card, .value-item, .method-step {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .service-card h3, .value-item h3, .method-step h3 {
        font-size: 1.3rem;
    }
    
    .service-icon, .lottie-icon, .lottie-icon-value {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
        font-size: 1.8rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .form-group input, .form-group textarea {
        font-size: 1rem;
        padding: 0.8rem;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .contact-info h3 {
        font-size: 1.4rem;
    }
    
    .contact-item {
        flex-direction: row;
        align-items: center;
        padding: 1rem;
        text-align: left;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        margin-bottom: 0;
        font-size: 1.5rem;
    }
    
    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section ul li a {
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        font-size: 0.9rem;
    }
    
    .wow {
        animation-duration: 0.4s !important;
    }
    
    .service-card:hover, .value-item:hover, .method-step:hover {
        transform: none;
    }
    
    .existing-site {
        padding: 3rem 1rem;
        margin-top: 60px;
    }
    
    .existing-site-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .existing-site-text h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .existing-site-text .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .problem-item {
        padding: 1rem;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .problem-item:hover {
        transform: none;
    }
    
    .problem-icon {
        font-size: 1.3rem;
    }
    
    .problem-item p {
        font-size: 0.95rem;
    }
    
    .existing-site-cta {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .existing-site-cta h3 {
        font-size: 1.4rem;
    }
    
    .existing-site-cta p {
        font-size: 0.95rem;
    }
    
    .existing-site-cta .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .comparison-box {
        padding: 1.2rem;
        border-radius: 16px;
    }
    
    .before-box,
    .after-box {
        min-width: 100%;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .before-box:hover,
    .after-box:hover {
        transform: none;
    }
    
    .arrow-transform {
        font-size: 2rem;
    }
    
    .cta2-section {
        padding: 40px 20px 20px;
        margin: 40px 0 30px;
    }
    
    .cta2-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cta2-title {
        font-size: 2rem;
    }
    
    .cta2-subtitle {
        font-size: 1.1rem;
    }
    
    .primary-cta2 {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta2-button {
        min-height: 60px;
        padding: 15px 20px;
    }
    
    .success-animation {
        width: 150px;
        height: 150px;
    }
    
    .success-circle {
        width: 80px;
        height: 80px;
    }
    
    .success-icon {
        font-size: 2em;
    }
    
    .urgency-banner {
        margin: 30px -20px -20px;
        padding: 15px 20px;
    }
    
    .urgency-content {
        font-size: 0.95rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .fixed-check-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: transparent;
        padding: 0.5rem 1rem;
        box-shadow: none;
        z-index: 1200;
        display: flex;
    }
    
    .fixed-check-footer .cta-button {
        width: 70%;
        max-width: 280px;
        border-radius: 30px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        box-shadow: none;
    }
    
    body {
        padding-bottom: 50px;
    }
}

/* Mobile Small (≤480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .nav-links a {
        font-size: 1rem;
    }
    
    .hamburger-btn {
        width: 35px;
        height: 20px;
    }
    
    .hamburger-btn span {
        height: 2px;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 4.5vw, 1.8rem);
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .cta-button, .cta-secondary {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .service-card, .value-item, .method-step {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
        font-size: 1.3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .existing-site-text h2 {
        font-size: 1.6rem;
    }
    
    .existing-site-text .lead {
        font-size: 0.9rem;
    }
    
    .problem-item {
        padding: 0.8rem;
        gap: 10px;
    }
    
    .problem-icon {
        font-size: 1.2rem;
    }
    
    .problem-item p {
        font-size: 0.9rem;
    }
    
    .existing-site-cta {
        padding: 1.2rem;
    }
    
    .existing-site-cta h3 {
        font-size: 1.2rem;
    }
    
    .existing-site-cta p {
        font-size: 0.9rem;
    }
    
    .existing-site-cta .cta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .comparison-box {
        padding: 1rem;
    }
    
    .before-box,
    .after-box {
        padding: 1.2rem;
    }
    
    .before-box h4,
    .after-box h4 {
        font-size: 1.2rem;
    }
    
    .before-box li,
    .after-box li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    .cta2-title {
        font-size: 1.8rem;
    }
    
    .benefit-item {
        font-size: 1rem;
    }
    
    .button-text strong {
        font-size: 1rem;
    }
}

/* Hide fixed-check-footer on desktop */
@media (min-width: 769px) {
    .fixed-check-footer {
        display: none !important;
    }
    
    .header .cta-button {
        display: inline-block !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .floating-shapes {
        display: none;
    }
}

@media (prefers-contrast: high) {
    .hero {
        color: #000;
        background: #fff;
    }
    .hero-bg {
        display: none;
    }
}

/* Nasconde il bottone flottante di Iubenda */
#iubenda-cs-banner,
.iubenda-cs-banner,
.iubenda-cs-floating,
.iubenda-tp-btn,
.iubenda-uspr-btn {
    display: none !important;
}

/* ====================================
   STILI SPECIFICI PAGINA CHI SIAMO
   ==================================== */

body.chi-siamo {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f5faff;
    color: #333;
}

.chi-siamo .container {
    max-width: 1100px;
    padding: 40px 20px;
}

.chi-siamo h1 {
    font-size: 40px;
    margin: 0;
    text-align: center;
    color: #0056b3;
}

.chi-siamo .subtitle {
    text-align: center;
    font-size: 20px;
    color: #444;
    margin: 10px 0 40px;
}

.chi-siamo .section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.chi-siamo .section img {
    width: 240px;
    max-width: 100%;
    border-radius: 50%;
}

.chi-siamo .section-content {
    flex: 1;
}

.chi-siamo .section-content p {
    margin: 12px 0;
    font-size: 17px;
}

.chi-siamo .section-content strong {
    color: #0056b3;
}

.chi-siamo .cta {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}

.chi-siamo .cta h2 {
    color: #0056b3;
    margin-top: 0;
}

.chi-siamo .cta a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .chi-siamo .section {
        flex-direction: column;
        text-align: center;
    }

    .chi-siamo .section img {
        margin-bottom: 20px;
    }
}

