﻿/* TOPBAR */
header {
    /*color: white;*/
    padding: 0px;
}

.topbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    z-index: 1030;
}

.topbar-inner {
    width: 100%;
    max-width: 1000px;
    min-height: 22px;
    margin: 0 auto;
    padding: 1px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
}

.left-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .brand-logo img {
        display: block;
        width: 44px;
        height: 44px;
        object-fit: contain;
    }

.brand-name a {
    display: flex;
    align-items: baseline;
    gap: 5px;
    text-decoration: none;
    white-space: nowrap;
}

.brand-text {
    color: #475569;
    font-size: 25px;
    font-weight: 700;
}

.brand-text2 {
    color: #173d75;
    font-size: 20px;
    font-weight: 600;
}



/* Menu */
.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

    .menu li {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .menu a {
        color: #334155;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
    }

        .menu a:hover {
            color: #175cd3;
        }


/* Layout central */
.bodycontent {
    width: 100%;
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}

.bodycontent-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* CONTENT */
.bodycontent-content {
    width: 100%;
    flex: 1;
    padding: 0px 0px 0px 0px;
    margin: 0px;
}

.content-card {
    background: #ffffff;
    padding: 16px 0px;
    margin: 14px 2px 10px 2px;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: 20px;
    min-height: 400px;
    /*box-shadow: 0 6px 24px rgba(0,0,0,0.08);*/
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.08), inset 0 3px 8px rgba(255, 255, 255, 0.3);
}


/* SIDEBAR */
.sidebar {
    width: 200px;
    /*background: #111827;*/
    color: white;
    padding: 2px;
}


/* FOOTER */
.footer {
    width: 100%;
    font-family: sans-serif, Helvetica, Arial;
    font-size: 0.80rem;
    background: #1f2937;
    color: white;
    border-top: 1px solid #a6a5a5;
    border-bottom: 1px solid #a6a5a5;
    padding: 12px 16px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    flex: 1;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 2;
    text-align: center;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

    .footer a:hover {
        color: #d1d5db;
    }

/* Evitar que imágenes rompan el layout */
img {
    max-width: 100%;
}

.brand-image {
    margin-left: 0px !important;
    margin-right: 8px !important;
    margin-top: 0px !important;
    max-height: 40px !important;
}

.brand-text {
    font-family: 'Arial Rounded MT', Helvetica, Arial, sans-serif;
    font-size: 25pt !important;
    color: #000000 !important;
    /*line-height: 1.5;*/
    padding: 0px 0px !important;
    font-weight: 200 !important;
}

.brand-text2 {
    font-family: 'Arial Rounded MT', Helvetica, Arial, sans-serif;
    font-size: 25pt !important;
    color: #037CB5 !important;
    padding: 0px 0px !important;
}



/* CONTENEDORES */
.container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    align-content: center;
    padding: 20px 20px 40px 20px;
}

.seccion-blanca {
    background: white;
}

.seccion-gris {
    /*background: #f7f9fc;*/
    background: linear-gradient(120deg, #f4f8fd, #eaf3ff);
}

.portal-docs {
    background: linear-gradient(135deg, #eef5ff, #f7faff);
    padding: 60px 20px;
    text-align: center;
}

.hero-blue {
    border-radius: 20px;
    padding: 10px 10px;
    margin: 0px 2px 10px 2px; /* más espacio arriba y abajo */
    /*max-width: 1300px;*/
    color: white;
    background: linear-gradient(145deg, #0078C8, #1181CB);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.08), inset 0 3px 8px rgba(255, 255, 255, 0.3);
}

/* HERO */
.hero-lightblue {
    border-radius: 20px;
    padding: 4px 30px 20px 30px;
    margin: 0px 2px 10px 2px;
    color: black;
    background: radial-gradient(ellipse at 75% 65%, #d8edff 0%, transparent 58%), linear-gradient(120deg, #f7fbff, #eaf6ff);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.08), inset 0 3px 8px rgba(255, 255, 255, 0.3);
}

    .hero-lightblue h1 {
        margin: 17px 0;
        font-size: clamp(2.25rem, 4vw, 3.6rem);
        line-height: 1.08;
        font-weight: 800;
        letter-spacing: -1.8px;
    }

        .hero-lightblue h1 span {
            color: #087ff5;
        }

        .hero-lightblue h2 span {
            color: #087ff5;
        }

.hero-lightblue-copy > p {
    max-width: 480px;
    margin: 0;
    color: var(--sp-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-texto {
    /*flex: 1;*/
    width: 65%;
}

    .hero-texto h1 {
        font-size: 40px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .hero-texto p {
        font-size: 17px;
        margin-bottom: 26px;
        opacity: 0.95;
    }

.hero-imagen {
    /*flex: 1;*/
    width: 30%;
    text-align: right;
}

    .hero-imagen img {
        max-width: 100%;
        height: auto;
        border-radius: 15px;
    }


.hero-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0px 20px 0px;
    padding: 16px 16px;
    border-radius: 19px;
    background: linear-gradient(110deg, #075db4, #1188ef);
    color: #fff;
}

.hero-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 67px;
    width: 67px;
    height: 67px;
    border-radius: 50%;
    background: #ffffff20;
    font-size: 1.7rem;
}

.hero-contact-text {
    flex: 1;
    min-width: 0;
}

    .hero-contact-text > span {
        font-size: .69rem;
        letter-spacing: 1px;
    }

    .hero-contact-text h2 {
        margin: 7px 0;
        font-size: clamp(1.15rem, 2vw, 1.55rem);
        font-weight: 750;
        line-height: 1.35;
    }

    .hero-contact-text p {
        margin: 0;
        color: #e7f3ff;
        font-size: .85rem;
        line-height: 1.6;
    }



.contenido-principal {
    background: white;
    /*max-width: 1300px;*/
    margin: 0px auto 10px auto;
    border-radius: 30px;
    padding: 25px 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.07), 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* CARDS */
.grid-soluciones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* BENEFICIOS */
.grid-beneficios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 20px;
    font-size: 18px;
}

/* BOTONES */
.btn-custom {
    border-radius: 12px !important;
}

.btn-textwhite {
    color: #fff !important;
}

.icon-blue {
    background: #1686f5;
}

.icon-green {
    background: #23b779;
}

.icon-purple {
    background: #8061e9;
}

.icon-orange {
    background: #fa841d;
}

.icon-red {
    background: #f14b58;
}

.icon-cyan {
    background: #15b4c4;
}

.icon-pink {
    background: #ec5792;
}

.icon-yellow {
    background: #e5a900;
}


.download-list {
    display: flex;
    flex-direction: column;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    border-bottom: 1px dashed #ccc;
}

.download-info {
    flex: 1;
}

.download-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.download-desc {
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}

.download-action {
    margin-left: 20px;
}

    .download-action .btn {
        padding: 6px 14px;
        font-size: 13px;
    }