/* ===============================
   RESET GENERAL
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   BODY
================================ */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f2f2f2;
    color: #333;
}

/* ===============================
   HEADER
================================ */
.header {
    background: #ffffff;
    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;
    padding: 20px 30px;
    min-height: 150px;
}

/* LOGO */
.logo {
    width: 200px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
}

/* ===============================
   TÍTULO
================================ */
.titulo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 56px;
    font-weight: 700;
    color: #b30000;
    letter-spacing: 2px;
    white-space: nowrap;
    animation: rebote 2.5s infinite ease-in-out;
}

@keyframes rebote {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

/* ===============================
   MENÚ
================================ */
.menu {
    background: linear-gradient(135deg, #8b0000, #c40000);
    text-align: center;
    padding: 12px 0;
}

.menu a {
    color: #ffffff;
    margin: 0 18px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.menu a:hover {
    color: #ffeb00;
}

/* ===============================
   BANNER
================================ */
.banner {
    position: relative;
    height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.banner-texto {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.banner h2 {
    font-size: 44px;
}

.banner p {
    font-size: 20px;
    margin: 15px 0 30px;
}

.btn-banner {
    background: #ffcc00;
    color: #000;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
}

/* ===============================
   CATEGORÍAS
================================ */
.categorias {
    background: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.categorias h2 {
    font-size: 32px;
    color: #b30000;
    margin-bottom: 40px;
}

.grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.categoria {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.categoria img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.categoria h3 {
    background: linear-gradient(135deg, #8b0000, #c40000);
    color: #fff;
    padding: 15px;
}

/* ===============================
   FOOTER (ESTILO GRAN FÁBRICA)
================================ */
.footer {
    background: #ffffff;
    padding: 60px 40px 20px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #444;
}

.footer-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 1.5fr 1.5fr;
    gap: 40px;
}

/* LOGO FOOTER */
.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

/* TEXTO */
.footer-logo p {
    line-height: 1.9;
    letter-spacing: 0.3px;
    text-align: justify;
}

/* TITULOS */
.footer-col h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* LISTAS */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    font-size: 15px;
    line-height: 2;
}

/* LINKS SIN SUBRAYADO */
.footer a {
    text-decoration: none !important;
    color: #444;
}

.footer a:hover {
    color: #b30000;
}

/* ===============================
   ICONOS REDES (BLANCOS)
================================ */
.footer-redes {
    margin-top: 15px;
}

.footer-redes a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: #000;
    color: #fff !important;
    margin-right: 10px;
    border-radius: 6px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-redes a:hover {
    background: #222;
    transform: translateY(-4px);
}

.footer-redes a:active {
    transform: scale(0.95);
}

/* COPYRIGHT */
.footer-copy {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #777;
}

/* ===============================
   WHATSAPP
================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    z-index: 9999;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===============================
   BENEFICIOS (SECCIÓN ICONOS)
================================ */
.beneficios {
    background: #ffffff;
    padding: 60px 20px;
}

.beneficios-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.beneficio i {
    font-size: 48px;
    color: #000;
    margin-bottom: 20px;
}

.beneficio h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.beneficio p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    max-width: 260px;
    margin: auto;
}

/* ===============================
   RESPONSIVE BENEFICIOS
================================ */
@media (max-width: 900px) {
    .beneficios-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .beneficios-container {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   MÁS VENDIDOS
================================ */
.mas-vendidos {
    background: #fff;
    padding: 70px 20px;
    text-align: center;
}

.mas-vendidos .subtitulo {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 8px;
}

.mas-vendidos h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #111;
}

.productos-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.producto {
    text-align: left;
}

.producto img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    margin-bottom: 15px;
}

.categoria-prod {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
}

.producto h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.precio {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.btn-comprar {
    font-size: 14px;
    color: #777;
    text-decoration: none;
}

.btn-comprar:hover {
    color: #b30000;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1000px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }

    .producto img {
        height: 260px;
    }
}

/* ===============================
   SLIDER DOTS (PUNTITOS)
================================ */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #ffcc00;
    transform: scale(1.3);
}

/* ===============================
   POR QUÉ ELEGIRNOS
================================ */
.elegirnos {
    background: #ffffff;
    padding: 80px 20px;
}

.elegirnos-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.elegirnos-mini {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #999;
    margin-bottom: 10px;
}

.elegirnos-texto h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

.elegirnos-texto p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
}

.elegirnos-imagen img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .elegirnos-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .elegirnos-texto h2 {
        font-size: 28px;
    }
}
/* ===============================
   SECCIÓN INFO MUEBLES
================================ */
.info-muebles {
    background: #ffffff;
    padding: 90px 20px;
}

.info-bloque {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
}

.info-bloque.reverse {
    grid-template-columns: 1fr 1fr;
}

.info-texto {
    padding-right: 20px;
}

.info-mini {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #999;
    margin-bottom: 12px;
}

.info-texto h2 {
    font-size: 38px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
}

.info-texto p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 18px;
}

.info-imagen img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .info-bloque,
    .info-bloque.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .info-texto {
        padding-right: 0;
    }

    .info-texto h2 {
        font-size: 28px;
    }
}

/* ===============================
   CALIDAD GARANTIZADA
================================ */
.calidad,
.elegirnos {
    background: #ffffff;
    padding: 80px 20px;
}

.calidad-container,
.elegirnos-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* TEXTO */
.calidad-tag {
    font-size: 14px;
    letter-spacing: 2px;
    color: #999;
    font-weight: 600;
}

.calidad-texto h2,
.elegirnos-texto h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 15px 0 25px;
    color: #111;
}

.calidad-destacado,
.elegirnos-destacado {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.calidad-texto p,
.elegirnos-texto p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* IMÁGENES */
.calidad-imagen img,
.elegirnos-imagen img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .calidad-container,
    .elegirnos-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .calidad-texto h2,
    .elegirnos-texto h2 {
        font-size: 34px;
    }

    .calidad-destacado,
    .elegirnos-destacado {
        font-size: 18px;
    }
}

/* ====== AJUSTE DE ESPACIADOS GENERALES ====== */
section {
    padding: 60px 0;
}

/* Juntar más calidad y elegirnos */
.calidad,
.elegirnos {
    padding: 50px 0;
}

/* Contenedores más compactos */
.calidad-container,
.elegirnos-container {
    gap: 40px;
}

/* Texto más compacto */
.calidad-texto p,
.elegirnos-texto p {
    margin-bottom: 14px;
    line-height: 1.6;
}

/* Títulos más fuertes estilo venta */
.calidad h2,
.elegirnos h2 {
    font-size: 38px;
    margin-bottom: 18px;
}

/* Texto destacado */
.calidad-destacado,
.elegirnos-destacado {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Imagen más alineada */
.calidad-imagen img,
.elegirnos-imagen img {
    border-radius: 18px;
    width: 100%;
    display: block;
}

/* ====== TESTIMONIOS ====== */
.testimonios {
    background: #f7efed;
    padding: 80px 20px;
    text-align: center;
}

.testimonios h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111;
}

/* SLIDER */
.testimonios-slider {
    max-width: 900px;
    margin: auto;
    position: relative;
}

.testimonio-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

.testimonio-card.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.testimonio-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.testimonio-card span {
    font-size: 14px;
    font-weight: 700;
    color: #9a0000;
    text-transform: uppercase;
}

/* DOTS */
.testimonios-dots {
    margin-top: 30px;
}

.t-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.t-dot.active {
    background: #9a0000;
}

/* ===============================
   TESTIMONIOS 2 POR VISTA
================================ */
.testimonios {
    background: #f6eeee;
    padding: 70px 20px;
    text-align: center;
}

.testimonios h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111;
}

/* VIEWPORT */
.testimonios-viewport {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

/* TRACK */
.testimonios-track {
    display: flex;
    transition: transform 0.6s ease;
}

/* TARJETA */
.testimonio {
    flex: 0 0 50%;
    padding: 0 15px;
}

.testimonio p {
    background: #fff;
    padding: 35px 30px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.testimonio span {
    font-size: 13px;
    font-weight: 700;
    color: #8b0000;
    letter-spacing: 1px;
}

/* DOTS */
.testimonios-dots {
    margin-top: 25px;
}

.dot-testimonio {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
}

.dot-testimonio.active {
    background: #8b0000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .testimonio {
        flex: 0 0 100%;
    }
}
