/* =========================
   CONFIGURACIÓN GENERAL
   ========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0d0d0d;
    color: white;
}

html {
    scroll-behavior: smooth;
}

a {
    color: white;
    text-decoration: none;
}


/* =========================
   ENCABEZADO
   ========================= */

header {
    width: 100%;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #292929;
    background-color: #0d0d0d;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.logo img {
    width: 150px;
    height: 65px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.logo span {
    color: #ffd600;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    font-size: 22px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffd600;
}


/* =========================
   HERO / INICIO
   ========================= */

.hero {
    min-height: 80vh;
    padding: 80px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text {
    max-width: 850px;
}

.small-title {
    color: #ffd600;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 65px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #ffd600;
}

.hero p {
    font-size: 20px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 30px;
}


/* =========================
   BOTÓN
   ========================= */

button {
    background-color: #ffd600;
    color: #000000;
    border: none;
    padding: 16px 28px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

button:hover {
    transform: translateY(-3px);
    background-color: #ffe44d;
}


/* =========================
   SERVICIOS
   ========================= */

.servicios {
    padding: 100px 8%;
    text-align: center;
    background-color: #111111;
}

.servicios h2 {
    font-size: 45px;
    margin: 10px 0;
}

.descripcion {
    color: #bbbbbb;
    font-size: 18px;
    margin-bottom: 50px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.servicio {
    background-color: #1a1a1a;
    padding: 35px 25px;
    border-radius: 15px;
    border: 1px solid #292929;
    transition: transform 0.3s, border-color 0.3s;
}

.servicio:hover {
    transform: translateY(-8px);
    border-color: #ffd600;
}

.icono {
    font-size: 45px;
    margin-bottom: 15px;
}

.servicio h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.servicio p {
    color: #aaaaaa;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================
   CELULARES / TABLETS
   ========================= */

@media (max-width: 800px) {

    header {
        padding: 20px 6%;
        flex-direction: column;
        gap: 20px;
    }

    nav {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 550px;
        padding: 60px 6%;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero p {
        font-size: 18px;
    }

    .servicios {
        padding: 70px 6%;
    }

    .servicios h2 {
        font-size: 38px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }
}/* BOTÓN DE WHATSAPP */

.boton-whatsapp {
    display: inline-block;
    background-color: #ffd600;
    color: #000000;
    padding: 16px 28px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 8px;
    transition: transform 0.3s, background-color 0.3s;
}

.boton-whatsapp:hover {
    transform: translateY(-3px);
    background-color: #ffe44d;
}

/* =========================
   CATÁLOGO
   ========================= */

.catalogo {
    padding: 100px 8%;
    text-align: center;
    background-color: #0d0d0d;
}

.catalogo h2 {
    font-size: 45px;
    margin: 10px 0;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.producto {
    background-color: #1a1a1a;
    border: 1px solid #292929;
    border-radius: 15px;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s;
}

.producto:hover {
    transform: translateY(-8px);
    border-color: #ffd600;
}

.producto-imagen {
    height: 180px;
    background-color: #222222;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 70px;
    margin-bottom: 20px;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.producto:hover .producto-imagen img {
    transform: scale(1.10);
}

.producto h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.producto p {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.5;
    min-height: 45px;
}

.precio {
    color: #ffd600;
    font-size: 25px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.disponible {
    display: inline-block;
    color: #6cff6c;
    background-color: #142014;
    border: 1px solid #245724;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-top: 5px;
}


/* =========================
   CATÁLOGO EN CELULAR
   ========================= */

@media (max-width: 1000px) {

    .catalogo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .catalogo-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   BOTÓN DEL PRODUCTO
   ========================= */

.boton-producto {
    display: block;
    text-align: center;
    background-color: #ffd600;
    color: #000000;
    padding: 12px 15px;
    margin-top: 20px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 15px;
    transition: transform 0.3s, background-color 0.3s;
}

.boton-producto:hover {
    transform: translateY(-3px);
    background-color: #ffe44d;
}

/* =========================
   CONTACTO
   ========================= */

.contacto {
    padding: 100px 8%;
    text-align: center;
    background-color: #111111;
}

.contacto h2 {
    font-size: 45px;
    margin: 10px 0 20px;
}

.contacto-texto {
    color: #bbbbbb;
    font-size: 18px;
    margin-bottom: 50px;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

.contacto-item {
    background-color: #1a1a1a;
    border: 1px solid #292929;
    border-radius: 15px;
    padding: 35px 25px;
    transition: transform 0.3s, border-color 0.3s;
}

.contacto-item:hover {
    transform: translateY(-8px);
    border-color: #ffd600;
}

.contacto-icono {
    font-size: 40px;
    margin-bottom: 15px;
}

.contacto-item h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.contacto-item p {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.contacto-item a {
    color: #ffd600;
    font-weight: bold;
    transition: color 0.3s;
}

.contacto-item a:hover {
    color: white;
}


/* =========================
   CONTACTO EN CELULAR
   ========================= */

@media (max-width: 800px) {

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .contacto h2 {
        font-size: 36px;
    }

}

/* =========================
   FOOTER
   ========================= */

footer {
    background-color: #080808;
    border-top: 1px solid #292929;
    padding-top: 50px;
}

.footer-contenido {
    text-align: center;
    padding: 0 8% 40px;
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
}

.footer-logo span {
    color: #ffd600;
}

.footer-contenido p {
    color: #888888;
    font-size: 15px;
    margin-bottom: 25px;
}

.footer-enlaces {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-enlaces a {
    color: #bbbbbb;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-enlaces a:hover {
    color: #ffd600;
}

.footer-bottom {
    border-top: 1px solid #222222;
    text-align: center;
    padding: 20px;
    color: #666666;
    font-size: 13px;
}

/* =========================
   IMAGEN DEL INICIO
   ========================= */

.hero-imagen {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-imagen img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

@media (max-width: 800px) {

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-imagen {
        max-width: 500px;
    }

    .hero-imagen img {
        height: 300px;
    }

}

/* =========================
   SERVICIOS DESPLEGABLES
   ========================= */

.servicio details {
    width: 100%;
}

.servicio summary {
    list-style: none;
    cursor: pointer;
}

.servicio summary::-webkit-details-marker {
    display: none;
}

.servicio-detalle {
    margin-top: 25px;
    text-align: left;
    animation: aparecerServicio 0.35s ease;
}

.servicio-precio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-size: 16px;
}

.servicio-precio strong {
    color: #ffd600;
    white-space: nowrap;
}

.servicio-detalle .boton-producto {
    display: block;
    text-align: center;
    margin-top: 25px;
}

@keyframes aparecerServicio {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}/* Indicador + / - para servicios */

.servicio summary {
    position: relative;
    padding-bottom: 5px;
}

.servicio summary::after {
    content: "+";
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 28px;
    font-weight: bold;
    color: #ffd600;
    transition: transform 0.3s ease;
}

.servicio[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}
/* =========================
   POR QUÉ 404 LAB
   ========================= */

.porque {
    padding: 100px 8%;
    text-align: center;
    background-color: #0d0d0d;
}

.porque h2 {
    font-size: 45px;
    margin: 10px 0 20px;
}

.porque .descripcion {
    max-width: 700px;
    margin: 0 auto 60px;
}

.porque-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.porque-item {
    background-color: #1a1a1a;
    border: 1px solid #292929;
    border-radius: 15px;
    padding: 35px 25px;
    transition: transform 0.3s, border-color 0.3s;
}

.porque-item:hover {
    transform: translateY(-8px);
    border-color: #ffd600;
}

.porque-icono {
    font-size: 40px;
    margin-bottom: 18px;
}

.porque-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.porque-item p {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .porque-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .porque {
        padding: 80px 6%;
    }

    .porque h2 {
        font-size: 34px;
    }

    .porque-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   WHATSAPP FLOTANTE
   ========================= */

.whatsapp-flotante {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    transition: transform 0.3s ease;
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
}