/* ===============================
   RESET SEGURO
================================ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 95px;
}

/* ===============================
   HERO ESTABLE (SIN FLEX)
================================ */
.hero-mobile {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.30;
    z-index: 1;
}

/* Forzamos centrado SIN flex */
.hero-mobile .container {
    position: relative;
    z-index: 2;
    /* padding-top: 30vh; */
    text-align: center;
}

/* ===============================
   BOTONES (SIN FLEX MODERNO)
================================ */
.btn-container-jr {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.btn-jr {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background: #333;
}

.btn-jr.cotizar {
    background: #008793;
}

.btn-jr.catalogo {
    background: #2b2b2b;
}

.btn-jr i {
    margin-right: 8px;
}

/* Ajuste específico para el botón "Ver catálogo completo" */
.btn-jr.secundario {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}


/* ===============================
   CATÁLOGO PREVIEW (SIN GRID)
================================ */
.destacados-wrapper {
    overflow-x: auto;
}

.destacados-scroll {
    white-space: nowrap;
}

.destacados-scroll .card {
    display: inline-block;
    width: 85%;
    max-width: 320px;
    margin-right: 16px;
    vertical-align: top;
}

.card-img-top {
    height: 220px; /* Puedes ajustar a gusto */
    object-fit: cover;
}

.card-img-top-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-img-top-wrapper img {
    width: 100%;
    height: auto; /* o min-height: 100% según necesites */
}

/* ===============================
   PROPUESTA DE VALOR
================================ */

:root {
    --brand-primary: #8b5e3c; /* madera */
}

h5 {
    color: var(--brand-primary);
}

.imagen-propuesta {
    max-width: 120px;    /* Controla el tamano de la imagen en la seccion Home/Propuesta de Valor en vista Desktop */
    border-radius: 1rem;
}

.imagen-propuesta:hover {
    transform: translateY(-8px);
}

/* Imágenes de valores */
.valor-img {
    width: 120px;
    height: auto;
    border-radius: 16px;
}

/* Tarjetas de valores */
.valor-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover elegante */
.valor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}



/* ===============================
   CTA FINAL
================================ */
.cta-final-jr {
    background: #111;
    color: #fff;
    padding: 3rem 1.5rem;
    text-align: center;
}

.cta-final-jr .btn-jr {
    max-width: 320px;
    margin: 10px auto;
}

/* ===============================
   IMAGEN EN CONSTRUCCION
================================ */

.img-construccion {
    width: 100%;
    height: auto;
}

/* ===============================
   VISTA PARA TELEFONO
================================ */

@media (min-width: 768px) {
    .w-md-40 {
        width: 40% !important;
    }

    .imagen-propuesta {     /* Controla el tamano de la imagen en la seccion Home/Propuesta de Valor en vista Movil */
        max-width: 180px;
    }

    .hero-mobile {
        min-height: 90vh;
    }

    .img-construccion {
        height: 450px;
        object-fit: contain;
    }
}

@media (max-width: 767px) {
    .hero-mobile {
        min-height: 60vh;
    }
}

/* ===============================
   ANIMACIONES
================================ */

.fade-derecha {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-izquierda {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-derecha.show {
    opacity: 1;
    transform: translateX(0);
}

.fade-izquierda.show {
    opacity: 1;
    transform: translateX(0);
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.4s;
}

.delay-2 {
    transition-delay: 0.6s;
}
