@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Bartle&family=Bebas+Neue&family=Boldonse&family=Cinzel+Decorative:wght@400;700;900&family=Gloria+Hallelujah&family=Krona+One&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&family=Michroma&family=Mitr:wght@200;300;400;500;600;700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Orbitron:wght@400..900&family=Oxanium:wght@200..800&family=Readex+Pro:wght@160..700&family=Slabo+27px&display=swap');

/* --- RESET Y ESTILOS GLOBALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
    /* Previene scroll horizontal indeseado */
}

img {
    max-width: 100%;
    /* Hace que las imágenes sean responsivas por defecto */
    height: auto;
}


nav {
    background: #ffffff;
    padding: 10px 20px;
    /* Padding más flexible */
    display: flex;
    flex-wrap: wrap;
    /* Permite que los elementos bajen si no caben */
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.logo img {
    height: 50px;

    /* Ajuste para móvil/desktop */
}

nav ul {
    color: #000;
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    /* Eliminado el margin-left fijo de 300px */
}

nav ul li {
    margin: 0 10px;
    font-size: 15px;
    font-family: "Krona One", sans-serif;
}

nav ul li a {
    color: #eaeaea;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

.botton-nav button {
    padding: 10px 20px;
    font-size: 12px;
    margin: 0;
    /* Eliminado margen fijo */
    top: 0;
}

/* --- HERO SECTION --- */
.porta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px;
}

.invention,
.code {
    font-size: 20px;
    /* Texto fluido: se achica en móvil */
    color: #ffffff;
}

.logo-medio img {
    margin-top: 150px;
    width: auto;
    height: 200px;
    margin-bottom: 80px;
}



/*hambur*/
/* --- HEADER Y NAV --- */
header {
    background: radial-gradient(circle at center, #000000 50%, #000000 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    width: 100%;
    height: 650px;
}

nav {
    background: #ffffff00;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.logo img {
    height: 10px;
}

/* Contenedor del menú (Desktop por defecto) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
    font-family: "Krona One", sans-serif;
}

nav ul li a {
    color: #eaeaea;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #eb5e28;
}

.botton-nav button {
    margin: 0;
    /* Reset del margen anterior */
    padding: 8px 20px;
    font-size: 12px;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2.5px solid #ffffff;
    color: #000000;
    margin-top: 10px;
    font-size: 1rem;
    font-family: "Krona One", sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.393);
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
}

.button-nav:hover {
    background-color: #000;
    color: #fff;
}

/* Estilos de la Hamburguesa (Oculto en Desktop) */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
}

/* --- MEDIA QUERY PARA LA HAMBURGUESA (MÓVIL) --- */
@media (max-width: 768px) {

    /* Mostramos la hamburguesa */
    .menu-toggle {
        display: block;
    }

    /* Animación de la hamburguesa a "X" cuando está activa */
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Menú Oculto (Estilo Off-screen o Dropdown) */
    .nav-menu {
        position: fixed;
        left: -100%;
        /* Fuera de la pantalla a la izquierda */
        top: 70px;
        /* Altura del navbar aproximada */
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        /* Fondo oscuro casi sólido */
        width: 100%;
        height: 100vh;
        /* Altura completa */
        text-align: center;
        transition: 0.3s ease-in-out;
        padding-top: 60px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
    }

    /* Clase que activa el menú via JS */
    .nav-menu.active {
        left: 0;
        /* Vuelve a la pantalla */
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    nav ul li a {
        font-size: 20px;
        /* Letra más grande en móvil para tocar fácil */
    }

    .botton-nav button {
        width: 80%;
        /* Botón ancho en móvil */
        font-size: 16px;
        padding: 15px;
    }
}

/* --- ESTILOS GENERALES DE TEXTO Y BOTONES --- */
button {
    background-color: #000000;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2.5px solid #ffffff;
    color: #fff;
    margin-top: 10px;
    font-size: 1rem;
    font-family: "Krona One", sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.393);
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
    background-color: #333;
}

h2 {
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-family: "Krona One", sans-serif;
    margin-bottom: 20px;
}

h3 {
    font-family: "Krona One", sans-serif;
}

p {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
}

/* --- SECCIONES --- */
.loguito {
    background-color: #000;
    text-align: center;
}

.loguito img {
    width: auto;
    height: 150px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/* Banner 1 */
.banner-1 {

    background: linear-gradient(black, #ffffff);
    color: #ffffff;
    text-align: center;
}

.banner-1 h2 {
    font-size: clamp(50px, 6vw, 80px);
    color: #ffffff;
    line-height: 1.2;
    margin-left: 100px;
    margin-right: 100px;
    padding-top: 100px;
}

.banner-1 p {
    color: #ffffff;
    font-size: 15px;
    max-width: 800px;
    margin: 20px auto;
    font-weight: bold;
}

.contenedor {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
    padding-top: 100px;
}

.contenedor .imagen-recortada {
    width: 450px;
    height: auto;
    position: absolute;
    top: 10px;
    left: 490px;

}

/* Servicios */
.servicioss {
    padding: 0 10px;
    text-align: center;
}

.info-servicios {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.info-servicios p {
    text-align: center;
}

.servicio p {
    text-align: left;
    margin-bottom: 20px;
    font-size: 14px;
}

.info-servicios h2 {
    font-size: clamp(28px, 5vw, 40px);
    margin-top: 15px;
}

.info-servicios span {
    background-color: #000000;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
}

.servicios {
    text-align: left;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Clave para responsive */
    gap: 20px;
    margin-top: 30px;
}

.servicio {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 20px;
    width: 22%;
    /* Ancho base para desktop */
    min-width: 250px;
    /* Ancho mínimo */
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.servicio:hover {
    transform: translateY(-10px);
}

.servicio svg {
    height: 60px;
    width: 60px;
    padding: 10px;
    background-color: #363636;
    margin-bottom: 15px;
    border-radius: 20px;
}

/* Banner Tablet */
.banner {
    background: radial-gradient(circle at center, #ffffff 1%, #ffffff 100%);
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* Responsive */
}

.imagen-izquierda img {
    max-height: 750px;
    position: relative;
    right: 150px;
    /* Reducido de 750px para que quepa mejor */
    width: auto;
}

.textoo {
    flex: 1;
    min-width: 300px;
}

.textoo h2 {
    text-align: end;
    font-size: 50px;
    color: #000;
    /* Asumo negro porque el fondo es blanco */
}

/* Portafolio */
.portafolio {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.servicioss span {
    text-align: center;
}

.info-porta span {
    background-color: #000000;
    color: #fff;
    border: 1px solid #000000;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    height: auto;
    /* Permitir crecimiento */
}

.trabajo img {
    height: 300px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Proceso */
.proceso {
    background-color: #000000;
    padding: 60px 20px;
    text-align: center;
}

.proceso span {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
}

.proceso h2 {
    color: #fff;
}

.procesos .descri-proceso {
    color: #fff;
    text-align: center;
}

.proceso p {
    color: #000000;
    text-align: left;
}

.pasos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.paso {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 20px;
    width: 22%;
    min-width: 250px;
    text-align: start;
}

.paso svg {
    height: 60px;
    width: 60px;
    padding: 10px;
    background-color: rgb(83, 83, 83);
    margin-bottom: 15px;
    border-radius: 20px;
}

/* Testimonios */
.testimonios {
    margin-bottom: 100px;
    padding: 0 20px;
    text-align: center;
}

.testimonio span {
    background-color: #000000;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    justify-content: center;
    margin-top: 30px;
}

.contenedor-testimonios {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.persona {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 20px;
    width: 40%;
    min-width: 300px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.persona p {
    text-align: left;
    margin-bottom: 30px;
}

/* Contact Form */
.contact-form-section {
    width: 100%;
    padding: 60px 20px;
    /* Padding en lugar de altura fija */
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    justify-content: center;
    background-color: #000000;
}

label {
    color: #fff;
}

.contact-form-section h2 {
    color: #e6e6e6;
    margin-top: 0;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    /* Input fluido */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}


/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
    margin: 0;
    /* Elimina cualquier margen extra */
}

/* Footer */
footer {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 0;
    border-top: 1px solid #838383;
}

.logo-footer img {
    width: auto;
    height: 400px;
}

.footer-copy p {
    font-size: 15px;
}

.footer-redes {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}


.footer-redes img {
    width: auto;
    height: 30px;
    background-color: #fff;
    border-radius: 300px;
}


/* --- MEDIA QUERIES (LA MAGIA RESPONSIVE) --- */

/* Tablets (max-width: 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

    .servicio,
    .paso {
        width: 45%;
        /* 2 columnas en tablet */
    }

    .banner-1 h2 {
        font-size: clamp(50px, 6vw, 80px);
        color: #ffffff;
        line-height: 1.2;
        margin-left: 100px;
        margin-right: 80px;
        padding-top: 80px;
    }


    .contenedor {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
        border-radius: 20px;
        padding-top: 300px;
        left: 10px;
    }

    .contenedor .imagen-recortada {
        width: 400px;
        height: auto;
        position: absolute;
        top: 30px;
        left: 180px;

    }


    .persona {
        width: 100%;
        max-width: 600px;
    }

    .textoo h2 {
        font-size: 35px;
    }


    .footer-content {
        gap: 1px;
        font-size: 12px;
        text-align: center;
    }

    .footer-copy p {
        text-align: center;
    }

    .footer-redes {
        margin-top: 20px;
        justify-content: center;
    }
}

@media (min-width: 1024px) and (max-width: 1366px) {

    .contenedor {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
        border-radius: 20px;
        padding-top: 300px;
        left: 10px;
    }

    .contenedor .imagen-recortada {
        width: 400px;
        height: auto;
        position: absolute;
        top: 30px;
        left: 300px;

    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 767px) {
    header {
        width: 100%;
        height: 910px;
    }

    .porta {
        display: flex;
    }


    .invention,
    .code {
        font-size: 13px;
        position: relative;
        top: 10px;
    }

    /* Ajuste Header */
    nav {
        display: flex;
        padding: 15px;
    }


    nav .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .botton-nav button {
        margin-top: 20px;
        width: 100%;
    }

    /* Unificar columnas a una sola */
    .servicio p {
        font-size: 15px;
        text-align: left;
        margin-bottom: 20px;
    }

    .servicio,
    .paso,
    .persona {
        width: 100%;
        margin: 0 0 20px 0;
    }

    /* Ajuste imagenes hero */
    .logo-medio img {
        margin-top: 140px;
        margin-bottom: 140px;
        width: auto;
        height: 150px;
    }

    .banner-1 h2 {
        font-size: clamp(10px, 6vw, 80px);
        line-height: 1.2;
        margin-left: 10px;
        margin-right: 10px;
        padding-top: 80px;
    }

    .banner-1 p {
        font-size: 7px;
        margin: 10px;
    }


    .contenedor {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
        border-radius: 20px;
        padding-top: 300px;
        flex-direction: column;
    }

    .contenedor .imagen-recortada {
        width: 400px;
        height: auto;
        position: absolute;
        top: 10px;
        left: 1px;

    }

    /* Ajuste Portafolio */
    .logos {
        flex-direction: column;
    }

    .trabajo img {
        width: 100%;
        height: auto;
    }

    /* Footer en columna */
    footer {
        background: #000000;
        color: #ffffff;
        text-align: center;
        flex-direction: column;
        padding: 40px 20px;
        margin-top: 0;
        border-top: 1px solid #838383;
    }

    .logo-footer img {
        width: auto;
        height: 300px;
    }

    .footer-copy {
        text-align: center;
    }

    .footer-redes {
        margin-top: 50px;
        justify-content: center;
    }

    .footer-redes img {
        width: auto;
        height: 30px;
        background-color: #fff;
        border-radius: 300px;
    }


    .textoo h2 {
        text-align: right;
        font-size: 25px;
    }


    .imagen-izquierda img {
        display: block;
        position: relative;
        right: 110px;
        /* Opcional: Ocultar imagen decorativa grande en móvil si molesta, o dejarla fluida */
    }
}




/* Clases para animaciones de entrada */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-down-section {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-down-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*desliza*/

/* Para que aparezca desde la izquierda */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Para que aparezca desde la derecha */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/*zoom*/
.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}