/* ============================================================================
   TURISMO 11 - ESTILOS BASE REUTILIZABLES
   Identidad Visual Profesional - Agencias de Viajes
   ============================================================================ */

/* ============================================================================
   PALETA DE COLORES CORPORATIVOS MODERNIZADA
   ============================================================================ */
:root {
    /* Colores principales */
    --primary-black: #000000;
    --primary-gray: #2a2a2a;
    --primary-blue: #0066ff;
    --primary-white: #ffffff;
    
    /* Colores secundarios */
    --secondary-gray-light: #f5f5f5;
    --secondary-gray-medium: #e0e0e0;
    --secondary-gray-dark: #3a3a3a;
    --secondary-blue-light: #e3f2fd;
    --secondary-blue-dark: #0052cc;
    
    /* Colores de acento modernos */
    --accent-green: #00c851;
    --accent-orange: #ff6b35;
    --accent-purple: #6c5ce7;
    --accent-teal: #00b4d8;
    
    /* Colores de estado */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Tipografía */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 15px;
    --font-size-lg: 17px;
    --font-size-xl: 19px;
    --font-size-2xl: 22px;
    --font-size-3xl: 28px;
    --font-size-4xl: 34px;
    
    /* Espaciado */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

/* ============================================================================
   RESET Y BASE
   ============================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--secondary-gray-light);
    min-height: 100vh;
}

/* ============================================================================
   LAYOUT PRINCIPAL - MÁXIMO APROVECHAMIENTO DEL ESPACIO
   ============================================================================ */
.app-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.content-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ============================================================================
   BARRA DE NAVEGACIÓN MODERNIZADA
   ============================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    color: #ffffff;
    padding: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 60px;
}

.navbar-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 var(--spacing-xl);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
    text-decoration: none;
    color: var(--primary-white);
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-logo {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-white);
}

.navbar-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-white);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Responsive navbar - Mobile first approach */
@media (max-width: 1024px) {
    .navbar-nav {
        position: fixed !important;
        top: 60px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 60px) !important;
        background: #1E40AF !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        padding: 20px !important;
        transition: left 0.3s ease !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        gap: 0 !important;
        display: flex !important;
    }
    
    .navbar-nav.active {
        left: 0 !important;
    }
    
    .navbar-nav li {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .navbar-nav a {
        display: flex !important;
        align-items: center !important;
        padding: 15px 20px !important;
        margin: 5px 0 !important;
        border-radius: 8px !important;
        font-size: 16px !important;
        transition: all 0.3s ease !important;
        white-space: normal !important;
    }
    
    .navbar-nav a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        transform: translateX(5px) !important;
    }
    
    .navbar-nav a i {
        margin-right: 12px !important;
        width: 20px !important;
        text-align: center !important;
    }
    
    .navbar-user {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 1001 !important;
    }
    
    .user-info {
        background: rgba(255, 255, 255, 0.1) !important;
        padding: 8px 12px !important;
        border-radius: 20px !important;
        backdrop-filter: blur(10px) !important;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-title {
        font-size: 1.1rem;
    }
    
    .navbar-nav a {
        font-size: 15px;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .navbar-content {
        padding: 0 15px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-title {
        font-size: 1rem;
    }
    
    .navbar-nav {
        padding: 15px;
    }
    
    .navbar-nav a {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* Estilos adicionales para forzar responsive */
@media (max-width: 1200px) {
    .navbar-nav {
        display: none !important;
    }
    
    .navbar-toggle {
        display: block !important;
    }
    
    .navbar-nav.active {
        display: flex !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 60px) !important;
        background: #1E40AF !important;
        flex-direction: column !important;
        z-index: 999 !important;
        padding: 20px !important;
    }
}

/* Forzar ocultación del navbar en pantallas pequeñas */
@media (max-width: 1024px) {
    .navbar-menu {
        display: none !important;
    }
    
    .navbar-toggle {
        display: block !important;
    }
    
    .navbar-nav {
        display: none !important;
    }
    
    .navbar-nav.active {
        display: flex !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 60px) !important;
        background: #1E40AF !important;
        flex-direction: column !important;
        z-index: 999 !important;
        padding: 20px !important;
    }
}

/* Estilos más agresivos para forzar responsive */
@media (max-width: 1024px) {
    .navbar-content {
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .navbar-nav {
        display: none !important;
        position: fixed !important;
        top: 60px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 60px) !important;
        background: #1E40AF !important;
        flex-direction: column !important;
        z-index: 999 !important;
        padding: 20px !important;
        transition: left 0.3s ease !important;
    }
    
    .navbar-nav.active {
        display: flex !important;
        left: 0 !important;
    }
    
    .navbar-toggle {
        display: block !important;
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        z-index: 1000 !important;
        order: 1 !important;
    }
    
    .navbar-brand {
        order: 2 !important;
        margin-left: 50px !important;
    }
    
    .navbar-user {
        order: 3 !important;
        margin-left: auto !important;
    }
}

.navbar-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.navbar-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--primary-white);
}

/* Botón hamburguesa */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

/* Mostrar botón hamburguesa en pantallas pequeñas */
@media (max-width: 1024px) {
    .navbar-toggle {
        display: block !important;
    }
    
    /* Forzar ocultación del navbar horizontal */
    .navbar-nav {
        display: none !important;
    }
    
    .navbar-nav.active {
        display: flex !important;
    }
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    color: #000000;
}

.user-details {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #ffffff;
}

.user-name {
    font-weight: 500;
}

.user-role {
    font-weight: 300;
    opacity: 0.8;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.user-dropdown a i {
    width: 16px;
    text-align: center;
    color: #666;
}

.user-dropdown a:hover {
    background: #f5f5f5;
}

.user-dropdown a:hover i {
    color: var(--primary-blue);
}

.user-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
    color: #dc3545;
}

.user-dropdown a:last-child i {
    color: #dc3545;
}

/* Dropdown en navbar */
.navbar-nav .dropdown {
    position: relative;
}

/* Submenu de Configuración */
.config-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    min-width: 250px;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    visibility: hidden;
}

.config-submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.config-submenu a:hover {
    background: #f8fafc;
    color: #1e40af;
    padding-left: 25px;
}

.config-submenu a:last-child {
    border-bottom: none;
}

.config-submenu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Config dropdown toggle */
#config-dropdown-toggle {
    position: relative;
}

#config-dropdown-toggle.active {
    background: rgba(255, 255, 255, 0.1);
}

#config-dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

#config-dropdown-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

#config-dropdown-toggle i.fa-chevron-down {
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

#config-dropdown-toggle.active i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Los dropdowns se controlan completamente con JavaScript */
/* No necesitamos estilos CSS para hover ya que JavaScript maneja todo */

/* Admin dropdown styles */
.admin-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 10001;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    visibility: hidden;
}

.admin-submenu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.admin-submenu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #000000 !important;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 500;
}

.admin-submenu a:last-child {
    border-bottom: none;
}

.admin-submenu a:hover {
    background: #f8fafc;
    color: #000000 !important;
}

.admin-submenu a i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
    color: #000000 !important;
}

.admin-submenu a:hover i {
    color: #000000 !important;
}

/* Forzar texto negro en todos los elementos del admin submenu */
.admin-submenu a,
.admin-submenu a *,
.admin-submenu a span,
.admin-submenu a strong,
.admin-submenu a em {
    color: #000000 !important;
    font-weight: 500 !important;
}

/* Asegurar que el texto sea visible y negro */
.admin-submenu a {
    color: #000000 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #000000 !important;
    -webkit-text-stroke: none !important;
}

.admin-submenu a:hover {
    color: #000000 !important;
    font-weight: 500 !important;
}

/* Admin dropdown toggle */
#admin-dropdown-toggle {
    position: relative;
}

#admin-dropdown-toggle.active {
    background: rgba(255, 255, 255, 0.1);
}

#admin-dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

#admin-dropdown-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

#admin-dropdown-toggle i.fa-chevron-down {
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

#admin-dropdown-toggle.active i.fa-chevron-down {
    transform: rotate(180deg);
}

/* ============================================================================
   HEADER ESTÁNDAR MODERNIZADO
   ============================================================================ */
.page-header {
    background: #3a3a3a;
    border-bottom: 1px solid #2a2a2a;
    padding: 0;
    margin-top: 60px;
    width: 100%;
    height: 70px;
}

.page-header-content {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.page-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin: 0;
}

/* ============================================================================
   FOOTER ESTÁNDAR
   ============================================================================ */
.page-footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: var(--spacing-2xl) 0;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.footer-section h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
    color: var(--secondary-gray-medium);
    text-decoration: none;
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--primary-gray);
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: var(--secondary-gray-dark);
    font-size: var(--font-size-sm);
}

/* ============================================================================
   COMPONENTES REUTILIZABLES MODERNIZADOS
   ============================================================================ */
.card {
    background: var(--primary-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--secondary-gray-medium);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.card-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--secondary-gray-medium);
    background: var(--secondary-gray-light);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: var(--spacing-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: 12px;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-family);
    position: relative;
    overflow: hidden;
}

.btn::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;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue-dark) 100%);
    color: var(--primary-white);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: var(--secondary-gray-medium);
    color: var(--primary-black);
}

.btn-secondary:hover {
    background: var(--secondary-gray-dark);
    color: var(--primary-white);
}

/* ============================================================================
   BANNERS Y COMPONENTES PRINCIPALES
   ============================================================================ */
.banner-section {
    width: 100%;
    padding: var(--spacing-2xl) var(--spacing-xl);
    background: var(--primary-white);
}

.banner-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.01em;
}

.banner-title i {
    margin-right: 10px;
    color: var(--primary-blue);
    font-size: 20px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.destination-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-4px);
}

.destination-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: var(--spacing-lg);
    color: white;
}

.destination-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.destination-price {
    font-size: 18px;
    font-weight: 600;
    color: #00c851;
}

/* Mosaico de Hoteles */
.hotels-mosaic {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: var(--secondary-gray-light);
    border-radius: 12px;
    border: 1px solid var(--secondary-gray-medium);
}

.hotels-mosaic-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.hotel-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hotel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hotel-content {
    padding: var(--spacing-lg);
}

.hotel-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--spacing-sm);
}

.hotel-location {
    font-size: 14px;
    color: #666;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hotel-location i {
    color: var(--primary-blue);
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--spacing-md);
}

.hotel-stars {
    color: #ffc107;
}

.hotel-rating-text {
    font-size: 14px;
    color: #666;
}

.hotel-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.hotel-price-period {
    font-size: 14px;
    color: #666;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.offer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.offer-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.offer-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.offer-content {
    padding: var(--spacing-lg);
}

.offer-badge {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.offer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: var(--spacing-sm);
}

.offer-description {
    font-size: 14px;
    color: #666;
    margin-bottom: var(--spacing-md);
}

.offer-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offer-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.offer-new-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Cotizador */
.quote-section {
    width: 100%;
    padding: var(--spacing-2xl) var(--spacing-xl);
    background: var(--secondary-gray-light);
}

.quote-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: var(--spacing-2xl);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.quote-tabs {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--secondary-gray-medium);
}

.quote-tab {
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-tab i {
    font-size: 16px;
}

.quote-tab:hover {
    color: var(--primary-blue);
}

.quote-tab.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.quote-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-black);
}

.form-field input,
.form-field select {
    padding: 12px;
    border: 2px solid var(--secondary-gray-medium);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.quote-button {
    grid-column: 1 / -1;
    padding: 14px 24px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quote-button i {
    font-size: 14px;
}

.quote-button:hover {
    background: var(--secondary-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Botón Simular Plan de Pagos */
.payment-simulator-btn {
    grid-column: 1 / -1;
    padding: 14px 24px;
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: var(--spacing-md);
}

.payment-simulator-btn:hover {
    background: #00a041;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 81, 0.3);
}

.payment-simulator-btn i {
    font-size: 14px;
}

/* Carrusel de Ofertas */
.offers-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.offers-carousel {
    display: flex;
    transition: transform 0.3s ease;
    gap: var(--spacing-lg);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 12px);
    min-width: 300px;
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(50% - 8px);
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 100%;
        min-width: 200px;
    }
}

/* ============================================================================
   MODAL DE PLAN DE PAGOS
   ============================================================================ */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.payment-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.payment-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.payment-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--secondary-gray-medium);
    background: var(--secondary-gray-light);
    border-radius: 16px 16px 0 0;
}

.payment-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-modal-header h2 i {
    color: var(--primary-blue);
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.payment-modal-close:hover {
    background: #f0f0f0;
    color: var(--primary-black);
}

.payment-modal-body {
    padding: var(--spacing-xl);
}

/* Resumen de Pagos */
.payment-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: var(--secondary-gray-light);
    border-radius: 12px;
    border: 1px solid var(--secondary-gray-medium);
}

.payment-summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.summary-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
}

.summary-value:last-child {
    color: var(--primary-blue);
}

/* Tabla de Pagos */
.payment-table-container {
    margin-bottom: var(--spacing-2xl);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--secondary-gray-medium);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.payment-table thead {
    background: var(--primary-blue);
    color: white;
}

.payment-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-table tbody tr {
    border-bottom: 1px solid var(--secondary-gray-medium);
    transition: background 0.2s ease;
}

.payment-table tbody tr:hover {
    background: var(--secondary-gray-light);
}

.payment-table tbody tr:last-child {
    border-bottom: none;
    background: var(--secondary-gray-light);
    font-weight: 600;
}

.payment-table td {
    padding: 14px 12px;
    font-size: 14px;
    color: var(--primary-black);
}

.payment-table td:first-child {
    font-weight: 600;
    color: var(--primary-blue);
}

.payment-table td:nth-child(3),
.payment-table td:nth-child(4),
.payment-table td:nth-child(5),
.payment-table td:nth-child(6) {
    text-align: right;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

/* Totales */
.payment-totals {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-lg);
    background: var(--primary-blue);
    color: white;
    border-radius: 12px;
    margin-bottom: var(--spacing-xl);
}

.payment-total-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.total-label {
    font-size: 14px;
    opacity: 0.9;
}

.total-value {
    font-size: 20px;
    font-weight: 700;
}

/* Acciones */
.payment-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.payment-actions .btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    min-width: 150px;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-modal.active {
        padding: var(--spacing-sm);
    }
    
    .payment-modal-content {
        max-height: 95vh;
    }
    
    .payment-modal-header {
        padding: var(--spacing-lg);
    }
    
    .payment-modal-header h2 {
        font-size: 20px;
    }
    
    .payment-modal-body {
        padding: var(--spacing-lg);
    }
    
    .payment-summary {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .payment-table-container {
        overflow-x: auto;
    }
    
    .payment-table {
        min-width: 600px;
    }
    
    .payment-table th,
    .payment-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .payment-totals {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .payment-actions .btn {
        width: 100%;
    }
}

/* Previsualización de tarifas */
.rate-preview {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--secondary-gray-light);
    border-radius: 12px;
    display: none;
}

.rate-preview.active {
    display: block;
}

.rate-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--secondary-gray-medium);
}

.rate-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-black);
}

.rate-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
}

.rate-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.rate-detail-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.rate-detail-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.rate-detail-value {
    font-size: 16px;
    color: var(--primary-black);
    font-weight: 500;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-md);
    }
    
    .navbar-nav {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
        justify-content: center;
        margin: var(--spacing-sm) 0;
    }
    
    .navbar-nav a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
        height: auto;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-form {
        grid-template-columns: 1fr;
    }
    
    .rate-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .navbar-content {
        padding: var(--spacing-sm);
    }
    
    .page-header-content,
    .footer-content {
        padding: 0 var(--spacing-sm);
    }
    
    .page-title {
        font-size: var(--font-size-2xl);
    }
}

/* ============================================================================
   MEJORAS DEL WIDGET DE USUARIO - DISEÑO COMPACTO
   ============================================================================ */
.user-name-compact {
    font-size: 14px;
    font-weight: 500;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.user-dropdown-header .user-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 2px;
}

.user-dropdown-header .user-role {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

.user-dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}

.logout-link {
    color: #dc2626 !important;
}

.logout-link i {
    color: #dc2626 !important;
}

.logout-link:hover {
    background: #fef2f2 !important;
}

/* ============================================================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ============================================================================ */

/* Tablets y pantallas medianas (768px - 1024px) */
@media (max-width: 1024px) {
    .page-container {
        padding: 16px;
    }
    
    .navbar-content {
        padding: 0 16px;
    }
    
    .navbar-menu {
        gap: 20px;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-actions-container {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
    }
}

/* Móviles grandes (481px - 767px) */
@media (max-width: 767px) {
    .page-container {
        padding: 12px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .navbar-content {
        flex-direction: column;
        gap: 12px;
        padding: 0 12px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-menu {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .navbar-menu a {
        padding: 8px 12px;
        text-align: center;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .user-info {
        align-self: center;
    }
    
    .hero-section {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions-container {
        padding: 16px;
        flex-direction: column;
        gap: 12px;
    }
    
    .exploration-select {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .hero-button {
        width: 100%;
        padding: 12px;
    }
    
    .modal-content {
        width: 98%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-footer {
        padding: 16px;
        flex-direction: column;
        gap: 8px;
    }
    
    .btn {
        width: 100%;
        padding: 12px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .sections-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .section-card {
        padding: 16px;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .item-card {
        padding: 16px;
    }
    
    .item-image, .item-video {
        height: 120px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
}

/* Móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
    .page-container {
        padding: 8px;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .navbar-content {
        padding: 0 8px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-title {
        font-size: 1rem;
    }
    
    .hero-section {
        height: 45vh;
        min-height: 250px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    .hero-actions-container {
        padding: 12px;
    }
    
    .exploration-select {
        font-size: 14px;
        padding: 10px;
    }
    
    .hero-button {
        font-size: 14px;
        padding: 10px;
    }
    
    .modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .modal-header {
        padding: 12px;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .modal-footer {
        padding: 12px;
    }
    
    .form-input, .form-textarea {
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    .section-card {
        padding: 12px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .item-card {
        padding: 12px;
    }
    
    .item-name {
        font-size: 1rem;
    }
    
    .item-price {
        font-size: 0.9rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.8rem;
    }
    
    .tab-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Orientación landscape en móviles */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-actions-container {
        flex-direction: row;
        gap: 12px;
    }
    
    .exploration-select {
        width: auto;
        flex: 1;
    }
    
    .hero-button {
        width: auto;
        flex-shrink: 0;
    }
}

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

/* Modo oscuro (si se implementa en el futuro) */
@media (prefers-color-scheme: dark) {
    /* Variables para modo oscuro se pueden agregar aquí */
}
