/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  background: #041222;
  color: #b1bec9;
  padding: 70px 0 25px;
	font-family: var(--font-body);
}


/* =========================================
   PARTE PRINCIPAL
   ========================================= */

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: 60px;
  padding-bottom: 55px;
}


/* =========================================
   MARCA
   ========================================= */

.footer-brand-column {
  display: flex;
  flex-direction: column;
}

.brand-footer {
  color: white;
  width: fit-content;
}

.footer-brand-column > p {
  max-width: 300px;
  margin: 20px 0 30px;
  color: #7f91a1;
  font-size: .8rem;
  line-height: 1.7;
}


/* =========================================
   COLUMNAS
   ========================================= */

.footer-column {
  display: flex;
  flex-direction: column;
}

.site-footer h4 {
  color: white;
  font-size: .76rem;
  margin: 8px 0 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: #9eacb8;
  font-size: .76rem;
  line-height: 1.5;
  text-decoration: none;

  transition:
    color .2s ease,
    transform .2s ease;
}

.footer-column a:hover {
  color: var(--accent);
  transform: translateX(3px);
}


/* =========================================
   CONTACTO
   ========================================= */

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
}

.footer-contact-item .contact-icon {
  width: 20px;
  min-width: 20px;
  color: var(--accent);
  font-size: .85rem;
  line-height: 1.5;
  text-align: center;
}

.footer-contact-item a,
.footer-contact-item > span:last-child {
  color: #9eacb8;
  font-size: .76rem;
  line-height: 1.55;
}

.footer-contact-item a {
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--accent);
}


/* =========================================
   REDES SOCIALES
   ========================================= */

.footer-social {
  margin-top: 5px;
}

.footer-social h4 {
  margin-bottom: 15px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;

  padding: 9px 12px;
  margin: 0 !important;

  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;

  color: white !important;
  font-size: .7rem !important;

  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease !important;
}

.social-link:hover {
  background: rgba(255, 255, 255, .06);
  border-color: var(--accent);
  transform: translateY(-2px) !important;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  border-radius: 4px;

  color: white;
  font-size: .7rem;
  font-weight: 800;
}

.social-icon.linkedin {
  background: #0a66c2;
}

.social-icon.instagram {
  background: #c13584;
}


/* =========================================
   UBICACIÓN
   ========================================= */

.footer-location {
  display: grid;
  grid-template-columns: .85fr 1.5fr;
  gap: 55px;

  padding: 45px 0;

  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-location-info .eyebrow {
  color: var(--accent);
  margin-bottom: 10px;
}

.footer-location-info h3 {
  color: white;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 5px 0 15px;
}

.footer-location-info p {
  margin: 0;
  max-width: 390px;

  color: #7f91a1;
  font-size: .8rem;
  line-height: 1.8;
}

.footer-location-link {
  display: inline-block;

  margin-top: 20px;

  color: white !important;
  font-size: .76rem;
  font-weight: 700;

  text-decoration: none;

  transition: color .2s ease;
}

.footer-location-link:hover {
  color: var(--accent) !important;
}


/* =========================================
   MAPA
   ========================================= */

.footer-map {
  position: relative;

  width: 100%;
  height: 300px;

  overflow: hidden;

  border-radius: 10px;

  background: #071b33;

  border: 1px solid rgba(255, 255, 255, .1);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, .2);
}

.footer-map iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* =========================================
   FOOTER INFERIOR
   ========================================= */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);

  padding-top: 22px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;

  font-size: .65rem;
}

.footer-bottom > span {
  color: #66798a;
}

.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #7f91a1;
  text-decoration: none;

  transition: color .2s ease;
}

.footer-bottom a:hover {
  color: var(--accent);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1000px) {

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }

  .footer-brand-column {
    grid-column: span 3;
  }

  .footer-location {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-location-info {
    max-width: 600px;
  }

}


/* =========================================
   TABLET PEQUEÑA
   ========================================= */

@media (max-width: 700px) {

  .site-footer {
    padding: 55px 0 20px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
    padding-bottom: 40px;
  }

  .footer-brand-column {
    grid-column: span 2;
  }

  .footer-location {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 35px 0;
  }

  .footer-map {
    height: 280px;
  }

  .footer-social-links {
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 22px;
  }

}


/* =========================================
   MÓVIL
   ========================================= */

@media (max-width: 480px) {

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand-column {
    grid-column: span 1;
  }

  .footer-brand-column > p {
    max-width: 100%;
  }

  .footer-column a {
    margin: 6px 0;
  }

  .footer-location {
    padding: 30px 0;
  }

  .footer-location-info h3 {
    font-size: 1.3rem;
  }

  .footer-map {
    height: 250px;
  }

  .footer-social-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-link {
    width: auto !important;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom > div {
    margin-top: 15px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

}

/* CPOnet theme footer must remain visible even when Elementor is installed. */
.site-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
