* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slide {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

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

.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-up.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

header {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    color: white;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

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

.logo-header img {
    height: 60px;
    width: auto;
}

.phone-header {
    font-size: 1.5rem;
    font-weight: bold;
}

.phone-header a {
    color: #00e676;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-header a:hover {
    color: #69f0ae;
    transform: scale(1.05);
}

.phone-header i {
    animation: pulse 2s infinite;
}

.hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,230,118,0.3)), url('images/equipo.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 150px 20px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(0,230,118,0.1) 50%, transparent 52%);
    background-size: 20px 20px;
    animation: slide 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #00e676 0%, #00c853 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,230,118,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

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

.btn:hover {
    background: linear-gradient(135deg, #69f0ae 0%, #00e676 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,230,118,0.6);
}

.btn:active {
    transform: translateY(-1px);
}

.section {
    padding: 80px 20px;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #1a1a1a;
    font-weight: 900;
    position: relative;
    display: inline-block;
    width: 100%;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00e676, #00c853);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.servicio-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.servicio-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00e676, #00c853);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,230,118,0.2);
    border-color: #00e676;
}

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

.servicio-card .icon {
    font-size: 3rem;
    color: #00e676;
    margin-bottom: 20px;
    display: block;
}

.servicio-card h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
}

.servicio-card p {
    color: #666;
    line-height: 1.7;
}

.equipo-specs {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid #f0f0f0;
}

.equipo-specs ul {
    list-style: none;
    padding: 0;
}

.equipo-specs li {
    padding: 20px;
    border-bottom: 1px solid #eee;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.equipo-specs li:hover {
    background: #f8fff9;
    padding-left: 30px;
    border-left: 4px solid #00e676;
}

.equipo-specs li:last-child {
    border-bottom: none;
}

.equipo-specs li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #00e676;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Galería */
.galeria {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
}

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

.galeria-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

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

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

/* Video placeholder */
.video-container {
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    background: #000;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-placeholder {
    text-align: center;
    color: white;
    padding: 40px;
}

.video-placeholder i {
    font-size: 4rem;
    color: #00e676;
    margin-bottom: 20px;
}

.video-placeholder p {
    font-size: 1.2rem;
    color: #999;
}

.cobertura {
    text-align: center;
    background: linear-gradient(135deg, #0a6b2f 0%, #084d22 100%);
    color: white;
}

.cobertura h2 {
    color: #ffffff;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.7);
}

.cobertura h2:after {
    background: white;
    box-shadow: 0 2px 10px rgba(255,255,255,0.5);
}

.cobertura p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 20px auto;
    line-height: 1.9;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.contacto {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contacto:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,230,118,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.contacto h2 {
    color: white;
    position: relative;
    z-index: 1;
}

.contacto h2:after {
    background: linear-gradient(90deg, #00e676, #00c853);
}

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

.contacto-info {
    font-size: 2.5rem;
    margin: 40px 0;
}

.contacto-info a {
    color: #00e676;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.contacto-info a:hover {
    color: #69f0ae;
    transform: scale(1.05);
}

footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .phone-header {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .logo-header {
        flex-direction: column;
        gap: 15px;
    }

    .logo-header img {
        height: 50px;
    }
}
