/* FOOTER MODERNO Y COMPACTO - BuscaNube */
.footer-buscanube-pro {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    overflow: hidden;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Contenedor compacto */
.footer-container-pro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px 1.5rem;
}

/* Grilla de 3 columnas (sin marca) */
.footer-grid-pro {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

/* Columnas de links */
.footer-links-pro,
.footer-legal-pro,
.footer-contact-pro {
    display: flex;
    flex-direction: column;
    height: fit-content;
}

/* Títulos más compactos */
.footer-links-pro h3,
.footer-legal-pro h3,
.footer-contact-pro h3 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}

.footer-links-pro h3::after,
.footer-legal-pro h3::after,
.footer-contact-pro h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #3b82f6;
    border-radius: 1px;
}

/* Links más compactos */
.footer-links-pro a,
.footer-legal-pro a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    padding: 0.2rem 0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.footer-links-pro a:hover,
.footer-legal-pro a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Contacto compacto */
.footer-contact-pro {
    min-height: auto;
}

.footer-contact-pro p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #94a3b8;
    min-height: 24px;
}

/* Iconos de contacto */
.footer-contact-pro i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-contact-pro .fa-envelope {
    color: #ea4335;
}

.footer-contact-pro .fa-whatsapp {
    color: #25d366;
}

.footer-contact-pro a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    white-space: nowrap;
}

.footer-contact-pro a:hover {
    color: #3b82f6;
}

/* Línea inferior compacta */
.footer-bottom-pro {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2rem;
}

.footer-bottom-pro strong {
    color: #cbd5e1;
}

.footer-bottom-pro .credits {
    font-size: 0.75rem;
    color: #64748b;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .footer-container-pro {
        padding: 2rem 20px 1rem;
    }
    
    .footer-grid-pro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }
    
    .footer-links-pro h3::after,
    .footer-legal-pro h3::after,
    .footer-contact-pro h3::after {
        left: 0;
        transform: none;
    }
    
    .footer-bottom-pro {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-contact-pro p {
        justify-content: flex-start;
    }
}

/* Responsive para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-grid-pro {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-contact-pro {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-contact-pro p {
        justify-content: center;
    }
}
/* HEADER BUSCANUBE - Completo y Corregido */
.header-buscanube {
    background: linear-gradient(135deg, #0078d7, #005a9e);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.header-buscanube::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 1000 100" preserveAspectRatio="none"><path d="M0,0 Q500,80 1000,0 L1000,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.header-buscanube .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    gap: 20px;
}

/* Logo Section */
.header-buscanube .logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 250px;
}

.header-buscanube .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.header-buscanube .logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.header-buscanube .logo-img:hover {
    transform: scale(1.05);
}

.header-buscanube .logo-text {
    display: flex;
    flex-direction: column;
}

/* H1 para "BuscaNube" */
.header-buscanube .logo-text h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e6f7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    color: white;
    letter-spacing: -0.5px;
}

.header-buscanube .tagline {
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.3px;
    white-space: nowrap;
    color: #e6f7ff;
    margin-top: 2px;
}

/* BUSCADOR - Corregido superposición */
.header-buscanube .buscador-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.header-buscanube .buscador-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    flex: 1;
    position: relative;
    gap: 10px;
}

.header-buscanube .buscador-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    margin: 0;
}

.header-buscanube .buscador-form {
    flex: 1;
    margin: 0;
    display: flex;
    align-items: center;
}

.header-buscanube .buscador-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    width: 100%;
    padding: 0;
    outline: none;
    margin: 0;
}

.header-buscanube .buscador-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.header-buscanube .buscador-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-buscanube .buscador-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Navigation Section */
.header-buscanube .nav-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* UNIFICAR TAMAÑO DE TODOS LOS BOTONES */
.header-buscanube .nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    min-height: 44px;
    box-sizing: border-box;
    min-width: 140px;
    justify-content: center;
}

/* Botón "Ver Tiendas" */
.header-buscanube .tiendas-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-buscanube .tiendas-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Botón Preguntas Frecuentes */
.header-buscanube .faq-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.header-buscanube .faq-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* CTA Button "Agregar Mi Tienda" */
.header-buscanube .cta-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    position: relative;
}

.header-buscanube .cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.header-buscanube .cta-btn:hover::before {
    left: 100%;
}

.header-buscanube .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 140, 66, 0.4);
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
}

.header-buscanube .btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 12px;
    filter: blur(10px);
    opacity: 0.7;
    z-index: -1;
    animation: pulse-buscanube 2s infinite;
}

@keyframes pulse-buscanube {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

.header-buscanube .btn-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.header-buscanube .nav-btn:hover .btn-icon {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-buscanube .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .header-buscanube .logo-section {
        min-width: auto;
        flex: 1;
    }
    
    .header-buscanube .buscador-header {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 10px 0 0 0;
    }
    
    .header-buscanube .nav-section {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .header-buscanube .header-container {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
        gap: 15px;
    }
    
    .header-buscanube .logo-section {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .header-buscanube .logo-text h1 {
        font-size: 1.4rem;
    }
    
    .header-buscanube .tagline {
        font-size: 0.7rem;
    }
    
    .header-buscanube .buscador-header {
        order: 2;
        margin: 0;
        width: 100%;
    }
    
    .header-buscanube .nav-section {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .header-buscanube .nav-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
        padding: 12px 16px;
        font-size: 0.8rem;
        min-height: 48px;
    }
    
    .header-buscanube .buscador-container {
        padding: 10px 15px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .header-buscanube .logo-section {
        flex-direction: row;
        gap: 10px;
    }
    
    .header-buscanube .logo-img {
        height: 40px;
    }
    
    .header-buscanube .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .header-buscanube .tagline {
        font-size: 0.65rem;
    }
    
    .header-buscanube .nav-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-height: 44px;
    }
    
    .header-buscanube .buscador-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .header-buscanube .buscador-input {
        font-size: 0.85rem;
    }
    
    .header-buscanube .buscador-input::placeholder {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .header-buscanube .nav-section {
        flex-direction: column;
        width: 100%;
    }
    
    .header-buscanube .nav-btn {
        width: 100%;
        max-width: none;
    }
}
/* Botón Planes */
.header-buscanube .planes-btn {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    border: 1px solid white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    position: relative;
}

.header-buscanube .planes-btn:hover {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

