﻿

.hero__cta {
    text-decoration: none;
    background-color: #808080;
    color: #fff;
    padding: 15px 60px;
    border: 1px solid;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
    transition: background-color .3s;
}

    .hero__cta:hover {
        /*background-color: #fff;*/
        /*color: #1e3c72;*/
        color: #061465;
    }

.hero__img {
    width: 100%;
}

.full-width {
    width: 100%;
    /*display: block;*/
}

.card-main {
    border-radius: 12px;
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin-bottom: 15px;
    /* 🔥 CLAVE PARA UNIFORMIDAD */
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.submenu-productos {
    position: absolute;
    bottom: 110%; /* aparece arriba */
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    width: 180px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
    opacity: 0;
    transition: all 0.2s ease;
}


    .submenu-productos a {
        text-decoration: none;
        color: #333;
        padding: 8px;
        border-radius: 6px;
        font-size: 14px;
        text-align: center;
    }


.submenu-productos a:hover {
    background: #f1f1f1;
}

/* 🔥 CUANDO SE MUESTRA */
    .submenu-productos.show {
        display: flex;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

.submenu-reportes {
    position: absolute;
    bottom: 110%; /* aparece arriba */
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    width: 180px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
    opacity: 0;
    transition: all 0.2s ease;
}

    .submenu-reportes a {
        text-decoration: none;
        color: #333;
        padding: 8px;
        border-radius: 6px;
        font-size: 14px;
        text-align: center;
    }

        .submenu-reportes a:hover {
            background: #f1f1f1;
        }

    /* 🔥 CUANDO SE MUESTRA */
    .submenu-reportes.show {
        display: flex;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }


/*.modal {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #111111bd;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s .9s;
    --transform: translateY(-100vh);
    --transition: transform .8s;
}

.modal--show {
    opacity: 1;
    pointer-events: unset;
    transition: opacity .6s;
    --transform: translateY(0);
    --transition: transform .8s .8s;
}


.modal__container {
    margin: auto;
    width: 90%;
    max-height: 90%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 6px;
    padding: 3em 2.5em;
    text-align: center;
    display: grid;
    place-items: center;
    grid-auto-columns: 100%;
    gap: 1em;
    position: relative;
    transform: var(--transform);
    transition: var(--transition);
}*/

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal--show {
    display: flex;
}

.modal__container {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.modal__title {
    font-size: 2.5rem;
}

.modal__paragraph {
    margin-bottom: 10px;
}

.modal__img {
    width: 90%;
    max-width: 300px;
    display: block;
}

.modal__close {
    text-decoration: none;
    color: #fff;
    padding: 15px 50px;
    border: 1px solid;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
    background-color: #F26250;
    transition: background-color .3s;
}

    .modal__close:hover {
        background-color: #fff;
        color: #F26250;
    }


@media (max-width: 767px) {

    .hero__cta {
        /*padding: 6px 15px;*/
        text-decoration: none;
        /*background-color: #808080;*/
        background-color: royalblue;
        color: white !important;
        /*color: #fff;*/
        border: 1px solid;
        border-radius: 6px;
        display: inline-block;
        font-size: 15px !important;
    }


    h2 {
        font-size: 18px !important;
        color: blue !important;
    }



    label {
        font-size: 12px !important;
    }
}
