/*==============================
	Home
==============================*/
.home {
  position: relative;
  overflow: hidden;
}
.home__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 560px;
  width: 100%;
  padding: 60px 0;
  position: relative;
  z-index: 3;
}


.home__content {
  height: calc(50vh - 70px);
}
.home__title {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-weight: 600;
  /* font-size: 34px; */
  font-family: "Nunito", sans-serif;
  margin-bottom: 0;
  /* line-height: 48px; */
  text-transform: uppercase;
}
.home__title b {
  font-weight: 600;
}
.home__title span {
  color: #e51c21;
}
.home__text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 0;
  margin-top: 15px;
}
.home__btns {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 10px;
}
.home__search {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-top: 30px;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(1turn, #f1f6fd 30%, #edf1f7);
  border: 1px solid #fff;
  box-shadow: 3px 3px 9px rgba(164, 164, 186, 0.2);
}
.home__search button {
  width: calc(100% - 40px);
  height: 50px;
  border-radius: 16px;
  background-color: #e51c21;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  padding: 0 20px;
  margin-bottom: 20px;
  margin-top: 10px;
  transition: 0.5s ease;
  transition-property: color, background-color, border-color, box-shadow,
    transform, margin-top, height;
}
.home__search button span {
  position: relative;
  z-index: 2;
}
.home__search button:before {
  content: "";
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: linear-gradient(90deg, #6cc4ff 6%, #e51c21);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: 16px;
}
.home__search button:hover {
  box-shadow: 3px 3px 9px rgba(55, 170, 247, 0.3);
  color: #fff;
}
.home__search button:hover:before {
  opacity: 1;
}
.home__group {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 15px 20px 10px;
  border-top: 1px solid rgba(138, 148, 166, 0.2);
  width: 100%;
  position: relative;
}
.home__group:first-child {
  border-top: none;
}
.home__group label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  font-family: "Nunito", sans-serif;
  margin-bottom: 5px;
  color: #8a94a6;
  white-space: nowrap;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  width: 100%;
}
.home__group i {
  color: #6f747d;
}
.home__group input {
  width: 100%;
  height: 34px;
  border-radius: 0;
  border: none;
  border-right: none;
  font-size: 16px;
  color: #6f747d;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  background-color: transparent;
}
.home__group input::placeholder {
  color: #6f747d;
}
.home__group input::-webkit-input-placeholder {
  color: #6f747d;
}
.home__group input::-moz-placeholder {
  color: #6f747d;
}
.home__group input:-moz-placeholder {
  color: #6f747d;
}
.home__group input:-ms-input-placeholder {
  color: #6f747d;
}
.home__group input::-moz-selection {
  background: #e51c21;
  color: #fff;
  text-shadow: none;
}
.home__group input::selection {
  background: #e51c21;
  color: #fff;
  text-shadow: none;
}
.home__bg {
  display: block;
  position: absolute;
  z-index: 2;
  border-radius: 0px;
  overflow: hidden;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  background: url("../2020-ford-transit-connect-wagon.jpg") no-repeat center/cover;
  pointer-events: none;
}
@media (min-width: 768px) {

  .home__content {
    padding: 70px 0;
  }
  .home__title {
    /* font-size: 42px; */
    /* line-height: 58px; */
  }
  .home__search {
    flex-direction: row;
    margin-top: 40px;
  }
  .home__search button {
    width: 130px;
    margin-right: 20px;
    margin-bottom: 0;
    margin-top: 0;
  }
  .home__group {
    padding: 15px 20px 10px;
    width: calc(33.333333% - 50px);
    border-top: none;
    border-left: 1px solid rgba(138, 148, 166, 0.2);
  }
  .home__group:first-child {
    border-left: none;
  }
  .home__bg {
    display: block;
    position: absolute;
    z-index: 2;
    border-radius: 0px;
    overflow: hidden;
    right: 0;
    left: 0;
    top: 0px;
    bottom: 40px;
    background: url("../2020-ford-transit-connect-wagon.jpg") no-repeat center/cover;
    pointer-events: none;
  }
}
@media (min-width: 992px) {
  .home__search {
    max-width: 930px;
  }
}
@media (min-width: 1200px) {
  .home:before {
    right: 40px;
    left: 50%;
  }
  .home__content {
    height: calc(50vh - 70px);
  }
  .home__title {
    /* font-size: 46px; */
    /* line-height: 60px; */
  }
  .home__search {
    max-width: 940px;
  }
  .home__search button {
    width: 160px;
  }
  .home__bg {
    right: 0;
    left: 0;
  }
}

a {
    color: #000000;
    text-decoration: none;
    text-align: center;
}

a:hover {
    color: #dc3545;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    padding: 10px 10px 0px 10px;
    box-shadow: 0px 2px 9px 1px rgba(164, 164, 186, 0.2);
    border: 1px solid #fff;
    border-radius: 20px;
        margin-bottom: 30px;
}

/*==============================
	Footer
==============================*/
.footer {
  background-color: #f1f1f1;
  padding-top: 30px;
  position: relative;
  overflow: hidden;
}
.footer__logo {
  margin-top: 60px;
}
.footer__logo img {
  width: auto;
  height: 40px;
  display: block;
}
.footer__tagline {
  margin-top: 10px;
  display: block;
  font-size: 14px;
  line-height: 24px;
  color: #000;
  margin-bottom: 0;
}
.footer__links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin-top: 5px;
}
.footer__links a {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
  color: #8a94a6;
  font-size: 16px;
}
.footer__links a svg {
  width: 20px;
  height: auto;
  fill: #e51c21;
  margin-right: 10px;
}
.footer__links a:hover {
  color: #e51c21;
}
.footer__social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.footer__social a {
  margin-top: 20px;
  margin-right: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  position: relative;
}
.footer__social a svg {
  width: 100%;
  height: auto;
  fill: #4e5d78;
  transition: fill 0.5s ease;
}
.footer__social a:last-child {
  margin-right: 0;
}
.footer__social a:hover svg {
  fill: #e51c21;
}
.footer__content {
    position: relative;
    margin-top: 60px;
    padding: 0 20px 20px;
    background: linear-gradient(1turn, #ffffff 30%, #ffffff);
    box-shadow: 3px 3px 9px rgba(164, 164, 186, 0.2);
    border: 1px solid #fff;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
}
.footer__copyright {
        TEXT-ALIGN: CENTER;
  display: block;
  font-size: 14px;
  color: #4e5d78;
  margin-top: 20px;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
}
.footer__copyright a {
  color: #4e5d78;
}
.footer__copyright a:hover {
  color: #e51c21;
}
.footer__title {
  display: block;
  margin-top: 30px;
  font-size: 16px;
  color: #000;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-bottom: 15px;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.footer__nav a {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 12px;
  color: #000;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
}
.footer__nav a:last-child {
  margin-bottom: 0;
}
.footer__nav a:hover {
  color: #e51c21;
}
.footer__lang {
  position: relative;
  margin-top: 20px;
}
.footer__lang-btn {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.footer__lang-btn img {
  width: 20px;
  height: auto;
  margin-right: 10px;
  border-radius: 4px;
}
.footer__lang-btn span {
  color: #4e5d78;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  transition: color 0.4s ease;
}
.footer__lang-btn svg {
  width: 14px;
  height: auto;
  fill: #4e5d78;
  margin-left: 2px;
  margin-top: 2px;
  transition: 0.4s ease;
  transition-property: transform, fill;
}
.footer__lang-btn:hover span {
  color: #e51c21;
}
.footer__lang-btn:hover svg {
  fill: #e51c21;
}
.footer__lang-btn[aria-expanded="true"] span {
  color: #e51c21;
}
.footer__lang-btn[aria-expanded="true"] svg {
  fill: #e51c21;
  transform: rotate(180deg);
}
.footer__lang-dropdown {
  display: block;
  position: absolute !important;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  top: 0;
  border-radius: 20px;
  padding: 16px;
  min-width: 120px;
  transition: opacity 0.4s ease;
  height: auto;
  background: linear-gradient(1turn, #f1f6fd 30%, #edf1f7);
  box-shadow: 3px 3px 9px rgba(164, 164, 186, 0.2);
  border: 1px solid #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}
.footer__lang-dropdown li {
  width: 100%;
  margin-bottom: 15px;
}
.footer__lang-dropdown li:last-child {
  margin-bottom: 0;
}
.footer__lang-dropdown a {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.footer__lang-dropdown a img {
  width: 20px;
  height: auto;
  margin-right: 10px;
  border-radius: 4px;
}
.footer__lang-dropdown a span {
  color: #4e5d78;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  transition: color 0.5s ease;
}
.footer__lang-dropdown a:hover span {
  color: #e51c21;
}
.footer__lang-dropdown.show {
  z-index: 1000;
  pointer-events: auto;
  opacity: 1;
}
@media (min-width: 768px) {
  .footer {
    padding-top: 20px;
  }
  .footer__content {
    margin-top: 70px;
    padding: 30px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .footer__logo {
    margin-top: 50px;
  }
  .footer__title {
    margin-top: 50px;
  }
  .footer__social {
    width: auto;
    order: 2;
  }
  .footer__social a {
    margin-top: 0;
  }
  .footer__copyright {
    margin-top: 0;
    order: 1;
  }
}
@media (min-width: 1200px) {
  .footer__social {
    display: inline-flex;
    width: auto;
  }
}







.gallery-container {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

  .main-image {
    flex: 2;
        display: flex;
  }

  .main-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }

  .side-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
  }

  .side-images img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  
    .gallery {
    display: grid;
    gap: 10px;
  }

  /* Estilos para las imágenes */
  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Alternar columnas */
  .gallery .full {
    grid-column: span 2;
  }
  
  .gallery .half {
    grid-column: span 1;
  }

  /* Configuración de columnas */
  @media(min-width: 600px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  
   /* Estilos para el contenedor de imágenes */
  .gallery img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
  }
  .full { grid-column: span 2; }
  .half { grid-column: span 1; }

  /* Contenedor de visualización de imagen */
  .image-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }
  .image-viewer.active {
    display: flex;
  }
  .image-viewer img {
    max-width: 90%;
    max-height: 80%;
  }
  .close, .prev, .next {
    position: absolute;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }
  .close { top: 10px; right: 20px; }
  .prev { left: 10px; top: 50%; transform: translateY(-50%); }
  .next { right: 10px; top: 50%; transform: translateY(-50%); }
  
  
  @media (min-width: 992px) {
    .maicollll {
        display: none;
    }
}

  @media (min-width: 992px) {
    .maicollll2 {
        display: block!important;
    }
} .maicollll2 {
        display: none;
    }