    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --wp--preset--color--base: #ffffff;
            --wp--preset--color--contrast: #000000;
            --wp--preset--color--primary: #16403f;
            --wp--preset--color--secondary: #345C00;
            --wp--preset--color--tertiary: #F6F6F6;
            --wp--preset--color--accent: #e9c66d;
            --wp--preset--color--heading: #0c1a13;
            --wp--preset--color--gray-1: #fefdfb;
            --wp--preset--color--gray-2: #fdf8f2;
            --wp--preset--color--gray-3: #fbf4ea;
            --wp--preset--color--gray-4: #f4e2c7;
            
            /* Elegant shadow variations */
            --shadow-light: rgba(12, 26, 19, 0.08);
            --shadow-medium: rgba(12, 26, 19, 0.15);
            --shadow-dark: rgba(12, 26, 19, 0.25);
        }

        body {
            font-family: 'Georgia', 'Times New Roman', serif;
            line-height: 1.6;
            color: var(--wp--preset--color--heading);
            scroll-behavior: smooth;
            background: var(--wp--preset--color--base);
        }

        /* Header Styles */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--wp--preset--color--gray-4);
            padding: 1.2rem 0;
        }

        .header.scrolled {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            box-shadow: 0 8px 32px var(--shadow-light);
            padding: 0.8rem 0;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Logo Styles */
       
        .logo {
        display: inline-block;
        transition: all 0.3s ease;
        }

        .logo img {
        height: 6.2rem; /* Altura del logo */
        width: auto; /* Mantiene las proporciones */
        display: block;
        transition: all 0.3s ease;
        }

        /* Efecto hover opcional */
        .logo:hover img {
        transform: scale(1.05);
        opacity: 0.9;
        }

        .header.scrolled .logo {
            font-size: 1.8rem;
        }

        /* Navigation Menu */
        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            text-decoration: none;
            color: var(--wp--preset--color--heading);
            font-weight: 500;
            padding: 0.75rem 1.5rem;
            border-radius: 30px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            font-family: 'Georgia', serif;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            
        }

        .nav-link:hover {
            color: var(--wp--preset--color--base);
            background: var(--wp--preset--color--primary);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px var(--shadow-medium);
        }

        .nav-link:hover::before {
            left: 100%;
        }

        .nav-link.active {
            background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
            color: var(--wp--preset--color--base);
            box-shadow: 0 6px 20px var(--shadow-medium);
        }

        /* Mobile Menu Toggle */
        .mobile-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
        }

        .mobile-toggle span {
            width: 28px;
            height: 3px;
            background: var(--wp--preset--color--primary);
            margin: 4px 0;
            transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 3px;
        }

        .mobile-toggle.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .mobile-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-toggle.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        /* Scroll indicator */
        .scroll-indicator {
            position: fixed;
            top: 0;
            left: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
            transition: width 0.3s ease;
            z-index: 1001;
        }

        /* Section Base Styles */
        .section {
            padding: 80px 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            font-size: 3rem;
            color: var(--wp--preset--color--heading);
            text-align: center;
            margin-bottom: 1rem;
            font-weight: 700;
            font-family: 'Georgia', serif;
            letter-spacing: -1px;
        }

        .section-subtitle {
            font-size: 1.3rem;
            color: var(--wp--preset--color--primary);
            text-align: center;
            margin-bottom: 4rem;
            font-family: 'Georgia', serif;
            opacity: 0.8;
        }

        /* Home Section */
        .home {
            background: linear-gradient(135deg, var(--wp--preset--color--gray-1) 0%, var(--wp--preset--color--gray-3) 100%);
            padding-top: 140px;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hero-text h1 {
            font-size: 4rem;
            color: var(--wp--preset--color--heading);
            margin-bottom: 1.5rem;
            font-weight: 700;
            font-family: 'Georgia', serif;
            letter-spacing: -2px;
        }

        .hero-text p {
            font-size: 1.4rem;
            color: var(--wp--preset--color--primary);
            margin-bottom: 2.5rem;
            line-height: 1.8;
            opacity: 0.9;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
            color: var(--wp--preset--color--base);
            padding: 1.2rem 2.5rem;
            border: none;
            border-radius: 35px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            display: inline-block;
            font-family: 'Georgia', serif;
            box-shadow: 0 6px 20px var(--shadow-light);
        }

        .btn-primary:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 35px var(--shadow-medium);
            background: linear-gradient(135deg, var(--wp--preset--color--secondary), var(--wp--preset--color--primary));
        }

        .btn-secondary {
            background: transparent;
            color: var(--wp--preset--color--primary);
            border: 2px solid var(--wp--preset--color--primary);
            padding: 1.2rem 2.5rem;
            border-radius: 35px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            display: inline-block;
            font-family: 'Georgia', serif;
            position: relative;
            overflow: hidden;
        }

        .btn-secondary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--wp--preset--color--primary);
            transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
        }

        .btn-secondary:hover {
            color: var(--wp--preset--color--base);
            transform: translateY(-4px);
            box-shadow: 0 8px 25px var(--shadow-medium);
        }

        .btn-secondary:hover::before {
            left: 0;
        }

    /*.hero-image {
    background: var(--wp--preset--color--base);
    border-radius: 25px;
    padding: 2rem; 
    box-shadow: 0 25px 80px var(--shadow-light);
    text-align: center;
    border: 1px solid var(--wp--preset--color--gray-4);
    max-width: 900px;
    margin: 0 auto;   
    }*/

    .hero-image .marble-showcase {
        width: 100%;
        background: linear-gradient(
            135deg,
            var(--wp--preset--color--gray-2),
            var(--wp--preset--color--gray-4)
        );
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--wp--preset--color--primary);
        font-size: 1.4rem;
        font-weight: 600;
        font-family: 'Georgia', serif;
        border: 2px solid var(--wp--preset--color--accent);
        overflow: hidden; /* Evita que la imagen sobresalga */
    }

    .hero-image .marble-showcase img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover; /* Llena el contenedor sin deformar */
        border-radius: 20px; /* Hace juego con el contenedor */
        display: block;
    }

        /* Servicios Section */
        .servicios {
            background: var(--wp--preset--color--base);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .service-card {
            background: var(--wp--preset--color--gray-1);
            padding: 3rem 2rem;
            border-radius: 20px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--wp--preset--color--gray-3);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
            transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .service-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 25px 60px var(--shadow-medium);
            border-color: var(--wp--preset--color--accent);
            background: var(--wp--preset--color--base);
        }

        .service-card:hover::before {
            left: 0;
        }

        .service-icon {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
            border-radius: 50%;
            margin: 0 auto 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--wp--preset--color--base);
            font-size: 2.2rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 25px var(--shadow-light);
        }

        .service-card:hover .service-icon {
            transform: scale(1.1);
            background: linear-gradient(135deg, var(--wp--preset--color--accent), var(--wp--preset--color--primary));
        }

        .service-title {
            font-size: 1.6rem;
            color: var(--wp--preset--color--heading);
            margin-bottom: 1rem;
            font-weight: 600;
            font-family: 'Georgia', serif;
        }

        .service-description {
            color: var(--wp--preset--color--primary);
            line-height: 1.7;
            font-size: 1.05rem;
            opacity: 0.85;
        }

        /* Acerca de Nosotros Section */
        .acerca {
            background: var(--wp--preset--color--gray-2);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text {
            font-size: 1.15rem;
            color: var(--wp--preset--color--primary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .stat-item {
            background: var(--wp--preset--color--base);
            padding: 2rem 1.5rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px var(--shadow-light);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--wp--preset--color--gray-3);
        }

        .stat-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px var(--shadow-medium);
        }

        .stat-number {
            font-size: 2.5rem;
            color: var(--wp--preset--color--primary);
            font-weight: 700;
            font-family: 'Georgia', serif;
        }

        .stat-label {
            color: var(--wp--preset--color--heading);
            margin-top: 0.5rem;
            font-weight: 500;
        }

        /* Testimonios Section */
        .testimonios {
            background: var(--wp--preset--color--base);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 2.5rem;
        }

        .testimonial-card {
            background: var(--wp--preset--color--gray-1);
            padding: 2.5rem;
            border-radius: 25px;
            border-left: 6px solid var(--wp--preset--color--accent);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 30px var(--shadow-light);
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: -10px;
            left: 20px;
            font-size: 4rem;
            color: var(--wp--preset--color--accent);
            font-family: 'Georgia', serif;
            line-height: 1;
        }

        .testimonial-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px var(--shadow-medium);
            border-left-color: var(--wp--preset--color--primary);
        }

        .testimonial-text {
            font-style: italic;
            color: var(--wp--preset--color--primary);
            margin-bottom: 2rem;
            line-height: 1.7;
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 65px;
            height: 65px;
            background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--wp--preset--color--base);
            font-weight: 600;
            font-size: 1.3rem;
            font-family: 'Georgia', serif;
            box-shadow: 0 4px 15px var(--shadow-light);
        }

        .author-info h4 {
            color: var(--wp--preset--color--heading);
            margin-bottom: 0.25rem;
            font-weight: 600;
            font-family: 'Georgia', serif;
        }

        .author-info p {
            color: var(--wp--preset--color--primary);
            font-size: 0.95rem;
            opacity: 0.8;
        }

        /* Precios Section */
        .precios {
            background: var(--wp--preset--color--gray-3);
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
        }

        .pricing-card {
            background: var(--wp--preset--color--base);
            padding: 2.5rem 2rem;
            border-radius: 25px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid var(--wp--preset--color--gray-4);
            box-shadow: 0 10px 40px var(--shadow-light);
            position: relative;
            overflow: hidden;
        }

        .pricing-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
            transform: scaleX(0);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .pricing-card.featured {
            border-color: var(--wp--preset--color--accent);
            transform: scale(1.05);
            box-shadow: 0 20px 60px var(--shadow-medium);
            background: linear-gradient(135deg, var(--wp--preset--color--base), var(--wp--preset--color--gray-1));
        }

        .pricing-card.featured::before {
            transform: scaleX(1);
        }

        .pricing-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 25px 70px var(--shadow-medium);
        }

        .pricing-card:hover::before {
            transform: scaleX(1);
        }

        .pricing-card.featured:hover {
            transform: translateY(-12px) scale(1.05);
        }

        .price-header {
            margin-bottom: 2rem;
        }

        .price-title {
            font-size: 1.6rem;
            color: var(--wp--preset--color--heading);
            margin-bottom: 0.5rem;
            font-weight: 600;
            font-family: 'Georgia', serif;
        }

        .price-amount {
            font-size: 3.5rem;
            color: var(--wp--preset--color--primary);
            font-weight: 700;
            font-family: 'Georgia', serif;
        }

        .price-unit {
            font-size: 1rem;
            color: var(--wp--preset--color--primary);
            opacity: 0.7;
        }

        .price-features {
            list-style: none;
            margin: 2rem 0;
            text-align: left;
        }

        .price-features li {
            padding: 0.75rem 0;
            color: var(--wp--preset--color--primary);
            border-bottom: 1px solid var(--wp--preset--color--gray-3);
            position: relative;
            padding-left: 2rem;
            opacity: 0.9;
        }

        .price-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--wp--preset--color--accent);
            font-weight: bold;
            font-size: 1.1rem;
        }

        .price-features li:last-child {
            border-bottom: none;
        }

            /* Galería Section  */
        .galeria {
            background: var(--wp--preset--color--base);
            padding: 80px 0;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .gallery-item {
            background: var(--wp--preset--color--gray-1);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            box-shadow: 0 8px 30px var(--shadow-light);
            border: 1px solid var(--wp--preset--color--gray-3);
            width: 100%;
        }

        .gallery-item:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 60px var(--shadow-medium);
            border-color: var(--wp--preset--color--accent);
        }

        .gallery-image {
            width: 100%;
            height: 300px;
            background: linear-gradient(135deg, var(--wp--preset--color--gray-2), var(--wp--preset--color--gray-4));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--wp--preset--color--primary);
            font-weight: 600;
            font-size: 1.2rem;
            font-family: 'Georgia', serif;
            position: relative;
            overflow: hidden;
        }

        /* Si usas imágenes reales en lugar de placeholders */
        .gallery-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .gallery-item:hover .gallery-image img {
            transform: scale(1.1);
        }

        .gallery-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(233, 198, 109, 0.3), transparent);
            transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1;
        }

        .gallery-item:hover .gallery-image::before {
            left: 100%;
        }

        .gallery-info {
            padding: 1.5rem;
        }

        .gallery-title {
            color: var(--wp--preset--color--heading);
            font-size: 1.3rem;
            margin-bottom: 0.75rem;
            font-weight: 600;
            font-family: 'Georgia', serif;
        }

        .gallery-description {
            color: var(--wp--preset--color--primary);
            font-size: 1rem;
            line-height: 1.6;
            opacity: 0.85;
        }

        /* Modal styles mejorados */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            animation: fadeIn 0.3s ease;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            animation: zoomIn 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 10px 50px rgba(0,0,0,0.5);
        }

        .close {
            position: absolute;
            top: -50px;
            right: 0;
            color: white;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s ease;
            background: rgba(0,0,0,0.5);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid rgba(255,255,255,0.2);
        }

        .close:hover {
            color: var(--wp--preset--color--accent);
            background: rgba(0,0,0,0.8);
        }

        /* Navegación del modal */
        .prev, .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0,0,0,0.5);
            color: white;
            border: none;
            font-size: 24px;
            padding: 15px 20px;
            cursor: pointer;
            border-radius: 50%;
            transition: all 0.3s ease;
            border: 2px solid rgba(255,255,255,0.2);
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .prev {
            left: 20px;
        }

        .next {
            right: 20px;
        }

        .prev:hover, .next:hover {
            background-color: rgba(0,0,0,0.8);
            color: var(--wp--preset--color--accent);
            transform: translateY(-50%) scale(1.1);
        }

        /* Footer */
        .footer {
            background: var(--dark-green);
            color: var(--white);
            padding: 3rem 0 1rem;
            text-align: center;
        }

        .footer-content {
            margin-bottom: 2rem;
        }

        .footer h3 {
            margin-bottom: 1rem;
            color: var(--accent-green);
        }

        .footer p {
            opacity: 0.9;
            margin-bottom: 0.5rem;
        }

        .footer-bottom {
            border-top: 1px solid var(--secondary-green);
            padding-top: 1rem;
            opacity: 0.8;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .mobile-toggle {
                display: flex;
            }

            .nav-menu {
                position: fixed;
                top: 100%;
                left: 0;
                width: 100%;
                height: 0;
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(15px);
                flex-direction: column;
                overflow: hidden;
                transition: all 0.3s ease;
                border-top: 1px solid var(--gray-light);
            }

            .nav-menu.active {
                height: auto;
                padding: 2rem 0;
            }

            .nav-item {
                margin: 0.5rem 0;
                opacity: 0;
                transform: translateY(-20px);
                animation: slideIn 0.3s ease forwards;
            }

            .nav-menu.active .nav-item {
                opacity: 1;
                transform: translateY(0);
            }

            .nav-menu.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
            .nav-menu.active .nav-item:nth-child(2) { animation-delay: 0.2s; }
            .nav-menu.active .nav-item:nth-child(3) { animation-delay: 0.3s; }
            .nav-menu.active .nav-item:nth-child(4) { animation-delay: 0.4s; }
            .nav-menu.active .nav-item:nth-child(5) { animation-delay: 0.5s; }
            .nav-menu.active .nav-item:nth-child(6) { animation-delay: 0.6s; }

            .hero-content,
            .about-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

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

            .section-title {
                font-size: 2rem;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .container {
                padding: 0 1rem;
            }

            .hero-buttons {
                justify-content: center;
            }

            .pricing-card.featured {
                transform: none;
            }
        }

        @keyframes slideIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

         @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes zoomIn {
            from { transform: scale(0.8); }
            to { transform: scale(1); }
        }

       /* Tablets grandes y laptops pequeñas */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .gallery-info {
        padding: 1.25rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .galeria {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-image {
        height: 220px;
    }
    
    .gallery-title {
        font-size: 1.2rem;
    }
    
    .gallery-description {
        font-size: 0.95rem;
    }
    
    /* Modal responsive para tablets */
    .modal {
        padding: 15px;
    }
    
    .close {
        top: -45px;
        right: -5px;
        font-size: 30px;
        width: 45px;
        height: 45px;
    }
    
    .prev, .next {
        font-size: 20px;
        padding: 12px 15px;
        width: 50px;
        height: 50px;
    }
    
    .prev {
        left: 15px;
    }
    
    .next {
        right: 15px;
    }
}

/* Móviles grandes */
@media (max-width: 480px) {
    .galeria {
        padding: 40px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .gallery-item {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-info {
        padding: 1rem;
    }
    
    .gallery-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Modal para móviles */
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .close {
        top: -40px;
        right: -5px;
        font-size: 28px;
        width: 40px;
        height: 40px;
    }
    
    .prev, .next {
        font-size: 18px;
        padding: 10px 12px;
        width: 45px;
        height: 45px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
}

/* Móviles pequeños */
@media (max-width: 360px) {
    .gallery-grid {
        gap: 1rem;
    }
    
    .gallery-image {
        height: 180px;
        font-size: 1rem;
    }
    
    .gallery-info {
        padding: 0.875rem;
    }
    
    .gallery-title {
        font-size: 1rem;
    }
    
    .gallery-description {
        font-size: 0.85rem;
    }
    
    .prev, .next {
        font-size: 16px;
        width: 40px;
        height: 40px;
        padding: 8px 10px;
    }
    
    .close {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

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

/* Mejoras adicionales para la experiencia del usuario */
@media (hover: none) and (pointer: coarse) {
    /* Dispositivos táctiles - remover hover effects problemáticos */
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:active {
        transform: scale(0.98);
    }
}

/* Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .gallery-image {
        height: 160px;
    }
    
    .modal-content {
        max-height: 80%;
    }
    
    .close {
        top: -35px;
    }
}