@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.imgHero {
    position: relative;
    display: block;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 97%;
}

.imgHero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgHero::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 65px;
    border-bottom-left-radius: 65px;
}

.textHero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 26.9%;
    color: white;
}

.textMain {
    border-bottom: 2px solid rgb(255, 198, 41);
}

.textMain h2 {
    font-size: 3em;
    font-family: 'Open Sans';
    font-weight: bold;
}

.textHero p {
    padding: 1.1vh;
    font-size: 1em;
}

.textHero button {
    background-color: rgb(0, 15, 159);
    border-radius: 16px;
    padding: 0.7vh 3%;
    border: none;
}

.textHero button a {
    text-decoration: none;
    color: white;
    font-size: 0.8em;
    display: flex;
    gap: 18px;
    align-items: center;
}

.textHero button svg {
    height: 0.8vh;
}

.secondRow {
    padding: 3vh 2%;
    width: 81%;
    margin: 0 auto;
    margin-top: 9vh;
    border-radius: 51px;
    box-shadow: 4px 4px 19px rgba(15, 0, 0, 0.5);
    display: flex;
    margin-bottom: 9vh;
    box-sizing: border-box;
}

.secondRow .textMainRow {
    padding-right: 12%;
}

.titleRow {
    color: rgb(0, 15, 159);
    border-left: 4px solid rgb(255, 198, 41);
    padding-left: 1%;
    font-size: 1.2em;
}

.textRow {
    padding-top: 0.2vh;
    padding-bottom: 2.5vh;
}

.textMainRow button svg {
    height: 1vh;
}

.textMainRow button a {
    display: flex;
    text-decoration: none;
    color: white;
    align-items: center;
    font-size: 0.8em;
    justify-content: center;
    gap: 23.2px;
}

.textMainRow button {
    background-color: rgb(0, 15, 159);
    border: none;
    border-radius: 19px;
    padding: 1vh 0.5%;
    width: 25.3%;
}

.imgSecondRow {
    width: 74.1%;
}

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

.thirdRow {
    width: 97%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1vh 7%;
    box-sizing: border-box;
    background-color: rgb(242, 242, 242);
    box-shadow: 4px 4px 11px rgba(0, 0, 0, 0.5);
    border-radius: 51px;
    margin-bottom: 8vh;
}

.thirdRow .textMainRow {
    text-align: center;
    width: 38%;
    padding-bottom: 3vh;
}

.thirdRow .textMainRow h2 {
    color: rgb(0, 15, 159);
    font-size: 1.7em;
}

.thirdRow .galeriaRow {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5vh;
}

.imgGaleria > img {
    width: 100%;
    display: block;
    object-fit: contain;
}

.imgGaleria > svg {
    width: 100%;
    display: block;
}

.galeriaRow > .imgGaleria {
    background-color: white;
    padding: 0 2%;
    border-radius: 14%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 48vh;
    position: relative;
    box-shadow: 2px 2px 8px rgba(15, 0, 0, 0.5);
}

.imgGaleria > button {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%) translate(0, -18px);
}

.imgGaleria > button svg, .buttonFourthRow svg {
    height: 1vh;
}

.imgGaleria > button a, .buttonFourthRow a {
    display: flex;
    text-decoration: none;
    color: white;
    align-items: center;
    font-size: 0.8em;
    justify-content: center;
    gap: 23.2px;
}

.imgGaleria > button {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%) translate(0, -18px);
    background-color: rgb(0, 15, 159);
    border: none;
    border-radius: 19px;
    padding: 1vh 0.8%;
    width: 40.6%;
}

/* NUEVOS CAMBIOS 02/12/2025 */

.fourthRow {
    width: 81%;
    margin: 0 auto;
    margin-bottom: 8vh;
}

.textMainFourthRow {
    display: flex;
    width: 20%;
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 3%;
    margin-bottom: 4vh;
}

.textMainFourthRow hr {
    margin: 0;
    width: 4px;
    background-color: rgb(255, 198, 41);
    border: none;
    margin-right: 3%;
}

.textMainFourthRow h2 {
    color: rgb(0, 15, 159);
    font-size: 1.6em;
    line-height: 100%;
    margin: 0;
    padding: 1.6vh 0;
}

.cardsUpRow img, .cardsDownRow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cardsUpRow, .cardsDownRow {
    display: flex;
    align-items: center;
    width: 100%;
}

.cardsUpRow {
    margin-bottom: 8px;
}

.cardsDownRow {
    margin-bottom: 3vh;
}

.firstCardContent, .fourthCardContent {
    position: relative;
    width: 38%;
    height: 35vh;
}

.secondCardContent, .thirdCardContent {
    position: relative;
    width: 62%;
    height: 35vh;
}

.firstCardContent, .thirdCardContent {
    margin-right: 8px;
}

.imgFirstCard, .imgSecondCard, .imgThirdCard, .imgFourthCard {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.imgFirstCard::after, .imgSecondCard::after, .imgThirdCard::after, .imgFourthCard::after {
    content: '';
    width: 100%;
    height: 100%;
    z-index: -0;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
}

.imgSecondCard img {
    object-position: 50% 34%;
}

.textCardContent {
    width: 28.5vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.textCardContent h3 {
    text-align: center;
    color: rgb(255, 255, 255);
    margin: 0;
    padding: 1vh 0;
    font-size: 1.3em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.textCardContent hr {
    margin: 0;
    background-color: rgb(255, 198, 41);
    border: none;
    width: 100%;
    height: 2px;
}

.textCardContent p {
    color: rgb(255, 255, 255);
    margin: 0;
    padding-top: 1.5vh;
    font-size: 0.9em;
    font-family: 'Open Sans';
    font-weight: 400;
}

.buttonFourthRow {
    background-color: rgb(0, 15, 159);
    border: none;
    border-radius: 19px;
    padding: 1vh 0.8%;
    width: 145px;
    margin-left: 100%;
    transform: translateX(-120%);
}