/* Estilos personalizados */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #42A5F5 0%, #2196F3 25%, #1976D2 50%, #1565C0 75%, #0D47A1 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-image {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pista Cards */
.pista-image {
    height: 200px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem 0.375rem 0 0;
}

.card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08), 0 10px 20px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Botones personalizados */
.btn-primary {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

/* Navbar personalizado */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #2196F3 !important;
}

/* Asegurar que el navbar esté siempre visible y fijo */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    background-color: rgba(15, 23, 42, 0.75) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 0 !important;
}

/* Efecto de scroll para el navbar */
.navbar.scrolled {
    background-color: rgba(33, 37, 41, 0.98) !important;
    box-shadow: none !important;
}

/* Ajustar el contenido cuando hay navbar fijo */
body {
    padding-top: var(--navbar-height, 76px); /* Usa altura dinámica del navbar si está disponible */
}

/* Para el panel admin, quitar completamente el padding superior */
body .admin-sidebar ~ .admin-content,
body .container-fluid .admin-content,
.admin-panel .admin-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* También quitar el padding del body cuando estamos en el panel admin */
body.admin-panel {
    padding-top: 0 !important;
}

/* Para el panel admin, quitar el padding superior */
.admin-sidebar {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.admin-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Asegurar que el contenido del admin no tenga espacio superior */
.container-fluid .row {
    margin-top: 0;
}

/* Eliminar espacio superior en el panel admin */
body .container-fluid {
    padding-top: 0 !important;
}

/* Ajustar el header del admin */
.admin-content .d-flex.justify-content-between,
.admin-panel .admin-content .d-flex.justify-content-between {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Eliminar completamente el espacio superior en admin */
.admin-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-left: 16.666667% !important; /* 2/12 columnas para md */
}

/* Ajustar margen para pantallas grandes */
@media (min-width: 992px) {
    .admin-content {
        margin-left: 16.666667% !important; /* 2/12 columnas para lg */
    }
}

/* Ajustar margen para pantallas medianas */
@media (min-width: 768px) and (max-width: 991px) {
    .admin-content {
        margin-left: 25% !important; /* 3/12 columnas para md */
    }
}

.admin-content .pt-3,
.admin-panel .admin-content .pt-3 {
    padding-top: 0 !important;
}

.admin-content .pb-2 {
    padding-bottom: 0.5rem !important;
}

/* Asegurar que el sidebar esté fijo y no se oculte al hacer scroll */
.admin-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 16.666667% !important; /* 2/12 columnas para md */
    height: 100vh !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
}

/* Ajustar ancho para pantallas grandes */
@media (min-width: 992px) {
    .admin-sidebar {
        width: 16.666667% !important; /* 2/12 columnas para lg */
    }
}

/* Ajustar ancho para pantallas medianas */
@media (min-width: 768px) and (max-width: 991px) {
    .admin-sidebar {
        width: 25% !important; /* 3/12 columnas para md */
    }
}

/* Para páginas con formularios centrados, ajustar el padding */
.min-vh-100 {
    min-height: calc(100vh - 76px) !important; /* 76px es la altura aproximada del navbar */
}

/* Asegurar que el contenido principal no se oculte detrás del navbar */
.container {
    position: relative;
    z-index: 1;
}

/* Secciones */
section {
    position: relative;
}

.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Barra de anuncios (marquee) pegada al navbar */
.marquee-bar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.8;
    margin-top: -2px; /* Compensa cualquier borde/sombra residual del navbar */
    border-top: 0 !important;
    box-shadow: none !important;
}

/* Iconos */
.fa-3x {
    transition: transform 0.3s ease;
}

.text-center:hover .fa-3x {
    transform: scale(1.1);
}

/* Footer */
.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Modal personalizado */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.modal-header {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

/* Formularios */
.form-control:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

/* Badges */
.badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-image i {
        font-size: 5rem !important;
    }
}

/* Animaciones */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2196F3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alertas personalizadas */
.alert {
    border: none;
    border-radius: 10px;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

/* Tabla de reservas */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.table thead th {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border: none;
    font-weight: 600;
}

/* Paginación */
.pagination .page-link {
    color: #2196F3;
    border: none;
    margin: 0 2px;
    border-radius: 5px;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    border: none;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estilos para el panel de administración */
.admin-sidebar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
    color: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1) !important;
    border-right: 1px solid rgba(255,255,255,0.1) !important;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.admin-content {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Estilo para el scroll del sidebar */
.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* --- OVERRIDES PARA MÓVILES (Admin) --- */
@media (max-width: 767.98px) {
    .admin-sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        height: 100vh !important;
        display: block !important;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        width: 280px !important;
        z-index: 1050 !important; /* Por encima del contenido */
        box-shadow: 5px 0 15px rgba(0,0,0,0.5) !important;
        background-color: #212529 !important; /* Fondo asegurado si lackeaba */
    }
    .admin-sidebar.show {
        transform: translateX(0) !important;
    }
    .admin-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding-top: 15px !important;
    }
    .admin-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.6);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }
    .admin-overlay.show {
        opacity: 1;
        visibility: visible;
        backdrop-filter: blur(2px);
    }
}
@media (min-width: 768px) {
    .admin-overlay { display: none !important; }
}

/* Estilos para botones de mostrar/ocultar contraseña */
.btn-outline-secondary {
    border-color: #dee2e6;
    color: #6c757d;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: scale(1.05);
}

.btn-outline-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

/* Mejorar la apariencia del input group con botón */
.input-group .btn {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .form-control {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .form-control:focus {
    border-right: 0;
    box-shadow: none;
}

.input-group .form-control:focus + .btn {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Estilos para el modal de reserva */
.modal-header.bg-primary {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%) !important;
}

.modal-lg {
    max-width: 900px;
}

/* Estilos para el resumen de reserva */
.card.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6;
}

.card.bg-light .card-header {
    background: rgba(0,0,0,0.05);
    border-bottom: 1px solid #dee2e6;
}

/* Animación para el precio total */
#precio_total {
    transition: all 0.3s ease;
}

#precio_total:hover {
    transform: scale(1.05);
}

/* Estilos para los campos de fecha y hora */
input[type="date"], select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

input[type="date"]:focus, select:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

/* Mejorar apariencia de los selects de hora */
select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

/* Animación para los campos de fecha y hora */
input[type="date"]:hover, select:hover {
    border-color: #2196F3;
    transform: translateY(-1px);
}

/* Estilos para los campos de fecha */
input[type="datetime-local"] {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

input[type="datetime-local"]:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

/* Estilos para el botón de confirmar */
#btnConfirmarReserva {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    border: none;
    transition: all 0.3s ease;
}

#btnConfirmarReserva:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

#btnConfirmarReserva:disabled {
    transform: none;
    box-shadow: none;
}

/* Dashboard cards */
.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.dashboard-card.primary .card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dashboard-card.success .card-icon {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.dashboard-card.warning .card-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.dashboard-card.info .card-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
} 

/* Estilos para módulos de reserva */
.modulo-btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 8px 4px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.modulo-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.modulo-btn.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    font-weight: bold;
}

.modulo-btn.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.modulo-btn.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    opacity: 0.6;
}

.modulo-btn.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Animaciones para los módulos */
.modulo-btn {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para el resumen de selección */
.card.border-primary {
    border-width: 2px !important;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

/* Estilos para la calculadora de precios */
.card.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6;
}

/* Mejoras en el modal */
.modal-xl {
    max-width: 1200px;
}

.modal-header.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
}

/* Estilos para alertas informativas */
.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-color: #bee5eb;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: #ffeaa7;
}

/* Estilos para botones de acción */
.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-outline-info:hover {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

/* Responsive design para módulos */
@media (max-width: 768px) {
    .modulo-btn {
        font-size: 0.75rem;
        padding: 6px 2px;
        min-height: 40px;
    }
    
    .col-md-2.col-sm-3.col-4 {
        padding: 2px;
    }
}

@media (max-width: 576px) {
    .modulo-btn {
        font-size: 0.7rem;
        padding: 4px 1px;
        min-height: 35px;
    }
}

/* Efectos hover para cards */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Estilos para el grid de módulos */
#modulos_container {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* Scrollbar personalizado para el contenedor de módulos */
#modulos_container::-webkit-scrollbar {
    width: 8px;
}

#modulos_container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#modulos_container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

#modulos_container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Estilos para el estado de carga */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Mejoras en la tipografía */
.fw-bold {
    font-weight: 600 !important;
}

.fs-4 {
    font-size: 1.5rem !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

/* Estilos para badges */
.badge {
    font-size: 0.75em;
    padding: 0.5em 0.75em;
}

/* Badge personalizado para Proveedor */
.badge-provider {
    background: linear-gradient(135deg, #FFD54F 0%, #FFC107 100%) !important;
    color: #4a3b00 !important;
    border: none !important;
}

/* Efectos de transición suaves */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Estilos para el modal en dispositivos móviles */
@media (max-width: 768px) {
    .modal-xl {
        max-width: 95%;
        margin: 10px auto;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .row.g-2 {
        margin: 0;
    }
    
    .col-md-2.col-sm-3.col-4 {
        padding: 1px;
    }
}

/* Estilos para el marquee de Halloween */
.halloween-marquee {
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ffcc02, #f7931e, #ff6b35) !important;
    background-size: 400% 400% !important;
    animation: halloween-gradient 3s ease infinite !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-bottom: 2px solid #e67e22;
    position: relative !important;
    width: 100% !important;
}

.halloween-marquee .marquee-content {
    display: inline-block !important;
    animation: marquee 20s linear infinite !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    white-space: nowrap !important;
}

@keyframes marquee {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes halloween-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Ajustar el margen superior del hero section para compensar el marquee */
.hero-section {
    margin-top: 0;
}

/* Efectos hover para el marquee */
.halloween-marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Iconos de Halloween con animación */
.halloween-marquee .fas {
    animation: halloween-bounce 2s ease-in-out infinite;
    margin: 0 5px;
}

@keyframes halloween-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Tarjeta tipo glass para el hero */
.glass-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Tarjetas de servicios unificadas */
.service-card {
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

/* Beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

@media (min-width: 992px) {
    .benefits-grid .col-lg-3 { grid-column: span 3; }
    .benefits-grid .col-lg-4 { grid-column: span 4; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .benefits-grid .col-md-6 { grid-column: span 6; }
    .benefits-grid .col-lg-4 { grid-column: span 6; }
}
@media (max-width: 767px) {
    .benefits-grid .col-md-6, .benefits-grid .col-lg-3, .benefits-grid .col-lg-4 { grid-column: span 12; }
}

.benefit-item {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eee;
    padding: 1.75rem !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.benefit-item h6 {
    font-weight: 700;
}

.benefit-item p {
    line-height: 1.5;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.bg-warning-light { background: rgba(255, 193, 7, 0.15); }

/* PREMIUM UPGRADES PARA BENEFICIOS */
.benefit-item {
    background: linear-gradient(145deg, #ffffff, #fcfcfd) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    padding: 2.5rem 2rem !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(13,110,253,0.02), rgba(25,135,84,0.02)) !important;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: rgba(13,110,253,0.1) !important;
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-item h5, .benefit-item h6 {
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}

.benefit-item p {
    line-height: 1.6 !important;
    color: #475569 !important;
}

.icon-circle {
    width: 72px !important;
    height: 72px !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.benefit-item:hover .icon-circle {
    transform: scale(1.1) rotate(5deg) !important;
}
.bg-primary-light { background: rgba(13, 110, 253, 0.15); }
.bg-success-light { background: rgba(25, 135, 84, 0.15); }
.bg-danger-light { background: rgba(220, 53, 69, 0.15); }

.modern-footer {
    background: #0f172a;
    color: #cbd5e1;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.modern-footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}
.modern-footer a.text-white {
    color: #cbd5e1 !important;
    transition: color 0.2s ease;
}
.modern-footer a.text-white:hover {
    color: #ffffff !important;
}

/* --- Botón Favoritos --- */
.btn-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.btn-favorite:hover {
    transform: scale(1.15);
    color: #ef4444;
}
.btn-favorite.active {
    color: #ef4444;
}
.btn-favorite.active .fa-heart {
    animation: heartBeat 0.4s ease-in-out;
}
@keyframes heartBeat {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
