/* ===============================
   RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   BODY BASE
================================ */
body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background: #f2f2f2;
    color: #333;
}

/* ===============================
   HEADER
================================ */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;  /* centra visualmente */
    padding: 30px 40px;
    min-height: 160px;
}

.logo {
    position: absolute;
    left: 40px;
    width: 170px; /* antes 200 */
}

.logo img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
}


.titulo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 48px;          /* antes 56px */
    font-weight: 600;         /* antes 700 */
    color: #b30000;
    letter-spacing: 1.5px;    /* más elegante */
    white-space: nowrap;
    text-transform: uppercase;
}


/* ===============================
   MENÚ
================================ */
.menu {
    background: linear-gradient(135deg, #8b0000, #b30000);
    text-align: center;
    padding: 10px 0; /* antes 12px */
}
.menu a {
    color: #fff;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 600;   /* antes bold */
    font-size: 15px;    /* antes 16 */
    letter-spacing: .5px;
}
.menu a:hover {
    color: #ffd700;
}


/* ===============================
   FOOTER
================================ */
.footer {
    background: #fff;
    padding: 70px 60px 35px;
    font-size: 15px;
}


.footer-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 1.5fr 1.5fr;
    gap: 55px;
}

/* Columna logo */
.footer-logo {
    max-width: 340px;
}

.footer-logo img {
    max-width: 180px;
}

/* Texto footer */
.footer-logo p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.55;
    color: #666;
}

.footer-col h4 {
    font-size: 21px;
    font-weight: 600;
    color: #111;
    margin-bottom: 16px;
}


/* Listas */
.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 6px;
}

/* Links */
.footer a {
    text-decoration: none;
    color: #666;
}

.footer a:hover {
    color: #b30000;
}


.footer {
    background: #fff;
    font-family: 'Open Sans', sans-serif;
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 18px;
}

.footer-col p,
.footer-col li,
.footer-col a {
    font-size: 14.5px;
    line-height: 1.7;
    color: #666;
}

.footer-col a {
    transition: color .3s ease;
}

.footer-col a:hover {
    color: #000;
}

/* ===============================
   ICONOS SOCIALES FOOTER – PRO
================================ */

.footer-redes {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-redes a {
    width: 38px;
    height: 38px;
    background: #000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.footer-redes a i {
    color: #fff;
    font-size: 15px;
}

/* Hover elegante (igual a Gran Fábrica) */
.footer-redes a:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

/* Colores por red */
.footer-redes a:nth-child(1):hover {
    background: #1877f2; /* Facebook */
}

/* Instagram */
.footer-logo .footer-redes a:nth-child(2):hover {
    background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af);
}

.footer-redes a:nth-child(3):hover {
    background: #000; /* Carrito */
}


/* ===============================
   COPYRIGHT
================================ */
.footer-copy {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    color: #888;
}

/* ===============================
   BOTÓN WHATSAPP FLOTANTE
================================ */
.whatsapp-float{
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 58px;
    height: 58px;

    background: #25d366;
    color: #fff;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    z-index: 9999;

    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

/* Quitar línea del enlace */
.whatsapp-float,
.whatsapp-float:hover,
.whatsapp-float:visited,
.whatsapp-float:active{
    text-decoration: none !important;
}

/* Ícono */
.whatsapp-float i{
    color: #fff;
    line-height: 1;
}

/* Hover elegante */
.whatsapp-float:hover{
    background: #1ebe5d;
    transform: scale(1.12);
    box-shadow: 0 14px 28px rgba(0,0,0,.45);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1000px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .titulo {
        font-size: 42px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-top {
        justify-content: center;
    }

    .titulo {
        position: static;
        transform: none;
        margin-top: 15px;
        font-size: 32px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        font-size: 24px;
    }
}
