        .galleries-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 600px));
            gap: 40px;
            max-width: 1400px;
            margin: 0 auto;
            justify-content: center;
        }

        .galeria-contenedor-v2 {
            width: 100%;
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        }

        .gallery-title {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px;
            text-align: center;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .gallery-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 1 / 1;
            overflow: hidden;
        }

        .slides-container {
            display: flex;
            height: 100%;
            transition: transform 0.6s ease-in-out;
        }

        .slide {
            min-width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .slide-image {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f9f9f9;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            user-select: none;
        }

        /* Pie de foto */
        .caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
            color: white;
            padding: 50px 25px 20px;
            text-align: center;
        }

        p.caption-text {
            font-size: 15px !important;
            line-height: 1.5 !important;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            color: #fff !important;
            text-align: center!important;
        }

        /* Flechas de navegación */
        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .nav-arrow:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .nav-arrow:active {
            transform: translateY(-50%) scale(0.95);
        }

        .nav-arrow.prev {
            left: 12px;
        }

        .nav-arrow.next {
            right: 12px;
        }

        .nav-arrow svg {
            width: 22px;
            height: 22px;
            fill: #333;
        }

        /* Navegación con puntos */
        .dots-navigation {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            padding: 20px;
            background: white;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            padding: 0;
        }

        .dot:hover {
            background: #999;
            transform: scale(1.3);
        }

        .dot.active {
            background: #003366;
            width: 30px;
            border-radius: 5px;
        }

        /* Responsive */
        @media (max-width: 768px) {
 
            .page-title {
                font-size: 2rem;
                margin-bottom: 30px;
            }

            .galleries-grid {
                gap: 30px;
            }

            .nav-arrow {
                width: 38px;
                height: 38px;
            }

            .nav-arrow svg {
                width: 18px;
                height: 18px;
            }

            .caption {
                padding: 40px 20px 15px;
            }

            p.caption-text {
                font-size: 13px !important;
                line-height: 17px !important;
                margin-bottom: 0px !important;
            }
        }

        @media (max-width: 480px) {
            .page-title {
                font-size: 1.5rem;
            }

            .gallery-title {
                font-size: 1.1rem;
                padding: 15px;
            }

            .nav-arrow {
                width: 35px;
                height: 35px;
            }

            .nav-arrow.prev {
                left: 8px;
            }

            .nav-arrow.next {
                right: 8px;
            }

            .caption {
                padding: 35px 15px 12px;
            }

            .dots-navigation {
                padding: 15px;
                gap: 10px;
            }

            .dot {
                width: 8px;
                height: 8px;
            }

            .dot.active {
                width: 24px;
            }
        }