/* Homepage Hero/Carousel — index.blade.php */
/* ===== Hero Carousel ===== */
        .hero-carousel-section {
            margin-top: 0;
        }
        .hero-slide {
            min-height: 480px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            position: relative;
        }
        .hero-slide-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(8,24,40,0.82) 0%, rgba(10,42,75,0.7) 50%, rgba(8,24,40,0.6) 100%);
            z-index: 1;
        }
        .hero-slide .container {
            position: relative;
            z-index: 2;
        }
        .hero-slide-content {
            max-width: 640px;
            padding: 40px 0;
        }
        .hero-slide-title {
            font-size: 44px;
            font-weight: 800;
            color: #fff;
            line-height: 1.15;
            margin-bottom: 16px;
            text-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }
        .hero-slide-desc {
            font-size: 17px;
            color: rgba(255,255,255,0.75);
            line-height: 1.6;
            margin-bottom: 30px;
            max-width: 500px;
        }
        .hero-slide-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }
        .hero-slide-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 28px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
        }
        .hero-slide-btn.primary {
            background: linear-gradient(135deg, #0167F3, #0050c8);
            color: #fff;
            box-shadow: 0 4px 15px rgba(1,103,243,0.3);
        }
        .hero-slide-btn.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(1,103,243,0.45);
            color: #fff;
        }
        .hero-slide-btn.outline {
            background: rgba(255,255,255,0.08);
            border: 2px solid rgba(255,255,255,0.25);
            color: rgba(255,255,255,0.9);
            backdrop-filter: blur(5px);
        }
        .hero-slide-btn.outline:hover {
            border-color: rgba(255,255,255,0.5);
            background: rgba(255,255,255,0.12);
            color: #fff;
        }

        /* Carousel controls */
        #heroCarousel .carousel-control-prev,
        #heroCarousel .carousel-control-next {
            width: 56px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        #heroCarousel:hover .carousel-control-prev,
        #heroCarousel:hover .carousel-control-next {
            opacity: 1;
        }
        .hero-nav-icon {
            width: 44px;
            height: 44px;
            background: rgba(255,255,255,0.15);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            transition: all 0.3s;
        }
        .hero-nav-icon i {
            font-size: 18px;
            color: #fff;
        }
        .hero-nav-icon:hover {
            background: rgba(1,103,243,0.6);
            border-color: rgba(1,103,243,0.8);
        }
        #heroCarousel .carousel-indicators {
            margin-bottom: 16px;
        }
        #heroCarousel .carousel-indicators button {
            width: 32px;
            height: 4px;
            border-radius: 4px;
            border: none;
            background: rgba(255,255,255,0.35);
            transition: all 0.3s;
        }
        #heroCarousel .carousel-indicators button.active {
            background: #0167F3;
            width: 48px;
        }

        /* Slide animation */
        .carousel-item .hero-slide-content {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.7s ease 0.3s;
        }
        .carousel-item.active .hero-slide-content {
            opacity: 1;
            transform: translateY(0);
        }

        /* Brands bar */
        .hero-stats-bar {
            background: linear-gradient(135deg, #0a1628, #0d2847);
            padding: 16px 0;
            border-top: 1px solid rgba(1,103,243,0.2);
        }
        .hero-brands-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        .hero-mini-brand {
            height: 52px;
            padding: 6px 18px;
            background: rgba(255,255,255,0.92);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            box-shadow: 0 2px 12px rgba(0,0,0,0.25);
        }
        .hero-mini-brand:hover {
            background: #fff;
            transform: translateY(-2px);
            box-shadow: 0 6px 22px rgba(0,0,0,0.3);
        }
        .hero-mini-brand img {
            height: 32px;
            max-width: 110px;
            object-fit: contain;
            opacity: 0.9;
            transition: opacity 0.2s;
        }
        .hero-mini-brand:hover img {
            opacity: 1;
        }
        .hero-mini-brand span {
            font-size: 12px;
            color: #1a2744;
            font-weight: 700;
            white-space: nowrap;
        }
        .hero-mini-brand:hover span {
            color: #0167F3;
        }

        /* Responsive */
        @media (max-width: 991.98px) {
            .hero-slide {
                min-height: 360px;
                background-position: center center;
            }
            .hero-slide-title { font-size: 32px; }
            .hero-slide-desc { font-size: 15px; }
            .hero-slide-content { padding: 30px 0; text-align: left; }
            .hero-brands-row { gap: 8px; }
            .hero-mini-brand { height: 44px; padding: 5px 14px; }
            .hero-mini-brand img { height: 26px; max-width: 100px; }
        }
        @media (max-width: 575.98px) {
            .hero-slide {
                min-height: 320px;
                background-position: center center;
            }
            .hero-slide-title { font-size: 26px; }
            .hero-slide-desc { font-size: 14px; margin-bottom: 20px; }
            .hero-slide-btn { padding: 10px 20px; font-size: 13px; }
            .hero-slide-content { text-align: left; }
            .hero-slide-actions { justify-content: flex-start; }
            .hero-brands-row { gap: 6px; }
            .hero-mini-brand { height: 38px; padding: 4px 10px; border-radius: 8px; }
            .hero-mini-brand img { height: 22px; max-width: 80px; }
            .hero-mini-brand span { font-size: 10px; }
        }

        /* ===== Categorias Mosaic ===== */
        .cat-mosaic-section { overflow: hidden; }
        .cat-mosaic {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: 300px 245px;
            gap: 10px;
            padding: 0 15px;
            max-width: 1400px;
            margin: 0 auto;
        }
        .cat-mosaic-item {
            position: relative;
            overflow: hidden;
            border-radius: 14px;
            background-size: cover;
            background-position: center;
            text-decoration: none;
            transition: transform 0.4s cubic-bezier(.25,.46,.45,.94), box-shadow 0.4s ease;
        }
        .cat-mosaic-item:hover {
            transform: scale(1.025);
            box-shadow: 0 20px 55px rgba(0,0,0,0.28);
            z-index: 2;
        }
        /* Grid positions */
        .cat-mosaic-item--1 { grid-column: 1 / 3; grid-row: 1; }
        .cat-mosaic-item--2 { grid-column: 3;     grid-row: 1; }
        .cat-mosaic-item--3 { grid-column: 4;     grid-row: 1; }
        .cat-mosaic-item--4 { grid-column: 1;     grid-row: 2; }
        .cat-mosaic-item--5 { grid-column: 2;     grid-row: 2; }
        .cat-mosaic-item--6 { grid-column: 3 / 5; grid-row: 2; }
        /* Gradient overlay */
        .cat-mosaic-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(5,15,35,.88) 0%, rgba(5,15,35,.22) 55%, transparent 100%);
            transition: background 0.4s ease;
            z-index: 1;
        }
        .cat-mosaic-item:hover .cat-mosaic-overlay {
            background: linear-gradient(to top, rgba(1,103,243,.82) 0%, rgba(1,103,243,.28) 55%, transparent 100%);
        }
        /* Content */
        .cat-mosaic-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 22px 20px 20px;
            z-index: 2;
        }
        .cat-mosaic-name {
            display: block;
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 0.2px;
            text-shadow: 0 1px 8px rgba(0,0,0,.45);
            line-height: 1.3;
        }
        .cat-mosaic-item--1 .cat-mosaic-name,
        .cat-mosaic-item--6 .cat-mosaic-name { font-size: 22px; }
        .cat-mosaic-cta {
            display: block;
            font-size: 12px;
            color: rgba(255,255,255,.78);
            margin-top: 5px;
            opacity: 0;
            transform: translateY(8px);
            transition: all 0.3s ease;
            font-weight: 500;
        }
        .cat-mosaic-cta i { font-size: 11px; transition: transform 0.3s; }
        .cat-mosaic-item:hover .cat-mosaic-cta { opacity: 1; transform: translateY(0); }
        .cat-mosaic-item:hover .cat-mosaic-cta i { transform: translateX(4px); }
        /* Responsive tablet */
        @media (max-width: 991.98px) {
            .cat-mosaic {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 230px 180px 180px 180px;
            }
            .cat-mosaic-item--1 { grid-column: 1 / 3; grid-row: 1; }
            .cat-mosaic-item--2 { grid-column: 1;     grid-row: 2; }
            .cat-mosaic-item--3 { grid-column: 2;     grid-row: 2; }
            .cat-mosaic-item--4 { grid-column: 1;     grid-row: 3; }
            .cat-mosaic-item--5 { grid-column: 2;     grid-row: 3; }
            .cat-mosaic-item--6 { grid-column: 1 / 3; grid-row: 4; }
        }
        /* Responsive mobile */
        @media (max-width: 575.98px) {
            .cat-mosaic {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 165px 140px 140px 140px;
                gap: 7px;
                padding: 0 10px;
            }
            .cat-mosaic-name { font-size: 13px; }
            .cat-mosaic-item--1 .cat-mosaic-name,
            .cat-mosaic-item--6 .cat-mosaic-name { font-size: 15px; }
            .cat-mosaic-content { padding: 14px 12px 12px; }
        }
