/* ==========================================================================
   PLANTILLA GLOBAL DE MARCAS Y SOLUCIONES - LOGICBUS
   
   Cubre: Hero Video/Media, KPIs, Productos, Filtros, Industrias (2 vistas),
          Casos/Etapas, Tablas Comparativas, Descargas, Blog, Pipeline y Odoo
   ========================================================================== */

/* ==========================================
   1. VARIABLES, GLOBALES Y UTILIDADES
   ========================================== */
:root {
    --lb-primary: #22527A;
    --lb-accent: #ff7e00;
    --lb-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

#leftBar {
    display: none;
}

.breadcrumb-transparent {
    background-color: transparent;
    padding-left: 0;
}

.text-max-1100 {
    max-width: 1100px;
}

.text-max-800 {
    max-width: 800px;
}

.gap-15 {
    gap: 15px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.title-primary {
    color: var(--lb-primary, #22527A);
    font-size: inherit;
    line-height: inherit;
}

.title-accent {
    color: var(--lb-accent, #ff7e00);
    font-size: inherit;
    line-height: inherit;
    display: block;
    margin-top: 5px;
    text-transform: uppercase;
}

.section-title-spaced {
    margin-bottom: 15px;
}

.st-sub {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 32px;
    color: #5b6b7a;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ==========================================
   2. BOTONES DE PLANTILLA
   ========================================== */
.btn-circle {
    text-transform: none !important;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-pill-solid {
    background-color: var(--lb-accent);
    color: #fff !important;
    border: 2px solid var(--lb-accent);
    border-radius: 30px;
    padding: 10px 28px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-weight: 700;
    display: inline-block;
}

.btn-pill-solid:hover {
    background-color: transparent;
    color: var(--lb-accent) !important;
}

.btn-pill-outline {
    background-color: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 10px 28px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-weight: 700;
    display: inline-block;
}

.btn-pill-outline:hover {
    background-color: #fff;
    color: var(--lb-primary) !important;
}

/* ==========================================
   3. BANNER HERO (VIDEO DE FONDO O CAJA MEDIA)
   ========================================== */
.st-banner {
    background: linear-gradient(120deg, #0f2942, #22527A 60%, #3d7ea6);
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.st-banner-video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 65%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    z-index: 0;
}

.st-banner-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        #0f2942 0%,
        #0f2942 32%,
        rgba(15, 41, 66, .82) 50%,
        rgba(15, 41, 66, .25) 75%,
        rgba(15, 41, 66, 0) 100%
    );
}

.st-banner-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 20px;
    color: #fff;
}

.st-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.st-banner-title {
    font-size: 2.25rem;
    line-height: 1.25;
    font-weight: 800;
    max-width: 580px;
    margin-bottom: 14px;
    color: #fff;
}

.st-banner-title span {
    display: block;
    color: var(--lb-accent, #ff7e00);
}

.st-banner-sub {
    max-width: 540px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #dfe9f1;
    margin: 0 0 24px;
}

/* Variante opcional cuando la página usa imagen/GIF lateral en vez de video */
.st-banner-media-box {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.st-banner-media-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

@media (max-width: 992px) {
    .st-banner-video {
        width: 100%;
    }

    .st-banner-fade {
        background: linear-gradient(180deg, rgba(15, 41, 66, .85), rgba(15, 41, 66, .72));
    }
}

@media (max-width: 576px) {
    .st-banner {
        min-height: 340px;
    }

    .st-banner-title {
        font-size: 1.75rem;
    }
}

/* ==========================================
   4. FRANJA DE ESTADÍSTICAS (KPIs)
   ========================================== */
.st-stats-band {
    background: #f1f5f9;
    padding: 45px 20px;
}

.st-stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 24px;
    text-align: center;
}

.st-stat strong {
    display: block;
    font-size: 2rem;
    color: var(--lb-primary, #22527A);
    line-height: 1.1;
    font-weight: 800;
}

.st-stat strong em {
    font-style: normal;
    color: var(--lb-accent, #ff7e00);
}

.st-stat span {
    display: block;
    margin-top: 8px;
    font-size: 0.94rem;
    color: #555566;
    line-height: 1.4;
    font-weight: 600;
}

.st-stats-note {
    max-width: 1100px;
    margin: 22px auto 0;
    text-align: center;
    font-size: 0.78rem;
    color: #8b98a5;
}

/* ==========================================
   5. FILTROS, CHIPS Y PAGINACIÓN
   ========================================== */
.st-mag {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 15px;
}

.st-mag a {
    flex: 0 0 150px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    text-align: center;
    padding: 16px 8px;
    color: var(--lb-primary) !important;
    font-weight: 700;
    text-decoration: none !important;
    font-size: .92rem;
    transition: all .2s ease;
}

.st-mag a:hover,
.st-mag a.active {
    border-color: var(--lb-accent);
    background: #fffaf5;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(255, 126, 0, 0.12);
}

.st-mag small {
    display: block;
    color: #7b8fa2;
    font-weight: 400;
    font-size: .78rem;
    margin-top: 3px;
}

.st-mag svg {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto 6px;
    stroke: var(--lb-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.st-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
    padding: 0 15px;
}

.st-chip {
    border: 2px solid var(--lb-primary);
    background: #fff;
    color: var(--lb-primary);
    font-weight: 700;
    border-radius: 30px;
    padding: 7px 18px;
    cursor: pointer;
    font-size: .9rem;
    transition: all 0.2s ease;
}

.st-chip.on,
.st-chip:hover {
    background: var(--lb-primary);
    color: #fff;
}

.st-mag-state {
    margin-top: -12px;
    display: none;
}

.st-prods-empty {
    display: none;
}

.st-pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.st-pager button {
    border: 2px solid var(--lb-primary);
    background: #fff;
    color: var(--lb-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.st-pager button.on,
.st-pager button:hover {
    background: var(--lb-primary);
    color: #fff;
}

@media (max-width: 480px) {
    .st-mag a {
        flex: 0 0 calc(50% - 8px);
    }
}

/* ==========================================
   6. GRILLAS Y TARJETAS (PRODUCTOS, SOLUCIONES Y BLOG)
   ========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

/* Modificador para secciones de 4 pilares exactos (ej. SmartX Hub) */
.products-grid--4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1240px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    max-width: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card h3,
.product-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lb-primary, #22527A);
    margin: 0 0 12px;
    line-height: 1.35;
}

.product-card p {
    color: #556270;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Imagen directa en tarjeta (estilo SmartX Hub) */
.product-card img.product-img {
    width: 100%;
    max-width: none;
    height: 160px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

/* Caja contenedora de imagen con fallback (estilo MadgeTech y Blog) */
.product-img-box {
    width: 100%;
    height: 200px;
    margin-bottom: 16px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color: #7b8fa2;
    font-size: 0.82rem;
    text-align: center;
    padding: 8px;
}

.product-img-box > span {
    display: none;
}

.product-img-box img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
    padding: 8px;
    background: #ffffff;
    border-radius: 0 !important;
}

.product-img-box img[data-miss] {
    display: none !important;
}

.product-img-box.cover {
    padding: 0;
    border-bottom: 3px solid var(--lb-accent);
    background-color: #f1f5f9;
}

.product-img-box.cover img {
    object-fit: cover !important;
    padding: 0 !important;
}

.product-img-box.is-placeholder {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.product-img-box.is-placeholder > span {
    display: block;
    font-weight: 600;
    color: #64748b;
}

.area-badge {
    background-color: #f1f5f9;
    color: var(--lb-primary, #22527A);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    align-self: flex-start;
}

.product-card > .area-badge {
    margin-bottom: 12px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    align-items: center;
}

.tag-badge {
    border: 1px solid #cbd5e1;
    color: #556270;
    font-size: 0.75rem;
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: 600;
}

.tag-badge.tag-new {
    background: #e6f6ec;
    border-color: #b7e4c7;
    color: #1f7a45;
}

.st-series-list {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.45;
}

.st-soon {
    opacity: 0.88;
}

.st-soon-label {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 9px 16px;
    border-radius: 25px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 700;
    font-size: 0.88rem;
}

@media (max-width: 992px) {
    .products-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   7. INDUSTRIAS VISTA A: TARJETAS CON FOTO (SMARTX)
   ========================================== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.app-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 240px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    background-color: #1a202c;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.app-card:hover img {
    transform: scale(1.05);
}

.app-text-overlay {
    width: 100%;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    text-align: left;
    z-index: 2;
    position: relative;
}

.app-text-overlay h3 {
    font-size: 1.25rem;
    margin: 0 0 8px;
    color: #fff;
    font-weight: 700;
}

.app-text-overlay p {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================
   8. INDUSTRIAS VISTA B: PESTAÑAS TÉCNICAS (MADGETECH)
   ========================================== */
.st-app-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Acotado a .st-app-wrap para no afectar a .app-card.st-app */
.st-app-wrap .st-app,
.st-app-panel {
    display: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(20, 40, 60, .06);
    padding: 30px;
}

.st-app-wrap .st-app.on,
.st-app-panel.on {
    display: block;
}

.st-app-wrap .st-app h3,
.st-app-panel h3 {
    color: var(--lb-primary);
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0 0 4px;
}

.st-app-sub {
    color: #64748b;
    font-weight: 600;
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.st-app-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.st-app-cols > div {
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px;
    border-top: 4px solid var(--lb-accent);
    text-align: left;
}

.st-app-cols h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--lb-primary);
    margin: 0 0 8px;
}

.st-app-cols p,
.st-app-cols li {
    font-size: .92rem;
    line-height: 1.55;
    color: #42505e;
    margin-bottom: 0;
}

.st-app-cols ul {
    padding-left: 18px;
    margin: 0;
}

.st-rec-box {
    font-size: 0.93rem;
    color: #42505e;
}

.st-rec-box strong {
    color: var(--lb-primary);
}

.st-link {
    font-weight: 700;
    color: var(--lb-accent) !important;
    text-decoration: none !important;
    font-size: .93rem;
}

.st-link:hover {
    text-decoration: underline !important;
}

.st-note {
    font-size: .8rem;
    color: #8b98a5;
    margin-top: 12px;
}

.st-v {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 18px 0 10px;
    padding: 20px 12px;
    background: linear-gradient(180deg, #f8fafc, #eef3f8);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.st-vn {
    flex: 0 0 150px;
    text-align: center;
}

.st-vn b {
    display: block;
    color: var(--lb-primary);
    font-size: .92rem;
    margin-top: 8px;
    line-height: 1.25;
}

.st-vn small {
    display: block;
    color: #64748b;
    font-size: .78rem;
    margin-top: 2px;
}

.st-vi {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 0 auto;
    border-radius: 20px;
    background: #fff;
    border: 2px solid var(--lb-primary);
    box-shadow: 0 4px 12px rgba(34, 82, 122, .12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-vi > svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: var(--lb-primary);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.st-vi .ring {
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    border: 2px solid var(--lb-accent);
    opacity: 0;
}

.st-vn.sig .st-vi .ring {
    animation: stRingV 2.4s ease-out infinite;
}

.st-vi .wv {
    position: absolute;
    right: -14px;
    top: -12px;
    width: 28px;
    height: 28px;
    background: var(--lb-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
}

.st-vi .wv svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    animation: stBlink 1.6s ease-in-out infinite;
}

.st-vn .line {
    stroke: var(--lb-accent);
    stroke-width: 2;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: stLine 3s ease-in-out infinite;
}

.st-vn .lim {
    stroke: #d64545;
    stroke-width: 1;
}

.st-vn.alarm .st-vi {
    border-color: var(--lb-accent);
}

.st-vn .tick {
    stroke: var(--lb-accent);
    stroke-width: 2;
    stroke-dasharray: 14;
    stroke-dashoffset: 14;
    animation: stTick 3s ease-in-out infinite;
}

.st-vn .needle {
    stroke: var(--lb-accent);
    transform-origin: 12px 18px;
    animation: stNeedle 3s ease-in-out infinite;
}

.st-va {
    flex: 1 1 40px;
    min-width: 30px;
    position: relative;
    height: 82px;
    display: flex;
    align-items: center;
}

.st-va i {
    display: block;
    width: 100%;
    border-top: 3px dashed var(--lb-accent);
    opacity: .55;
}

.st-va u {
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: var(--lb-accent);
    animation: stTravel 2.2s ease-in-out infinite;
    text-decoration: none;
}

@media (max-width: 860px) {
    .st-app-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .st-app-wrap .st-app,
    .st-app-panel {
        padding: 20px 16px;
    }

    .st-v {
        flex-direction: column;
        align-items: center;
    }

    .st-vn {
        flex: none;
        width: 100%;
    }

    .st-va {
        flex: none;
        width: 40px;
        height: 42px;
        justify-content: center;
    }

    .st-va i {
        width: 0;
        height: 100%;
        border-top: 0;
        border-left: 3px dashed var(--lb-accent);
    }

    .st-va u {
        left: 50%;
        top: 0;
        margin-left: -5px;
        margin-top: 0;
        animation-name: stTravelV;
    }
}

/* ==========================================
   9. TARJETAS DE CASOS, ETAPAS Y BENEFICIOS
   ========================================== */
.st-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.st-case-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(20, 40, 60, 0.06);
    border: 1px solid #eef2f6;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.st-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(20, 40, 60, 0.12);
}

.st-case-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.st-case-sector {
    background-color: #eaf2f8;
    color: var(--lb-primary, #22527A);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.st-case-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lb-primary, #22527A);
    margin-bottom: 10px;
    line-height: 1.35;
}

.st-case-client {
    color: var(--lb-accent, #ff7e00);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.st-case-card p {
    font-size: 0.92rem;
    color: #667085;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   10. TABLAS COMPARATIVAS Y TÉCNICAS
   ========================================== */
.st-compare-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
}

table.st-compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20, 40, 60, .04);
}

table.st-compare th,
table.st-compare td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e6ebf0;
    vertical-align: top;
}

table.st-compare th {
    background: var(--lb-primary, #22527A);
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

table.st-compare th:nth-child(2) {
    background: var(--lb-accent, #ff7e00);
}

table.st-compare td:first-child {
    font-weight: 700;
    color: var(--lb-primary, #22527A);
}

table.st-compare td:nth-child(2) {
    background: #fff7ee;
}

table.st-tech th:nth-child(2) {
    background: var(--lb-primary, #22527A);
}

table.st-tech td:nth-child(2) {
    background: transparent;
}

/* ==========================================
   11. CENTRO DE DESCARGAS Y MANUALES
   ========================================== */
.st-dl-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.st-dl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.st-dl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(20, 40, 60, .06);
    padding: 14px;
    text-decoration: none !important;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.st-dl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(20, 40, 60, .12);
    border-color: var(--lb-accent);
}

.st-dl-card .product-img-box {
    height: 185px;
    margin-bottom: 12px;
}

.st-dl-card strong {
    display: block;
    color: var(--lb-primary);
    font-size: .96rem;
    line-height: 1.35;
    margin-bottom: 6px;
    font-weight: 700;
}

.st-dl-card small {
    color: #7b8fa2;
    font-size: 0.8rem;
    margin-top: auto;
}

.ghost-manual-box {
    text-decoration: none !important;
    border: 2px dashed var(--lb-accent);
    padding: 15px 30px;
    border-radius: 15px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.ghost-manual-box img {
    margin-bottom: 0;
}

.ghost-manual-box:hover {
    background-color: #fffaf5;
    transform: translateY(-2px);
}

.ghost-manual-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lb-primary);
}

@media (max-width: 991px) {
    .st-dl {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .st-dl {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ghost-manual-box {
        flex-direction: column;
        padding: 15px 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .st-dl {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
    }
}

/* ==========================================
   12. PIPELINE DE PROCESO (4 ETAPAS)
   ========================================== */
.st-pipe {
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
}

.st-stg {
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(20, 40, 60, .07);
    padding: 0 16px 20px;
    text-align: center;
    position: relative;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
}

.st-stg .num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lb-accent);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -19px auto 12px;
    box-shadow: 0 3px 8px rgba(255, 126, 0, .35);
}

.st-stg h3 {
    color: var(--lb-primary);
    font-size: 1.12rem;
    font-weight: 800;
    margin: 14px 0 6px;
}

.st-stg p {
    color: #556270;
    font-size: .9rem;
    line-height: 1.5;
    margin: 0 0 14px;
    flex-grow: 1;
}

.st-vb {
    flex: 0 0 32px;
    height: 40px;
    align-self: center;
    margin-top: 18px;
}

.st-art2 {
    height: 145px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f3f7fb, #e8eff6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.st-art2.a1,
.st-art2.a2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    align-content: center;
    padding: 8px;
}

.st-art2 .m {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 9px;
    padding: 6px;
    min-width: 0;
    box-shadow: 0 1px 4px rgba(20, 40, 60, .06);
    text-align: left;
}

.st-art2 .c {
    flex: 0 0 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--lb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-art2 .c svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.st-art2 small {
    font-size: .7rem;
    color: var(--lb-primary);
    font-weight: 700;
    line-height: 1.1;
}

.st-art2 > svg {
    width: 100%;
    max-height: 125px;
}

.st-art2 .needle {
    stroke: var(--lb-accent);
    transform-origin: 12px 18px;
    animation: stNeedle 3s ease-in-out infinite;
}

.st-art2 .ln {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: stLn 3.2s ease-in-out infinite;
}

.st-art2 .tk {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: stTk 3.2s ease-in-out infinite;
}

.st-th {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.st-th figure {
    margin: 0;
    width: 46px;
}

.st-th figure > span {
    display: flex;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.st-th img {
    max-width: 40px !important;
    max-height: 40px !important;
    width: auto;
    height: auto;
    object-fit: contain;
}

.st-th [data-miss] img {
    display: none;
}

.st-cp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.st-cp span {
    background: #eef3f8;
    color: var(--lb-primary);
    font-size: .74rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 10px;
}

@media (max-width: 991px) {
    .st-pipe {
        flex-direction: column;
        align-items: center;
    }

    .st-stg {
        width: 100%;
        max-width: 440px;
        flex: none;
    }

    .st-vb {
        flex: none;
        width: 40px;
        height: 42px;
        margin-top: 0;
        justify-content: center;
    }

    .st-vb i {
        width: 0;
        height: 100%;
        border-top: 0;
        border-left: 3px dashed var(--lb-accent);
    }

    .st-vb u {
        left: 50%;
        top: 0;
        margin-left: -5px;
        margin-top: 0;
        animation-name: stTravelV;
    }
}

/* ==========================================
   13. SECCIÓN DE CONTACTO (ODOO IFRAME)
   ========================================== */
.st-contact-section {
    background-color: var(--lb-primary, #22527A);
}

.st-contact-lead {
    font-size: 1.1rem;
}

.st-contact-card {
    border-radius: 20px;
    overflow: hidden;
}

.st-contact-iframe {
    width: 100%;
    min-height: 1200px;
    border: 0;
    display: block;
}
/* ==========================================
   14. FAQS, PASOS NUMERADOS Y BADGES AUXILIARES
   ========================================== */
.st-faq-heading {
    margin-top: 0 !important;
    margin-bottom: 40px;
}

.st-faq-btn,
#accordionFAQs .card-header a {
    color: var(--lb-primary, #22527A) !important;
    font-weight: 700;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.st-faq-btn i,
#accordionFAQs .card-header a i {
    transition: transform 0.25s ease;
}

.st-faq-btn[aria-expanded="true"] i,
#accordionFAQs .card-header a[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Pasos numerados flotantes (1 al 4) */
.float-step-num {
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--lb-accent, #ff7e00);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
}

.st-step-title {
    color: var(--lb-primary, #22527A);
    font-weight: 700;
    font-size: 1.05rem;
}

.st-step-text {
    font-size: 0.9rem;
}

/* Píldoras de integraciones, normas o seguridad */
.st-sec-badges {
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.st-sec-pill {
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.9rem;
    padding: 8px 18px;
}

.st-sec-note {
    max-width: 800px;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Fondos degradados de respaldo para tarjetas de industria (.app-card) */
.app-bg-1 { background: linear-gradient(150deg, #22527A, #3a7aa3); }
.app-bg-2 { background: linear-gradient(150deg, #183c5c, #22527A); }
.app-bg-3 { background: linear-gradient(150deg, #2b4a63, #5b7f99); }
.app-bg-4 { background: linear-gradient(150deg, #22527A, #ff7e00); }
.app-bg-5 { background: linear-gradient(150deg, #0f2942, #3d7ea6); }

/* ==========================================
   15. ANIMACIONES Y AJUSTES MÓVILES GLOBALES
   ========================================== */
@keyframes stTravel {
    0% { left: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: calc(100% - 10px); opacity: 0; }
}

@keyframes stTravelV {
    0% { top: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: calc(100% - 10px); opacity: 0; }
}

@keyframes stRingV {
    0% { transform: scale(1); opacity: .9; }
    70%, 100% { transform: scale(1.3); opacity: 0; }
}

@keyframes stBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

@keyframes stLine {
    0% { stroke-dashoffset: 40; }
    50%, 100% { stroke-dashoffset: 0; }
}

@keyframes stTick {
    0%, 30% { stroke-dashoffset: 14; }
    60%, 100% { stroke-dashoffset: 0; }
}

@keyframes stNeedle {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(30deg); }
}

@keyframes stLn {
    0% { stroke-dashoffset: 240; }
    55%, 100% { stroke-dashoffset: 0; }
}

@keyframes stTk {
    0%, 45% { stroke-dashoffset: 40; }
    75%, 100% { stroke-dashoffset: 0; }
}

@media (max-width: 767px) {
    .products-grid,
    .products-grid--4,
    .apps-grid,
    .st-cases-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 15px;
    }

    .product-card,
    .app-card,
    .st-case-card {
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }

    .tags-container,
    .st-case-meta {
        justify-content: center;
        width: 100%;
    }

    .area-badge {
        align-self: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .app-text-overlay {
        text-align: center;
    }

    .st-case-sector {
        margin: 0 auto;
    }

    .float-step-num {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}