
/* CONFIGURACIÓN GENERAL */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #111;
    color: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;
}

/* MENU SUPERIOR */
header {
    background-color: #111;
    border-bottom: 1px solid #333;
    padding: 22px 6%;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #ddd;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #50d41b;
}

/* SECCIÓN INICIO */
.inicio {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 8%;
    overflow: hidden;
    background: linear-gradient(110deg, #111 55%, #252525);
}

/* TEXTO PRINCIPAL */
.inicio-contenido {
    flex: 1;
    max-width: 600px;
}

.subtitulo {
    color: #50d41b;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 4px;
}

.inicio h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.05;
    margin: 20px 0;
    font-weight: 900;
}

.inicio h1 span {
    color: #50d41b;
}

.descripcion {
    color: #ccc;
    font-size: 18px;
    line-height: 1.7;
    max-width: 500px;
}

/* BOTÓN DE WHATSAPP */
.boton-whatsapp {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 28px;
    background-color: #222;
    color: white;
    border: 1px solid #888;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

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

/* SERVICIOS */
.servicios {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 35px;
    color: #bbb;
    font-size: 13px;
    text-transform: uppercase;
}

/* IMAGEN PRINCIPAL */
.inicio-imagen {
    flex: 1;
    max-width: 520px;
}

.inicio-imagen img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(65%);
    border-radius: 4px;
}

/* GALERÍA DE CORTES */
.galeria {
    padding: 60px 8%;
    background: #171717;
    text-align: center;
}

.galeria h2 {
    font-size: 36px;
    color: #f2f2f2;
    text-transform: uppercase;
}

.galeria > p {
    color: #aaa;
    margin-bottom: 35px;
}

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

.tarjeta-corte {
    overflow: hidden;
    background: #222;
    border: 1px solid #383838;
    text-align: left;
}

.tarjeta-corte img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    filter: grayscale(35%);
    transition: transform 0.3s;
}

.tarjeta-corte:hover img {
    transform: scale(1.04);
}

.tarjeta-corte h3 {
    padding: 0 16px;
    color: #eee;
    font-size: 16px;
}

/* PRECIOS Y PROMOCIONES */
.precios-promos {
    padding: 60px 8%;
    background: #171717;
    color: #f2f2f2;
    text-align: center;
}

.precios-promos h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.introduccion {
    color: #aaa;
    margin-bottom: 35px;
}

/* LISTA DE PRECIOS */
.lista-precios {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.precio-item,
.promocion-item {
    background: #242424;
    border: 1px solid #444;
    padding: 24px;
    border-radius: 10px;
}

.precio-item h3,
.promocion-item h3 {
    color: #27b922;
}

.precio-item p {
    font-size: 24px;
    font-weight: bold;
}

/* PROMOCIONES */
.promociones {
    margin-top: 50px;
}

#lista-promociones {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* UBICACIÓN DEL LOCAL */
.ubicacion {
    padding: 70px 8%;
    background-color: #111;
    text-align: center;
}

.ubicacion-subtitulo {
    color: #50d41b;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
}

.ubicacion h2 {
    color: #f2f2f2;
    font-size: 36px;
    margin: 15px 0;
}

.ubicacion h2 span {
    color: #50d41b;
}

.ubicacion-direccion {
    color: #ccc;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* BOTÓN PARA ABRIR GOOGLE MAPS */
.boton-ubicacion {
    display: inline-block;
    padding: 14px 25px;
    margin-bottom: 35px;
    background-color: #50d41b;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

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

/* MAPA DE GOOGLE */
.mapa {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border: 1px solid #50d41b;
    border-radius: 8px;
    background-color: #222;
}

.mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* PIE DE PÁGINA */
.pie-pagina {
    background: #0b0b0b;
    color: #ddd;
    padding: 45px 8% 20px;
    border-top: 1px solid #333;
}

.pie-contenido {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    padding-bottom: 30px;
}

.pie-marca h2 {
    color: #50d41b;
    font-size: 24px;
}

.pie-contenido h3 {
    color: #50d41b;
    font-size: 15px;
    margin-bottom: 15px;
}

.pie-contenido p {
    color: #aaa;
    line-height: 1.6;
}

.pie-contacto a {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.pie-contacto a:hover {
    color: #50d41b;
}

.pie-final {
    border-top: 1px solid #333;
    padding-top: 15px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.pie-final p {
    margin-bottom: 0;
}

/* TABLETS Y CELULARES */
@media (max-width: 768px) {
    header {
        padding: 18px;
    }

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

    nav a {
        padding: 8px 0;
        font-size: 0.9rem;
    }

    .inicio {
        flex-direction: column;
        padding: 45px 22px;
        gap: 35px;
        text-align: center;
    }

    .inicio h1 {
        font-size: 42px;
        text-align: center;
    }

    .descripcion {
        font-size: 16px;
    }

    .inicio-imagen {
        width: 100%;
        max-width: 100%;
    }

    .inicio-imagen img {
        height: 380px;
    }

    .lista-cortes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tarjeta-corte img {
        height: 240px;
    }

    .lista-precios {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #lista-promociones {
        grid-template-columns: 1fr;
    }

    .mapa {
        height: 350px;
    }

    .pie-contenido {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* CELULARES PEQUEÑOS */
@media (max-width: 480px) {
    .lista-cortes,
    .lista-precios,
    #lista-promociones {
        grid-template-columns: 1fr;
    }

    .precio-item,
    .promocion-item {
        padding: 18px;
    }

    .precios-promos h2 {
        font-size: 26px;
    }

    .galeria h2 {
        font-size: 28px;
    }

    .inicio h1 {
        font-size: 36px;
    }

    .ubicacion {
        padding: 45px 20px;
    }

    .ubicacion h2 {
        font-size: 28px;
    }

    .ubicacion-direccion {
        font-size: 15px;
    }

    .mapa {
        height: 300px;
    }

    .pie-contenido {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
