:root {
    /* Brand Colors */
    --primary-color: #2F2A4A;
    --secondary-color: #5A5673;
    --dark-color: #1C1A2E;
    --light-color: #F5F6FA;

    /* Status Colors */
    --success-color: #28A745;
    --danger-color: #E63946;
    --warning-color: #F4A261;
    --info-color: #4EA8DE;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #2F2A4A 0%, #5A5673 100%);
    --secondary-gradient: linear-gradient(135deg, #5A5673 0%, #7A7694 100%);
    --dark-gradient: linear-gradient(180deg, #1C1A2E 0%, #252240 55%, #100E20 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(47, 42, 74, 0.10);
    --shadow-md: 0 8px 24px rgba(47, 42, 74, 0.18);
    --shadow-lg: 0 20px 60px rgba(47, 42, 74, 0.22);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s ease;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Spacing */
    --section-py: 80px;
    --section-py-sm: 50px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 50px;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    color: #2D3436;
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: #636e72;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: #ffffff;
}

/* Focus styles */
textarea:focus, input:focus, select:focus, input[type]:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(47, 42, 74, 0.25) !important;
    outline: none !important;
}

/* Number input hide arrows */
input[type="number"] {
    -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(108, 117, 125, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Buttons - override Bootstrap */
.btn {
    border-radius: var(--radius-pill);
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
    padding: 10px 24px;
    font-size: 14px;
}

.btn:focus {
    outline: 3px solid rgba(47, 42, 74, 0.30) !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(47, 42, 74, 0.25) !important;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(47, 42, 74, 0.35);
}

.btn-primary:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 42, 74, 0.50);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(47, 42, 74, 0.40);
}

.btn-secondary {
    background: var(--secondary-gradient);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #56CD52 0%, #44a943 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(86, 205, 82, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(86, 205, 82, 0.5);
    color: #ffffff;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
    z-index: 1040;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: wa-pulse 2.4s ease-in-out infinite;
}

.wa-float:hover {
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: none;
}

.wa-float i {
    line-height: 1;
}

.wa-float-tooltip {
    position: absolute;
    right: 72px;
    background: #2F2A4A;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-float-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #2F2A4A;
}

.wa-float:hover .wa-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes wa-pulse {
    0%   { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile: tooltip oculto (no hay hover), botón un poco más chico y separado del borde */
@media (max-width: 575.98px) {
    .wa-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
    .wa-float-tooltip {
        display: none;
    }
}

.btn-light {
    background: #ffffff;
    color: var(--primary-color);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

/* Section spacing */
.section {
    padding: var(--section-py) 0;
}

/* Section title */
.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #636e72;
    font-size: 1.05rem;
    max-width: 600px;
}

/* Text helpers */
.text-primary { color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.bg-primary-gradient { background: var(--primary-gradient) !important; }
.bg-dark-custom { background: var(--dark-color) !important; }
.bg-light-custom { background: var(--light-color) !important; }

/* Card base */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Badge */
.badge {
    border-radius: var(--radius-pill);
    font-weight: 600;
    padding: 5px 12px;
    font-size: 12px;
}

/* Form controls */
.form-control, .form-select {
    border-radius: var(--radius-md);
    padding: 10px 16px;
    border: 1.5px solid #dee2e6;
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(47, 42, 74, 0.15);
}

.form-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--dark-color);
    margin-bottom: 6px;
}
/* ===== BOOKING WIDGET ===== */
.booking-widget {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.booking-widget .form-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.booking-widget .form-control,
.booking-widget .form-select {
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 14px;
}

.booking-widget-inline {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.booking-widget-inline .bw-field {
    flex: 1 1 100%;
}

.booking-widget-inline .bw-btn {
    flex: 1 1 100%;
}

.booking-widget-inline .bw-btn .btn {
    width: 100%;
}

/* ===== GUEST STEPPER ===== */
.guest-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #dee2e6;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
}

.guest-stepper .stepper-btn {
    width: 36px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.guest-stepper .stepper-btn:hover {
    background: rgba(47, 42, 74, 0.08);
}

.guest-stepper .stepper-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-left: 1.5px solid #dee2e6;
    border-right: 1.5px solid #dee2e6;
    padding: 8px 0;
    color: var(--dark-color);
}

/* ===== ROOMS FILTER BAR ===== */
.rooms-filter-bar {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(15, 12, 41, 0.04);
    border: 1px solid #ececf2;
}

.filter-chips {
    align-items: center;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 30px;
    background: #f4f5f9;
    color: var(--secondary-color);
    border: 1.5px solid transparent;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.filter-chip:hover {
    background: #ececf2;
    color: var(--primary-color);
    transform: translateY(-1px);
}

.filter-chip.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(47, 42, 74, 0.25);
}

.filter-chip.active:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.orden-select {
    width: auto;
    min-width: 220px;
    padding-right: 2.5rem;
    background-position: right 0.75rem center;
}

/* ===== MEAL PLAN OPTIONS (checkout) ===== */
.meal-plan-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meal-plan-included {
    border: 1.5px solid #d4edda;
    background: rgba(40, 167, 69, 0.05);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.meal-plan-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1.5px solid #e9ecef;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.18s ease;
    background: #ffffff;
}

.meal-plan-option:hover {
    border-color: var(--secondary-color);
    background: #fafafd;
}

.meal-plan-option .form-check-input {
    margin-top: 4px;
    flex-shrink: 0;
}

.meal-plan-option .mp-content {
    flex: 1;
    min-width: 0;
}

.meal-plan-option.is-selected {
    border-color: var(--primary-color);
    background: rgba(47, 42, 74, 0.04);
    box-shadow: 0 2px 8px rgba(47, 42, 74, 0.08);
}

/* ===== ROOM CARD ===== */
.room-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.room-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.room-card .room-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.room-card .room-body {
    padding: 20px;
}

.room-card .room-type {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    font-weight: 600;
}

.room-card .room-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 4px 0 10px;
}

.room-card .room-amenities {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.room-card .room-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.room-card .room-price .amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.room-card .room-price .per-night {
    font-size: 13px;
    color: #636e72;
}

.room-card .room-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.room-card .room-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    padding: 8px 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== AMENITY ICON ===== */
.amenity-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #636e72;
}

.amenity-icon i {
    font-size: 15px;
    color: var(--secondary-color);
}

/* ===== PRICE TAG ===== */
.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.price-tag .currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.price-tag .amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.price-tag .period {
    font-size: 13px;
    color: #636e72;
    font-weight: 400;
}

/* ===== STEP INDICATOR ===== */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: #e9ecef;
    color: #636e72;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-circle.active {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 42, 74, 0.35);
}

.step-circle.completed {
    background: var(--success-color);
    color: #ffffff;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #636e72;
    margin-top: 6px;
    text-align: center;
    white-space: nowrap;
}

.step-label.active {
    color: var(--primary-color);
}

.step-line {
    width: 60px;
    height: 3px;
    background: #e9ecef;
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.step-line.active {
    background: var(--primary-gradient);
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== STATUS BADGE ===== */
.status-badge {
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-badge.status-confirmed {
    background: rgba(40, 167, 69, 0.12);
    color: var(--success-color);
}
.status-badge.status-confirmed::before { background: var(--success-color); }

.status-badge.status-pending {
    background: rgba(244, 162, 97, 0.12);
    color: var(--warning-color);
}
.status-badge.status-pending::before { background: var(--warning-color); }

.status-badge.status-cancelled {
    background: rgba(230, 57, 70, 0.12);
    color: var(--danger-color);
}
.status-badge.status-cancelled::before { background: var(--danger-color); }

.status-badge.status-completed {
    background: rgba(90, 86, 115, 0.12);
    color: var(--secondary-color);
}
.status-badge.status-completed::before { background: var(--secondary-color); }

/* ===== STAT CARD ===== */
.stat-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-card .stat-number {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--dark-color);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 13px;
    color: #636e72;
    margin-top: 2px;
}

/* ===== RESERVATION CARD ===== */
.reservation-card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    transition: var(--transition-smooth);
    display: flex;
    gap: 16px;
    align-items: center;
}

.reservation-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.reservation-card .res-img {
    width: 100px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.reservation-card .res-info {
    flex: 1;
    min-width: 0;
}

.reservation-card .res-code {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
}

.reservation-card .res-room {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-color);
}

.reservation-card .res-dates {
    font-size: 13px;
    color: #636e72;
}

.reservation-card .res-total {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    white-space: nowrap;
}

/* ===== SERVICE CARD ===== */
.service-card {
    border: 1.5px solid #e9ecef;
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.service-card .service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(47, 42, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--primary-gradient);
    color: #ffffff;
}

.service-card .service-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.service-card .service-price {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-sm);
}

.timeline-item.active::before {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(47, 42, 74, 0.15);
}

.timeline-item .timeline-date {
    font-size: 12px;
    color: #636e72;
    font-weight: 500;
}

.timeline-item .timeline-text {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 500;
}

/* ===== AUTH CARD ===== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(90, 86, 115, 0.3) 0%, transparent 50%);
}

.auth-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.auth-card .auth-logo {
    height: 40px;
    display: block;
    margin: 0 auto 24px;
}

.auth-card .auth-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: #636e72;
    font-size: 14px;
    margin-bottom: 28px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #b2bec3;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-color);
    padding: 80px 0 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(28, 26, 46, 0.6) 0%, rgba(28, 26, 46, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ===== FEATURE ICON ===== */
.feature-item {
    text-align: center;
    padding: 24px 16px;
    transition: var(--transition-smooth);
    border-radius: var(--radius-lg);
}

.feature-item:hover {
    background: rgba(47, 42, 74, 0.04);
    transform: translateY(-4px);
}

.feature-item .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(47, 42, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(47, 42, 74, 0.30);
}

.feature-item h6 {
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 13px;
    margin-bottom: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--primary-gradient);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-banner h2 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== COCHERA TOGGLE ===== */
.cochera-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.cochera-toggle .form-check-input {
    width: 42px;
    height: 22px;
    cursor: pointer;
}

.cochera-toggle .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cochera-toggle label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
}

/* ===== RATE BREAKDOWN TABLE ===== */
.rate-breakdown {
    width: 100%;
    font-size: 14px;
}

.rate-breakdown td {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.rate-breakdown td:last-child {
    text-align: right;
    font-weight: 600;
}

.rate-breakdown tr.total td {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    padding-top: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 48px;
    color: #dee2e6;
    margin-bottom: 16px;
}

.empty-state h5 {
    color: var(--dark-color);
    margin-bottom: 8px;
}

.empty-state p {
    color: #636e72;
    font-size: 14px;
}

/* ===== COCHERA BADGE ===== */
.cochera-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(47, 42, 74, 0.06);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}
/* ===== NAVBAR ===== */
.navbar-hotel {
    padding: 12px 0;
    transition: var(--transition-smooth);
    z-index: 1050;
}

.navbar-hotel.navbar-transparent {
    background: transparent;
}

.navbar-hotel.navbar-solid {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.navbar-hotel.scrolled {
    background: #ffffff !important;
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.navbar-hotel .navbar-brand img {
    height: 40px;
    transition: var(--transition-fast);
}

.navbar-hotel.scrolled .navbar-brand img,
.navbar-hotel.navbar-solid .navbar-brand img {
    filter: none;
}

.navbar-hotel.navbar-transparent .navbar-brand img {
    filter: brightness(0) invert(1);
}

.navbar-hotel.navbar-transparent.scrolled .navbar-brand img {
    filter: none;
}

.navbar-hotel .nav-link {
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px !important;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.navbar-hotel .navbar-nav {
    gap: 0;
}

.navbar-hotel .d-flex.align-items-center {
    flex-shrink: 1;
}

@media (min-width: 1200px) {
    .navbar-hotel .offcanvas-body {
        display: flex;
        align-items: center;
        overflow: visible;
        flex-wrap: nowrap;
    }

    .navbar-hotel .navbar-nav {
        flex-shrink: 1;
        flex-wrap: nowrap;
    }

    .navbar-hotel .d-flex.align-items-center {
        gap: 4px !important;
        flex-shrink: 1;
        min-width: 0;
        max-width: 100%;
    }
}

.navbar-hotel .btn-reservar {
    padding: 7px 14px;
    font-size: 13px;
    white-space: nowrap;
}

/* Hide button text by default — shown via responsive breakpoints */
.navbar-hotel .btn-reservar .btn-text-hide-xl {
    display: none;
}

.navbar-hotel.navbar-transparent .nav-link {
    color: #ffffff;
}

/* Outline button visible on transparent navbar */
.navbar-hotel.navbar-transparent .btn-outline-primary.btn-reservar {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar-hotel.navbar-transparent .btn-outline-primary.btn-reservar:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* Revert to normal when scrolled */
.navbar-hotel.navbar-transparent.scrolled .btn-outline-primary.btn-reservar {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.navbar-hotel.navbar-transparent.scrolled .btn-outline-primary.btn-reservar:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.navbar-hotel.navbar-transparent.scrolled .nav-link,
.navbar-hotel.navbar-solid .nav-link {
    color: var(--dark-color);
}

.navbar-hotel .nav-link:hover {
    color: var(--primary-color);
    background: rgba(47, 42, 74, 0.06);
}

.navbar-hotel .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar-hotel.navbar-transparent .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-hotel.navbar-transparent.scrolled .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(47, 42, 74, 0.08);
}

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

.navbar-hotel.navbar-transparent.scrolled .nav-link:hover {
    color: var(--primary-color);
    background: rgba(47, 42, 74, 0.06);
}

.navbar-hotel .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.navbar-hotel.navbar-transparent .nav-link.active::after {
    background: #ffffff;
}

.navbar-hotel.navbar-transparent.scrolled .nav-link.active::after {
    background: var(--primary-color);
}

/* Offcanvas mobile adjustments (matches navbar-expand-xl) */
@media (max-width: 1199.98px) {
    /* Force dark text inside offcanvas regardless of navbar-transparent */
    .navbar-hotel.navbar-transparent .offcanvas-body .nav-link {
        color: var(--dark-color) !important;
    }

    .navbar-hotel.navbar-transparent .offcanvas-body .nav-link.active {
        color: var(--primary-color) !important;
        background: rgba(47, 42, 74, 0.08);
    }

    .navbar-hotel.navbar-transparent .offcanvas-body .nav-link:hover {
        color: var(--primary-color) !important;
        background: rgba(47, 42, 74, 0.06);
    }

    .navbar-hotel.navbar-transparent .offcanvas-body .nav-link.active::after {
        background: var(--primary-color);
    }

    .navbar-hotel .offcanvas-body .d-flex {
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #e9ecef;
    }

    /* Show button text in offcanvas */
    .navbar-hotel .offcanvas-body .btn-reservar .btn-text-hide-xl {
        display: inline !important;
    }

    .navbar-hotel .offcanvas-body .btn-reservar {
        width: 100%;
        text-align: center;
    }

    .navbar-hotel .offcanvas-body .user-menu {
        width: 100%;
    }

    .navbar-hotel .offcanvas-body .user-menu .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
}

.navbar-hotel .user-menu .dropdown-toggle::after {
    display: none;
}

.navbar-hotel .user-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1.5px solid #dee2e6;
    background: transparent;
    transition: var(--transition-fast);
}

.navbar-hotel .user-menu .dropdown-toggle:hover {
    border-color: var(--primary-color);
    background: rgba(47, 42, 74, 0.04);
}

.navbar-hotel .user-menu .user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

/* Offcanvas mobile */
.offcanvas-hotel {
    max-width: 280px;
}

@media (min-width: 576px) {
    .offcanvas-hotel {
        max-width: 320px;
    }
}

@media (min-width: 768px) {
    .offcanvas-hotel {
        max-width: 360px;
    }
}

.offcanvas-hotel .offcanvas-header {
    background: var(--primary-gradient);
    color: #ffffff;
}

.offcanvas-hotel .btn-close {
    filter: brightness(0) invert(1);
}

.offcanvas-hotel .nav-link {
    color: var(--dark-color);
    padding: 12px 16px;
    font-weight: 500;
    border-radius: var(--radius-md);
    margin-bottom: 4px;
}

.offcanvas-hotel .nav-link:hover,
.offcanvas-hotel .nav-link.active {
    background: rgba(47, 42, 74, 0.08);
    color: var(--primary-color);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--primary-gradient);
    padding: 100px 0 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}

.page-header .breadcrumb {
    margin-bottom: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
    color: #ffffff;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== FOOTER ===== */
.footer-hotel {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-hotel h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-hotel h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-hotel p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

.footer-hotel .footer-logo {
    height: 35px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-hotel .footer-links {
    list-style: none;
    padding: 0;
}

.footer-hotel .footer-links li {
    margin-bottom: 8px;
}

.footer-hotel .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-hotel .footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-hotel .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-hotel .footer-contact i {
    color: var(--secondary-color);
    font-size: 16px;
    margin-top: 2px;
}

.footer-hotel .social-links {
    display: flex;
    gap: 10px;
}

.footer-hotel .social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.footer-hotel .social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(90, 86, 115, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-sep {
    margin: 0 8px;
    opacity: 0.45;
}

/* ===== ACCOUNT SIDEBAR ===== */
.account-sidebar {
    position: sticky;
    top: 100px;
}

.account-sidebar .profile-card {
    text-align: center;
    padding: 30px 20px;
}

.account-sidebar .profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 15px;
}

.account-sidebar .profile-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.account-sidebar .profile-email {
    font-size: 13px;
    color: #636e72;
    margin-bottom: 10px;
}

.account-sidebar .account-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-sidebar .account-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.account-sidebar .account-nav li a:hover {
    background: rgba(47, 42, 74, 0.06);
    color: var(--primary-color);
    border-left-color: var(--secondary-color);
}

.account-sidebar .account-nav li a.active {
    background: rgba(47, 42, 74, 0.08);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.account-sidebar .account-nav li a i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}
/* ===== INDEX / HERO SPECIFIC ===== */

/* ===== ROOM DETAIL ===== */
.room-detail-gallery .splide__slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.room-detail-thumbs .splide__slide img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.room-detail-thumbs .splide__slide.is-active img {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.room-detail-info .amenity-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.room-detail-info .amenity-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #636e72;
}

.room-detail-info .amenity-list li i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.sticky-price-card {
    position: sticky;
    top: 100px;
}

/* ===== BOOKING WIZARD ===== */
.booking-summary-card {
    background: var(--light-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1.5px solid #e9ecef;
}

.booking-summary-card .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.booking-summary-card .summary-item .label {
    color: #636e72;
}

.booking-summary-card .summary-item .value {
    font-weight: 600;
    color: var(--dark-color);
}

/* ===== CONFIRMATION PAGE ===== */
.confirmation-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

.confirmation-icon i {
    font-size: 48px;
    color: var(--success-color);
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.reservation-code {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 2px;
    background: rgba(47, 42, 74, 0.06);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    display: inline-block;
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-info-card .contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(47, 42, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-card h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2px;
}

.contact-info-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* ===== PAYMENT CARD ===== */
.mock-card-form {
    background: var(--light-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1.5px dashed #dee2e6;
}

.mock-card-form .card-preview {
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    padding: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    aspect-ratio: 1.6 / 1;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mock-card-form .card-preview .card-number {
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 600;
}

.mock-card-form .card-preview .card-name {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ===== SERVICES CART SIDEBAR ===== */
.cart-sidebar {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.cart-sidebar h5 {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-color);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f8f9fa;
}

.cart-item .item-name {
    color: var(--dark-color);
    font-weight: 500;
}

.cart-item .item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
}

/* ===== PAYMENT HISTORY TABLE ===== */
.payments-table {
    width: 100%;
    font-size: 14px;
}

.payments-table thead th {
    background: var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.payments-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f1f1;
}

.payments-table tbody tr:hover {
    background: rgba(47, 42, 74, 0.03);
}

/* ===== LEGAL ACCORDION (Términos y Políticas) ===== */
.legal-accordion .accordion-item {
    border: 1px solid #ececf2;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
}

.legal-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.legal-accordion .accordion-button {
    padding: 14px 18px;
    font-size: 14.5px;
    color: var(--dark-color);
    background: #ffffff;
    box-shadow: none;
}

.legal-accordion .accordion-button:not(.collapsed) {
    background: rgba(47, 42, 74, 0.04);
    color: var(--primary-color);
    box-shadow: inset 0 -1px 0 #ececf2;
}

.legal-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.18rem rgba(47, 42, 74, 0.12);
    border-color: transparent;
}

.legal-accordion .accordion-button::after {
    transform: scale(0.9);
}

.legal-accordion .accordion-body {
    background: #fafafd;
    padding: 18px 20px;
    line-height: 1.6;
}

.legal-accordion .accordion-body h6 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.legal-accordion .accordion-body ol li,
.legal-accordion .accordion-body ul li {
    margin-bottom: 6px;
}

.legal-accordion .accordion-body table {
    background: #ffffff;
}

.legal-terms-content .badge {
    margin-right: 6px;
}

/* ===== MOBILE FIRST RESPONSIVE DESIGN ===== */

/* === BASE (Mobile: 0 - 575px) === */
h1 { font-size: 1.6rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.2rem; }

.section {
    padding: var(--section-py-sm) 0;
}

.hero-content h1 {
    font-size: 1.8rem;
}

.hero-content p {
    font-size: 0.9rem;
}

.booking-widget {
    padding: 16px;
}

.step-indicator {
    gap: 4px;
}

.step-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
}

.step-line {
    width: 20px;
}

.step-label {
    font-size: 9px;
}

.reservation-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
}

.reservation-card .res-img {
    width: 100%;
    height: 140px;
}

.reservation-card .res-info {
    text-align: center;
}

.reservation-card .text-end {
    text-align: center !important;
}

.room-detail-gallery .splide__slide img {
    height: 220px;
}

.room-detail-thumbs .splide__slide img {
    height: 60px;
}

.auth-card {
    padding: 24px 16px;
}

.confirmation-icon {
    width: 72px;
    height: 72px;
}

.confirmation-icon i {
    font-size: 32px;
}

.reservation-code {
    font-size: 20px;
    padding: 8px 16px;
    letter-spacing: 1px;
}

.price-tag .amount {
    font-size: 20px;
}

.price-tag .currency {
    font-size: 14px;
}

.page-header {
    padding: 80px 0 24px;
}

.page-header h1 {
    font-size: 1.5rem;
}

/* Navbar mobile */
.navbar-hotel .navbar-brand img {
    height: 32px;
}

.navbar-hotel .navbar-toggler {
    padding: 4px 8px;
}

/* Feature grid mobile */
.feature-item {
    padding: 12px 8px;
}

.feature-item .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
}

/* Cards mobile */
.stat-card {
    padding: 14px;
    gap: 12px;
}

.stat-card .stat-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
}

.stat-card .stat-number {
    font-size: 20px;
}

/* Sticky elements become relative on mobile */
.sticky-price-card,
.account-sidebar,
.cart-sidebar {
    position: relative;
    top: auto;
}

.account-sidebar {
    margin-bottom: 20px;
}

.cart-sidebar {
    margin-top: 20px;
}

/* Footer mobile */
.footer-hotel {
    padding: 40px 0 0;
}

.footer-bottom {
    margin-top: 24px;
}

/* Room card mobile */
.room-card .room-img {
    height: 180px;
}

.room-card .room-body {
    padding: 16px;
}

.room-card .room-actions .btn {
    padding: 8px 10px;
    font-size: 12px;
}

.room-card .room-price .amount {
    font-size: 20px;
}

/* Contact cards stack */
.contact-info-card {
    padding: 14px;
}

/* Mock card form */
.mock-card-form .card-preview {
    max-width: 100%;
    padding: 16px;
}

/* CTA banner */
.cta-banner {
    padding: 40px 0;
}

.cta-banner h2 {
    font-size: 1.4rem;
}

/* Room detail info */
.room-detail-info .amenity-list {
    grid-template-columns: 1fr;
}

/* === SM (576px and up) === */
@media (min-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .booking-widget {
        padding: 20px;
    }

    .booking-widget-inline .bw-field {
        flex: 1 1 calc(50% - 12px);
    }

    .booking-widget-inline .bw-btn {
        flex: 1 1 100%;
    }

    .room-detail-gallery .splide__slide img {
        height: 280px;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .reservation-card {
        flex-direction: row;
        text-align: left;
    }

    .reservation-card .res-img {
        width: 100px;
        height: 80px;
    }

    .reservation-card .res-info {
        text-align: left;
    }

    .reservation-card .text-end {
        text-align: end !important;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .step-line {
        width: 40px;
    }

    .step-label {
        font-size: 10px;
    }

    .room-card .room-img {
        height: 200px;
    }

    .navbar-hotel .navbar-brand img {
        height: 36px;
    }
}

/* === MD (768px and up) === */
@media (min-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }

    .section {
        padding: 60px 0;
    }

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

    .page-header {
        padding: 90px 0 30px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .booking-widget {
        padding: 24px;
    }

    .room-detail-gallery .splide__slide img {
        height: 350px;
    }

    .room-detail-info .amenity-list {
        grid-template-columns: 1fr 1fr;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .step-line {
        width: 50px;
    }

    .step-label {
        font-size: 11px;
    }

    .feature-item .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .cta-banner {
        padding: 50px 0;
    }

    .cta-banner h2 {
        font-size: 1.6rem;
    }

    .room-card .room-img {
        height: 220px;
    }

    .price-tag .amount {
        font-size: 24px;
    }

    .confirmation-icon {
        width: 90px;
        height: 90px;
    }

    .confirmation-icon i {
        font-size: 42px;
    }

    .reservation-code {
        font-size: 24px;
        padding: 10px 24px;
    }
}

/* === LG (992px and up) === */
@media (min-width: 992px) {
    .section {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .room-detail-gallery .splide__slide img {
        height: 400px;
    }

    .feature-item {
        padding: 24px 16px;
    }

    .feature-item .feature-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .cta-banner {
        padding: 60px 0;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }
}

/* === XL (1200px and up) - Navbar expands here === */
@media (min-width: 1200px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .section {
        padding: var(--section-py) 0;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .booking-widget-inline {
        flex-wrap: nowrap;
    }

    .booking-widget-inline .bw-field {
        flex: 1 1 0;
        min-width: 0;
    }

    .booking-widget-inline .bw-btn {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .booking-widget-inline .bw-btn .btn {
        width: auto;
        white-space: nowrap;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Navbar compact styles when expanded */
    .navbar-hotel .navbar-brand img {
        height: 34px;
    }

    .navbar-hotel .nav-link {
        font-size: 13px;
        padding: 6px 8px !important;
    }

    .navbar-hotel .btn-reservar {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Hide button text, show icon only */
    .navbar-hotel .btn-reservar .btn-text-hide-xl {
        display: none;
    }

    /* Sticky elements activate on desktop */
    .sticky-price-card {
        position: sticky;
        top: 100px;
    }

    .account-sidebar {
        position: sticky;
        top: 100px;
        margin-bottom: 0;
    }

    .cart-sidebar {
        position: sticky;
        top: 100px;
        margin-top: 0;
    }

    .step-line {
        width: 60px;
    }

    .step-label {
        font-size: 12px;
    }

    .room-detail-gallery .splide__slide img {
        height: 420px;
    }

    .price-tag .amount {
        font-size: 28px;
    }

    .reservation-code {
        font-size: 28px;
        padding: 12px 28px;
    }

    .confirmation-icon {
        width: 100px;
        height: 100px;
    }

    .confirmation-icon i {
        font-size: 48px;
    }
}

/* === XXL (1400px and up) === */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .navbar-hotel .navbar-brand img {
        height: 36px;
    }

    .navbar-hotel .nav-link {
        font-size: 13px;
        padding: 6px 10px !important;
    }

    .navbar-hotel .btn-reservar {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Keep text hidden at 1400px */
    .navbar-hotel .btn-reservar .btn-text-hide-xl {
        display: none;
    }
}

/* Show full button text only when there's enough space */
@media (min-width: 1600px) {
    .navbar-hotel .navbar-brand img {
        height: 38px;
    }

    .navbar-hotel .nav-link {
        font-size: 14px;
        padding: 8px 12px !important;
    }

    .navbar-hotel .btn-reservar {
        padding: 7px 14px;
        font-size: 13px;
    }

    .navbar-hotel .btn-reservar .btn-text-hide-xl {
        display: inline;
    }
}

/* ============================================================
   USER MENU (logged-in guest / staff dropdown) — never overflow navbar
   ============================================================ */
.navbar-hotel .user-menu {
    min-width: 0;
    max-width: 100%;
}

.navbar-hotel .user-menu .btn-user-menu {
    max-width: 170px;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    min-width: 0;
}

.navbar-hotel .user-menu .btn-user-menu .bi {
    flex: 0 0 auto;
}

/* Force ellipsis truncation — wins over the @media (min-width:1600px)
   rule that sets .btn-text-hide-xl to display:inline (which would
   break max-width / overflow). */
.navbar-hotel .user-menu .btn-user-menu .btn-user-label,
.navbar-hotel .user-menu .btn-user-menu span.btn-text-hide-xl.btn-user-label {
    display: inline-block;
    max-width: 100px;
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 1.2;
}

/* Dropdown header with full name + email */
.user-menu-dropdown {
    min-width: 240px;
    max-width: 280px;
    padding-top: 4px;
}

.user-menu-dropdown .user-menu-header {
    border-bottom: 1px solid #f1f1f4;
    margin-bottom: 4px;
}

.user-menu-dropdown .user-menu-name {
    font-weight: 600;
    color: var(--dark-color, #2F2A4A);
    font-size: 13px;
    line-height: 1.25;
    max-width: 100%;
}

.user-menu-dropdown .user-menu-email {
    font-size: 11px;
    line-height: 1.2;
    margin-top: 2px;
    max-width: 100%;
}

/* On wide screens, allow a bit more room for the label */
@media (min-width: 1600px) {
    .navbar-hotel .user-menu .btn-user-menu {
        max-width: 210px;
    }
    .navbar-hotel .user-menu .btn-user-menu .btn-user-label,
    .navbar-hotel .user-menu .btn-user-menu span.btn-text-hide-xl.btn-user-label {
        max-width: 130px;
    }
}

/* On mobile (inside offcanvas) let it span the full width */
@media (max-width: 1199.98px) {
    .navbar-hotel .offcanvas-body .user-menu {
        width: 100%;
    }
    .navbar-hotel .offcanvas-body .user-menu .btn-user-menu {
        width: 100%;
        max-width: none;
        justify-content: center;
    }
    .navbar-hotel .offcanvas-body .user-menu .btn-user-menu .btn-user-label,
    .navbar-hotel .offcanvas-body .user-menu .btn-user-menu span.btn-text-hide-xl.btn-user-label {
        max-width: 100%;
    }

    /* === Mobile auth section inside offcanvas (nav-link style) === */
    .navbar-hotel .offcanvas-body .mobile-auth-divider {
        margin: 14px 0 4px;
    }
    .navbar-hotel .offcanvas-body .mobile-auth-divider hr {
        margin: 0;
        border: 0;
        border-top: 1px solid #e9ecef;
    }
    .navbar-hotel .offcanvas-body .mobile-auth-header {
        padding: 10px 12px 6px;
        margin-bottom: 4px;
    }
    .navbar-hotel .offcanvas-body .mobile-auth-header .mobile-auth-name {
        font-weight: 600;
        font-size: 14px;
        color: var(--dark-color, #2F2A4A);
        line-height: 1.3;
        word-break: break-word;
    }
    .navbar-hotel .offcanvas-body .mobile-auth-header .mobile-auth-email {
        font-size: 11px;
        color: #6c757d;
        margin-top: 2px;
        word-break: break-all;
    }
    .navbar-hotel .offcanvas-body .nav-item form button.nav-link {
        cursor: pointer;
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* === Navbar toggler visibility fix for solid navbars (matches navbar-expand-xl) === */
@media (max-width: 1199.98px) {
    .navbar-hotel.navbar-solid .navbar-toggler i,
    .navbar-hotel.scrolled .navbar-toggler i {
        color: var(--dark-color) !important;
    }

    .navbar-hotel.navbar-transparent .navbar-toggler i {
        color: #ffffff !important;
    }

    .navbar-hotel.navbar-transparent.scrolled .navbar-toggler i {
        color: var(--dark-color) !important;
    }
}


/* ===== CHECKOUT MODE TABS (3-track selector) ===== */
.checkout-mode-tabs {
    gap: 0.5rem;
    flex-wrap: wrap;
}
.checkout-mode-tabs .nav-link {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.85rem 1rem;
    transition: all 0.15s ease;
}
.checkout-mode-tabs .nav-link:hover:not(.active) {
    background-color: #eef2f6;
    border-color: #adb5bd;
}
.checkout-mode-tabs .nav-link.active {
    background-color: var(--primary-color, #4a3b76);
    color: #fff;
    border-color: var(--primary-color, #4a3b76);
}
.checkout-mode-tabs .nav-link.active .text-muted {
    color: rgba(255,255,255,0.85) !important;
}
.checkout-mode-tabs .nav-link.active .text-warning,
.checkout-mode-tabs .nav-link.active i {
    color: #ffd54f !important;
}
@media (max-width: 767.98px) {
    .checkout-mode-tabs .nav-item {
        flex-basis: 100%;
    }
}


/* ===== SELLO LIBRO DE RECLAMACIONES (estilo hotelería de lujo) =====
   Inspirado en cómo lo muestran JW Marriott Lima, Belmond Miraflores, Casa Andina:
   - Card sobrio con acento dorado (luxury hospitality)
   - Icono de libro abierto con páginas tipográficas
   - Tipografía con tracking amplio en uppercase
   - Hover sutil: lift + tinte dorado
   - Borde superior animado al hover (toque de detalle)                              */
.footer-libro-reclamos {
    --lr-accent: #c9a86a;            /* dorado champagne, sobrio */
    --lr-bg: rgba(255,255,255,0.04);
    --lr-border: rgba(201,168,106,0.35);
    --lr-text: #f5f1ea;

    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--lr-bg);
    color: var(--lr-text);
    border: 1px solid var(--lr-border);
    border-radius: 6px;
    padding: 12px 16px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
    backdrop-filter: blur(4px);
}
/* Línea dorada que se expande al hover (detalle de lujo) */
.footer-libro-reclamos::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--lr-accent);
    transition: width .35s ease;
}
.footer-libro-reclamos:hover {
    color: #fff;
    background: rgba(201,168,106,0.08);
    border-color: var(--lr-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -10px rgba(201,168,106,0.45);
    text-decoration: none;
}
.footer-libro-reclamos:hover::before {
    width: 100%;
}

.footer-libro-reclamos .lr-icon {
    width: 38px;
    height: 28px;
    color: var(--lr-accent);
    flex-shrink: 0;
    transition: transform .35s ease;
}
.footer-libro-reclamos:hover .lr-icon {
    transform: scale(1.08);
}

.footer-libro-reclamos .lr-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.footer-libro-reclamos .lr-eyebrow {
    font-size: 9.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: 2px;
}
.footer-libro-reclamos .lr-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}
.footer-libro-reclamos .lr-tag {
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lr-accent);
    margin-top: 3px;
    opacity: .85;
}

@media (max-width: 575.98px) {
    .footer-libro-reclamos {
        width: 100%;
        justify-content: center;
    }
}

/* ===== LITEPICKER MOBILE FULL-SCREEN MODAL =====
   En mobile el dropdown nativo de Litepicker se sale del viewport o queda
   apretado. Lo convertimos en overlay completo con backdrop, header y
   celdas grandes para tap accesible (44x44 mínimo recomendado).            */
@media (max-width: 767.98px) {
    body.lp-mobile-locked {
        overflow: hidden;
    }
    .lp-mobile-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1049;
        animation: lp-fade-in .2s ease;
    }
    @keyframes lp-fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    .litepicker {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1050 !important;
        background: #fff;
        padding: 64px 12px 24px !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 100vh !important;
        overflow-y: auto;
        border-radius: 0;
        box-shadow: none !important;
        animation: lp-slide-up .25s ease;
    }
    @keyframes lp-slide-up {
        from { transform: translateY(20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    .lp-mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: var(--primary-color, #2F2A4A);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        z-index: 1051;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    .lp-mobile-header strong {
        font-size: 16px;
        font-weight: 600;
    }
    .lp-mobile-close {
        background: transparent;
        border: 0;
        color: #fff;
        font-size: 32px;
        line-height: 1;
        padding: 0 8px;
        cursor: pointer;
    }
    /* Celdas más grandes para tap accesible */
    .litepicker .container__months .month-item-name {
        font-size: 16px !important;
        font-weight: 600 !important;
    }
    .litepicker .container__days .day-item {
        height: 44px !important;
        line-height: 44px !important;
        font-size: 15px !important;
    }
    .litepicker .container__months {
        box-shadow: none !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .litepicker .month-item {
        width: 100% !important;
        padding: 0 !important;
    }
    .litepicker .container__buttons {
        height: 48px !important;
    }
    .litepicker .button-previous-month,
    .litepicker .button-next-month {
        padding: 8px 14px !important;
        font-size: 18px !important;
    }
}

/* ===== COOKIE CONSENT BANNER (sobrio, estilo hotelería lujo) =====
   Bottom-fixed con backdrop blur, slide-up al aparecer.
   Sin overlay/modal — informa sin bloquear el contenido.                       */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1041;            /* sobre WhatsApp (1040), bajo modales Bootstrap */
    background: rgba(28, 26, 46, 0.96);
    color: #f5f1ea;
    border: 1px solid rgba(201, 168, 106, 0.25);
    border-radius: 12px;
    padding: 16px 22px;
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .25s ease, transform .25s ease;
}
.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}
.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.cookie-banner-icon {
    font-size: 26px;
    line-height: 1;
    color: #c9a86a;
    flex-shrink: 0;
}
.cookie-banner-text p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
}
.cookie-banner-text a {
    color: #c9a86a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner-text a:hover {
    color: #e0c592;
}
.cookie-banner-actions {
    flex-shrink: 0;
}
.cookie-banner-actions .btn-primary {
    background: #c9a86a;
    border-color: #c9a86a;
    color: #1c1a2e;
    font-weight: 600;
}
.cookie-banner-actions .btn-primary:hover {
    background: #b9986b;
    border-color: #b9986b;
    color: #1c1a2e;
}

@media (max-width: 575.98px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
    }
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .cookie-banner-text p {
        font-size: 12.5px;
    }
    .cookie-banner-actions .btn-primary {
        width: 100%;
    }
}
