/* ==========================================================================
   R FITNESS - ESTILOS COMPLETOS PREMIUM (MODO OSCURO & DESIGN SYSTEM)
   ========================================================================== */

:root {
    --primary-red: #E50914;
    --primary-red-hover: #F40612;
    --red-glow: rgba(229, 9, 20, 0.4);
    --bg-dark: #0A0A0D;
    --bg-card: #121218;
    --bg-card-hover: #1A1A24;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(229, 9, 20, 0.3);
    --text-white: #FFFFFF;
    --text-muted: #A0A0B0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* FONDO FIJO GLOBAL DE LA MARCA (SIEMPRE CENTRADO Y COMPLETO AL DESPLAZARSE) */
body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 85vh;
    max-width: 900px;
    max-height: 700px;
    background-image: url('bg-logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
    filter: drop-shadow(0 0 35px rgba(229, 9, 20, 0.35));
}

ul, ol {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

/* UTILITY CLASSES */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center !important; }
.text-red { color: var(--primary-red) !important; }
.text-green { color: #25D366 !important; }
.font-heading { font-family: var(--font-heading); }

.glow-effect {
    box-shadow: 0 0 25px var(--red-glow) !important;
}

.margin-top-sm { margin-top: 0.8rem; }
.margin-top-md { margin-top: 1.5rem; }
.margin-top-lg { margin-top: 2.5rem; }
.margin-bottom-md { margin-bottom: 1.5rem; }
.margin-bottom-lg { margin-bottom: 2.5rem; }

/* BUTTONS */
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.4rem !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    border-radius: var(--radius-full) !important;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.btn-primary {
    background-color: var(--primary-red) !important;
    color: #FFF !important;
}
.btn-primary:hover {
    background-color: var(--primary-red-hover) !important;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFF !important;
    border: 1px solid var(--border-color) !important;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.btn-outline {
    background: transparent !important;
    border: 1px solid rgba(229, 9, 20, 0.6) !important;
    color: #FFF !important;
}
.btn-outline:hover {
    border-color: var(--primary-red) !important;
    background: rgba(229, 9, 20, 0.15) !important;
    color: #FFF !important;
}

.btn-danger-outline {
    background: rgba(229, 9, 20, 0.08) !important;
    border: 1px solid rgba(229, 9, 20, 0.3) !important;
    color: #FF4D4D !important;
}
.btn-danger-outline:hover {
    background: rgba(229, 9, 20, 0.2) !important;
    border-color: var(--primary-red) !important;
    color: #FFF !important;
}

.btn-block { width: 100% !important; }
.btn-lg { padding: 1rem 2rem !important; font-size: 1rem !important; }
.btn-sm { padding: 0.45rem 0.9rem !important; font-size: 0.82rem !important; }

/* BADGES */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(229, 9, 20, 0.12);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-full);
    color: var(--primary-red);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-red);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.4; }
    100% { transform: scale(0.95); opacity: 1; }
}

.status-badge-inline {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
}
.status-badge-inline.active {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}
.status-badge-inline.expired {
    background: rgba(229, 9, 20, 0.15);
    color: var(--primary-red);
    border: 1px solid rgba(229, 9, 20, 0.3);
}

/* GLASS CARD */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   NAVBAR ALINEADA EN UNA SOLA LÍNEA PERFECTA
   ========================================================================== */

/* BANNER DE ESTADO DE VENTANA DE RESERVAS (VIERNES A DOMINGO) */
.booking-window-banner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.8rem;
    border: 1px solid var(--border-color);
    background: rgba(18, 18, 24, 0.85);
    backdrop-filter: blur(10px);
}

.booking-window-banner.open {
    border-color: rgba(46, 204, 113, 0.4);
    background: rgba(46, 204, 113, 0.08);
}

.booking-window-banner.open .bwb-icon {
    font-size: 1.8rem;
    color: #2ecc71;
}

.booking-window-banner.closed {
    border-color: rgba(229, 9, 20, 0.4);
    background: rgba(229, 9, 20, 0.08);
}

.booking-window-banner.closed .bwb-icon {
    font-size: 1.8rem;
    color: var(--primary-red);
}

.booking-window-banner .bwb-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.2rem;
    color: var(--text-white);
}

.booking-window-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.booking-window-banner p strong {
    display: inline !important;
    font-family: inherit !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
}

.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: rgba(10, 10, 13, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 0.7rem 0 !important;
}

.navbar-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
}

.brand-logo {
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.brand-logo-img:hover {
    transform: scale(1.03);
}

.admin-brand-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
}

.logo-icon { width: 44px; height: 44px; }
.logo-text-group { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; letter-spacing: 1.5px; color: var(--text-white); line-height: 1; }
.logo-subtitle { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--primary-red); font-weight: 800; }

.nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    flex-wrap: nowrap !important;
}

.nav-link {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    transition: var(--transition-fast) !important;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
}

/* TOP ANNOUNCEMENT BAR */
.top-bar { background: #000; border-bottom: 1px solid var(--border-color); font-size: 0.82rem; padding: 0.4rem 0; color: var(--text-muted); }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-bar-contact { display: flex; gap: 1.5rem; }
.top-bar-contact a { color: var(--text-muted); text-decoration: none; }

/* HERO SECTION */
.hero { 
    position: relative; 
    padding: 5.5rem 0 4.5rem 0; 
    overflow: hidden; 
    background: transparent;
}
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.12) 0%, rgba(6, 6, 8, 0.3) 100%);
    pointer-events: none;
}
.hero-container { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.hero-title { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin: 1.2rem 0; }
.text-gradient { background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-red) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 750px; margin-left: auto; margin-right: auto; }
.hero-features { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero-feat-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 700; background: rgba(255, 255, 255, 0.03); padding: 0.6rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border-color); }
.hero-cta-group { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.hero-social-proof { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* SECTIONS COMMON */
.section { padding: 4.5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header.text-center { text-align: center !important; }
.sub-title { color: var(--primary-red); font-size: 0.85rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; }

/* GRID LAYOUTS */
.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* HORARIOS Y BLOQUES */
.booking-controls { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.day-picker { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.5rem; }
.day-btn { flex: 1; min-width: 120px; padding: 1rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--text-white); cursor: pointer; transition: var(--transition-fast); display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.day-btn.active, .day-btn:hover { border-color: var(--primary-red); background: rgba(229, 9, 20, 0.1); }
.day-name { font-weight: 800; font-size: 1rem; font-family: var(--font-heading); }
.day-date { font-size: 0.8rem; color: var(--text-muted); }
.shift-filter { display: flex; gap: 0.8rem; }
.shift-btn { padding: 0.6rem 1.2rem; background: transparent; border: 1px solid var(--border-color); border-radius: var(--radius-full); color: var(--text-muted); font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.shift-btn.active { background: var(--primary-red); color: #FFF; border-color: var(--primary-red); }

.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.slot-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.slot-time { font-size: 1.3rem; font-weight: 800; font-family: var(--font-heading); margin: 0.5rem 0; display: flex; align-items: center; gap: 0.6rem; }
.slot-coach { color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.2rem; }
.slot-capacity-info { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.progress-bar-bg { height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-full); overflow: hidden; margin-bottom: 1.2rem; }
.progress-bar-fill { height: 100%; background: var(--primary-red); border-radius: var(--radius-full); transition: width 0.5s ease; }

/* MODALES Y OVERLAYS */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: var(--transition-fast); }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 1.2rem; right: 1.2rem; background: transparent; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; }

/* ==========================================================================
   SECCIÓN DE PLANES Y MEMBRESÍAS (PRICING CARDS)
   ========================================================================== */

.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 2.5rem !important;
    align-items: stretch !important;
}

.pricing-card {
    position: relative !important;
    background: #121218 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 2.5rem 1.8rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.pricing-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(229, 9, 20, 0.4) !important;
    box-shadow: 0 15px 35px rgba(229, 9, 20, 0.2) !important;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.08) 0%, #121218 100%) !important;
    border: 2px solid #E50914 !important;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.35) !important;
}

.featured-badge {
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #E50914 !important;
    color: #FFFFFF !important;
    font-family: var(--font-heading) !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    padding: 0.35rem 1.2rem !important;
    border-radius: 9999px !important;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6) !important;
    text-transform: uppercase !important;
}

.pricing-header {
    margin-bottom: 2rem !important;
    text-align: center !important;
}

.pricing-header h3 {
    font-family: var(--font-heading) !important;
    font-weight: 900 !important;
    font-size: 1.35rem !important;
    letter-spacing: 1px !important;
    color: #FFFFFF !important;
    margin-bottom: 0.3rem !important;
    text-transform: uppercase !important;
}

.pricing-header p {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 1.2rem !important;
}

.pricing-header .price {
    font-family: var(--font-heading) !important;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    line-height: 1 !important;
}

.pricing-header .price span {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
}

.pricing-features {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 0 2rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.9rem !important;
    text-align: left !important;
}

.pricing-features li {
    list-style: none !important;
    list-style-type: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
    font-size: 0.9rem !important;
    color: var(--text-white) !important;
}

.pricing-features li i {
    color: #E50914 !important;
    font-size: 0.95rem !important;
}

/* ==========================================================================
   FOOTER (FOOTER DE 3 COLUMNAS PERFECTAMENTE ESTRUCTURADO)
   ========================================================================== */

.footer {
    background: #060608 !important;
    border-top: 1px solid var(--border-color) !important;
    padding: 4rem 0 2rem 0 !important;
}

.footer-container {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: 3rem !important;
}

.footer-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
}

.footer-brand p {
    color: var(--text-muted) !important;
    font-size: 0.88rem !important;
    max-width: 420px !important;
    line-height: 1.6 !important;
}

.footer-links h4, .footer-social h4 {
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: var(--text-white) !important;
    margin-bottom: 1.2rem !important;
}

.footer-links ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    list-style: none !important;
}

.footer-links a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: var(--transition-fast) !important;
}

.footer-links a:hover {
    color: var(--primary-red) !important;
}

.footer-bottom {
    border-top: 1px solid var(--border-color) !important;
    margin-top: 3rem !important;
    padding-top: 1.5rem !important;
    text-align: center !important;
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
}

/* ==========================================================================
   FORMULARIOS Y PESTAÑAS DEL PORTAL DE SOCIOS & ADMIN
   ========================================================================== */

.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

select option {
    background-color: #121218 !important;
    color: #FFFFFF !important;
    padding: 0.6rem 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

/* DASHBOARD SOCIOS HEADER & TABS */
.user-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.user-info-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.user-avatar-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--primary-red);
}

.user-plan-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.user-meta-pills {
    display: flex;
    gap: 1rem;
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.dash-tabs-nav {
    display: flex;
    gap: 0.6rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.8rem;
}

.dash-tab-btn {
    padding: 0.7rem 1.4rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dash-tab-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.04);
}

.dash-tab-btn.active {
    background: rgba(229, 9, 20, 0.12);
    color: var(--text-white);
    border: 1px solid var(--border-highlight);
}

.dash-tab-pane {
    display: none !important;
}

.dash-tab-pane.active {
    display: block !important;
}

.dash-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* RESERVAS EN PERFIL.HTML */
.my-reservations-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 1.2rem !important;
}

.reservation-ticket-card {
    position: relative !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(229, 9, 20, 0.06) 100%) !important;
    border: 1px solid var(--border-highlight) !important;
    border-radius: var(--radius-md) !important;
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 1.2rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    transition: var(--transition-smooth) !important;
}

.reservation-ticket-card:hover {
    transform: translateY(-3px) !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 15px 35px rgba(229, 9, 20, 0.25) !important;
}

.ticket-header-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.ticket-day-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: rgba(229, 9, 20, 0.15) !important;
    border: 1px solid var(--border-highlight) !important;
    color: #FFF !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    padding: 0.35rem 0.9rem !important;
    border-radius: var(--radius-full) !important;
}

.ticket-status-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: rgba(37, 211, 102, 0.15) !important;
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
    color: #25D366 !important;
    font-weight: 800 !important;
    font-size: 0.78rem !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: var(--radius-full) !important;
}

.ticket-time-display {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    font-family: var(--font-heading) !important;
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    color: var(--text-white) !important;
    margin-top: 0.5rem !important;
}

.ticket-details-box {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border-color) !important;
    padding: 0.7rem 1rem !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    margin-top: 0.8rem !important;
}

.ticket-footer-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 0.8rem !important;
    border-top: 1px dashed var(--border-color) !important;
    margin-top: 0.5rem !important;
    width: 100% !important;
}

/* TARJETAS DE SOCIOS ADMIN */
.admin-members-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}

.member-admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    transition: var(--transition-fast);
}

.member-admin-card:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.member-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.member-card-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-avatar-medium {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--primary-red);
}

.member-card-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-white);
}

.member-card-rut {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.member-plan-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.member-plan-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-expiry-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-card-actions {
    display: flex;
    gap: 0.8rem;
}

/* SOCIOS CON PLAN POR VENCER (ESTA SEMANA) */
.exp-warning-box {
    border: 1px solid rgba(255, 152, 0, 0.4) !important;
    background: rgba(255, 152, 0, 0.05) !important;
    padding: 1.6rem !important;
}

.warning-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(255, 152, 0, 0.18);
    border: 1px solid rgba(255, 152, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ff9800;
}

.status-badge-inline.warning {
    background: rgba(255, 152, 0, 0.2) !important;
    color: #ffb74d !important;
    border: 1px solid rgba(255, 152, 0, 0.4) !important;
}

.stat-icon.orange {
    background: rgba(255, 152, 0, 0.15) !important;
    color: #ff9800 !important;
}

.text-orange {
    color: #ff9800 !important;
}

.exp-member-card {
    background: rgba(18, 18, 24, 0.95);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition-fast);
}

.exp-member-card:hover {
    border-color: #ff9800;
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.15);
}

.exp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}

.exp-member-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-white);
}

.exp-member-phone {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.exp-card-body {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    font-size: 0.86rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.exp-card-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.btn-whatsapp {
    background: #25D366 !important;
    color: #000 !important;
    font-weight: 700 !important;
    border: none !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-whatsapp:hover {
    background: #20ba5a !important;
    color: #000 !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (MOBILE CAROUSEL & SWIPE OPTIMIZATIONS)
   ========================================================================== */

.swipe-hint-badge {
    display: none;
}

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    /* Indicador visual de deslizamiento horizontal */
    .swipe-hint-badge {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        color: var(--primary-red) !important;
        background: rgba(229, 9, 20, 0.1) !important;
        border: 1px solid var(--border-highlight) !important;
        padding: 0.4rem 1rem !important;
        border-radius: var(--radius-full) !important;
        margin: 0 auto 1.2rem auto !important;
        width: fit-content !important;
    }

    /* Prevención estricta de desbordamiento de la página */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .container {
        padding: 0 1rem !important;
    }

    .top-bar {
        display: none !important;
    }

    .navbar {
        padding: 0.6rem 0 !important;
    }

    .navbar-container {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
    }

    .logo-title {
        font-size: 1.2rem !important;
    }

    .logo-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-actions {
        gap: 0.4rem !important;
    }

    .nav-actions .btn {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.78rem !important;
    }

    .hero {
        padding: 2rem 0 !important;
    }

    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.25 !important;
        margin: 0.8rem 0 !important;
    }

    .hero-description {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-features {
        flex-direction: column !important;
        gap: 0.8rem !important;
        align-items: stretch !important;
    }

    .hero-feat-item {
        justify-content: center !important;
        font-size: 0.85rem !important;
    }

    .hero-cta-group {
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100% !important;
    }

    .hero-cta-group .btn {
        width: 100% !important;
    }

    /* CARRUSEL DE NAVEGACIÓN DE DÍAS */
    .day-picker {
        gap: 0.5rem !important;
    }

    .day-btn {
        min-width: 90px !important;
        padding: 0.75rem 0.5rem !important;
    }

    .day-name {
        font-size: 0.88rem !important;
    }

    /* CARRUSEL DESLIZABLE HORIZONTALMENTE PARA EL MÉTODO R FITNESS */
    .metodo-section .grid-3 {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 1rem !important;
        padding-bottom: 1.2rem !important;
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }

    .metodo-section .card {
        flex: 0 0 85% !important;
        min-width: 275px !important;
        max-width: 310px !important;
        scroll-snap-align: center !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: var(--radius-md) !important;
        padding: 1.8rem 1.5rem !important;
    }

    .metodo-section .grid-3::-webkit-scrollbar {
        height: 5px;
    }

    .metodo-section .grid-3::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 99px;
    }

    .metodo-section .grid-3::-webkit-scrollbar-thumb {
        background: var(--primary-red);
        border-radius: 99px;
    }

    /* CARRUSEL DESLIZABLE HORIZONTALMENTE PARA MEMBRESÍAS */
    .pricing-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 1rem !important;
        padding-bottom: 1.2rem !important;
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }

    .pricing-card {
        flex: 0 0 85% !important;
        min-width: 280px !important;
        max-width: 320px !important;
        scroll-snap-align: center !important;
    }

    /* CARRUSEL DESLIZABLE HORIZONTALMENTE PARA KINE & NUTRI */
    .especialistas-section .grid-2 {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 1rem !important;
        padding-bottom: 1.2rem !important;
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }

    .specialist-card {
        flex: 0 0 88% !important;
        min-width: 285px !important;
        max-width: 330px !important;
        scroll-snap-align: center !important;
    }

    /* Estilo de la barra de desplazamiento suave del carrusel */
    .pricing-grid::-webkit-scrollbar,
    .especialistas-section .grid-2::-webkit-scrollbar {
        height: 5px;
    }

    .pricing-grid::-webkit-scrollbar-track,
    .especialistas-section .grid-2::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 99px;
    }

    .pricing-grid::-webkit-scrollbar-thumb,
    .especialistas-section .grid-2::-webkit-scrollbar-thumb {
        background: var(--primary-red);
        border-radius: 99px;
    }

    /* Footer responsive */
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }

    /* Panel de administración en celulares */
    .admin-wrapper {
        flex-direction: column !important;
    }

    .admin-sidebar {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        padding: 1.2rem !important;
    }

    .admin-brand {
        margin-bottom: 1.2rem !important;
    }

    .admin-menu {
        flex-direction: row !important;
        overflow-x: auto !important;
        padding-bottom: 0.5rem !important;
    }

    .admin-menu-btn {
        white-space: nowrap !important;
        padding: 0.6rem 0.9rem !important;
        font-size: 0.85rem !important;
    }

    .admin-main {
        padding: 1.2rem !important;
    }

    .admin-header-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .admin-blocks-grid {
        grid-template-columns: 1fr !important;
    }

    .admin-members-cards-grid {
        grid-template-columns: 1fr !important;
    }

    /* Portal de Socios en celular */
    .profile-hero-card {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .profile-header-info {
        flex-direction: column !important;
        align-items: center !important;
    }

    .my-reservations-list {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .admin-stats-grid {
        grid-template-columns: 1fr !important;
    }
}



