body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background: #FFFFFF;
    color: #2C2C2C;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* HERO: el vídeo es el fondo, el degradado va en ::before */
.hero-bg {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: none;
    /* quitamos la imagen de fondo */
}

/* Overlay (degradado + radial) por encima del vídeo */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(212, 175, 55, 0.15) 100%),
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Vídeo a pantalla completa como fondo */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.service-card:hover::before {
    opacity: 1;
}

.review-card {
    transition: all 0.3s ease;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #FFFFFF;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    font-weight: 600;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #B8941F 0%, #D4AF37 100%);
}

.btn-secondary {
    background: #FFFFFF;
    color: #2C2C2C;
    border: 2px solid #D4AF37;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #D4AF37;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.parallax-element {
    transition: transform 0.1s ease-out;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.text-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-hover {
    transition: all 0.3s ease;
}

.icon-hover:hover {
    transform: scale(1.1) rotate(5deg);
    color: #D4AF37;
}

.navbar-blur {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 4rem 0;
}

.review-slider {
    overflow: hidden;
    position: relative;
}

.review-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-slide {
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .review-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .review-slide {
        flex: 0 0 33.333%;
    }
}

.dot {
    transition: all 0.3s ease;
    background: #E5E7EB;
}

.dot.active {
    background: #D4AF37;
    transform: scale(1.2);
}

.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #D4AF37 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-animation.fade-out {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Gallery Styles */
.gallery-grid {
    animation: fadeInUp 0.8s ease-out;
}

.gallery-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.gallery-filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 2px solid rgba(212, 175, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-filter-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
    transform: translateY(-2px);
    color: #FFFFFF;
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    border-color: #D4AF37;
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: all 0.5s ease;
}

.gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

/* Footer Enhancements */
.social-icon:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.footer-link:hover {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Modal Styles */
#galleryModal {
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

#galleryModal img {
    animation: scaleIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Continuous Reviews Carousel */
.reviews-carousel {
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
}

.reviews-track {
    display: flex;
    width: fit-content;
    animation: scrollLeft 180s linear infinite;
    /* antes 40s */
}


.reviews-track:hover {
    animation-play-state: paused;
}

.continuous-review-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-right: 1.5rem;
    width: 350px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.continuous-review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.star-rating {
    color: #D4AF37;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.review-author {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-date {
    color: #9CA3AF;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.review-text {
    color: #E5E7EB;
    line-height: 1.6;
    font-size: 0.875rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.google-logo {
    color: #4285F4;
    font-size: 1.125rem;
    margin-right: 0.5rem;
}

/* Text Colors for Better Contrast */
.text-primary-dark {
    color: #2C2C2C;
}

.text-secondary-light {
    color: #6B7280;
}

.text-muted {
    color: #9CA3AF;
}

/* Improved Button Styles */
.btn-outline {
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #D4AF37;
    color: #FFFFFF;
}

/* Better Section Backgrounds */
.section-light {
    background: #FAFAFA;
}

.section-white {
    background: #FFFFFF;
}

.section-dark {
    background: #1A1A1A;
    color: #FFFFFF;
}

/* Improved Card Styles */
.card-elevated {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-elevated:hover {
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
}

/* Mobile Optimizations - MEJORADAS */
@media (max-width: 768px) {

    /* Hero Section - Optimizaciones críticas */
    .hero-bg {
        background-attachment: scroll;
        min-height: 100vh;
        background-position: center center;
        background-size: cover;
        display: flex;
        align-items: center;
        padding: 80px 0 40px;
        background-image: none !important;
        /* anulamos la imagen para ver el vídeo */
        transition: none !important;
        transform: none !important;
    }

    /* Mantenemos overlay en móvil con degradado más intenso + radial */
    .hero-bg::before {
        background:
            linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(212, 175, 55, 0.2) 100%),
            radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    }

    /* Mobile Typography - Ajustado para mejor legibilidad */
    .mobile-title {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .mobile-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* Mobile Hero Content - Mejorado */
    .mobile-hero-content {
        padding: 2rem 0 !important;
        text-align: center;
        width: 100%;
        max-width: 100%;
        transition: none !important;
        transform: none !important;
    }

    /* Disable transitions on mobile for hero section */
    .mobile-hero-content * {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }

    /* Mobile Buttons - Optimizados */
    .mobile-hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .mobile-hero-buttons a {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        text-align: center !important;
        white-space: nowrap;
    }

    /* Mobile Spacing */
    .mobile-section {
        padding: 2.5rem 0 !important;
    }

    .mobile-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Mobile Cards */
    .mobile-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem;
    }

    /* Mobile Map - CRÍTICO PARA ARREGLAR */
    .mobile-map {
        height: 250px !important;
        width: 100% !important;
        border-radius: 1rem !important;
        overflow: hidden;
        transition: none !important;
        transform: none !important;
    }

    .mobile-map iframe {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        transition: none !important;
        transform: none !important;
    }

    /* Mobile Location Section - Optimizada */
    .mobile-location {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .mobile-location>div {
        width: 100% !important;
    }

    /* Disable transitions on mobile for location section */
    .mobile-location * {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }

    /* Mobile Gallery */
    .mobile-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    /* Mobile Navigation */
    .mobile-nav {
        padding: 1rem 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(229, 231, 235, 0.5);
    }

    .mobile-nav a {
        display: block;
        padding: 0.875rem 0;
        border-bottom: 1px solid rgba(229, 231, 235, 0.3);
        font-size: 1rem;
    }

    .mobile-nav a:last-child {
        border-bottom: none;
        margin-top: 0.5rem;
    }

    /* Mobile Footer */
    .mobile-footer {
        text-align: center !important;
    }

    .mobile-footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Mobile Contact Cards */
    .mobile-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Mobile Review Slider */
    .mobile-review {
        padding: 1rem !important;
    }

    /* Mobile Service Cards */
    .mobile-services {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Mobile About Section */
    .mobile-about {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .mobile-about>div {
        width: 100% !important;
    }

    /* Mobile Contact Info - Mejorado */
    .mobile-contact-info {
        text-align: center !important;
    }

    .mobile-contact-info>div:first-child {
        margin-top: 0 !important;
        /* anula mt-1 */
        min-width: 3rem;
        /* w-12: evita que encoja */
        min-height: 3rem;
        /* h-12 */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-contact-info .flex {
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    /* Mobile Stats */
    .mobile-stats {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Touch Optimizations */
    .touch-target {
        min-height: 44px;
        min-width: 44px;
    }

    /* Prevent horizontal scroll */
    .mobile-container {
        overflow-x: hidden;
    }

    /* Better mobile text readability */
    .mobile-text {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
    }

    /* Mobile Newsletter */
    .mobile-newsletter {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .mobile-newsletter input {
        width: 100% !important;
    }

    /* Mobile Social Icons */
    .mobile-social {
        justify-content: center !important;
        gap: 1rem !important;
    }

    /* Mobile Gallery Filters - Mejorado */
    .mobile-gallery-filters {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        justify-content: center !important;
        padding: 0 1rem;
    }

    .mobile-gallery-filters button {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
        min-width: auto !important;
    }

    /* Mobile Modal - Optimizado */
    .mobile-modal {
        padding: 1rem !important;
    }

    .mobile-modal img {
        max-height: 70vh !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    /* Mobile Continuous Reviews */
    .continuous-review-card {
        width: 280px !important;
        padding: 1rem !important;
        margin-right: 1rem !important;
    }

    .reviews-track {
        animation: scrollLeft 180s linear infinite;
    }

    /* Mobile-specific animations - Reducidas para mejor rendimiento */
    @media (max-width: 768px) {
        .service-card:hover {
            transform: translateY(-2px) scale(1.01) !important;
        }

        .gallery-item:hover {
            transform: translateY(-2px) !important;
        }

        .review-card:hover {
            transform: translateY(-2px) !important;
        }

        /* Disable all animations and transitions on mobile for hero and location */
        #inicio * {
            animation: none !important;
            transition: none !important;
            transform: none !important;
        }

        /* --- FIX: no anular transform del video en móvil --- */
        @media (max-width: 768px) {

            /* Mantén la desactivación para el resto del contenido del hero,
     pero excluye el video de fondo */
            #inicio *:not(.hero-video) {
                animation: none !important;
                transition: none !important;
                transform: none !important;
            }
        }

        /* --- FIX: hacer que el video cubra correctamente en móvil --- */
        @media (max-width: 768px) {
            .hero-video {
                position: absolute;
                inset: 0;
                /* top/right/bottom/left: 0 */
                width: 100%;
                height: 100%;
                object-fit: cover;
                /* que rellene sin deformarse */
                transform: none !important;
                /* ya no usamos translate en móvil */
                z-index: 0;
            }
        }


        #ubicacion * {
            animation: none !important;
            transition: none !important;
            transform: none !important;
        }

        /* Disable fade-in animations on mobile */
        .fade-in,
        .slide-in-left,
        .slide-in-right,
        .scale-in {
            opacity: 1 !important;
            transform: none !important;
            animation: none !important;
            transition: none !important;
        }

        /* Optimización de la sección hero para móviles:
         antes forzaba imagen; ahora lo anulamos para ver el vídeo */
        .hero-bg {
            background-image: none !important;
        }
    }

    /* Ubicación section - Arreglos específicos para móviles */
    @media (max-width: 768px) {
        #ubicacion .mobile-location {
            display: flex !important;
            flex-direction: column !important;
            gap: 1.5rem !important;
        }

        #ubicacion .mobile-location>div:first-child {
            order: 1;
            width: 100% !important;
        }

        #ubicacion .mobile-location>div:last-child {
            order: 2;
            width: 100% !important;
        }

        /* Información de contacto en móviles */
        #ubicacion .card-elevated {
            padding: 1.5rem !important;
        }

        #ubicacion .card-elevated h3 {
            font-size: 1.5rem !important;
            margin-bottom: 1rem !important;
        }

        #ubicacion .card-elevated .space-y-4 {
            gap: 1rem !important;
        }

        #ubicacion .card-elevated .space-y-6 {
            gap: 1rem !important;
        }
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .tablet-grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .tablet-text {
        font-size: 1.125rem !important;
    }

    .tablet-title {
        font-size: 2.5rem !important;
    }
}

/* Desktop Optimizations */
@media (min-width: 1025px) {
    .desktop-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .desktop-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* High DPI Displays: antes forzaba imagen; lo anulamos */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-bg {
        background-image: none;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.focus-visible:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Continuous Reviews Animation */
.continuous-reviews-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.continuous-reviews-track {
    display: flex;
    animation: scrollLeft 60s linear infinite;
    width: fit-content;
}

.continuous-reviews-track:hover {
    animation-play-state: paused;
}

.continuous-review-card {
    flex: 0 0 350px;
    margin-right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.continuous-review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.continuous-review-card .google-logo {
    color: #4285F4;
    margin-right: 0.5rem;
}

.continuous-review-card .star-rating {
    color: #D4AF37;
    font-size: 1.2rem;
}

.continuous-review-card .review-author {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.continuous-review-card .review-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.continuous-review-card .review-text {
    line-height: 1.6;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile optimizations for continuous reviews */
@media (max-width: 768px) {
    .continuous-review-card {
        flex: 0 0 280px;
        margin-right: 1rem;
        padding: 1rem;
    }

    .continuous-reviews-track {
        animation: scrollLeft 45s linear infinite;
    }

    .continuous-review-card .review-text {
        font-size: 0.875rem;
        -webkit-line-clamp: 3;
    }
}

/* Arreglos adicionales para el viewport móvil */
@media (max-width: 480px) {
    .mobile-title {
        font-size: 2rem !important;
    }

    .mobile-subtitle {
        font-size: 0.875rem !important;
    }

    .mobile-hero-buttons a {
        padding: 0.875rem 1.25rem !important;
        font-size: 0.875rem !important;
    }

    .mobile-map {
        height: 200px !important;
    }
}

/* ========= FIXES FINALES: VIDEO + ICONOS EN MÓVIL (sobrescriben lo anterior) ========= */
@media (max-width: 768px) {

    /* No desactivar el transform del video */
    #inicio *:not(.hero-video) {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .hero-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none !important;
        z-index: 0;
    }

    /* Centrado de iconos en tarjeta "Información de contacto" */
    .mobile-contact-info {
        align-items: center !important;
        text-align: left !important;
    }

    .mobile-contact-info>div:first-child {
        margin-top: 0 !important;
        flex-shrink: 0;
        width: 3rem;
        height: 3rem;
        display: flex;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-contact-info .flex {
        align-items: center !important;
        justify-content: flex-start !important;
    }
}