/* =========================================
   1. VARIABLES Y CONFIGURACIÓN (ROOT)
   ========================================= */
:root {
    /* Paleta Principal */
    --primary-blue: #2563eb;
    --primary-amber: #d97706;
    --primary-green: #059669;
    --dark-navy: #0f172a; 
    --corporate-blue: #1e293b;
    --text-muted: #94a3b8;
    
    /* Colores de la Bandera de Bolivia */
    --bol-red: #FF0000;
    --bol-yellow: #F7E400;
    --bol-green: #008000;
    
    /* Sombras y Efectos */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* =========================================
   2. ESTILOS GLOBALES
   ========================================= */
body {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    background-color: var(--dark-navy);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #f8fafc;
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
}

/* =========================================
   3. HEADER Y LOGOTIPO
   ========================================= */
.header-banner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 4px solid var(--primary-blue);
    border-radius: 0 0 50px 50px;
    text-align: center;
}

.main-text {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0;
    line-height: 1.1;
    font-family: 'Arial Black', sans-serif;
    animation: fadeInDown 1s ease;
}

/* Colores dinámicos del nombre */
.text-rojo { color: var(--bol-red); }
.text-amarillo { color: var(--bol-yellow); }
.text-verde { color: var(--bol-green); }

.bandera-decorativa {
    height: 3px;
    width: 120px;
    margin: 6px auto;
    background: linear-gradient(to right, 
        var(--bol-red) 33.3%, 
        var(--bol-yellow) 33.3%, 
        var(--bol-yellow) 66.6%, 
        var(--bol-green) 66.6%);
    border-radius: 5px;
}

.sub-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
}

/* =========================================
   4. BOTONES DE REDES SOCIALES
   ========================================= */
.social-btn {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.4rem;
    color: var(--corporate-blue);
    text-decoration: none;
    background: #f1f5f9;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    margin: 0 6px;
}

.social-btn:hover {
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    color: white !important;
}

/* Colores específicos en Hover */
.btn-facebook:hover { background-color: #1877F2; box-shadow: 0 10px 20px rgba(24, 119, 242, 0.4); }
.btn-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 10px 20px rgba(214, 36, 159, 0.4); }
.btn-tiktok:hover { background-color: #000000; border-color: #fe2c55; }
.btn-whatsapp:hover { background-color: #25D366; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4); }

/* Efecto de destello al pasar el mouse */
.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
}
.social-btn:hover::before { left: 100%; }

/* =========================================
   5. TARJETAS DE ACCIÓN (CARDS)
   ========================================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid var(--glass-border) !important;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: #ffffff;
    transform: translateY(-15px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Cambios de texto dentro de la card al hacer hover */
.glass-card:hover .card-category-title { color: var(--dark-navy); }
.glass-card:hover .text-secondary { color: #475569 !important; }

.card-category-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
}

.icon-header {
    font-size: 3.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.btn-action {
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    color: #ffffff !important;
    transition: 0.3s ease;
}

.btn-action:hover {
    filter: brightness(1.2);
    transform: scale(1.03);
}

/* --- ANIMACIÓN ESPECIAL PARA TRABAJOS BOLIVIA --- */

.main-text {
    display: inline-block;
    cursor: default;
    transition: transform 0.3s ease;
    position: relative;
    /* Efecto de brillo metálico */
    background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 70%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    animation: shineText 4s linear infinite, floatingText 3s ease-in-out infinite;
}

/* Animación de flotado suave */
@keyframes floatingText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Animación de brillo que pasa por las letras */
@keyframes shineText {
    to { background-position: 200% center; }
}

/* Efecto al pasar el mouse: el texto se expande */
.main-text:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

/* Animación individual para cada parte (opcional) */
.text-rojo, .text-amarillo, .text-verde {
    display: inline-block;
    transition: all 0.3s ease;
}

.main-text:hover .text-rojo { transform: rotate(-5deg); }
.main-text:hover .text-amarillo { transform: translateY(-5px); }
.main-text:hover .text-verde { transform: rotate(5deg); }

/* Mejora de la sub-text para acompañar el estilo */
.sub-text {
    animation: fadeInBlur 2s ease-out;
}

@keyframes fadeInBlur {
    from { opacity: 0; filter: blur(10px); transform: scale(0.9); }
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}

 body { background-color: #0f172a; font-family: 'Plus Jakarta Sans', sans-serif; }
        
        /* --- REDES SOCIALES MUCHO MÁS VISIBLES --- */
        .social-container {
            gap: 15px;
            margin-top: 20px;
        }

        .social-btn {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-size: 1.5rem;
            color: white !important;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .social-btn:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 8px 25px rgba(0,0,0,0.5);
        }

        /* Colores de Marca */
        .btn-facebook { background: #1877F2; }
        .btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
        .btn-tiktok { background: #000000; border: 1px solid #ff0050; }
        .btn-whatsapp { background: #25D366; }

        /* --- TARJETAS Y BOTONES --- */
        .btn-trabajo { background-color: #0d6efd !important; border: none; }
        .btn-inmuebles { background-color: #dc3545 !important; border: none; }
        .btn-vehiculos { background-color: #198754 !important; border: none; }

        .btn-action {
            font-weight: 700;
            padding: 12px;
            border-radius: 10px;
            transition: 0.5s;
        }

        .icon-header { font-size: 3rem; margin-bottom: 1rem; }
        .icon-trabajo { color: #0d6efd; }
        .icon-inmuebles { color: #dc3545; }
        .icon-vehiculos { color: #198754; }

        .ribbon {
            position: absolute;
            top: 15px;
            right: -35px;
            background: #ffc107;
            color: #000;
            padding: 5px 40px;
            transform: rotate(45deg);
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

/*/*/

/* BOTÓN CORPORATIVO PREMIUM */
.btn-corp-modern {
    text-decoration: none !important;
    display: inline-block;
    position: relative;
    padding: 2px; /* Espacio para el borde gradiente */
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-content {
    background: #1e293b; /* Color azul marino profundo */
    padding: 12px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Icono con fondo dinámico */
.btn-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc107; /* Amarillo Bolivia */
    font-size: 1.2rem;
    transition: 0.4s;
}

/* Textos jerarquizados */
.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.top-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8; /* Gris azulado */
    font-weight: 600;
}

.main-label {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.btn-arrow {
    color: #475569;
    transition: 0.3s;
    transform: translateX(0);
}

/* EFECTOS HOVER */
.btn-corp-modern:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #ffc107, #ff8000); /* Borde brilla en amarillo */
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.15);
}

.btn-corp-modern:hover .btn-icon {
    background: #ffc107;
    color: #000;
    transform: scale(1.1);
}

.btn-corp-modern:hover .btn-arrow {
    color: #ffffff;
    transform: translateX(5px);
}

.btn-corp-modern:active {
    transform: translateY(0);
}

/*/*

/* Contenedor de 3 columnas */
.header-actions-row {
    display: flex;
    flex-wrap: wrap; /* Permite bajar en móviles */
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.action-item {
    flex: 1; /* Hace que las 3 columnas intenten medir lo mismo */
    min-width: 300px; /* Evita que se aplasten demasiado */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ajustes para pantallas grandes (PC) */
@media (min-width: 1200px) {
    .header-actions-row {
        flex-wrap: nowrap; /* Fuerza una sola línea */
        justify-content: space-between;
        gap: 40px;
    }
    
    /* Alineaciones específicas para equilibrio visual */
    .action-item:nth-child(1) { align-items: flex-end; }   /* Botón Izquierdo hacia el centro */
    .action-item:nth-child(2) { flex: 0 0 auto; }         /* Redes fijas al centro */
    .action-item:nth-child(3) { align-items: flex-start; } /* Botón Derecho hacia el centro */
}

/* Estilo especial para el botón de regalo (Anuncio Gratis) */
.promo-btn {
    border: 1px dashed #ffc107 !important; /* Resalta que es una oferta */
    background: rgba(255, 193, 7, 0.05) !important;
}

.promo-btn .btn-icon {
    color: #ffc107 !important;
}

/* Ajuste de textos de botones para que no ocupen tanto espacio */
.main-label {
    font-size: 0.8rem !important;
    white-space: nowrap;
}