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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
}

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

/* Floating Particles */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 8s linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    animation: logo-pulse 4s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.1); }
    50% { transform: rotate(-5deg) scale(1.05); }
    75% { transform: rotate(3deg) scale(1.08); }
}

.logo-icon svg {
    color: white;
    width: 32px;
    height: 32px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Phone Button - Desktop */
.phone-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .phone-desktop {
        display: block;
    }
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: phone-glow 2s ease-in-out infinite;
}

@keyframes phone-glow {
    0%, 100% { box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 12px 48px rgba(16, 185, 129, 0.6); }
}

.phone-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 64px rgba(16, 185, 129, 0.5);
}

.phone-btn svg {
    animation: phone-ring 2s ease-in-out infinite;
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

/* Navigation - Desktop */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
}

.nav-link:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu h3 {
    padding: 16px 20px 12px;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.comuni-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.comuni-grid a {
    display: block;
    padding: 8px 12px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.comuni-grid a:hover {
    background: #dbeafe;
    color: #3b82f6;
    transform: translateX(4px);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border: none;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #3b82f6;
}

.mobile-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
    margin-top: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.8) 0%, 
        rgba(79, 70, 229, 0.8) 50%, 
        rgba(139, 92, 246, 0.8) 100%);
}

.floating-shapes {
    position: absolute;
    inset: 0;
    z-index: -1;
}

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

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.3));
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    bottom: 10%;
    right: 10%;
    animation-delay: -2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    top: 50%;
    left: 50%;
    animation-delay: -4s;
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(30px, -30px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-20px, 20px) rotate(180deg) scale(0.9); }
    75% { transform: translate(20px, -10px) rotate(270deg) scale(1.05); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    animation: hero-entrance 1s ease-out;
}

@keyframes hero-entrance {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-icon {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    padding: 24px;
    border-radius: 24px;
    display: inline-block;
    margin-bottom: 32px;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
    animation: hero-icon-float 6s ease-in-out infinite;
}

@keyframes hero-icon-float {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.1); }
    50% { transform: rotate(-5deg) scale(1.05); }
    75% { transform: rotate(3deg) scale(1.08); }
}

.hero-icon svg {
    color: white;
    width: 80px;
    height: 80px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: white;
    font-size: clamp(2rem, 6vw, 4rem);
    display: block;
    margin-top: 16px;
}

.hero-description {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: white;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 12px 48px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 64px rgba(16, 185, 129, 0.5);
}

.btn-phone {
    animation: phone-pulse 2s ease-in-out infinite;
}

@keyframes phone-pulse {
    0%, 100% { box-shadow: 0 12px 48px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 20px 64px rgba(16, 185, 129, 0.6); }
}

.phone-number {
    font-size: 24px;
    font-weight: 900;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 48px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: white;
    border-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 20px 64px rgba(255, 255, 255, 0.4);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: feature-float 3s ease-in-out infinite;
}

.feature-1 { animation-delay: 0s; }
.feature-2 { animation-delay: 0.5s; }
.feature-3 { animation-delay: 1s; }
.feature-4 { animation-delay: 1.5s; }

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

.feature-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    padding: 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.feature-icon svg {
    color: white;
}

.feature-card p {
    font-weight: 700;
    color: #1f2937;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 20px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
    animation: progress-bar 2s ease-out;
}

@keyframes progress-bar {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

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

.service-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: service-entrance 0.8s ease-out;
}

@keyframes service-entrance {
    0% {
        opacity: 0;
        transform: translateY(100px) rotateY(-15deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateY(0);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: scale(1.02) rotateY(5deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.service-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 24px;
    animation: service-icon-bounce 4s ease-in-out infinite;
}

@keyframes service-icon-bounce {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.1); }
    50% { transform: rotate(-10deg) scale(1.05); }
    75% { transform: rotate(5deg) scale(1.08); }
}

.service-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
    text-align: center;
}

.service-card p {
    color: #64748b;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #374151;
    font-size: 14px;
    opacity: 0;
    animation: feature-slide-in 0.5s ease-out forwards;
}

.service-features li:nth-child(1) { animation-delay: 0.1s; }
.service-features li:nth-child(2) { animation-delay: 0.2s; }
.service-features li:nth-child(3) { animation-delay: 0.3s; }
.service-features li:nth-child(4) { animation-delay: 0.4s; }

@keyframes feature-slide-in {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-features svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: gallery-entrance 0.8s ease-out;
}

@keyframes gallery-entrance {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateY(-15deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0);
    }
}

.gallery-item:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 32px 24px 24px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: #cbd5e1;
    font-size: 14px;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: why-us-float-1 12s ease-in-out infinite;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    animation: why-us-float-2 10s ease-in-out infinite;
}

@keyframes why-us-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, -50px) scale(1.2); }
}

@keyframes why-us-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1.2); }
    50% { transform: translate(-80px, 30px) scale(1); }
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 10;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: why-us-entrance 0.8s ease-out;
}

@keyframes why-us-entrance {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-us-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.why-us-icon {
    font-size: 64px;
    margin-bottom: 24px;
    animation: why-us-icon-spin 5s ease-in-out infinite;
}

@keyframes why-us-icon-spin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(15deg) scale(1.2); }
    50% { transform: rotate(-15deg) scale(1.1); }
    75% { transform: rotate(10deg) scale(1.15); }
}

.why-us-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.why-us-card p {
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.6;
}

.why-us-stat {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: stat-pulse 2s ease-in-out infinite;
}

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

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 10;
    animation: cta-entrance 0.8s ease-out;
}

@keyframes cta-entrance {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 24px;
    animation: cta-title-pulse 3s ease-in-out infinite;
}

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

.cta-description {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.btn-cta {
    background: white;
    color: #059669;
    font-size: 20px;
    padding: 20px 40px;
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.3);
    animation: cta-btn-glow 2s ease-in-out infinite;
}

@keyframes cta-btn-glow {
    0%, 100% { box-shadow: 0 16px 48px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 24px 64px rgba(255, 255, 255, 0.5); }
}

.btn-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 24px 64px rgba(255, 255, 255, 0.4);
}

.cta-phone {
    font-size: 32px;
    font-weight: 900;
}

.btn-whatsapp {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-whatsapp:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.05);
}

.cta-features {
    font-size: 18px;
    opacity: 0.8;
    animation: cta-features-fade 1s ease-out 0.5s both;
}

@keyframes cta-features-fade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 0.8; transform: translateY(0); }
}

/* Floating Buttons */
.whatsapp-float, .call-float {
    position: fixed;
    bottom: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-bounce 3s ease-in-out infinite;
}

.whatsapp-float {
    right: 24px;
    background: #25d366;
    color: white;
}

.call-float {
    left: 24px;
    background: #3b82f6;
    color: white;
    display: none;
}

@media (max-width: 1023px) {
    .call-float {
        display: flex;
    }
}

@keyframes float-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(0) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(3deg); }
}

.whatsapp-float:hover, .call-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    padding: 64px 0 24px;
}

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

.footer-section {
    animation: footer-entrance 0.8s ease-out;
}

@keyframes footer-entrance {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-description {
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-btn {
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-btn-call {
    background: #10b981;
    color: white;
}

.footer-btn-whatsapp {
    background: #3b82f6;
    color: white;
}

.footer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.footer-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    color: #cbd5e1;
}

.footer-list li {
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-list li:hover {
    color: white;
}

.footer-contact {
    color: #cbd5e1;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.phone-highlight {
    color: #10b981;
    font-weight: 900;
    font-size: 20px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

/* Print Styles */
@media print {
    .header, .whatsapp-float, .call-float, .floating-shapes, #particles-container {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        min-height: auto !important;
        padding: 20px 0 !important;
    }
}