/* ------------------------------- */
/* RESET GENERAL Y CONTENEDORES   */
/* ------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* ------------------------------- */
/* HERO                           */
/* ------------------------------- */

/* ------------------------------- */
/* INTRODUCCIÃ“N                   */
/* ------------------------------- */
.introduccion-movimiento {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.introduccion-movimiento:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    opacity: 0.8;
}
.intro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: #222;
    position: relative;
}

.intro-content h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff0000;
}

.intro-content p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ------------------------------- */
/* VIDEO                          */
/* ------------------------------- */
.video-movimiento {
    padding: 80px 20px;
    background-color: #222;
    color: white;
    text-align: center;
}

.video-content {
    max-width: 1200px;
    margin: 0 auto;
}

.video-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    position: relative;
}

.video-content h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff0000;
}

.video-content p {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.video-container video {
    width: 100%;
    display: block;
}

/* ------------------------------- */
/* SERVICIOS                      */
/* ------------------------------- */
.servicios-movimiento {
    padding: 100px 20px;
    background-color: #f9f9f9;
    text-align: center;
    position: relative;
    background-image: url('../img/pattern-light.png');
    background-size: 200px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(249, 249, 249, 0.85);
    z-index: 1;
}

.servicios-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.servicios-content h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    color: #222;
    position: relative;
}

.servicios-content h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff0000;
}

.servicios-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.servicio {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px 20px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
}

.servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.servicio-icon {
    background-color: rgba(255, 0, 0, 0.1);
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s;
}

.servicio:hover .servicio-icon {
    background-color: rgba(255, 0, 0, 0.2);
    transform: scale(1.1);
}

.servicio i {
    color: #ff0000;
    font-size: 2.5rem;
    transition: all 0.4s;
}

.servicio:hover i {
    color: #ff3333;
}

.servicio h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #222;
}

.servicio:hover h3 {
    color: #ff0000;
}

.servicio p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* ------------------------------- */
/* CTA                            */
/* ------------------------------- */
.cta-movimiento {
    padding: 80px 20px;
    background-color: #222;
    color: white;
    text-align: center;
    background-image: linear-gradient(to right, rgba(34,34,34,0.97), rgba(34,34,34,0.9)), url('../img/bg-cta.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    position: relative;
}

.cta-content h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff0000;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    background-color: #d30000;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* ------------------------------- */
/* FADE-IN ANIMATION              */
/* ------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------- */
/* RESPONSIVE DESIGN              */
/* ------------------------------- */
@media (max-width: 992px) {
    .hero {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p,
    .intro-content p,
    .video-content p,
    .cta-content p {
        font-size: 1rem;
    }

    .intro-content h2,
    .video-content h2,
    .cta-content h2,
    .servicios-content h2 {
        font-size: 2rem;
    }

    .servicios-list {
        flex-direction: column;
    }

    .servicio {
        max-width: 100%;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .cta-movimiento {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .servicio h3 {
        font-size: 1.4rem;
    }
}