/* VALLABAR - Estilos principales */
/* Archivo CSS centralizado para todas las páginas del proyecto */

/* Reduced motion preferences and mobile optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Disable problematic animations on touch devices */
@media (hover: none) and (pointer: coarse) {
    .hero::before,
    .hero::after,
    .floating-emoji {
        animation: none !important;
        display: none !important;
    }
    
    .hero,
    .hero-background,
    .hero-bg-image {
        transform: none !important;
        animation: none !important;
    }
}

:root {
    --primary-color: #ffffff;
    --primary-dark: #f8f9fa;
    --primary-light: #e9ecef;
    --secondary-color: #F59E0B;
    --accent-color: #EC4899;
    --text-dark: #ffffff;
    --text-light: #e9ecef;
    --text-white: #1a1a1a;
    --bg-light: #1a1a1a;
    --bg-white: #2d2d2d;
    --navbar-bg: #4C1D95;
    --shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    --shadow-hover: 0 8px 30px rgba(255, 255, 255, 0.25);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #1a1a1a;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0;
    min-height: 70px; /* Altura mínima consistente */
}

.navbar.scrolled {
    background: var(--navbar-bg);
    box-shadow: var(--shadow);
}

/* Fun floating elements */
.floating-emoji {
    position: fixed;
    font-size: 2rem;
    pointer-events: none;
    z-index: 5;
    opacity: 0.7;
    animation: floatingEmoji 15s linear infinite;
}

@keyframes floatingEmoji {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: static; /* Asegurar posicionamiento normal en desktop */
    background: transparent;
    padding: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: #e9ecef;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><path d="M40 20c11.046 0 20 8.954 20 20s-8.954 20-20 20-20-8.954-20-20 8.954-20 20-20zm0 5c-8.284 0-15 6.716-15 15s6.716 15 15 15 15-6.716 15-15-6.716-15-15-15z"/><circle cx="40" cy="40" r="3"/></g></svg>') repeat;
    animation: float 25s ease-in-out infinite;
    z-index: 3;
}

.hero::after {
    content: '🍺 🍽️ 🎉 🍷 🍕 🎵 🍻 🥂 🎊 🍸';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 2rem;
    opacity: 0.1;
    animation: festiveFloat 30s linear infinite;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    z-index: 3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 4;
}

.hero-text {
    text-align: left;
}

.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes festiveFloat {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero h1::before {
    content: '🍻 ';
    animation: bounce 2s ease-in-out infinite;
}

.hero h1::after {
    content: ' 🎉';
    animation: bounce 2s ease-in-out infinite 0.5s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--text-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--text-white);
}

/* Sections */
.section {
    padding: 5rem 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.section:first-of-type:not(.hero) {
    padding-top: calc(5rem + 80px); /* Solo para páginas que no son la principal */
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.3));
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(4px 4px 8px rgba(255, 255, 255, 0.4));
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* App Screenshots */
.screenshots {
    background: var(--bg-white);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem 3rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

.screenshot-card {
    text-align: center;
    padding: 0;
    background: transparent;
}

.screenshot-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.screenshot-img .phone-mockup {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transform: perspective(800px) rotateY(-3deg) rotateX(3deg);
    transition: var(--transition);
    border: none;
}

.screenshot-img:hover .phone-mockup {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.03);
}

.screenshot-overlay {
    position: absolute;
    bottom: 5px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 180px;
    width: 85%;
}

.screenshot-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.screenshot-overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.screenshot-img::before {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
    z-index: 2;
}

.screenshot-img::after {
    content: '🌟';
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite 0.5s;
    z-index: 2;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.screenshot-img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.3);
}

/* Screenshots CTA */
.screenshots-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
}

.screenshots-btn {
    background: var(--secondary-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.screenshots-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: #D97706;
}

.screenshots-btn i {
    font-size: 1.2rem;
}

.screenshots-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Section */
.download {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--text-dark);
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-btn {
    background: var(--text-white);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    font-weight: 600;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.download-btn i {
    font-size: 2rem;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: #0f0f0f;
    color: var(--text-dark);
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    opacity: 0.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(45, 45, 45, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 2rem !important;
    box-shadow: 0 -4px 20px rgba(255, 255, 255, 0.15) !important;
    border-top: 3px solid var(--primary-color) !important;
    z-index: 999999 !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s ease !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.cookie-banner.show {
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cookie-banner.hide {
    transform: translateY(100%) !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: var(--text-white);
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cookie-btn-customize {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cookie-btn-customize:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.cookie-btn-reject {
    background: var(--text-light);
    color: var(--text-white);
}

.cookie-btn-reject:hover {
    background: #555;
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 2rem;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: #fff; /* Fondo blanco sólido */
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: all 0.3s ease;
    color: #333; /* Texto oscuro para buena legibilidad */
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e0e0e0; /* Borde visible */
}

.cookie-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50; /* Color específico oscuro */
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-modal-subtitle {
    color: #666; /* Color específico gris */
    font-size: 0.95rem;
}

.cookie-modal-body {
    padding: 1.5rem 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 2px solid #e0e0e0; /* Borde visible específico */
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95); /* Fondo semi-transparente */
}

.cookie-category:hover {
    border-color: #ff6b35; /* Color específico */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-title {
    font-weight: 600;
    color: #2c3e50; /* Color específico oscuro */
    font-size: 1.1rem;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: all 0.3s ease;
    border-radius: 30px;
    border: 2px solid #ddd; /* Añadir borde para visibilidad */
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Añadir sombra para visibilidad */
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: #ff6b35; /* Color específico en lugar de variable */
    border-color: #ff6b35;
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(30px);
}

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #28a745; /* Verde para cookies esenciales */
    border-color: #28a745;
    opacity: 0.8;
    cursor: not-allowed;
}

.cookie-category-description {
    color: #666; /* Color específico en lugar de variable */
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: 1px solid #e0e0e0; /* Borde visible */
    background: #f8f9fa; /* Fondo ligeramente gris */
}

/* Page-specific styles */
.page-header {
    background: var(--bg-white);
    padding: 6rem 2rem 4rem;
    text-align: center;
    margin-top: 80px;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 3rem 2rem;
    background: var(--bg-light);
}

.content-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.content-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-card p,
.content-card li {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.content-card ul {
    padding-left: 1.5rem;
}

/* Form styles for other pages */
.form-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Download page specific */
.download-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.download-qr {
    max-width: 200px;
    height: auto;
    margin: 1rem auto;
    border-radius: var(--border-radius);
}

/* Mobile Cookie Styles - Configuración de contenido */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-modal {
        padding: 1rem;
    }

    .cookie-modal-content {
        max-height: 90vh;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.5rem 1rem;
    }

    .cookie-category {
        padding: 1rem;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Disable problematic floating elements on mobile */
    .floating-emoji {
        display: none !important;
    }

    .nav-menu {
        position: fixed;
        top: 70px; /* Altura aproximada del navbar */
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999; /* Un poco menos que el navbar para evitar conflictos */
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        padding: 1rem;
        min-height: 70px; /* Consistente con el navbar */
        display: flex;
        align-items: center;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section:first-of-type:not(.hero) {
        padding-top: calc(3rem + 70px); /* Solo para páginas que no son la principal en móvil */
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 5rem 1rem 3rem;
    }

    .content-section {
        padding: 2rem 1rem;
    }

    /* Hero responsive */
    .hero {
        /* Disable parallax effects on mobile */
        transform: none !important;
        will-change: auto;
        background-attachment: scroll; /* Better performance on mobile */
    }

    .hero::before,
    .hero::after {
        /* Reduce or disable heavy animations on mobile */
        animation-duration: 60s;
        opacity: 0.05;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-phone {
        order: 1;
    }

    .phone-mockup {
        max-width: 250px;
        transform: none !important;
        will-change: auto;
    }

    .phone-mockup:hover {
        transform: scale(1.02) !important;
    }

    /* Screenshots responsive */
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .screenshot-img {
        max-width: 280px;
        height: 450px;
    }

    /* Screenshots CTA responsive */
    .screenshots-cta {
        margin-top: 3rem;
        padding: 1.5rem 1rem;
    }

    .screenshots-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* =================================
   ESTILOS ESPECÍFICOS PARA PÁGINAS
   ================================= */

/* Main Content Layout */
.main-content {
    margin-top: 100px;
    min-height: 100vh;
}

/* Policy Header */
.policy-header {
    background: linear-gradient(135deg, var(--navbar-bg) 0%, #2d1b69 100%);
    color: var(--text-dark);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 0;
}

.policy-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.policy-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Last Updated Banner */
.last-updated {
    background: var(--bg-white);
    padding: 2rem;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-dark);
}

.last-updated strong {
    color: var(--primary-color);
}

/* Policy Content */
.policy-content {
    background: var(--bg-light);
    padding: 3rem 0;
    margin: 0;
}

.policy-section {
    background: var(--bg-white);
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.policy-section:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-section h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
}

.policy-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-section li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Instruction Steps */
.instruction-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.instruction-step:last-child {
    margin-bottom: 0;
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.step-text ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}

.step-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.media-placeholder:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.media-placeholder i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.media-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Instruction Video Styles */
.instruction-video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: #000;
    outline: none;
}

.instruction-video:focus {
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.media-placeholder:has(.instruction-video) {
    background: transparent;
    border: none;
    padding: 1rem;
}

/* Instruction Image Styles */
.instruction-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    background: #000;
}

.media-placeholder:has(.instruction-image) {
    background: transparent;
    border: none;
    padding: 1rem;
}

/* =================================
   FORMULARIOS
   ================================= */

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    background: var(--bg-white);
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.5;
}

.form-submit {
    text-align: center;
    padding: 2rem 0;
}

.form-help {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.form-help.recaptcha-info {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}

.form-help.recaptcha-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

.form-help.recaptcha-info a:hover {
    text-decoration: underline;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* =================================
   PÁGINAS ESPECÍFICAS
   ================================= */

/* Downloads Page */
.app-preview {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.download-section {
    text-align: center;
    margin: 3rem 0;
}

.download-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.qr-section {
    margin-top: 3rem;
    text-align: center;
}

.qr-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.qr-code {
    margin: 1rem 0;
}

.qr-section p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* App Info Grid */
.app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.info-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card ul {
    list-style: none;
    margin: 0;
}

.info-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.info-card li:last-child {
    border-bottom: none;
}

/* Changelog */
.changelog {
    margin: 2rem 0;
}

.version-block {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.version-block h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Requirements */
.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.req-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.req-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.req-section ul {
    list-style: none;
    margin: 0;
}

.req-section li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.req-section li:last-child {
    border-bottom: none;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 768px) {
    .main-content {
        margin-top: 70px; /* Reducir el espacio para móviles */
    }

    .policy-header {
        padding: 3rem 1rem;
    }

    .policy-content {
        padding: 2rem 0;
    }

    .policy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .instruction-step {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .step-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .instruction-video {
        max-width: 100%;
    }

    .media-placeholder {
        min-height: 150px;
        padding: 1rem;
    }

    .step-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .media-placeholder {
        padding: 1.5rem;
        min-height: 150px;
    }

    .media-placeholder i {
        font-size: 1.5rem;
    }

    .media-placeholder p {
        font-size: 0.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 1.5rem;
    }

    .app-info-grid,
    .requirements {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .download-section h2 {
        font-size: 1.5rem;
    }

    .policy-section ul {
        margin-left: 1rem;
    }

    .checkbox-group {
        align-items: flex-start;
    }
}

/* Para dispositivos móviles muy pequeños */
@media (max-width: 480px) {
    .main-content {
        margin-top: 60px; /* Menos espacio para móviles pequeños */
    }
}

/* Download Page Specific Styles */
.app-preview {
    text-align: center;
    margin: 3rem 0;
}

.phone-mockup {
    max-width: 300px;
    margin: 0 auto;
    padding: 2rem 0;
}

.phone-screen {
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-content {
    text-align: center;
    padding: 2rem;
}

.phone-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    color: var(--primary-color);
}

.phone-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.phone-content p {
    opacity: 0.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.phone-features {
    margin-top: 2rem;
}

.phone-features i {
    margin: 0 10px;
    opacity: 0.6;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.qr-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.qr-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.4rem;
}

.qr-code {
    margin: 2rem 0;
}

.qr-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.info-card h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h4 i {
    color: var(--primary-color);
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.changelog {
    margin: 2rem 0;
}

.version-block {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.version-block h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.req-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.req-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.req-section ul {
    list-style: none;
    padding: 0;
}

.req-section li {
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.faq-item h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile responsiveness for download page */
@media (max-width: 768px) {
    .app-info-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements {
        grid-template-columns: 1fr;
    }
    
    .phone-mockup {
        max-width: 250px;
    }
    
    .qr-image {
        width: 150px;
        height: 150px;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Business Section */
.business {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    color: var(--text-dark);
}

.business-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.business-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.business-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.business .container {
    position: relative;
    z-index: 3;
}

.business-content {
    text-align: center;
}

.business-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.business-feature {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.business-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.business-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.business-feature h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.business-feature p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.business-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.business-btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), #E97F00);
    border: none;
    color: #ffffff;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: var(--transition);
}

.business-btn:hover {
    background: linear-gradient(135deg, #E97F00, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.business-btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.business-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Mobile responsiveness for business section */
@media (max-width: 768px) {
    .business-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .business-feature {
        padding: 2rem 1.5rem;
    }
    
    .business-icon {
        font-size: 2.5rem;
    }
    
    .business-btn {
        font-size: 1.1rem;
        padding: 0.9rem 2rem;
    }
}

/* Estilos de Seguridad */

/* Alertas de seguridad */
.security-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10004;
    max-width: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.security-alert.show {
    transform: translateX(0);
}

.security-alert-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 0.75rem;
}

.security-alert-content i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.security-alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.security-alert-close:hover {
    opacity: 0.7;
}

.security-alert-warning {
    background: #ffc107;
    color: #000;
}

.security-alert-error {
    background: #dc3545;
    color: white;
}

.security-alert-info {
    background: #17a2b8;
    color: white;
}

/* Campos de formulario con errores */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-family: 'Poppins', sans-serif;
}

input.error,
textarea.error,
select.error {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

input.error:focus,
textarea.error:focus,
select.error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Indicadores de validación */
.form-field {
    position: relative;
}

.form-field.valid input,
.form-field.valid textarea,
.form-field.valid select {
    border-color: #28a745;
    background-color: #f8fff9;
}

.form-field.valid::after {
    content: "✓";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
    font-weight: bold;
}

.form-field.invalid input,
.form-field.invalid textarea,
.form-field.invalid select {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-field.invalid::after {
    content: "✗";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545;
    font-weight: bold;
}

/* Spinner de carga para validaciones */
.validation-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Indicador de conexión segura */
.secure-connection {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 8px;
    color: #28a745;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.secure-connection i {
    color: #28a745;
}

/* ========== MOBILE OPTIMIZATIONS ========== */
/* Eliminar efectos de movimiento y animaciones en dispositivos móviles */
@media screen and (max-width: 768px) {
    /* Desactivar animaciones de fondo en hero */
    .hero::before,
    .hero::after {
        animation: none !important;
        opacity: 0.05 !important;
    }
    
    /* Eliminar efectos parallax y transformaciones */
    .hero {
        transform: none !important;
        animation: none !important;
        will-change: auto !important;
        backface-visibility: visible !important;
    }
    
    .hero-background {
        transform: none !important;
        animation: none !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .hero-bg-image {
        transform: none !important;
        animation: none !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Desactivar efectos de overlay */
    .hero-overlay {
        transform: none !important;
        animation: none !important;
    }
    
    /* Simplificar animaciones del teléfono */
    .phone-mockup {
        transform: none !important;
        animation: none !important;
    }
    
    .phone-mockup:hover {
        transform: none !important;
    }
    
    /* Reducir animaciones de los emojis flotantes */
    .floating-emoji {
        display: none !important;
    }
    
    /* Simplificar animaciones de los títulos pero mantener fade-in */
    .hero h1::before,
    .hero h1::after {
        animation: none !important;
    }
    
    /* Layout mobile para hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 1rem;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-phone {
        order: 1;
    }
    
    .phone-mockup {
        max-width: 280px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
}

/* Para dispositivos muy pequeños */
@media screen and (max-width: 480px) {
    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 0.5rem;
        gap: 1.5rem;
    }
    
    .phone-mockup {
        max-width: 240px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Desactivar efectos hover problemáticos en móviles */
    .phone-mockup:hover,
    .feature-card:hover,
    .screenshot-img:hover,
    .contact-card:hover {
        transform: none !important;
    }
    
    .feature-card:hover::before {
        opacity: 0.1 !important;
    }
    
    .feature-card:hover .feature-icon {
        transform: none !important;
    }
}

/* Alertas informativas */
.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: var(--border-radius);
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert i {
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.alert-info i {
    color: #3b82f6;
}

/* Estilos para errores de validación */
.field-error {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    background-color: rgba(239, 68, 68, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
}

.error-message::before {
    content: "⚠️";
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Animación para mostrar errores */
.error-message {
    animation: slideInError 0.3s ease-out;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejorar visibilidad en modo oscuro */
@media (prefers-color-scheme: dark) {
    .field-error {
        background-color: rgba(239, 68, 68, 0.15) !important;
    }
    
    .error-message {
        background-color: rgba(239, 68, 68, 0.2);
        color: #fca5a5;
    }
}

/* Estilos para página de éxito */
.success-container {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.success-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.success-details {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.next-steps {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    text-align: left;
}

.next-steps h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-timeline {
    position: relative;
}

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: calc(100% + 1.5rem);
    background: #e5e7eb;
}

.step:last-child::after {
    display: none;
}

.step.active::after {
    background: var(--secondary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.step.active .step-number {
    background: var(--secondary-color);
    color: white;
}

.step-content h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.step-status {
    color: #10b981;
    font-weight: 500;
    font-size: 0.8rem;
}

.step-time {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.8rem;
}

.important-info {
    margin: 2rem 0;
}

.important-info .alert {
    margin-bottom: 1rem;
    text-align: left;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.success-actions .btn {
    min-width: 200px;
}

.support-section {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    text-align: left;
}

.support-section h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-options {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.support-option i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.support-option div {
    flex: 1;
}

.support-option strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.support-option a,
.support-option span {
    color: var(--text-light);
    text-decoration: none;
}

.support-option a:hover {
    color: var(--secondary-color);
}

/* Responsive para página de éxito */
@media (max-width: 768px) {
    .success-container {
        padding: 1rem;
        margin: 1rem auto;
    }
    
    .success-title {
        font-size: 2rem;
    }
    
    .success-subtitle {
        font-size: 1.1rem;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .step {
        gap: 0.75rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .step::after {
        left: 16px;
    }
}

/* Estilos específicos para selectores en tema oscuro */
select {
    background-color: var(--bg-white) !important;
    color: var(--text-dark) !important;
    border: 2px solid var(--primary-light) !important;
}

select option {
    background-color: var(--bg-white) !important;
    color: var(--text-dark) !important;
}

/* Forzar colores para tema oscuro */
@media (prefers-color-scheme: dark) {
    select {
        background-color: #2d2d2d !important;
        color: #ffffff !important;
        border: 2px solid #4a5568 !important;
    }
    
    select option {
        background-color: #2d2d2d !important;
        color: #ffffff !important;
    }
    
    select:focus {
        border-color: var(--secondary-color) !important;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
    }
}

/* Estilos adicionales para mejor visibilidad */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* Fuerza bruta para asegurar que el banner de cookies esté fixed */
#cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2147483647 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s ease !important;
}

#cookie-banner.show {
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Reglas específicas para WebKit/Safari móvil */
@supports (-webkit-touch-callout: none) {
    #cookie-banner {
        position: -webkit-sticky !important;
        position: sticky !important;
        position: fixed !important;
        bottom: 0 !important;
        /* Forzar aceleración hardware en Safari */
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }
}

/* ==========================================
   CHATBOT WIDGET STYLES
   ========================================== */

/* Botón flotante del chatbot */
.chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: transparent;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: bottom 0.3s ease, transform 0.3s ease;
    border: none;
}

/* Desplazar el chatbot cuando el banner de cookies está visible */
.chatbot-button.shifted-up {
    bottom: 180px; /* 30px + altura aproximada del banner de cookies (150px) */
}

.chatbot-button:hover {
    transform: scale(1.1);
}

.chatbot-button .chatbot-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



/* Ventana del chatbot */
.chatbot-window {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    transition: bottom 0.3s ease;
}

/* Desplazar la ventana del chatbot cuando el banner de cookies está visible */
.chatbot-window.shifted-up {
    bottom: 270px; /* 120px + altura aproximada del banner de cookies (150px) */
}

.chatbot-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header del chatbot */
.chatbot-header {
    background: linear-gradient(135deg, var(--navbar-bg), #7C3AED);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-header-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chatbot-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.chatbot-status {
    font-size: 12px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chatbot-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Área de mensajes */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-message {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
    font-size: 14px;
}

.bot-message .message-content {
    background: var(--navbar-bg);
    color: white;
    border-bottom-left-radius: 4px;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: var(--secondary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

/* Input del chatbot */
.chatbot-input-container {
    padding: 15px 20px;
    background: var(--bg-white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.chatbot-input:focus {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.chatbot-send:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .chatbot-button {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .chatbot-window {
        bottom: 90px;
        right: 20px;
        left: 20px;
        width: auto;
        height: 500px;
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        bottom: 10px;
        right: 10px;
        left: 10px;
        top: 10px;
        height: auto;
        border-radius: 12px;
    }
    
    .chatbot-button {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
}

/* Indicador de escritura */
.typing-indicator .typing-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.typing-indicator .typing-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator .typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator .typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Lista de resultados */
.results-list ul {
    max-height: 300px;
    overflow-y: auto;
}

.results-list ul::-webkit-scrollbar {
    width: 6px;
}

.results-list ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.results-list ul::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.results-list ul::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
