    /* --- VARIABLES --- */
:root {
    --brand-color: #A1488E;
    --brand-dark: #7a356b;
    --brand-light: #d29ec7;
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
}

/* --- ESTILOS BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.premium-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    /* Gradiente sutil morado sobre blanco */
    background: radial-gradient(circle at 50% 0%, rgba(161, 72, 142, 0.08) 0%, #ffffff 60%);
    z-index: -1;
}

    .navbar {
        padding: 20px 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #000000;
        backdrop-filter: blur(20px);
        position: sticky;
        top: 0;
        z-index: 100;
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Borde sutil para que no flote */
    }

.logo {
    font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700;
    color: var(--brand-color); text-decoration: none; display: flex; align-items: center; gap: 10px;
}

    .btn-back {
        /* Cambio: Color blanco o gris claro */
        color: #ffffff;
        text-decoration: none;
        font-weight: 600;
        transition: 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .btn-back:hover {
        /* El hover puede seguir siendo el color de la marca */
        color: var(--brand-light);
    }

.header-section { text-align: center; padding: 60px 20px 40px; }

.badge {
    display: inline-block;
    background: rgba(161, 72, 142, 0.1); color: var(--brand-color);
    padding: 8px 16px; border-radius: 50px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    border: 1px solid rgba(161, 72, 142, 0.2); margin-bottom: 20px;
}

.main-title {
    font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px; color: var(--text-main);
}

.subtitle {
    color: var(--text-secondary); font-size: 1.1rem; max-width: 600px;
    margin: 0 auto; line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }

.routes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }

/* --- ROUTE CARD --- */
.route-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: 20px;
    overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; display: flex; flex-direction: column;
    text-decoration: none; color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(161, 72, 142, 0.15);
    border-color: var(--brand-color);
}

.card-img-container { height: 220px; position: relative; overflow: hidden; }

.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.route-card:hover .card-img { transform: scale(1.05); }

/* Overlay claro */
.card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
}

.card-badges { position: absolute; top: 15px; right: 15px; display: flex; gap: 8px; }

.mini-badge {
    background: rgba(255,255,255,0.9); backdrop-filter: blur(5px);
    padding: 5px 10px; border-radius: 8px; font-size: 0.75rem;
    font-weight: 600; color: var(--brand-color);
    border: 1px solid rgba(161, 72, 142, 0.2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }

.route-title {
    font-family: 'Playfair Display', serif; font-size: 1.5rem;
    margin-bottom: 10px; color: var(--text-main);
}

.route-desc {
    color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5;
    margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}

.route-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 15px; border-top: 1px solid var(--border-color);
}

.footer-info {
    display: flex; align-items: center; gap: 15px; font-size: 0.85rem;
    color: var(--text-secondary);
}
.footer-info i { color: var(--brand-color); }

.btn-arrow {
    width: 35px; height: 35px; border-radius: 50%;
    background: rgba(161, 72, 142, 0.1); color: var(--brand-color);
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.route-card:hover .btn-arrow { background: var(--brand-color); color: white; }

@media (max-width: 768px) { .main-title { font-size: 2.2rem; } .navbar { padding: 15px 20px; } }

/* --- PAGINACIÓN --- */
.pagination-wrapper { margin-top: 60px; display: flex; justify-content: center; }
.pagination { display: flex; list-style: none; gap: 8px; padding: 0; }

.page-item .page-link {
    background: #ffffff; border: 1px solid var(--border-color);
    color: var(--text-secondary); padding: 10px 16px; border-radius: 12px;
    text-decoration: none; font-size: 0.9rem; font-weight: 600;
    transition: all 0.3s ease; display: flex; align-items: center;
    justify-content: center; min-width: 40px;
}

.page-item .page-link:hover {
    background: var(--bg-body); border-color: var(--brand-color);
    color: var(--brand-color); transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    border-color: transparent; color: #ffffff;
    box-shadow: 0 4px 15px rgba(161, 72, 142, 0.3);
}
.page-item.disabled .page-link { opacity: 0.5; pointer-events: none; }

.brand-wrap{ display:flex; align-items:center; gap:10px; }
.brand-link{ display:inline-flex; align-items:center; }

/* mobile */
.brand-img{ width:50%; height:auto; display:block; }
/* pc */
@media (min-width: 992px){ .brand-img{ width:50%; } }

/* BLOQUEO / CARD PREMIUM */
.premium-card-blur img { filter: blur(8px); opacity: 0.6; }
.premium-lock-icon {
    width: 60px; height: 60px;
    background: rgba(161, 72, 142, 0.1); border: 1px solid var(--brand-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; box-shadow: 0 0 30px rgba(161, 72, 142, 0.2);
}
.premium-btn {
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    color: #ffffff; padding: 14px 30px; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(161, 72, 142, 0.3);
    display: inline-block;
}
.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(161, 72, 142, 0.4);
}
