:root {
    --primary: #0052cc;
    --primary-hover: #003e99;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --secondary: #059669;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

main {
    flex: 1;
    padding: 40px 0;
}

/* Header General */
.header-site {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: relative;
    z-index: 10000;
}

/* Contenedor del Menú */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Enlaces de Navegación (Escritorio por defecto) */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none !important;
    padding: 0;
    margin: 0;
    gap: 28px;
}

.nav-links li {
    list-style: none !important;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Botones dentro del menú */
.btn-nav {
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: all 0.2s ease;
}

.btn-login {
    background: var(--primary);
    color: #ffffff !important;
}

.btn-login:hover {
    background: var(--primary-hover);
}

.btn-logout {
    color: #e53e3e !important;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    display: inline-flex;
}

.btn-logout:hover {
    background: #ffe3e3;
}

/* Botón Hamburguesa (Oculto en Escritorio) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10002;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Form de búsqueda y utilidades */
.form-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    max-width: 450px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* Stepper de Progreso Responsivo */
.booking-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin: 25px 0 35px 0;
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.step-item.active { color: var(--primary); }
.step-item.completed { color: var(--secondary); }

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.step-item.active .step-number {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.15);
}

.step-item.completed .step-number {
    background: #d1fae5;
    color: var(--secondary);
}

.step-divider {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
}

.booking-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* REGLAS RESPONSIVAS (MÓVIL < 768px) */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex; /* Muestra botón hamburguesa */
    }

    .nav-links {
        display: none; /* Oculta enlaces por defecto */
        flex-direction: column;
        position: absolute;
        top: calc(100% + 16px);
        left: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        border: 1px solid var(--border);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        padding: 20px;
        gap: 12px;
        z-index: 10001;
    }

    .nav-links.active {
        display: flex; /* Despliega menú flotante */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        width: 100%;
    }

    .btn-nav {
        display: block;
        text-align: center;
    }

    .booking-grid {
        grid-template-columns: 1fr;
    }

    .booking-stepper {
        padding: 14px 16px;
    }

    .step-text {
        display: none;
    }
}