:root {
    --primary-color: #0066cc;
    --text-color: #333;
    --background-color: #fff;
    --nav-height: 80px;
    --nav-bg: #232324;
    --nav-bg-scrolled: rgba(35, 35, 36, 0.9);
}

@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    width: 100%;
    overflow-x: hidden;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 50%, rgba(15, 52, 96, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-container {
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    position: relative;
}

.navbar-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar.scrolled .navbar-container::before {
    opacity: 1;
}

.logo img {
    height: 40px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.nav-link:hover::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 1px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Botones del navbar - Diseño mejorado */
.btn-contactanos {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-contactanos:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a42a0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ===== BOTONES ESPECÍFICOS ===== */

/* Los botones del carrusel están ahora en .modern-hero */

.btn-contactanos::after {
    display: none; /* no mostrar subrayado en el botón */
}

.nav-link.btn-soporte {
    background: transparent;
    color: #ffd700 !important;
    border: 2px solid #ffd700;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.nav-link.btn-soporte:hover {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333 !important;
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.nav-link.btn-soporte::after {
    display: none; /* no mostrar subrayado en el botón */
}

.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle.dark-mode {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 237, 78, 0.1));
    border-color: rgba(255, 215, 0, 0.3);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    z-index: 2;
}

.theme-toggle.dark-mode::before {
    transform: translateX(28px);
    background-color: #f0f0f0;
}

.theme-toggle .fa-sun {
    color: #ffffff;
    font-size: 14px;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.theme-toggle .fa-moon {
    color: #ffffff;
    font-size: 14px;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.theme-toggle.dark-mode .fa-sun {
    opacity: 0.3;
}

.theme-toggle:not(.dark-mode) .fa-moon {
    opacity: 0.3;
}

/* ===== MODO OSCURO ===== */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 50%, rgba(15, 52, 96, 0.95) 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

body.dark-mode .navbar.scrolled {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(22, 33, 62, 0.98) 50%, rgba(15, 52, 96, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

body.dark-mode .footer {
    background-color: #1a1a1a;
}

/* Menú hamburguesa para móviles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-height, 80px);
    left: 0;
    width: 100vw;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 50%, rgba(15, 52, 96, 0.95) 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border-radius: 0 0 18px 18px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    z-index: 999;
    animation: slideDownMenu 0.35s cubic-bezier(.4,1.3,.5,1);
    flex-direction: column;
    padding: 18px 0 18px 0;
    transition: all 0.3s ease;
}

@keyframes slideDownMenu {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mobile-menu .nav-link {
    width: 100%;
    box-sizing: border-box;
    display: block;
    padding: 14px 28px;
    font-size: 1.1rem;
    color: #fff;
    border: none;
    background: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s, color 0.2s;
    text-align: left;
    letter-spacing: 0.5px;
}

.mobile-menu .nav-link:last-child {
    border-bottom: none;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.mobile-menu .btn-contactanos {
    margin: 18px 28px 0 28px;
    width: calc(100% - 56px);
    display: block;
    font-size: 1.1rem;
    padding: 14px 0;
    border-radius: 25px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mobile-menu .btn-contactanos:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a42a0);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.mobile-menu.active {
    display: flex;
}

/* Responsive Design para Navbar */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none; /* Implementaremos un menú móvil más adelante */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .theme-toggle {
        order: -1;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 35px;
    }
}

/* ===== MODERN HERO CAROUSEL ===== */
.modern-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-carousel {
    position: relative;
    height: 100vh;
    width: 100%;
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(50px);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    z-index: 1;
}

.slide-2-bg {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
}

.slide-3-bg {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
}

.animated-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 15%;
    animation-delay: 1s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 70%;
    animation-delay: 3s;
}

.shape-6 {
    width: 180px;
    height: 180px;
    bottom: 10%;
    right: 10%;
    animation-delay: 5s;
}

.shape-7 {
    width: 140px;
    height: 140px;
    top: 25%;
    left: 15%;
    animation-delay: 0.5s;
}

.shape-8 {
    width: 90px;
    height: 90px;
    top: 65%;
    right: 25%;
    animation-delay: 2.5s;
}

.shape-9 {
    width: 160px;
    height: 160px;
    bottom: 15%;
    left: 75%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.slide-container {
    position: relative;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 40px;
    z-index: 3;
}

.slide-content {
    color: white;
    z-index: 4;
}

.content-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-transform {
    background: rgba(255, 255, 255, 0.15);
}

.badge-support {
    background: rgba(255, 255, 255, 0.15);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    background: linear-gradient(45deg, #42D7CE, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.typing-text {
    position: relative;
    overflow: hidden;
    border-right: 3px solid #42D7CE;
    animation: typing 3s steps(20) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    0%, 90%, 100% {
        width: 100%;
    }
    45% {
        width: 0;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #42D7CE;
    }
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #42D7CE;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.highlight-item i {
    color: #42D7CE;
    font-size: 1.2rem;
    width: 20px;
}

.support-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.support-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #42D7CE;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.support-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.support-text p {
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary-hero {
    background: linear-gradient(45deg, #42D7CE, #ffffff);
    color: var(--primary-color);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(66, 215, 206, 0.3);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(66, 215, 206, 0.4);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.slide-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: cardFloat 4s ease-in-out infinite;
    font-size: 0.9rem;
    z-index: 10;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 3s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.main-visual {
    position: relative;
    z-index: 2;
}

.main-visual img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Controles del carrusel */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    pointer-events: auto;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.9);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    color: white;
}

.indicator-label {
    font-weight: 600;
}

/* Barra de progreso */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #42D7CE, #ffffff);
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .slide-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 80px 40px 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .visual-container {
        height: 400px;
    }
    
    .floating-card {
        font-size: 0.8rem;
        padding: 12px 16px;
        z-index: 10;
    }
}

@media (max-width: 768px) {
    .slide-container {
        padding: 60px 20px 40px;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        justify-content: center;
        padding: 16px 30px;
    }
    
    .visual-container {
        height: 300px;
    }
    
    .floating-card {
        display: block;
        z-index: 15;
        font-size: 0.7rem;
        padding: 8px 12px;
    }
    
    .carousel-controls {
        display: none;
    }
    
    .carousel-indicators {
        bottom: 20px;
        gap: 10px;
    }
    
    .indicator {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .indicator-label {
        display: none;
    }
}

/* ===== MODO OSCURO ===== */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

body.dark-mode .footer {
    background-color: #1a1a1a;
}

/* Sección de características - Modo oscuro */
body.dark-mode .features-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

body.dark-mode .features-header h2,
body.dark-mode .features-header p {
    color: #e0e0e0;
}

body.dark-mode .feature-card {
    background: #2a2a2a;
    border-color: #444;
}

body.dark-mode .feature-card h3,
body.dark-mode .feature-card p {
    color: #e0e0e0;
}

body.dark-mode .feature-benefits li {
    color: #ccc;
}

body.dark-mode .feature-benefits li::before {
    background: #27ae60;
}

body.dark-mode .feature-benefits li::after {
    color: white;
}

body.dark-mode .features-cta {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

body.dark-mode .cta-content h3,
body.dark-mode .cta-content p {
    color: #e0e0e0;
}

body.dark-mode .stat-label {
    color: #ccc;
}

/* Sección de productos */
body.dark-mode .producto-hero {
    background-color: #2a2a2a;
}

body.dark-mode .producto-hero-content h1,
body.dark-mode .producto-hero-content h1 span,
body.dark-mode .producto-hero-content p {
    color: #e0e0e0;
}

body.dark-mode .producto-caracteristicas-top {
    background-color: #2a2a2a;
}

body.dark-mode .caracteristica-box {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* Sección de testimonios */
body.dark-mode .testimonio-card {
    background-color: rgba(40, 40, 40, 0.8);
    color: #e0e0e0;
}

body.dark-mode .testimonio-content h4,
body.dark-mode .testimonio-content p {
    color: #e0e0e0;
}

/* Sección de compra */
body.dark-mode .comprar-section {
    background-color: #0a0a0a;
}

body.dark-mode .comprar-info h2,
body.dark-mode .comprar-info ul,
body.dark-mode .comprar-cta h3 {
    color: #e0e0e0;
}

/* Sección de contacto */
body.dark-mode .contacto-section {
    background-color: #2a2a2a;
}

body.dark-mode .contacto-info h1,
body.dark-mode .contacto-info h2,
body.dark-mode .contacto-info h3,
body.dark-mode .contacto-info p,
body.dark-mode .contacto-tel,
body.dark-mode .contacto-mail {
    color: #e0e0e0;
}

body.dark-mode .compra-card {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .compra-precio-anterior,
body.dark-mode .compra-precio-actual {
    color: #e0e0e0;
}

body.dark-mode .chat-card {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .chat-card-content h4,
body.dark-mode .chat-card-content p {
    color: #e0e0e0;
}

/* Sección de soporte */
body.dark-mode .soporte-form-card {
    background-color: rgba(40, 40, 40, 0.8);
}

body.dark-mode .soporte-form-card h2,
body.dark-mode .soporte-form-card p {
    color: #e0e0e0;
}

body.dark-mode .form-group label {
    color: #e0e0e0;
}

body.dark-mode .form-group input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #555;
    color: #e0e0e0;
}

body.dark-mode .form-group input::placeholder {
    color: #aaa;
}

body.dark-mode .form-divider span {
    color: #e0e0e0;
}

body.dark-mode .form-footer p {
    color: #e0e0e0;
}

/* Dashboard */
body.dark-mode.dashboard-bg {
    background-color: #1a1a1a;
}

body.dark-mode .dashboard-user-panel,
body.dark-mode .dashboard-tickets-panel {
    background-color: #2a2a2a;
}

body.dark-mode .dashboard-user-panel h2,
body.dark-mode .dashboard-tickets-panel h2,
body.dark-mode .dashboard-user-panel label,
body.dark-mode .dashboard-products h3,
body.dark-mode .dashboard-products .product-name {
    color: #e0e0e0;
}

body.dark-mode .dashboard-user-panel input[type="text"],
body.dark-mode .dashboard-user-panel input[type="email"],
body.dark-mode .dashboard-user-panel input[type="password"] {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .dashboard-user-panel hr {
    border-top-color: #555;
}

body.dark-mode .dashboard-products .product-desc,
body.dark-mode .dashboard-products .product-date {
    color: #e0e0e0;
}

body.dark-mode .ticket-card {
    background-color: #1a1a1a;
}

body.dark-mode .ticket-card .ticket-id,
body.dark-mode .ticket-card .ticket-date,
body.dark-mode .ticket-card .ticket-desc {
    color: #e0e0e0;
}

/* Chat */
body.dark-mode .chat-window {
    background-color: #1a1a1a;
}

body.dark-mode .chat-messages {
    background-color: #1a1a1a;
}

body.dark-mode .message-content {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .chat-input {
    background-color: #2a2a2a;
    border-color: #555;
    color: #e0e0e0;
}

body.dark-mode .chat-footer {
    border-top-color: #555;
}

/* Chat flotante modo oscuro */
body.dark-mode .chat-fab {
    background: linear-gradient(135deg, #4a90e2, #5a67d8);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
    animation: chatPulseDark 2s infinite;
}

body.dark-mode .chat-fab:hover {
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.4);
    animation: none;
}

@keyframes chatPulseDark {
    0%, 100% {
        box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3), 0 0 0 0 rgba(74, 144, 226, 0.7);
    }
    50% {
        box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3), 0 0 0 10px rgba(74, 144, 226, 0);
    }
}

/* Menú móvil */
body.dark-mode .mobile-menu {
    background-color: rgba(20, 20, 20, 0.95);
}

body.dark-mode .mobile-menu .nav-link {
    color: #e0e0e0;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Mensajes de formulario */
body.dark-mode .form-message.error {
    background-color: rgba(197, 48, 48, 0.2);
    color: #ff6b6b;
    border-color: #ff6b6b;
}

body.dark-mode .form-message.success {
    background-color: rgba(47, 133, 90, 0.2);
    color: #68d391;
    border-color: #68d391;
}

/* Elementos adicionales */
body.dark-mode .btn-continuar {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #555;
}

body.dark-mode .btn-continuar:hover {
    background-color: #333;
}

/* Los estilos de botones de planes están en la nueva sección */

body.dark-mode .form-link {
    color: #4a90e2;
}

body.dark-mode .form-link:hover {
    color: #6ba3e8;
}

/* Scrollbar personalizada para modo oscuro */
body.dark-mode ::-webkit-scrollbar {
    width: 8px;
}

body.dark-mode ::-webkit-scrollbar-track {
    background: #1a1a1a;
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: #777;
}

body.dark-mode .contacto-info h1,
body.dark-mode .contacto-info h2,
body.dark-mode .contacto-info h3,
body.dark-mode .contacto-info p,
body.dark-mode .contacto-tel,
body.dark-mode .contacto-mail {
    color: #e0e0e0;
}

body.dark-mode .contacto-card-compra {
    background-color: transparent;
}

body.dark-mode .compra-card {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .compra-precio-anterior,
body.dark-mode .compra-precio-actual {
    color: #e0e0e0;
}

body.dark-mode .chat-card {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .chat-card-content h4,
body.dark-mode .chat-card-content p {
    color: #e0e0e0;
}

/* Contacto simple específico */
body.dark-mode .contacto-section.contacto-simple {
    background-color: #1a1a1a;
}

body.dark-mode .contacto-simple-card {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .contacto-info-simple h2,
body.dark-mode .contacto-info-simple h3,
body.dark-mode .contacto-info-simple .contacto-tel,
body.dark-mode .contacto-info-simple .contacto-mail {
    color: #e0e0e0;
}

/* Estilos específicos para contactanos.html - Footer al final */
body.contactanos-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.contactanos-page .contacto-section {
    flex: 1;
}

body.contactanos-page .footer {
    margin-top: auto;
}

/* Navbar estilo al hacer scroll */
.navbar.scrolled {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(22, 33, 62, 0.98) 50%, rgba(15, 52, 96, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* ===== FOOTER MEJORADO ===== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ecf0f1;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-top {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    flex: 1 1 200px;
    min-width: 160px;
}

.footer-brand {
    max-width: 450px;
    margin: 0 auto;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    height: 55px;
    filter: brightness(1.1);
}

.footer-tagline {
    font-size: 1.2rem;
    color: #cbd5e0;
    margin: 0;
    font-weight: 300;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-radius: 6px;
    font-weight: 400;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(8px);
    padding-left: 12px;
}

.footer-col ul li a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #667eea;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover::before {
    background: #764ba2;
    transform: scale(1.5);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: #cbd5e0;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.footer-contact i {
    color: #667eea;
    width: 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    color: #764ba2;
    transform: scale(1.2);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 25px;
    }
    
    .footer-top {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 35px;
    }
    
    .footer-col h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .footer-social {
        gap: 15px;
    }
    
    .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .footer-logo img {
        height: 35px;
    }
}

/* Sección de Planes */
.planes-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.planes-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.planes-header {
    text-align: center;
    margin-bottom: 60px;
}

.planes-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #232324;
    margin-bottom: 15px;
    line-height: 1.2;
}

.planes-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.plan-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.plan-card.plan-popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
}

.plan-card.plan-popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #232324;
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.plan-price .currency {
    font-size: 1.5rem;
    color: #666;
    margin-right: 5px;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price .period {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.plan-description {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.plan-features {
    margin-bottom: 35px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 1rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: #28a745;
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
}

.plan-btn {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.plan-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.plan-btn-popular {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.plan-btn-popular:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.planes-footer {
    text-align: center;
    margin-top: 40px;
}

.planes-footer p {
    color: #666;
    font-size: 1rem;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.planes-footer i {
    color: var(--primary-color);
}

/* Responsive para planes */
@media (max-width: 768px) {
    .planes-header h2 {
        font-size: 2.2rem;
    }
    
    .planes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-card.plan-popular {
        transform: none;
    }
    
    .plan-card.plan-popular:hover {
        transform: translateY(-10px);
    }
    
    .plan-price .amount {
        font-size: 2.8rem;
    }
    
    .planes-footer p {
        flex-direction: column;
        gap: 5px;
    }
}

/* Sección de planes - Modo oscuro */
body.dark-mode .planes-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

body.dark-mode .planes-header h2,
body.dark-mode .planes-header p {
    color: #e0e0e0;
}

body.dark-mode .plan-card {
    background: #2a2a2a;
    border-color: #444;
}

body.dark-mode .plan-header h3,
body.dark-mode .plan-features li {
    color: #e0e0e0;
}

body.dark-mode .plan-features li {
    border-bottom-color: #444;
}

body.dark-mode .plan-btn {
    background: #444;
    color: #e0e0e0;
    border-color: #555;
}

body.dark-mode .plan-btn:hover {
    background: #555;
}

body.dark-mode .planes-footer p {
    color: #ccc;
}

/* Carrusel moderno - Modo oscuro */
body.dark-mode .modern-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

body.dark-mode .slide-background {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

body.dark-mode .slide-2-bg {
    background: linear-gradient(135deg, #4a3c7a 0%, #6a4c93 100%);
}

body.dark-mode .slide-3-bg {
    background: linear-gradient(135deg, #1e5631 0%, #2d7d3d 100%);
}

body.dark-mode .content-badge,
body.dark-mode .badge-transform,
body.dark-mode .badge-support {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .floating-card {
    background: rgba(42, 42, 42, 0.95);
    color: #e0e0e0;
}

body.dark-mode .carousel-btn {
    background: rgba(42, 42, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .carousel-btn:hover {
    background: rgba(42, 42, 42, 0.9);
}

body.dark-mode .indicator {
    background: rgba(42, 42, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .indicator.active {
    background: rgba(255, 255, 255, 0.9);
    color: #232324;
}

body.dark-mode .carousel-progress {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== SECCIÓN PRODUCTO HERO ===== */
.producto-hero {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.producto-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.producto-hero-img {
    flex: 1;
    text-align: center;
}

.producto-hero-img img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.producto-hero-content {
    flex: 1;
}

.producto-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #232324;
    margin-bottom: 20px;
    line-height: 1.2;
}

.producto-hero-content h1 span {
    color: var(--primary-color);
    display: block;
    font-size: 2rem;
    font-weight: 600;
}

.producto-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ===== SECCIÓN CARACTERÍSTICAS PRODUCTO ===== */
.producto-caracteristicas {
    padding: 80px 0;
}

.producto-caracteristicas-top {
    background-color: #ffffff;
}

.producto-caracteristicas-bottom {
    background-color: #f8f9fa;
}

.caracteristicas-flex {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.caracteristicas-boxes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.caracteristica-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(60px);
}

.caracteristica-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.caracteristica-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #232324;
    margin-bottom: 15px;
}

.caracteristica-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.caracteristica-box li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.caracteristica-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.caracteristicas-img {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
}

.caracteristicas-img img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== SECCIÓN TESTIMONIOS ===== */
.testimonios {
    position: relative;
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.testimonios-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.testimonios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.testimonios-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonios-text {
    text-align: center;
    margin-bottom: 60px;
}

.testimonios-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.testimonios-text span {
    color: var(--primary-color);
}

.testimonios-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonios-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonio-card {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    color: #232324;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.testimonio-card:hover {
    transform: translateY(-10px);
}

.testimonio-img {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.testimonio-img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonio-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 10px;
}

.testimonio-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #232324;
}

.testimonio-content p {
    line-height: 1.6;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .producto-hero-container,
    .caracteristicas-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .producto-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .testimonios-slider {
        justify-content: center;
    }
    
    .testimonio-card {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .producto-hero,
    .producto-caracteristicas {
        padding: 60px 0;
    }
    
    .producto-hero-content h1 {
        font-size: 2rem;
    }
    
    .producto-hero-content h1 span {
        font-size: 1.5rem;
    }
    
    .caracteristica-box {
        padding: 20px;
    }
    
    .testimonios-text h2 {
        font-size: 2rem;
    }
    
    .testimonio-card {
        min-width: 280px;
        padding: 20px;
    }
}

/* ===== SECCIONES PRINCIPALES RESTAURADAS ===== */

/* Sección de compra/contacto */
.contacto-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.contacto-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.contacto-info h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contacto-info h2 {
    font-size: 1.5rem;
    color: #34495e;
    margin-bottom: 30px;
    font-weight: 400;
}

.contacto-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 30px;
}

.contacto-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 40px 0 20px;
    font-weight: 600;
}

.contacto-tel,
.contacto-mail {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 20px;
}

.contacto-card-compra {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compra-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.compra-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 30px;
}

.compra-precios {
    margin-bottom: 30px;
}

.compra-precio-anterior {
    display: block;
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.compra-precio-actual {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 20px;
}

.compra-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.compra-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.4);
}

/* Contacto simple */
.contacto-simple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-simple-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.contacto-simple-card {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.contacto-info-simple h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
}

.contacto-info-simple h3 {
    font-size: 1.3rem;
    color: #34495e;
    margin: 40px 0 20px;
}

.contacto-info-simple .contacto-tel,
.contacto-info-simple .contacto-mail {
    font-size: 1.3rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contacto-chat-simple {
    display: flex;
    justify-content: center;
}

.chat-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 100%;
}

.chat-card-content h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.chat-card-content p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.chat-card-avatar {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
}

.chat-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Media Queries para mejorar la responsividad */
@media (max-width: 1200px) {
    .contacto-simple-card {
        grid-template-columns: 1fr 350px;
        gap: 40px;
        padding: 50px;
    }
    
    .contacto-info-simple h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .contacto-simple-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
        text-align: center;
    }
    
    .contacto-info-simple h2 {
        font-size: 1.7rem;
    }
    
    .contacto-info-simple h3 {
        font-size: 1.2rem;
    }
    
    .contacto-info-simple .contacto-tel,
    .contacto-info-simple .contacto-mail {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .contacto-simple {
        padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    }
    
    .contacto-simple-container {
        padding: 0 15px;
    }
    
    .contacto-simple-card {
        padding: 30px 20px;
        gap: 30px;
        margin: 0 10px;
    }
    
    .contacto-info-simple h2 {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 25px;
    }
    
    .contacto-info-simple h3 {
        font-size: 1.1rem;
        margin: 30px 0 15px;
    }
    
    .contacto-info-simple .contacto-tel,
    .contacto-info-simple .contacto-mail {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .chat-card {
        padding: 25px 20px;
        max-width: 100%;
    }
    
    .chat-card-content h4 {
        font-size: 1.1rem;
    }
    
    .chat-card-content p {
        font-size: 0.95rem;
    }
    
    .chat-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contacto-simple {
        padding: 60px 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contacto-simple-container {
        padding: 0 10px;
    }
    
    .contacto-simple-card {
        padding: 25px 15px;
        gap: 25px;
        margin: 0 5px;
        border-radius: 15px;
    }
    
    .contacto-info-simple h2 {
        font-size: 1.3rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .contacto-info-simple h3 {
        font-size: 1rem;
        margin: 25px 0 12px;
    }
    
    .contacto-info-simple .contacto-tel,
    .contacto-info-simple .contacto-mail {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .chat-card {
        padding: 20px 15px;
    }
    
    .chat-card-avatar {
        width: 50px;
        height: 50px;
        top: -15px;
        right: 15px;
    }
    
    .chat-card-content h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .chat-card-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .chat-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

.soporte-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.soporte-container {
    position: relative;
    z-index: 2;
    max-width: 500px;
    width: 100%;
}

.soporte-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.soporte-form-card h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.soporte-form-card p {
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 40px;
}

.soporte-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

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

.form-group input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 50px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: calc(50% + 16px);
    transform: translateY(-50%);
    color: #bdc3c7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.toggle-password:hover {
    color: #3498db;
}

.btn-iniciar-sesion {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-iniciar-sesion:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.form-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e8ed;
}

.form-divider span {

    color: #7f8c8d;
}

.btn-google {
    background: white;
    border: 2px solid #e1e8ed;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    border-color: #db4437;
    color: #db4437;
}

.btn-google i {
    color: #db4437;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer p {
    color: #7f8c8d;
}

.form-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.form-link:hover {
    text-decoration: underline;
}

/* Sección de comprar en productos */
.comprar-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.comprar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.comprar-top,
.comprar-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.comprar-bottom {
    margin-bottom: 0;
}

.comprar-info h2,
.comprar-cta h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
}

.comprar-info ul {
    list-style: none;
    padding: 0;
}

.comprar-info li {
    padding: 15px 0;
    border-bottom: 1px solid #e1e8ed;
    color: #5a6c7d;
    line-height: 1.6;
}

.comprar-info li:last-child {
    border-bottom: none;
}

.comprar-img-top img,
.comprar-img-bottom img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.comprar-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.comprar-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.4);
}

/* Dashboard */
.dashboard-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.dashboard-page {
    padding-top: 80px;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.dashboard-user-panel {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.dashboard-user-panel h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.dashboard-user-panel label {
    display: block;
    color: #34495e;
    margin-bottom: 8px;
    font-weight: 600;
}

.dashboard-user-panel input[type="text"],
.dashboard-user-panel input[type="email"],
.dashboard-user-panel input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.dashboard-user-panel hr {
    border: none;
    height: 1px;
    background: #e1e8ed;
    margin: 30px 0;
}

.dashboard-products {
    margin-top: 30px;
}

.dashboard-products h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.dashboard-products .product-name {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 10px;
}

.dashboard-products .product-desc,
.dashboard-products .product-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.ticket-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #3498db;
}

.ticket-card .ticket-id {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.ticket-card .ticket-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.ticket-card .ticket-desc {
    color: #5a6c7d;
    margin-bottom: 15px;
}

.ticket-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ticket-status.cerrado {
    background: #e74c3c;
    color: white;
}

.ticket-status.abierto {
    background: #27ae60;
    color: white;
}

.crear-ticket-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.crear-ticket-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

/* Chat flotante */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    color: white;
    font-size: 1.5rem;
    animation: chatPulse 2s infinite;
}

.chat-fab:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
    animation: none;
}

.chat-fab i {
    font-size: 1.5rem;
    color: white;
}

@keyframes chatPulse {
    0%, 100% {
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3), 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3), 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-header-text h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-status {
    font-size: 0.85rem;
    opacity: 0.9;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.chat-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.chat-body {
    flex: 1;
    overflow-y: scroll;
    padding: 20px;
    background: #f8f9fa;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-footer {
    padding: 20px;
    border-top: 1px solid #e1e8ed;
    background: white;
}

/* Estilos generales de mensajes */
.message {
    display: flex;
    gap: 10px;
    max-width: 100%;
    animation: messageSlideIn 0.3s ease-out;
    margin-bottom: 8px;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mensajes del bot */
.message.bot-message {
    align-self: flex-start;
    flex-direction: row;
}

.message.bot-message .message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #667eea;
    transition: transform 0.2s ease;
}

.message.bot-message .message-avatar:hover {
    transform: scale(1.05);
}

.message.bot-message .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message.bot-message .message-content {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 12px 16px;
    border-radius: 18px 18px 18px 4px;
    max-width: 280px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.message.bot-message .message-content:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message.bot-message .message-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.4;
    font-size: 0.9rem;
}

.message.bot-message .message-time {
    font-size: 0.7rem;
    color: #7f8c8d;
    margin-top: 6px;
    display: block;
}

/* Mensajes del usuario */
.message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message.user-message .message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #667eea;
    transition: transform 0.2s ease;
}

.message.user-message .message-avatar:hover {
    transform: scale(1.05);
}

.message.user-message .message-content {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 16px;
    border-radius: 18px 18px 4px 18px;
    max-width: 280px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    transition: all 0.2s ease;
}

.message.user-message .message-content:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.message.user-message .message-content p {
    margin: 0;
    color: white;
    line-height: 1.4;
    font-size: 0.9rem;
}

.message.user-message .message-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
    display: block;
}

/* Estilos legacy para compatibilidad */
.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 15px;
    max-width: 250px;
}

.message-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-top: 5px;
    display: block;
}

.chat-footer {
    padding: 20px;
    border-top: 1px solid #e1e8ed;
    flex-shrink: 0;
}

.chat-input-container {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    outline: none;
    font-size: 0.9rem;
}

.chat-input:focus {
    border-color: #3498db;
}

.chat-send {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease, transform 0.15s ease;
}

.chat-send:hover {
    transform: scale(1.1);
}

.chat-send:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1024px) {
    .contacto-container,
    .contacto-simple-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .comprar-top,
    .comprar-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .contacto-info h1 {
        font-size: 2.5rem;
    }
    
    .soporte-form-card {
        padding: 40px 30px;
    }
    
    .chat-window {
        width: 90vw;
        max-width: 350px;
        height: 450px;
        right: 10px;
        bottom: 90px;
    }
    
    .chat-fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .chat-fab i {
        font-size: 1.2rem;
    }
    
    /* Estilos responsivos para mensajes */
    .message.bot-message .message-content,
    .message.user-message .message-content {
        max-width: 240px;
        padding: 10px 14px;
    }
    
    .message.bot-message .message-content p,
    .message.user-message .message-content p {
        font-size: 0.85rem;
    }
    
    .message.bot-message .message-avatar,
    .message.user-message .message-avatar {
        width: 28px;
        height: 28px;
    }
    
    .message.user-message .message-avatar {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 20px);
        max-width: none;
        height: 400px;
        right: 10px;
        left: 10px;
        bottom: 80px;
    }
    
    .chat-fab {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .chat-fab i {
        font-size: 1.1rem;
    }
    
    /* Estilos responsivos para mensajes en pantallas muy pequeñas */
    .message.bot-message .message-content,
    .message.user-message .message-content {
        max-width: 200px;
        padding: 8px 12px;
    }
    
    .message.bot-message .message-content p,
    .message.user-message .message-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .message.bot-message .message-time,
    .message.user-message .message-time {
        font-size: 0.65rem;
        margin-top: 4px;
    }
    
    .message.bot-message .message-avatar,
    .message.user-message .message-avatar {
        width: 24px;
        height: 24px;
    }
    
    .message.user-message .message-avatar {
        font-size: 0.7rem;
    }
    
    .chat-messages {
        gap: 10px;
    }
    
    .message {
        gap: 8px;
        margin-bottom: 6px;
    }
}

/* ===== ESTILOS ADICIONALES PARA CARACTERÍSTICAS ===== */

/* Features Section - Sección de características modernas ya implementada arriba */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.features-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-benefits {
    text-align: left;
}

.feature-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    padding: 8px 0;
    color: #5a6c7d;
    position: relative;
    padding-left: 25px;
    display: flex;
    align-items: center;
}

.feature-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-benefits li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    color: white;
    font-weight: bold;
    font-size: 10px;
}

.features-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-cta,
.btn-secondary-cta {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-cta {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.btn-secondary-cta {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

/* Botón continuar para formularios */
.btn-continuar {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.btn-continuar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

/* Mensajes de formulario */
.form-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.form-message.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.form-message.show {
    display: block;
}

/* Responsive para características */
@media (max-width: 768px) {
    .features-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-cta,
    .btn-secondary-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ===== PRODUCTOS HERO PROFESIONAL ===== */
.productos-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #1e3c72 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.productos-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-shapes .shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.productos-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.productos-hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #ffd700;
}

.productos-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.productos-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    overflow: hidden;
}

.hero-software-box {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg);
}

.hero-software-box img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #667eea;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: iconFloat 4s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.icon-2 {
    top: 30%;
    left: 5%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 30%;
    right: 10%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 10%;
    left: 15%;
    animation-delay: 3s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Media query para pantallas medianas - ajuste de floating icons */
@media (max-width: 1200px) {
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .icon-1 {
        right: 10%;
    }
    
    .icon-2 {
        left: 8%;
    }
    
    .icon-3 {
        right: 8%;
    }
    
    .icon-4 {
        left: 12%;
    }
}

/* ===== PRODUCTOS FEATURES ===== */
.productos-features {
    background: linear-gradient(90deg, #2a5298 0%, #1e3c72 100%);
    padding: 60px 0 40px 0;
    color: #fff;
    text-align: center;
}

.productos-features-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-card-carousel {
    min-width: 340px;
    max-width: 500px;
    width: 100%;
    background: #f8faff;
    color: #1a1a2e;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    position: relative;
    transition: box-shadow 0.2s;
}

.feature-card-carousel .feature-icon {
    font-size: 3.5rem;
    color: #2196f3;
    margin-bottom: 18px;
}

.feature-card-carousel .feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 8px;
}

.feature-card-carousel .feature-desc {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 18px;
}

.feature-card-carousel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-card-carousel ul li {
    font-size: 1rem;
    color: #222;
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
}

.feature-card-carousel ul li:before {
    content: '\2714';
    color: #2196f3;
    position: absolute;
    left: 0;
    font-size: 1.1em;
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.features-tab {
    background: #162447;
    border: 2px solid transparent;
    color: #6ec6ff;
    border-radius: 12px;
    padding: 18px 14px 10px 14px;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, border 0.2s, color 0.2s;
    font-size: 1rem;
    font-weight: 500;
}

.features-tab .tab-icon {
    font-size: 2.1rem;
    margin-bottom: 6px;
}

.features-tab.active, .features-tab:hover {
    background: #fff;
    color: #1976d2;
    border: 2px solid #2196f3;
}

.features-tab.active .tab-icon, .features-tab:hover .tab-icon {
    color: #2196f3;
}

@media (max-width: 700px) {
    .productos-features-container {
        flex-direction: column;
        gap: 10px;
    }
    .feature-card-carousel {
        min-width: 90vw;
        max-width: 98vw;
        padding: 24px 8vw 24px 8vw;
    }
    .features-tabs {
        gap: 8px;
    }
    .features-tab {
        min-width: 80px;
        padding: 12px 6px 6px 6px;
        font-size: 0.95rem;
    }
}

/* === NUEVO CARRUSEL DE CARACTERÍSTICAS CON 3 TARJETAS === */
.features-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-cards-viewport {
    width: 700px;
    max-width: 95vw;
    overflow: visible;
    position: relative;
    height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-cards-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
    position: relative;
}

.feature-card-carousel {
    width: 340px;
    max-width: 90vw;
    background: #f8faff;
    color: #1a1a2e;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    position: relative;
    margin: 0  -60px;
    z-index: 2;
    opacity: 1;
    transform: scale(1);
    transition: box-shadow 0.2s, transform 0.4s, opacity 0.4s;
}

.feature-card-carousel.side {
    width: 260px;
    min-width: 180px;
    max-width: 60vw;
    opacity: 0.6;
    z-index: 1;
    transform: scale(0.85);
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    pointer-events: none;
}

.feature-card-carousel.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7) translateY(40px);
    z-index: 0;
}

@media (max-width: 900px) {
    .feature-cards-viewport {
        width: 99vw;
        height: 340px;
    }
    .feature-card-carousel {
        width: 95vw;
        min-width: 0;
        padding: 18px 2vw 18px 2vw;
        font-size: 0.98rem;
    }
    .feature-card-carousel.side {
        width: 60vw;
        min-width: 120px;
    }
    .feature-cards-track {
        gap: 12px;
    }
    .features-tabs {
        gap: 8px;
    }
    .features-tab {
        min-width: 90px;
        padding: 10px 4px 6px 4px;
        font-size: 0.95rem;
    }
}
@media (max-width: 600px) {
    .productos-features {
        padding: 30px 0 20px 0;
    }
    .feature-cards-viewport {
        width: 100vw;
        height: 320px;
        padding: 0;
    }
    .feature-cards-track {
        gap: 4px;
    }
    .feature-card-carousel {
        width: 98vw;
        min-width: 0;
        padding: 10px 2vw 10px 2vw;
        font-size: 0.93rem;
    }
    .feature-card-carousel.side {
        width: 60vw;
        min-width: 80px;
        opacity: 0.18;
        filter: blur(1.5px) grayscale(30%);
    }
    .features-tabs {
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 10px;
    }
    .features-tab {
        min-width: 70px;
        padding: 7px 2px 4px 2px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
}

/* Carrusel de características con 3 tarjetas alineadas */
.features-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-cards-viewport {
    width: 1200px;
    max-width: 98vw;
    overflow: visible;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-cards-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 64px;
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
    position: relative;
}

.feature-card-carousel {
    width: 370px;
    max-width: 90vw;
    background: #f8faff;
    color: #1a1a2e;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: scale(1);
    transition: box-shadow 0.2s, transform 0.4s, opacity 0.4s;
}

.feature-card-carousel.side {
    width: 300px;
    min-width: 180px;
    max-width: 60vw;
    opacity: 0.7;
    z-index: 1;
    transform: scale(0.92);
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    pointer-events: none;
    filter: blur(0.5px) grayscale(10%);
}

.feature-card-carousel.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7) translateY(40px);
    z-index: 0;
}

@media (max-width: 1300px) {
    .feature-cards-viewport {
        width: 98vw;
        height: 340px;
    }
    .feature-card-carousel {
        width: 90vw;
        min-width: 0;
        padding: 18px 2vw 18px 2vw;
    }
    .feature-card-carousel.side {
        width: 60vw;
    }
    .feature-cards-track {
        gap: 24px;
    }
}

.feature-cards-viewport {
    width: 1400px;
    max-width: 99vw;
    overflow: visible;
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-carousel {
    width: 440px;
    max-width: 95vw;
    /* ...resto igual... */
}

.feature-card-carousel.side {
    width: 340px;
    min-width: 200px;
    max-width: 70vw;
    /* ...resto igual... */
}

@media (max-width: 1500px) {
    .feature-cards-viewport {
        width: 99vw;
        height: 370px;
    }
    .feature-card-carousel {
        width: 95vw;
        min-width: 0;
        padding: 18px 2vw 18px 2vw;
    }
    .feature-card-carousel.side {
        width: 70vw;
    }
    .feature-cards-track {
        gap: 28px;
    }
}

/* ===== TESTIMONIOS PROFESIONAL ===== */
.testimonios-profesional {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.testimonios-profesional-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonios-header {
    text-align: center;
    margin-bottom: 80px;
}

.testimonios-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.testimonios-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.testimonio-card-pro {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonio-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonio-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars i {
    color: #ffd700;
    font-size: 1.1rem;
}

.rating-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonio-card-pro blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 30px 0;
    font-style: italic;
    opacity: 0.95;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonio-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.testimonios-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    text-align: center;
}

.testimonios-stats .stat-item {
    color: white;
}

.testimonios-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    display: block;
    margin-bottom: 10px;
}

.testimonios-stats .stat-label {
    opacity: 0.9;
}

/* ===== PRODUCTOS CTA ===== */
.productos-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #1e3c72 100%);
}

.productos-cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-content {
    color: white;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.productos-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: white;
}

.productos-cta p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.cta-feature i {
    color: #ffd700;
    font-size: 1.2rem;
}

.cta-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-image {
    position: relative;
    max-width: 400px;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-stat {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: statFloat 3s ease-in-out infinite;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.floating-stat:nth-child(1) {
    top: 10%;
    right: -20%;
    animation-delay: 0s;
}

.floating-stat:nth-child(2) {
    top: 50%;
    left: -25%;
    animation-delay: 1s;
}

.floating-stat:nth-child(3) {
    bottom: 15%;
    right: -15%;
    animation-delay: 2s;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.stat-desc {
    font-size: 0.85rem;
    color: #666;
}

@keyframes statFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ===== RESPONSIVE PRODUCTOS ===== */
@media (max-width: 1024px) {
    .productos-hero-container,
    .productos-cta-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .productos-hero-content h1 {
        font-size: 3rem;
    }
    
    .testimonios-stats {
        gap: 40px;
    }
    
    .hero-software-box {
        transform: none;
    }
}

@media (max-width: 768px) {
    .productos-hero {
        padding: 100px 0 60px;
    }
    
    .productos-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonios-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-cta,
    .btn-secondary-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .floating-stat {
        position: relative;
        margin: 10px;
        display: inline-block;
    }
    
    .cta-floating-elements {
        position: relative;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }
}

/* ===== MODO OSCURO PRODUCTOS ===== */
body.dark-mode .productos-features {
    background: #1a1a1a;
}

body.dark-mode .productos-cta {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

body.dark-mode .productos-cta h2 {
    color: white;
}

body.dark-mode .productos-cta p {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .cta-feature {
    color: rgba(255, 255, 255, 0.95);
}

body.dark-mode .cta-feature i {
    color: #ffd700;
}

body.dark-mode .floating-stat {
    background: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

body.dark-mode .stat-value {
    color: #667eea;
}

body.dark-mode .stat-desc {
    color: #bbb;
}

body.dark-mode .support-item {
    background: rgba(255, 255, 255, 0.05);
}

/* ===== NUEVA PÁGINA DE PRODUCTOS ===== */
.productos-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1e3c72 0%, #1e3c72 100%);
    position: relative;
    overflow: hidden;
}

.productos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content .content-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-content .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .typing-text {
    position: relative;
    color: #a8e6cf;
}

.hero-content .hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-hero, .btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary-hero {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-visual .visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 20px;
}

.hero-visual .floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    animation: float 3s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.hero-visual .card-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.hero-visual .card-2 {
    top: 60%;
    right: 5%;
    animation-delay: 1s;
}

.hero-visual .card-3 {
    bottom: 10%;
    left: 15%;
    animation-delay: 2s;
}

.hero-visual .main-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Media query para ajustar floating cards en pantallas medianas */
@media (max-width: 1200px) {
    .hero-visual .floating-card {
        padding: 12px 16px;
        font-size: 13px;
        z-index: 10;
    }
    
    .hero-visual .card-1 {
        left: 8%;
    }
    
    .hero-visual .card-2 {
        right: 8%;
    }
    
    .hero-visual .card-3 {
        left: 18%;
    }
}

/* Sección de Productos */
.productos-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.producto-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.producto-card.featured {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.producto-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.producto-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.producto-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.producto-features {
    margin-bottom: 30px;
}

.producto-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.producto-features .feature i {
    color: #4CAF50;
    font-size: 14px;
}

.producto-price {
    margin-bottom: 25px;
}

.producto-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.producto-price .period {
    font-size: 1rem;
    color: var(--text-light);
}

.btn-producto {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-producto:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Sección de Comparación */
.comparacion-section {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.comparison-table {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-weight: 700;
}

.table-header > div {
    padding: 20px;
    text-align: center;
}

.table-header .feature-column {
    text-align: left;
}

.table-header .featured {
    background: rgba(255, 255, 255, 0.2);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row > div {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
}

.feature-name {
    text-align: left !important;
    font-weight: 600;
    color: var(--text-color) !important;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content .hero-title {
        font-size: 2.5rem;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Modo oscuro para nueva página de productos */
body.dark-mode .productos-section {
    background: var(--bg-color);
}

body.dark-mode .comparacion-section {
    background: var(--secondary-bg);
}

body.dark-mode .comparison-table {
    background: var(--card-bg);
}

body.dark-mode .producto-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-mode .producto-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

/* ===== FOOTER MODO OSCURO MEJORADO ===== */
body.dark-mode .footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%) !important;
}

body.dark-mode .footer::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

body.dark-mode .footer-tagline {
    color: #a0a0a0;
}

body.dark-mode .footer-col h4 {
    color: #f0f0f0;
}

body.dark-mode .footer-col h4::after {
    background: linear-gradient(90deg, #4a90e2, #5a67d8);
}

body.dark-mode .footer-col ul li a {
    color: #b0b0b0;
}

body.dark-mode .footer-col ul li a:hover {
    color: #f0f0f0;
}

body.dark-mode .footer-col ul li a::before {
    background: #4a90e2;
}

body.dark-mode .footer-col ul li a:hover::before {
    background: #5a67d8;
}

body.dark-mode .footer-contact li {
    color: #b0b0b0;
}

body.dark-mode .footer-contact li:hover {
    color: #f0f0f0;
}

body.dark-mode .footer-contact i {
    color: #4a90e2;
}

body.dark-mode .footer-contact li:hover i {
    color: #5a67d8;
}

body.dark-mode .footer-social a {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
}

body.dark-mode .footer-social a:hover {
    background: linear-gradient(135deg, #4a90e2, #5a67d8);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

body.dark-mode .footer-bottom p {
    color: #707070;
}

/* Responsive para la tabla de comparación */
@media (max-width: 768px) {
    .table-header, .table-row {
        display: none;
    }
    
    /* Crear diseño de tarjetas para móviles */
    .comparison-table {
        margin: 0 15px;
        border-radius: 15px;
        overflow: visible;
        box-shadow: none;
        background: transparent;
    }
    
    .table-row {
        display: block !important;
        background: var(--card-bg);
        margin-bottom: 20px;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 0;
        border: none;
        overflow: hidden;
        grid-template-columns: none;
    }
    
    .table-header {
        display: none !important;
    }
    
    .table-row > div {
        display: block;
        padding: 15px 20px;
        text-align: left !important;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        grid-template-columns: none;
    }
    
    .table-row > div:last-child {
        border-bottom: none;
    }
    
    .feature-name {
        background: linear-gradient(45deg, #667eea, #764ba2) !important;
        color: white !important;
        font-weight: 700;
        font-size: 1.1rem;
        margin: 0 0 15px 0;
        padding: 20px !important;
        text-align: center !important;
        border-bottom: none !important;
        border-radius: 15px 15px 0 0;
    }
    
    .table-row > div:not(.feature-name) {
        padding: 15px 20px 15px 70px;
        min-height: 50px;
        display: flex;
        align-items: center;
    }
    
    .table-row > div:nth-child(2)::before {
        content: "Básico";
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        color: white;
        font-size: 0.8rem;
        width: 30px;
        height: 30px;
        background: linear-gradient(45deg, #28a745, #20c997);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .table-row > div:nth-child(3)::before {
        content: "Pro";
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        color: white;
        font-size: 0.8rem;
        width: 30px;
        height: 30px;
        background: linear-gradient(45deg, #667eea, #764ba2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .table-row > div:nth-child(4)::before {
        content: "Ent";
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        color: white;
        font-size: 0.8rem;
        width: 30px;
        height: 30px;
        background: linear-gradient(45deg, #ffd700, #ffed4e);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
    }
}

/* Estilos de modo oscuro para comparison-table en móviles */
@media (max-width: 768px) {
    body.dark-mode .table-row {
        background: var(--card-bg);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    body.dark-mode .table-row > div {
        border-bottom-color: var(--border-color);
        color: var(--text-color);
    }
    
    body.dark-mode .feature-name {
        background: linear-gradient(45deg, #667eea, #764ba2) !important;
        color: white !important;
    }
}

/* Sección de soporte */
.soporte-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    overflow: hidden;
}

.floating-card {
    display: block;
    z-index: 15;
    font-size: 0.7rem;
    padding: 8px 12px;
}

/* Botón de logout mejorado */
.logout-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 24px auto 0 auto;
    box-shadow: 0 2px 8px rgba(238,90,82,0.10);
    width: auto;
    min-width: 160px;
    justify-content: center;
}

.logout-btn:hover {
    background: linear-gradient(135deg, #ee5a52, #d63031);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 18px rgba(238, 90, 82, 0.18);
}

.logout-btn i {
    font-size: 17px;
}

/* ===== SISTEMA DE TICKETS ===== */

/* Contenedor del formulario de tickets */
.ticket-form-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

.ticket-form-container h3 {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Formulario de tickets */
.ticket-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-form label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.ticket-form input,
.ticket-form textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fff;
}

.ticket-form input:focus,
.ticket-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ticket-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Botón crear ticket */
.btn-crear-ticket {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    align-self: flex-start;
}

.btn-crear-ticket:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Filtros de tickets */
.ticket-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.filter-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Lista de tickets mejorada */
.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    position: relative;
}

.ticket-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.ticket-id {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.ticket-date {
    color: #6c757d;
    font-size: 0.85rem;
}

.ticket-asunto {
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    font-size: 1rem;
}

.ticket-descripcion {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ticket-status.abierto {
    background: #d4edda;
    color: #155724;
}

.ticket-status.cerrado {
    background: #f8d7da;
    color: #721c24;
}

.ticket-actions {
    display: flex;
    gap: 8px;
}

.ticket-action-btn {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ticket-action-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.ticket-action-btn.close {
    color: #28a745;
    border-color: #28a745;
}

.ticket-action-btn.close:hover {
    background: #d4edda;
}

.ticket-action-btn.delete {
    color: #dc3545;
    border-color: #dc3545;
}

.ticket-action-btn.delete:hover {
    background: #f8d7da;
}

/* Estado vacío */
.ticket-list-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.ticket-list-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .ticket-form-container {
        padding: 16px;
    }
    
    .ticket-filters {
        justify-content: center;
    }
    
    .ticket-card {
        padding: 16px;
    }
    
    .ticket-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .ticket-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Botón de dashboard en navbar */
.nav-link.btn-dashboard {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
}

.nav-link.btn-dashboard:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: white !important;
}

.nav-link.btn-dashboard i {
    font-size: 14px;
}

/* Responsive para botón dashboard */
@media (max-width: 768px) {
    .nav-link.btn-dashboard {
        margin-right: 0;
        margin-bottom: 10px;
        justify-content: center;
    }
}

/* Modo oscuro para botón dashboard */
body.dark-mode .nav-link.btn-dashboard {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

body.dark-mode .nav-link.btn-dashboard:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

body.dark-mode .chat-window {
    background-color: #1a1a1a;
}

body.dark-mode .chat-messages {
    background-color: #1a1a1a;
}

/* Estilos específicos para mensajes del bot en modo oscuro */
body.dark-mode .message.bot-message .message-content {
    background: linear-gradient(135deg, #2a2a2a, #333);
    color: #e0e0e0;
    border: 1px solid #444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .message.bot-message .message-content p {
    color: #e0e0e0;
}

body.dark-mode .message.bot-message .message-time {
    color: #aaa;
}

body.dark-mode .message.bot-message .message-avatar {
    border-color: #4a90e2;
}

/* Estilos específicos para mensajes del usuario en modo oscuro */
body.dark-mode .message.user-message .message-content {
    background: linear-gradient(135deg, #4a90e2, #5a67d8);
    color: white;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

body.dark-mode .message.user-message .message-content p {
    color: white;
}

body.dark-mode .message.user-message .message-time {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .message.user-message .message-avatar {
    background: linear-gradient(135deg, #4a90e2, #5a67d8);
    border-color: #4a90e2;
    color: white;
}

/* Estilos legacy para compatibilidad en modo oscuro */
body.dark-mode .message-content {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .chat-input {
    background-color: #2a2a2a;
    border-color: #555;
    color: #e0e0e0;
}

body.dark-mode .chat-footer {
    border-top-color: #555;
}

/* ===== SECCIÓN DE TICKETS SEPARADA ===== */
.tickets-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin-top: 40px;
}

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

.tickets-container h2 {
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
}

/* Estilos para modo oscuro */
body.dark-mode .tickets-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

body.dark-mode .tickets-container h2 {
    color: #ecf0f1;
}

/* Responsive para la nueva estructura */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 20px 15px;
        gap: 30px;
    }
    
    .dashboard-user-panel {
        padding: 25px;
        margin: 0;
    }
    
    .tickets-section {
        padding: 40px 0;
        margin-top: 30px;
    }
    
    .tickets-container {
        padding: 0 15px;
    }
    
    .tickets-container h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

/* ===== DASHBOARD PROFESIONAL ===== */
.dashboard-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-top: 80px;
}

.dashboard-page {
    background: #f8f9fa;
}

/* Layout Principal */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 80px);
    background: #f8f9fa;
    position: relative;
}

/* Sidebar - COMPLETAMENTE ESTÁTICO */
.dashboard-sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; /* Posición fija desde el navbar */
    left: 0;
    height: calc(100vh - 80px);
    z-index: 100;
    overflow: hidden; /* Sin scroll interno */
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
    flex-shrink: 0;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 2rem;
}

.user-info h3 {
    color: #2c3e50;
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.user-role {
    color: #6c757d;
    font-size: 0.9rem;
    background: #e9ecef;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
}

/* Navegación del Sidebar */
.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: hidden;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin: 5px 0;
}

.nav-item:hover {
    background: #f8f9fa;
    color: #667eea;
    border-left-color: #667eea;
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), transparent);
    color: #667eea;
    border-left-color: #667eea;
    font-weight: 600;
}

.nav-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 1.1rem;
}

.nav-item span {
    font-size: 0.95rem;
}

/* Footer del Sidebar */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
}

.logout-btn {
    width: 100%;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Contenido Principal */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background: #f8f9fa;
    min-height: calc(100vh - 80px);
}

/* Secciones */
.dashboard-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.dashboard-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Headers de Sección */
.section-header {
    margin-bottom: 30px;
}

.section-header h1 {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

/* Tarjetas de Estadísticas */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 5px;
}

.stat-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

/* Tarjetas de Contenido */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.card-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.btn-toggle-form {
    background: #667eea;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-toggle-form:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}

/* Información del Producto */
.product-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.product-details h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px;
}

.product-details p {
    color: #6c757d;
    margin: 0 0 8px;
}

.product-date {
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Formularios */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* ===== NUEVO DISEÑO DE TICKETS - COMPLETAMENTE REDISEÑADO ===== */

/* Botón flotante para crear ticket - POSICIÓN EN EL LADO IZQUIERDO */
.ticket-fab {
    position: static; /* Cambiado de fixed a static */
    background: linear-gradient(135deg, #42D7CE, #28a745);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(66, 215, 206, 0.3);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.ticket-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 215, 206, 0.4);
    background: linear-gradient(135deg, #28a745, #42D7CE);
}

.ticket-fab i {
    font-size: 1rem;
}

/* Modal para crear ticket */
.ticket-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.ticket-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #dc3545;
}

.ticket-form {
    padding: 30px;
}

.ticket-form .form-group {
    margin-bottom: 25px;
}

.ticket-form label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    display: block;
}

.ticket-form input,
.ticket-form textarea,
.ticket-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.ticket-form input:focus,
.ticket-form textarea:focus,
.ticket-form select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ticket-form select {
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* NUEVO DISEÑO DE TICKETS - ESTILO TABLA MODERNA */
.tickets-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 30px;
}

.tickets-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    border-radius: 15px 15px 0 0;
}

.tickets-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.tickets-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.tickets-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.tickets-filters {
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.tickets-table {
    width: 100%;
    border-collapse: collapse;
}

.tickets-table th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    padding: 15px 20px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tickets-table td {
    padding: 20px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: top;
}

.tickets-table tr:hover {
    background: #f8f9fa;
}

.ticket-id {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
}

.ticket-asunto {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1rem;
}

.ticket-descripcion {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-date {
    color: #6c757d;
    font-size: 0.85rem;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.ticket-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-status.abierto {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ticket-status.cerrado {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ticket-actions {
    display: flex;
    gap: 8px;
}

.ticket-action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-action-btn.close {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.ticket-action-btn.close:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: translateY(-1px);
}

.ticket-action-btn.delete {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.ticket-action-btn.delete:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-1px);
}

.tickets-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.tickets-empty i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

.tickets-empty h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tickets-empty p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

/* Responsive para el nuevo diseño */
@media (max-width: 1024px) {
    .tickets-table {
        font-size: 0.9rem;
    }
    
    .tickets-table th,
    .tickets-table td {
        padding: 12px 15px;
    }
    
    .tickets-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-layout {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        order: 2;
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 20px;
        order: 1;
    }
    
    .sidebar-header {
        padding: 20px;
    }
    
    .sidebar-nav {
        display: flex;
        padding: 15px;
        gap: 10px;
    }
    
    .nav-item {
        flex: 1;
        justify-content: center;
        padding: 12px;
        border-left: none;
        border-bottom: 3px solid transparent;
        margin: 0;
    }
    
    .nav-item.active {
        border-left: none;
        border-bottom-color: #667eea;
    }
    
    .nav-item span {
        display: none;
    }
    
    .sidebar-footer {
        padding: 15px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ticket-fab {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
    }
    
    .ticket-fab span {
        display: none;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .tickets-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .tickets-stats {
        justify-content: center;
    }
    
    .tickets-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tickets-table {
        display: block;
        overflow-x: auto;
    }
    
    .tickets-table th,
    .tickets-table td {
        min-width: 120px;
        white-space: nowrap;
    }
    
    .ticket-actions {
        flex-direction: column;
        gap: 5px;
    }
}

/* ===== MODO OSCURO COMPLETO ===== */
body.dark-mode .dashboard-layout {
    background: #1a1a1a;
}

body.dark-mode .dashboard-sidebar {
    background: #2c2c2c;
    border-right: 1px solid #404040;
}

body.dark-mode .user-info h3 {
    color: #ecf0f1;
}

body.dark-mode .user-role {
    background: #404040;
    color: #bdc3c7;
}

body.dark-mode .nav-item {
    color: #bdc3c7;
}

body.dark-mode .nav-item:hover {
    background: #404040;
    color: #667eea;
}

body.dark-mode .nav-item.active {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

body.dark-mode .sidebar-header,
body.dark-mode .sidebar-footer {
    border-color: #404040;
}

body.dark-mode .dashboard-main {
    background: #1a1a1a;
}

body.dark-mode .section-header h1 {
    color: #ecf0f1;
}

body.dark-mode .section-header p {
    color: #bdc3c7;
}

body.dark-mode .content-card,
body.dark-mode .stat-card {
    background: #2c2c2c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .card-header {
    border-color: #404040;
}

body.dark-mode .card-header h3 {
    color: #ecf0f1;
}

body.dark-mode .form-group label {
    color: #ecf0f1;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #404040;
    border-color: #555;
    color: #ecf0f1;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #667eea;
}

/* Modo oscuro para el nuevo diseño de tickets */
body.dark-mode .ticket-fab {
    background: linear-gradient(135deg, #42D7CE, #28a745);
    color: white;
}

body.dark-mode .modal-content {
    background: #2c2c2c;
}

body.dark-mode .modal-header {
    border-color: #404040;
}

body.dark-mode .modal-header h3 {
    color: #ecf0f1;
}

body.dark-mode .ticket-form input,
body.dark-mode .ticket-form textarea,
body.dark-mode .ticket-form select {
    background: #404040;
    border-color: #555;
    color: #ecf0f1;
}

body.dark-mode .ticket-form input:focus,
body.dark-mode .ticket-form textarea:focus,
body.dark-mode .ticket-form select:focus {
    background: #505050;
    border-color: #667eea;
}

body.dark-mode .tickets-container {
    background: #2c2c2c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .tickets-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

body.dark-mode .tickets-filters {
    background: #404040;
    border-color: #555;
}

body.dark-mode .filter-btn {
    background: #505050;
    border-color: #666;
    color: #bdc3c7;
}

body.dark-mode .filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

body.dark-mode .filter-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

body.dark-mode .tickets-table th {
    background: #404040;
    color: #ecf0f1;
    border-color: #555;
}

body.dark-mode .tickets-table td {
    border-color: #555;
}

body.dark-mode .tickets-table tr:hover {
    background: #404040;
}

body.dark-mode .ticket-id {
    color: #667eea;
}

body.dark-mode .ticket-asunto {
    color: #ecf0f1;
}

body.dark-mode .ticket-descripcion {
    color: #bdc3c7;
}

body.dark-mode .ticket-date {
    background: #555;
    color: #bdc3c7;
}

body.dark-mode .tickets-empty {
    color: #bdc3c7;
}

body.dark-mode .tickets-empty h3 {
    color: #ecf0f1;
}

body.dark-mode .tickets-empty i {
    color: #555;
}

/* Botón de crear ticket - INTEGRADO EN EL HEADER */
.ticket-fab {
    position: static; /* Cambiado de fixed a static */
    background: linear-gradient(135deg, #42D7CE, #28a745);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(66, 215, 206, 0.3);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.ticket-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 215, 206, 0.4);
    background: linear-gradient(135deg, #28a745, #42D7CE);
}

.ticket-fab i {
    font-size: 1rem;
}

.btn-primary-cta-section, .btn-secondary-cta-section {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-cta-section {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
}

.btn-primary-cta-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary-cta-section {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-cta-section:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== VALIDACIÓN DE FORMULARIOS ===== */
.validation-message {
    font-size: 0.85rem;
    margin-top: 5px;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
}

.validation-message.error {
    color: #e74c3c;
    font-weight: 500;
}

.validation-message.success {
    color: #27ae60;
    font-weight: 500;
}

.form-group input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group input.valid {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-group input.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.form-group input.valid:focus {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
}

/* === NUEVO CARRUSEL DE CARACTERÍSTICAS === */
.productos-features {
    background: linear-gradient(90deg, #2a5298 0%, #1e3c72 100%);
    padding: 60px 0 40px 0;
    color: #fff;
    text-align: center;
}

.features-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.carousel-arrow {
    background: #1a1a2e;
    border: none;
    color: #6ec6ff;
    font-size: 2.5rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.carousel-arrow:hover {
    background: #6ec6ff;
    color: #1a1a2e;
}

.feature-card-carousel {
    min-width: 340px;
    max-width: 500px;
    width: 100%;
    background: #f8faff;
    color: #1a1a2e;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    position: relative;
    transition: box-shadow 0.2s;
}

.feature-card-carousel .feature-icon {
    font-size: 3.5rem;
    color: #2196f3;
    margin-bottom: 18px;
}

.feature-card-carousel .feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 8px;
}

.feature-card-carousel .feature-desc {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 18px;
}

.feature-card-carousel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-card-carousel ul li {
    font-size: 1rem;
    color: #222;
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
}

.feature-card-carousel ul li:before {
    content: '\2714';
    color: #2196f3;
    position: absolute;
    left: 0;
    font-size: 1.1em;
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.features-tab {
    background: #162447;
    border: 2px solid transparent;
    color: #6ec6ff;
    border-radius: 12px;
    padding: 18px 14px 10px 14px;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, border 0.2s, color 0.2s;
    font-size: 1rem;
    font-weight: 500;
}

.features-tab .tab-icon {
    font-size: 2.1rem;
    margin-bottom: 6px;
}

.features-tab.active, .features-tab:hover {
    background: #fff;
    color: #1976d2;
    border: 2px solid #2196f3;
}

.features-tab.active .tab-icon, .features-tab:hover .tab-icon {
    color: #2196f3;
}

@media (max-width: 700px) {
    .features-carousel-container {
        flex-direction: column;
        gap: 10px;
    }
    .feature-card-carousel {
        min-width: 90vw;
        max-width: 98vw;
        padding: 24px 8vw 24px 8vw;
    }
    .features-tabs {
        gap: 8px;
    }
    .features-tab {
        min-width: 80px;
        padding: 12px 6px 6px 6px;
        font-size: 0.95rem;
    }
}

/* === NUEVO CARRUSEL DE CARACTERÍSTICAS CON 3 TARJETAS === */
.features-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-cards-viewport {
    width: 700px;
    max-width: 95vw;
    overflow: visible;
    position: relative;
    height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-cards-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
    position: relative;
}

.feature-card-carousel {
    width: 340px;
    max-width: 90vw;
    background: #f8faff;
    color: #1a1a2e;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    position: relative;
    margin: 0  -60px;
    z-index: 2;
    opacity: 1;
    transform: scale(1);
    transition: box-shadow 0.2s, transform 0.4s, opacity 0.4s;
}

.feature-card-carousel.side {
    width: 260px;
    min-width: 180px;
    max-width: 60vw;
    opacity: 0.6;
    z-index: 1;
    transform: scale(0.85);
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    pointer-events: none;
}

.feature-card-carousel.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7) translateY(40px);
    z-index: 0;
}

@media (max-width: 900px) {
    .feature-cards-viewport {
        width: 99vw;
        height: 340px;
    }
    .feature-card-carousel {
        width: 95vw;
        min-width: 0;
        padding: 18px 2vw 18px 2vw;
        font-size: 0.98rem;
    }
    .feature-card-carousel.side {
        width: 60vw;
        min-width: 120px;
    }
    .feature-cards-track {
        gap: 12px;
    }
    .features-tabs {
        gap: 8px;
    }
    .features-tab {
        min-width: 90px;
        padding: 10px 4px 6px 4px;
        font-size: 0.95rem;
    }
}
@media (max-width: 600px) {
    .productos-features {
        padding: 30px 0 20px 0;
    }
    .feature-cards-viewport {
        width: 100vw;
        height: 320px;
        padding: 0;
    }
    .feature-cards-track {
        gap: 4px;
    }
    .feature-card-carousel {
        width: 98vw;
        min-width: 0;
        padding: 10px 2vw 10px 2vw;
        font-size: 0.93rem;
    }
    .feature-card-carousel.side {
        width: 60vw;
        min-width: 80px;
        opacity: 0.18;
        filter: blur(1.5px) grayscale(30%);
    }
    .features-tabs {
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 10px;
    }
    .features-tab {
        min-width: 70px;
        padding: 7px 2px 4px 2px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
}

/* Carrusel de características con 3 tarjetas alineadas */
.features-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-cards-viewport {
    width: 1200px;
    max-width: 98vw;
    overflow: visible;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-cards-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 64px;
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
    position: relative;
}

.feature-card-carousel {
    width: 370px;
    max-width: 90vw;
    background: #f8faff;
    color: #1a1a2e;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: scale(1);
    transition: box-shadow 0.2s, transform 0.4s, opacity 0.4s;
}

.feature-card-carousel.side {
    width: 300px;
    min-width: 180px;
    max-width: 60vw;
    opacity: 0.7;
    z-index: 1;
    transform: scale(0.92);
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    pointer-events: none;
    filter: blur(0.5px) grayscale(10%);
}

.feature-card-carousel.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7) translateY(40px);
    z-index: 0;
}

@media (max-width: 1300px) {
    .feature-cards-viewport {
        width: 98vw;
        height: 340px;
    }
    .feature-card-carousel {
        width: 90vw;
        min-width: 0;
        padding: 18px 2vw 18px 2vw;
    }
    .feature-card-carousel.side {
        width: 60vw;
    }
    .feature-cards-track {
        gap: 24px;
    }
}

.feature-cards-viewport {
    width: 1400px;
    max-width: 99vw;
    overflow: visible;
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-carousel {
    width: 440px;
    max-width: 95vw;
    /* ...resto igual... */
}

.feature-card-carousel.side {
    width: 340px;
    min-width: 200px;
    max-width: 70vw;
    /* ...resto igual... */
}

@media (max-width: 1500px) {
    .feature-cards-viewport {
        width: 99vw;
        height: 370px;
    }
    .feature-card-carousel {
        width: 95vw;
        min-width: 0;
        padding: 18px 2vw 18px 2vw;
    }
    .feature-card-carousel.side {
        width: 70vw;
    }
    .feature-cards-track {
        gap: 28px;
    }
}

/* Card central */
.feature-card-carousel {
    background: #f5f7fa;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    color: #222;
    padding: 36px 32px 32px 32px;
    align-items: center;
    min-height: 340px;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: scale(1);
    transition: box-shadow 0.2s, transform 0.4s, opacity 0.4s;
}
.feature-card-carousel .feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #258aff 0%, #4fd1ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(37,138,255,0.12);
}
.feature-card-carousel .feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #258aff;
    margin-bottom: 8px;
}
.feature-card-carousel .feature-desc {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 18px;
}
.feature-card-carousel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.feature-card-carousel ul li {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 8px;
    position: relative;
    padding-left: 28px;
}
.feature-card-carousel ul li:before {
    content: '\2714';
    color: #25b6ff;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}
/* Cards laterales */
.feature-card-carousel.side {
    background: #f5f7fa;
    opacity: 0.35;
    filter: blur(0.5px) grayscale(10%);
    color: #222;
}
/* Tabs inferiores */
.features-tabs {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.features-tab {
    background: linear-gradient(135deg, #258aff 0%, #4fd1ff 100%);
    border: 2px solid transparent;
    color: #fff;
    border-radius: 16px;
    padding: 18px 14px 10px 14px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, border 0.2s, color 0.2s;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(37,138,255,0.10);
}
.features-tab .tab-icon {
    font-size: 2.1rem;
    margin-bottom: 6px;
}
.features-tab.active {
    background: linear-gradient(135deg, #258aff 0%, #4fd1ff 100%);
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 16px rgba(37,138,255,0.18);
}
.features-tab:not(.active) {
    background: #eaf3ff;
    color: #258aff;
    border: 2px solid transparent;
}
.features-tab:not(.active) .tab-icon {
    color: #258aff;
}

@media (min-width: 601px) and (max-width: 1500px) {
    .feature-cards-viewport {
        padding-left: 48px;
        padding-right: 48px;
        box-sizing: border-box;
    }
}

.features-header-hero {
    text-align: center;
    margin-bottom: 38px;
    margin-top: 0;
}
.features-title {
    font-family: 'Krona One', 'Segoe UI', Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.1;
    letter-spacing: -1px;
}
.features-title-blue {
    color: #258aff;
    display: block;
}
.features-subtitle {
    font-size: 1.18rem;
    color: #fff;
    font-weight: 400;
    margin: 0 auto 0 auto;
    max-width: 900px;
    line-height: 1.4;
}
.features-subtitle b {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}
@media (max-width: 900px) {
    .features-title {
        font-size: 2.1rem;
    }
    .features-subtitle {
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    .features-title {
        font-size: 1.3rem;
    }
    .features-subtitle {
        font-size: 0.93rem;
    }
}

.productos-hero-nueva {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 700px;
    padding: 60px 0 40px 0;
    background: linear-gradient(120deg, #0a1333 0%, #020112 100%);
    position: relative;
    gap: 0;
    padding-top: 120px;
}
@media (max-width: 900px) {
    .productos-hero-nueva {
        padding-top: 120px;
    }
}
@media (max-width: 600px) {
    .productos-hero-nueva {
        padding-top: 80px;
    }
}
.hero-nueva-content {
    flex: 1 1 50%;
    padding-left: 7vw;
    z-index: 2;
}
.hero-nueva-title {
    font-family: 'Krona One', 'Segoe UI', Arial, sans-serif;
    font-size: 3.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.05;
    letter-spacing: -1px;
}
.hero-nueva-title-blue {
    color: #25e6ff;
    display: inline-block;
}
.hero-nueva-desc {
    font-size: 1.18rem;
    color: #fff;
    font-weight: 400;
    margin: 18px 0 32px 0;
    max-width: 480px;
    line-height: 1.4;
}
.hero-nueva-desc b {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.hero-nueva-btn {
    display: inline-block;
    background: linear-gradient(90deg, #258aff 0%, #25e6ff 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 32px;
    text-decoration: none;
    box-shadow: 0 2px 16px rgba(37,138,255,0.18);
    border: 2px solid #25e6ff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.hero-nueva-btn:hover {
    background: #fff;
    color: #25e6ff;
    box-shadow: 0 4px 24px rgba(37,230,255,0.18);
}
.hero-nueva-img {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-width: 0;
    padding-right: 4vw;
}
.hero-nueva-img img {
    max-width: 480px;
    width: 100%;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 8px 32px rgba(37,230,255,0.10));
}
.hero-nueva-label.gestion {
    position: absolute;
    top: 30px;
    right: 0;
    font-size: 2.5rem;
    font-family: 'Krona One', 'Segoe UI', Arial, sans-serif;
    color: #fff;
    font-weight: 700;
    text-align: right;
    z-index: 2;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(2,93,250,0.10);
}
.hero-nueva-label.gestion span {
    color: #25e6ff;
}
@media (max-width: 1100px) {
    .productos-hero-nueva {
        flex-direction: column;
        align-items: flex-start;
        min-height: 520px;
        padding: 120px 0 24px 0;
    }
    .hero-nueva-content {
        padding-left: 4vw;
        padding-bottom: 18px;
    }
    .hero-nueva-img {
        padding-right: 0;
        justify-content: center;
        width: 100%;
    }
    .hero-nueva-img img {
        max-width: 340px;
    }
    .hero-nueva-label.gestion {
        position: static;
        text-align: center;
        font-size: 2rem;
        margin-top: 10px;
    }
}
@media (max-width: 600px) {
    .productos-hero-nueva {
        flex-direction: column;
        align-items: flex-start;
        min-height: 380px;
        padding: 110px 0 10px 0;
    }
    .hero-nueva-content {
        padding-left: 2vw;
        padding-bottom: 10px;
    }
    .hero-nueva-title {
        font-size: 1.5rem;
    }
    .hero-nueva-desc {
        font-size: 0.98rem;
    }
    .hero-nueva-img img {
        max-width: 200px;
    }
    .hero-nueva-label.gestion {
        font-size: 1.1rem;
    }
    .hero-nueva-btn {
        font-size: 0.98rem;
        padding: 10px 18px;
    }
}

.hero-nueva-img-central {
    justify-content: flex-start;
    align-items: center;
    padding-right: 0;
    position: relative;
    margin-right: 0;
    left: -12vw;
    /* mueve todo el bloque mucho más al centro-izquierda */
}
.hero-nueva-img-central img {
    max-width: 800px;
    width: 100vw;
    min-width: 260px;
    height: auto;
    margin: 0 auto;
    display: block;
    z-index: 1;
}
@media (max-width: 1100px) {
    .hero-nueva-img-central {
        left: 0;
        margin: 0 auto;
        justify-content: center;
    }
    .hero-nueva-img-central img {
        max-width: 340px;
    }
}
@media (max-width: 600px) {
    .hero-nueva-img-central img {
        max-width: 180px;
    }
}

.hero-keyword {
    position: absolute;
    font-size: 1.25rem;
    color: #25e6ff;
    opacity: 0.18;
    font-family: 'Krona One', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 2px 12px #25e6ff33;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.keyword-confianza {
    left: 50%; top: 38px; transform: translateX(-50%) rotate(-8deg); font-size: 1.1rem;
}
.keyword-organizacion {
    left: 10px; top: 32%; transform: rotate(-24deg); font-size: 1.1rem;
}
.keyword-simplicidad {
    left: -60px; top: 60%; transform: rotate(-18deg); font-size: 1.1rem;
}
.keyword-control {
    right: 0; bottom: 30%; transform: rotate(12deg); font-size: 1.1rem;
}
.keyword-seguridad {
    left: 50%; bottom: -32px; transform: translateX(-50%) rotate(8deg); font-size: 1.1rem;
}
.keyword-fluidez {
    right: 10%; bottom: 60%; transform: rotate(32deg); font-size: 1.1rem;
}
@media (max-width: 1100px) {
    .hero-keyword {
        font-size: 0.95rem;
    }
    .keyword-confianza, .keyword-seguridad {
        top: -18px; bottom: -18px;
    }
    .keyword-organizacion, .keyword-simplicidad {
        right: -30px; left: -30px;
    }
}
@media (max-width: 600px) {
    .hero-keyword {
        font-size: 0.7rem;
    }
    .keyword-confianza, .keyword-organizacion, .keyword-seguridad, .keyword-control, .keyword-fluidez, .keyword-simplicidad {
        left: auto; right: auto; top: auto; bottom: auto;
        position: static;
        display: inline-block;
        margin: 2px 4px;
        transform: none;
    }
}

@media (max-width: 900px) {
    .productos-hero-nueva {
        flex-direction: column;
        align-items: center;
        min-height: 420px;
        padding: 120px 0 24px 0;
    }
    .hero-nueva-content {
        padding-left: 0;
        padding-bottom: 18px;
        text-align: center;
        width: 100%;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
    .hero-nueva-title {
        font-size: 2.1rem;
    }
    .hero-nueva-desc {
        font-size: 1rem;
        max-width: 90vw;
    }
    .hero-nueva-btn {
        font-size: 1rem;
        padding: 10px 18px;
    }
    .hero-nueva-img-central {
        left: 0;
        margin: 0 auto;
        justify-content: center;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .hero-nueva-img-central img {
        max-width: 260px;
    }
    .hero-nueva-label.gestion {
        position: static;
        text-align: center;
        font-size: 1.3rem;
        margin-top: 10px;
    }
    .hero-keyword {
        font-size: 0.85rem;
        position: static !important;
        display: inline-block;
        margin: 2px 4px;
        transform: none !important;
        opacity: 0.25;
    }
    .hero-nueva-img-central {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 600px) {
    .productos-hero-nueva {
        min-height: 320px;
        padding: 110px 0 10px 0;
    }
    .hero-nueva-title {
        font-size: 1.2rem;
    }
    .hero-nueva-desc {
        font-size: 0.93rem;
    }
    .hero-nueva-img-central img {
        max-width: 120px;
    }
    .hero-nueva-label.gestion {
        font-size: 0.9rem;
    }
    .hero-nueva-btn {
        font-size: 0.85rem;
        padding: 7px 12px;
    }
}

@media (max-width: 600px) {
    .hero-nueva-label.gestion,
    .hero-keyword {
        display: none !important;
    }
    .productos-hero-nueva {
        padding-top: 110px !important;
    }
}


