/**
 * ==========================================================
 * SIDV Theme — Servindustriales del Valle S.A.S.
 * ----------------------------------------------------------
 * Componente: blog/hero (Estilos Renovados)
 * ----------------------------------------------------------
 * Fondo industrial/corporativo en gradiente oscuro (#025672),
 * tipografía de alta legibilidad, buscador técnico destacado,
 * tarjetas de métricas y panel de conversión flotante.
 * ==========================================================
 */

:root {
    --sidv-hero-bg-start: #01212c;
    --sidv-hero-bg-mid: #025672;
    --sidv-hero-bg-end: #01384b;
    --sidv-hero-accent: #f09700;
    --sidv-hero-accent-hover: #d88700;
    --sidv-hero-text-light: #f8fafc;
    --sidv-hero-text-muted: #94a3b8;
    --sidv-hero-border-light: rgba(255, 255, 255, 0.12);
}

/*
==================================================
CONTENEDOR PRINCIPAL DEL HERO
==================================================
*/
.sidv-blog-hero {
    position: relative;
    padding: 5rem 0 6rem 0;
    background: radial-gradient(circle at 85% 15%, rgba(240, 151, 0, 0.15) 0%, transparent 40%),
                linear-gradient(135deg, var(--sidv-hero-bg-start) 0%, var(--sidv-hero-bg-mid) 60%, var(--sidv-hero-bg-end) 100%);
    color: var(--sidv-hero-text-light);
    overflow: hidden;
}

/* Patrón Técnico sutil de Fondo */
.sidv-blog-hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.7;
}

.sidv-blog-hero__wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

/*
==================================================
SECCIÓN IZQUIERDA: CONTENIDO EDUCATIVO
==================================================
*/
.sidv-blog-hero__content {
    display: flex;
    flex-direction: column;
}

/* Badge Superior */
.sidv-blog-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    align-self: flex-start;
    padding: 0.4rem 1rem;
    background: rgba(240, 151, 0, 0.15);
    border: 1px solid rgba(240, 151, 0, 0.35);
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.sidv-blog-hero__badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--sidv-hero-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--sidv-hero-accent);
}

.sidv-blog-hero__eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sidv-hero-accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Título y Descripción */
.sidv-blog-hero__title {
    font-size: clamp(2.1rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.02em;
}

.sidv-blog-hero__description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--sidv-hero-text-muted);
    margin: 0 0 2rem 0;
    max-width: 680px;
}

/*
==================================================
BUSCADOR TÉCNICO
==================================================
*/
.sidv-blog-search {
    width: 100%;
    max-width: 640px;
    margin-bottom: 1.5rem;
}

.sidv-blog-search__field {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.sidv-blog-search__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.sidv-blog-search__svg {
    width: 20px;
    height: 20px;
    stroke: #64748b;
    fill: none;
    stroke-width: 2;
}

.sidv-blog-search__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.975rem;
    color: #0f172a;
    padding: 0.6rem 0;
}

.sidv-blog-search__input::placeholder {
    color: #94a3b8;
}

.sidv-blog-search__input.is-invalid {
    animation: sidv-shake 0.4s ease;
}

.sidv-blog-search__button {
    background: var(--sidv-hero-accent);
    color: #ffffff;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.sidv-blog-search__button:hover {
    background: var(--sidv-hero-accent-hover);
    transform: translateY(-1px);
}

/*
==================================================
ETIQUETAS DE TEMAS CLAVE
==================================================
*/
.sidv-blog-hero__topics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.sidv-blog-hero__topics-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sidv-hero-text-muted);
}

.sidv-blog-hero__topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidv-blog-hero__topic-tag {
    font-size: 0.8rem;
    font-weight: 500;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--sidv-hero-border-light);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sidv-blog-hero__topic-tag:hover {
    background: var(--sidv-hero-accent);
    border-color: var(--sidv-hero-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

/*
==================================================
MÉTRICAS DE AUTORIDAD (STATS)
==================================================
*/
.sidv-blog-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.sidv-blog-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sidv-hero-border-light);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.sidv-blog-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 151, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.sidv-blog-stat__number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--sidv-hero-accent);
    margin-bottom: 0.2rem;
}

.sidv-blog-stat__label {
    font-size: 0.825rem;
    color: #cbd5e1;
    font-weight: 500;
}

/*
==================================================
SECCIÓN DERECHA: PANEL DE CONVERSIÓN DESTACADO
==================================================
*/
.sidv-blog-hero__panel {
    background: #ffffff;
    color: #0f172a;
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    border: 1px solid #e2e8f0;
    position: relative;
}

.sidv-blog-hero__panel-badge-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.sidv-blog-hero__panel-tag {
    background: #025672;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.sidv-blog-hero__panel-meta-time {
    font-size: 0.825rem;
    color: #64748b;
    font-weight: 600;
}

.sidv-blog-hero__panel-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    color: #025672;
    margin: 0 0 1rem 0;
}

.sidv-blog-hero__panel-desc {
    font-size: 0.925rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 1.25rem 0;
}

/* Bullets de valor */
.sidv-blog-hero__panel-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sidv-blog-hero__panel-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
}

.sidv-blog-hero__check-icon {
    color: var(--sidv-hero-accent);
    font-weight: 800;
}

/* Botones de Acción */
.sidv-blog-hero__panel-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidv-btn-primary--full {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: var(--sidv-hero-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s ease;
}

.sidv-btn-primary--full:hover {
    background: var(--sidv-hero-accent-hover);
    box-shadow: 0 6px 18px rgba(240, 151, 0, 0.35);
}

.sidv-btn-outline-light--full {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: transparent;
    color: #025672;
    border: 1.5px solid #025672;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s ease;
}

.sidv-btn-outline-light--full:hover {
    background: rgba(2, 86, 114, 0.06);
    color: #013143;
}

/*
==================================================
ANIMACIONES
==================================================
*/
@keyframes sidv-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/*
==================================================
ADAPTABILIDAD RESPONSIVA
==================================================
*/
@media (max-width: 1024px) {
    .sidv-blog-hero__wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sidv-blog-hero__panel {
        max-width: 640px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .sidv-blog-hero {
        padding: 3.5rem 0 4.5rem 0;
    }

    .sidv-blog-search__field {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        gap: 0.6rem;
    }

    .sidv-blog-search__icon {
        display: none;
    }

    .sidv-blog-search__button {
        width: 100%;
    }

    .sidv-blog-hero__stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sidv-blog-hero__panel {
        padding: 1.5rem;
    }
}