@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&display=swap');

:root {
    --v: #07ff1c;
    --n: #000;
    --b: #fff;
    --g: #f4f4f4;
    --s: 0 18px 45px rgba(0, 0, 0, .18)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: Poppins, sans-serif;
    background: var(--g);
    color: #161616
}

a {
    text-decoration: none
}

img {
    display: block;
    max-width: 100%
}

.contenedor {
    width: min(1220px, calc(100% - 40px));
    margin: auto
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000
}

.header__container {
    min-height: 84px;
    padding: 10px 28px;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 24px
}

.logo img {
    width: 62px;
    height: 62px;
    object-fit: contain
}

.menu {
    display: flex;
    justify-content: center;
    gap: 34px
}

.menu a,
.redes-sociales a {
    color: var(--v);
    font-weight: 700
}

.redes-sociales {
    display: flex;
    gap: 17px
}

.redes-sociales a {
    font-size: 23px
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--v);
    border-radius: 10px;
    color: var(--v);
    background: transparent
}

.hero {
    min-height: 650px;
    padding: 90px 20px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(#000b, rgba(0, 0, 0, 0.342)), url('/img/venta_compus.png') center/cover
}

.hero__contenido {
    width: min(1050px, 100%)
}

.hero__etiqueta,
.titulo span,
.contacto__texto span {
    color: var(--v);
    font-weight: 800;
    letter-spacing: 2px
}

.hero h1 {
    margin: 12px 0 24px;
    font-size: clamp(44px, 7vw, 94px);
    line-height: .98
}

.hero h1 b {
    display: block;
    color: var(--v)
}

.hero p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.65
}

.hero__acciones {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap
}

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 14px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--v);
    color: #000;
    font-weight: 800
}

.boton--secundario {
    background: transparent;
    color: #fff;
    border: 1px solid var(--v)
}

.productos,
.servicios,
.contacto {
    padding: 85px 0
}

.titulo {
    max-width: 880px;
    margin: 0 auto 42px;
    text-align: center
}

.titulo h2,
.contacto__texto h2 {
    margin: 8px 0;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05
}

.titulo p {
    color: #555
}

.buscador {
    max-width: 700px;
    margin: 0 auto 34px;
    padding: 14px 18px;
    display: flex;
    gap: 12px;
    background: #fff;
    border: 2px solid #dfe5df;
    border-radius: 12px
}

.buscador input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 16px
}

.productos__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.producto {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--s)
}

.producto.oculto {
    display: none
}

.producto__imagen {
    height: 220px;
    background: #111
}

.producto__imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.producto__contenido {
    padding: 24px
}

.producto__contenido>span {
    color: #00bb1d;
    font-weight: 900
}

.producto h3 {
    margin: 7px 0
}

.producto p {
    color: #555;
    line-height: 1.6
}

.producto ul {
    padding: 0;
    list-style: none
}

.producto li {
    margin: 8px 0
}

.producto li:before {
    content: '✓';
    color: #00bb1d;
    font-weight: 900;
    margin-right: 8px
}

.producto__boton {
    width: 100%
}

.sin-resultados {
    display: none;
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px
}

.sin-resultados.visible {
    display: block
}

.servicios {
    background: #111
}

.titulo--claro h2 {
    color: #fff
}

.servicios__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px
}

.servicios article {
    padding: 28px;
    border: 1px solid #07ff1c55;
    border-radius: 16px;
    background: #181818;
    color: #ddd
}

.servicios i,
.servicios h3 {
    color: var(--v)
}

.servicios p {
    line-height: 1.6
}

.contacto__caja {
    padding: 42px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    border-radius: 20px;
    background: #111;
    color: #fff
}

.contacto__texto p {
    color: #ccc;
    line-height: 1.6
}

.formulario {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.formulario input,
.formulario select,
.formulario textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #444;
    border-radius: 9px;
    background: #1d1d1d;
    color: #fff
}

.formulario textarea,
.formulario button {
    grid-column: 1/-1
}

.boton--whatsapp {
    background: #1ebe5d;
    color: #fff
}

.footer {
    padding: 35px 7%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 25px;
    background: #000;
    color: #ccc
}

.footer img {
    width: 75px
}

.footer h2 {
    color: var(--v);
    margin: 0
}

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

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

    .contacto__caja {
        grid-template-columns: 1fr
    }
}

@media(max-width:760px) {
    .contenedor {
        width: min(100% - 28px, 1220px)
    }

    .header__container {
        display: flex;
        flex-wrap: wrap;
        min-height: 72px;
        padding: 9px 14px
    }

    .logo img {
        width: 52px;
        height: 52px
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        margin-left: auto
    }

    .menu {
        display: none;
        order: 3;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding-top: 10px
    }

    .menu.abierto {
        display: flex
    }

    .menu a {
        width: 100%;
        padding: 13px;
        text-align: center;
        border-top: 1px solid #222
    }

    .redes-sociales {
        display: none
    }

    .hero {
        min-height: 540px;
        padding: 70px 15px
    }

    .hero h1 {
        font-size: clamp(36px, 11vw, 58px)
    }

    .hero__acciones {
        flex-direction: column
    }

    .productos__grid,
    .servicios__grid {
        grid-template-columns: 1fr
    }

    .formulario {
        grid-template-columns: 1fr
    }

    .formulario textarea,
    .formulario button {
        grid-column: auto
    }

    .contacto__caja {
        padding: 26px 17px
    }

    .footer {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center
    }
}

@media(max-width:390px) {
    .hero h1 {
        font-size: 34px
    }

    .titulo h2,
    .contacto__texto h2 {
        font-size: 30px
    }

    .hero {
        padding: 58px 13px
    }
}

.producto__acciones{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.producto__acciones .boton{
    flex:1;
    justify-content:center;
}

.boton-reparacion{
    background:#111;
    color:#fff;
    border:2px solid #07ff1c;
}

.boton-reparacion:hover{
    background:#07ff1c;
    color:#000;
}

.boton-compra{
    background:#07ff1c;
    color:#000;
}

.boton-compra:hover{
    background:#00c716;
}

@media(max-width:768px){

    .producto__acciones{
        flex-direction:column;
    }

}