/*
 Theme Name:     Clubify - El club del pequeño comercio
 Theme URI:      https://clubify.es
 Description:    El tema final para impulsar Clubify
 Author:         Clubify
 Author URI:     https://clubify.es
 Template:       kadence
 Version:        1.0.1
*/

@import url("../kadence/style.css");

/* ==========================================================================
   Variables Globales
   ========================================================================== */
:root {
    --color-principal: #ED8F0C; /* Naranja principal */
    --color-secundario: #ff6700; /* Naranja más vivo para la barra */
    --color-negro: #000000;
    --color-blanco: #ffffff;
    --color-gris-texto: #666666;
    --color-gris-fondo: #f8f9fa; /* Un gris estándar y suave */
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Barra Superior Dinámica (Clubify Top Bar)
   ========================================================================== */

/* Estilo base para la barra */
.clubify-top-bar {
    background-color: var(--color-principal);
    color: var(--color-blanco);
    padding: 8px 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 99998;
}

/* Ajuste si la barra de admin de WP está visible */
body.admin-bar .clubify-top-bar { top: 32px; }
@media screen and (max-width: 782px) { 
    body.admin-bar .clubify-top-bar { top: 46px; } 
}

/* Contenedor interno de la barra */
.clubify-top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alinear a la derecha por defecto */
}

/* --- Estilos para el estado LOGUEADO --- */
.clubify-top-bar.user-logged-in .container {
    gap: 1rem; /* Espacio entre los elementos */
}

.clubify-top-bar .bienvenido {
    font-weight: 500;
}

/* --- Estilos para el estado NO LOGUEADO --- */
.clubify-top-bar.user-logged-out .container {
    justify-content: center; /* En móvil, el botón estará centrado */
}

@media (min-width: 768px) {
    /* En escritorio, lo volvemos a alinear a la derecha */
    .clubify-top-bar.user-logged-out .container {
        justify-content: flex-end;
    }
}

/* --- Estilos comunes para los botones de la barra --- */
.clubify-top-bar .btn-top-bar {
    color: var(--color-blanco) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.clubify-top-bar .btn-top-bar:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.clubify-top-bar .btn-top-bar i {
    font-size: 1.1rem;
}

/* Botón de Acceso Comercios (estado no logueado) */
.clubify-top-bar.user-logged-out .acceso-comercios {
    background-color: var(--color-negro);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.clubify-top-bar.user-logged-out .acceso-comercios:hover {
    background-color: #333;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* --- Responsive para la barra en estado LOGUEADO (NUEVO) --- */
@media (max-width: 576px) {
    /* Ocultamos el texto "Bienvenido..." para ahorrar espacio */
    .clubify-top-bar.user-logged-in .bienvenido {
        display: none;
    }
    
    /* Distribuimos los dos botones restantes (Mi Cuenta y Cerrar Sesión) */
    .clubify-top-bar.user-logged-in .container {
        justify-content: space-between;
    }
    
    /* Ocultamos el texto de los botones, dejando solo los iconos */
    .clubify-top-bar.user-logged-in .btn-top-bar span {
        display: none;
    }
}



/* ==========================================================================
   Estilos Generales de las Páginas (Landing, Comercios, etc.)
   ========================================================================== */
body {
    font-family: Arial, sans-serif;
    color: var(--color-gris-texto);
}

.section-title {
    color: var(--color-principal);
    font-weight: bold;
}

.section-subtitle {
    color: var(--color-gris-texto);
}

/* Botones */
.btn-primary {
    background-color: var(--color-principal) !important;
    border-color: var(--color-principal) !important;
    color: var(--color-blanco) !important;
}
.btn-primary:hover {
    background-color: var(--color-negro) !important;
    border-color: var(--color-negro) !important;
}

/* ... Aquí irían el resto de los estilos que tenías en las plantillas ... */
/* Por ejemplo, los estilos para .hero-section, .benefits-section, etc. */
/* ¡Mueve TODOS los estilos de las etiquetas <style> aquí! */





/* ==========================================================================
   FOOTER CLUBIFY 2.0 - DISEÑO MODERNO CON NARANJA
   ========================================================================== */

.clubify-footer-v2 {
    position: relative;
    overflow: hidden;
}

/* --- SECCIÓN PRINCIPAL --- */
.footer-main {
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
    padding: 4rem 0 3rem;
    position: relative;
}

/* Patrón decorativo de fondo */
.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main .container {
    position: relative;
    z-index: 1;
}

/* --- LOGO Y MARCA --- */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    /* Sin filtro - logo original */
    transition: all var(--transition-base);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* --- REDES SOCIALES --- */
.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--color-blanco);
    border-radius: 50%;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--color-blanco);
    color: var(--color-principal);
    border-color: var(--color-blanco);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- TÍTULOS DE SECCIONES --- */
.footer-heading {
    color: var(--color-blanco);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-heading i {
    font-size: 1.25rem;
    opacity: 0.8;
}

/* --- MENÚS DE NAVEGACIÓN Y LEGAL --- */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    padding: 0.25rem 0;
}

.footer-menu a i {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: all var(--transition-base);
}

.footer-menu a:hover {
    color: var(--color-blanco);
    transform: translateX(5px);
}

.footer-menu a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

/* --- LISTA DE CONTACTO --- */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-blanco);
    font-size: 1.125rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.contact-info a,
.contact-info span {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all var(--transition-base);
}

.contact-info a:hover {
    color: var(--color-blanco);
    text-decoration: underline;
}

/* --- FOOTER BOTTOM --- */
.footer-bottom {
    background-color: #000000;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright,
.footer-credits {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-copyright i {
    font-size: 1rem;
}

.footer-credits i {
    color: #e74c3c;
    font-size: 1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-heading {
        justify-content: center;
    }
    
    .footer-menu {
        text-align: center;
    }
    
    .footer-menu a {
        justify-content: center;
    }
    
    /* Contacto centrado */
    .footer-contact-list {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-copyright,
    .footer-credits {
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Asegurar centrado en móviles pequeños también */
    .contact-item {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .footer-logo {
        height: 50px;
    }
    
    .footer-description {
        font-size: 0.875rem;
    }
    
    .footer-menu a {
        font-size: 0.875rem;
    }
    
    .contact-info a,
    .contact-info span {
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   ANIMACIONES DE ENTRADA (Opcional - si usas AOS)
   ========================================================================== */

[data-aos="footer-fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos="footer-fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   SISTEMA DE AUTENTICACIÓN CLUBIFY 2.0
   ========================================================================== */

.clubify-auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* Patrón decorativo */
.clubify-auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(237, 143, 12, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(237, 143, 12, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.auth-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-blanco);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* === COLUMNA VISUAL === */
.auth-visual {
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blanco);
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.auth-logo {
    max-width: 150px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.auth-visual h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-blanco);
}

.auth-visual p {
    font-size: 1.125rem;
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    max-width: 300px;
    margin: 0 auto;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.auth-feature-item i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* === COLUMNA FORMULARIOS === */
.auth-forms {
    padding: 3rem 2.5rem;
}

/* Tabs */
.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-gris-medio);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gris-texto);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-tab:hover {
    color: var(--color-principal);
}

.auth-tab.active {
    color: var(--color-principal);
    border-bottom-color: var(--color-principal);
}

/* Contenedores de formularios */
.auth-form-container {
    display: none;
}

.auth-form-container.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-negro);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Alertas */
.auth-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.auth-alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}

.auth-alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.auth-alert a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

/* Formularios */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-negro);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--color-principal);
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-gris-medio);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-principal);
    box-shadow: 0 0 0 3px rgba(237, 143, 12, 0.1);
}

/* Input de contraseña con ojo */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-gris-texto);
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-base);
}

.toggle-password:hover {
    color: var(--color-principal);
}

.toggle-password.active i::before {
    content: "\f070"; /* fa-eye-slash */
}

/* Selector de rol */
.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.role-option {
    cursor: pointer;
}

.role-option input[type="radio"] {
    display: none;
}

.role-card {
    padding: 1.5rem 1rem;
    border: 2px solid var(--color-gris-medio);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.role-card i {
    font-size: 2rem;
    color: var(--color-gris-texto);
    transition: all var(--transition-base);
}

.role-card span {
    font-weight: 600;
    color: var(--color-negro);
}

.role-option input:checked + .role-card {
    border-color: var(--color-principal);
    background-color: rgba(237, 143, 12, 0.05);
}

.role-option input:checked + .role-card i {
    color: var(--color-principal);
    transform: scale(1.1);
}

/* Barra de seguridad de contraseña */
.password-strength-meter {
    height: 6px;
    background-color: var(--color-gris-medio);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all var(--transition-base);
    border-radius: 3px;
}

.password-strength-bar.very-weak {
    width: 25%;
    background-color: #dc2626;
}

.password-strength-bar.weak {
    width: 50%;
    background-color: #f59e0b;
}

.password-strength-bar.strong {
    width: 75%;
    background-color: #3b82f6;
}

.password-strength-bar.very-strong {
    width: 100%;
    background-color: #10b981;
}

.password-strength-text {
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.password-strength-text.very-weak { color: #dc2626; }
.password-strength-text.weak { color: #f59e0b; }
.password-strength-text.strong { color: #3b82f6; }
.password-strength-text.very-strong { color: #10b981; }

/* Checkbox */
.form-checkbox label {
    flex-direction: row;
    font-weight: 400;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

/* Footer del formulario */
.form-footer {
    display: flex;
    justify-content: flex-end;
}

.forgot-password {
    font-size: 0.875rem;
    color: var(--color-principal);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Botones */
.btn-auth {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-auth-primary {
    background-color: var(--color-principal);
    color: var(--color-blanco);
    box-shadow: 0 4px 15px rgba(237, 143, 12, 0.3);
}

.btn-auth-primary:hover:not(:disabled) {
    background-color: var(--color-secundario);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 143, 12, 0.4);
}

.btn-auth:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === RESPONSIVE === */
@media (max-width: 991.98px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-visual {
        padding: 3rem 2rem;
    }
    
    .auth-visual h2 {
        font-size: 1.75rem;
    }
    
    .auth-visual p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .clubify-auth-section {
        padding: 1rem;
    }
    
    .auth-container {
        border-radius: 15px;
    }
    
    .auth-forms {
        padding: 2rem 1.5rem;
    }
    
    .auth-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .auth-tab {
        border-bottom: 1px solid var(--color-gris-medio);
    }
    
    .auth-tab.active {
        border-left: 3px solid var(--color-principal);
        border-bottom-color: var(--color-gris-medio);
    }
    
    .role-selector {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .auth-visual {
        padding: 2rem 1.5rem;
    }
    
    .auth-logo {
        max-width: 120px;
    }
    
    .auth-forms {
        padding: 1.5rem 1rem;
    }
    
    .auth-form-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   PÁGINA: CONFIGURACIÓN DE LA APLICACIÓN (TUTORIALES)
   Versión: 2.0 - Rediseño completo con UI/UX moderna
   ========================================================================== */

/* Variables específicas para tutoriales */
:root {
    --tutorial-primary: #FF8C00;
    --tutorial-gradient: linear-gradient(135deg, #FF8C00 0%, #ff9d1a 100%);
    --tutorial-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --tutorial-shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.12);
    --tutorial-radius: 20px;
    --tutorial-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================================
   HERO SECTION DEL TUTORIAL
   ======================================================================== */
.tutorial-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.tutorial-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 140, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.tutorial-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--tutorial-gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.tutorial-hero-badge i {
    font-size: 1.1rem;
}

.tutorial-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tutorial-hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* Progress Indicator */
.tutorial-progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #999;
    transition: var(--tutorial-transition);
}

.progress-step.active .step-circle {
    background: var(--tutorial-gradient);
    border-color: var(--tutorial-primary);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
}

.progress-step.active .step-label {
    color: var(--tutorial-primary);
}

.progress-line {
    width: 80px;
    height: 3px;
    background: #e0e0e0;
    margin: 0 10px;
}

.progress-step.active + .progress-line {
    background: var(--tutorial-gradient);
}

/* ========================================================================
   INDICADOR DE PROGRESO - 7 PASOS
   ======================================================================== */

.tutorial-progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px; /* Aumentado para 7 pasos */
    margin: 0 auto;
    flex-wrap: wrap; /* Permite que se ajuste en móvil */
}

.progress-line {
    width: 60px; /* Reducido para que quepan 7 pasos */
    height: 3px;
    background: #e0e0e0;
    margin: 0 8px; /* Reducido el margen */
    transition: var(--tutorial-transition);
}

/* Responsive para el indicador de 7 pasos */
@media (max-width: 1199.98px) {
    .progress-line {
        width: 40px;
        margin: 0 5px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .tutorial-progress-indicator {
        gap: 5px;
        max-width: 100%;
    }
    
    .progress-line {
        width: 20px;
        margin: 0 3px;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* En móvil, mostrar solo los círculos sin líneas largas */
    .tutorial-progress-indicator {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 15px;
    }
    
    .progress-line {
        width: 15px;
        margin: 0 2px;
    }
    
    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    /* En móviles pequeños, hacer el indicador más compacto */
    .tutorial-progress-indicator {
        gap: 8px;
    }
    
    .progress-line {
        width: 10px;
        height: 2px;
    }
    
    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        border-width: 2px;
    }
    
    .progress-step {
        gap: 5px;
    }
}

/* ========================================================================
   SECCIONES DEL TUTORIAL
   ======================================================================== */
.tutorial-section-wrapper {
    background: white;
    position: relative;
}

.tutorial-section-alt {
    background: #f8f9fa;
}

/* Layout de 2 Columnas */
.tutorial-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Columna de Imagen (Sticky) */
.tutorial-image-column {
    width: 45%;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-image-wrapper {
    position: sticky;
    top: 100px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.image-frame {
    background: white;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: var(--tutorial-transition);
}

.image-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.image-frame img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.image-caption {
    margin-top: 25px;
    text-align: center;
    color: #666;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.image-caption i {
    font-size: 1.3rem;
    color: var(--tutorial-primary);
}

/* Columna de Contenido */
.tutorial-content-column {
    width: 55%;
    background: white;
}

.tutorial-container-reversed .tutorial-content-column {
    background: #f8f9fa;
}

.tutorial-content {
    max-width: 650px;
    padding: 80px 60px;
    margin: 0 auto;
}

/* ========================================================================
   ESTADOS DEL INDICADOR DE PROGRESO
   ======================================================================== */

/* Paso completado (ya visitado) */
.progress-step.completed .step-circle {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #28a745;
    color: white;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
}

.progress-step.completed .step-label {
    color: #28a745;
}

/* Paso activo (página actual) */
.progress-step.active .step-circle {
    background: var(--tutorial-gradient);
    border-color: var(--tutorial-primary);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
    transform: scale(1.1);
}

.progress-step.active .step-label {
    color: var(--tutorial-primary);
}

/* Línea de progreso completada */
.progress-line.completed {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Si un paso es activo Y completado, priorizar activo */
.progress-step.active.completed .step-circle {
    background: var(--tutorial-gradient);
    border-color: var(--tutorial-primary);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

.progress-step.active.completed .step-label {
    color: var(--tutorial-primary);
}

/* ========================================================================
   HEADERS DE SECCIÓN
   ======================================================================== */
.section-header-modern {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.section-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--tutorial-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
}

.section-header-content {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
}

/* ========================================================================
   ALERTS MODERNOS
   ======================================================================== */
.alert-modern {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid transparent;
    margin-bottom: 40px;
}

.alert-modern.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
}

.alert-modern.alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ff9800;
}

.alert-modern .alert-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-modern.alert-info .alert-icon {
    color: #2196f3;
}

.alert-modern.alert-warning .alert-icon {
    color: #ff9800;
}

.alert-modern .alert-icon i {
    font-size: 1.5rem;
}

.alert-modern .alert-content {
    flex: 1;
    color: #333;
    line-height: 1.7;
}

.alert-modern .alert-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

/* ========================================================================
   STEP CARDS MODERNOS
   ======================================================================== */
.steps-list-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-card-modern {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: var(--tutorial-radius);
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: var(--tutorial-transition);
    position: relative;
    overflow: hidden;
}

.tutorial-container-reversed .step-card-modern {
    background: white;
}

.step-card-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--tutorial-gradient);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.step-card-modern:hover::before {
    transform: scaleY(1);
}

.step-card-modern:hover {
    border-color: var(--tutorial-primary);
    transform: translateX(10px);
    box-shadow: var(--tutorial-shadow);
}

.step-number-badge {
    width: 50px;
    height: 50px;
    background: var(--tutorial-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.step-number-badge span {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.step-content-modern {
    flex: 1;
}

.step-icon-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 15px;
}

.step-icon-modern i {
    font-size: 1.5rem;
    color: var(--tutorial-primary);
}

.step-title-modern {
    font-size: 1.35rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.step-description-modern {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Feature List */
.feature-list-modern {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.feature-list-modern li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: #666;
    line-height: 1.7;
}

.feature-list-modern i {
    font-size: 1.2rem;
    color: #28a745;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Link Box */
.link-box {
    margin-top: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--tutorial-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-box i {
    color: var(--tutorial-primary);
    font-size: 1.2rem;
}

.link-box a {
    color: var(--tutorial-primary);
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}

.link-box a:hover {
    text-decoration: underline;
}

/* ========================================================================
   CALLOUT BOX MODERNO
   ======================================================================== */
.callout-box-modern {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ffa726;
    border-radius: var(--tutorial-radius);
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 40px;
}

.callout-icon-modern {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
}

.callout-icon-modern i {
    font-size: 2rem;
    color: var(--tutorial-primary);
}

.callout-content-modern {
    flex: 1;
}

.callout-title-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.callout-text-modern {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.callout-btn-modern {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: white;
    color: var(--tutorial-primary);
    border: 2px solid var(--tutorial-primary);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--tutorial-transition);
    white-space: nowrap;
}

.callout-btn-modern:hover {
    background: var(--tutorial-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

/* ========================================================================
   IMAGEN MOBILE (oculta en desktop)
   ======================================================================== */
.tutorial-image-mobile {
    display: none;
}

/* ========================================================================
   SECCIÓN FINAL - FONDO NEGRO CON CONTENEDOR BLANCO
   ======================================================================== */
.tutorial-final-section {
    padding: 80px 0;
    background: #000000 !important; /* Fondo negro de la sección */
    position: relative;
    overflow: hidden;
}

/* Patrón decorativo sutil (puntos blancos) */
.tutorial-final-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: tutorialMovePattern 20s linear infinite;
    pointer-events: none;
}

/* Gradiente sutil de naranja (opcional) */
.tutorial-final-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,140,0,0.05) 0%, transparent 50%, rgba(255,140,0,0.05) 100%);
    pointer-events: none;
}

@keyframes tutorialMovePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Contenedor blanco con el contenido */
.final-cta-box {
    position: relative;
    z-index: 1;
    background: #ffffff !important; /* Fondo blanco FORZADO */
    background-color: #ffffff !important;
    border-radius: 30px;
    padding: 60px 50px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.4); /* Sombra naranja para contraste */
}

.final-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
}

.final-icon i {
    font-size: 3rem;
    color: white;
}

.final-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333 !important;
    margin-bottom: 20px;
}

.final-text {
    font-size: 1.15rem;
    color: #666 !important;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 40px;
}

.final-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-final-primary,
.btn-final-secondary {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--tutorial-transition);
}

.btn-final-primary {
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    color: white !important;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.btn-final-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
    color: white !important;
}

.btn-final-secondary {
    background: white;
    color: #333 !important;
    border: 2px solid #e0e0e0;
}

.btn-final-secondary:hover {
    background: #f8f9fa;
    border-color: var(--color-principal);
    color: var(--color-principal) !important;
    transform: translateY(-3px);
}

/* ========================================================================
   RESPONSIVE - SECCIÓN FINAL
   ======================================================================== */
@media (max-width: 992px) {
    .tutorial-final-section {
        padding: 70px 0;
        background: #000000 !important;
    }
    
    .final-cta-box {
        padding: 50px 40px;
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-radius: 25px;
    }
    
    .final-title {
        font-size: 2rem;
        color: #333 !important;
    }
    
    .final-text {
        font-size: 1.05rem;
        color: #666 !important;
    }
}

@media (max-width: 768px) {
    .tutorial-final-section {
        padding: 60px 0;
        background: #000000 !important; /* Fondo negro en móvil */
    }
    
    .final-cta-box {
        padding: 40px 30px;
        background: #ffffff !important; /* Fondo blanco FORZADO en móvil */
        background-color: #ffffff !important;
        border-radius: 20px;
        margin: 0 15px; /* Margen lateral en móvil */
    }
    
    .final-icon {
        width: 80px;
        height: 80px;
    }
    
    .final-icon i {
        font-size: 2.5rem;
        color: white !important;
    }
    
    .final-title {
        font-size: 1.8rem;
        color: #333 !important;
    }
    
    .final-text {
        font-size: 1rem;
        color: #666 !important;
    }
    
    .final-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-final-primary,
    .btn-final-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .tutorial-final-section {
        padding: 50px 0;
        background: #000000 !important;
    }
    
    .final-cta-box {
        padding: 35px 25px;
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-radius: 20px;
        margin: 0 10px;
    }
    
    .final-icon {
        width: 70px;
        height: 70px;
    }
    
    .final-icon i {
        font-size: 2rem;
    }
    
    .final-title {
        font-size: 1.6rem;
        color: #333 !important;
    }
    
    .final-text {
        font-size: 0.95rem;
        color: #666 !important;
    }
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 991.98px) {
    /* Hero */
    .tutorial-hero-title {
        font-size: 2.5rem;
    }
    
    .tutorial-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .progress-line {
        width: 50px;
    }
    
    /* Layout se vuelve vertical */
    .tutorial-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .tutorial-image-column {
        display: none; /* Ocultamos la columna sticky */
    }
    
    .tutorial-content-column {
        width: 100%;
    }
    
    .tutorial-content {
        padding: 60px 40px;
    }
    
    /* Mostramos imagen mobile */
    .tutorial-image-mobile {
        display: block;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .tutorial-image-mobile img {
        max-width: 350px;
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border: 5px solid white;
    }
    
    /* Headers */
    .section-header-modern {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section-number {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Step cards */
    .step-card-modern {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Callout */
    .callout-box-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .callout-btn-modern {
        width: 100%;
    }
    
    /* Final */
    .final-title {
        font-size: 2rem;
    }
    
    .final-text {
        font-size: 1.05rem;
    }
    
    .final-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-final-primary,
    .btn-final-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tutorial-hero-section {
        padding: 60px 0 40px;
    }
    
    .tutorial-hero-title {
        font-size: 2rem;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .tutorial-content {
        padding: 40px 25px;
    }
    
    .section-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .step-card-modern {
        padding: 25px 20px;
    }
    
    .step-title-modern {
        font-size: 1.2rem;
    }
    
    .alert-modern {
        padding: 20px;
    }
    
    .final-cta-box {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .tutorial-hero-title {
        font-size: 1.75rem;
    }
    
    .tutorial-hero-badge {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
    
    .progress-line {
        width: 30px;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .final-title {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Sección 2: Configuración de Puntos (Layout Invertido)
   ========================================================================== */

/* Contenedor especial para la sección invertida */
.tutorial-container-reversed .tutorial-content-column {
    order: 1; /* El contenido va primero */
}
.tutorial-container-reversed .tutorial-image-column {
    order: 2; /* La imagen va segunda */
    background-color: #e9ecef; /* Un gris ligeramente diferente para variar */
}

/* Estilo para la lista dentro de los pasos */
.step-text .list-styled {
    list-style: none;
    padding-left: 0;
}
.step-text .list-styled li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.step-text .list-styled i {
    color: var(--color-principal);
    margin-right: 10px;
    margin-top: 5px;
}

/* Responsive para la sección invertida */
@media (max-width: 991.98px) {
    .tutorial-container-reversed .tutorial-content-column,
    .tutorial-container-reversed .tutorial-image-column {
        order: initial; /* Reseteamos el orden en móvil */
    }
}

/* ==========================================================================
   Estilos para el Callout Box de la Calculadora
   ========================================================================== */

.callout-box {
    display: flex;
    align-items: center;
    background-color: #f8f9fa; /* Fondo gris claro */
    border: 1px solid #dee2e6;
    border-left: 5px solid var(--color-principal); /* Borde naranja distintivo */
    padding: 20px;
    border-radius: 8px;
    gap: 20px;
}

.callout-box .callout-icon {
    font-size: 2rem;
    color: var(--color-principal);
}

.callout-box .callout-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.callout-box .callout-text p {
    margin-bottom: 0;
    color: var(--color-gris-texto);
    font-size: 0.95rem;
}

/* Botón de contorno con nuestros colores */
.btn-clubify-outline {
    border: 2px solid var(--color-principal);
    color: var(--color-principal);
    background-color: transparent;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap; /* Evita que el texto del botón se parta */
}

.btn-clubify-outline:hover {
    background-color: var(--color-principal);
    color: var(--color-blanco);
}

/* Responsive para el callout box */
@media (max-width: 768px) {
    .callout-box {
        flex-direction: column; /* Apilamos los elementos en móvil */
        text-align: center;
    }
    .callout-box .btn-clubify-outline {
        margin-top: 10px;
    }
}

/* ==========================================================================
   Sección 4: Cierre y Ayuda (Página de Configuración)
   ========================================================================== */

.final-section-wrapper {
    background-color: #f8f9fa; /* Fondo gris claro para diferenciarla */
    border-top: 1px solid #e0e0e0;
}

/* ==========================================================================
   PÁGINA: CONFIGURAR DESCUENTO Y RECOMPENSAS
   Versión: 2.0 - Rediseño completo con calculadoras modernas
   ========================================================================== */

/* ========================================================================
   SECCIÓN PRINCIPAL DE CALCULADORA
   ======================================================================== */
.calculator-main-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.calculator-wrapper {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.calculator-header {
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    padding: 50px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.calculator-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.calculator-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.calculator-icon i {
    font-size: 2.5rem;
    color: var(--color-principal);
}

.calculator-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.calculator-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-content {
    padding: 50px 40px;
}

/* ========================================================================
   CONTROLES DE LA CALCULADORA
   ======================================================================== */
.calculator-controls {
    padding-right: 30px;
}

.control-group {
    margin-bottom: 40px;
}

.control-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.control-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}

.control-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-principal);
    font-size: 1.2rem;
}

.control-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-principal);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    padding: 8px 20px;
    border-radius: 50px;
}

.control-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Range Slider Moderno */
.range-slider-wrapper {
    position: relative;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: linear-gradient(to right, #e9ecef 0%, #e9ecef 100%);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 10px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.6);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.6);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
}

.controls-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
    margin: 40px 0;
}

/* Info Box */
.calculator-info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 30px;
}

.calculator-info-box i {
    font-size: 1.5rem;
    color: #2196f3;
    flex-shrink: 0;
    margin-top: 2px;
}

.calculator-info-box strong {
    color: #333;
}

/* ========================================================================
   RESULTADOS DE LA CALCULADORA
   ======================================================================== */
.calculator-results {
    padding-left: 30px;
}

.results-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.results-header i {
    font-size: 2rem;
    color: var(--color-principal);
}

.results-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0;
}

.result-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
}

.result-card:hover {
    border-color: var(--color-principal);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
    transform: translateY(-5px);
}

.result-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.result-icon i {
    font-size: 1.8rem;
    color: white;
}

.result-content {
    flex: 1;
}

.result-label {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.result-value-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-principal);
    line-height: 1;
}

/* Resumen Final */
.result-summary {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-icon i {
    font-size: 2rem;
    color: white;
}

.summary-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.highlight-value {
    display: inline-block;
    background: white;
    color: var(--color-principal);
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 800;
    margin: 0 5px;
}

/* ========================================================================
   SECCIÓN DE INTRODUCCIÓN A PREMIOS
   ======================================================================== */
.prize-intro-section {
    padding: 80px 0;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.intro-image-wrapper {
    position: relative;
}

.prize-intro-image {
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.intro-content {
    padding-left: 40px;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.intro-badge i {
    font-size: 1.1rem;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-text {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #555;
}

.feature-item i {
    font-size: 1.3rem;
    color: #4caf50;
}

/* ========================================================================
   CALCULADORA DE PREMIOS
   ======================================================================== */
.prize-calculator-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.prize-calculator-wrapper {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.prize-input-group {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px solid #e9ecef;
}

.prize-input-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.prize-input-label i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-principal);
}

.prize-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}


.prize-input {
    width: 100%;
    padding: 20px; /* Padding uniforme en todos los lados */
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    border: 3px solid #e9ecef;
    border-radius: 15px;
    text-align: left;
    transition: all 0.3s ease;
}

.prize-input:focus {
    outline: none;
    border-color: var(--color-principal);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

/* OPCIONAL: Placeholder más visible */
.prize-input::placeholder {
    color: #ccc;
    opacity: 1;
}

.prize-input-help {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-bottom: 0;
}

/* Flecha separadora */
.calculator-arrow {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator-arrow i {
    font-size: 3rem;
    color: var(--color-principal);
    animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(10px); opacity: 1; }
}

/* Tarjeta de Resultado del Premio */
.prize-result-card {
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.prize-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.prize-result-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.prize-result-icon i {
    font-size: 2.5rem;
    color: var(--color-principal);
}

.prize-result-label {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 15px;
}

.prize-result-value {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0;
}

.prize-result-value small {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    margin-top: 10px;
    opacity: 0.9;
}

/* ========================================================================
   PRÓXIMOS PASOS
   ======================================================================== */
.next-steps-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 50px 40px;
    margin-top: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 30px;
}

.next-steps-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.next-steps-icon i {
    font-size: 2.5rem;
    color: white;
}

.next-steps-content {
    flex: 1;
}

.next-steps-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 25px;
}

.next-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.next-steps-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.step-text {
    flex: 1;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    padding-top: 8px;
}

.step-text strong {
    color: #333;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 991.98px) {
    .calculator-controls,
    .calculator-results {
        padding: 0;
    }
    
    .calculator-content {
        padding: 40px 30px;
    }
    
    .calculator-results {
        margin-top: 40px;
    }
    
    .intro-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .next-steps-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .next-steps-icon {
        margin: 0 auto;
    }
    
    .next-steps-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .calculator-header {
        padding: 40px 25px;
    }
    
    .calculator-title {
        font-size: 1.8rem;
    }
    
    .calculator-subtitle {
        font-size: 1rem;
    }
    
    .calculator-content {
        padding: 30px 20px;
    }
    
    .control-label {
        font-size: 1.05rem;
    }
    
    .control-value {
        font-size: 1.5rem;
        padding: 6px 15px;
    }
    
    .result-value-display {
        font-size: 2rem;
    }
    
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1.05rem;
    }
    
    .prize-input {
        font-size: 1.5rem;
        padding: 18px 50px 18px 18px;
    }
    
    .currency-symbol {
        font-size: 1.5rem;
        left: 15px;
    }
    
    .prize-result-value {
        font-size: 3rem;
    }
    
    .next-steps-wrapper {
        padding: 35px 25px;
    }
    
    .next-steps-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .calculator-icon {
        width: 60px;
        height: 60px;
    }
    
    .calculator-icon i {
        font-size: 2rem;
    }
    
    .calculator-title {
        font-size: 1.5rem;
    }
    
    .result-card {
        flex-direction: column;
        text-align: center;
    }
    
    .result-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .prize-intro-image {
        max-width: 280px;
    }
    
    .intro-title {
        font-size: 1.75rem;
    }
    
    .prize-result-value {
        font-size: 2.5rem;
    }
}

/* ========================================================================
   FIX: Prize Result Card - Forzar estilos en mobile
   ======================================================================== */

@media (max-width: 991.98px) {
    .prize-result-card {
        background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%) !important;
        color: white !important;
    }
    
    .prize-result-label {
        color: white !important;
        opacity: 0.95;
    }
    
    .prize-result-value {
        color: white !important;
    }
    
    .prize-result-value small {
        color: white !important;
        opacity: 0.9;
    }
    
    /* Asegurar que el icono mantenga su fondo blanco */
    .prize-result-icon {
        background: white !important;
    }
    
    .prize-result-icon i {
        color: var(--color-principal) !important;
    }
}

@media (max-width: 768px) {
    .prize-result-card {
        background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%) !important;
        padding: 35px 25px !important;
    }
}

@media (max-width: 576px) {
    .prize-result-card {
        background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%) !important;
        padding: 30px 20px !important;
    }
    
    .prize-result-icon {
        width: 70px !important;
        height: 70px !important;
    }
    
    .prize-result-icon i {
        font-size: 2rem !important;
    }
    
    .prize-result-value {
        font-size: 2.5rem !important;
    }
    
    .prize-result-value small {
        font-size: 1.2rem !important;
    }
}

/* ==========================================================================
   PÁGINA: UBICAR TIENDA EN MAPA
   Versión: 2.0 - Rediseño completo con UI/UX moderna
   ========================================================================== */

/* ========================================================================
   SECCIÓN INTRODUCTORIA DE UBICACIÓN
   ======================================================================== */
.location-intro-section {
    padding: 80px 0;
    background: white;
}

.intro-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.intro-image-frame:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.intro-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-content-modern {
    padding-left: 40px;
}

.intro-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.intro-badge-modern i {
    font-size: 1.1rem;
}

.intro-title-modern {
    font-size: 2.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.2;
}

.intro-text-modern {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-features-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.feature-item-modern {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border-left: 4px solid var(--color-principal);
    transition: all 0.3s ease;
}

.feature-item-modern:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.1);
}

.feature-icon-modern {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.feature-icon-modern i {
    font-size: 1.5rem;
    color: white;
}

.feature-text-modern {
    flex: 1;
}

.feature-text-modern strong {
    display: block;
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 5px;
}

.feature-text-modern p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ========================================================================
   TIP BOX MODERNO
   ======================================================================== */
.tip-box-modern {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 30px;
}

.tip-icon-modern {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tip-icon-modern i {
    font-size: 1.5rem;
    color: #2196f3;
}

.tip-content-modern {
    flex: 1;
    color: #333;
    line-height: 1.7;
}

.tip-content-modern strong {
    color: #2196f3;
    font-size: 1.05rem;
}

/* ========================================================================
   PROGRESS INDICATOR - Estados Completados
   ======================================================================== */
.progress-step.completed .step-circle {
    background: #28a745;
    border-color: #28a745;
    color: white;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
}

.progress-step.completed .step-label {
    color: #28a745;
}

.progress-line.completed {
    background: linear-gradient(90deg, #28a745 0%, var(--color-principal) 100%);
}

/* ========================================================================
   RESPONSIVE - SECCIÓN INTRO
   ======================================================================== */
@media (max-width: 991.98px) {
    .intro-content-modern {
        padding-left: 0;
        margin-top: 40px;
        text-align: center;
    }
    
    .intro-badge-modern {
        margin: 0 auto 25px;
    }
    
    .intro-title-modern {
        font-size: 2.3rem;
    }
    
    .intro-text-modern {
        font-size: 1.05rem;
    }
    
    .intro-features-modern {
        max-width: 500px;
        margin: 30px auto 0;
    }
    
    .feature-item-modern {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .location-intro-section {
        padding: 60px 0;
    }
    
    .intro-title-modern {
        font-size: 2rem;
    }
    
    .intro-text-modern {
        font-size: 1rem;
    }
    
    .intro-image-frame {
        margin-bottom: 30px;
    }
    
    .tip-box-modern {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .intro-title-modern {
        font-size: 1.75rem;
    }
    
    .feature-item-modern {
        padding: 15px;
    }
    
    .feature-icon-modern {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon-modern i {
        font-size: 1.3rem;
    }
    
    .feature-text-modern strong {
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   Página: Validar Compras (Sección de Introducción)
   ========================================================================== */

.intro-validation-section {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.app-download-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-intro-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.app-download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background-color: var(--color-blanco);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.app-download-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-principal);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.app-download-card i {
    font-size: 3rem;
    width: 50px; /* Ancho fijo para alinear */
    text-align: center;
}
.app-download-card .fa-android { color: #3DDC84; }
.app-download-card .fa-apple { color: #333333; }

.app-download-card strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
}
.app-download-card small {
    color: var(--color-gris-texto);
}

@media (max-width: 991.98px) {
    .intro-validation-section .col-lg-7 {
        text-align: center;
        margin-bottom: 2.5rem;
    }
}

/* ==========================================================================
   Página: Validar Compras (Tutorial de Tarjetas)
   ========================================================================== */

.tutorial-cards-section {
    background-color: #f8f9fa; /* Fondo gris claro para la sección */
}

.tutorial-card {
    background-color: var(--color-blanco);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden; /* Asegura que la imagen respete los bordes redondeados */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column; /* Estructura interna de la tarjeta */
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-image-top {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
}

.card-image-top img {
    border-radius: 8px; /* Redondeo ligero para la imagen */
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Permite que el contenido crezca */
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--color-gris-texto);
    line-height: 1.6;
    flex-grow: 1; /* Ocupa el espacio disponible */
}

/* El badge numérico (reutilizado) */
.step-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--color-principal);
    color: var(--color-blanco);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Responsive para las tarjetas */
@media (max-width: 991.98px) {
    .tutorial-card {
        margin-bottom: 2rem;
    }
}

/* ==========================================================================
   Estilos para Enlaces Inline en Tutoriales
   ========================================================================== */

.inline-link {
    color: inherit; /* Hereda el color del párrafo (negro/gris) */
    text-decoration: none; /* Sin subrayado por defecto */
    border-bottom: 2px solid var(--color-principal); /* Un subrayado de marca sutil */
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: var(--color-principal); /* El texto se vuelve naranja al pasar el ratón */
    background-color: rgba(237, 143, 12, 0.1); /* Un fondo muy ligero para resaltar */
}

/* ==========================================================================
   Página: Validar Compras (Tutorial Apple)
   ========================================================================== */

/*
 * NOTA: La clase .tutorial-cards-section y .tutorial-card son reutilizadas
 * de la sección de Android para mantener la consistencia.
 */

/* Estilo para la imagen principal de la sección Apple */
.tutorial-main-image {
    max-width: 100%; /* La imagen nunca será más ancha que su contenedor */
    width: 600px; /* Intentará medir 600px, pero se encogerá si es necesario */
	display: inline-block; /* Permite que el text-center del padre funcione */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid var(--color-blanco);
}

/*
 * En la sección de Apple, las tarjetas no tienen imagen superior.
 * El padding debe estar solo en el .card-content.
 */
.tutorial-cards-section .col-lg-3 .tutorial-card {
    justify-content: center; /* Centra el contenido verticalmente */
}

/* ==========================================================================
   PÁGINA: VALIDAR COMPRAS Y USO APP
   Versión: 2.0 - Rediseño completo con UI/UX moderna
   ========================================================================== */

/* ========================================================================
   DOWNLOAD APP CARDS
   ======================================================================== */
.download-app-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--tutorial-radius);
    text-decoration: none;
    color: inherit;
    transition: var(--tutorial-transition);
    box-shadow: var(--tutorial-shadow);
}

.download-app-card:hover {
    transform: translateY(-5px);
    border-color: var(--tutorial-primary);
    box-shadow: var(--tutorial-shadow-hover);
    text-decoration: none;
}

.download-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.download-icon i {
    font-size: 2.5rem;
    color: white;
}

.download-content {
    flex: 1;
}

.download-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.download-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.download-arrow {
    color: var(--tutorial-primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.download-app-card:hover .download-arrow {
    transform: translateX(5px);
}

/* ========================================================================
   TUTORIAL STEP CARDS WITH IMAGE
   ======================================================================== */
.tutorial-step-card-image {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: var(--tutorial-radius);
    padding: 25px;
    text-align: center;
    transition: var(--tutorial-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tutorial-step-card-image:hover {
    border-color: var(--tutorial-primary);
    transform: translateY(-10px);
    box-shadow: var(--tutorial-shadow-hover);
}

.step-image-wrapper {
    margin-bottom: 25px;
    position: relative;
}

.step-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #f8f9fa;
}

.tutorial-step-card-image .step-number-badge {
    width: 50px;
    height: 50px;
    background: var(--tutorial-gradient);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.tutorial-step-card-image .step-title-modern {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.tutorial-step-card-image .step-description-modern {
    color: #666;
    line-height: 1.7;
    flex-grow: 1;
}

/* ========================================================================
   TUTORIAL FEATURED IMAGE
   ======================================================================== */
.tutorial-main-image-wrapper {
    display: inline-block;
    max-width: 100%;
}

.tutorial-featured-image {
    max-width: 700px;
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 8px solid white;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 991.98px) {
    .download-app-card {
        padding: 25px;
    }
    
    .download-icon {
        width: 60px;
        height: 60px;
    }
    
    .download-icon i {
        font-size: 2rem;
    }
    
    .download-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .download-app-card {
        padding: 20px;
        gap: 15px;
    }
    
    .download-icon {
        width: 50px;
        height: 50px;
    }
    
    .download-icon i {
        font-size: 1.8rem;
    }
    
    .tutorial-step-card-image {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .tutorial-featured-image {
        border: 5px solid white;
    }
}

@media (max-width: 576px) {
    .download-app-card {
        flex-direction: column;
        text-align: center;
    }
    
    .download-arrow {
        display: none;
    }
    
    .tutorial-step-card-image .step-title-modern {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Página: Canjes por Parte del Cliente
   ========================================================================== */

/* --- Sección 1: Manifiesto Inicial --- */
.manifesto-canje-section {
    background-color: #f8f9fa;
}
.manifesto-canje-section .lead {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Sección 2: Comparación --- */
.comparison-section {
    background-color: var(--color-blanco);
}
.comparison-card {
    width: 100%;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}
.comparison-card.active {
    background-color: var(--color-principal);
    border-color: var(--color-principal);
    color: var(--color-blanco);
}
.comparison-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ced4da;
}
.comparison-card.active .card-icon {
    color: var(--color-blanco);
}
.comparison-card .card-title {
    font-weight: 600;
    margin-bottom: 1rem;
}
.comparison-card .card-text {
    opacity: 0.9;
}
@media (max-width: 991.98px) {
    .comparison-card { margin-bottom: 1.5rem; }
}

/* --- Sección 3: Viaje del Cliente --- */
.customer-journey-section {
    background-color: #f8f9fa;
}
.journey-step {
    width: 100%;
    text-align: center;
    padding: 30px;
    background-color: var(--color-blanco);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}
.journey-step .step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--color-principal);
    color: var(--color-blanco);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.journey-step h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}
.journey-step p {
    color: var(--color-gris-texto);
    line-height: 1.7;
}
.journey-result {
    margin-top: 1.5rem;
    background-color: #e9f5e9;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
}
.journey-result span {
    display: block;
    font-size: 1.2rem;
}
.journey-result small {
    font-weight: 400;
    font-size: 0.85rem;
}
@media (max-width: 991.98px) {
    .journey-step { margin-bottom: 1.5rem; }
}

/* --- Sección 4: Manifiesto Final --- */
.final-manifesto-section {
    background-color: var(--color-blanco);
}
.final-manifesto-icon {
    font-size: 3rem;
    color: var(--color-principal);
    margin-bottom: 1.5rem;
}
.final-manifesto-section hr {
    width: 100px;
    margin: 2.5rem auto;
    border-top: 2px solid var(--color-principal);
    opacity: 1;
}
/*
 * Para la sección de validación, reemplazamos el número por un icono
 * para diferenciar los dos métodos de canje.
 */
.step-list .step-item .step-number i {
    font-size: 1.2rem;
}

/* ==========================================================================
   Página: Canjes (Sección de Aviso de Saldo)
   ========================================================================== */

.canje-notice-section {
    background-color: #f8f9fa; /* Fondo gris claro para separarla */
}

.canje-notice-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background-color: var(--color-blanco);
    border: 1px solid #dee2e6;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.canje-notice-icon {
    font-size: 2.5rem;
    color: var(--color-principal); /* Naranja de advertencia, no de error */
}

.canje-notice-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.canje-notice-text {
    color: var(--color-gris-texto);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Reutilizamos el botón .btn-clubify-outline que ya habíamos creado */

/* Responsive para el aviso */
@media (max-width: 768px) {
    .canje-notice-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
}

/* ==========================================================================
   PÁGINA: CANJES POR PARTE DEL CLIENTE
   Versión: 2.0 - Rediseño completo con UI/UX moderna
   ========================================================================== */

/* ========================================================================
   MANIFESTO SECTION
   ======================================================================== */
.manifesto-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.manifesto-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.3);
}

.manifesto-icon i {
    font-size: 3rem;
    color: white;
}

.manifesto-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
}

.manifesto-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================================================
   COMPARISON SECTION
   ======================================================================== */
.comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-card {
    background: white;
    border: 3px solid #e9ecef;
    border-radius: var(--tutorial-radius);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--tutorial-transition);
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, transparent 100%);
    pointer-events: none;
}

.comparison-card.active {
    background: linear-gradient(135deg, var(--tutorial-primary) 0%, #ff9d1a 100%);
    border-color: var(--tutorial-primary);
    color: white;
    transform: translateY(-10px);
    box-shadow: var(--tutorial-shadow-hover);
}

.comparison-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--tutorial-transition);
}

.comparison-icon.traditional {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.comparison-icon.clubify {
    background: white;
}

.comparison-icon i {
    font-size: 2.5rem;
}

.comparison-icon.traditional i {
    color: white;
}

.comparison-icon.clubify i {
    color: var(--tutorial-primary);
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.comparison-text {
    font-size: 1.05rem;
    line-height: 1.8;
    flex-grow: 1;
}

.comparison-card.active .comparison-text {
    color: white;
}

.comparison-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 20px;
}

.traditional-badge {
    background: #6c757d;
    color: white;
}

.clubify-badge {
    background: white;
    color: var(--tutorial-primary);
}

/* ========================================================================
   ANATOMY SECTION
   ======================================================================== */
.anatomy-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle-modern {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 0;
}

.anatomy-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: var(--tutorial-radius);
    padding: 35px;
    text-align: center;
    height: 100%;
    transition: var(--tutorial-transition);
}

.anatomy-card:hover {
    border-color: var(--tutorial-primary);
    transform: translateY(-10px);
    box-shadow: var(--tutorial-shadow-hover);
}

.anatomy-card.highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
}

.anatomy-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.anatomy-icon i {
    font-size: 2.5rem;
    color: white;
}

.anatomy-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.anatomy-text {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
}

.anatomy-result {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.result-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
}

.result-line small {
    font-size: 0.85rem;
    color: #666;
}

.result-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #4caf50, transparent);
    margin: 10px 0;
}

.result-line.total .result-amount {
    color: #4caf50;
    font-size: 2rem;
}

.result-bonus {
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ========================================================================
   CANJE NOTICE CALLOUT (WARNING STYLE)
   ======================================================================== */
.canje-notice-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.warning-callout {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
    border: 2px solid #ffa726 !important;
}

.warning-callout .callout-icon-modern {
    background: white !important;
}

.warning-callout .callout-icon-modern i {
    color: #ffa726 !important;
}

/* ========================================================================
   FINAL MANIFESTO SECTION
   ======================================================================== */
.final-manifesto-section {
    padding: 80px 0;
    background: white;
}

.final-manifesto-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--tutorial-primary) 0%, #ff9d1a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.3);
}

.final-manifesto-icon i {
    font-size: 3rem;
    color: white;
}

.final-manifesto-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 25px;
}

.final-manifesto-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 40px;
}

.manifesto-divider {
    width: 100px;
    height: 4px;
    background: var(--tutorial-gradient);
    margin: 40px auto;
    border-radius: 2px;
}

.final-manifesto-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.final-manifesto-conclusion {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 991.98px) {
    .manifesto-title,
    .final-manifesto-title {
        font-size: 2rem;
    }
    
    .manifesto-text,
    .final-manifesto-text {
        font-size: 1.05rem;
    }
    
    .comparison-card {
        margin-bottom: 25px;
    }
    
    .anatomy-card {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .manifesto-icon,
    .final-manifesto-icon {
        width: 80px;
        height: 80px;
    }
    
    .manifesto-icon i,
    .final-manifesto-icon i {
        font-size: 2.5rem;
    }
    
    .manifesto-title {
        font-size: 1.75rem;
    }
    
    .comparison-card {
        padding: 30px 25px;
    }
    
    .anatomy-card {
        padding: 30px 25px;
    }
    
    .anatomy-icon {
        width: 70px;
        height: 70px;
    }
    
    .anatomy-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .manifesto-title,
    .final-manifesto-title {
        font-size: 1.6rem;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .result-amount {
        font-size: 1.3rem;
    }
    
    .result-line.total .result-amount {
        font-size: 1.6rem;
    }
}

/* ========================================================================
   NAVEGACIÓN SECUENCIAL - COLORES NARANJA COHERENTES
   ======================================================================== */
.tutorial-navigation-wrapper {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.tutorial-navigation-wrapper .container {
    gap: 20px;
}

/* Botón Principal (Naranja) */
.tutorial-navigation-wrapper .btn-clubify {
    background: linear-gradient(135deg, var(--color-principal) 0%, #ff9d1a 100%) !important;
    color: white !important;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.tutorial-navigation-wrapper .btn-clubify:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
    color: white !important;
}

/* Botón Secundario */
.tutorial-navigation-wrapper .btn-clubify-secondary {
    background: white !important;
    color: #333 !important;
    border: 2px solid #e0e0e0;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tutorial-navigation-wrapper .btn-clubify-secondary:hover {
    background: #f8f9fa !important;
    border-color: var(--color-principal);
    color: var(--color-principal) !important;
    transform: translateY(-2px);
}

/* Responsive para navegación */
@media (max-width: 768px) {
    .tutorial-navigation-wrapper .container {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .tutorial-navigation-wrapper .btn-clubify,
    .tutorial-navigation-wrapper .btn-clubify-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Orden correcto en móvil */
    .tutorial-navigation-wrapper .btn.order-1 { order: 1; }
    .tutorial-navigation-wrapper .btn.order-2 { order: 2; }
}

/* ==========================================================================
   PÁGINA: MÁS FUNCIONALIDADES
   Versión: 2.0 - Rediseño completo con UI/UX moderna
   ========================================================================== */

/* ========================================================================
   FEATURES MENU SECTION
   ======================================================================== */
.features-menu-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.features-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-menu-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: var(--tutorial-radius);
    padding: 35px 25px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--tutorial-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--tutorial-primary), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-menu-card:hover::before,
.feature-menu-card.active::before {
    transform: scaleX(1);
}

.feature-menu-card:hover {
    border-color: var(--tutorial-primary);
    transform: translateY(-10px);
    box-shadow: var(--tutorial-shadow-hover);
    text-decoration: none;
}

.feature-menu-card.active {
    border-color: var(--tutorial-primary);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.03) 0%, rgba(255, 140, 0, 0.01) 100%);
    box-shadow: var(--tutorial-shadow);
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--tutorial-transition);
}

.feature-menu-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.feature-menu-card:hover .feature-title,
.feature-menu-card.active .feature-title {
    color: var(--tutorial-primary);
}

.feature-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.feature-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tutorial-transition);
}

.feature-menu-card:hover .feature-arrow,
.feature-menu-card.active .feature-arrow {
    background: var(--tutorial-gradient);
    transform: translateY(5px);
}

.feature-arrow i {
    font-size: 1.2rem;
    color: #999;
    transition: color 0.3s ease;
}

.feature-menu-card:hover .feature-arrow i,
.feature-menu-card.active .feature-arrow i {
    color: white;
}

/* ========================================================================
   CONTENT SECTIONS MODERN
   ======================================================================== */
.content-section-modern {
    margin-top: 40px;
    animation: fadeInContent 0.5s ease-in-out;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Separadores entre secciones de tienda */
.content-section-modern hr {
    margin: 60px 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

/* ========================================================================
   RESPONSIVE PARA FEATURES MENU
   ======================================================================== */
@media (max-width: 1199.98px) {
    .features-menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .feature-icon i {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .features-menu-section {
        padding: 50px 0;
    }
    
    .features-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-menu-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .features-menu-grid {
        gap: 15px;
    }
    
    .feature-menu-card {
        padding: 25px 15px;
        gap: 15px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.15rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .features-menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-menu-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .feature-icon i {
        font-size: 2.3rem;
    }
}

/* ========================================================================
   ESTILOS ESPECÍFICOS PARA WARNINGS EN TIENDA
   ======================================================================== */
.step-card-modern .alert-modern.alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ffa726;
    margin-top: 20px;
}

.step-card-modern .alert-modern.alert-warning .alert-icon {
    background: white;
}

.step-card-modern .alert-modern.alert-warning .alert-icon i {
    color: #ffa726;
}

/* ========================================================================
   MEJORAS VISUALES PARA LAS SECCIONES DESPLEGABLES
   ======================================================================== */
.content-section-modern .tutorial-section-wrapper:first-child {
    padding-top: 0;
}

/* Efecto de entrada para las secciones */
.content-section-modern.show {
    animation: slideInFromTop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================================
   BADGES Y ETIQUETAS ESPECIALES
   ======================================================================== */
.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--tutorial-gradient);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.3);
}

/* ========================================================================
   ESTILOS PARA BOTONES DE ACCIÓN EN CONTENIDO
   ======================================================================== */
.feature-action-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--tutorial-gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--tutorial-transition);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.feature-action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
    color: white;
    text-decoration: none;
}

/* ========================================================================
   GRID DE CARACTERÍSTICAS (para listados en 2 columnas)
   ======================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid var(--tutorial-primary);
}

.feature-item i {
    font-size: 1.3rem;
    color: var(--tutorial-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item-content {
    flex: 1;
}

.feature-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.feature-item-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ========================================================================
   CALLOUT BOXES ESPECÍFICOS PARA FUNCIONALIDADES
   ======================================================================== */
.feature-callout {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
    border-radius: var(--tutorial-radius);
    padding: 30px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-callout-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-callout-icon i {
    font-size: 2rem;
    color: #2196f3;
}

.feature-callout-content {
    flex: 1;
}

.feature-callout-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.feature-callout-text {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .feature-callout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }
}

/* ========================================================================
   NÚMEROS Y ESTADÍSTICAS DESTACADAS
   ======================================================================== */
.stats-highlight {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--tutorial-radius);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--tutorial-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================================================
   TIMELINE (para procesos paso a paso visuales)
   ======================================================================== */
.process-timeline {
    position: relative;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--tutorial-primary), #e9ecef);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--tutorial-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
    transition: var(--tutorial-transition);
}

.timeline-content:hover {
    border-color: var(--tutorial-primary);
    box-shadow: var(--tutorial-shadow);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.timeline-text {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ========================================================================
   TOOLTIPS Y HINTS
   ======================================================================== */
.feature-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 15px;
}

.feature-hint i {
    font-size: 1.1rem;
}

/* ========================================================================
   LOADING STATES (para secciones que se despliegan)
   ======================================================================== */
.content-section-modern.collapsing {
    transition: height 0.35s ease;
}

/* ========================================================================
   MEJORAS DE ACCESIBILIDAD
   ======================================================================== */
.feature-menu-card:focus {
    outline: 3px solid var(--tutorial-primary);
    outline-offset: 3px;
}

.feature-menu-card:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================================================
   RESPONSIVE GLOBAL PARA TODAS LAS FUNCIONALIDADES
   ======================================================================== */
@media (max-width: 576px) {
    .stats-highlight {
        padding: 20px;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* ========================================================================
   ANIMACIONES ADICIONALES
   ======================================================================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-menu-card.active .feature-icon {
    animation: pulse 2s infinite;
}

/* ========================================================================
   DARK MODE SUPPORT (opcional, para futuro)
   ======================================================================== */
@media (prefers-color-scheme: dark) {
    .features-menu-section {
        background: linear-gradient(to bottom, #1a1a1a 0%, #2a2a2a 100%);
    }
    
    .feature-menu-card {
        background: #2a2a2a;
        border-color: #3a3a3a;
        color: #e0e0e0;
    }
    
    .feature-title {
        color: #e0e0e0;
    }
    
    .feature-description {
        color: #b0b0b0;
    }
}

/* ========================================================================
   FEATURES PROGRESS SECTION
   ======================================================================== */
.features-progress-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.features-progress-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: var(--tutorial-shadow);
}

.progress-header {
    text-align: center;
    margin-bottom: 40px;
}

.progress-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--tutorial-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.progress-icon i {
    font-size: 2.5rem;
    color: white;
}

.progress-title {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
}

.progress-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

/* Barra de Progreso */
.features-progress-bar-wrapper {
    margin-bottom: 40px;
}

.features-progress-bar {
    height: 12px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.features-progress-fill {
    height: 100%;
    background: var(--tutorial-gradient);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.features-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.features-progress-text {
    display: block;
    text-align: center;
    font-weight: 700;
    color: var(--tutorial-primary);
    font-size: 1.1rem;
}

/* Checklist de Funcionalidades */
.features-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.checklist-item.completed {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
}

.check-icon {
    width: 30px;
    height: 30px;
    position: relative;
    flex-shrink: 0;
}

.check-icon i {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.check-icon .fa-circle {
    color: #dee2e6;
    opacity: 1;
}

.check-icon .fa-check-circle {
    color: #4caf50;
    opacity: 0;
    transform: scale(0);
}

.checklist-item.completed .check-icon .fa-circle {
    opacity: 0;
}

.checklist-item.completed .check-icon .fa-check-circle {
    opacity: 1;
    transform: scale(1);
}

.checklist-item span {
    font-size: 1.05rem;
    font-weight: 600;
    color: #666;
}

.checklist-item.completed span {
    color: #2e7d32;
}

/* Botones de Acción */
.progress-actions {
    text-align: center;
}

.btn-scroll-to-menu {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: var(--tutorial-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--tutorial-transition);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.btn-scroll-to-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

.btn-scroll-to-menu i {
    transition: transform 0.3s ease;
}

.btn-scroll-to-menu:hover i {
    transform: translateY(-3px);
}

/* Estado de completado */
.features-progress-card.all-completed {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
}

.features-progress-card.all-completed .progress-icon {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

.features-progress-card.all-completed .progress-subtitle {
    color: #2e7d32;
}

/* Responsive */
@media (max-width: 768px) {
    .features-progress-card {
        padding: 40px 25px;
    }
    
    .progress-title {
        font-size: 1.6rem;
    }
    
    .features-checklist {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .checklist-item {
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .features-progress-section {
        padding: 60px 0;
    }
    
    .features-progress-card {
        padding: 30px 20px;
    }
    
    .progress-icon {
        width: 70px;
        height: 70px;
    }
    
    .progress-icon i {
        font-size: 2rem;
    }
    
    .progress-title {
        font-size: 1.4rem;
    }
}


/* ======================================================
   FIX HERO BADGE ("¡GRATIS!") EN MÓVILES
   ====================================================== */
.hero-badge {
    background-color: var(--color-principal) !important;
    color: var(--color-blanco) !important;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    z-index: 3;
    position: relative;
}

/* Asegura que el color naranja no se pierda al tocar en móvil */
.hero-badge:active,
.hero-badge:focus {
    background-color: var(--color-principal) !important;
    opacity: 0.9;
}

/* Refuerzo adicional por si el span o small heredan color erróneo */
.hero-badge span,
.hero-badge small {
    color: var(--color-blanco) !important;
}

/* ==========================================================================
   Corrección Final: Margen en Hero para Móviles
   ========================================================================== */

@media (max-width: 768px) {
    /*
     * Esta regla añade un padding horizontal al contenedor interno que
     * acabamos de crear en las plantillas, solo en la vista móvil.
     * Esto crea los márgenes laterales necesarios para que el texto
     * no toque los bordes de la pantalla.
    */
    .hero-comercios-section .hero-content-inner,
    .hero-compradores-section .hero-content-inner {
        padding-left: 15px;
        padding-right: 15px;
    }
}



 /* ============================================================================
   CLUBIFY - NAVEGACIÓN MÓVIL Y GESTIÓN DE Z-INDEX
   ============================================================================ */

/* Variables CSS (opcional pero recomendado) */
:root {
    --clubify-primary: #FF6B35;
    --clubify-primary-dark: #E55A24;
    --clubify-white: #ffffff;
    --clubify-gray: #999999;
    --clubify-gray-light: #e0e0e0;
    --clubify-nav-height: 70px;
    --clubify-z-nav: 999999999;
    --clubify-z-floating: 999998;
}

/* ============================================================================
   NAVEGACIÓN MÓVIL - SOLO VISIBLE EN MÓVIL
   ============================================================================ */

/* Ocultar en desktop */
@media (min-width: 993px) {
    .clubify-mobile-nav {
        display: none !important;
    }
}

/* Mostrar solo en móvil */
@media (max-width: 992px) {
    
    /* Barra de navegación principal */
    .clubify-mobile-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: var(--clubify-nav-height) !important;
        background: var(--clubify-white) !important;
        border-top: 1px solid var(--clubify-gray-light) !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        z-index: var(--clubify-z-nav) !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08) !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Items de navegación */
    .clubify-nav-item {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 8px 4px !important;
        background: none !important;
        border: none !important;
        color: var(--clubify-gray) !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        cursor: pointer !important;
        position: relative !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    /* Indicador superior (línea) */
    .clubify-nav-item::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) scaleX(0) !important;
        width: 40px !important;
        height: 3px !important;
        background: linear-gradient(90deg, var(--clubify-primary), #ff9d1a) !important;
        border-radius: 0 0 3px 3px !important;
        transition: transform 0.3s ease !important;
    }

    /* Estado activo */
    .clubify-nav-item.active {
        color: var(--clubify-white) !important;
        background-color: var(--clubify-primary) !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .clubify-nav-item.active::before {
        display: none !important;
    }

    /* Iconos */
    .clubify-nav-item i {
        font-size: 22px !important;
        transition: transform 0.2s ease !important;
        pointer-events: none !important;
        margin: 0 !important;
    }

    .clubify-nav-item.active i {
        transform: scale(1.1) !important;
        color: var(--clubify-white) !important;
    }

    /* Texto */
    .clubify-nav-item span {
        font-size: 11px !important;
        font-weight: 600 !important;
        pointer-events: none !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }

    .clubify-nav-item.active span {
        color: var(--clubify-white) !important;
    }

    /* Efecto al tocar */
    .clubify-nav-item:active {
        transform: scale(0.95) !important;
    }

    /* Hover en dispositivos que lo soporten */
    @media (hover: hover) {
        .clubify-nav-item:hover:not(.active)::before {
            transform: translateX(-50%) scaleX(1) !important;
        }
    }

    /* ============================================================================
       AJUSTES DE BODY CUANDO HAY NAVEGACIÓN
       ============================================================================ */
    
    body.has-clubify-mobile-nav {
        padding-bottom: var(--clubify-nav-height) !important;
    }

    /* ============================================================================
       FORZAR Z-INDEX INFERIOR EN ELEMENTOS FLOTANTES
       ============================================================================ */
    
    /* CookieYes y variantes */
    #cookieyes-banner,
    .cky-consent-container,
    .cky-consent-bar,
    .cookieyes-banner,
    #cky-consent-bar,
    .cky-modal,
    .cky-modal-backdrop,
    .cky-btn-revisit-wrapper,
    
    /* Cookie Law Info */
    #cookie-law-info-bar,
    #cookie-law-info-again,
    .cli-modal,
    .cli-modal-backdrop,
    
    /* GDPR Cookie Consent */
    #gdpr-cookie-consent-bar,
    .gdpr-cookie-consent-modal,
    
    /* Complianz */
    .cmplz-cookiebanner,
    .cmplz-modal,
    
    /* Borlabs Cookie */
    #BorlabsCookieBox,
    
    /* OneTrust */
    #onetrust-banner-sdk,
    #onetrust-consent-sdk,
    #onetrust-pc-sdk,
    
    /* Cookiebot */
    #CybotCookiebotDialog,
    #CybotCookiebotDialogBodyUnderlay,
    
    /* Widgets de chat flotantes */
    #tidio-chat,
    #tidio-chat-iframe,
    .crisp-client,
    #crisp-chatbox,
    #drift-widget,
    #drift-frame-controller,
    #hubspot-messages-iframe-container,
    .intercom-launcher,
    .intercom-messenger-frame,
    #tawk-bubble,
    .tawk-min-container,
    #fc_frame,
    #zsiq_float,
    .zsiq_floatmain,
    
    /* WhatsApp flotantes */
    .whatsapp-button,
    .wa-chat-box,
    #whatsapp-floating,
    
    /* Otros flotantes comunes */
    .wp-floating-button,
    #floating-social,
    .sticky-footer:not(.clubify-mobile-nav),
    .mobile-sticky-bar:not(.clubify-mobile-nav),
    .floating-contact,
    .back-to-top,
    .scroll-to-top {
        z-index: var(--clubify-z-floating) !important;
    }

    /* Reposicionar banners de cookies que están en bottom */
    #cookieyes-banner[style*="bottom"],
    #cookie-law-info-bar,
    .cky-consent-bar,
    #gdpr-cookie-consent-bar {
        bottom: calc(var(--clubify-nav-height) + 10px) !important;
        max-height: calc(100vh - var(--clubify-nav-height) - 20px) !important;
        overflow-y: auto !important;
    }

    /* Ajustar chats flotantes en bottom right */
    #tidio-chat,
    .crisp-client,
    #drift-widget,
    #tawk-bubble,
    .intercom-launcher {
        bottom: calc(var(--clubify-nav-height) + 10px) !important;
    }

    /* ============================================================================
       OCULTAR ELEMENTOS EN PÁGINAS ESPECÍFICAS
       ============================================================================ */
    
    body.page-template-mi-cuenta #wpadminbar,
    body.page-template-mi-cuenta #masthead,
    body.page-template-mi-cuenta .site-header:not(.clubify-top-bar),
    body.page-template-mi-cuenta #colophon,
    body.page-template-mi-cuenta .site-footer,
    body.page-template-mi-club #wpadminbar,
    body.page-template-mi-club #masthead,
    body.page-template-mi-club .site-header:not(.clubify-top-bar),
    body.page-template-mi-club #colophon,
    body.page-template-mi-club .site-footer,
    body.page-template-configuracion-aplicacion #wpadminbar,
    body.page-template-configuracion-aplicacion #masthead,
    body.page-template-configuracion-aplicacion .site-header:not(.clubify-top-bar) {
        display: none !important;
        visibility: hidden !important;
    }

    /* ============================================================================
       AJUSTES PARA EVITAR SCROLL HORIZONTAL
       ============================================================================ */
    
    body.has-clubify-mobile-nav {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* ============================================================================
       FIX PARA IPHONE/SAFARI (safe-area)
       ============================================================================ */
    
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
        .clubify-mobile-nav {
            padding-bottom: env(safe-area-inset-bottom) !important;
            height: calc(var(--clubify-nav-height) + env(safe-area-inset-bottom)) !important;
        }
        
        body.has-clubify-mobile-nav {
            padding-bottom: calc(var(--clubify-nav-height) + env(safe-area-inset-bottom)) !important;
        }
    }

    /* ============================================================================
       ANIMACIONES OPCIONALES
       ============================================================================ */
    
    @keyframes clubify-nav-slide-up {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .clubify-mobile-nav {
        animation: clubify-nav-slide-up 0.3s ease-out !important;
    }

} /* Fin @media (max-width: 992px) */

/* ============================================================================
   FIN NAVEGACIÓN MÓVIL CLUBIFY
   ============================================================================ */




