/* Variables CSS */
:root {
    --color-neutral-900: #000;
    --color-light: #fff;
    --color-black: #000;
    --color-dark-rgb: 0, 0, 0;
    --color-antracita: #2C2C2C;
    --size-font: 16px;
    --container-padding: 20px;
    --section-padding: 100px;
}

/* Estilos generales */
body {
    background-color: var(--color-neutral-900);
    color: var(--color-light);
    font-size: var(--size-font);
    margin: 0;
    padding: 0;
    font-family: 'PP Neue Corp Wide', sans-serif;
}

/* Contenedor principal del parallax */
.parallax {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Encabezado con efecto parallax */
.parallax__header {
    padding: var(--section-padding) var(--container-padding);
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Visuales del parallax */
.parallax__visuals {
    width: 100%;
    height: 120%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

/* Capas del parallax */
.parallax__layers {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Imágenes de las capas */
.parallax__layer-img {
    pointer-events: none;
    object-fit: cover;
    width: 100%;
    height: 117.5%;
    position: absolute;
    top: -17.5%;
    left: 0;
}

/* Título del parallax */
.parallax__layer-title {
    width: 100%;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
}

.parallax__title {
    font-size: 11vw;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    text-align: center;
}

/* Degradado de desvanecimiento */
.parallax__fade {
    width: 100%;
    height: 20%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(var(--color-dark-rgb), 1) 0%, rgba(var(--color-dark-rgb), 0.738) 19%, rgba(var(--color-dark-rgb), 0.541) 34%, rgba(var(--color-dark-rgb), 0.382) 47%, rgba(var(--color-dark-rgb), 0.278) 56.5%, rgba(var(--color-dark-rgb), 0.194) 65%, rgba(var(--color-dark-rgb), 0.126) 73%, rgba(var(--color-dark-rgb), 0.075) 80.2%, rgba(var(--color-dark-rgb), 0.042) 86.1%, rgba(var(--color-dark-rgb), 0.021) 91%, rgba(var(--color-dark-rgb), 0.008) 95.2%, rgba(var(--color-dark-rgb), 0.002) 98.2%, transparent 100%);
    z-index: 30;
}

/* Línea negra inferior */
.parallax__black-line-overflow {
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -1px;
    left: 0;
    background-color: var(--color-black);
    z-index: 20;
}

/* Fuente personalizada */
@font-face {
    font-family: 'PP Neue Corp Wide';
    src: url('https://cdn.prod.website-files.com/671752cd4027f01b1b8f1c7f/6717e399d30a606fed425914_PPNeueCorp-WideUltrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Testimonios  /////////////////////////////////////////////////////////////////// */
/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #EBDDCC;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Contenedor principal */
.testimonial-section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
    overflow: hidden;

    /* Oculta el contenido que se desborda */
    position: relative;
}

.testimonial-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
}

/* Contenedor de testimonios con scroll horizontal */
.testimonial-container {
    display: flex;
    gap: 20px;
    animation: scrollTestimonials 10s linear infinite;

    /* Animación automática */
}

/* Estilos para cada tarjeta de testimonio */
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;

    /* Evita que las tarjetas se estiren */
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.testimonial-card h3 {
    font-size: 1.5em;
    color: #333;
    margin: 10px 0;
}

.testimonial-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

/* Animación para el desplazamiento automático */
@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}





/* llamado a la accion /////////////////////////////////////////// */
/* Sección de llamado a la acción */
.cta-section {
    width: 100%;
    max-width: 100%;
    background-color: black;
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.cta-section button {
    padding: 15px 30px;
    font-size: 1em;
    background-color: black;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.cta-section button:hover {
    background-color: white;
    color: black;
}

/* /////////////////////footer////////////////////////////// */
/* Estilos para el footer */
.footer {
    background-color: #000;

    /* Fondo negro */
    color: #fff;

    /* Texto blanco */
    text-align: center;

    /* Centrar el contenido */
    padding: 20px 0;

    /* Espaciado interno */
    font-family: Arial, sans-serif;

    /* Fuente */
}

.footer a {
    color: #fff;

    /* Color de los enlaces */
    text-decoration: none;

    /* Sin subrayado */
    margin: 0 10px;

    /* Espaciado entre enlaces */
}

.footer a:hover {
    text-decoration: underline;

    /* Subrayado al pasar el mouse */
}

.footer p {
    margin: 10px 0;

    /* Espaciado entre párrafos */
}

/* Estilos para el botón */
.btn-registrate {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: black;
    border: 2px solid white;
    border-radius: 6px;

    /* Bordes redondeados */
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Efecto hover */
.btn-registrate:hover {
    color: black;
    background-color: white;
    border-color: black;
}

/* ///////////////////////////////////////servicios que ofrecemos // */
/* Estilos generales */
body {
    margin: 0;
    padding: 0;
    color: #333;
}

.servicios {
    padding: 50px 20px;
    text-align: center;
    background-color: rgba(156, 156, 156, 0);
}

.servicios h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.contenedor-servicios {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.servicio {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.servicio i {
    font-size: 2rem;
    color: #007BFF;
    margin-bottom: 15px;
}

.servicio h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.servicio p {
    font-size: 1rem;
    color: #666;
}

/* ///////////////////////tarjetas de precios /////////////////////////////// */
/* Contenedor de la sección de precios */
/* Contenedor de la sección de precios */
.precios {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    max-width: 100%;
    width: 100%;
}

/* Estilos para cada tarjeta de precio */
.tarjeta {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    flex: 1 1 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Estilos para el botón */
.btn-registrate {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: black;
    border: 2px solid white;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-registrate:hover {
    color: black;
    background-color: white;
    border-color: black;
}
/* ////////////////////bienvenida text/////////////////// */
/* Estilos para el h1 */
h1 {
    font-size: 5vw;

    /* Usamos vw (viewport width) para hacerlo responsive */
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
    z-index: 50;
    position: relative;
}

/* Media Queries para ajustes específicos */
@media (max-width: 768px) {
    h1 {
        font-size: 8vw;

        /* Aumentamos el tamaño en pantallas más pequeñas */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 10vw;

        /* Ajustamos aún más para móviles */
    }
}



  /* Estilos generales */
  body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Contenedor flexible */
.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

/* Estilos para pantallas pequeñas (menos de 768px) */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column; /* Cambia la dirección a columna */
    }

    .flex-container.reverse {
        flex-direction: column-reverse; /* Invierte el orden */
        
    }

    .flex-container > div {
        width: 100%; /* Ocupa el 100% del ancho */
        text-align: center; /* Centra el texto */
        padding: 10px 0; /* Espaciado vertical */
    }

    .flex-container img {
        max-width: 100%; /* Ajusta la imagen al ancho del contenedor */
        height: auto;
        margin-bottom: 20px; /* Espaciado inferior */
    }
}

/* Estilos para el botón */
.btn-registrate {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: black;
    border: 2px solid white;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-registrate:hover {
    color: black;
    background-color: white;
    border-color: black;
}


