/* Configuración inicial */
@charset "UTF-8"; /* Asegura la codificación de caracteres */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* Configuración para HTML5 */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Unbounded:wght@200..900&display=swap');

@font-face {
    font-family: 'Nouvelle';
    src: url('../fonts/nouvelle.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RocNormal';
    src: url('../fonts/rocnormal.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RocBold';
    src: url('../fonts/rocbold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html    {
    width: 100vw;
    overflow-x: hidden;
    scroll-behavior: auto; /* Por defecto desactivado */
}

body {
    width: 100vw;
    line-height: 1;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #ff1c50;
    color: #000000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Reset para listas */
ol, ul {
    list-style: none;
}

/* Reset para enlaces */
a {
    text-decoration: none;
    color: inherit;
}

/* Reset para imágenes */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tablas */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* General */
:root {
    --primary-color: #ff1c50;
    --secondary-color: #06040c;
    --text-color: #333333;
}



header{
    background: #ff1c50;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: absolute; /* No afecta al flujo del documento */
    top: 0;
    left: 0;
    z-index: 10; /* Asegura que esté en frente si hay superposición */
}

    header img {
        width: 8%;
        max-width: 200px; /* Tamaño máximo para que no se haga demasiado grande */
        min-width: 100px; /* Tamaño mínimo para que no se haga demasiado pequeño */
        height: auto; /* Mantiene la proporción de la imagen */
    }

.container { /* Asegúrate de usar el contenedor que envuelve los bloques */
    scroll-snap-type: y mandatory; /* Aplica el efecto de snap en el eje Y */
    overflow-y: scroll;
    height: 100vh;
    scroll-behavior: smooth; /* Smooth scrolling nativo de CSS */
    padding-top: 120px; /* Ajuste según la altura del header */
}

section {
    height: 100vh; /* Ajusta la altura al 100% de la pantalla menos el header */
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.intro-wrap, .services, .plans, .clients, .contact {
    overflow-x: hidden;
}

/* Estilos para la sección de intro */
.intro {
    background-color: #FFF;
}

.intro-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1024px;
    margin: 0 auto;
    gap: 30px;
    padding: 20px;
    padding-top: 40px;
}

.intro-text {
    width: 45%;
    text-align: center; /* Centra el contenido dentro de intro-text */
}

.intro-text h1 {
    font-size: 5.2rem;
    color: #ff1c50;
    margin-bottom: 30px;
    font-family: "Nouvelle", serif;
    line-height: 50pt;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 3%;
}

.intro-text p strong {
    font-weight: bold;
}

.intro-text a {
    border-radius: 10px;
    background-color: #090611;
    font-family: "RocNormal", sans-serif;
    font-size: 1em;
    padding: 20px 14px;
    color: #FFF;
    margin-top: 20px;
    margin-left: 25%;
    display: flex;
    justify-content: center;
    width: 50%;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease; /* tiempo y tipo de transición */
}

.intro-text a:hover {
    background-color: #ff1c50;
}

.intro-text a i {
    margin-left:  10px;
}

.intro-image {
    width: 55%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-image .circle-bg {
    position: absolute;
    width: 90%; /* Tamaño del círculo en relación al contenedor de la imagen */
    padding-top: 90%; /* Hace que el alto sea igual al ancho, manteniendo la forma circular */
    background-color: #e50650;
    background-image: url(../images/back-plans.jpg);
    border-radius: 50%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el círculo en el contenedor */
}

.intro-image img {
    position: relative;
    width: 90%;
    max-width: 600px;
    z-index: 1;
    margin-left: 18%;
}

.intro-image video {
    position: relative;
    width: 90%;
    max-width: 600px;
    z-index: 1;
    margin-left: 18%;
}


/* Estilos para la sección de servicios */
.services {
    text-align: center;
    padding: 40px 20px;
    background-color: #090611; /* Fondo para diferenciar la sección */
    background-image: url(../images/back-services.jpg);
    flex-direction: column; /* Organización vertical */
    align-items: center;
    padding-top: 100px;
}

.services h2 {
    font-size: 5em;
    margin-bottom: 60px;
    font-family: "Nouvelle", serif;
    font-weight: 600;
    color: #ff1c50;
    text-transform: lowercase;
}

/* Lista de servicios */
.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Espacio entre cada li */
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px; /* Ancho máximo para el contenedor de la lista */
}

.services-list li {
    text-align: center;
    flex: 1 1 250px; /* Asegura que cada item ocupe un ancho mínimo y se ajuste */
    max-width: 500px; /* Tamaño máximo de cada tarjeta */
    flex-direction: column; /* Organización vertical */
    align-items: center;
}

.services-list img {
    width: 250px; /* Tamaño de la imagen */
    height: 250px;
    border-radius: 50%; /* Hace que la imagen sea redonda */
    object-fit: cover; /* Para ajustar la imagen al contenedor */
    margin-bottom: 15px;
    border: 10px solid #FFF;
}

.services-list h3 {
    font-size: 2.5em;
    font-family: "Nouvelle", serif;
    line-height: 33px;
    font-weight: 700;
    margin: 10px;
    color: #ff1c50;
    min-height: 40px;
    display: flex; /* Opcional, para centrar contenido */
    align-items: center; /* Opcional, centra verticalmente el contenido */
    text-transform: lowercase;
}

.services-list p {
    font-size: 1.2em;
    line-height: 1.3;
    color: #CCC;
    max-width: 250px;
    font-weight: 200;
}

.services-list {
    max-width: 1200px;
}

.services-list li {
    width: 30%;
    display: flex;
    color: #FFF;
}

.services-btn a {
    border-radius: 10px;
    background-color: #ff1c50;
    font-family: "RocNormal", sans-serif;
    font-size: 1em;
    padding: 14px;
    color: #FFF;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 250px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease; /* tiempo y tipo de transición */
}

.services-btn a:hover {
    background-color: #FFF;
    color:#090611;
}

/* Estilos para la sección de planes */
.plans {
    background: url(../images/back-plans.jpg); #ff1c50;
    display: flex;
    flex-direction: column; /* Organización vertical */
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    text-align: center; /* Centrado del texto */
    padding-top: 60px;
}

.plans h2 {
    font-size: 5rem;
    margin-bottom: 40px;
    color: #fff;
    font-family: "Nouvelle", serif;
    text-transform: lowercase;
}

.plans-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 20px;
}

.plans-list > li {
    background-color: #FFF;
    flex: 1;
    max-width: 320px;
    border-radius: 1em;
    min-height: 300px;
    display: flex;
    flex-direction: column; /* Organización vertical */
    justify-content: space-between; /* Espacia el contenido entre la parte superior e inferior */
    box-shadow: 0px 0px 10px 2px rgba(185,31,70,0.3);
    
}

.plans-list > li .plans-details {
    flex-grow: 1; /* Para que ocupe el espacio disponible */
    padding: 20px;
    border-bottom: 1px solid #CCC;
    min-height: 200px;
    list-style-type: circle; /* Mostrar bullets */
    padding-left: 48px; /* Espacio a la izquierda para bullets */
    text-align: left; /* Alinear texto a la izquierda */
    font-family: "Inter", sans-serif;
}

.plans-details li {
    margin-bottom: 8px; /* Espacio entre los items */
    line-height: 18px;
}

.plans-list > li h3 {
    padding: 9%;
    font-size: 1.5rem;
    border-bottom: 1px solid #CCC;
    width: 100%;
    text-align: left;
    font-family: "RocNormal", sans-serif;
    font-weight: 800;
}

.plans-list > li h4 {
    padding: 9%;
    font-size: 1.6rem;
    color: #ff1c50;
    width: 100%;
    text-align: left;
    font-family: "RocNormal", sans-serif;
    font-weight: 800;
}

.plans-list > li a {
    width: 100%;
    padding: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-family: "RocNormal", sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    background-color: #080610;
    color: #FFF;
    text-decoration: none;
    border-bottom-left-radius: 0.7em;
    border-bottom-right-radius: 0.7em;
    margin-top: auto; /* Envía el link al fondo del contenedor */
    transition: background-color 0.3s ease, color 0.3s ease; /* tiempo y tipo de transición */
}

.plans-list > li a:hover {
    background-color: #ba1d44;
}

.plans-list img {
    width: 20px;
    height: 20px;
    object-fit: contain; /* Para que los logos mantengan su proporción */
    margin-right: 10px;
}

.plans-custom {
    background-color: #ba1d44;
    color: #FFF;
    padding: 20px;
    border-radius: 1em;
    width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plans-custom p {
    margin: 0;
    text-align: left;
    font-family: "Inter", sans-serif;
    font-size: 1.3em;
    flex: 1;
    padding-left: 10px;
}

.plans-custom-button {
    display: inline-flex;
    background-color: #ff1c50;
    border-radius: 0.7em;
    font-size: 0.9em;
    font-family: "RocNormal", sans-serif;
    text-transform: uppercase;
    padding: 12px;
    text-decoration: none;
    color: #FFF;
    transition: background-color 0.3s ease, color 0.3s ease; /* tiempo y tipo de transición */
}

.plans-custom-button:hover {
    background-color: #FFF;
    color: #ff1c50;
}

/* Estilos para la sección de clientes */
.clients {
    text-align: center;
    padding: 40px 20px;
    background-color: #090611; /* Color de fondo para destacar la sección */
    background: #090611 url(../images/back-clients.jpg) no-repeat center top;
    flex-direction: column; /* Organización vertical */

}

.clients h2 {
    font-size: 2em;
    margin: 10px 0;
    font-family: "Nouvelle", serif;
    font-size: 3em;
    color: #ff1c50;
}

.clients p {
    font-size: 1.1em;
    max-width: 1000px;
    margin: 20px auto; /* Centrar el párrafo */
    line-height: 1.5;
    text-transform: uppercase;
    font-family: "RocNormal", sans-serif;
    font-weight: 200;
    color: #FFF;
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Espacio entre los logos */
    list-style: none;
    padding: 0;
    max-width: 1200px;
    margin-bottom: 60px;
    margin-top: 0;
}

.clients-list li {
    display: inline-flex;
    width: 12%;
    height: 100px;
    /* Ajusta el tamaño de los logos */
}

.clients-list img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Para que los logos mantengan su proporción */

}

.contact {
    text-align: center;
    flex-direction: column; /* Organización vertical */
    background: url(../images/back-contact.jpg) #222;
}

.contact h2 {
    font-size: 7.5em;
    margin-bottom: 20px;
    font-family: "Nouvelle", serif;
    color: #FFF;
    text-transform: lowercase;
    margin-bottom: 30px;
    max-width: 1000px;
    line-height: 90px;
}

.contact-button {
    display: inline-flex; /* Cambiado a inline-flex para alinear ícono y texto horizontalmente */
    align-items: center; /* Centra verticalmente el ícono y el texto */
    color: #FFF;
    padding: 16px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background-color: #ff1c50;
    font-family: "RocNormal", sans-serif;
    text-transform: uppercase;
    font-size: 1.4em;
    transition: background-color 0.3s ease, color 0.3s ease; /* tiempo y tipo de transición */
}

.contact-button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 10px;
}

.contact-button:hover {
    background-color: #ca204a;
}

.contact ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px;
    max-width: 1000px;
}

.contact ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact ul li a {
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact ul li a div  {
    border-radius: 50%;
    background-color: #ff1c50; /* Color de fondo del círculo */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    padding: 30px;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease, color 0.3s ease;  /* tiempo y tipo de transición */

}

.contact ul li a div img {
    width: 90px;
    height: 90px;
    
}

.contact ul li a:hover div {
    background-color: #ca204a;
    border: 10px solid #FFF;
}

.contact ul li p {
    margin-top: 10px;
    font-size: 1em;
    text-align: center;
    color: #FFF;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
    font-weight: 900;
}

/* Estilos básicos del botón */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #670d66 url(../images/back-whatsapp-btn.jpg); /* Verde típico de WhatsApp */
    border-radius: 36px; /* Círculo inicialmente */
    color: white;
    font-weight: bold;
    font-size: 1.4em;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    z-index: 1000; /* Asegura que esté en la parte superior */
    font-family: "Inter", sans-serif;
    width: 230px;
}

/* Efecto hover del botón */
.whatsapp-button:hover {
    transform: scale(1.05);
}

/* Icono de WhatsApp */
.whatsapp-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    animation: pulse 1.5s infinite; /* Animación de pulso */
}

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




/* ESTILOS RESPONSIVE */

/* ---------992px--------*/

/* Ajustes para pantallas de tablet */
@media (max-width: 992px) {
    /* Encabezado */
    header img {
        width: 15%;
    }

/* Sección Intro */
    .intro-wrap {
        flex-direction: column;
        gap: 20px;
    }
    .intro-text h1 {
        font-size: 3rem;
    }

/* Servicios */
    .services h2 {
        font-size: 3em;
    }
    .services-list {
        flex-direction: column;
        gap: 30px;
    }

/* Planes */
    .plans h2 {
        font-size: 3.5rem;
    }
    .plans-list {
        flex-direction: column;
    }

/* Clientes */
    .clients h2 {
        font-size: 2em;
    }
    .clients-list li {
        width: 25%;
    }
}

/* ---------DESKTOP--------*/

@media (min-width: 1024px) {
    /* Activar smooth scroll solo en pantallas desktop */
    html {
        scroll-behavior: smooth;
    }
}

/* ---------768px--------*/

@media (max-width: 768px) {
/* General */

    section {
        height: auto;
        padding: 40px 0;
        padding-top: 100px;
    }

    header img {
        width: 20%;
    }

    body, html {
        margin: 0;
        padding: 0;
        width: 100vw;
        overflow-x: hidden;
    }

    .container {
        scroll-snap-type: none;
        padding-top: 0;
    }

/* Header */
    .header-section {
        text-align: center;
        padding: 20px;
    }
    .header-section .logo {
        width: 120px; /* Ajuste del tamaño del logo */
    }

/* Sección Intro */

    .intro-wrap {
        flex-direction: column;
        align-items: center;
    }
    .intro-text {
        text-align: center;
        width: 90%;
    }
    .intro-text h1 {
        font-size: 3rem !important;
        line-height: 1em;
    }
    .intro-text p {
        font-size: 1rem;
    }
    .intro-image {
        display: none; /* Ocultamos la imagen en dispositivos pequeños */
    }
    .intro a {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

/* Sección Qué Hacemos */

    .services {
        padding: 80px 0;
    }

    .services h2 {
        font-size: 3em;
        margin: 30px 0;
        line-height: 40px;
    }

    .services-list {
        flex-direction: column;
        gap: 1.5rem;
        width: 90%;
    }
    .services-list li {
        text-align: center;
        width: 100%;
    }
    .services-list img {
        width: 200px;
        height: 200px;
    }

/* Sección Planes */

    .plans h2 {
        text-align: center;
        font-size: 3em;
        margin-top: 30px;
    }

    .plans-list {
        flex-direction: column;
        gap: 2rem;
    }

    .plans-list li {
        max-width: 100%;
    }

    .plans-details {
        font-size: 1rem;
        text-align: left;
    }
    
    .plans a {
        padding: 0.8rem 1.2rem;
    }

    .plans-custom {
        width: 100%;
        flex-direction: column;
        align-items: center;

    }

    .plans-custom p {
        text-align: center;
        margin-bottom: 20px;
    }

    .plans-custom a {
        width: 100%;
        display: block;
        text-align: center;
    }

/* Sección Clientes */

    .clients {
        padding: 1rem 0;
        text-align: center;
        background-image: no-repeat top;
    }

    .clients h2 {
        font-size: 3rem;
        margin-top: 30px;
    }

    .clients-list {
        flex-direction: column;
        gap: 0;
        align-items: center;
        margin-bottom: 30px;
    }

    .clients-list li {
        width: 50%;
    }

    .clients p {
        font-size: 0.8em;
        width: 80%;
    }

/* Sección Contacto */


    .contact h2 {
        font-size: 3rem;
        line-height: 40px;
        margin-bottom: 10px;
    }

    .contact-button {
        text-align: left;
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
        margin: 1rem 0;
        width: 90%;
    }

    .contact-button img {
        width: 15%;
        height: 15%;
    }

    .contact ul {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .contact ul li {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact ul li div {
        margin-bottom: 0;
        margin-top: 0.6rem;
        width: 30%;
        height: 30%;
    }


/* Generales Finales */

    .whatsapp-button {
        width: 62px;
    }

    .whatsapp-button span {
        display: none;
    }

    .intro-wrap, .services, .plans, .clients, .contact {
        padding: 20px;
    }
}
