/* ===================================
    Cover
====================================== */

.cover{
  position: relative;
  min-height: 550px;
  display: flex;
  justify-content: center;
  align-items: end;
  background:  url("../../assets/img/nosotros/cover-inicio-movil.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.deco-top{
  position:absolute;
  top: -250px;
  right: -350px;
  display: none;
}

.deco-bottom{
  position:absolute;
  bottom: -500px;
  left: -200px;
  display: none;
}


/* ===================================
    Global
====================================== */

/*Section vision y mision*/

.content-values{
  position: relative;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  background:  url("../../assets/img/nosotros/mision-vision.png"),linear-gradient(270deg, #1F2547 0%, #012B38 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  border-radius: 16px;
  padding: 30px 10px;
}

/*Sectio*/

.img-background-footer{
  width: 100%;
  height: auto;
  background:url('../../assets/img/nosotros/fondo-footer.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.content-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
}

/*Section mapa*/

.card-1{grid-area: c1;}
.card-2{grid-area: c2;}
.card-3{grid-area: c3;}
.card-4{grid-area: c4;}
.card-5{grid-area: c5;}
.text{grid-area: tex;}

.grid-left{
  display: grid;
  grid-template-columns:1fr;
  grid-template-areas:
  "map"
  "c1"
  "c2"
  "c3";
  gap:20px;
}

.grid-right{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
  "c4"
  "c5"
  "tex";
  gap:20px;
}

.img-mapa{
  position: absolute;
    top: -50px;
    right: -150px;
    z-index: 0;
}

.map-wrap{
  position: relative;
  width: min(650px, 100%);
  grid-area: map;
}

/* SVG oculto antes de animar */
.map-holder svg{
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
    top: -150px;
    right: -0px;
    z-index: 0;
    width: 100%;
}

/* cuando empieza la animación */
.map-holder svg.is-ready{
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease;
}

/* dots apagados */
.map-holder svg .dot{
  opacity: 0;
  transform: scale(.85);
  transform-origin: center;
  filter: blur(.15px);
}

.map-holder svg.is-animating .dot{
  animation: dotIn 520ms ease-out forwards;
}

@keyframes dotIn{
  0%   { opacity: 0; transform: scale(.8); }
  60%  { opacity: .95; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

.card-av{
  position: relative;
  min-height: 210px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  transition: transform .35s ease, box-shadow .35s ease;
  z-index: 10;
}



.card-av:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.card-av-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;

  transform: scale(1.05);
  transition: transform .6s ease;
}

.card-av:hover .card-av-bg{
  transform: scale(1);
}

.card-av-info{
  width: 100%;
  min-height: auto;
  position: absolute;
  bottom: 0px;
  padding: 15px 15px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  background: #4657A3;
  transition: transform .45s ease;
}

.card-av-info p{
  color: #fff;
  margin: 0px;
}

/* ===================================
    Responsive
====================================== */

/* xxs */ @media (max-width: 430px) {}
/* xs  */ @media (min-width: 431px) {

.grid-left{display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
  "c1 map"
  "c2 c3";
}
.grid-right{
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
  "c4 c5"
  "tex tex";
}

.map-holder svg{
  position: absolute;
  width: 450px;
  top: -100px;
  right: -100px;
    z-index: 0;
}

.content-cards{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap:50px;
}

} /* @media (max-width: 575px) {} */
/* sm  */ @media (min-width: 576px) {

.grid-left{display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
  "c1 map"
  "c2 c3";
}
.grid-right{
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
  "c4 c5"
  "tex tex";
}

.card-av{  min-height: 320px;}
.card-av-info{min-height: 100px;}

.map-holder svg{
  width: 500px;
  top: -100px;
  right: -100px;
    z-index: 0;
}

.content-cards{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap:50px;
}


.content-values{padding: 30px 30px;}


}
/* md  */ @media (min-width: 768px) {

.cover{
  background:  url("../../assets/img/nosotros/header-nosotros.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.deco-top{
  display: inherit;
}
.deco-bottom{
  display: inherit;
}

.grid-left{display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
  "c1 map"
  "c2 c3";
}

.grid-right{
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
  "c4 c5"
  "tex tex";
}

.map-holder svg{
  width: auto;
    top: -50px;
    right: -150px;
    z-index: 0;
}



.content-cards{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap:50px;
}

.content-values{padding: 50px 50px;}

} /* ipad Portrait */
/* lg  */ @media (min-width: 992px) {

.grid-left{display: grid;
  grid-template-columns: 250px 250px 250px 1fr;
  grid-template-areas:
  "c1 c2 c3 map";
}
.grid-right{
  grid-template-columns: 1fr 250px 250px;
  grid-template-areas:
  "tex c4 c5";
}


} /* ipad Landscape */
/* xl  */ @media (min-width: 1200px) {}
/* xxl */ @media (min-width: 1400px) {}
