.verde {
  color: #2f3478;
}

header {
  overflow: hidden;
}

header .index {
  margin: 0;
}

header img {
  margin-top: 5%;
  width: 80%;
}

header nav {
  height: 110px;
  position: relative;
  line-height: 80px;
  width: 100%;
  text-align: center;
  font-size: 13px;
  z-index: 999;
  text-decoration: none;
  overflow: hidden;
}

header a {
  margin: 20px;
  text-align: right;
  font-family: "Montserrat", sans-serif;
  color: #000;
  font-weight: 500;
}

header a:hover {
  text-decoration: none;
}

header .lineatitulo {
  margin: 20px;
}

.icon {
  display: none;
}

.fa {
  color: #2f3478;
}

header .fa {
  color: #2f3478;
  margin-left: -30px;
}

footer {
  background: url(../img/zwartevilt.png) repeat center center;
  text-align: center;
  padding-bottom: 2%;
}

.fescriotrio {
  display: block;
}

.fmovil {
  display: none;
}

footer img {
  margin: 2% auto;
  width: 20%;
}

footer .fa {
  margin: 3% 1%;
}

footer p {
  color: #0a0a0a;
}

/*Generales*/

/*INICIO HOME*/

.carousel-caption {
  bottom: 150px;
}

.emporio .logo {
  width: 30%;
  margin: auto;
}

.emporio img {
  width: 100%;
  max-width: none;
}

.emporio .btn-default {
  background: transparent;
  color: #fff;
  border: solid 2px white;
  padding: 1% 3%;
  transition: 0.5s;
  font-family: "Montserrat", sans-serif;
  margin-top: 5%;
}

.emporio .btn-default:hover {
  background: white;
  color: #2f3478;
  border: solid 2px #2f3478;
  transition: 0.5s;
}

[data-ca3_icon]::before {
  font-weight: normal;
  content: attr(data-ca3_icon);
}

.ca3-scroll-down-arrow {
  background-image: url(../img/down-round-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin: auto;
}

.ca3-scroll-down-link {
  cursor: pointer;
  height: 50px;
  width: 70px;
  margin: auto;
  line-height: 60px;
  position: absolute;
  left: 47%;
  top: 250px;
  color: #fff;
  text-align: center;
  font-size: 70px;
  z-index: 100;
  text-decoration: none;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
  -webkit-animation: ca3_fade_move_down 2s ease-in-out infinite;
  -moz-animation: ca3_fade_move_down 2s ease-in-out infinite;
  animation: ca3_fade_move_down 2s ease-in-out infinite;
}

/*animated scroll arrow animation*/

@-webkit-keyframes ca3_fade_move_down {
  0% {
    -webkit-transform: translate(0, -20px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
}

@-moz-keyframes ca3_fade_move_down {
  0% {
    -moz-transform: translate(0, -20px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -moz-transform: translate(0, 20px);
    opacity: 0;
  }
}

@keyframes ca3_fade_move_down {
  0% {
    transform: translate(0, -20px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 20px);
    opacity: 0;
  }
}

/* Slider */

#video {
  margin: 5% 0;
}

#video .lineatitulo {
  float: left;
}

#video p {
  margin-top: 5%;
}

#clientes {
  background: url(../img/concrete_seamless.png);
  padding: 5% 0;
}

.gris {
  color: #4d4d4d;
  font-size: 0.7em;
}

h3 {
  color: #000;
  font-size: 2.5em;
  font-family: "Montserrat", sans-serif;
  font-size: 500;
}

#clientes .lineatitulo {
  float: left;
  margin-bottom: 5%;
}

.slick-slide {
  margin: 0px 20px;
}

.slick-slide img {
  width: 100%;
}

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 5%;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: "";
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir="rtl"] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

#nuestros-servicios {
  margin-block-end: 4em;
}

#nuestros-servicios .row div {
  padding-left: 0;
}

#nuestros-servicios h2 {
  margin-top: 5%;
  font-size: 500;
  font-family: "Montserrat", sans-serif;
}

#nuestros-servicios .lineatitulo {
  float: left;
  margin-bottom: 5%;
}

#nuestros-servicios .btn-default {
  background: #2f3478;
  color: #fff;
  padding: 1% 3%;
  transition: 0.5s;
  font-family: "Montserrat", sans-serif;
  margin: 5% 0 10% 0;
  position: relative;
  bottom: 0px;
}

#nuestros-servicios p {
  margin-top: 5%;
  overflow: hidden;
  height: 160px;
}

#nirvino h2 {
  margin-top: 5%;
  font-family: "Montserrat", sans-serif;
}

#nirvino .row div {
  padding-left: 0;
}

#nirvino .lineatitulo {
  float: left;
  margin-bottom: 5%;
}

#nirvino .btn-default {
  background: #2f3478;
  color: #fff;
  padding: 1% 3%;
  transition: 0.5s;
  font-family: "Montserrat", sans-serif;
  margin: 5% 0 10% 0;
}

#nirvino p {
  margin-top: 5%;
  height: 170px;
}

/*Efecto imagen*/

figure {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  background: #fff;
}

figure img {
  transform: scaleY(1);
  transition: all 0.7s ease-in-out;
}

figure figcaption {
  background-color: rgb(20, 20, 20);
  transition: all 0.5s linear;
  opacity: 0;
  position: absolute;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

figure h3 {
  font-family: "Rubik", sans-serif;
  background: transparent;
  margin: 40px 40px 0px 40px;
  vertical-align: middle;
  transform: scale(0);
  color: #fff;
  transition: all 0.5s linear;
  opacity: 0;
  z-index: 999;
}

figure:hover img {
  transform: scale(10);
  opacity: 0;
}

figure:hover figcaption {
  opacity: 1;
}

figure:hover h3 {
  transform: scale(1);
  opacity: 1;
  color: #dbdada;
}

#pared {
  background: url(../img/fondo-ladrillos.jpg) repeat;
  padding: 5% 5% 0 5%;
}

#pared p {
  font-family: "Rubik", sans-serif;
  font-size: 1.2em;
  vertical-align: middle;
  font-style: italic;
  font-size: 140%;
  line-height: 30px;
  margin-top: 5%;
  margin-bottom: 5%;
  font-weight: 300;
}

#pared .daniel {
  font-size: 1.6em;
  color: #2f3478;
  margin: 5%;
  font-style: normal;
  font-weight: 500;
  text-align: right;
}

#pared img {
  margin: auto;
}

/*FIN INICIO*/

/*INICIO SOMOS*/

.banner {
  overflow: hidden;
  padding: 10% 0;
}

.somos {
  background: url(../img/manifiesto.jpg) center center;
  padding: 10% 0;
}

.somos h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 4em;
  margin: auto;
}

.lineatitulo {
  border-bottom: solid 4px #2f3478;
  width: 8%;
  margin: auto;
}

/*Fin Somos*/

.historias {
  background: url(../img/concrete_seamless.png) repeat;
  padding: 5% 25%;
}

.historias .blanco {
  background: white;
  padding: 10%;
  text-align: center;
  border: solid 0.5px #d4cdcd;
}

.historias .blanco img {
  margin-bottom: 5%;
  width: 60%;
}

.historias .blanco p {
  line-height: 1.6;
  text-align: justify;
}

/*Fin Historias*/

.staff {
  text-align: center;
  padding: 5% 0;
}

.staff h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #000;
  font-size: 3em;
  margin: auto;
}

.staff .lineatitulo {
  margin-bottom: 5%;
}

.staff .row {
  margin: 2% 0;
}

.staff img {
  margin: 5% auto;
  margin-top: 10%;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.88);
  -moz-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.88);
  box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.88);
}

.staff p {
  margin-top: 10%;
  font-family: "Rubik", sans-serif;
  font-size: 1.2em;
}

.staff small {
  font-size: 1em;
}

/*Fin Staff*/

.repisa {
  background: url(../img/technology.jpg) no-repeat bottom center;
  padding: 10% 5%;
}

.repisa p {
  font-family: "Rubik", sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.2px;
}

/*Fin repisa*/

/*FIN SOMOS*/

/*INICIO PROYECTOS*/

.proyectos {
  background: url(../img/proyectos.jpg) repeat center center;
  padding: 10% 0;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 4em;
  margin: auto;
}

/*Fin proyectos*/

.nuestro {
  padding: 5%;
}

.nuestro h3 {
  color: #000;
  font-size: 2.5em;
  font-family: "Montserrat", sans-serif;
}

.nuestro .gris {
  color: #4d4d4d;
  font-size: 0.9em;
}

.nuestro p {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  line-height: 1.8;
}

#tabs {
  margin-bottom: 5%;
}

#tabs nav {
  width: 100%;
  overflow: hidden;
  margin: 2% 0;
}

#tabs div .tabs {
  margin: 20% 0;
}

#tabs .row {
  margin: 2% 0;
}

#tabs ul li {
  color: #000;
  text-align: center;
}

#tabs ul li a:hover {
  background: #2f3478;
  color: #fff;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:focus,
.nav-pills > li.active > a:hover {
  background: #2f3478;
  color: #fff;
}

.tab-content img {
  -webkit-box-shadow: 0px 0px 7px 0px rgba(163, 163, 163, 0.63);
  -moz-box-shadow: 0px 0px 7px 0px rgba(163, 163, 163, 0.63);
  box-shadow: 0px 0px 7px 0px rgba(163, 163, 163, 0.63);
}

#tabs .modal .row {
  margin: 0;
}

#tabs .modal .col-lg-6 {
  padding-left: 0;
}

#tabs .modal .texto {
  padding-top: 10%;
}

#tabs .modal .bran {
  padding-top: 0;
}

#tabs .modal h4 {
  font-size: 1.8em;
}

#tabs .modal p {
  margin-top: 10%;
}

#tabs .modal .lineatitulo {
  border-bottom: solid 4px #2f3478;
  width: 8%;
  float: left;
}

.modal-dialog {
  margin: 100px auto;
  width: 70%;
}

#Revistas .modal .revista {
  margin: 60px auto;
  width: 70%;
}

.modal-body {
  background: rgba(212, 209, 209, 0.6);
  padding: 0;
}

.modal a {
  color: #000;
}

/*FIN PROYECTO*/

/*INICIO ID*/

.id {
  background: url(../img/cocina2.jpg) top center no-repeat;
  padding: 10% 0;
  width: 100%;
}

.desarollo {
  padding: 5%;
}

.desarollo .gris {
  color: #4d4d4d;
  font-size: 0.7em;
}

.desarollo h3 {
  color: #000;
  font-size: 2.5em;
  font-family: "Montserrat", sans-serif;
}

.desarollo p {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  line-height: 1.8;
}

.lapiz {
  background: url(../img/MapaCocina.png) no-repeat center center;
  padding: 20% 0;
}

/*FIN ID*/

/*INICIO VIDEO*/

.video {
  background: url(../img/computer-2617622_1920.jpg) no-repeat center center;
  padding: 10% 0;
}

.hombre {
  background: url(../img/pizarra-aromas3.jpg) center center no-repeat;
  padding: 20% 15%;
}

.vimeo iframe {
  margin-bottom: 1%;
}

/*FIN VIDEO*/

/*INICIO EVENTOS*/

.eventos {
  background: url(../img/daniel-black.jpg) top center;
  padding: 10% 0;
}

.eventos h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 4em;
  margin: auto;
}

.galeria {
  padding: 0;
}

.galeria .nav-justified {
  width: 80%;
  margin: auto;
}

.boton {
  margin: 15% auto;
  text-align: center;
}

.preguntas {
  padding: 0 25%;
  margin-top: 5%;
}

.fotos {
  margin: 2% 0 2% 0;
  position: relative;
  overflow: hidden;
  padding: 1px;
}

.costado {
  padding-left: 0;
  padding-right: 0;
}

.fotos img {
  width: 100%;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.fotos:hover img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/*FIN EVENTOS*/

@media screen and (max-width: 1024px) {
  header img {
    width: 100%;
    margin-top: 10px;
  }
  .ca3-scroll-down-link {
    top: 470px;
  }
  #pared .daniel {
    text-align: center;
  }
}

/*iPad Pro*/

@media screen and (max-width: 768px) {
  header nav {
    display: none;
  }
  .icon {
    display: block;
  }
  .carousel-caption {
    bottom: 100px;
  }
  .ca3-scroll-down-link {
    top: 160px;
  }
  .info {
    text-align: center;
  }
  #clientes {
    background: url(../img/concrete_seamless.png);
    padding: 5% 15px;
  }
  figure {
    height: 100%;
  }
  .staff img {
    margin-top: 8%;
  }
  #pared {
    padding: 5%;
  }
  #pared .daniel {
    text-align: center;
  }
  .somos {
    background: url(../img/manifiesto.jpg) center center;
    padding: 15% 0;
  }
  .historias {
    padding: 5% 15%;
  }
  .historias .blanco {
    padding: 10% 15%;
  }
  .historias .blanco img {
    margin-bottom: 5%;
    width: 60%;
  }
  .proyectos {
    padding: 15% 0;
  }
  #tabs ul li {
    margin: 0;
    list-style: none;
  }
  #tabs .modal .col-lg-6 {
    padding-left: 15px;
  }
  #tabs .modal img {
    margin-bottom: 5%;
  }
  #tabs .modal p {
    margin-bottom: 5%;
  }
  .id {
    background: url(../img/cocina3.jpg) center center no-repeat;
    padding: 15% 0;
    width: 100%;
  }
  .video {
    background: url(../img/computer-2617622_1920.jpg) no-repeat center center;
    padding: 15% 0;
  }
  .eventos {
    background: url(../img/DanielBlack.JPG) top center;
    padding: 15% 0;
  }
  .preguntas {
    padding: 0 15%;
  }
  .fotos {
    margin: 0 0 3% 0;
    padding: 10px;
  }
  .fotos img {
    width: 100%;
  }
}

/*iPad*/

@media screen and (max-width: 414px) {
  .carousel-caption {
    bottom: 20px;
    left: 20%;
  }
  .carousel-indicators {
    bottom: -10px;
  }
  .emporio .logo {
    width: 30%;
    margin: auto;
  }
  .carousel-inner {
    width: 100%;
    overflow: hidden;
  }
  figure {
    height: 100%;
  }
  .emporio .btn-default {
    background: transparent;
    color: #fff;
    border: solid 2px white;
    padding: 1.3% 2.8%;
    transition: 0.5s;
    font-family: "Montserrat", sans-serif;
    margin-top: 5%;
  }
  .ca3-scroll-down-link {
    display: none;
  }
  .slick-slide {
    margin: 40px 0px;
  }
  .somos {
    background: url(../img/manifiesto.jpg) center center;
    padding: 20% 0;
  }
  .somos h1 {
    font-size: 3.5em;
    text-align: center;
  }
  .historias {
    padding: 5% 10%;
  }
  .historias .blanco {
    padding: 7% 10%;
  }
  .historias .blanco img {
    margin-bottom: 10%;
    width: 65%;
  }
  .staff h1 {
    font-size: 2.5em;
    margin: 2% auto;
  }
  .staff .lineatitulo {
    margin-bottom: 3%;
    width: 13%;
  }
  .proyectos {
    padding: 20% 0;
  }
  .proyectos h1 {
    font-size: 3.5em;
  }
  .id {
    padding: 20% 0;
  }
  .video {
    background: url(../img/computer-2617622_1920.jpg) no-repeat center center;
    padding: 20% 0;
  }
  .video h1 {
    font-size: 3.5em;
  }
  .hombre {
    background: url(../img/pizarra-aromas2.jpg) center center no-repeat;
    padding: 20% 15%;
  }
  .eventos {
    background: url(../img/tapasmontes-0409.jpg) bottom center;
    padding: 20% 0;
  }
  .eventos h1 {
    font-size: 3.5em;
  }
  .preguntas {
    padding: 0 5%;
  }
  .fotos {
    padding: 1%;
  }
  .modal-dialog {
    margin: 50px auto;
    width: 70%;
  }
  footer {
    padding: 5% 0;
  }
  footer img {
    width: 40%;
  }
  footer .fa {
    margin: 5% 1%;
  }
}

/*iPhone 6 Plus*/

@media screen and (max-width: 375px) {
  .ca3-scroll-down-link {
    top: 280px;
  }
  figure {
    width: 100%;
    height: 100%;
  }
  .staff h1 {
    font-size: 2.5em;
    margin-top: 5%;
  }
  .staff .lineatitulo {
    width: 15%;
  }
}

/*iPhone 6*/

@media screen and (max-width: 320px) {
  .ca3-scroll-down-link {
    top: 250px;
  }
  .emporio .logo {
    width: 60%;
  }
  .staff h1 {
    font-size: 2.2em;
  }
  .fa-2x {
    margin: 5%;
  }
  .proyectos h1 {
    font-size: 3.3em;
  }
  .fotos {
    padding: -5%;
  }
}

/*iPhone 5*/

.logo-container {
  height: 100%;
  padding: 1em 0;
}

.logo-container > a {
  display: inline-block;
  height: 100%;
}

.logo-container > a > img {
  height: 100%;
  width: auto;
  margin: auto;
}

.center-vertical {
  top: 50%;
  transform: translate(0, -50%);
}

.center-text-horizontal {
  text-align: center;
}

.no-float {
  float: none !important;
}

@media screen and (max-width: 768px) {
  #nuestros-servicios > .container > .row:nth-child(2) > div,
  #nuestros-servicios > .container > .row:nth-child(1) {
    margin-block-end: 2em;
  }
}

#newsletter {
  max-width: 1920px;
  margin: auto;
}

.newsletter {
  background-color: #999696;
  padding-block-start: 85px;
  padding-block-end: 85px;
  padding-inline-start: 50px;
}

.newsletter > h2,
.newsletter > p {
  font-size: 30px;
  font-weight: bold;
}

.newsletter > h2 {
  color: #d81111;
  display: flex;
  align-items: center;
  margin-block-end: 30px;
}

.newsletter > h2::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #d81111;
  margin-inline-end: 0.5em;
}

.newsletter > p {
  color: #ffffff;
  margin-inline-end: 145px;
}

.newsletter > p,
.newsletter > .btn {
  margin-inline-start: 25px;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-block-end: 4em;
}

.newsletter-grid > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .newsletter {
    padding-block-start: 2em;
    padding-block-end: 2em;
    padding-inline-start: 2em;
  }

  .newsletter > p {
    color: #ffffff;
    margin-inline-end: 2em;
  }

  .newsletter-grid > img {
    display: none;
  }
}

#testimonios {
  margin-block-end: 4em;
}

#testimonios > .lineatitulo {
  margin-block-end: 2em;
}
#testimonios > h3 {
  margin-block-end: 1em;
}

#testimonios > h3,
#testimonios > p {
  color: #707070;
}

#testimonios > h3 {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

#testimonios > p {
  font-size: 15px;
  text-align: justify;
  max-width: 850px;
  margin: auto;
}

@media screen and (max-width: 768px) {
  #testimonios {
    padding-inline-start: 1em;
    padding-inline-end: 1em;
  }
}

#contacto {
  display: grid;
  max-width: 1280px;
  margin: auto;
  padding-inline-start: 75px;
  padding-inline-end: 75px;
  margin-block-end: 4em;
  grid-gap: 55px;
  grid-template-columns: 0.44fr 0.56fr;
}

#formulario-contacto {
  display: flex;
  flex-direction: column;
}

#formulario-contacto > textarea {
  resize: none;
}

#formulario-contacto > .btn {
  max-width: max-content;
  align-self: flex-end;
}

#formulario-contacto > input,
#formulario-contacto > textarea {
  margin-block-end: 1em;
}

.mapa > h2 {
  font-size: 22.5px;
  font-weight: bold;
  margin-block-start: 0;
  margin-block-end: 1.25em;
}

.mapa > p {
  font-size: 20px;
  white-space: pre-line;
  margin-block-end: 2em;
}

.mapa > iframe {
  height: 300px;
}

.info-block > div {
  display: flex;
}

.info-block > div > h2 {
  font-size: 1.25em;
  font-weight: bold;
  margin-block-start: 0;
  margin-block-end: 1.25em;
  margin-inline-end: 0.5em;
}

.info-block > div > p {
  font-size: 1.25em;
  white-space: pre-line;
  margin-block-end: 2em;
}

@media screen and (max-width: 768px) {
  #formulario-contacto,
  .mapa {
    grid-column: 1 / 3;
  }

  #contacto {
    padding-inline-start: 1em;
    padding-inline-end: 1em;
  }
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1600px;
  margin: auto;
  padding-inline-start: 70px;
  padding-inline-end: 70px;
}

.hero > div {
  padding-block-start: 4em;
}

.hero > div > h1 {
  font-size: 40px;
  color: #000000;
  margin-block-end: 1em;
}
.hero > div > p {
  text-align: justify;
}

@media screen and (max-width: 768px) {
  .hero {
    padding-inline-start: 1em;
    padding-inline-end: 1em;
  }

  .hero > img {
    grid-row: 1;
  }
}

/*
LINEA NEGRA
.hero > div::after {
    display: block;
    content: '';
    padding-block-start: 50px;
    width: 70%;
    border-block-end: 1px solid #000;
}
*/

#mision-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1600px;
  margin: auto;
  padding-inline-start: 85px;
  padding-inline-end: 85px;
  grid-gap: 70px;
  margin-block-end: 4em;
}

#mision-vision > div > h2 {
  font-weight: bold;
  margin-block-end: 1em;
}

#mision-vision > div > p {
  text-align: justify;
}

@media screen and (max-width: 768px) {
  #mision-vision {
    padding-inline-start: 1em;
    padding-inline-end: 1em;
    grid-gap: 1em;
  }
}

#aliado-estrategico {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1920px;
  margin: auto;
  background-color: #4b9fbf;
  margin-block-end: 4em;
}

#aliado-estrategico > h2 {
  font-size: 30px;
  color: #ffffff;
  margin: 0;
  text-align: center;
  padding-block-start: 200px;
  padding-block-end: 200px;
  padding-inline-start: 150px;
  padding-inline-end: 150px;
  line-height: 1.5em;
}

#aliado-estrategico > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  padding-inline-end: 4em;
}

@media screen and (max-width: 768px) {
  #aliado-estrategico > h2 {
    padding: 2em 1em 0 1em;
  }

  #aliado-estrategico > img {
    width: 100%;
    height: auto;
    padding: 0;
  }
}

.equipo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1600px;
  margin: auto;
  gap: 50px;
}

.miembro {
  width: 350px;
}

.miembros > h2 {
  font-size: 2.5em;
}

.miembros > .lineatitulo {
  margin-block-end: 4em;
}

#equipo {
  margin-block-end: 8em;
}

.miembro > img {
  border-radius: 50%;
  padding-inline-start: 4em;
  padding-inline-end: 4em;
}

.miembro > h3 {
  font-size: 15px;
  font-weight: bold;
}

.miembro > h3,
.miembro > h4 {
  font-size: 15px;
  text-align: center;
}

.service-container {
  display: flex;
  margin: 0 auto;
  padding: 50px 0;
  margin: 0 2em;
  padding-bottom: 0;
  max-width: 1600px;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.service {
  width: 450px;
  padding: 80px;
  border: 1px solid #000;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.service > div a {
  background-color: #000;
  color: #fff;
}

.service > div a:hover {
  background-color: #222;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .general-services {
    padding: 50px 20px;
    padding-bottom: 0;
  }

  .service {
    padding: 12px;
    border: 1px solid #000;
  }
}

.specialized-services {
  margin: 0 auto;
  padding: 0 120px;
  max-width: 1600px;
}

.specialized-services h3,
.general-services h3 {
  font-size: 25px;
}

.specialized-services ul::before {
  content: attr(aria-label);
  font-size: 1.25em;
  font-weight: bold;
  margin-left: -15px;
}

@media screen and (max-width: 768px) {
  .specialized-services {
    padding: 0 20px;
  }

  .specialized-services ul {
    padding-left: 1em;
  }
}

.s-modal {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms ease, visibility 0s ease 500ms;
}

.card {
  width: 600px;
  background-color: #fff;
  padding: 4em;
  margin: 2em;
}

.hidden {
  background-color: rgba(0, 0, 0, 0);
  visibility: hidden;
  max-height: 0%;
  transition: opacity 500ms ease, visibility 0s ease 0s;
}
