/* =========================================================
   GRUPO MISOL — HOME CLIENTE V1
   ========================================================= */

.misol-home {
    display: flex;
    flex-direction: column;
    gap: 34px;
    width: 100%;
    padding: 10px 0 30px;
}

.misol-home * {
    box-sizing: border-box;
}

/* HERO */

.misol-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: stretch;
}

.misol-home-hero-content,
.misol-home-status-card,
.misol-home-services,
.misol-home-dynamic-content,
.misol-home-knowledge {
    border: 1px solid rgba(69, 157, 226, 0.18);
    background:
        linear-gradient(145deg, rgba(8, 29, 52, 0.98), rgba(4, 20, 38, 0.98));
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.misol-home-hero-content {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    padding: 48px;
    border-radius: 24px;
}

.misol-home-hero-content::before,
.misol-home-hero-content::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.misol-home-hero-content::before {
    top: -110px;
    right: -70px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(52, 167, 243, 0.19);
    box-shadow:
        0 0 60px rgba(41, 153, 229, 0.08),
        inset 0 0 50px rgba(41, 153, 229, 0.05);
}

.misol-home-hero-content::after {
    right: 105px;
    bottom: -155px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 211, 47, 0.13);
}

.misol-home-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 17px;
    padding: 6px 11px;
    color: #7dcbfa;
    background: rgba(43, 153, 226, 0.09);
    border: 1px solid rgba(59, 166, 236, 0.18);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.misol-home-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.misol-home-intro {
    position: relative;
    z-index: 1;
    max-width: 690px;
    margin: 0;
    color: rgba(222, 235, 247, 0.76);
    font-size: 16px;
    line-height: 1.7;
}

.misol-home-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.misol-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 19px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.misol-home-button:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.misol-home-button-primary {
    color: #071728;
    background: linear-gradient(135deg, #ffdc38, #f4bd16);
    border: 1px solid rgba(255, 229, 86, 0.72);
    box-shadow: 0 12px 28px rgba(246, 190, 25, 0.18);
}

.misol-home-button-primary:hover {
    color: #071728;
    box-shadow: 0 16px 32px rgba(246, 190, 25, 0.28);
}

.misol-home-button-secondary {
    color: #dcedfb;
    background: rgba(33, 135, 201, 0.08);
    border: 1px solid rgba(79, 172, 231, 0.28);
}

.misol-home-button-secondary:hover {
    color: #ffffff;
    border-color: rgba(101, 194, 251, 0.5);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

/* STATUS CARD */

.misol-home-status-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    min-height: 330px;
    padding: 38px;
    border-radius: 24px;
}

.misol-home-status-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    color: #ffcf24;
    background: rgba(255, 205, 38, 0.08);
    border: 1px solid rgba(255, 211, 48, 0.18);
    border-radius: 20px;
    font-size: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.misol-home-status-label {
    display: block;
    margin-bottom: 7px;
    color: #73c6f7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.misol-home-status-card strong {
    display: block;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.2;
}

.misol-home-status-card p {
    margin: 13px 0 0;
    color: rgba(220, 234, 247, 0.68);
    font-size: 14px;
    line-height: 1.65;
}

/* SECTIONS */

.misol-home-services,
.misol-home-dynamic-content,
.misol-home-knowledge {
    padding: 34px;
    border-radius: 24px;
}

.misol-home-section-heading {
    margin-bottom: 24px;
}

.misol-home-section-heading > span {
    display: block;
    margin-bottom: 6px;
    color: #56b6ef;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.misol-home-section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.2;
}

.misol-home-service-grid,
.misol-home-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.misol-home-service-card,
.misol-home-knowledge-card {
    min-width: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(105, 176, 226, 0.13);
    border-radius: 18px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.misol-home-service-card:hover,
.misol-home-knowledge-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(84, 180, 240, 0.28);
}

.misol-home-service-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    color: #62c0f5;
    background: rgba(47, 153, 223, 0.09);
    border: 1px solid rgba(74, 176, 241, 0.17);
    border-radius: 15px;
    font-size: 21px;
}

.misol-home-service-card h3,
.misol-home-knowledge-card h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
}

.misol-home-service-card p {
    margin: 0;
    color: rgba(214, 229, 243, 0.67);
    font-size: 13px;
    line-height: 1.65;
}

/* DYNAMIC CONTENT */

.misol-home-richtext {
    color: rgba(220, 234, 247, 0.74);
    font-size: 14px;
    line-height: 1.75;
}

.misol-home-richtext h1,
.misol-home-richtext h2,
.misol-home-richtext h3,
.misol-home-richtext h4 {
    color: #ffffff;
}

.misol-home-richtext a {
    color: #6ac4f6;
}

.misol-home-richtext table {
    width: 100%;
}

/* KNOWLEDGE */

.misol-home-knowledge-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
}

.misol-home-knowledge-title i {
    color: #f5c72a;
    font-size: 17px;
}

.misol-home-knowledge-title h3 {
    margin: 0;
}

.misol-home-article {
    display: block;
    padding: 13px 0;
    border-top: 1px solid rgba(112, 170, 213, 0.11);
    color: #ffffff;
    text-decoration: none;
}

.misol-home-article strong,
.misol-home-article span {
    display: block;
}

.misol-home-article strong {
    color: #dfeefa;
    font-size: 13px;
    line-height: 1.45;
}

.misol-home-article span {
    margin-top: 4px;
    color: rgba(202, 220, 236, 0.55);
    font-size: 12px;
    line-height: 1.5;
}

.misol-home-article:hover {
    text-decoration: none;
}

.misol-home-article:hover strong {
    color: #71c6f6;
}

.misol-home-empty-state {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(103, 176, 228, 0.13);
    border-radius: 18px;
}

.misol-home-empty-state > i {
    color: #62c0f5;
    font-size: 28px;
}

.misol-home-empty-state strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
}

.misol-home-empty-state p {
    margin: 5px 0 0;
    color: rgba(212, 229, 243, 0.62);
    font-size: 13px;
}

.misol-home-empty-state a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 15px;
    color: #dceefa;
    border: 1px solid rgba(80, 180, 241, 0.25);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 980px) {
    .misol-home-hero {
        grid-template-columns: 1fr;
    }

    .misol-home-status-card {
        min-height: auto;
    }

    .misol-home-service-grid,
    .misol-home-knowledge-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .misol-home {
        gap: 22px;
    }

    .misol-home-hero-content,
    .misol-home-status-card,
    .misol-home-services,
    .misol-home-dynamic-content,
    .misol-home-knowledge {
        padding: 24px 19px;
        border-radius: 18px;
    }

    .misol-home-hero h1 {
        font-size: 34px;
    }

    .misol-home-actions {
        flex-direction: column;
    }

    .misol-home-button {
        width: 100%;
    }

    .misol-home-empty-state {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .misol-home-empty-state > i {
        margin: 0 auto;
    }

    .misol-home-empty-state a {
        justify-content: center;
    }
}

/* =========================================================
   HOTFIX PRODUCCIÓN — ANULA EL LAYOUT ANTIGUO DE OSTICKET
   ========================================================= */

#landing_page.misol-home {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 0 30px !important;
}

#landing_page.misol-home > section {
    display: block;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#landing_page.misol-home .misol-home-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr) !important;
    gap: 24px !important;
}

#landing_page.misol-home .misol-home-service-grid,
#landing_page.misol-home .misol-home-knowledge-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

#landing_page.misol-home .misol-home-hero-content,
#landing_page.misol-home .misol-home-status-card,
#landing_page.misol-home .misol-home-services,
#landing_page.misol-home .misol-home-dynamic-content,
#landing_page.misol-home .misol-home-knowledge {
    float: none !important;
    width: auto !important;
    max-width: none !important;
}

@media (max-width: 980px) {
    #landing_page.misol-home .misol-home-hero {
        grid-template-columns: 1fr !important;
    }

    #landing_page.misol-home .misol-home-service-grid,
    #landing_page.misol-home .misol-home-knowledge-grid {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   AJUSTE CORPORATIVO — BOTONES AZULES
   ========================================================= */

/* Botón principal de la portada */
#landing_page.misol-home .misol-home-button-primary {
    color: #ffffff !important;
    background:
        linear-gradient(135deg, #168ed3 0%, #0b67a6 100%) !important;
    border: 1px solid rgba(89, 190, 249, 0.55) !important;
    box-shadow:
        0 12px 28px rgba(12, 118, 181, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

#landing_page.misol-home .misol-home-button-primary i,
#landing_page.misol-home .misol-home-button-primary span {
    color: #ffffff !important;
}

#landing_page.misol-home .misol-home-button-primary:hover {
    color: #ffffff !important;
    background:
        linear-gradient(135deg, #24a9f0 0%, #0d78bc 100%) !important;
    border-color: rgba(126, 211, 255, 0.8) !important;
    box-shadow:
        0 16px 34px rgba(15, 139, 211, 0.38),
        0 0 24px rgba(44, 169, 235, 0.2) !important;
}

/* Botón secundario */
#landing_page.misol-home .misol-home-button-secondary {
    color: #e6f4ff !important;
    background: rgba(16, 91, 141, 0.16) !important;
    border: 1px solid rgba(77, 176, 235, 0.38) !important;
}

#landing_page.misol-home .misol-home-button-secondary i,
#landing_page.misol-home .misol-home-button-secondary span {
    color: #e6f4ff !important;
}

#landing_page.misol-home .misol-home-button-secondary:hover {
    color: #ffffff !important;
    background: rgba(22, 127, 190, 0.24) !important;
    border-color: rgba(102, 202, 255, 0.68) !important;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.18),
        0 0 18px rgba(39, 157, 221, 0.14) !important;
}

/* Botón Portal Tecnológico del encabezado */
.misol-portal-header .misol-portal-cta,
.misol-portal-header a.misol-portal-cta {
    color: #ffffff !important;
    background:
        linear-gradient(135deg, #168ed3 0%, #0b67a6 100%) !important;
    border: 1px solid rgba(89, 190, 249, 0.55) !important;
    box-shadow:
        0 10px 24px rgba(12, 118, 181, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.misol-portal-header .misol-portal-cta:hover,
.misol-portal-header a.misol-portal-cta:hover {
    color: #ffffff !important;
    background:
        linear-gradient(135deg, #24a9f0 0%, #0d78bc 100%) !important;
    border-color: rgba(126, 211, 255, 0.8) !important;
    box-shadow:
        0 14px 30px rgba(15, 139, 211, 0.36),
        0 0 22px rgba(44, 169, 235, 0.18) !important;
}


/* =========================================================
   GRUPO MISOL — AJUSTES VISUALES V34
   Ancho corporativo + encabezado responsive
   ========================================================= */

/* Contenido principal más amplio */
#content {
    box-sizing: border-box !important;
    width: min(1440px, calc(100% - 64px)) !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Página principal aprovechando todo el ancho disponible */
#landing_page.misol-home {
    width: 100% !important;
    max-width: none !important;
    padding-top: 34px !important;
}

/* Hero más amplio y proporcionado */
#landing_page.misol-home .misol-home-hero {
    grid-template-columns:
        minmax(0, 2fr)
        minmax(330px, 0.95fr) !important;
    gap: 28px !important;
}

/* Separación vertical corporativa */
#landing_page.misol-home > section {
    margin-bottom: 34px !important;
}

/* Encabezado interior alineado con la página */
#header.misol-portal-header .misol-portal-header-inner {
    width: min(1480px, calc(100% - 48px)) !important;
    max-width: 1480px !important;
    min-height: 96px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 30px !important;
}

/* Logo ligeramente más grande */
#header.misol-portal-header #logo.misol-portal-brand {
    flex-basis: 185px !important;
    width: 185px !important;
}

#header.misol-portal-header #logo.misol-portal-brand img {
    width: auto !important;
    max-width: 185px !important;
    height: 66px !important;
    max-height: 66px !important;
}

/* El botón hamburguesa no debe verse en escritorio */
#header.misol-portal-header .misol-menu-toggle {
    display: none !important;
}

/* Navegación flexible para evitar cortes */
#header.misol-portal-header .misol-portal-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    gap: 8px !important;
}

#header.misol-portal-header .misol-portal-nav a {
    white-space: nowrap !important;
}

/* Zona derecha ordenada */
#header.misol-portal-header .misol-portal-actions {
    flex: 0 0 auto !important;
    min-width: 210px !important;
    align-items: flex-end !important;
}

#header.misol-portal-header .misol-portal-account {
    justify-content: flex-end !important;
    gap: 9px !important;
    margin-top: 5px !important;
}

/* Tabletas y pantallas medianas */
@media (max-width: 1180px) {
    #content {
        width: calc(100% - 40px) !important;
    }

    #header.misol-portal-header .misol-portal-header-inner {
        width: calc(100% - 32px) !important;
        gap: 18px !important;
    }

    #header.misol-portal-header #logo.misol-portal-brand {
        flex-basis: 150px !important;
        width: 150px !important;
    }

    #header.misol-portal-header #logo.misol-portal-brand img {
        max-width: 138px !important;
        height: 46px !important;
    }

    #header.misol-portal-header .misol-portal-nav {
        gap: 3px !important;
    }

    #header.misol-portal-header .misol-portal-nav a {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 13px !important;
    }
}

/* Móvil: activar hamburguesa y menú desplegable */
@media (max-width: 900px) {
    #content {
        width: calc(100% - 24px) !important;
    }

    #header.misol-portal-header .misol-portal-header-inner {
        width: calc(100% - 24px) !important;
        min-height: 82px !important;
        padding: 0 !important;
    }

    #header.misol-portal-header .misol-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 52px !important;
        width: 52px !important;
        height: 52px !important;
        margin-left: auto !important;
        border: 1px solid rgba(96, 181, 255, 0.45) !important;
        border-radius: 13px !important;
        color: #ffffff !important;
        background: linear-gradient(
            145deg,
            #23a9ed,
            #087bc8
        ) !important;
        box-shadow: 0 10px 28px rgba(0, 137, 224, 0.28) !important;
        cursor: pointer !important;
    }

    #header.misol-portal-header .misol-menu-toggle svg {
        width: 25px !important;
        height: 25px !important;
    }

    #header.misol-portal-header .misol-portal-nav {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 1px) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 200 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding: 14px !important;
        border: 1px solid rgba(91, 159, 230, 0.22) !important;
        border-radius: 0 0 18px 18px !important;
        background: rgba(3, 17, 37, 0.99) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34) !important;
    }

    #header.misol-portal-header .misol-portal-nav.is-open {
        display: flex !important;
    }

    #header.misol-portal-header .misol-portal-nav a {
        width: 100% !important;
        min-height: 48px !important;
        justify-content: flex-start !important;
        padding: 11px 14px !important;
        border-radius: 10px !important;
    }

    #header.misol-portal-header .misol-portal-actions {
        display: none !important;
    }

    #landing_page.misol-home .misol-home-hero {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    #content {
        width: calc(100% - 18px) !important;
    }

    #header.misol-portal-header #logo.misol-portal-brand {
        flex-basis: 145px !important;
        width: 145px !important;
    }

    #header.misol-portal-header #logo.misol-portal-brand img {
        max-width: 145px !important;
        height: 54px !important;
    }

    #landing_page.misol-home {
        padding-top: 18px !important;
    }
}

/* Unificación visual con Estado de Servicios */

.misol-home-status-card,
.misol-home-services,
.misol-home-dynamic-content,
.misol-home-knowledge {
    background:
        linear-gradient(135deg, rgba(10, 46, 78, 0.78), rgba(5, 28, 53, 0.88)) !important;
    border: 1px solid rgba(54, 145, 207, 0.30) !important;
    border-radius: 18px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025),
        0 18px 44px rgba(0, 0, 0, 0.12) !important;
}

.misol-home-status-card {
    min-height: 300px !important;
    padding: 32px !important;
    gap: 18px !important;
}

.misol-home-status-icon {
    width: 58px !important;
    height: 58px !important;
    border-radius: 14px !important;
    font-size: 24px !important;
}

.misol-home-status-card strong {
    font-size: 21px !important;
    line-height: 1.25 !important;
}

.misol-home-status-card p {
    margin-top: 10px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.misol-home-services,
.misol-home-dynamic-content,
.misol-home-knowledge {
    padding: 30px !important;
}

.misol-home-section-heading {
    margin-bottom: 20px !important;
}

.misol-home-section-heading h2 {
    font-size: 25px !important;
    line-height: 1.2 !important;
}

.misol-home-service-grid,
.misol-home-knowledge-grid {
    gap: 14px !important;
}

.misol-home-service-card,
.misol-home-knowledge-card {
    padding: 21px !important;
    background:
        linear-gradient(145deg, rgba(11, 48, 80, 0.62), rgba(6, 31, 57, 0.78)) !important;
    border: 1px solid rgba(65, 153, 213, 0.23) !important;
    border-radius: 15px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
}

.misol-home-service-card:hover,
.misol-home-knowledge-card:hover {
    transform: translateY(-2px) !important;
    background:
        linear-gradient(145deg, rgba(13, 57, 94, 0.72), rgba(7, 36, 66, 0.86)) !important;
    border-color: rgba(67, 184, 247, 0.40) !important;
}

.misol-home-service-icon {
    width: 46px !important;
    height: 46px !important;
    margin-bottom: 14px !important;
    border-radius: 12px !important;
    font-size: 19px !important;
}

.misol-home-service-card h3,
.misol-home-knowledge-card h3 {
    margin-bottom: 7px !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
}

.misol-home-service-card p {
    font-size: 12px !important;
    line-height: 1.55 !important;
}


/* Ajustes finales de proporción y espaciado */

.misol-home-status-card {
    min-height: 285px !important;
    padding: 28px !important;
    gap: 15px !important;
}

.misol-home-status-icon {
    width: 54px !important;
    height: 54px !important;
    margin-bottom: 2px !important;
}

.misol-home-status-card strong {
    font-size: 20px !important;
}

.misol-home-status-card p {
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.misol-home-services {
    margin-top: 18px !important;
    padding: 28px !important;
}

.misol-home-section-heading {
    margin-bottom: 16px !important;
}

.misol-home-section-heading h2 {
    font-size: 23px !important;
}

.misol-home-service-card,
.misol-home-knowledge-card {
    padding: 18px !important;
}

.misol-home-service-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 12px !important;
}

.misol-home-service-card h3,
.misol-home-knowledge-card h3 {
    font-size: 15px !important;
    margin-bottom: 6px !important;
}

.misol-home-service-card p {
    font-size: 11px !important;
    line-height: 1.45 !important;
}


/* Pulido final de tarjetas */

.misol-home-status-card {
    min-height: 260px !important;
    padding: 26px !important;
    background:
        linear-gradient(135deg, rgba(8, 40, 70, 0.82), rgba(4, 24, 46, 0.92)) !important;
    border-color: rgba(61, 162, 224, 0.34) !important;
}

.misol-home-services,
.misol-home-dynamic-content,
.misol-home-knowledge {
    background:
        linear-gradient(135deg, rgba(8, 40, 70, 0.82), rgba(4, 24, 46, 0.92)) !important;
    border-color: rgba(61, 162, 224, 0.34) !important;
}

.misol-home-service-card,
.misol-home-knowledge-card {
    min-height: 150px !important;
    padding: 16px !important;
    background:
        linear-gradient(145deg, rgba(8, 42, 72, 0.72), rgba(4, 26, 49, 0.88)) !important;
    border-color: rgba(70, 164, 224, 0.28) !important;
}

.misol-home-service-card:hover,
.misol-home-knowledge-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(72, 190, 248, 0.48) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.misol-home-service-icon {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 10px !important;
}

.misol-home-service-card h3,
.misol-home-knowledge-card h3 {
    font-size: 15px !important;
    margin-bottom: 5px !important;
}

.misol-home-service-card p {
    font-size: 11px !important;
    line-height: 1.4 !important;
}


/* Compactar separación entre secciones */
.misol-home-main-grid {
    margin-bottom: 24px !important;
}

.misol-home-services {
    margin-top: 0 !important;
}


/* Corrección real del espacio entre bloques */
#landing_page.misol-home {
    gap: 18px !important;
}

#landing_page.misol-home > section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   PORTADA MISOL V2
   ========================================================= */

#landing_page.misol-home-v2 .misol-home-hero {
    grid-template-columns:
        minmax(0, 2fr)
        minmax(340px, 0.95fr) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

#landing_page.misol-home-v2 .misol-home-support-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding: 32px;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(31, 148, 221, 0.16),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(9, 42, 73, 0.94),
            rgba(4, 24, 46, 0.98)
        );
    border: 1px solid rgba(64, 162, 223, 0.34);
    border-radius: 18px;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#landing_page.misol-home-v2 .misol-home-support-panel::before {
    content: "";
    position: absolute;
    top: -85px;
    right: -75px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(56, 170, 239, 0.14);
    border-radius: 50%;
}

#landing_page.misol-home-v2 .misol-home-support-panel::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 22px;
    width: 90px;
    height: 90px;
    background: rgba(25, 143, 213, 0.07);
    border: 1px solid rgba(63, 174, 238, 0.12);
    border-radius: 24px;
    transform: rotate(14deg);
}

#landing_page.misol-home-v2 .misol-home-support-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    color: #76c9f6;
    background: rgba(40, 139, 198, 0.12);
    border: 1px solid rgba(85, 184, 239, 0.24);
    border-radius: 15px;
    font-size: 24px;
}

#landing_page.misol-home-v2 .misol-home-support-panel h2 {
    position: relative;
    z-index: 1;
    margin: 7px 0 10px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.2;
}

#landing_page.misol-home-v2 .misol-home-support-panel > p {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    color: rgba(216, 231, 244, 0.72);
    font-size: 13px;
    line-height: 1.55;
}

#landing_page.misol-home-v2 .misol-home-process {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

#landing_page.misol-home-v2 .misol-home-process-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(85, 169, 223, 0.13);
    border-radius: 11px;
}

#landing_page.misol-home-v2 .misol-home-process-item > span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    color: #67c5f8;
    background: rgba(40, 147, 211, 0.10);
    border: 1px solid rgba(65, 174, 235, 0.18);
    border-radius: 9px;
    font-size: 10px;
    font-weight: 900;
}

#landing_page.misol-home-v2 .misol-home-process-item strong,
#landing_page.misol-home-v2 .misol-home-process-item small {
    display: block;
}

#landing_page.misol-home-v2 .misol-home-process-item strong {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.25;
}

#landing_page.misol-home-v2 .misol-home-process-item small {
    margin-top: 2px;
    color: rgba(210, 228, 242, 0.62);
    font-size: 10px;
    line-height: 1.3;
}

#landing_page.misol-home-v2 .misol-home-hero-content h1 span {
    color: #2497ec;
}

#landing_page.misol-home-v2 .misol-home-section-heading > p {
    margin: 8px 0 0;
    color: rgba(214, 230, 243, 0.66);
    font-size: 12px;
    line-height: 1.45;
}

#landing_page.misol-home-v2 .misol-home-service-card {
    position: relative;
    overflow: hidden;
}

#landing_page.misol-home-v2 .misol-home-service-number {
    position: absolute;
    top: 16px;
    right: 17px;
    color: rgba(112, 195, 241, 0.26);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

@media (max-width: 980px) {
    #landing_page.misol-home-v2 .misol-home-hero {
        grid-template-columns: 1fr !important;
    }

    #landing_page.misol-home-v2 .misol-home-support-panel {
        min-height: auto;
    }
}


/* Ajuste de proporciones del hero V2 */

#landing_page.misol-home-v2 .misol-home-hero-content {
    min-height: 360px !important;
    padding: 38px 42px !important;
}

#landing_page.misol-home-v2 .misol-home-hero-content h1 {
    margin: 18px 0 18px !important;
    font-size: clamp(38px, 4vw, 54px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.03em !important;
}

#landing_page.misol-home-v2 .misol-home-intro {
    max-width: 720px !important;
    margin-bottom: 26px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

#landing_page.misol-home-v2 .misol-home-actions {
    margin-top: 22px !important;
}

#landing_page.misol-home-v2 .misol-home-support-panel {
    min-height: 360px !important;
    padding: 30px !important;
}

#landing_page.misol-home-v2 .misol-home-process-item {
    padding: 9px 11px !important;
}


/* Ajuste final del hero V2 */
#landing_page.misol-home-v2 {
    padding-top: 18px !important;
}

#landing_page.misol-home-v2 .misol-home-hero-content {
    min-height: 330px !important;
    padding: 32px 38px !important;
}

#landing_page.misol-home-v2 .misol-home-hero-content h1 {
    margin: 14px 0 14px !important;
    font-size: clamp(36px, 3.6vw, 50px) !important;
    line-height: 1.02 !important;
}

#landing_page.misol-home-v2 .misol-home-intro {
    margin-bottom: 20px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

#landing_page.misol-home-v2 .misol-home-actions {
    margin-top: 18px !important;
}

#landing_page.misol-home-v2 .misol-home-support-panel {
    min-height: 330px !important;
    padding: 26px !important;
}


/* Responsive final V2 */

@media (max-width: 980px) {

    #landing_page.misol-home-v2 {
        padding-top: 12px !important;
        gap: 14px !important;
    }

    #landing_page.misol-home-v2 .misol-home-hero {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    #landing_page.misol-home-v2 .misol-home-hero-content {
        min-height: auto !important;
        padding: 26px !important;
    }

    #landing_page.misol-home-v2 .misol-home-hero-content h1 {
        margin: 12px 0 14px !important;
        font-size: clamp(32px, 8vw, 44px) !important;
        line-height: 1.05 !important;
    }

    #landing_page.misol-home-v2 .misol-home-intro {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    #landing_page.misol-home-v2 .misol-home-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    #landing_page.misol-home-v2 .misol-home-button {
        width: 100% !important;
        justify-content: center !important;
    }

    #landing_page.misol-home-v2 .misol-home-support-panel {
        min-height: auto !important;
        padding: 24px !important;
    }

    #landing_page.misol-home-v2 .misol-home-service-grid,
    #landing_page.misol-home-v2 .misol-home-knowledge-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    #landing_page.misol-home-v2 .misol-home-services,
    #landing_page.misol-home-v2 .misol-home-knowledge {
        padding: 22px !important;
    }
}

@media (max-width: 560px) {

    #landing_page.misol-home-v2 .misol-home-hero-content,
    #landing_page.misol-home-v2 .misol-home-support-panel {
        padding: 20px !important;
    }

    #landing_page.misol-home-v2 .misol-home-hero-content h1 {
        font-size: 34px !important;
    }

    #landing_page.misol-home-v2 .misol-home-eyebrow {
        font-size: 9px !important;
        letter-spacing: 0.08em !important;
    }

    #landing_page.misol-home-v2 .misol-home-services,
    #landing_page.misol-home-v2 .misol-home-knowledge {
        padding: 18px !important;
    }

    #landing_page.misol-home-v2 .misol-home-service-card,
    #landing_page.misol-home-v2 .misol-home-knowledge-card {
        min-height: auto !important;
        padding: 16px !important;
    }
}


/* Tarjetas de servicios premium */

#landing_page.misol-home-v2 .misol-home-service-card {
    display: flex;
    flex-direction: column;
    min-height: 220px !important;
    padding: 22px !important;
    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(44, 158, 224, 0.10),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(8, 43, 75, 0.82),
            rgba(4, 25, 48, 0.94)
        ) !important;
    border-color: rgba(71, 168, 226, 0.32) !important;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease !important;
}

#landing_page.misol-home-v2 .misol-home-service-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(81, 196, 255, 0.62) !important;
    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(50, 174, 239, 0.17),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            rgba(10, 54, 90, 0.90),
            rgba(5, 31, 58, 0.98)
        ) !important;
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.24),
        0 0 28px rgba(31, 157, 224, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

#landing_page.misol-home-v2 .misol-home-service-icon {
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease !important;
}

#landing_page.misol-home-v2 .misol-home-service-card:hover
.misol-home-service-icon {
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(93, 201, 255, 0.48) !important;
    box-shadow: 0 0 20px rgba(42, 163, 226, 0.16);
}

#landing_page.misol-home-v2 .misol-home-service-card p {
    flex: 1;
}

#landing_page.misol-home-v2 .misol-home-service-card::after {
    content: "Crear ticket  →";
    display: block;
    margin-top: 18px;
    color: #6bc9fb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

@media (max-width: 560px) {
    #landing_page.misol-home-v2 .misol-home-service-card {
        min-height: 210px !important;
        padding: 20px !important;
    }
}


/* Base de conocimiento premium */

#landing_page.misol-home-v2 .misol-home-knowledge {
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(40, 151, 218, 0.09),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            rgba(8, 40, 70, 0.84),
            rgba(4, 24, 46, 0.94)
        ) !important;
    border-color: rgba(62, 160, 220, 0.34) !important;
}

#landing_page.misol-home-v2 .misol-home-knowledge-card {
    position: relative;
    overflow: hidden;
    min-height: 220px !important;
    padding: 22px !important;
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(45, 161, 224, 0.10),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(8, 43, 75, 0.82),
            rgba(4, 25, 48, 0.94)
        ) !important;
    border-color: rgba(71, 168, 226, 0.30) !important;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease !important;
}

#landing_page.misol-home-v2 .misol-home-knowledge-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(82, 197, 255, 0.58) !important;
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.22),
        0 0 26px rgba(31, 157, 224, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

#landing_page.misol-home-v2 .misol-home-knowledge-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

#landing_page.misol-home-v2 .misol-home-knowledge-title i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #73caf8;
    background: rgba(42, 148, 210, 0.11);
    border: 1px solid rgba(75, 181, 238, 0.24);
    border-radius: 12px;
    font-size: 18px;
}

#landing_page.misol-home-v2 .misol-home-knowledge-title h3 {
    margin: 0 !important;
    font-size: 16px !important;
}

#landing_page.misol-home-v2 .misol-home-article {
    display: block;
    padding: 12px 0;
    color: inherit;
    text-decoration: none;
    border-top: 1px solid rgba(96, 166, 214, 0.12);
}

#landing_page.misol-home-v2 .misol-home-article:first-of-type {
    border-top: 0;
}

#landing_page.misol-home-v2 .misol-home-article strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.35;
}

#landing_page.misol-home-v2 .misol-home-article span {
    display: block;
    margin-top: 4px;
    color: rgba(211, 228, 242, 0.62);
    font-size: 10px;
    line-height: 1.45;
}

#landing_page.misol-home-v2 .misol-home-article:hover strong {
    color: #6bc9fb;
}

#landing_page.misol-home-v2 .misol-home-empty-state {
    background:
        linear-gradient(
            145deg,
            rgba(8, 43, 75, 0.80),
            rgba(4, 25, 48, 0.92)
        ) !important;
    border-color: rgba(71, 168, 226, 0.28) !important;
}

@media (max-width: 560px) {
    #landing_page.misol-home-v2 .misol-home-knowledge-card {
        min-height: auto !important;
        padding: 18px !important;
    }
}

