/* ========================================
   CORPORATE YACHT NEW YORK FOOTER
======================================== */

.site-footer {
  padding-top: 45px;
  color: #fff;
  background: linear-gradient(180deg, #072e5f, #175e9b);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 70px;
  align-items: start;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
}

.footer-grid h3 {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.footer-grid a {
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.footer-grid a:not(.btn):hover {
  color: #89d5ff;
}

/* About column */

.footer-about {
  align-items: flex-start;
}

.footer-about p {
  width: 100%;
  max-width: 390px;
  margin: 12px 0 18px;
  line-height: 1.65;
}

/* Footer logo */

.footer-logo {
  display: inline-block;
  width: 150px;
  max-width: 150px;
  margin: 0 0 8px;
  line-height: 0;
}

.site-footer .footer-logo img {
  display: block;
  width: 150px;
  max-width: 150px;
  height: auto;
  object-fit: contain;
}

/* Quote button */

.footer-quote-button {
  width: auto;
  min-width: 170px;
  align-self: flex-start;
  padding-right: 28px;
  padding-left: 28px;
}

/* Contact email */

.footer-grid a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

/* Bottom footer */

.footer-bottom {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
}

.footer-bottom .container {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom a:hover {
  color: #89d5ff;
}

.footer-divider {
  margin: 0 10px;
  opacity: 0.6;
}

/* Tablet */

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 45px;
  }

  .footer-about {
    grid-row: span 2;
  }

  .footer-logo,
  .site-footer .footer-logo img {
    width: 140px;
    max-width: 140px;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .site-footer {
    padding-top: 40px;
  }

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

  .footer-about {
    grid-row: auto;
  }

  .footer-logo,
  .site-footer .footer-logo img {
    width: 130px;
    max-width: 130px;
  }

  .footer-about p {
    max-width: 100%;
  }

  .footer-quote-button {
    min-width: 165px;
  }

  .footer-bottom {
    margin-top: 35px;
  }

  .footer-bottom .container {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    text-align: center;
  }
}