* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    /* border: 1px solid red; */
}

body {
    opacity: 0;
    animation: aparecerPagina 1s ease forwards;
    background: #0f0f0f;
    color: white;
    font-family: 'Roboto', sans-serif;
}


@keyframes aparecerPagina {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

img {
    max-width: 100%;
    height: auto;
}

/* NAVBAR PRO */
.navbar {
    height: 100px;
    background: #111;
    border-bottom: 1px solid #333;
}

.nom-pag {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo {
    display: flex;
    align-items: center;

    opacity: 0;
    transform: translateX(-50px);
    animation: logoEntrada 1s ease forwards;
    animation-delay: .3s;
}

@keyframes logoEntrada {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.navbar-nav {
    opacity: 0;
    transform: translateY(-30px);
    animation: menuEntrada 1s ease forwards;
    animation-delay: .5s;
}

@keyframes menuEntrada {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    color: white;
    position: relative;
    transition: 0.3s;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* EFECTO LINEA ABAJO */
.nav-link::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #3455f8;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

.nav-link:hover {
    color: #0084ff;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link {
    padding-bottom: 5px;
}

.img {
    height: 100px;
    width: 100px;
}

.btn-whatsapp {
    background: #00c853;
    padding: 7px 7px;
    margin-right: 30px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
}

.img-wats {
    height: 30px;
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;

    padding-left: 60px;
    padding-top: 90px;
    background-repeat: no-repeat;

    background:
        linear-gradient(rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)),
        url('./img/Hero/photo-1771226281112-b7119ef4112e.jpg');

    background-size: cover;
    background-position: center;
    /* border: 2px solid red; */
}

.hero-text {
    opacity: 0;
    transform: translateY(50px);
    animation: heroEntrada 1s ease forwards;
    animation-delay: .8s;
}

@keyframes heroEntrada {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    color: #8e8e8e;
    margin-bottom: 20px;
}

.hero button {
    background: #4F8EF7;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 5px;
    transition: .3s;
    color: #ffff;
}

.hero button:hover {
    background: #99fffd;
    color: rgb(0, 0, 0);
    box-shadow: 0 0 25px rgb(0, 242, 255);
}

/*nosotros*/

.nosotros {
    padding: 100px 60px;
    background: #111;
}

.nosotros-contenedor {
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;

    flex-wrap: wrap;
}

.nosotros-texto {
    border: 1px solid #333;
    border-radius: 15px;
    background: #0e0e0ef0;
    flex: 1;
    min-width: 300px;
}

.nosotros-texto h2 {
    font-size: 42px;
    font-family: 'montse2';
    margin-bottom: 25px;
}

@font-face {
    font-family: 'montse2';
    src: url("./fonts/Montserrat-Italic-VariableFont_wght.ttf") format('truetype');
    font-style: normal;
    font-weight: 700;
}

.nosotros-texto p {
    font-family: 'montse';
    color: #bdbdbd;
    line-height: 1.8;
    margin-bottom: 15px;
}

.nosotros-texto span {
    color: #5eb1ff;
    font-family: 'montse';
}

@font-face {
    font-family: 'montse';
    src: url("./fonts/Montserrat-VariableFont_wght.ttf") format('truetype');
    font-style: normal;
    font-weight: 700;
}

.nosotros-img {
    flex: 1;
    min-width: 300px;
}

.nosotros-img img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

/* CONTACTO */

.contacto-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.contacto-card {
    width: 250px;
    background: #5eb1ff;
    border: 2px solid #ffffff;
    border-radius: 15px;
    padding: 30px;
    transition: .3s;
}

.contacto-card-correo {
    width: 300px;
    background: #0084ff;
    border: 2px solid #ffffff;
    border-radius: 15px;
    padding: 30px;
    transition: .3s;
}

.contacto-card-correo:hover {
    transform: translateY(-8px);
    border-color: #ffffff;
    box-shadow: 0 0 30px rgb(73, 131, 255);
}

.contacto-card-correo h3 {
    margin-bottom: 15px;
}

.contacto-card-correo p {
    color: #ffffff;
    font-weight: bold;
}

.contacto-card:hover {
    transform: translateY(-8px);
    border-color: #ffffff;
    box-shadow: 0 0 30px rgb(86, 196, 255);
}

.contacto-card h3 {
    margin-bottom: 15px;
}

.contacto-card p {
    color: #ffffff;
    font-weight: bold;
}

/* PRODUCTOS */

.contacto {
    padding: 60px;
    text-align: center;
}

.contacto h2 {
    margin-bottom: 40px;
    font-size: 30px;
}

/* MAYOREO */

.mayoreo {
    padding: 80px;
    text-align: center;
    background: #151515;
}

.mayoreo h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.mayoreo p {
    margin-bottom: 20px;
    color: #aaa;
}

.mayoreo button {
    background: #c0c0c0;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    border-radius: 6px;
}

.btn-cotizacion {
    font-size: 15px;
    text-decoration: none;
    color: #000000;
}

/* FOOTER */

footer {
    padding: 30px;
    text-align: center;
    background: #111;
    border-top: 1px solid #333;
}

/* Ajuste Bootstrap sin romper diseño */
.container,
.container-fluid {
    padding: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* OFFCANVAS MOVIL */

.offcanvas {
    width: 280px;
    background: #000000a3;
}

.offcanvas-header {
    border-bottom: 1px solid #707070;
    background: #000;
}

.offcanvas-title {
    color: white;
    font-weight: bold;
}

.offcanvas .nav-link {
    color: white;
    padding: 15px;
    font-size: 18px;
    border-radius: 8px;
    transition: .3s;
}

.offcanvas .nav-link:hover {
    color: #0084ff;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .navbar-collapse {
        position: absolute;
        top: 100px;
        left: 0;

        width: 100%;

        background: #111;
        padding: 20px 0;

        border-top: 1px solid #333;

        z-index: 999;
    }

    .navbar-nav {
        gap: 0 !important;
    }

    .navbar-nav .nav-item {
        padding: 10px 0;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
    }
}

/* ===================================
RESPONSIVE MOVIL
=================================== */

@media (max-width: 768px) {

    /* NAVBAR */

    .navbar {
        height: 80px;
        padding: 0 10px;
    }

    .img {
        width: 70px;
        height: 70px;
    }

    .nom-pag {
        font-size: 1rem;
    }

    /* HERO */

    .hero {
        min-height: 100vh;
        padding: 120px 20px 60px;
        justify-content: center;
        text-align: left;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: .95rem;
    }

    .hero button {
        width: 100%;
        max-width: 250px;
    }

    /* NOSOTROS */

    .nosotros {
        padding: 60px 20px;
    }

    .nosotros-contenedor {
        flex-direction: column;
        gap: 30px;
    }

    .nosotros-texto {
        min-width: auto;
        width: 100%;
    }

    .nosotros-texto h2 {
        font-size: 2rem;
        text-align: center;
    }

    .nosotros-img {
        min-width: auto;
        width: 100%;
    }

    .nosotros-img img {
        width: 100%;
    }

    /* CONTACTO */

    .contacto {
        padding: 60px 20px;
    }

    .contacto h2 {
        font-size: 2rem;
    }

    .contacto-card,
    .contacto-card-correo {
        width: 100%;
        max-width: 350px;
    }

    /* MAYOREO */

    .mayoreo {
        padding: 60px 20px;
    }

    .mayoreo h2 {
        font-size: 2rem;
    }

    .mayoreo button {
        width: 100%;
        max-width: 280px;
    }

    /* FOOTER */

    footer {
        padding: 20px;
        font-size: .9rem;
    }

}