﻿

/* =========================================
   RIMAG IMPORTACIONES - THEME 2026
   ========================================= */

:root {
    --rimag-blue: #002868;
    --rimag-orange: #ff6600;
    --rimag-light: #f5f7fa;
    --rimag-dark: #0f172a;
    --rimag-white: #ffffff;
}

body {
    background: #f5f7fa !important;
}

/* =========================================
   HERO HOME
========================================= */

.hero-rimag {
    width: 100%;
    margin: 0;
    background: #002868;
    padding: 30px 40px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

.hero-left {
    flex: 1;
}

    .hero-left h1 {
        font-size: 62px;
        font-weight: 800;
        line-height: 1.1;
        color: #ffffff;
        margin-bottom: 20px;
    }

        .hero-left h1 span {
            color: #FF6A00;
        }

    .hero-left p {
        font-size: 18px;
        color: #ffffff;
        max-width: 500px;
    }

.hero-right {
    flex: 1;
    text-align: center;
}

    .hero-right img {
        width: 100%;
        max-width: 700px;
    }

/* =========================================
   HEADER RIMAG
========================================= */

.rimag-header {
    width: 100%;
    background: white;
    padding: 20px 40px;
    margin: 20px 0 0 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    box-sizing: border-box;
}

    .rimag-header .container-rimag {
        display: flex;
        align-items: center;
        gap: 30px;
    }

.header-logo img {
    height: 60px;
}

.header-search {
    flex: 1;
    max-width: 900px;
    margin-right: 60px;
}

    .header-search input {
        width: 100%;
        height: 48px;
        border: 2px solid #e5e5e5;
        border-radius: 8px;
        padding: 0 15px;
        font-size: 15px;
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
}

    .header-actions a {
        text-decoration: none;
        color: #0B2E6B;
        font-weight: 600;
    }

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .hero-rimag {
        flex-direction: column;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left p {
        max-width: 100%;
    }

    .hero-right img {
        max-width: 100%;
    }

    .rimag-features {
        flex-direction: column;
        gap: 20px;
    }

    .feature-item {
        width: 100%;
        border-right: none !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 768px) {

    .rimag-header {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

        .rimag-header .container-rimag {
            flex-direction: column;
            align-items: center;
            gap: 20px;
            text-align: center;
        }

    .header-search {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }

        .header-search input {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

    .header-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .rimag-menu {
        width: 100%;
        padding: 15px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        box-sizing: border-box;
    }

        .rimag-menu a {
            font-size: 14px;
            height: auto;
        }

    .hero-rimag {
        width: 100%;
        margin: 0;
        padding: 25px;
        gap: 25px;
        flex-direction: column;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

        .hero-left h1 {
            font-size: 32px;
        }

        .hero-right img {
            width: 100%;
            max-width: 100%;
            height: auto;
            display: block;
        }
}


/* =========================================
   MENU RIMAG
========================================= */

.rimag-menu {
    width: 100%;
    margin: 0;
    background: #ffffff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 45px;
    height: 60px;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

    .rimag-menu a {
        position: relative;
        text-decoration: none;
        color: #111827;
        font-size: 15px;
        font-weight: 500;
        height: 60px;
        display: flex;
        align-items: center;
        transition: .2s;
    }

        .rimag-menu a:hover {
            color: #ff6600;
        }

        .rimag-menu a.active {
            color: #ff6600;
            font-weight: 600;
        }

            .rimag-menu a.active::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background: #ff6600;
            }

/* =========================================
   MENU RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .rimag-menu {
        width: 100%;
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
        height: auto;
        box-sizing: border-box;
    }

        .rimag-menu a {
            height: auto;
            padding: 8px 12px;
            font-size: 13px;
            white-space: nowrap;
        }

            .rimag-menu a.active::after {
                display: none;
            }
}



/* =========================================
   BENEFICIOS
========================================= */

.rimag-features {
    width: 100%;
    margin: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

    .feature-item i {
        font-size: 34px;
        color: #002868;
    }

    .feature-item strong {
        display: block;
        font-size: 15px;
        color: #111827;
    }

    .feature-item span {
        display: block;
        font-size: 13px;
        color: #6b7280;
    }

    .feature-item:not(:last-child) {
        border-right: 1px solid #e5e7eb;
        padding-right: 20px;
    }

@media (max-width: 900px) {

    .rimag-features {
        flex-direction: column;
        gap: 20px;
    }

    .feature-item {
        width: 100%;
        border-right: none !important;
        padding-right: 0 !important;
    }
}


/* =========================================
   FOOTER RIMAG
========================================= */

.rimag-footer {
    margin-top: 0;
}

.rimag-footer-top {
    background: #0b5ed7;
    color: white;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.footer-cta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.footer-cta-icon i {
    font-size: 70px;
    color: white;
}

.footer-cta-content h3 {
    margin: 0 0 10px 0;
    font-size: 30px;
    font-weight: 700;
}

.footer-cta-content p {
    margin: 0 0 20px 0;
    opacity: .9;
}

.btn-cotizacion {
    display: inline-block;
    background: white;
    color: #0b5ed7;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.footer-benefits {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .benefit i {
        font-size: 28px;
    }

.rimag-footer-main {
    background: #0f172a;
    color: white;
    padding: 70px 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand img {
    max-width: 220px;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
    color: #cbd5e1;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
}

.footer-col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-col p {
    color: #cbd5e1;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: white;
}

@media (max-width: 900px) {

    .rimag-footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-cta {
        flex-direction: column;
    }

    .footer-benefits {
        grid-template-columns: 1fr;
    }

    .rimag-footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
}



/* =========================================
   CONTENEDOR GENERAL
========================================= */

.container-rimag {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
}

.header-search {
    display: flex;
    gap: 10px;
}

#btnBuscar {
    width: 50px;
    border: none;
    border-radius: 8px;
    background: #ff6600;
    color: white;
    cursor: pointer;
}



/* GRID PRODUCTOS HOME */

.resultados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

