/* =============================================================
   TIPOGRAFIA: desactivar ligaduras (fi, fl, ff)
   Evita que la fuente Plus Jakarta Sans una las letras f e i
   en palabras como "simplifica" o "beneficio".
   ============================================================= */
* {
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    -moz-font-feature-settings: "liga" 0, "clig" 0;
    font-feature-settings: "liga" 0, "clig" 0;
}

/* =============================================================
   PALETA POR TEMA
   ============================================================= */
:root {
    --c-comp: #45C8F9;
    --c-comp-dark: #1fa8da;
    --c-comp-darker: #1fa8da;
    --c-comp-light: #7cd9fb;
    --c-comp-soft: #e6f6fe;
    --c-comp-softer: #ebf7fe;
    --c-comp-hero-bg: #eef6ff;
    --c-comp-chip-bg: rgba(69, 200, 249, .12);
    --c-comp-chip-border: rgba(69, 200, 249, .25);
    --c-comp-chip-hover: rgba(69, 200, 249, .35);
    --c-comp-glow: rgba(69, 200, 249, .22);
    --c-comp-dots: rgba(69, 200, 249, .18);
    --c-comp-shadow: rgba(31, 168, 218, .28);
    --c-comp-shadow-hover: rgba(31, 168, 218, .35);
    --c-accent-dark: #ff7a4c;
    --c-accent: #ff936c;
    --c-accent-light: #ffb78f;
    --c-accent-soft: #fff0e8;
    --c-accent-softer: #fff4ee;
    --c-accent-hero-bg: #fff3ec;
    --c-accent-shadow: rgba(255, 147, 108, .35);
}
.theme-yellow {
    --c-accent-dark: #D97706;
    --c-accent: #F49E0A;
    --c-accent-light: #ffd39d;
    --c-accent-soft: #FFECCF;
    --c-accent-softer: #FFECCF;
    --c-accent-hero-bg: #FFECCF;
    --c-accent-shadow: rgba( 245,158, 11, .35);
}
.theme-orange {
    --c-accent-dark: #ff7a4c;
    --c-accent: #ff936c;
    --c-accent-light: #ffb78f;
    --c-accent-soft: #fff0e8;
    --c-accent-softer: #fff4ee;
    --c-accent-hero-bg: #ffcfbc;
    --c-accent-shadow: rgba(255, 147, 108, .35);
}
 
.theme-turquoise {
    --c-accent-dark: #0D9488;
    --c-accent: #14B8A6;
    --c-accent-light: #c1e8e0;
    --c-accent-soft: #d6f0eb;
    --c-accent-softer: #eaf7f5;
    --c-accent-hero-bg: #eaf7f5;
    --c-accent-shadow: rgba(16, 185, 129, .35);
}
.theme-sky-blue {
    --c-accent-dark: #4d9ddf;
    --c-accent: #3B82F6;
    --c-accent-light: #c5e0ff;
    --c-accent-soft: #EBF2FE;
    --c-accent-softer: #EBF2FE;
    --c-accent-hero-bg: #EBF2FE;
    --c-accent-shadow: rgba( 85, 179, 255, .35);
}
.theme-violet {
    --c-accent-dark: #4d3581;
    --c-accent: #8B5CF6;
    --c-accent-light: #d1b5fd;
    --c-accent-soft: #F3EFFF;
    --c-accent-softer: #F3EFFF;
    --c-accent-hero-bg: #F3EFFF;
    --c-accent-shadow: rgba( 139, 92, 246, .35);
}
.theme-dark-green {
    --c-accent-dark: #0b7056;
    --c-accent: #047857;
    --c-accent-light: #87b9a5;
    --c-accent-soft: #DCF5EC;
    --c-accent-softer: #DCF5EC;
    --c-accent-hero-bg: #DCF5EC;
    --c-accent-shadow: rgba( 0, 127, 97, .35);
}
.theme-pink {
    --c-accent-dark: #BE185D;
    --c-accent: #EC4899;
    --c-accent-light: #ffdae8;
    --c-accent-soft: #FCE3F0;
    --c-accent-softer: #FCE3F0;
    --c-accent-hero-bg: #FCE3F0;
    --c-accent-shadow: rgba( 236, 72, 153, .35);
}

.theme-light-red {
    --c-accent-dark: #e0424e;
    --c-accent: #F43F5E;
    --c-accent-light: #ffd9d9;
    --c-accent-soft: #FEE2E6;
    --c-accent-softer: #FEE2E6;
    --c-accent-hero-bg: #FEE2E6;
    --c-accent-shadow: rgba( 244, 63, 94, .35);
}

.theme-dark-blue {
    --c-accent-dark:#0E7490;
    --c-accent: #0A90B5;
    --c-accent-light: #709bb3;
    --c-accent-soft: #DAEFF4;
    --c-accent-softer: #DAEFF4;
    --c-accent-hero-bg: #DAEFF4;
    --c-accent-shadow: rgba(10, 144, 181, .35);
}


.theme-blue {
    --c-accent-dark: #0099DC;
    --c-accent: #3BAFDA;
    --c-accent-light: #3bafda;
    --c-accent-soft: #f8fcfe;
    --c-accent-softer: #f8fcfe;
    --c-accent-hero-bg: #f8fcfe;
    --c-accent-shadow: rgba(59, 175, 218, .35);
}

.theme-purple {
    --c-accent-dark: #4338CA;
    --c-accent: #6366F1;
    --c-accent-light: #c1b8fb;
    --c-accent-soft: #EBEBFE;
    --c-accent-softer: #EBEBFE;
    --c-accent-hero-bg: #EBEBFE;
    --c-accent-shadow: rgba( 99, 102, 241, .35);
}
/*temas para las apps*/
.theme-teal {
    --c-accent-dark: #08685D;
    --c-accent: #14b8a6;
    --c-accent-light: #A8E6DF;
    --c-accent-soft: #E4F6F4;
    --c-accent-softer: #E4F6F4;
    --c-accent-hero-bg: #E4F6F4;
    --c-accent-shadow: rgba(20, 184, 166, .35);
}

.theme-sky {
    --c-accent-dark: #03556B;
    --c-accent: #0a97be;
    --c-accent-light: #A8D8E6;
    --c-accent-soft: #E4F2F6;
    --c-accent-softer: #E4F2F6;
    --c-accent-hero-bg: #E4F2F6;
    --c-accent-shadow: rgba(10, 151, 190, .35);
}

.theme-blue-app {
    --c-accent-dark: #0043AE;
    --c-accent: #3e88ff;
    --c-accent-light: #A5BFE9;
    --c-accent-soft: #E4EBF6;
    --c-accent-softer: #E4EBF6;
    --c-accent-hero-bg: #E4EBF6;
    --c-accent-shadow: rgba(62, 136, 255, .35);
}

.theme-orange-app {
    --c-accent-dark: #885803;
    --c-accent: #f49e0a;
    --c-accent-light: #E6CFA8;
    --c-accent-soft: #F6F0E4;
    --c-accent-softer: #F6F0E4;
    --c-accent-hero-bg: #F6F0E4;
    --c-accent-shadow: rgba(244, 158, 10, .35);
}

/* =============================================================
   HERO
   ============================================================= */
.hero-modulos {
    position: relative;
    padding: 35px 25px 30px;
    border-radius: 28px;
    background: linear-gradient(120deg, var(--c-comp-hero-bg) 0%, #ffffff 45%, var(--c-accent-hero-bg) 100%);
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 40px;
}

    .hero-modulos .hero-blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(70px);
        opacity: .55;
        z-index: -1;
    }

    .hero-modulos .hero-blob-comp {
        width: 360px;
        height: 360px;
        background: radial-gradient(circle at 30% 30%, var(--c-comp), transparent 70%);
        top: -80px;
        left: -60px;
    }

    .hero-modulos .hero-blob-accent {
        width: 420px;
        height: 420px;
        background: radial-gradient(circle at 70% 70%, var(--c-accent), transparent 70%);
        bottom: -120px;
        right: -80px;
        opacity: .45;
    }

    .hero-modulos .hero-dots {
        position: absolute;
        inset: 0;
        z-index: -1;
        background-image: radial-gradient(var(--c-comp-dots) 1px, transparent 1px);
        background-size: 22px 22px;
        mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 70%);
        -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 70%);
        opacity: .6;
    }

.hero-title {
    font-weight: 800;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    line-height: 1.05;
    color: #1e2a44;
    margin-bottom: 18px;
}

.hero-title-accent {
    color: var(--c-comp-dark);
}

.hero-subtitle {
    font-weight: 700;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    color: #2a3547;
}

.hero-desc {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #556074;
    max-width: 540px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(16, 28, 54, .08);
    color: #2a3547;
    font-weight: 600;
    font-size: .82rem;
    box-shadow: 0 4px 12px rgba(16, 28, 54, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .hero-chip i {
        color: var(--c-comp-dark);
        font-size: 1rem;
    }

    .hero-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(16, 28, 54, .08);
        border-color: var(--c-comp-chip-hover);
    }

/* Lado imagen */
.hero-visual {
    position: relative;
    max-width: 760px;
    margin-left: auto;
}

.hero-visual-glow {
    position: absolute;
    inset: 6% 4%;
    background: radial-gradient(ellipse at 50% 60%, var(--c-comp-glow) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
}

.hero-visual-image {
    position: relative;
    z-index: 1;
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 24px 40px rgba(16, 28, 54, .15));
    display: block;
    margin: 0 auto;
}

.hero-float-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(16, 28, 54, .12);
    border: 1px solid rgba(16, 28, 54, .05);
    backdrop-filter: blur(6px);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .hero-float-badge:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 20px 40px rgba(16, 28, 54, .16);
    }

.hero-float-badge-tl {
    top: 2%;
    left: -10px;
}

.hero-float-badge-br {
    bottom: 12%;
    right: 4%;
}

.hero-float-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.hero-float-badge-icon-comp {
    background: linear-gradient(135deg, var(--c-comp-dark), var(--c-comp));
    box-shadow: 0 6px 14px var(--c-comp-shadow-hover);
}

.hero-float-badge-icon-accent {
    background: linear-gradient(135deg, var(--c-accent-dark), var(--c-accent));
    box-shadow: 0 6px 14px var(--c-accent-shadow);
}

.hero-float-badge-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8592a6;
    line-height: 1.1;
}

.hero-float-badge-value {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    color: #1e2a44;
    line-height: 1.2;
}

@media (max-width: 1299.98px) {
    .hero-modulos {
        padding: 32px 18px 40px;
        border-radius: 22px;
    }
    .hero-modulos .row > [class^="col-xl-"],
    .hero-modulos .row > [class*=" col-xl-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-content {
        text-align: center;
    }

        .hero-chips,
        .hero-content .d-sm-flex {
            justify-content: center;
        }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-visual-image {
        width: 100%;
        max-height: 55vh;
        object-fit: contain;
        object-position: center;
    }

    .hero-float-badge-tl {
        top: 0;
        left: 0;
    }

    .hero-float-badge-br {
        bottom: 4%;
        right: 0;
    }
}

@media (max-width: 767px) {
    .hero-modulos {
        padding: 28px 14px 32px;
        border-radius: 20px;
        margin-bottom: 28px;
    }

        .hero-modulos .hero-blob-comp {
            width: 220px;
            height: 220px;
            top: -60px;
            left: -40px;
        }

        .hero-modulos .hero-blob-accent {
            width: 260px;
            height: 260px;
            bottom: -80px;
            right: -60px;
        }

    .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.4rem);
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-desc {
        font-size: .95rem;
        line-height: 1.55;
    }

    .hero-chip {
        font-size: .75rem;
        padding: 6px 11px;
    }

    .hero-content .btn.btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px !important;
        border-radius: 12px;
    }

    .hero-visual-image {
        max-height: 48vh;
        filter: drop-shadow(0 14px 22px rgba(16, 28, 54, .12));
    }

    .hero-float-badge {
        padding: 8px 10px;
        gap: 8px;
        border-radius: 12px;
    }

    .hero-float-badge-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .hero-float-badge-label {
        font-size: .62rem;
    }

    .hero-float-badge-value {
        font-size: .78rem;
    }
}

@media (max-width: 575px) {
    .hero-modulos {
        padding: 24px 12px 28px;
        border-radius: 16px;
    }

        .hero-modulos .hero-dots {
            display: none;
        }

    .hero-float-badge {
        display: none;
    }

    .hero-visual-image {
        max-height: 42vh;
    }

    .hero-chips {
        gap: 6px;
    }
}

@media (max-width: 1299.98px) {

    .hero-section .row > [class^="col-xl-"],
    .hero-section .row > [class*=" col-xl-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-section .hero-content {
        text-align: center;
    }

        .hero-section .hero-content h6 {
            justify-content: center;
        }

        .hero-section .hero-content .d-sm-flex {
            justify-content: center;
        }

    .hero-section .col-xl-7 {
        justify-content: center !important;
        margin-top: 24px;
    }

        .hero-section .col-xl-7 img {
            max-height: 55vh !important;
            object-position: center !important;
        }
}

@media (max-width: 575.98px) {
    .hero-section {
        margin-top: 1.5rem !important;
    }

    .hero-section .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.25;
    }
        .hero-section .hero-content h1 br,
        .hero-section .hero-content p br {
            display: none;
        }

    .hero-section .hero-content h6 {
        font-size: 1rem !important;
    }

    .hero-section .hero-content p {
        font-size: 1rem !important;
    }

    .hero-section .hero-content .btn {
        width: 100%;
        padding-top: .9rem !important;
        padding-bottom: .9rem !important;
    }

    .hero-section .col-xl-7 img {
        max-height: 42vh !important;
    }
}

/* =============================================================
   SHOWCASE (laptop + flechas + feature tags)
   ============================================================= */
.ventas-showcase {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ventas-showcase-inner {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1200 / 480;
}

.ventas-showcase-phone-inner {
    position: relative;
    width: 100%;
    max-width: 1120px;
    height: 470px;
    margin-inline: auto;
}

.ventas-showcase-laptop {
    position: absolute;
    top: 2%;
    left: 20%;
    width: 60%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .12));
}
.ventas-showcase-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .12));
    z-index: 1;
}

.showcase-tag {
    position: absolute;
    display: flex;
    align-items: stretch;
    width: 300px;
    min-height: 60px;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    z-index: 3;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.2,.7,.2,1.2), box-shadow .3s ease, filter .3s ease;
    will-change: transform;
}

    .showcase-tag-left {
        right: calc(50% + 135px);
    }

    .showcase-tag-right {
        left: calc(50% + 135px);
    }

    .showcase-tag-left:hover {
        transform: translateX(8px) scale(1.05);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
        filter: brightness(1.05);
    }

    .showcase-tag-right:hover {
        transform: translateX(-8px) scale(1.05);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
        filter: brightness(1.05);
    }

    .showcase-tag:hover .showcase-tag-number {
        background: rgba(255, 255, 255, .3);
        letter-spacing: 2px;
    }

.showcase-tag-comp {
    background: var(--c-comp);
}

.showcase-tag-accent {
    background: var(--c-accent);
}

.showcase-tag-number {
    flex: 0 0 auto;
    min-width: 52px;
    padding: 0 12px;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .18);
    position: relative;
    letter-spacing: 1px;
    transition: background .3s ease, letter-spacing .3s ease;
}

    .showcase-tag-number::after {
        content: '';
        position: absolute;
        right: 0;
        top: 12%;
        bottom: 12%;
        border-right: 2px dashed rgba(255, 255, 255, .65);
    }

.showcase-tag-text {
    flex: 1;
    padding: 10px 14px;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

    .showcase-tag-text::first-letter {
        text-transform: uppercase;
    }
@media (max-width: 1299.98px) {
    .ventas-showcase-phone-inner {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .ventas-showcase-phone {
        position: static;
        transform: none;
        height: auto;
        width: auto;
        max-height: 420px;
        order: 0;
    }

    .showcase-tag {
        position: static;
        width: 100%;
        max-width: 460px;
        left: auto;
        right: auto;
        order: 1;
    }
}

@media (max-width: 575px) {
    .showcase-tag {
        min-height: 54px;
        border-radius: 10px;
    }

    .showcase-tag-number {
        min-width: 44px;
        font-size: 1.15rem;
        padding: 0 10px;
    }

    .showcase-tag-text {
        font-size: .78rem;
        padding: 8px 10px;
        line-height: 1.3;
    }

    .showcase-tag-left:hover,
    .showcase-tag-right:hover {
        transform: none;
    }
}

.ventas-showcase-arrows {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

    .ventas-showcase-arrows .showcase-arrow-comp {
        stroke: var(--c-comp);
    }

    .ventas-showcase-arrows .showcase-arrow-accent {
        stroke: var(--c-accent);
    }

    .ventas-showcase-arrows .showcase-dot-comp {
        fill: var(--c-comp);
    }

    .ventas-showcase-arrows .showcase-dot-accent {
        fill: var(--c-accent);
    }

.feature-tag {
    position: absolute;
    display: flex;
    align-items: stretch;
    width: 24%;
    min-height: 62px;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    z-index: 3;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.2,.7,.2,1.2), box-shadow .3s ease, filter .3s ease;
    will-change: transform;
}

    .feature-tag.tag-left {
        left: 0;
    }

    .feature-tag.tag-right {
        right: 0;
    }

    .feature-tag.tag-left:hover {
        transform: translateX(10px) scale(1.05);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
        filter: brightness(1.05);
    }

    .feature-tag.tag-right:hover {
        transform: translateX(-10px) scale(1.05);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
        filter: brightness(1.05);
    }

    .feature-tag:hover .feature-tag-number {
        background: rgba(255, 255, 255, .3);
        letter-spacing: 2px;
    }

.feature-tag-comp {
    background: var(--c-comp);
}

.feature-tag-accent {
    background: var(--c-accent);
}

.feature-tag-number {
    flex: 0 0 auto;
    min-width: 56px;
    padding: 0 14px;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .18);
    position: relative;
    letter-spacing: 1px;
    transition: background .3s ease, letter-spacing .3s ease;
}

    .feature-tag-number::after {
        content: '';
        position: absolute;
        right: 0;
        top: 12%;
        bottom: 12%;
        border-right: 2px dashed rgba(255, 255, 255, .65);
    }

.feature-tag-text {
    flex: 1;
    padding: 10px 14px;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.2;
    display: flex;
    align-items: center;
    text-transform: none;
}

    .feature-tag-text::first-letter {
        text-transform: uppercase;
    }

@media (max-width: 1299.98px) {
    .ventas-showcase-inner {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .ventas-showcase-laptop {
        position: static;
        width: 100%;
        max-width: 640px;
        order: 0;
    }

    .ventas-showcase-arrows {
        display: none;
    }

    .feature-tag {
        position: static !important;
        width: 100%;
        max-width: 520px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }
        .feature-tag.tag-left,
        .feature-tag.tag-right {
            order: 1;
        }

    .feature-tag-text {
        font-size: .85rem;
    }
}

@media (max-width: 575px) {
    .ventas-showcase-inner {
        gap: 10px;
    }

    .feature-tag {
        min-height: 54px;
        border-radius: 10px;
    }

    .feature-tag-number {
        min-width: 44px;
        font-size: 1.15rem;
        padding: 0 10px;
    }

    .feature-tag-text {
        font-size: .72rem;
        padding: 8px 10px;
        line-height: 1.3;
    }

    .feature-tag.tag-left:hover,
    .feature-tag.tag-right:hover {
        transform: none;
    }
}
/* =============================================================
   FUNCIONES (imagen + card)
   ============================================================= */
.funcion-image {
    position: relative;
    border-radius: 22px;
    padding: 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

    .funcion-image::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
    }

    .funcion-image::after {
        content: '';
        position: absolute;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        opacity: .35;
        filter: blur(60px);
        top: -60px;
        right: -40px;
        z-index: -1;
    }

    .funcion-image img {
        max-height: 440px;
        object-fit: contain;
        transition: transform .5s ease;
    }

    .funcion-image:hover img {
        transform: scale(1.03) translateY(-4px);
    }

.funcion-card {
    position: relative;
    background: #fff;
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 12px 32px rgba(16, 28, 54, .08);
    border: 1px solid rgba(16, 28, 54, .05);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
    align-self: center;
    height: auto;
}

    .funcion-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
    }

    .funcion-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(16, 28, 54, .12);
    }

.funcion-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.funcion-card-badge {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    transition: transform .3s ease;
}

.funcion-card:hover .funcion-card-badge {
    transform: rotate(-8deg) scale(1.05);
}

.funcion-card-eyebrow {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8592a6;
    margin-bottom: 4px;
}

.funcion-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: #1e2a44;
    line-height: 1.2;
}

.funcion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .funcion-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 10px;
        border-radius: 12px;
        transition: background .25s ease, transform .25s ease;
    }

        .funcion-list li + li {
            margin-top: 4px;
        }

        .funcion-list li:hover {
            transform: translateX(4px);
        }

.funcion-list-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform .3s ease;
}

.funcion-list li:hover .funcion-list-icon {
    transform: scale(1.1) rotate(-6deg);
}

.funcion-list-text {
    flex: 1;
    font-size: .95rem;
    font-weight: 500;
    color: #4a5568;
    line-height: 1.45;
    padding-top: 7px;
}

/* ---- Variantes de color (usan las variables del tema) ---- */
.funcion-card-accent .funcion-card-badge {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
    box-shadow: 0 10px 20px var(--c-accent-shadow);
}

.funcion-card-comp .funcion-card-badge {
    background: linear-gradient(135deg, var(--c-comp), var(--c-comp-light));
    box-shadow: 0 10px 20px var(--c-comp-shadow-hover);
}

.funcion-card-accent .funcion-list li:hover {
    background: var(--c-accent-softer);
}

.funcion-card-comp .funcion-list li:hover {
    background: var(--c-comp-softer);
}

.funcion-card-accent::before {
    background: linear-gradient(90deg, var(--c-accent), var(--c-accent-light));
}

.funcion-card-comp::before {
    background: linear-gradient(90deg, var(--c-comp), var(--c-comp-light));
}

.funcion-card-accent .funcion-list-icon {
    background: var(--c-accent-soft);
    color: var(--c-accent-dark);
}

.funcion-card-comp .funcion-list-icon {
    background: var(--c-comp-soft);
    color: var(--c-comp-dark);
}

@media (max-width: 1299.98px) {
    .row > .col-lg-7:has(.funcion-image),
    .row > .col-lg-5:has(.funcion-card) {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .row.flex-lg-row-reverse:has(.funcion-card) {
        flex-direction: row !important;
    }

    .funcion-image {
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 991px) {
    .funcion-image {
        padding: 24px 16px;
    }

        .funcion-image img {
            max-height: 340px;
        }

    .funcion-card {
        padding: 26px 22px;
    }

    .funcion-card-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 575px) {
    .funcion-image {
        padding: 16px 10px;
        border-radius: 16px;
    }

        .funcion-image img {
            max-height: 240px;
        }

    .funcion-card {
        padding: 20px 18px;
        border-radius: 16px;
    }

    .funcion-card-header {
        gap: 12px;
        margin-bottom: 18px;
    }

    .funcion-card-badge {
        width: 46px;
        height: 46px;
        font-size: 1.4rem;
        border-radius: 12px;
    }

    .funcion-card-title {
        font-size: 1.1rem;
    }

    .funcion-card-eyebrow {
        font-size: .68rem;
        letter-spacing: 1.2px;
    }

    .funcion-list li {
        padding: 8px;
        gap: 10px;
    }

    .funcion-list-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .funcion-list-text {
        font-size: .85rem;
        padding-top: 5px;
        line-height: 1.4;
    }

    .funcion-card:hover,
    .funcion-list li:hover {
        transform: none;
    }
}

/* =============================================================
   BLOG  (reutiliza tokens --c-comp / --c-accent del tema activo)
   ============================================================= */

/* ---- Hero ---- */
.blog-hero {
    padding: 56px 32px 48px;
}

/* ---- Toolbar (tags + búsqueda) ---- */
.blog-toolbar {
    background: #fff;
    border: 1px solid var(--c-comp);
    border-radius: 22px;
    padding: 22px 25px;
    margin-bottom: 36px;
    box-shadow: 0 10px 28px rgba(16, 28, 54, .06);
}

.blog-toolbar-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.blog-toolbar-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #1e2a44;
    margin-right: 4px;
    font-size: .92rem;
}

    .blog-toolbar-label i {
        color: var(--c-comp-dark);
        font-size: 1.05rem;
    }

.blog-tag {
    text-decoration: none;
    cursor: pointer;
    font-size: .82rem !important;
}

    .blog-tag i {
        color: var(--c-comp-dark);
        font-size: .92rem;
    }

    .blog-tag:hover {
        color: var(--c-comp-dark);
        text-decoration: none;
    }

.blog-tag-count {
    background: var(--c-comp-soft);
    color: var(--c-comp-dark);
    font-weight: 700;
    font-size: .72rem;
    padding: 1px 8px;
    border-radius: 999px;
    margin-left: 4px;
}

.blog-tag-active {
    background: var(--c-comp);
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px var(--c-comp-shadow) !important;
}

    .blog-tag-active i,
    .blog-tag-active .blog-tag-count {
        color: #fff !important;
        background: rgba(255, 255, 255, .22);
    }

/* ---- Search ---- */
.blog-search-input {
    border: 2px solid var(--c-comp);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease;
}

    .blog-search-input:focus-within {
        border-color: var(--c-comp-dark);
        box-shadow: 0 0 0 4px var(--c-comp-chip-bg);
    }

    .blog-search-input .input-group-text i {
        color: var(--c-comp-dark);
    }

    .blog-search-input .form-control:focus {
        box-shadow: none;
        background: #fff;
    }

.btn-blog-search {
    background: var(--c-comp);
    color: #fff;
    font-weight: 700;
    border: 0;
    padding: 0 22px;
    transition: background-color .25s ease, transform .25s ease;
}

    .btn-blog-search:hover {
        background: var(--c-comp-darker);
        color: #fff;
        transform: translateX(2px);
    }

/* ---- Grid ---- */
.blog-grid {
    margin-bottom: 60px;
}

.blog-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(16, 28, 54, .05);
    box-shadow: 0 12px 32px rgba(16, 28, 54, .06);
    display: flex;
    flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease;
    position: relative;
}

    .blog-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 44px rgba(16, 28, 54, .12);
    }

.blog-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--c-comp-soft), var(--c-accent-soft));
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.06);
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--c-comp-dark);
    font-size: 3rem;
    opacity: .35;
}

.blog-card-time {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    color: #1e2a44;
    font-size: .76rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(16, 28, 54, .1);
}

    .blog-card-time i {
        color: var(--c-comp-dark);
    }

.blog-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--c-comp-soft);
    color: var(--c-comp-dark);
    font-weight: 600;
    font-size: .72rem;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

    .blog-card-tag:hover {
        background: var(--c-comp-dark);
        color: #fff;
    }

    .blog-card-tag i {
        font-size: .8rem;
    }

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
}

    .blog-card-title a {
        color: #1e2a44;
        text-decoration: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color .25s ease;
    }

        .blog-card-title a:hover {
            color: var(--c-comp-dark);
        }

.blog-card-excerpt {
    color: #556074;
    font-size: .9rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(16, 28, 54, .1);
    margin-top: 4px;
}

.blog-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8592a6;
    font-size: .78rem;
    font-weight: 600;
}

    .blog-card-meta-item i {
        color: var(--c-comp-dark);
        font-size: .9rem;
    }

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--c-comp-dark);
    font-weight: 700;
    font-size: .82rem;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}

    .blog-card-link:hover {
        color: var(--c-comp-darker);
        transform: translateX(3px);
    }

    .blog-card-link i {
        transition: transform .25s ease;
    }

/* ---- Empty state ---- */
.blog-empty {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border-radius: 22px;
    border: 1px dashed rgba(16, 28, 54, .12);
}

.blog-empty-icon {
    font-size: 4rem;
    color: var(--c-comp);
    opacity: .55;
    display: block;
    margin-bottom: 12px;
}

.blog-empty-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e2a44;
    margin-bottom: 8px;
}

.blog-empty-text {
    color: #8592a6;
    margin-bottom: 22px;
}

/* ---- Pagination (segmented pill, sin gradientes) ---- */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 56px;
    margin-bottom: 12px;
}

    .blog-pagination .pagination {
        gap: 0;
        background: #fff;
        border: 1px solid var(--c-comp);
        border-radius: 15px;
        padding: 0px;
        overflow: hidden;
        box-shadow: 0 14px 32px rgba(31, 168, 218, .18);
    }

    .blog-pagination .page-item {
        margin: 0;
    }

        .blog-pagination .page-item + .page-item {
            margin-left: 4px;
        }

    .blog-pagination .page-link {
        border: 0 !important;
        background: transparent;
        color: var(--c-comp);
        font-weight: 600;
        font-size: 1.15rem;
        min-width: 50px;
        height: 50px;
        padding: 0 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background-color .2s ease, color .2s ease;
    }

        .blog-pagination .page-link i {
            font-size: 1.7rem;
            line-height: 1;
        }

    .blog-pagination .page-link-arrow {
        color: var(--c-comp);
    }

        .blog-pagination .page-link-arrow i {
            color: var(--c-comp);
        }

    .blog-pagination .page-link:hover {
        background: var(--c-comp-soft);
        color: var(--c-comp-darker);
    }

    .blog-pagination .page-item.active .page-link {
        background: var(--c-comp);
        color: #fff;
        font-weight: 800;
        box-shadow: 0 6px 16px var(--c-comp-shadow);
    }

    .blog-pagination .page-item.disabled .page-link,
    .blog-pagination .page-item.disabled .page-link i {
        background: transparent;
        color: #c5cbd6;
        cursor: not-allowed;
    }

/* ---- CTA final ---- */
.blog-cta {
    margin: 30px 0 60px;
}

.blog-cta-inner {
    position: relative;
    background: linear-gradient(120deg, var(--c-comp-hero-bg) 0%, #ffffff 50%, var(--c-accent-hero-bg) 100%);
    border-radius: 28px;
    padding: 48px 40px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(16, 28, 54, .05);
}

    .blog-cta-inner .hero-blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(70px);
        opacity: .45;
        z-index: -1;
    }

    .blog-cta-inner .hero-blob-comp {
        width: 320px;
        height: 320px;
        background: radial-gradient(circle at 30% 30%, var(--c-comp), transparent 70%);
        top: -100px;
        left: -60px;
    }

    .blog-cta-inner .hero-blob-accent {
        width: 360px;
        height: 360px;
        background: radial-gradient(circle at 70% 70%, var(--c-accent), transparent 70%);
        bottom: -120px;
        right: -80px;
    }

/* Imagen del banner: pegada al lado derecho y cubre todo el alto del card */
.develop-feature-rich {
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

html[dir=rtl] .develop-feature-rich {
    right: auto;
    left: 0;
    transform: rotateY(180deg);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .blog-hero {
        padding: 36px 22px 32px;
    }

    .blog-toolbar {
        padding: 18px 18px;
        border-radius: 18px;
    }

    .blog-cta-inner {
        padding: 36px 24px;
    }
}

@media (max-width: 575px) {
    .blog-hero {
        padding: 28px 16px 24px;
        border-radius: 20px;
    }

    .blog-toolbar {
        padding: 16px;
        border-radius: 16px;
    }

    .blog-toolbar-tags {
        gap: 8px;
    }

    .blog-card-body {
        padding: 18px 18px 20px;
    }

    .blog-card-title {
        font-size: 1.05rem;
    }

    .blog-pagination .pagination {
        border-radius: 16px;
        padding: 0px;
    }

    .blog-pagination .page-link {
        min-width: 46px;
        height: 46px;
        padding: 0 12px;
        font-size: 1rem;
    }

        .blog-pagination .page-link i {
            font-size: 1.3rem;
        }

    .blog-cta-inner {
        padding: 28px 20px;
        border-radius: 20px;
    }
}

/* =============================================================
   HEADER · MEGA-DROPDOWNS (Industrias y Soluciones)
   ============================================================= */
.pages-dropdown .dropdown-menu,
.industries-dropdown .dropdown-menu {
    max-width: 95vw;
    border: 1px solid var(--c-comp);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.pages-dropdown .dropdown-menu {
    min-width: 60px;
    overflow: hidden;
}

/* Ancho del panel de Soluciones. Anula el max-width: 910px / min-width: 990px
   de styles.css; se fija min y max al mismo valor porque min-width gana sobre
   max-width y si no coinciden el ancho real lo termina definiendo el min. */
.navbar-nav .mega-dropdown.pages-dropdown:hover .dropdown-menu {
    min-width: min(1050px, 95vw) !important;
    max-width: min(1050px, 95vw) !important;
}

    .pages-dropdown .dropdown-menu .col-md-9 {
        border-left: 1px solid #e5ecf2;
    }

.industries-dropdown .dropdown-menu {
    min-width: 960px;
}

/* Encabezado "Demos de Negocios" con subrayado de la paleta */
.industries-dropdown .dropdown-menu h5 {
    text-align: center;
    color: #1e2a44;
    padding-bottom: 14px;
    margin: 0;
    position: relative;
}

    .industries-dropdown .dropdown-menu h5::after {
        content: '';
        display: block;
        width: 56px;
        height: 3px;
        margin: 12px auto 0;
        background: linear-gradient(90deg, var(--c-comp), var(--c-accent));
        border-radius: 999px;
    }

/* Título debajo del card */
.industries-dropdown h6 {
    margin-top: 14px;
    color: #1e2a44;
    transition: color .25s ease;
}

.industries-dropdown .col:hover h6 {
    color: var(--c-comp-dark);
}

/* Recuadro de industria: fondo celeste con capas y detalles decorativos */
.industry-box {
    width: 100%;
    padding: 22px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .45) 0%, transparent 60%), radial-gradient(120% 90% at 100% 100%, rgba(13, 88, 130, .35) 0%, transparent 65%), linear-gradient(135deg, #6ED7FA 0%, var(--c-comp) 55%, var(--c-comp-dark) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 6px 18px var(--c-comp-shadow);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .industry-box::before,
    .industry-box::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        filter: blur(2px);
    }

    .industry-box::before {
        top: -36px;
        right: -36px;
        width: 90px;
        height: 90px;
        background: rgba(255, 255, 255, .22);
    }

    .industry-box::after {
        bottom: -38px;
        left: -38px;
        width: 70px;
        height: 70px;
        background: rgba(255, 255, 255, .12);
    }

    .industry-box img {
        position: relative;
        z-index: 1;
        transition: transform .45s ease, filter .45s ease;
        filter: drop-shadow(0 4px 8px rgba(8, 40, 60, .25));
    }

    .industry-box:hover {
        transform: translateY(-4px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 28px var(--c-comp-shadow-hover);
    }

        .industry-box:hover img {
            transform: scale(1.06) rotate(-3deg);
            filter: drop-shadow(0 8px 14px rgba(8, 40, 60, .3));
        }

/* === BOTÓN "VER EN YOUTUBE" / LIVE PREVIEW ===
   Gradiente coral-naranja (--c-accent) que es el complemento de la paleta
   celeste, así contrasta y resalta sobre el fondo del card. */
.industries-dropdown .lp-demos-btn {
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 16px !important;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, var(--c-accent-dark) 0%, var(--c-accent) 100%) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px var(--c-accent-shadow), 0 0 0 4px rgba(255, 255, 255, .35);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
    transform: translate(-50%, -50%) scale(.85);
    transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1.2), box-shadow .25s ease;
}

    .industries-dropdown .lp-demos-btn i {
        font-size: 1.1rem;
        line-height: 1;
    }

.industries-dropdown .industry-box:hover .lp-demos-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    animation: lp-pulse 1.6s ease-in-out infinite;
}

.industries-dropdown .lp-demos-btn:hover,
.industries-dropdown .lp-demos-btn:focus {
    color: #fff !important;
    animation: none;
    transform: translate(-50%, -50%) scale(1.06) !important;
    box-shadow: 0 14px 28px var(--c-accent-shadow), 0 0 0 5px rgba(255, 255, 255, .45);
}

@keyframes lp-pulse {
    0%, 100% {
        box-shadow: 0 8px 18px var(--c-accent-shadow), 0 0 0 4px rgba(255, 255, 255, .35);
    }

    50% {
        box-shadow: 0 8px 22px var(--c-accent-shadow), 0 0 0 9px rgba(255, 255, 255, .15);
    }
}

/* Sidebar celeste tenue con tabs invertidos */
.pages-dropdown-sidebar {
    background-color: rgba(69, 200, 249, 0.8);
}

    .pages-dropdown-sidebar .nav-pills .nav-link {
        color: #ffffff !important;
    }

    .pages-dropdown-sidebar .nav-pills .nav-link.active {
        background-color: #ffffff !important;
        color: var(--c-comp-dark) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    }

    .pages-dropdown-sidebar .nav-pills .nav-link:hover:not(.active) {
        background-color: rgba(255, 255, 255, .25) !important;
        color: #ffffff !important;
    }

/* Items de soluciones */
.sol-item {
    margin: 10px !important;
    height: 88px;
    align-items: center !important;
}

    .sol-item > div:last-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    .sol-item h6,
    .sol-item span {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .sol-item:hover {
        background-color: rgba(69, 200, 249, 0.1);
        color: var(--c-comp) !important;
    }

.sol-icon-box {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f6f9;
    border-radius: 10px;
    color: #5a6a85;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .sol-icon-box i {
        font-size: 25px;
        line-height: 1;
    }

.sol-item:hover .sol-icon-box {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
}

/* Paleta de colores temáticos por item */
.sol-icon-box--blue   { background-color: #dbeafe; color: #2563eb; }
.sol-icon-box--cyan   { background-color: #cffafe; color: #0891b2; }
.sol-icon-box--teal   { background-color: #ccfbf1; color: #0d9488; }
.sol-icon-box--green  { background-color: #dcfce7; color: #16a34a; }
.sol-icon-box--lime   { background-color: #ecfccb; color: #65a30d; }
.sol-icon-box--yellow { background-color: #fef9c3; color: #ca8a04; }
.sol-icon-box--amber  { background-color: #fef3c7; color: #d97706; }
.sol-icon-box--orange { background-color: #ffedd5; color: #ea580c; }
.sol-icon-box--red    { background-color: #fee2e2; color: #dc2626; }
.sol-icon-box--pink   { background-color: #fce7f3; color: #db2777; }
.sol-icon-box--purple { background-color: #f3e8ff; color: #9333ea; }
.sol-icon-box--violet { background-color: #ede9fe; color: #7c3aed; }
.sol-icon-box--indigo { background-color: #e0e7ff; color: #4f46e5; }
.sol-icon-box--slate  { background-color: #e2e8f0; color: #475569; }
.sol-icon-box--brown  { background-color: #fde68a; color: #78350f; }

/* Fix visibilidad tabs */
.pages-dropdown .tab-content {
    position: relative;
}

.pages-dropdown .tab-content > .tab-pane {
    display: none !important;
    position: absolute;
    width: 100%;
}

.pages-dropdown .tab-content > .tab-pane.active.show {
    display: block !important;
    position: relative;
}

/* =============================================================
   HEADER · MENÚ MÓVIL  
   ============================================================= */
.mobile-nav-offcanvas {
    --bs-primary: var(--c-comp);
    --bs-primary-rgb: 69, 200, 249;
    --bs-primary-bg-subtle: var(--c-comp-soft);
    width: 320px;
    max-width: 88vw;
    background: #ffffff;
}

    .mobile-nav-offcanvas .offcanvas-header {
        padding: 16px 20px;
        border-bottom: 1px solid #eef2f6;
    }

    .mobile-nav-offcanvas .mobile-brand-img {
        height: 32px;
        width: auto;
    }

    .mobile-nav-offcanvas .btn-close {
        opacity: .7;
    }

        .mobile-nav-offcanvas .btn-close:hover,
        .mobile-nav-offcanvas .btn-close:focus {
            opacity: 1;
            box-shadow: none;
        }
    .mobile-nav-offcanvas .offcanvas-body {
        padding: 10px 14px 18px;
    }

    .mobile-nav-offcanvas .nav-small-cap {
        list-style: none;
        padding: 8px 14px 6px;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #7c8fac;
    }
    .mobile-nav-offcanvas .sidebar-nav ul .sidebar-item .sidebar-link .ti,
    .mobile-nav-offcanvas .sidebar-nav ul .sidebar-item .first-level .sidebar-link .ti,
    .mobile-nav-offcanvas .sidebar-nav ul .sidebar-item .two-level .sidebar-link .ti {
        font-size: 22px;
        line-height: 1;
    }
    .mobile-nav-offcanvas .first-level > .sidebar-item > .sidebar-link.has-arrow {
        font-weight: 600;
        color: #2a3547;
    }

    .mobile-nav-offcanvas .sidebar-nav ul .sidebar-item .two-level {
        list-style: none;
        padding: 4px 0 8px 22px;
        margin: 4px 8px 8px;
        border-left: 2px solid #eef2f6;
    }

        .mobile-nav-offcanvas .sidebar-nav ul .sidebar-item .two-level .sidebar-item .sidebar-link {
            padding: 8px 10px;
            gap: 12px;
        }
    .mobile-nav-offcanvas .mn-cta {
        font-weight: 600;
        font-size: .95rem;
        min-height: 46px;
        padding: 12px 20px;
    }

@media (max-width: 991.98px) {
    .header .navbar .container {
        flex-wrap: nowrap;
    }

    .header .navbar-toggler {
        color: var(--c-comp);
        padding: 6px;
    }

        .header .navbar-toggler:focus {
            box-shadow: none;
        }
}

@media (min-width: 992px) {
    .mobile-nav-offcanvas {
        display: none !important;
    }
}

@media (min-width: 992px) {
    #main-wrapper {
        display: flex;
        align-items: flex-start;
        position: relative;
    }

    .rapifac-sidebar.left-sidebar {
        position: sticky !important;
        top: 0;
        left: 0 !important;
        align-self: flex-start;
        height: 100vh;
        max-height: 100vh;
        flex-shrink: 0;
    }

    .rapifac-sidebar .scroll-sidebar {
        height: auto !important;
        max-height: calc(100vh - 90px);
    }

    .page-wrapper {
        margin-left: 0 !important;
        flex: 1;
        min-width: 0;
    }

    .rapifac-footer {
        width: 100%;
        margin-left: 0;
        position: relative;
    }

    .nav-section-toggle {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }

    .nav-section-chevron {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
    }

    .nav-section-toggle[aria-expanded="true"] .nav-section-chevron {
        transform: rotate(180deg);
    }

    .nav-section-toggle.collapsed .nav-section-chevron {
        transform: rotate(0deg);
    }

    .nav-section-group {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }
}

/* =============================================================
   BLOG · DETAIL 
   ============================================================= */

/* ---- Hero detalle ---- */
.blog-detail-hero .hero-title {
    font-size: clamp(1.8rem, 3.4vw, 2.9rem);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.blog-detail-hero-excerpt {
    max-width: 760px;
    color: #556074;
    font-weight: 500;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.6;
}

.blog-detail-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: transparent;
    /*border: 1px solid rgba(16, 28, 54, .06);
    box-shadow: 0 6px 18px rgba(16, 28, 54, .05);*/
    color: #556074;
    font-weight: 600;
    font-size: .95rem;
}

    .blog-detail-breadcrumb a {
        color: var(--c-comp-dark);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        transition: color .25s ease;
    }

        .blog-detail-breadcrumb a:hover {
            color: var(--c-comp-darker);
        }

    .blog-detail-breadcrumb i.ti-chevron-right {
        font-size: .85rem;
        color: #c5cbd6;
    }

    .blog-detail-breadcrumb span {
        color: #1e2a44;
    }

.blog-detail-hero-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px 22px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(16, 28, 54, .06);
    box-shadow: 0 8px 22px rgba(16, 28, 54, .06);
}

.blog-detail-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e2a44;
    font-weight: 600;
    font-size: .88rem;
}

    .blog-detail-hero-meta-item i {
        color: var(--c-comp-dark);
        font-size: 1.05rem;
    }

.blog-detail-hero-meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(16, 28, 54, .18);
}

/* ---- Article wrapper ---- */
.blog-detail-article {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(16, 28, 54, .05);
    box-shadow: 0 18px 40px rgba(16, 28, 54, .08);
    margin-bottom: 56px;
    position: relative;
}

    .blog-detail-article::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        z-index: 2;
    }

/* ---- Cover image ---- */
.blog-detail-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: linear-gradient(135deg, var(--c-comp-soft), var(--c-accent-soft));
}

.blog-detail-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s ease;
}

.blog-detail-cover:hover .blog-detail-cover-image {
    transform: scale(1.02);
}

.blog-detail-cover-time {
    position: absolute;
    bottom: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    color: #1e2a44;
    font-weight: 700;
    font-size: .85rem;
    box-shadow: 0 10px 24px rgba(16, 28, 54, .14);
}

    .blog-detail-cover-time i {
        color: var(--c-comp-dark);
        font-size: 1rem;
    }

/* ---- Article body ---- */
.blog-detail-body {
    padding: 44px 150px 48px;
}

/* ---- Meta superior (autor + fecha) ---- */
.blog-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px dashed rgba(16, 28, 54, .12);
    margin-bottom: 28px;
}

.blog-detail-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.blog-detail-author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-comp-dark), var(--c-comp));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 18px var(--c-comp-shadow);
}

.blog-detail-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.blog-detail-author-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8592a6;
}

.blog-detail-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1e2a44;
}

.blog-detail-meta-list {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-left: auto;
}

.blog-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #556074;
    font-size: .85rem;
    font-weight: 600;
}

    .blog-detail-meta-item i {
        color: var(--c-comp-dark);
        font-size: 1rem;
    }
.blog-detail-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #1e2a44;
    font-weight: 500;
    padding: 18px 22px;
    border-left: 4px solid var(--c-comp);
    background: var(--c-comp-soft);
    border-radius: 0 14px 14px 0;
    margin-bottom: 32px;
}

.blog-detail-content {
    color: #2a3547;
    font-size: 1.02rem;
    line-height: 1.75;
}

    .blog-detail-content > *:first-child {
        margin-top: 0;
    }

    .blog-detail-content > *:last-child {
        margin-bottom: 0;
    }

    .blog-detail-content p {
        margin: 0 0 18px;
    }

    .blog-detail-content h1,
    .blog-detail-content h2,
    .blog-detail-content .blog-detail-heading,
    .blog-detail-content h3,
    .blog-detail-content h4 {
        color: #1e2a44;
        font-weight: 800;
        line-height: 1.3;
        margin: 15px 0 14px;
    }

    .blog-detail-content h1,
    .blog-detail-content h2,
    .blog-detail-content .blog-detail-heading {
        font-size: clamp(1.4rem, 2vw, 1.8rem);
        position: relative;
        padding-left: 18px;
    }

        .blog-detail-content h1::before,
        .blog-detail-content h2::before,
        .blog-detail-content .blog-detail-heading::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 70%;
            border-radius: 4px;
            background: linear-gradient(180deg, var(--c-comp), var(--c-accent));
        }

    .blog-detail-content h3 {
        font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    }

    .blog-detail-content h4 {
        font-size: 1.1rem;
    }

    .blog-detail-content a {
        color: var(--c-comp-dark);
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px dashed var(--c-comp);
        transition: color .25s ease, border-color .25s ease;
    }

        .blog-detail-content a:hover {
            color: var(--c-comp-darker);
            border-bottom-color: var(--c-comp-darker);
        }

    .blog-detail-content ul,
    .blog-detail-content .blog-detail-richtext ul {
        list-style: disc outside !important;
        padding-left: 26px;
        margin: 0 0 22px;
    }

    .blog-detail-content ol,
    .blog-detail-content .blog-detail-richtext ol {
        list-style: decimal outside !important;
        padding-left: 26px;
        margin: 0 0 22px;
    }

    .blog-detail-content ul ul,
    .blog-detail-content .blog-detail-richtext ul ul {
        list-style: circle outside !important;
        margin-bottom: 0;
    }

    .blog-detail-content ol ol,
    .blog-detail-content .blog-detail-richtext ol ol {
        list-style: lower-alpha outside !important;
        margin-bottom: 0;
    }

        .blog-detail-content ul li,
        .blog-detail-content ol li {
            margin-bottom: 8px;
            display: list-item;
        }

        .blog-detail-content ul li::marker {
            color: var(--c-comp-dark);
            font-size: 1.05em;
        }

        .blog-detail-content ol li::marker {
            color: var(--c-comp-dark);
            font-weight: 700;
        }

    .blog-detail-content blockquote {
        margin: 26px 0;
        padding: 18px 22px;
        border-left: 4px solid var(--c-accent);
        background: var(--c-accent-soft);
        border-radius: 0 14px 14px 0;
        color: #1e2a44;
        font-style: italic;
        font-size: 1.05rem;
    }

    .blog-detail-content code {
        background: var(--c-comp-soft);
        color: var(--c-comp-darker);
        padding: 2px 8px;
        border-radius: 6px;
        font-size: .9em;
        font-weight: 600;
    }

    .blog-detail-content pre {
        background: #1e2a44;
        color: #f1f5fb;
        padding: 18px 20px;
        border-radius: 14px;
        overflow-x: auto;
        margin: 0 0 22px;
        font-size: .9rem;
        line-height: 1.6;
    }

        .blog-detail-content pre code {
            background: transparent;
            color: inherit;
            padding: 0;
        }

    .blog-detail-content img {
        max-width: 100%;
        height: auto;
        border-radius: 14px;
        box-shadow: 0 12px 28px rgba(16, 28, 54, .1);
    }

    .blog-detail-content table {
        width: 100%;
        margin: 0 0 22px;
        border-collapse: collapse;
        font-size: .92rem;
    }

        .blog-detail-content table th,
        .blog-detail-content table td {
            padding: 10px 14px;
            border: 1px solid rgba(16, 28, 54, .08);
            text-align: left;
        }

        .blog-detail-content table th {
            background: var(--c-comp-soft);
            color: var(--c-comp-darker);
            font-weight: 700;
        }

    .blog-detail-content hr {
        border: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(16, 28, 54, .15), transparent);
        margin: 32px 0;
    }

/* ---- Figure (image block desde Umbraco) ---- */
.blog-detail-figure {
    margin: 20px 0;
    text-align: center;
}

.blog-detail-figure-image {
    max-width: 100%;
    width: auto;
    max-height: 520px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(16, 28, 54, .12);
    object-fit: cover;
}

.blog-detail-figure-caption {
    margin-top: 12px;
    color: #8592a6;
    font-size: .85rem;
    font-style: italic;
}

/* ---- Tags al cierre ---- */
.blog-detail-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px dashed rgba(16, 28, 54, .12);
}

.blog-detail-tags-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e2a44;
    font-weight: 700;
    font-size: .88rem;
    margin-right: 4px;
}

    .blog-detail-tags-label i {
        color: var(--c-comp-dark);
        font-size: 1rem;
    }

/* ---- Compartir ---- */
.blog-detail-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
    padding: 18px 22px;
    border-radius: 16px;
    border: 1px solid rgba(16, 28, 54, .12);
}

.blog-detail-share-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #45C8F9;
    font-size: .92rem;
}

    .blog-detail-share-label i {
        color: var(--c-comp);
        font-size: 1.1rem;
    }

.blog-detail-share-buttons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.blog-detail-share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #45C8F9;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(16, 28, 54, .08);
    border: 1px solid #45C8F9;
    transition: transform .25s ease, color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

    .blog-detail-share-btn:hover {
        transform: translateY(-3px);
        color: #fff;
        box-shadow: 0 12px 24px rgba(16, 28, 54, .14);
    }

.blog-detail-share-fb:hover {
    background: #45C8F9;
}

.blog-detail-share-li:hover {
    background: #45C8F9;
}

.blog-detail-share-wa:hover {
    background: #45C8F9;
}

/* ---- Related posts ---- */
.blog-detail-related {
    margin-bottom: 56px;
}

.blog-detail-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.blog-detail-related-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 800;
    color: #1e2a44;
    margin: 0;
    position: relative;
    padding-left: 18px;
}

    .blog-detail-related-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 70%;
        border-radius: 4px;
        background: linear-gradient(180deg, var(--c-comp), var(--c-accent));
    }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .blog-detail-body {
        padding: 32px 28px 36px;
    }

    .blog-detail-cover {
        aspect-ratio: 16 / 9;
    }

    .blog-detail-meta-list {
        margin-left: 0;
    }

    .blog-detail-share-buttons {
        margin-left: 0;
    }
}

@media (max-width: 575px) {
    .blog-detail-article {
        border-radius: 20px;
    }

    .blog-detail-body {
        padding: 26px 20px 28px;
    }

    .blog-detail-cover-time {
        bottom: 14px;
        right: 14px;
        padding: 8px 14px;
        font-size: .78rem;
    }

    .blog-detail-hero-meta {
        gap: 10px;
        padding: 8px 16px;
    }

    .blog-detail-hero-meta-item {
        font-size: .8rem;
    }

    .blog-detail-lead {
        padding: 14px 16px;
        font-size: 1.02rem;
    }

    .blog-detail-content {
        font-size: .98rem;
    }

        .blog-detail-content h1,
        .blog-detail-content h2,
        .blog-detail-content .blog-detail-heading {
            padding-left: 14px;
        }

    .blog-detail-share {
        padding: 14px 16px;
    }

}
.cert-box {
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tamaño pequeño (footer) */
.cert-sm {
    width: 70px;
    height: 70px;
}

/* =============================================================
   QUIÉNES SOMOS
   ============================================================= */
/* Marco único que unifica todo el contenido */
.about-wrapper {
    margin-top: 40px;
    margin-bottom: 56px;
    background: #fff;
    border: 1px solid rgba(16, 28, 54, .12);
    border-radius: 18px;
    padding: 40px 44px;
    box-shadow: 0 10px 30px rgba(16, 28, 54, .05);
}

.about-block + .about-block {
    margin-top: 10px;
    padding-top: 10px;
     
}

.about-heading {
    font-weight: 800;
    color: #1e2a44;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin-bottom: 16px;
}
    .about-heading.about-heading-sm {
        font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    }

.about-lead {
    color: #4a5568;
    font-size: 1.06rem;
    line-height: 1.78;
    margin-bottom: 0;
}

.about-mark-left {
    border: 1px solid rgba(16, 28, 54, .14);
    border-left: 5px solid var(--c-comp-dark);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(16, 28, 54, .07);
}

.about-highlight {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 18px 22px;
    border-radius: 12px;
    background: var(--c-comp-soft);
    border: 1px solid var(--c-comp-chip-border);
}

    .about-highlight i {
        flex-shrink: 0;
        font-size: 1.5rem;
        color: var(--c-comp-dark);
        margin-top: 2px;
    }

    .about-highlight span {
        color: #2a3547;
        font-size: .98rem;
        line-height: 1.6;
    }

    .about-highlight strong {
        color: #1e2a44;
    }
.download-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px 18px 32px;
    background: linear-gradient(135deg, var(--c-comp-dark) 0%, var(--c-comp) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 6px 16px var( --c-comp-shadow);
    transition: transform .28s ease, box-shadow .28s ease, padding .28s ease;
    overflow: hidden;
    isolation: isolate;
}

    .download-link::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--c-comp-dark) 0%, var(--c-comp) 100%);
        opacity: 0;
        transition: opacity .28s ease;
        z-index: -1;
    }

    .download-link:hover,
    .download-link:focus-visible {
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 12px 26px var(--c-comp-shadow);
        padding-right: 30px;
    }

        .download-link:hover::before,
        .download-link:focus-visible::before {
            opacity: 1;
        }

    .download-link:active {
        transform: translateY(0);
        box-shadow: 0 4px 10px var(--c-comp-shadow);
    }

.download-link-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .28s ease, transform .28s ease;
}

    .download-link-icon i {
        font-size: 1.15rem;
        color: #fff;
        transition: transform .28s ease;
    }

.download-link:hover .download-link-icon {
    background: rgba(255, 255, 255, 0.35);
}

.download-link:hover .download-link-icon i {
    animation: download-bounce .7s ease infinite;
}

.download-link-text {
    line-height: 1;
}

.download-link-arrow {
    font-size: 1.1rem;
    opacity: 0;
    margin-left: -6px;
    transform: translateX(-4px);
    transition: opacity .28s ease, transform .28s ease, margin-left .28s ease;
}

.download-link:hover .download-link-arrow {
    opacity: 1;
    margin-left: 0;
    transform: translateX(0);
}

@keyframes download-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(3px); }
}

@media (prefers-reduced-motion: reduce) {
    .download-link,
    .download-link::before,
    .download-link-icon,
    .download-link-icon i,
    .download-link-arrow {
        transition: none;
    }

    .download-link:hover .download-link-icon i {
        animation: none;
    }
}

/* Botones de tienda: menos padding y círculo de ícono más compacto */
.download-link:has(.download-link-icon) {
    padding: 12px 22px 12px 14px;
    gap: 10px;
}

    .download-link:has(.download-link-icon):hover,
    .download-link:has(.download-link-icon):focus-visible {
        padding-right: 22px;
    }

    .download-link:has(.download-link-icon) .download-link-icon {
        width: 30px;
        height: 30px;
    }

        .download-link:has(.download-link-icon) .download-link-icon i {
            font-size: 1rem;
        }

/* Variante blanca del download-link para botones de tienda (App Store) */
.download-link--white {
    background: #fff;
    color: var(--c-comp-dark);
    border: 2px solid var(--c-comp-chip-border);
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.08);
}

    .download-link--white::before {
        background: #fff;
    }

    .download-link--white:hover,
    .download-link--white:focus-visible {
        color: var(--c-comp-dark);
        border-color: var(--c-comp);
        box-shadow: 0 12px 26px rgba(17, 24, 39, 0.12);
    }

    .download-link--white .download-link-icon {
        background: var(--c-comp-soft);
    }

        .download-link--white .download-link-icon i {
            color: var(--c-comp-dark);
        }

    .download-link--white:hover .download-link-icon {
        background: var(--c-comp-chip-hover);
    }

/* =============================================================
   CTA del hero mas compactos en movil (Modulos / BackOffice / Apps)
   Los botones .download-link mantienen su ancho automatico, solo se
   reduce el tamano (padding, fuente e icono) en pantallas pequenas.
   ============================================================= */
@media (max-width: 575.98px) {
    .hero-actions .download-link {
        padding: 12px 18px 12px 20px;
        gap: 8px;
        font-size: .875rem;
    }

    .hero-actions .download-link-icon {
        width: 26px;
        height: 26px;
    }

        .hero-actions .download-link-icon i {
            font-size: .95rem;
        }

    /* Botones de tienda: padding aun mas ajustado */
    .hero-actions .download-link:has(.download-link-icon) {
        padding: 9px 16px 9px 10px;
    }
}

/* Certificados */
.cert-card {
    height: 100%;
    background: #fff;
    padding: 28px 24px;
    text-align: center;
}
 

    .cert-card .cert-title {
        font-weight: 700;
        color: #1e2a44;
        font-size: 1.12rem;
        margin-top: 18px;
        margin-bottom: 6px;
    }

    .cert-card .cert-sub {
        color: #6b7688;
        font-size: .9rem;
        margin-bottom: 0;
    }

.cert-frame {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(16, 28, 54, .10);
    padding: 14px;
}

    .cert-frame img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Misión / Visión */
.mv-card {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 32px 30px;
    overflow: hidden;
    border: 1px solid rgba(16, 28, 54, .12);
    transition: box-shadow .3s ease;
}

    .mv-card:hover {
        box-shadow: 0 10px 26px rgba(16, 28, 54, .08);
    }

    .mv-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: #1fa8da;
    }

.mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    background: #1fa8da;
    margin-bottom: 20px;
}

.mv-title {
    font-weight: 800;
    color: #1e2a44;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.mv-text {
    color: #4a5568;
    font-size: 1.06rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .about-wrapper {
        padding: 26px 20px;
    }

    .mv-card {
        padding: 26px 22px;
    }
}

.rapifac-swal-popup {
    border-radius: 18px !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(31, 168, 218, 0.25), 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid rgba(69, 200, 249, 0.25);
    max-width: 460px;
}

    .rapifac-swal-popup .swal2-html-container,
    .rapifac-swal-popup .swal2-actions {
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    .rapifac-swal-popup .swal2-actions {
        padding-bottom: 24px !important;
        margin-top: 18px !important;
        gap: 10px;
    }

.rapifac-swal-title {
    color: #12183A !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    padding: 18px 28px 0 28px !important;
    line-height: 1.3 !important;
}

.rapifac-swal-text {
    color: #5a6173 !important;
    font-size: .95rem !important;
    line-height: 1.55 !important;
    margin-top: 6px !important;
}

.rapifac-swal-icon {
    width: 78px !important;
    height: 78px !important;
    border: none !important;
    border-radius: 50% !important;
    margin: 28px auto 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 44px;
}

    .rapifac-swal-icon i {
        line-height: 1;
        font-size: 44px;
    }

.rapifac-swal-icon-success {
    background: linear-gradient(135deg, #45C8F9 0%, #1fa8da 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(69, 200, 249, 0.45);
}

.rapifac-swal-icon-error {
    background: linear-gradient(135deg, #ff7a8a 0%, #e83a52 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(232, 58, 82, 0.35);
}
.rapifac-swal-btn {
    background: linear-gradient(135deg, #45C8F9 0%, #1fa8da 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: .95rem !important;
    box-shadow: 0 6px 14px rgba(31, 168, 218, 0.35) !important;
    transition: transform .15s ease, box-shadow .15s ease !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

    .rapifac-swal-btn:hover,
    .rapifac-swal-btn:focus {
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(31, 168, 218, 0.45) !important;
        outline: none !important;
    }

.rapifac-swal-btn-outline {
    background: transparent !important;
    color: #1fa8da !important;
    border: 2px solid #45C8F9 !important;
    border-radius: 10px !important;
    padding: 8px 22px !important;
    font-weight: 600 !important;
}

.rapifac-swal-popup .swal2-loader {
    border-color: #45C8F9 transparent #45C8F9 transparent !important;
    width: 3.5rem;
    height: 3.5rem;
    margin: 24px auto 8px !important;
}

/* En las vistas con sidebar el logo va en el sidebar. Ocultamos el logo del
   header siempre que el sidebar sea visible (>= 992px). En movil el sidebar
   se oculta off-canvas, asi que el logo del header vuelve a mostrarse. */
@media (min-width: 992px) {
    .page-wrapper .header .navbar-brand {
        display: none;
    }
}

/* =============================================================
   PLANES 
   ============================================================= */
.plan-card {
    transition: transform .3s ease;
}

.plan-card:hover {
    transform: scale(1.03);
}

/* =============================================================
   PLAN RECOMENDADO 
   ============================================================= */
.plan-recomendado-badge {
    animation: plan-recomendado-badge-pulse 1.8s ease-in-out infinite;
}
.logo-navbar {
    width: clamp(120px, 18vw, 175px);
    height: auto;
}
.img-preguntas {
    width: clamp(150px, 20vw, 200px);
    height: auto;
}
.logo-cliente {
    width: clamp(220px, 25vw, 340px);
    height: auto;
    border-radius: 15px;
}
@keyframes plan-recomendado-badge-pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .plan-recomendado-badge {
        animation: none;
    }
}


 