@font-face {
    font-family: r1;
    src: url("../../rg/fonts/alliance_No1_Regular.woff");
    font-display: swap;
}
@font-face {
    font-family: r2;
    src: url("../../rg/fonts/alliance_No2_Regular.woff");
    font-display: swap;
}
@font-face {
    font-family: s1;
    src: url("../../rg/fonts/Alliance_No1_SemiBold.woff");
    font-display: swap;
}
@font-face {
    font-family: s2;
    src: url("../../rg/fonts/alliance_No2_SemiBold.woff");
    font-display: swap;
}
@font-face {
    font-family: b1;
    src: url("../../rg/fonts/alliance_No1_Bold.woff");
    font-display: swap;
}
@font-face {
    font-family: b2;
    src: url("../../rg/fonts/alliance_No2_Bold.woff");
    font-display: swap;
}

:root {
    --primario: #001955;
    --bg1: #001B59; 
    --secundario: #1E6EF0;
    --secundario2: #2867D4;
    --bg2: #D2E3F7;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


::-webkit-scrollbar {
    display: none;
}

.bg {
    display: flex;
    flex-direction: column;
}

header {
    font-family: r1;
    position: fixed;
    display: flex;
    width: 100%;
    height: 100px; 
    padding-inline: 120px;
    background: var(--white);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    animation: fadeInDownBig;
    animation-duration: 0.5s; 
    animation-timing-function: ease;
    animation-fill-mode: both;
}

.menu_pc {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.items_pc {
    display: flex;
    align-items: center;
    gap: 30px;
}

.item_pc:nth-child(1) {
    color: var(--secundario2);
}

.item_pc {
    display: inline-block;
    text-decoration: none;
    color: var(--primario);
    transition: 0.2s all ease-out;
}

.item_pc:hover {
    color: var(--secundario2);
}

.btn_pc {
    font-family: r1;
    font-size: 16px;
    padding: 10px 32px 10px 32px;
    background: var(--primario);
    color: var(--white);
    border: none;
    border-radius: 20px;
    transition: 0.2s all ease-out;
}

.btn_pc:hover {
    background: var(--secundario2);
}

.idioma {
    display: flex;
    align-items: center;
}

.idioma_en {
    font-family: s1;
    font-size: 16px;
    padding: 2px 5px 2px 5px;
    background: var(--white);
    color: var(--primario);
    opacity: 20%;
    border: none;
    transition: 0.1s all ease-out;
}

.idioma_en:hover {
    opacity: 100%;
    color: var(--secundario2);
}

.idioma_es {
    font-family: s1;
    font-size: 16px;
    padding: 2px 5px 2px 5px;;
    background: var(--white);
    color: var(--primario);
    border: none;
    border-left: 1px solid var(--primario);
    transition: 0.1s all ease-out;
}

.idioma_es:hover {
    color: var(--secundario2);
}

.menu_mv {
    display: none;
}


.secciones {
    font-family: r1;
}

.seccion_1 {
    font-family: b1;
    display: flex;
    height: 100vh;
    margin: 0 auto;
    padding-inline: 120px;
}

.txt_01 {
    font-size: 40px;
    margin-top: 180px;    
    transition: transform 1s ease;
}

.txt_01 h1 {
    overflow: hidden;
    animation: fadeInLeft; 
    animation-duration: 2s; 
}


.seccion_2 {
    display: flex;
    padding-right: 120px;
    height: 100vh;  
    color: var(--primario);  
    gap: 50px;
    flex-direction: row;
}

.seccion_2 img {
    width: 600px;
    height: 380px;
    object-fit: cover;
    margin-block: 50px;
}

.txt_02 h2 {
    font-size: 40px;
    margin: 20px;
}

.txt_02 p {
    line-height: 1.5rem;
    margin: 20px;
}

.txt_02 p:nth-child(2){
    margin-top: 20px;
}

.txt_02 button {
    font-family: s1;
    font-size: 16px;
    margin: 20px;
    padding: 14px 48px 14px 48px;
    background: var(--secundario);
    color: var(--white);
    border: none;
    border-radius: 30px;
    transition: all 0.2s ease-out;
}

.txt_02 button:hover {
    background: var(--primario);
}

.seccion_3 {
    background: linear-gradient(var(--primario), var(--secundario) );
    padding-block: 90px;
    padding-inline: 120px;
}

.title_seccion_3 {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}
.title_seccion_3 img {
    width: 20px;
    height: 20px;
}
.title_seccion_3 h3 {
    font-family: s1;
    font-size: 32px;
    color: var(--white);
}


.items_foda {
    margin-top: 50px;
    column-count: 2; /* El número de columnas deseado */
    column-gap: 40px;

}


.item_foda {
    font-size: 16px;
    max-width: 548px;
    margin-block-end: 40px;
    background-color: var(--white);
    color: var(--primario);
    break-inside: avoid-column;
    border-radius: 10px;
    overflow: hidden;
}

.item_foda h5 {
    font-family: b1;
    font-size: 24px;
}

.txt_03 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 40px;
}

.txt_03 hr {
    opacity: 40%;
}

.txt_03 ul {
    padding-inline: 18px;
}

.item_foda > * {
    width: 100%;
}

.seccion_4 {
    width: 100%;
    padding-inline: 120px;
    padding-block: 90px;
    background: linear-gradient(var(--bg2), var(--white));

}

.title_seccion_4 { 
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}

.title_seccion_4 img {
    width: 20px;
    height: 20px;
}
.title_seccion_4 h3 {
    font-family: s1;
    font-size: 32px;
    color: var(--primario);
}


.contenido_politicas {
    display: grid;
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.politica {
    display: flex;
    padding-block: 40px;
    padding-inline: 38px;
    background: var(--white);
    color: var(--primario);
    gap: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px #00195538;
}

.politica img {
    width: 60px;
    height: 60px;
}

.politica > * {
    width: 100%;
}

.txt_04 h5 {
    font-family: b1;
    font-size: 24px;
}
.txt_04 p {
    line-height: 1.8rem;
}
.txt_04 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.txt_04 button {
    font-family: s1;
    font-size: 16px;
    width: 180px;
    padding: 12px;
    background-color: var(--secundario);
    color: var(--white);
    border: none;
    border-radius: 20px;
    transition: 0.5s all;
}
.txt_04 button:hover {
    background-color: var(--primario);

}
.seccion_5 {
    position: relative;
    display: grid;
    width: 100%;
    height: 100vh;
    padding-block: 90px;
    padding-inline: 120px;
    background-color: var(--bg1);
    color: var(--white);
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    align-items: start;
    overflow: hidden;
}

.title_seccion_5 h2 {
    font-size: 42px;
}

.seccion_5 .btn {
    display: flex;
    gap: 10px;
    justify-content: end;
}

.btn .btn-anterior, .btn-siguiente {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
}

.btn .btn-anterior {
    background-color: var(--bg1);
    color: var(--white);
    border: 0.1px solid var(--white);
}

.btn .btn-siguiente {
    background-color: var(--secundario);
    color: var(--white);
}

.btn-anterior, .btn-siguiente {
    display: flex;
    justify-content: center;
    align-items: center;
}


.contenido_publicaciones {
    position: absolute;
    display: flex;
    padding-left: 220px;
    margin-top: 200px;
    gap: 50px;
}

.publicacion {
    display: flex;
    width: 900px;
    background-color: var(--bg2);
    color: var(--primario);
    border-radius: 10px;
    align-items: center;
    justify-items: center;
    overflow: hidden;
}

.txt_05 {
    display: flex;
    padding-block: 20px;
    padding-inline: 40px;
    flex-direction: column;
    gap: 20px;
}

.txt_05 h3 {
    font-size: 32px;
}

.txt_05 p {
    line-height: 1.8rem;
}

.txt_05 p:nth-child(1) {
    color: rgb(24, 184, 170);
}

.txt_05 a {
    color: var(--secundario);
    text-decoration: none;
}

.publicacion img {
    object-fit: cover;
}

.seccion_6 {
    height: 100vh;
    padding-block: 90px;
    padding-inline: 120px;
}


.title_seccion_6 { 
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}

.title_seccion_6 img {
    width: 20px;
    height: 20px;
}
.title_seccion_6 h3 {
    font-family: s1;
    font-size: 32px;
    color: var(--primario);
}

.contenido_certificaciones {
    display: flex;
    margin-top: 50px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.certificacion .iso {
    background-color: #D2E3F7;
    width: 100%;
    height: 200px;
}
.certificacion {
    display: flex;
    width: 200px;
    flex-direction: column;
    gap: 10px;
}

footer {
    font-family: r1;
    display: flex;
    padding-inline: 120px;
    padding-block-start: 80px;
    padding-block-end: 20px;
    background: var(--primario);
    color: var(--white);
    flex-direction: column;
    gap: 20px;
}

.seccion1_footer {
    display: flex;
    gap: 40px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.txt_footer img {
    width: 90px;
    margin-bottom: 4px;
}

.txt_footer {
    display: flex;
    width: 340px;
    flex-direction: column;
    gap: 18px;
}

.txt_footer p {
    line-height: 1.8rem;
}

.menu_footer {
    width: 200px;
}

.menu_footer h5 {
    font-size: 20px;
}

.menu_footer_pc {
    display: flex;
    margin-top: 26px;
    flex-direction: column;
    gap: 14px;
}

.menu_footer_pc a {
    color: var(--white);
    text-decoration: none;
    transition: 0.1s all ease-out;
}

.menu_footer_pc a:hover {
    color: var(--secundario2);
}


.contacto_footer h5 {
    font-size: 20px;
}

.contacto_footer button {
    font-family: s1;
    font-size: 16px;
    width: 180px;
    margin-top: 26px;
    padding: 12px;
    background-color: var(--secundario);
    color: var(--white);
    border: none;
    border-radius: 20px;
}

.contacto_footer button:hover {
    background-color: var(--white);
    color: var(--secundario);
}


.contacto_footer .telefono p {
    margin-top: 26px;
}

.certificaciones_footer {
    width: 200px;
}
.certificaciones_footer h5 {
    font-size: 20px;
}

.certificaciones_footer .items {
    display: flex;
    margin-top: 26px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;

}

.certificaciones_footer .item {
    width: 80px;
    height: 80px;
    background-color: var(--bg2);
}

.derechos-footer {
    font-size: 12px;
    display: flex;
    margin-top: 30px;
    padding-block: 20px;
    border-top: 1px solid var(--bg2);
    justify-content: space-between;
}

@media (max-width: 1200px) {
    header .menu_pc {
        display: none;
    }
    
    header .menu_mv {
        display: flex;
        flex-direction: column;
        gap: 5px;
        border: none;
    }
    
    .menu_mv span {
        width: 32px;
        height: 3px;
        background-color: var(--primario);
    }
    
    .seccion_2 img {
        display: none;
    }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1200px) {
    header {
        padding-inline: 60px;
    }
    
    .seccion_1 {
        padding-inline: 60px;
    }
    
    .txt_01 {
        font-size: 32px;
    }

    .seccion_2 {
        padding-inline: 160px;
    }
    
    .seccion_3 {
        padding-inline: 60px;
    }
    
    .title_seccion_3 h3 {
        font-size: 28px;
    }

    .seccion_4 {
        padding-inline: 60px;
    }

    .seccion_5 {
        display: flex;
        height: auto;
        padding-inline: 60px;
        flex-direction: column;
        gap: 30px;
    }

    .seccion_5 .title_seccion_5 {
        order: 1;
    }

    .contenido_publicaciones {
        position: initial;
        margin-top: 20px;
        padding-left: 0;
        order: 2;
    }
    
    .contenido_publicaciones .publicacion {
        width: 700px;
    }
    
    .publicacion img {
        height: 100%;
    }

    
    
    .publicacion img {
        width: 100%;
    }

    .seccion_5 .btn {
        order: 5;
        margin: 0 auto;
    } 
    
    .seccion_6 {
        padding-inline: 60px;
    }

    footer {
        padding-inline: 60px;
    }

    footer .txt_footer {
        width: 1000px;
    }

    
    
}

/* TABLET SMALL */
@media (min-width: 640px) and (max-width: 980px) {

    header {
        padding-inline: 60px;
    }
    
    .seccion_1 {
        padding-inline: 60px;
    }
    
    .txt_01 {
        margin-top: 160px;
        font-size: 28px;
    }

    .seccion_2 {
        padding-inline: 60px;
    }

    .txt_02 h2 {
        font-size: 28px;
    }
    
    .seccion_3 {
        padding-inline: 60px;
    }  
    
    .items_foda {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title_seccion_3 h3 {
        font-size: 24px;
    }

    .seccion_4 {
        padding-inline: 60px;
    }
    
    .contenido_politicas {
        grid-template-columns: repeat(1, 1fr);
    }

    .seccion_5 {
        display: flex;
        height: auto;
        padding-inline: 60px;
        flex-direction: column;
        gap: 30px;
    }

    .seccion_5 .title_seccion_5 {
        order: 1;
    }

    .contenido_publicaciones {
        position: initial;
        margin-top: 20px;
        padding-left: 0;
        order: 2;
    } 
    
  


    .contenido_publicaciones .publicacion {
        max-width: 510px;
    }


    .publicacion img {
        height: 100%;
    }
    
    .seccion_5 .btn {
        order: 5;
        margin: 0 auto;
    } 
    
    .seccion_6 {
        height: auto;
        padding-inline: 60px;
    }
    
    
    .certificacion .iso {
        background-color: #D2E3F7;
        width: 100%;
        height: 160px;
    }
    .certificacion {
        display: flex;
        max-width: 100px;
        flex-direction: column;
        gap: 10px;
    }


    footer {
        padding-inline: 60px;
    }

    footer .txt_footer {
        width: 1000px;
    } 

    .certificaciones_footer .items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .item {
        width: 100%;
    }

}



/* MOBILE */
@media (min-width: 0px) and (max-width: 640px) {
    header {
        padding-inline: 20px;
    }

    .logotipo img {
        width: 70px;
    }
    
    .seccion_1 {
        padding-inline: 20px;
    }
    
    .txt_01 {
        font-size: 22px;
        margin-top: 140px;
    }

    .seccion_2 {
        height: auto;
        padding-inline: 20px;
        padding-block: 40px;

    }
    .txt_02 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .txt_02 h2 {
        font-size: 24px;
    }
    .txt_02 h2,.txt_02 p ,.txt_02 button {
        margin: 0;
    }
    .txt_02 p {
        font-size: 14px;
    }

    .txt_02 p:nth-child(2) {
        margin-top: 10px;
    }
    .txt_02 button {
        max-width: 230px;
        font-size: 14px;
    }
    
    .seccion_3 {
        padding-inline: 20px;
    }

    .title_seccion_3 h3 {
        font-size: 20px;
    }
    .txt_03 {
        padding: 30px;
    }
    .txt_03 h5 {
        font-size: 18px;
    }
    .txt_03 p {
        font-size: 14px;
        line-height: 1.5rem;
    }
    .items_foda {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .seccion_4 {
        padding-inline: 20px;
    }

    .title_seccion_4 h3 {
        font-size: 24px;
    }
    
    .contenido_politicas {
        grid-template-columns: repeat(1, 1fr);
    }

    .contenido_politicas .politica {
        width: 100%;
        padding-inline: 20px;
    }

    .politica img {
        width: 40px;
    }
    
    .txt_04 h5 {
        font-size: 18px;
    }.txt_04 p {
        font-size: 14px;
        line-height: 1.4rem;
    }
    .seccion_5 {
        display: flex;
        height: auto;
        padding-inline: 20px;
        flex-direction: column;
        gap: 30px;
    }

    .title_seccion_5 {
        order: 1;
    }

    .title_seccion_5 h2 {
        font-size: 26px;
    }

    .contenido_publicaciones {
        position: initial;
        margin-top: 20px;
        padding-left: 0;
        order: 2;
    }


    .contenido_publicaciones .publicacion {
        display: flex;
        max-width: calc(100vw - 30px);
        align-items: end;
        justify-content: space-between;
        flex-wrap: wrap;
    } 


    .txt_05 {
        margin-top: 20px;
    }

    .txt_05 h3 {
        font-size: 24px;
    }

    .publicacion img {
        width: 100%;
    }

    .seccion_5 .btn {
        order: 5;
        margin: 0 auto;
    } 
    
    .seccion_6 {
        height: auto;
        padding-inline: 20px;
    } 
    
    .contenido_certificaciones {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certificacion {
        font-size: 14px;
        width: 100%;
    }
    
    .title_seccion_6  h3 {
        font-size: 24px;
    } 


    footer {
        padding-inline: 60px;
    }

    .txt_footer {
        font-size: 14px;
        width: 100%;
    }


    .menu_footer h5{
        font-size: 16px;
    }

    .menu_footer_pc a {
        font-size: 14px;
    }

    .contacto_footer h5 {
        font-size: 16px;
    }
    
    .contacto_footer button {
        font-size: 14px;
    }

    .contacto_footer .telefono h5 {
        font-size: 16px;
    } 
    
    .contacto_footer .telefono p {
        font-size: 14px;
    }

    
    .certificaciones_footer {
        width: 100%;
    }
    
    .certificaciones_footer h5 {
        font-size: 16px;
    }

    .certificaciones_footer .items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: end;
    }

    .certificaciones_footer  .item {
        width: 100%;
    }
    
    
}



/* Animaciones */


@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    50% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
}


@keyframes fadeInDownBig {
    0% {
      opacity: 0;
      transform: translateY(-500px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }