@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');

body{
    background-color: rgb(0, 0, 0);
    margin: 0;
}

/* animacion */

@keyframes appear {
    from {
        opacity: 0;
        scale: 1;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}

/* todo el header */

header{
    background-color: black;
    width: 700px;
    height: 110px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%);
    z-index: 99;
}

.header-nav{
    margin: auto;
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-nav-link1{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    background-color: rgb(125, 3, 248);
    font-size: 20px;
    height: 50px;
    width: 140px;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 10px;
    transition: .3s;
}

.header-nav-link1:hover{
    background-color: violet;
}

.header-nav-link{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 20px;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 100px;
    border-radius: 10px;
}

.header-nav-link:hover{
    background-color: rgba(128, 128, 128, 0.356);
}

.header-logo{
    padding-right: 20px;
}

@keyframes introFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* parte de la intro */

.intro{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    height: auto;
    padding: 140px 32px 80px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: url(../imagenes/klipzlanding.png) center center / cover no-repeat;
}

.intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.78) 100%),
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 0;
}

.intro::after {
    display: none;
}

.intro-titulo{
    color: #ffffff;
    font-family: 'Google Sans Flex', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-stretch: 100%;
    font-display: swap;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
    max-width: 18ch;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
    animation: introFadeUp 0.6s ease-out both;
}

.intro-descripcion{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Google Sans Flex', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    line-height: 1.65;
    margin: 28px 0 0;
    max-width: 52ch;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
    animation: introFadeUp 0.6s ease-out 0.08s both;
}

.intro .usuario-barra-busqueda,
.intro .usuario-barra-busqueda-log {
    position: relative;
    z-index: 1;
}

/* parte del usuario */

.usuario-titulo{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 70px;
    margin-top: -60px;
}

/* barra busqueda limpia */
.usuario-barra-busqueda{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 80px;
}

.usuario-barra-busqueda-input{
    height: 70px;
    width: 300px;
    border-radius: 10px;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    padding: 0 14px;
    box-sizing: border-box;
}

.usuario-barra-busqueda-input::placeholder{
    color: rgba(255, 255, 255, 0.507);
    font-size: 15px;
}

.usuario-barra-busqueda-input:focus{
    outline: 2px solid violet;
    outline-offset: -2px;
}

.usuario-barra-busqueda-titulo{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 25px;
}

.usuario-barra-busqueda-input-boton{
    height: 70px;
    width: 100px;
    background-color: rgb(125, 3, 248);
    border: none;
    color: white;
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 29px;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.usuario-barra-busqueda-input-boton:hover{
    background-color: violet;
}

.usuario-barra-busqueda-log{
    color: red;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 20px;
}

/* parte de los ejemplos */

/* Contenedor externo: acumula el alto extra para "consumir" el scroll.
   El JS lo ajusta a 100vh + recorrido horizontal tras cargar las imágenes. */
.ejemplos-contenedor-externo {
    position: relative;
    min-height: 100vh;
}

.ejemplos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    background: black;
}

.ejemplos-titulo {
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 70px;
    padding-top: 50px;
    margin-top: 0;
    margin-bottom: 40px;
}

.ejemplos-carrusel-contenedor {
    overflow: hidden;
    width: 100%;
}

/* La pista se mueve con translateX via JS (requestAnimationFrame). */
.ejemplos-plantillas {
    display: flex;
    gap: 50px;
    padding: 0 80px;
    width: max-content;
    will-change: transform;
    transform: translateX(0);
}

.ejemplos-plantillas-imagen-movil-1 {
    border-radius: 10px;
    flex-shrink: 0;
    display: block;
}

.ejemplos-plantillas-imagen-pc-1 {
    border-radius: 10px;
    flex-shrink: 0;
    display: block;
}

.ejemplos-plantillas-imagen-movil-2 {
    border-radius: 10px;
    flex-shrink: 0;
    display: block;
}

.ejemplos-plantillas-imagen-pc-2 {
    border-radius: 10px;
    flex-shrink: 0;
    display: block;
}

.ejemplos-descripcion {
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 25px;
    padding-top: 25px;
}

/* parte de las especificaciones */

.especificaciones{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 80px 32px;
    min-height: 700px;
    background: linear-gradient(black, rgba(48, 0, 66, 0.267));
    background-repeat: no-repeat;
    background-size: cover;
}

.especificaciones-titulo{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 70px;
    margin-bottom: 50px;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

.especificaciones-elementos{
    width: 100%;
    max-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(128, 128, 128, 0.3);
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

.especificaciones-elementos th{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 22px;
    padding: 20px 30px;
    text-align: left;
    background-color: rgb(125, 3, 248);
}

.especificaciones-elementos th:last-child{
    text-align: center;
}

.especificaciones-elementos td{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 500;
    font-stretch: 100%;
    font-display: swap;
    font-size: 18px;
    padding: 18px 30px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    transition: background-color 0.3s ease;
}

.especificaciones-elementos tr:last-child td{
    border-bottom: none;
}

.especificaciones-elementos td:last-child{
    text-align: center;
    color: rgb(125, 3, 248);
    font-weight: 1 1000;
}

.especificaciones-elementos tr:hover td{
    background-color: rgba(128, 128, 128, 0.15);
}

/* parte del acerca */

.acerca{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 600px;
    background: linear-gradient(rgba(48, 0, 66, 0.267), black);
    background-repeat: no-repeat;
    background-size: cover;
}

.acerca-titulo{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 70px;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

.acerca-descripcion{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 45px;
    margin-top: -30px;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

/* footer */

.linea{
    width: 700px;
    border-top: 1px solid rgba(128, 128, 128, 0.473);
    margin: auto;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

footer{
    background: linear-gradient(rgb(0, 0, 0),rgb(48, 0, 66));
    height: 1200px;
    position: relative;
}

.footer-nav{
    margin-left: 20px;
    margin-top: 40px;
}

.footer-nav-link{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 20px;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 190px;
    border-radius: 10px;
}

.footer-nav-link:hover{
    background-color: rgba(128, 128, 128, 0.356);
}

.footer-nav-klipz{
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-nav-klipz-titulo{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 45px;
}

.footer-nav-klipz-titulo:hover{
    color: violet;
}

.footer-nav-legal{
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-nav-legal-titulo{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 45px;
}

.footer-nav-legal-titulo:hover{
    color: violet;
}

.footer-nav-social{
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-nav-social-titulo{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 45px;
}

.footer-nav-social-titulo:hover{
    color: violet;
}

.footer-logo-nav{
    margin-left: 450px;
}

.footer-nav-breve-descripcion{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 10px;
}

.footer-logo{
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 20px;
}

/* MEDIA QUERIES */

/* media queries de tablet */

@media (max-width: 1024px){

.intro{
    padding: 120px 28px 64px;
    background-position: center center;
}

.intro-titulo{
    max-width: 100%;
}

.intro-descripcion{
    max-width: 100%;
}

.ejemplos-titulo{
    font-size: 50px;
    margin-bottom: 30px;
}

/* En tablet el sticky se desactiva; scroll táctil nativo */
.ejemplos-contenedor-externo {
    min-height: 0;
    height: auto !important;
}

.ejemplos{
    position: static;
    height: auto;
    min-height: 600px;
    overflow: visible;
    padding: 40px 0;
}

.ejemplos-carrusel-contenedor {
    overflow: hidden;
}

.ejemplos-carrusel-contenedor::-webkit-scrollbar { display: none; }

.ejemplos-plantillas {
    transform: translateX(0);
    padding: 0 30px;
}

.ejemplos-plantillas-imagen-movil-1,
.ejemplos-plantillas-imagen-movil-2 {
    height: 400px;
}

.ejemplos-plantillas-imagen-pc-1,
.ejemplos-plantillas-imagen-pc-2 {
    height: 400px;
}

.acerca-descripcion{
    margin-left: 15px;
}

footer{
    height: 700px;
}

.footer-logo-nav{
    display: none;
}

.footer-nav-breve-descripcion{
    display: none;
}

.footer-logo{
    height: 200px;
}

.especificaciones{
    padding: 60px 28px;
    min-height: auto;
}

.especificaciones-titulo{
    font-size: 50px;
    margin-bottom: 40px;
}

.especificaciones-elementos{
    max-width: 100%;
}

.especificaciones-elementos th{
    font-size: 19px;
    padding: 16px 22px;
}

.especificaciones-elementos td{
    font-size: 16px;
    padding: 14px 22px;
}

}

/* Media queries de moviles */

@media (max-width: 600px){

header{
    background-color: black;
    width: 350px;
    height: 110px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%);
    z-index: 99;
}

.header-logo{
    display: none;
}

.header-nav-link1{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    background-color: rgb(125, 3, 248);
    font-size: 13px;
    height: 50px;
    width: 100px;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 10px;
    transition: .3s;
}

.intro{
    padding: 160px 20px 64px;
    min-height: 100svh;
    background-position: center 30%;
}

/* barra busqueda */

.usuario-barra-busqueda{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
    width: 100%;
    max-width: 360px;
}

.usuario-barra-busqueda-titulo{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 20px;
    text-align: center;
}

.usuario-barra-busqueda-input{
    height: 56px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 14px;
    border-radius: 10px;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    font-size: 15px;
}

.usuario-barra-busqueda-input-boton{
    height: 56px;
    width: 100%;
    background-color: rgb(125, 3, 248);
    border: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 22px;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.usuario-barra-busqueda-log{
    color: red;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 20px;
    text-align: center;
}

/* ejemplos en móvil: scroll táctil nativo, todas las imágenes visibles */
.ejemplos{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: auto;
    min-height: 0;
    position: static;
    overflow: visible;
    padding: 40px 0;
}

.ejemplos-contenedor-externo {
    height: auto !important;
    min-height: 0;
}

.ejemplos-titulo{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 40px;
    padding: 0 16px;
    text-align: center;
    margin-bottom: 24px;
}

.ejemplos-carrusel-contenedor {
    overflow: hidden;
    width: 100%;
}

.ejemplos-carrusel-contenedor::-webkit-scrollbar { display: none; }

.ejemplos-plantillas {
    transform: translateX(0);
    padding: 0 20px;
    gap: 20px;
}

.ejemplos-plantillas-imagen-movil-1,
.ejemplos-plantillas-imagen-movil-2 {
    height: 360px;
}

.ejemplos-plantillas-imagen-pc-1,
.ejemplos-plantillas-imagen-pc-2 {
    height: 360px;
}

.acerca{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 400px;
    background: linear-gradient(rgba(48, 0, 66, 0.267), black);
    background-repeat: no-repeat;
    background-size: cover;
}

.acerca-titulo{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 60px;
}

.acerca-descripcion{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 30px;
    margin-left: 10px;
}

.linea{
    width: 300px;
    border-top: 1px solid rgba(128, 128, 128, 0.473);
    margin: auto;
}

footer{
    background: linear-gradient(rgb(0, 0, 0),rgb(48, 0, 66));
    height: 450px;
    position: relative;
}

.footer-nav{
    margin-left: 20px;
    margin-top: 40px;
}

.footer-nav-link{
    text-decoration: none;
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 12px;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 160px;
    border-radius: 10px;
}

.footer-nav-klipz{
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-nav-klipz-titulo{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 20px;
}

.footer-nav-legal{
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-nav-legal-titulo{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 20px;
}

.footer-nav-social{
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-nav-social-titulo{
    color: white;
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 1 1000;
    font-stretch: 100%;
    font-display: swap;
    font-size: 20px;
}

.footer-logo-nav{
    display: none;
}

.footer-nav-breve-descripcion{
    display: none;
}

.footer-logo{
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 20px;
    height: 100px;
}

.especificaciones{
    padding: 50px 20px;
    min-height: auto;
}

.especificaciones-titulo{
    font-size: 38px;
    margin-bottom: 30px;
    text-align: center;
}

.especificaciones-elementos{
    max-width: 100%;
    border-radius: 12px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.especificaciones-elementos th{
    font-size: 15px;
    padding: 14px 16px;
    white-space: nowrap;
}

.especificaciones-elementos td{
    font-size: 14px;
    padding: 12px 16px;
}

.especificaciones-elementos td:first-child{
    max-width: 220px;
    word-break: break-word;
}

}
