/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e60012;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-dark: #1a1a1a;
    --shadow: rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--black);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 10, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.logo .highlight {
    color: var(--primary-color);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 50px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    overflow: hidden;
    transform: translateZ(0); /* Hardware acceleration */
    backface-visibility: hidden;
}

/* Fondo animado con partículas y efectos de IA - OPTIMIZADO */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(230, 0, 18, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(230, 0, 18, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(230, 0, 18, 0.06) 0%, transparent 30%);
    animation: pulseGlow 10s ease-in-out infinite;
    will-change: opacity;
}

/* Grid neural network effect - OPTIMIZADO */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(230, 0, 18, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 0, 18, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
    opacity: 0.4;
    will-change: transform;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 10, 10, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Partículas flotantes - REDUCIDAS Y OPTIMIZADAS */
.hero-overlay::before,
.hero-overlay::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 0, 18, 0.3), transparent 70%);
    animation: floatParticle 20s infinite ease-in-out;
    will-change: transform, opacity;
}

.hero-overlay::before {
    width: 250px;
    height: 250px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    filter: blur(50px);
}

.hero-overlay::after {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
    filter: blur(60px);
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.25;
    }
    50% {
        transform: translate(30px, -30px) scale(1.05);
        opacity: 0.4;
    }
}

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

.hero-logo {
    max-width: 450px;
    width: 90%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 40px rgba(230, 0, 18, 0.5)) drop-shadow(0 0 60px rgba(230, 0, 18, 0.3));
    animation: fadeInUp 1s ease-out, float 4s ease-in-out infinite, logoGlow 4s ease-in-out infinite alternate;
    will-change: transform, filter;
}

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

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 10px 40px rgba(230, 0, 18, 0.4)) drop-shadow(0 0 50px rgba(230, 0, 18, 0.25));
    }
    100% {
        filter: drop-shadow(0 12px 45px rgba(230, 0, 18, 0.6)) drop-shadow(0 0 70px rgba(230, 0, 18, 0.4));
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title .highlight {
    color: var(--primary-color);
    display: block;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(230, 0, 18, 0.4);
}

.btn-primary:hover {
    background: #c20010;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 0, 18, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

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

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scrollIndicator 2s infinite;
}

/* Secciones */
section {
    padding: 100px 0;
}

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

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title .highlight {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    font-weight: 300;
}

/* Servicios */
.services {
    background: var(--gray-light);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-checkbox {
    display: none;
}

.service-label {
    display: block;
    cursor: pointer;
    height: 100%;
}

.select-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--gray-light);
    color: var(--black);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.service-checkbox:checked + .service-label .select-badge {
    background: var(--primary-color);
    color: var(--white);
}

.service-checkbox:checked + .service-label .select-badge::before {
    content: '✓ ';
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-checkbox:checked ~ .service-card::before,
.service-checkbox:checked + .service-label::before {
    transform: scaleX(1);
}

.service-checkbox:checked + .service-label {
    background: rgba(230, 0, 18, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(230, 0, 18, 0.15);
}

.service-card.selected {
    border: 2px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(230, 0, 18, 0.25);
    transform: translateY(-5px);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ff1a2e);
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

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

.service-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Botón flotante de cotización */
.quote-button-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: slideInUp 0.5s ease-out;
}

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

.quote-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-button:hover {
    background: #20ba5a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.quote-button:active {
    transform: translateY(-1px) scale(1.02);
}

.quote-button svg {
    width: 28px;
    height: 28px;
    animation: pulse 2s infinite;
}

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

.quote-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: var(--white);
    color: #25D366;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0 0.4rem;
}

.quote-text {
    font-size: 0.95rem;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: slideInLeft 0.5s ease-out, floatWhatsApp 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

/* Galería - Carrusel Infinito */
.gallery {
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    padding: 4rem 0;
}

.gallery .section-title {
    color: var(--white);
}

.gallery .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.carousel-wrapper {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.carousel-slide {
    flex-shrink: 0;
    width: 280px;
}

.carousel-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.carousel-slide:hover .carousel-image {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(230, 0, 18, 0.6);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(230, 0, 18, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Ocultamos los botones para animación automática */
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.carousel-button:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(230, 0, 18, 0.5);
}

.carousel-button svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.carousel-button-prev {
    left: 20px;
}

.carousel-button-next {
    right: 20px;
}

.carousel-indicators {
    display: none;
}

/* Responsive Carousel */
@media (max-width: 968px) {
    .carousel-slide {
        width: 220px;
    }
    
    .carousel-image {
        height: 220px;
    }
    
    .carousel-track {
        gap: 15px;
        animation: scroll 30s linear infinite;
    }
}

@media (max-width: 640px) {
    .carousel-slide {
        width: 180px;
    }
    
    .carousel-image {
        height: 180px;
        border-radius: 12px;
    }
    
    .carousel-track {
        gap: 12px;
        animation: scroll 25s linear infinite;
    }
    
    .carousel-button {
        width: 40px;
        height: 40px;
    }
    
    .carousel-button svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-button-prev {
        left: 10px;
    }
    
    .carousel-button-next {
        right: 10px;
    }
}

/* Nosotros */
.about {
    background: var(--white);
}

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

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.feature-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.about-image-main:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(230, 0, 18, 0.3);
}

/* Contacto */
.contact {
    background: var(--gray-light);
}

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

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

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 0, 18, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
}

.info-icon svg {
    width: 30px;
    height: 30px;
}

.info-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.social-links {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.social-links h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px) rotate(360deg);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links h4,
.footer-services h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-services li {
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(230, 0, 18, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(230, 0, 18, 0.8), 0 0 40px rgba(230, 0, 18, 0.6);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 968px) {
    /* Reducir animaciones en móvil para mejor performance */
    .hero::after {
        animation: gridMove 40s linear infinite;
        opacity: 0.3;
    }
    
    .hero-overlay::before,
    .hero-overlay::after {
        animation-duration: 25s;
        filter: blur(40px);
    }
    
    .hero-logo {
        animation: fadeInUp 1s ease-out, float 5s ease-in-out infinite;
        max-width: 350px;
    }
    
    @keyframes float {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-8px);
        }
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--black);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    /* Desactivar partículas grandes en móvil pequeño */
    .hero-overlay::before,
    .hero-overlay::after {
        display: none;
    }
    
    .hero::before {
        animation: none;
        opacity: 0.8;
    }
    
    .hero::after {
        animation: none;
        opacity: 0.2;
    }
    
    .hero-logo {
        max-width: 280px;
        animation: fadeInUp 1s ease-out;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Botón de cotización responsive */
    .quote-button-container {
        bottom: 20px;
        right: 20px;
        left: auto;
    }
    
    .quote-button {
        width: auto;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .quote-text {
        font-size: 0.85rem;
    }
    
    .quote-button svg {
        width: 24px;
        height: 24px;
    }

    /* Botón de WhatsApp responsive */
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 60px;
        height: 60px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}
