
:root {
    --blue-dark: #032b52;
    --blue-dark-2: #00264a;

    --blue: #00a5df;
    --blue-light: #20b8ec;

    --cyan: #00c6ff;

    --white: #ffffff;
    --background: #f5f8fb;

    --text: #17324d;
    --text-light: #4e5b68;

    --border: #dce5ec;

    --shadow:
        0 10px 30px rgba(0, 40, 80, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Overpass', sans-serif;
    background: var(--background);
    color: var(--text);
    font-weight: normal;
    font-size: 100%;
    padding-bottom: 55px;
}


header {
    background-color: black;
    height: 65px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.menuNavegacion {
    background-color: black;
    height: 60px;
    padding: 5px 5px;
}

.logoPrincipal {
    position: absolute;
    left: 10px;
}

.checkbox {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    opacity: 0;
}

.cerrar {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    pointer-events: none;
}

.menu {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    pointer-events: none;
}

.cerrar {
    display: none;
}

.checkbox:checked ~ .menu {
    display: none;
}

.checkbox:checked ~ .cerrar {
    display: block;
}

.checkbox:checked ~ .menuItems {
    top: 60px;
}

.menuItems {
    width: 180px;
    position: absolute;
    top: -360px;
    z-index: -1;
    right: 0;
    transition: 250ms;
}

.menuItems li {
    list-style: none;
}

.menuItems li a {
    text-decoration: none;
    background-color: black;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: white;
    font-weight: bold;
    gap: 10px;
}

.menuItems li a img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}

.menuItems li a:hover {
    background-color: #69b0ee;
    color: black;
}


.soluciones-section {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    margin-top: 50px;
    padding: 40px 25px 70px;
}

.soluciones-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 35px;
}

.header-line {
    display: block;
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-dark), var(--blue));
    margin: 0 auto 15px;
    border-radius: 10px;
}

.soluciones-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: -1px;
    color: var(--blue-dark);
}

.soluciones-header p {
    margin-top: 15px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

.soluciones-banner {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 40, 80, 0.15);
}

.soluciones-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 35, 70, 0.30), rgba(0, 170, 230, 0.05));
    pointer-events: none;
}

.soluciones-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.soluciones-intro {
    text-align: center;
    margin: 50px auto 35px;
}

.intro-line {
    width: 300px;
    height: 3px;
    margin: 0 auto 15px;
    background: linear-gradient(90deg, var(--blue-dark), var(--blue));
}

.soluciones-intro h2 {
    color: var(--blue-dark);
    font-size: 27px;
    margin-bottom: 8px;
}

.soluciones-intro p {
    color: var(--text-light);
    font-size: 15px;
}


.soluciones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 35px;
}

.solucion-card {
    position: relative;
    background: white;
    min-height: 370px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: visible;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 40, 80, 0.07);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.solucion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 40, 80, 0.16);
}

.biocontrol {
    background: linear-gradient(135deg, #010f2c, #063c75);
}

.sapienedu {
    background: linear-gradient(135deg, #459ED7, #38c9f5e8);
}

.menuctrl {
    background: linear-gradient(135deg, #4e2f1a, #a86b3d);
}

.partnet {
    background: linear-gradient(135deg, #d95d00, #ff9d32);
}

.card-top {
    width: 100%;
    height: 80px;
    border-radius: 9px 9px 0 0;
}

.solucion-image {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 90px;
    background-color: white;
    border: 4px solid white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 40, 80, 0.25);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.solucion-image:hover {
    transform: translateX(-50%) scale(1.06);
    box-shadow: 0 9px 25px rgba(0, 150, 220, 0.35);
}

.solucion-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.card-content {
    padding: 85px 30px 28px;
}

.card-content h3 {
    color: var(--blue-dark);
    font-size: 23px;
    margin-bottom: 12px;
}

.card-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.65;
    max-width: 480px;
    margin: 0 auto;
}

.card-description {
    margin-top: 10px !important;
}

.card-action {
    display: inline-block;
    border: none;
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    margin-top: 18px;
    cursor: pointer;
    font-size: 14px;
    transition: color 200ms ease, transform 200ms ease;
}

.card-action:hover {
    transform: translateY(-2px);
}

.biocontrol-btn {
    color: #07528e;
}

.biocontrol-btn:hover {
    color: #032b52;
}

.sapienedu-btn {
    color: #0084b8;
}

.sapienedu-btn:hover {
    color: #005c82;
}

.menuctrl-btn {
    color: #8a542f;
}

.menuctrl-btn:hover {
    color: #5e321a;
}

.partnet-btn {
    color: #e16b0a;
}

.partnet-btn:hover {
    color: #b94d00;
}


.soluciones-footer {
    text-align: center;
    margin-top: 60px;
}

.footer-line {
    width: 300px;
    height: 2px;
    background: var(--blue);
    margin: 0 auto 20px;
}

.soluciones-footer p {
    color: var(--text-light);
    line-height: 1.8;
}

.soluciones-footer strong {
    color: var(--blue-dark);
    font-size: 18px;
}

.modal-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: white;
    text-decoration: none;
    padding: 13px 25px;
    border-radius: 7px;
    font-weight: 700;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 140, 210, 0.30);
}


.copyright {
    font-weight: bold;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

footer {
    left: -1px;
    background-color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: white;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.redes-sociales {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.redes-sociales a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.social-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 50%;
}

.Facebook:hover {
    color: #1877f2;
}

.Instagram:hover {
    color: #e1306c;
}

.Youtube:hover {
    color: #ff0000;
}

.Tiktok:hover {
    color: lightgray;
}


/* ==== DESKTOP ==== */
@media (min-width: 1190px) {
    .checkbox,
    .menu,
    .cerrar {
        display: none;
    }

    .menuItems {
        top: 0;
        z-index: 1;
        width: unset;
        display: flex;
    }

    .menuItems li a {
        height: 60px;
        padding: 10px;
        margin-top: 0;
    }
}

/* ==== TABLET ==== */
@media (max-width: 850px) {
    .redes-sociales {
        display: none;
    }
}

@media (max-width: 800px) {
    .soluciones-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

/* ==== MÓVIL ==== */
@media (max-width: 600px) {
    body {
        padding-bottom: 50px;
    }

    .soluciones-section {
        padding: 30px 15px 50px;
    }

    .soluciones-banner {
        height: 160px;
    }

    .soluciones-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .solucion-card {
        min-height: 370px;
    }

    .solucion-image {
        width: 260px;
        height: 75px;
    }

    .card-content {
        padding: 80px 20px 25px;
    }

    .card-content h3 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 14px;
    }
}

/* ==== PANTALLAS MUY PEQUEÑAS ==== */
@media (max-width: 400px) {
    .soluciones-header h1 {
        font-size: 29px;
    }

    .header-line,
    .intro-line,
    .footer-line {
        width: 220px;
    }

    .solucion-image {
        width: 155px;
        height: 90px;
        border-radius: 12px;
    }
}