/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --dark-secondary: #1e293b;
    --light-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
    height: auto;
    min-height: 80px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar.scrolled .nav-wrapper {
    padding: 0.5rem 0;
}

.navbar.scrolled .logo-image {
    height: 60px;
    transition: height 0.3s ease;
}

.navbar.scrolled .nav-menu {
    gap: 1.5rem;
}

.navbar.scrolled .nav-menu a {
    font-size: 0.9rem;
}


.nav-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
    transition: padding 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: auto;
    width: auto;
    padding: 0;
    background: none;
    border: none;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: none;
}

.logo-image {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
    background: none;
    border: none;
    padding: 0;
}

.navbar.scrolled .logo-image {
    height: 80px;
}

.logo-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    transition: gap 0.3s ease;
}

.nav-menu a {
    transition: font-size 0.3s ease;
}

.nav-menu a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-dark);
    font-weight: 700;
}

.btn-contact {
    background: var(--gradient-1);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero .container {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 0;
    margin-top: 80px;
    padding-top: 4rem;
    overflow: hidden;
    background-image: url('/Marco/immagini/hero1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background-image: url('/Marco/immagini/hero1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}


.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5) 0%, rgba(236, 72, 153, 0.5) 100%);
    opacity: 0.8;
    z-index: 2;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
}

.hero-layout-centered {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    text-align: center;
    width: 100%;
}

.hero-layout-centered .hero-content {
    max-width: 700px;
    padding: 4rem 2rem;
    margin: 0 auto;
}

.hero-image-left,
.hero-image-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-marco-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

.hero-marco-image:hover {
    transform: scale(1.05);
}

.hero-image-right .hero-marco-image {
    transform: scaleX(-1);
}

.hero-image-right .hero-marco-image:hover {
    transform: scaleX(-1) scale(1.05);
}

.hero-content {
    text-align: center;
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-line.highlight {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #ffffff;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(245, 4, 4, 0.95);
    color: var(--primary-color);
    border: 2px solid #ffffff;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #e64d4d;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1.2s forwards;
    opacity: 0;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--text-secondary);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ============================================
   SERVICES PREVIEW
   ============================================ */
.services-preview {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.9) 100%);
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.services-grid-ecommerce {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: stretch;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card-minimal {
    background: white;
    border-radius: 0px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 254, 254, 0.05);
}

.service-card-minimal:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.service-image-minimal {
    width: 100%;
    height: 140px;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-minimal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-minimal:hover .service-image-minimal img {
    transform: scale(1.05);
}

.service-card-ecommerce {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
    flex: 1 1 280px;
    max-width: 380px;
}

.service-card-ecommerce:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.3);
}

.service-image-ecommerce {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f0;
    position: relative;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
    border: none;
    box-shadow: none;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-ecommerce:hover .service-image-ecommerce {
    height: 200px;
}

.service-image-ecommerce img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-ecommerce:hover .service-image-ecommerce img {
    transform: scale(1.1);
}

.service-info-ecommerce {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.service-info-ecommerce h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e293b;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card-ecommerce:hover .service-info-ecommerce h3 {
    color: var(--primary-color);
}

.service-info-ecommerce p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-link-ecommerce {
    color: #2563eb;
    background: transparent;
    text-decoration: underline;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    border-radius: 0;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
    display: inline-block;
    text-decoration-color: rgba(37, 99, 235, 0.4);
    text-underline-offset: 3px;
}

.service-link-ecommerce:hover {
    color: #1e40af;
    text-decoration-color: #1e40af;
    transform: translateX(3px);
}

.service-content-minimal {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-content-minimal h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.service-content-minimal p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.85rem;
}

.service-link-minimal {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration-color: rgba(99, 102, 241, 0.3);
}

.service-link-minimal:hover {
    color: var(--primary-dark);
    text-decoration-color: var(--primary-dark);
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    flex-grow: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.service-link:hover {
    transform: translateX(5px);
    color: var(--primary-dark);
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-preview::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.visual-card {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: pulse 3s infinite;
}

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

.card-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 30px;
    opacity: 0.5;
    filter: blur(30px);
    z-index: -1;
    animation: glow 3s infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.card-content {
    text-align: center;
    color: white;
}

.card-number {
    font-size: 4rem;
    font-weight: 900;
    display: block;
}

.card-label {
    font-size: 1.2rem;
    font-weight: 300;
    display: block;
    margin-top: 0.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 6rem 0;
    background: var(--dark-bg);
    color: white;
}

.contact-page {
    padding: 4rem 0;
}

.contact-page .contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-page .contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-page .contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-page .contact-details {
    margin-bottom: 3rem;
}

.contact-page .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.contact-page .contact-item .contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.contact-page .contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-page .contact-item strong {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-page .contact-item span {
    color: var(--text-secondary);
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-page .contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-page .contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-page .form-group input,
.contact-page .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: var(--light-bg);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-page .form-group input::placeholder,
.contact-page .form-group textarea::placeholder {
    color: var(--text-light);
}

.contact-page .form-group input:focus,
.contact-page .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.experience-section {
    margin: 4rem 0;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.experience-section h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.experience-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.experience-list {
    list-style: none;
    margin: 1.5rem 0;
}

.experience-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.8;
}

.experience-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.experience-list li strong {
    color: var(--text-primary);
}

.contact .section-title {
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgb(7, 3, 3);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-secondary);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
}

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

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

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-social .social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-social .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-social .social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-social .social-link i {
    font-size: 1.25rem;
}

.contact-social .social-link.social-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.contact-social .social-link.social-linkedin:hover {
    background: linear-gradient(135deg, #005885 0%, #004d6b 100%);
}

.contact-social .social-link.social-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-social .social-link.social-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0d6e5f 100%);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */
.page-hero {
    padding: 6rem 0;
    margin-top: 80px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    background-image: url('/Marco/immagini/AI.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
}

.hero-ai {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    background-image: url('/Marco/immagini/AI.png'), linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    background-size: cover, cover;
    background-position: center, center;
    background-blend-mode: overlay;
}

.hero-sport {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-image: url('/Marco/immagini/hero_img.png'), linear-gradient(135deg, rgba(240, 147, 251, 0.7) 0%, rgba(245, 87, 108, 0.7) 100%);
    background-size: cover, cover;
    background-position: center, center;
    background-blend-mode: overlay;
}

.hero-editorial {
    background-image: url('/Marco/immagini/hero1.png'), linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    background-size: cover, cover;
    background-position: center, center;
    background-blend-mode: overlay;
    background-image: none !important;
}

.hero-esg {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.7) 0%, rgba(5, 150, 105, 0.7) 100%);
    background-image: url('/Marco/immagini/Esg.png'), linear-gradient(135deg, rgba(16, 185, 129, 0.7) 0%, rgba(5, 150, 105, 0.7) 100%);
    background-size: cover, cover;
    background-position: center, center;
    background-blend-mode: overlay;
}

/* Hero Blog - immagine unica senza tiling */
.hero-blog {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
}

.hero-blog::after {
    display: none;
}

/* Hero Contatti */
.hero-contatti {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
}

.hero-contatti::after {
    display: none;
}

/* ============================================
   PAGE CONTENT SECTIONS
   ============================================ */
.about-detail,
.service-page,
.services-detail {
    padding: 4rem 0;
}

.service-intro,
.services-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.service-intro h2,
.services-intro h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 100px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.profile-image {
    width: 400px;
    max-width: 100%;
    height: 400px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: block;
    margin: 0 auto;
}

.placeholder-content {
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.about-description h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-description .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.story-section,
.values-section,
.experience-section,
.cta-section {
    margin-bottom: 3rem;
}

.story-section h3,
.values-section h3,
.experience-section h3,
.cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.story-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.experience-list:last-child {
    margin-bottom: 0;
}

.experience-list > h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 1rem;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4,
.timeline-content strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
}

.roles-list {
    list-style: none;
    padding-left: 0;
}

.roles-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.roles-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
}

.timeline-bullets li {
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.timeline-bullets li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.75rem;
}

/* ============================================
   SERVICE DETAIL CARDS
   ============================================ */
.service-detail-card {
    margin-bottom: 4rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.service-detail-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
}

.service-detail-content.reverse {
    grid-template-columns: 1fr auto;
}

.service-detail-content.reverse .service-detail-icon {
    order: 2;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
}

.service-detail-text h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.additional-services {
    margin-top: 4rem;
}

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

.additional-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.additional-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.additional-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.additional-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    margin: 4rem 0;
}

.features-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    margin: 4rem 0;
}

.process-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    margin: 4rem 0;
}

.benefits-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.benefit-check {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   CASE STUDY SECTION
   ============================================ */
.case-study-section {
    margin: 4rem 0;
}

.case-study-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.case-study-card {
    background: var(--gradient-1);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    box-shadow: var(--shadow-xl);
}

.case-study-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.case-study-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.case-study-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.case-stat {
    text-align: center;
}

.case-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.case-stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   SPORTS SECTION
   ============================================ */
.sports-section,
.editorial-types {
    margin: 4rem 0;
}

.sports-section h2,
.editorial-types h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.sport-item,
.type-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sport-item:hover,
.type-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-1);
    color: white;
}

.type-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.type-item:hover h4 {
    color: white;
}

.type-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.type-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   CTA BOX
   ============================================ */
.cta-box {
    background: var(--gradient-1);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin: 4rem 0;
    box-shadow: var(--shadow-xl);
}

.cta-box h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-section-home {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid-ecommerce .service-card-ecommerce {
        flex: 1 1 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
}

@media (max-width: 768px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }
    
    .hero-image-left,
    .hero-image-right {
        display: none;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
    .hamburger {
        display: flex;
    }

    .logo {
        height: auto;
    }

    .logo-image {
        height: 80px;
    }

    .nav-wrapper {
        gap: 1rem;
    }

    .nav-wrapper::before {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

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

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

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

    .hero-stats {
        gap: 2rem;
    }

    .about-content,
    .contact-wrapper,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-image {
        position: static;
    }
    
    .profile-image {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

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

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

    .service-detail-content.reverse .service-detail-icon {
        order: 0;
    }

    .case-study-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .services-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .services-grid-ecommerce .service-card-ecommerce {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .service-image-ecommerce {
        height: 200px;
    }
    
    .service-card-ecommerce:hover {
        transform: translateY(-5px) scale(1.02) !important;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .services-grid,
    .services-grid-4,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-image-minimal {
        height: 120px;
    }
}

/* ============================================
   LEGAL PAGES (Privacy, Termini)
   ============================================ */
.legal-page {
    padding: 3rem 0 4rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.legal-content h2:first-of-type {
    margin-top: 1rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-content ul {
    padding-left: 1.5rem;
}

