/* Estilos generales */
.section-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.menu-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100% !important;
}
/* Asegurar que el header ocupe todo el ancho */
header {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    left: 0 !important;
    right: 0 !important;
}

/* Ajustes para pantallas muy grandes */
@media (min-width: 1536px) {
    .max-w-screen-2xl {
        max-width: 1536px;
    }
}

/* Mejoras en la responsividad */
@media (max-width: 640px) {
    .menu-fixed {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Ajustar el espacio del header en móvil */
    .h-24 {
        height: 5.5rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .lg\:h-28 {
        height: 6.5rem;
    }
}

/* Ajustar el contenido principal para el header más grande */
main {
    padding-top: 1.5rem;
}

/* Asegurar que el contenido no se desplace debajo del header */
body {
    overflow-x: hidden;
}

.price-display1 {
    font-size: 0.9rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
}

/* Ajustes de imágenes */
.img {
    max-height: 60px;
    width: auto;
}

/* Estilos para la banda de emergencia */
.emergency-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.emergency-banner__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.emergency-banner__text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.emergency-banner__icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.emergency-banner__phone {
    background: white;
    color: #dc2626;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.emergency-banner__phone:hover {
    background: #fef2f2;
    transform: scale(1.05);
}

.emergency-banner.hidden {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive para la banda de emergencia */
@media (max-width: 640px) {
    .emergency-banner__content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-banner__text {
        justify-content: center;
    }

    
}