/* --- 1. SECCIÓN HERO (ESTILO BOCETO) --- */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 700px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 40px;
    position: relative;
    /* Importante para el posicionamiento absoluto */
}

.hero-container {
    display: flex;
    width: 100%;
    max-width: 95%;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
}

/* CAJA IZQUIERDA (DATOS) */
.hero-info {
    flex: 0 0 auto;
    max-width: 500px;
    border: none;
    border-radius: 0;
    padding: 0px;
    color: white;
    background: transparent;
    backdrop-filter: none;
}

.hero-info h1 {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}

.hero-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* CAJA DERECHA (FORMULARIO) */
.hero-form-box {
    flex: 0 0 480px;
    min-height: auto;
    border: 1px solid #ddd;
    /* Borde profesional */
    background: rgba(255, 255, 255, 0.98);
    /* Fondo más sólido y profesional */
    padding: 40px;
    /* Padding generoso */
    border-radius: 4px;
    /* Bordes ligeramente redondeados - profesional */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* Sombra sutil y profesional */
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-top: 0px;
    margin-right: 130px;
}

.hero-form-box h3 {
    display: none;
}

/* --- 2. GRID PRODUCTOS --- */
.titulo-seccion {
    text-align: center;
    margin: 60px 0 40px 0;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #222;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 5%;
    margin-bottom: 80px;
}

.pager__card.catalogo-item {
    width: 100%;
    height: 450px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.pager__card.catalogo-item:hover {
    transform: translateY(-5px);
}

.img-container {
    flex: 0 0 70%;
    height: 70%;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.pager__card.catalogo-item:hover img {
    transform: scale(1.08);
}

.catalogo-desc {
    flex: 0 0 30%;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #fafafa;
    border-top: 1px solid #f0f0f0;
    padding: 0 15px;
}

.catalogo-desc h1 {
    font-size: 15px;
    font-weight: 800;
    color: #222;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.catalogo-desc p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* Overlays */
.overlay-cotizar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    z-index: 5;
}

.btn-cotizar-visual {
    background: #D2691E;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    transform: translateY(20px);
    transition: 0.3s;
}

.pager__card.catalogo-item:hover .overlay-cotizar {
    opacity: 1;
}

.pager__card.catalogo-item:hover .btn-cotizar-visual {
    transform: translateY(0);
}

.overlay-check {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 6;
    pointer-events: none;
    transition: 0.3s;
}

.icon-check {
    font-size: 60px;
    color: #25d366;
    transform: scale(0);
    transition: 0.3s;
}

.pager__card.selected {
    border: 2px solid #25d366;
}

.pager__card.selected .overlay-check {
    opacity: 1;
}

.pager__card.selected .icon-check {
    transform: scale(1);
}

.pager__card.selected:hover .overlay-cotizar {
    opacity: 0;
}

/* FAQ */
.faq-container {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    padding: 20px;
}

.faq-titulo {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 800;
    font-size: 2rem;
}

.faq-item {
    border: 1px solid #eee;
    margin-bottom: 5px;
    border-radius: 0px;
}

.faq-btn {
    width: 100%;
    padding: 18px 20px;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #D2691E;
    font-weight: bold;
    font-size: 16px;
    transition: 0.2s;
}

.faq-btn:hover {
    background-color: #f9f9f9;
}

.faq-btn span {
    margin-right: 15px;
    font-size: 20px;
    font-weight: 900;
    color: #D2691E;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
    color: #555;
    border-top: 1px solid transparent;
}

.faq-content p {
    padding: 25px;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

.faq-btn.active+.faq-content {
    border-top: 1px solid #eee;
}

/* Barra Flotante */
.cotizador-flotante {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: #D2691E;
    /* ORANGE BACKGROUND */
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.4s;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cotizador-flotante h4,
.cotizador-flotante span#contador {
    color: white !important;
    /* Force White text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-desplegar {
    background-color: #000;
    /* BLACK BUTTON */
    color: #fff !important;
    /* WHITE TEXT */
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.btn-desplegar:hover {
    transform: scale(1.05);
    background-color: #333;
}

.cotizador-flotante.activo {
    bottom: 0;
}

/* ========================================
   RESPONSIVE DESIGN - HERO SECTION
   ======================================== */

/* Tablets y pantallas medianas (hasta 1024px) */
@media (max-width: 1024px) {
    .hero-container {
        max-width: 100%;
        gap: 30px;
        padding: 0 20px;
    }

    .hero-info {
        max-width: 450px;
    }

    .hero-info h1 {
        font-size: 3rem;
    }

    .hero-form-box {
        flex: 0 0 350px;
    }
}

/* Tablets pequeñas (hasta 768px) */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 40px 20px;
        flex-direction: column;
        /* Agregado para apilar checkmarks debajo */
    }

    .hero-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .hero-info {
        max-width: 100%;
        width: 100%;
    }

    .hero-info h1 {
        font-size: 2.5rem;
    }

    .hero-form-box {
        flex: 1 1 auto;
        width: 100%;
        max-width: 500px;
    }
}

/* Móviles (hasta 480px) */
@media (max-width: 480px) {
    .hero-section {
        padding: 30px 15px;
    }

    .hero-info h1 {
        font-size: 2rem;
    }

    .hero-description p {
        font-size: 1.2rem;
    }

    .hero-form-box {
        padding: 30px 20px;
        min-height: auto;
    }
}

/* =========================================
   BOTÓN DE EXPANSIÓN (ZOOM)
   ========================================= */
.btn-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    /* Encima de la imagen */
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-zoom:hover {
    background: #D2691E;
    /* Color corporativo */
    border-color: #fff;
    transform: scale(1.1);
}

/* =========================================
   MODAL / VISOR DE IMAGEN (LIGHTBOX)
   ========================================= */
.modal-visor {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    z-index: 9999;
    /* Encima de todo el sitio */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* Fondo negro casi opaco */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-imagen {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s;
}

.modal-cerrar {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal-cerrar:hover,
.modal-cerrar:focus {
    color: #D2691E;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================
   RECOMMENDED LINES CAROUSEL
   ========================================= */
.recommended-lines {
    padding: 30px 0;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.linea-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.linea-track-container {
    width: 100%;
    overflow: hidden;
    max-width: 1100px;
    /* Max width to show approx 5 items */
}

.linea-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.linea-card-nav {
    flex: 0 0 250px;
    /* Increased from 200px */
    height: 220px;
    /* Increased from 120px */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.linea-card-nav:hover {
    transform: translateY(-5px);
}

.linea-card-img {
    height: 160px;
    /* Increased from 80px */
    background-size: cover;
    background-position: center;
}

.linea-card-nav span {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    padding: 0 10px;
}

.linea-btn {
    background: #333;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linea-btn:hover {
    background: #D2691E;
}