/**
 * CONSULTORÍA | Estilos Modulares Homepage & Comparador Multisectorial
 * Framework Bootstrap 5.3 + Apple UI 2026
 */

.hero-fullscreen {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    position: relative;
    background-color: #0A192F;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px),
        linear-gradient(180deg, rgba(10, 25, 47, 0.88) 0%, rgba(16, 42, 69, 0.94) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=80');
    background-size: 26px 26px, 100% 100%, cover;
    background-position: center;
    background-repeat: repeat, no-repeat, no-repeat;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .hero-fullscreen {
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1060;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.15s ease;
}

.autocomplete-item:hover, 
.autocomplete-item.active {
    background-color: #F8FAFC;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.sector-rank-card {
    border-radius: 18px;
    transition: all 0.2s ease;
    background: #FFFFFF;
}

.sector-rank-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(10, 25, 47, 0.08);
}

.rank-medal {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
}

#resultado-mercado:not(.d-none) {
    animation: slideDownFade 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.currency-peso {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700;
    display: inline-block;
}

.currency-usd-symbol {
    display: inline-block;
    vertical-align: -1.5px;
    margin-right: 1.5px;
}

.live-pulse-dot {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* SEARCH CARD & COMPARATOR INPUTS (EXECUTIVE UI / UX) */
.comparator-card {
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 24px;
    box-shadow: 0 16px 40px -10px rgba(10, 25, 47, 0.08), 0 2px 8px rgba(10, 25, 47, 0.03);
}

.form-label-custom {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 0.5rem;
}

.input-custom {
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 12px !important;
    font-size: 0.95rem;
    color: #0F172A;
    background-color: #FFFFFF;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.input-custom:focus {
    border-color: #0A192F !important;
    box-shadow: 0 0 0 3.5px rgba(10, 25, 47, 0.08) !important;
    background-color: #FFFFFF;
    color: #0F172A;
    outline: none;
}

.input-group-custom {
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #FFFFFF;
}

.input-group-custom:focus-within {
    border-color: #0A192F;
    box-shadow: 0 0 0 3.5px rgba(10, 25, 47, 0.08);
}

.input-group-custom .input-group-text {
    background: #F8FAFC;
    border: none;
    color: #64748B;
    font-weight: 600;
    padding-left: 1rem;
    padding-right: 1rem;
}

.input-group-custom .form-control {
    border: none !important;
    box-shadow: none !important;
    font-size: 0.95rem;
    color: #0F172A;
    background: #FFFFFF;
    outline: none;
}

.btn-comparator-cta {
    background: #0A192F !important;
    color: #FFFFFF !important;
    border: 1.5px solid #0A192F !important;
    border-radius: 12px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.15);
}

.btn-comparator-cta:hover {
    background: #172A45 !important;
    border-color: #172A45 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.24);
}

.popular-pill {
    background: #FFFFFF;
    border: 1.2px solid #CBD5E1;
    color: #334155;
    border-radius: 100px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.popular-pill:hover {
    background: #0A192F;
    border-color: #0A192F;
    color: #FFFFFF;
    transform: translateY(-1px);
}

