/* Reset basic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "inter", serif;
}

:root {
    /* Principales */
    --color-primary: #f28a24;
    --color-secondary: #343434;

    /* Fondo */
    --color-bg: #1f1f1f;
    --color-bg-light: #2a2a2a;

    /* Texto */
    --color-text: #ffffff;
    --color-text-secondary: #b0b0b0;

    /* Accent */
    --color-accent: #ffb347;

    /* Bordes */
    --color-border: #444444;

    /* Estados */
    --color-success: #4caf50;
    --color-error: #f44336;
    --color-warning: #ff9800;
}

/* ----------------------------------------------- */
/* ---------------   HEADER   -------------------- */
/* ----------------------------------------------- */


.logo-big {
    display: none;
}
.logo-min {
    width: 100px;
}
.logo-2 {
    width: 200px;
}


/* navbar */

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    background: var(--color-secondary);
    backdrop-filter: blur(7px);

    z-index: 999;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
    max-width: 1600px;
}

.navbar-container .navbar-menu {
    display: none;
    list-style: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    position: absolute;
    height: 100vh;
    width: 200px;
    top: 0;
    right: 0;
    padding: 5rem 1.5rem;
    box-shadow: 0 10px 10px var(--color-bg);
    backdrop-filter: blur(10px);
}

.navbar-container .navbar-menu li a {
    text-decoration: none;
    color: var(--color-accent);
    font-size: 1.3rem;
    padding: 3px 20px;
}

.navbar-container .navbar-menu li {
    padding: 20px 0px;
}

.navbar-toggle {
    display: block;
    z-index: 999;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: white;
    transition: all 0.3s ease-in-out;
}

/* toggle para que el boton funcione */
.navbar-container .navbar-menu.active {
    display: flex;
    background: var(--color-secondary);
}

/* movimiento de boton */

.navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Hero IMG----------------------- */
/* -------------------------------- */

.hero-container .slider-wrapper img {
    width: 200%;
    height: auto;
}

.hero-container {

    width: 100%;
    aspect-ratio: 3840 / 1440;
    overflow: hidden;
    background: #000;
}

/* generar movimiento de el hero */

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.slider-wrapper img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    scroll-snap-align: start;
}

/* banner sencillo */

.img-ban {
    display:flex;
    width: auto;
    height: auto;
    justify-content: center;

}

.img-ban img {
    width: 100%;
}

.img-ban-max {
    display: none;

}

/* HERO titulo y description */

.hero-titulo {
    position: relative;
    padding: 1rem;
    margin-top: 1rem;
}

.hero-titulo h1 {
    color: var(--color-accent);
    font-size: 2.5rem;

}

.hero-titulo p {
    padding-top: 1rem;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.img-tecnico {
    display: flex;
    justify-content: center;
}

.img-tecnico img {
    width: 20rem;
}



/* ------------------------------------------------------------ */
/* MAIN   ----------------------------------------------------- */
/* ------------------------------------------------------------ */

/* MAIN ------------------------------------------------ INDEX */

/* secion1 */

.section-1 {
    display: flex;
    flex-direction: column;
    margin: 1rem;
    justify-content: center;
    align-items: center;
}

.team-description h2 {
    color: var(--color-accent);
    font-size: 2rem;
    padding: 0.5rem 0;
}

.team-description p {
    color: var(--color-border);
}

.team-description {
    text-align: justify;
}

.team-foto img {
    display: block;
    justify-content: center;
    width: 18rem;
    margin: 1rem 0;
    border-radius: 1rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* section 2 */

.section-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-accent);
    margin: 2rem 0;
}

.card {
    height: auto;
    width: 280px;
    padding: 2rem;
    background: white;
    text-align: start;
    margin: 1rem;
    border-radius: 1rem;
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card p {
    color: var(--color-text-secondary);
}

.card ul li {
    color: var(--color-text-secondary);
}

/* efecto section2 */
.card:hover {
    background: #f5f5f5;
    transform: scale(1.02);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}



/* MAIN ------------------------------------------------ CLIENTES */

/* secion1 */

.img-clientes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.img-clientes img {
    width: 14rem;
    padding: 2rem;
}

.img-ban1 {
    background: linear-gradient(to bottom, #343434, #4e4e4e);
    color: var(--color-text);
    width: 100%;
    height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.img-ban1 p {
    text-align: center;
}

.img-ban1 .button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff9900, #ffc439); /* Colores estilo WhatsApp */
    color: white;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.img-ban1 .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 25px rgba(255, 176, 57, 0.2);
    background: linear-gradient(135deg, #ffaa2b, hsl(34, 100%, 74%));
}

.img-ban1 .button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.6s;
}

.img-ban1 .button:hover::before {
    left: 100%;
}

.img-ban1 .button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(124, 124, 124, 0.4);
}

.aliados-titulo {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    padding-top: 2rem;
    color: var(--color-border);

}


/* MAIN ------------------------------------------------ SERVICIOS */

.img-servicios {
    width: 10rem;
}

.card2 a div {
    background: linear-gradient(to right, rgb(255, 143, 51), #ffb36c);
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 2rem 0;
    text-align: center;
    width: 100%;
}



.card2 {
    width: 280px;
    border-radius: 2rem 0;
    margin: 1rem;
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;


}

.card2:hover {
    background: #ffffff;
    transform: scale(1.02);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.card2 a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}


/* Informacion de los servicios */
.informacion-servicios {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 2rem;
}

.informacion-servicios img {
    display: inline-block;
    width: 350px;
    height: auto;
    margin: 2rem 0 0 0;
    border-radius: 2rem;
}

.informacion-servicios .descripcion-servicios h3 {
    color: var(--color-accent);
    font-size: 30px;
    padding: 1rem 0;
}


/* boton servicios ---------------------------------------*/
.descripcion-servicios .boton-servicios{
    display: none;
}

.boton-servicios-contenedor {
    display: flex;
    justify-content: center;
}

.boton-servicios {
    text-align: center;
    margin: 20px 0;
}

/* Estilo del botón (la etiqueta <a>) */
.boton-servicios a {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff9900, #ffc439); /* Colores estilo WhatsApp */
    color: white;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgb(255 186 100 / 30%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Efecto al pasar el mouse */
.boton-servicios a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 176, 57, 0.5);
    background: linear-gradient(135deg, #ffaa2b, hsl(34, 100%, 74%));
}

/* El destello de luz que cruza el botón */
.boton-servicios a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.6s;
}

.boton-servicios a:hover::before {
    left: 100%;
}

/* Efecto cuando se presiona */
.boton-servicios a:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(124, 124, 124, 0.4);
}








/* ------------------------------------------------------------ */
/* FOOTER ----------------------------------------------------- */
/* ------------------------------------------------------------ */

.footer {
    background: var(--color-border);
    color: var(--color-text);
}

.footer-container {
    display: grid;
    grid-template-rows: row;
    padding: 1rem 0 0 0;
}

.footer-col {
    padding: 1rem 1rem;
}

.footer-col p {
    text-align: justify;
}

.footer-col ul li {
    list-style: none;
    margin: 0 0 1rem 0;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--color-text);
}

.footer-col img {
    padding-bottom: 1rem;
}

.footer-col h3 {
    padding-bottom: 1rem;
}

.social {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.social a img {
    width: 50px;
    margin: 0 1rem 0 0;

}

.footer-bottom {
    background: var(--color-secondary);
    padding: 2rem;
    text-align: center;
}

/* boton de what's app */

/* --- ESTILO DEL BOTÓN --- */
.wa-floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-button {
    width: 65px;
    height: 65px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    z-index: 2;
}

.wa-icon {
    width: 35px;
    height: 35px;
    fill: white;
    transition: transform 0.3s ease;
}

.wa-floating-container:hover .wa-button {
    transform: scale(1.1);
    background-color: #2be671;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.wa-button:active {
    transform: scale(0.9) !important;
    background-color: #128C7E;
    transition: 0.1s;
}

.particle {
    position: absolute;
    border-radius: 2px;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}