
    .parent-container {
        background: transparent;
        width: 100%;
        max-width: 100%;
        height: 780px;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
        position: relative;
        margin-bottom: 58px;
    }

        /* Estilo para escritorio: slider */
    .slider-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
        border-radius: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
        background: #000000;
    }

    .slider {
        display: flex;
        height: 100%;
        transition: transform 0.8s ease-in-out;
    }

    .slide {
        min-width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
    }

    .slide img {
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }

    .controls {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .controls button {
        pointer-events: all;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.3s ease;
        outline: none;
    }

    .controls button:hover {
        background: rgba(0, 0, 0, 0.8);
    }
    
    @media (max-width: 768px) {
        .sliderportada .slider-title {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            z-index: 10;
            color: #fff;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
            min-width: 80%;
        }

        .sliderportada .slider-title span {
            font-size: 1.8rem;
            line-height: 2rem;
            font-weight: bold;
            text-transform: uppercase;
            /*letter-spacing: 2px;*/
            background: rgba(0, 0, 0, 0.5);
            padding: 15px 25px;
            border-radius: 10px;
            opacity: 0;
            transform: scale(0.95); /* Comienza un poco más pequeño */
            animation: fadeInZoom 2s ease-in-out forwards;
            display: block;
        }
    }

    .home-hero-actions {
        position: absolute;
        left: 50%;
        bottom: -24px;
        transform: translateX(-50%);
        z-index: 50;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 26px;
        width: min(380px, calc(100% - 36px));
        pointer-events: none;
    }

    .parent-container.sliderportada,
    .parent-container.sliderportada .slider-container {
        overflow: visible;
    }

    .home-hero-action {
        display: block;
        width: 100%;
        box-sizing: border-box;
        border-radius: 999px;
        padding: 14px 24px;
        text-align: center;
        font-weight: 700;
        font-size: 14px;
        line-height: 1.2;
        text-transform: uppercase;
        white-space: nowrap;
        text-decoration: none;
        color: #fff;
        border: 2px solid #fff;
        box-shadow: 0 10px 26px rgba(0,0,0,.28);
        pointer-events: auto;
    }

    .home-hero-action.primary {
        background: #005aa0;
    }

    .home-hero-action.secondary {
        background: #111;
    }

    .home-hero-action:hover,
    .home-hero-action:focus {
        color: #fff;
        text-decoration: none;
        filter: brightness(1.08);
    }

    @media (max-width: 768px) {
        .parent-container {
            height: 650px;
            margin-bottom: 48px;
        }
        .home-hero-actions {
            bottom: -24px;
            gap: 24px;
            width: min(360px, calc(100% - 28px));
        }
    }
    @media (max-width: 380px) {
        .home-hero-action {
            font-size: 12px;
            padding-left: 18px;
            padding-right: 18px;
        }
    }
    @media (min-width: 768px) {
        .sliderportada .slider-title {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            z-index: 10;
            color: #fff;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
        }

        .sliderportada .slider-title span {
            font-size: 2rem;
            line-height: 2.1rem;
            font-weight: bold;
            text-transform: uppercase;
            /*letter-spacing: 2px;*/
            background: rgba(0, 0, 0, 0.5);
            padding: 20px 30px;
            border-radius: 10px;
            opacity: 0;
            transform: scale(0.95); /* Comienza un poco más pequeño */
            animation: fadeInZoom 2s ease-in-out forwards;
            display: block;
        }
    }


    @keyframes fadeInZoom {
        0% {
            opacity: 0;
            transform: scale(0.95);
        }
        50% {
            opacity: 0.5;
            transform: scale(1);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }


