/* ============================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ============================================ */
:root {
    --color-primary: #ff6b00;
    --color-primary-dark: #e05a00;
    --color-secondary: #ff8c00;
    --color-dark: #0d0d1a;
    --color-dark-bg: #1a1a2e;
    --color-white: #ffffff;
    --color-gray: #6c757d;
    --color-light-gray: #adb5bd;
    --color-border: #e9ecef;
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
    --radius-lg: 24px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --transition: all 0.3s ease;
}

/* ============================================
   HEADER & NAVBAR
   ============================================ */
.logo {
    height: 7rem;
}

.header-simple {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: transparent;
    transition: var(--transition);
    padding: 0;
}

.header-simple.scrolled {
    background: var(--color-dark);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid var(--color-primary);
}

.navbar-redesign {
    padding: 10px 0;
    background: transparent;
    transition: var(--transition);
}

.header-scrolled .navbar-redesign {
    padding: 5px 0;
}

.navbar-redesign .navbar-nav .nav-link {
    color: var(--color-white) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.3px;
}

.header-scrolled .navbar-redesign .navbar-nav .nav-link {
    color: #2c2c2c !important;
}

.navbar-redesign .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-redesign .navbar-nav .nav-link:hover::after,
.navbar-redesign .navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-redesign .navbar-nav .nav-link:hover {
    color: var(--color-primary);
}

/* Botones del navbar */
.navbar-redesign .btn-login,
.navbar-redesign .btn-registro {
    border-radius: 25px;
    padding: 8px 22px !important;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.navbar-redesign .btn-login {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-scrolled .navbar-redesign .btn-login {
    background: var(--color-primary);
    color: var(--color-white) !important;
    border-color: var(--color-primary);
}

.navbar-redesign .btn-login:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.navbar-redesign .btn-registro {
    background: var(--color-primary);
    color: var(--color-white) !important;
    border: 1px solid var(--color-primary);
}

.navbar-redesign .btn-registro:hover {
    background: transparent !important;
    border-color: var(--color-white) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

.header-scrolled .navbar-redesign .btn-registro:hover {
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
}

/* Dropdown */
.navbar-redesign .dropdown-menu-custom {
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.navbar-redesign .dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-redesign .dropdown-menu-custom a {
    color: #2c2c2c;
    padding: 8px 24px;
    display: block;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 400;
}

.navbar-redesign .dropdown-menu-custom a:hover {
    background: #f8f9fa;
    color: var(--color-primary);
    padding-left: 30px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    color: #6c757d;
    font-size: 1.2rem;
    background: transparent;
    border: none;
    padding: 5px 8px;
    line-height: 1;
}

.password-wrapper .toggle-password:hover {
    color: #0d6efd;
}

/* Contenedor de inputs */
.input-wrapper {
    position: relative;
}

.input-wrapper .form-control {
    padding-right: 45px;
    position: relative;
    z-index: 1;
}

.input-wrapper .input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
    font-size: 1.1rem;
    pointer-events: none;
}

/* Ajuste para campos con botón de visibilidad */
.input-wrapper.password-wrapper .form-control {
    padding-right: 70px;
}

.input-wrapper.password-wrapper .input-icon {
    right: 45px;
}

/* Clases para validación de coincidencia */
.password-match-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
    background-color: #f0fff4 !important;
}

.password-match-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    background-color: #fff0f0 !important;
}

.password-match-default {
    border-color: #ced4da !important;
    box-shadow: none !important;
    background-color: #fff !important;
}

/* Asegurar que los selects también funcionen bien */
.input-wrapper select.form-control {
    padding-right: 45px;
    appearance: auto;
}

/* Fix para inputs con iconos visibles */
.input-wrapper .form-control:focus {
    z-index: 1;
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-redesign {
    background: url('../img/Primera.png') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 170px;
    padding-bottom: 80px;
}

.hero-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.hero-content .badge-top {
    display: inline-block;
    background: rgba(255, 107, 0, 0.85);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 50c px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-content .btn-group-hero {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-content .btn-comentar {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.hero-content .btn-comentar:hover {
    background: var(--color-white);
    color: #2c2c2c;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.hero-content .btn-explorar {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid var(--color-primary);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.hero-content .btn-explorar:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

/* ============================================
   GALERÍA FLOTANTE
   ============================================ */
.hero-gallery {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
    max-width: 55rem;
    max-height: 29rem;
    width: 100%;
}

.hero-gallery .gallery-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0;
    background: var(--color-dark-bg);
    width: 100%;
}

.hero-gallery .gallery-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-gallery .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    pointer-events: none;
}

.hero-gallery .owl-carousel .owl-nav button {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border: none !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition) !important;
    opacity: 0.7;
    margin: 0 !important;
}

.hero-gallery .owl-carousel .owl-nav button:hover {
    background: var(--color-primary) !important;
    opacity: 1;
}

.hero-gallery .owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.hero-gallery .owl-carousel .owl-dots .owl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.hero-gallery .owl-carousel .owl-dots .owl-dot.active {
    background: var(--color-primary);
    width: 20px;
    border-radius: 3px;
}

/* ============================================
   SECCIONES CON FONDO (Funcionalidades, Registro, Recuperación)
   ============================================ */
.funcionalidades-section,
.registro-section,
.recuperacion-section {
    padding: 100px 0;
    background: url('../img/SEGUNDA.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.funcionalidades-section::before,
.registro-section::before,
.recuperacion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Títulos de secciones con fondo */
.funcionalidades-section .section-title,
.registro-section .section-title,
.recuperacion-section .section-title {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 60px;
}

.funcionalidades-section .section-title span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    display: block;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.funcionalidades-section .section-title h2,
.registro-section .section-title h2,
.recuperacion-section .section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.funcionalidades-section .section-title p,
.registro-section .section-title p,
.recuperacion-section .section-title p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

.registro-section .section-title h2 a {
    color: var(--color-primary);
    transition: var(--transition);
}

.registro-section .section-title h2 a:hover {
    color: var(--color-white);
}

.funcionalidades-section .row {
    position: relative;
    z-index: 1;
}

/* ============================================
   CARDS (Funcionalidad, Registro, Recuperación)
   ============================================ */
.funcionalidad-card,
.registro-form-wrapper,
.recuperacion-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.funcionalidad-card {
    margin-bottom: 30px;
    height: 95%;
    transition: all 0.4s ease;
}

.funcionalidad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: all 0.4s ease;
}

.funcionalidad-card:hover::before {
    opacity: 1;
}

.funcionalidad-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.2);
    background: var(--color-white);
}

.funcionalidad-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 140, 0, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.funcionalidad-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    transform: scale(1.05);
}

.funcionalidad-card .icon-wrapper i {
    font-size: 32px;
    color: var(--color-primary);
    transition: all 0.4s ease;
}

.funcionalidad-card:hover .icon-wrapper i {
    color: var(--color-white);
}

.funcionalidad-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.funcionalidad-card p {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 18px;
}

.funcionalidad-card .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.funcionalidad-card .features-list li {
    font-size: 14px;
    color: #4a4a5a;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.funcionalidad-card .features-list li i {
    color: var(--color-primary);
    font-size: 16px;
    flex-shrink: 0;
}

/* Botón de descarga de APP */
.funcionalidad-card .app-badge {
    margin-top: 18px;
}

.funcionalidad-card .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1a1a2e;
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.funcionalidad-card .btn-download:hover {
    background: transparent;
    color: #1a1a2e;
    border-color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.funcionalidad-card .btn-download i {
    font-size: 28px;
}

.funcionalidad-card .btn-download small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.funcionalidad-card .btn-download strong {
    font-size: 16px;
    font-weight: 600;
}

/* ============================================
   FORMULARIOS (Registro, Recuperación)
   ============================================ */
.registro-form-wrapper,
.recuperacion-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 45px 50px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

.recuperacion-form-wrapper {
    max-width: 600px;
}

.registro-form-wrapper .form-title,
.recuperacion-form-wrapper .form-title {
    text-align: center;
    margin-bottom: 30px;
}

.registro-form-wrapper .form-title h3,
.recuperacion-form-wrapper .form-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}

.registro-form-wrapper .form-title h3 span,
.recuperacion-form-wrapper .form-title h3 span {
    color: var(--color-primary);
}

.registro-form-wrapper .form-title p,
.recuperacion-form-wrapper .form-title p {
    color: var(--color-gray);
    font-size: 14px;
}

.registro-form-wrapper .form-group,
.recuperacion-form-wrapper .form-group {
    margin-bottom: 20px;
}

.registro-form-wrapper .form-group label,
.recuperacion-form-wrapper .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 6px;
    display: block;
}

.registro-form-wrapper .form-group .input-wrapper,
.recuperacion-form-wrapper .form-group .input-wrapper {
    position: relative;
}

.registro-form-wrapper .form-group .input-wrapper .input-icon,
.recuperacion-form-wrapper .form-group .input-wrapper .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-light-gray);
    font-size: 16px;
    transition: var(--transition);
}

.registro-form-wrapper .form-group .input-wrapper .form-control,
.recuperacion-form-wrapper .form-group .input-wrapper .form-control {
    height: 50px;
    padding: 10px 15px 10px 45px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    background: #f8f9fa;
    color: #2c2c2c;
    width: 100%;
}

.registro-form-wrapper .form-group .input-wrapper .form-control:focus,
.recuperacion-form-wrapper .form-group .input-wrapper .form-control:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.08);
}

.registro-form-wrapper .form-group .input-wrapper .form-control:focus+.input-icon,
.recuperacion-form-wrapper .form-group .input-wrapper .form-control:focus+.input-icon {
    color: var(--color-primary);
}

.registro-form-wrapper .form-group .input-wrapper .form-control:disabled {
    background: var(--color-border);
    cursor: not-allowed;
}

.registro-form-wrapper .form-group select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Botones de formulario */
.registro-form-wrapper .btn-registro-submit,
.recuperacion-form-wrapper .btn-recuperar {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    margin-top: 10px;
}

.registro-form-wrapper .btn-registro-submit:hover,
.recuperacion-form-wrapper .btn-recuperar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.35);
}

/* Links en formularios */
.registro-form-wrapper .login-link,
.recuperacion-form-wrapper .login-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.registro-form-wrapper .login-link p,
.recuperacion-form-wrapper .login-link p {
    font-size: 14px;
    color: var(--color-gray);
    margin: 0;
}

.registro-form-wrapper .login-link a,
.recuperacion-form-wrapper .login-link a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.registro-form-wrapper .login-link a:hover,
.recuperacion-form-wrapper .login-link a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Alertas */
.recuperacion-form-wrapper .alert-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.recuperacion-form-wrapper .alert-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.recuperacion-form-wrapper .alert-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.footer-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    background-size: 200% 100%;
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.footer-redesign .footer-logo {
    margin-bottom: 20px;
}

.footer-redesign .footer-logo img {
    height: 4rem;
}

.footer-redesign .footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
    max-width: 350px;
    margin-bottom: 25px;
}

.footer-redesign .footer-social {
    display: flex;
    gap: 12px;
}

.footer-redesign .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-redesign .footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
    border-color: var(--color-primary);
}

.footer-redesign .footer-title {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-redesign .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

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

.footer-redesign .footer-links li {
    margin-bottom: 12px;
}

.footer-redesign .footer-links li:last-child {
    margin-bottom: 0;
}

.footer-redesign .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-redesign .footer-links a::before {
    content: '›';
    font-size: 18px;
    color: var(--color-primary);
    transition: var(--transition);
}

.footer-redesign .footer-links a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-redesign .footer-links a:hover::before {
    transform: translateX(3px);
}

.footer-redesign .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-redesign .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-redesign .footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-redesign .footer-contact li .icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
    transition: var(--transition);
}

.footer-redesign .footer-contact li:hover .icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-redesign .footer-contact li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-redesign .footer-contact li a:hover {
    color: var(--color-primary);
}

.footer-bottom-redesign {
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom-redesign p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin: 0;
}

.footer-bottom-redesign p .highlight {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================
   MODAL DE LOGIN
   ============================================ */
.modal-login .modal-content {
    border: none;
    border-radius: var(--radius-md);
    background: var(--color-white);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-login .modal-header {
    border: none;
    padding: 30px 35px 0;
    position: relative;
}

.modal-login .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.modal-login .modal-header .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    width: 100%;
}

.modal-login .modal-header .modal-title span {
    color: var(--color-primary);
}

.modal-login .modal-header .close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--color-gray);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-login .modal-header .close-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(90deg);
}

.modal-login .modal-body {
    padding: 20px 35px 35px;
}

.modal-login .login-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 14px;
    margin-bottom: 25px;
}

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

.modal-login .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 6px;
    display: block;
}

.modal-login .form-group .input-wrapper {
    position: relative;
}

.modal-login .form-group .input-wrapper .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-light-gray);
    font-size: 16px;
    transition: var(--transition);
}

.modal-login .form-group .input-wrapper .form-control {
    height: 50px;
    padding: 10px 15px 10px 45px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    background: #f8f9fa;
    color: #2c2c2c;
}

.modal-login .form-group .input-wrapper .form-control:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.08);
}

.modal-login .form-group .input-wrapper .form-control:focus+.input-icon {
    color: var(--color-primary);
}

.modal-login .form-group .input-wrapper .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-light-gray);
    cursor: pointer;
    transition: var(--transition);
    font-size: 18px;
    padding: 0;
}

.modal-login .form-group .input-wrapper .toggle-password:hover {
    color: var(--color-primary);
}

.modal-login .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-login .form-options .form-check {
    display: flex;
    align-items: center;
}

.modal-login .form-options .form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #dce0e5;
    cursor: pointer;
    margin-top: 0;
    margin-right: 8px;
    transition: var(--transition);
}

.modal-login .form-options .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.modal-login .form-options .form-check-label {
    font-size: 14px;
    color: var(--color-gray);
    cursor: pointer;
}

.modal-login .form-options .forgot-link {
    font-size: 14px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.modal-login .form-options .forgot-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.modal-login .btn-login-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.modal-login .btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.35);
}

.modal-login .btn-login-submit:active {
    transform: translateY(0);
}

.modal-login .btn-login-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.modal-login .btn-login-submit .spinner {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-login .btn-login-submit .spinner.show {
    display: inline-block;
}

.modal-login .login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.modal-login .login-footer p {
    font-size: 14px;
    color: var(--color-gray);
    margin: 0;
}

.modal-login .login-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.modal-login .login-footer a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.modal-login .login-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 15px;
}

.modal-login .login-divider::before,
.modal-login .login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.modal-login .login-divider span {
    font-size: 13px;
    color: var(--color-light-gray);
    white-space: nowrap;
}

/* ============================================
   WHATSAPP
   ============================================ */
.whatsapp_chat_support {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
}

.wcs_button_circle {
    background-color: #25D366;
    color: white;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wcs_notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-modal {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #cbfac3;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    padding: 15px;
    z-index: 2000;
}

.whatsapp-modal-content {
    text-align: center;
}

.whatsapp-close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

.whatsapp-contact {
    background: #f9f9f9;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    cursor: pointer;
}

.online-dot {
    width: 10px;
    height: 10px;
    background: green;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.online {
    color: green;
}

.modal-backdrop.show {
    opacity: 0.88 !important;
    background-color: #000;
}

.offline {
    background: #e0e0e0 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.offline .online-dot {
    background: red !important;
}

.offline .online {
    color: red !important;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.4s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-redesign {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content .subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-gallery {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        max-width: 100%;
        background: rgba(0, 0, 0, 0.3);
    }

    .funcionalidades-section,
    .registro-section,
    .recuperacion-section {
        padding: 60px 0;
    }

    .funcionalidades-section .section-title h2,
    .registro-section .section-title h2,
    .recuperacion-section .section-title h2 {
        font-size: 32px;
    }

    .funcionalidades-section .section-title p,
    .registro-section .section-title p,
    .recuperacion-section .section-title p {
        font-size: 16px;
    }

    .footer-redesign .footer-title {
        margin-top: 30px;
    }

    .modal-login .modal-body {
        padding: 20px 25px 30px;
    }

    .registro-form-wrapper,
    .recuperacion-form-wrapper {
        padding: 30px 25px;
    }

    .navbar-collapse {
        background-color: #acacac;
        border-radius: 20px;
    }

    .navbar-redesign {
        padding: 0px;
    }

    .navbar-redesign .navbar-nav .nav-link {
        color: var(--color-white) !important;
        padding: 10px 16px !important;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 3rem;
    }

    .hero-redesign {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content .btn-group-hero {
        flex-direction: column;
        align-items: center;
    }

    .hero-content .btn-comentar,
    .hero-content .btn-explorar {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .navbar-redesign .navbar-nav .nav-link {
        padding: 10px 16px !important;
    }

    .header-simple {
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    }

    .funcionalidades-section,
    .registro-section,
    .recuperacion-section {
        padding: 40px 0;
    }

    .funcionalidades-section .section-title h2,
    .registro-section .section-title h2,
    .recuperacion-section .section-title h2 {
        font-size: 28px;
    }

    .funcionalidad-card {
        padding: 25px 20px;
    }

    .funcionalidad-card .btn-download {
        width: 100%;
        justify-content: center;
    }

    .hero-gallery {
        padding: 12px;
    }

    .footer-redesign {
        padding: 40px 0 0;
    }

    .footer-redesign .footer-desc {
        max-width: 100%;
    }

    .modal-login .modal-header {
        padding: 25px 20px 0;
    }

    .modal-login .modal-body {
        padding: 15px 20px 25px;
    }

    .modal-login .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-login .modal-header .modal-title {
        font-size: 20px;
    }

    .registro-form-wrapper,
    .recuperacion-form-wrapper {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .registro-form-wrapper .form-group .input-wrapper .form-control,
    .recuperacion-form-wrapper .form-group .input-wrapper .form-control {
        height: 44px;
        font-size: 13px;
        padding: 8px 12px 8px 40px;
    }

    .registro-form-wrapper .btn-registro-submit,
    .recuperacion-form-wrapper .btn-recuperar {
        padding: 14px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content .subtitle {
        font-size: 14px;
    }

    .funcionalidades-section .section-title h2,
    .registro-section .section-title h2,
    .recuperacion-section .section-title h2 {
        font-size: 24px;
    }

    .funcionalidades-section .section-title p,
    .registro-section .section-title p,
    .recuperacion-section .section-title p {
        font-size: 14px;
    }

    .modal-login .modal-content {
        border-radius: 16px;
        margin: 10px;
    }

    .modal-login .modal-header .modal-title {
        font-size: 18px;
    }

    .modal-login .form-group .input-wrapper .form-control {
        height: 44px;
        font-size: 13px;
        padding: 8px 12px 8px 40px;
    }

    .registro-form-wrapper,
    .recuperacion-form-wrapper {
        padding: 20px 15px;
    }

    .registro-form-wrapper .form-title h3,
    .recuperacion-form-wrapper .form-title h3 {
        font-size: 20px;
    }
}