:root {
  --color-azul: #02094c;
  --color-blanco: #fff;
  --color-naranja: #ff6022;
  --color-obscuro: #000000;
  --color-gris: #e6e6e6;
  --espaciado: 16px;
  --fuente-principal: 'MiFuente', sans-serif;
  --title-lh: 1.2;
  --title-lines: 2;
}

@font-face {
    font-family: 'MuseoSans-100';
    src: url('assets/fonts/MuseoSans-100.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MuseoSans-100Italic';
    src: url('assets/fonts/MuseoSans-100Italic.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MuseoSans-300';
    src: url('assets/fonts/MuseoSans-300.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'MuseoSans-300Italic';
    src: url('assets/fonts/MuseoSans-300Italic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MuseoSans_500';
    src: url('assets/fonts/MuseoSans_500.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MuseoSans_500_Italic';
    src: url('assets/fonts/MuseoSans_500_Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: '';
    src: url('assets/fonts/MuseoSans_700.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MuseoSans-700Italic';
    src: url('assets/fonts/MuseoSans-700Italic.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MuseoSans_900';
    src: url('assets/fonts/MuseoSans_900.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'MuseoSans-900Italic';
    src: url('assets/fonts/MuseoSans-900Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}


@font-face {
    font-family: 'Lato Italic';
    src: url('assets/fonts/lato/Lato-LightItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}


.fa-classic, .fa-regular, .fa-solid, .far, .fas {
    font-family: "Font Awesome 6 Free" !important;
}

.fa-brands, .fab {
    font-family: "Font Awesome 6 Brands" !important;
}

* {
    font-family: 'MuseoSans_700', sans-serif !important;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 9999;
}

.cookie-banner button {
  margin-left: 20px;
  padding: 8px 15px;
  background: #00a86b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-banner.hidden {
  display: none;
}



.u-header .u-image-1 {
    width: 300px !important;
    height: 105px !important;
    margin: 5px auto 0 0 !important;
}

.u-header .u-menu-1 {
    margin: -70px 0 22px auto !important;
}

.txt-blanco {
    color: var(--color-blanco);
}

.txt-azul {
    color: var(--color-azul);
}

.txt-naranja {
    color: var(--color-naranja);
}

.txt-bolder {
    font-weight: bold;
}

.fondo-blanco {
    background-color: var(--color-blanco);
}

.fondo-azul {
    background-color: var(--color-azul);
}

.fondo-naranja {
    background-color: var(--color-naranja);
}

.fondo-gris {
    background-color: var(--color-gris);
}

.font-lato {
    font-family: 'Lato Italic' !important;
    font-style: italic;
}

.u-palette-1-base, 
.u-body.u-palette-1-base, 
section.u-palette-1-base:before, 
.u-palette-1-base > .u-audio-main-layout-wrapper:before, 
.u-palette-1-base > .u-container-layout:before, 
.u-palette-1-base > .u-inner-container-layout:before, 
.u-palette-1-base.u-sidenav:before, 
.u-container-layout.u-container-layout.u-palette-1-base:before, 
.u-table-alt-palette-1-base tr:nth-child(even) {
    background-color: var(--color-naranja) !important;
}

header {
    background-color: var(--color-blanco) !important;
    height: 120px;
}

footer {
    background-color: var(--color-azul) !important;
    padding: 100px 0px;
}


.u-section-1 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.20); /* oscuridad ajustable */
    z-index: 1;
}

.u-section-1 .u-sheet {
    position: relative;
    z-index: 2;
}

#block-3, #block-5 {
    padding: 50px 0px;
}


#block-3 h4 {
    margin-bottom: 20px !important;
}

#block-5 h4 {
    margin-bottom: 50px !important;
}

.u-nav-link {
    color: var(--color-azul) !important;
    cursor: pointer;
}

.u-section-2 .u-sheet-1, .u-section-4 .u-sheet-1 {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

.u-section-2 .u-text-1, .u-section-4 .u-text-1 {
    margin: 0px !important;
}

.sm-height {
    min-height: 140px;
}

#block-1 {
    background-image: url(../images/fondo-3-gde.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 750px;
    min-height: 750px;
}

.gci-intro {
    width: 50%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    align-content: center;
    height: 750px;
}

/*.gci-intro h1 {
    text-shadow:
  -2px  0   2px #8F8F8F, 
   2px  0   2px #8F8F8F, 
   0   -2px 2px #8F8F8F, 
   0    2px 2px #8F8F8F; 

}
*/
.subtitle {
    width: 80%;
    margin: auto;
    text-align: center;
    margin-bottom: 50px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}


.btn-contacto {
    background-color: var(--color-naranja);
    color: var(--color-blanco);
    padding: 4px 8px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    font-size: 1.2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    width: 200px;
    transition: background-color 0.3s ease;
    margin-top: 70px;
}

.btn-contacto .arrow {
  font-size: 1.2em;
}


.soluciones-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.soluciones-def {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.soluciones-info {
    flex: 0 0 calc(30%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 60px 10px;
    position: relative;
    max-width: 430px;
    width: 430px;
}

.soluciones-info p {
    font-size: 1.08rem !important;
}

#block-5 {
    min-height: 850px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    align-content: center;
}


.cards-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch; /* fuerza alturas iguales */
    box-sizing: border-box;
    width: 100% !important;
}

/* Base: 3 columnas */
.card-wrapper {
    flex: 0 0 calc(30%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* permite alinear icon y card-body verticalmente */
    margin: 60px 10px;
    position: relative;
    max-width: 430px;
    width: 430px;
}

/* Garantiza que todas las tarjetas sean del mismo alto */
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* o center, según necesidad */
    padding: 1rem;
    color: var(--color-azul);
    box-sizing: border-box;
    border-radius: 15px;
    min-height: 220px;
}

.card-icon {
    width: 95px;
    height: 95px;
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background-size: cover;
    background-repeat: no-repeat;
     filter: drop-shadow(0 0 0 black); /* Simula un borde negro alrededor del rombo */
}

.icon-1 { 
    background-image: url(../images/iconos/Iconos-00.png);
}

.icon-2 { 
    background-image: url(../images/iconos/Iconos-03.png);
}

.icon-3 { 
    background-image: url(../images/iconos/Iconos-05.png);
}

.icon-4 { 
    background-image: url(../images/iconos/Iconos-01.png);
}

.icon-5 { 
    background-image: url(../images/iconos/Iconos-04.png);
}

.icon-6 { 
    background-image: url(../images/iconos/Iconos-06.png);
}


/* Para asegurar que el texto no colapse */
.card-text {
    text-align: left;
    font-size: 1.08rem !important;
}

/* Tablet: 2 columnas */
@media (max-width: 768px) {
    .cards-wrapper, .soluciones-def {
        justify-content: center;
    }
    .card-wrapper, .soluciones-info {
        flex: 0 0 calc(100% - 8px);
    }
    .gci-intro {
        width: 100% !important;
    }
    .btn-contacto {
        font-size: 1.5rem;
        width: 230px;
    }
}

/* Móvil: 1 columna */
@media (max-width: 480px) {
    .cards-wrapper, .soluciones-def {
        justify-content: center;
        width: 90%;
    }
    .card-wrapper, .soluciones-info {
        flex: 0 0 100%;
    }
}

@media (max-width: 430px) {
    .card-wrapper, .soluciones-info {
        width: 325px;
    }
}

@media (max-width: 992px) {
    .footer-wrapper {
        flex-direction: column !important;
    }
    .footer-col {
        width: 90% !important;
        padding: 0px 15px;
    }
}


.estrategia-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
    box-sizing: border-box;
    height: 100%;
    width: 80%;
    margin: auto;
}

.estrategia-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.estrategia-1 {
    max-width: 415px;
    margin: 0px auto 0px auto;
    background-color: var(--color-gris);
    padding: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

.circle-link {
    width: 60px;
    height: 60px;
    background-color: var(--color-naranja);
    color: var(--color-blanco);
    border-radius: 50%;
    position: absolute;
    float: right;
    right: -30px;
}


.footer-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    align-content: flex-start;
    width: 80%;
    margin: auto;
}

.footer-wrapper > * {
    font-size: 0.8rem !important;
}

.footer-col {
    width: 30%;
}

.footer-title {
    font-size: 0.8rem;
    font-weight: bolder;
}

.footer-col p {
    font-size: 1.08rem !important;
}

.footer-col p.txt-blanco {
    font-size: 0.8rem !important;
}

ul.directorio {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul.directorio li {
    font-size: 0.8rem;
}

ul.directorio li div a {
    font-size: 0.8rem !important;
}



.redes-sociales {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 0;
  background: var(--color-azul) !important;
}

.redes-sociales .icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #000;                 /* ícono en negro */
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.redes-sociales .icono i {
  font-size: 2.5rem;
  color: #FFF !important;
}

/*.redes-sociales .icono:nth-child(1) {
    border: solid 2px white;
    border-radius: 10px;
}*/

.redes-sociales .icono:nth-child(1) i {
    color: #FFF !important;
    bottom: 22px;
    position: absolute;
    font-size: 2rem;
}

.legales-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 80%;
    margin: auto;
}

.legales-footer span {
    flex: 1;
    text-align: center;
}




#block-12 {
    background-image: url(../images/propuesta-valor-10.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 500px;
    min-height: 500px;
}

.two-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.left-col, .right-col {
    width: 50%;
    padding: 25px;
}

.two-columns p, .valores-wrapper p, .valores-wrapper ul li, .certificaciones-info p {
    font-size: 1.08rem;
}

#block-15 {
    /*min-height: 750px;*/
}

.valores-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.valores-primero, .valores-segundo {
    display: flex;
    flex-direction: row;
}

.img-block16 {
    background-image: url(../images/seccion-2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


.img-block16-2 {
    background-image: url(../images/seccion-2-bottom.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.valores-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: baseline;
    width: 100%;
    /* border: 1px solid red; */
    padding: 60px 0px; 
    row-gap: 15px;
}

.parrafo {
    width: 90%;
    margin-left: 10%;
}

.team-card {
    /*width: 320px;*/
    background-color: var(--color-gris);
    height: 500px;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    /*flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;*/
    padding: 50px 30px 0px 30px;
}

.team-name {
  height: calc(var(--title-lh) * 1em * var(--title-lines)); /* reserva 2 líneas */
  display: flex;
  align-items: flex-start;  /* texto pegado arriba */
  margin: 0 0 20px 0;
}

.team-name h4 {
  margin: 0 !important;
  line-height: var(--title-lh) !important;
  -webkit-line-clamp: 2 !important;       /* máximo 2 líneas */
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.team-info {
    color: var(--color-azul);
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    margin-top: 1.5em;
}


.team-users {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 80% !important;
}

.team-users .team-wrapper {
    min-width: 300px;
    width: 550px;
    height: 200px;
}
.team-users .team-wrapper .team-user {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.team-users .team-wrapper .team-user .diamon {
    width: 75px;
    height: 75px;
    position: absolute;
    background-color: var(--color-gris);
    transform: rotate(45deg) translate(50%);
    border-radius: 5px;
    top: 30%;
    cursor: pointer;
    overflow: hidden;
}

.team-users .team-wrapper .team-user .team-name {
    font-weight: bolder;
    color: var(--color-azul);
    left: 130px;
    position: absolute;
    top: 50%;
    transform: translateY(50%);
}

@media( max-width: 992px ) {
    .img-block16 {
        display: none;
    }

    .img-block16-2 {
        display: none;
    }

    .valores-wrapper .right-col {
        width: 100%;
    }

    .certificaciones-info .left-col, .certificaciones-info .right-col {
        width: 100%;
    }

    .two-columns .left-col, .two-columns .right-col {
        width: 100%;
    }
}

.certificaciones-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.certificaciones-logos {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: space-around;
}

.logo {
    width: 50%;
    aspect-ratio: 1 / 1;
    max-width: 320px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

@media(max-width: 576px) {
    .logo {
        width: 70%;
    }
}

.logo-sat {
    background-image: url(../images/logo-HACIENDA.png);
}

.logo-cnbv {
    background-image: url(../images/logo-CNBV.png);
}


.rombos-container {
    display: none;
  /*display: flex;*/
  justify-content: space-around;
  align-items: center;
  gap: 40px; /* separa los rombos */
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 150px;
  margin-top: 100px;
}


.rombo {
  width: 75px;
  height: 75px;
  background-color: var(--color-gris);
  transform: rotate(45deg);
  border-radius: 5px;
}

/* Menos de 1200px: muestra 4 rombos */
@media (max-width: 1199px) {
  .rombos-container .rombo:nth-child(5) {
    display: none;
  }
}

@media (max-width: 992px) {
  .rombos-container .rombo:nth-child(4) {
    display: none;
  }
}

/* Menos de 768px: muestra 2 rombos */
@media (max-width: 767px) {
  .rombos-container .rombo:nth-child(3) {
    display: none;
  }
}

/* Menos de 576px: muestra solo 1 rombo */
@media (max-width: 575px) {
  .rombos-container .rombo:nth-child(2) {
    display: none;
  }
}


.modal-lg {
    width: 950px !important;
    --bs-modal-width: 950px !important;
}


.modal-header {
    border: unset !important;
    width: 100% !important;
    justify-content: flex-end;
}

.modal-header button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white !important;
    background-color: var(--color-naranja);
    border: unset !important;
    position: absolute;
    margin-top: 10px;
    z-index: 9;
}

.modal-content {
    background-color: #f5f5f5 !important;
    padding: 35px;
}

.modal-title {
    margin-bottom: 10px;
    font-weight: bold;
}

.user-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.userinfo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.userinfo .left-col {
    order: 1;
}

.userinfo .right-col {
    order: 2;
}


.rombo-user {
    width: 80%;
    background-color: var(--color-gris);
    transform: rotate(45deg);
    border-radius: 5px;
    aspect-ratio: 1;
    overflow: hidden;
}

.img-user-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


@media (max-width: 992px) {
    .userinfo {
        flex-direction: column;
    }

    .userinfo .left-col, .userinfo .right-col {
        width: 100%;
    }

    .rombo-user {
        width: 40%;
    }

    .modal-dialog {
        width: 100% !important;
    }

.userinfo .left-col {
    order: 2;
}

.userinfo .right-col {
    order: 1;
}
}

.usr-pic {
    background-repeat: no-repeat;
    background-size: cover;
    width: 145%;
    aspect-ratio: 1;
    transform: rotate(-45deg);
    position: absolute;
    left: -20%;
    top: -20%;
}

.usr-2 {
    background-image: url(/assets/images/equipo/irma-delia-reyes.jpg);
}
.usr-3 {
    background-image: url(/assets/images/equipo/jose-luis-ramirez.jpg);
}
.usr-5 {
    background-image: url(/assets/images/equipo/elizabeth-arroyo.jpg);
}


/* Contenedor relativo para posicionar las flechas */
.owl-carousel.owl-theme {
  position: relative;
}

/* Botones de navegación: quitar fondo, bordes y padding */
.owl-theme .owl-nav [class*='owl-'] {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  z-index: 1000;
}

/* Texto de las flechas (el span dentro del botón) */
.owl-theme .owl-nav [class*='owl-'] span {
  font-size: 80px !important;                  /* tamaño realmente grande */
  color: var(--color-azul);                              /* blanco grisáceo */
  line-height: 1;
  display: inline-block;
}

/* Posición de las flechas */
.owl-theme .owl-nav .owl-prev { left: -60px; }
.owl-theme .owl-nav .owl-next { right: -60px; }

/* Hover: intensificar color y sombra */
.owl-theme .owl-nav [class*='owl-']:hover span {
  color: #ffffff;
  text-shadow: 4px 4px 12px rgba(0,0,0,1);
}
