/**
 * Maestro footer
 */

.maestro-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 6rem);
  background-color: var(--maestro-navy, #1a2e46) !important;
  color: rgba(255, 255, 255, 0.85);
}

.maestro-footer h4,
.maestro-footer h5,
.maestro-footer p {
  color: inherit;
}

.maestro-footer__accent {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--maestro-primary, #ffbb02);
}

.maestro-footer__glow {
  position: absolute;
  top: -120px;
  inset-inline-end: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 187, 2, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.maestro-footer__top {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.maestro-footer__brand {
  max-width: 26rem;
}

.maestro-footer__logo {
  display: block;
  line-height: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}

.maestro-footer__logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  object-fit: contain;
  vertical-align: top;
}

.maestro-footer__tagline {
  margin: 0 0 1.25rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.maestro-footer__tagline span {
  color: var(--maestro-primary, #ffbb02);
}

.maestro-footer__intro {
  margin: 0 0 1.75rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.maestro-footer__contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin-top: 0.25rem;
}

.maestro-footer__contact-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maestro-footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.maestro-footer__contact-item:hover {
  color: var(--maestro-primary, #ffbb02);
}

.maestro-footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 187, 2, 0.35);
  background: rgba(255, 187, 2, 0.1);
  color: var(--maestro-primary, #ffbb02);
  font-size: 1rem;
}

.maestro-footer__social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.maestro-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.maestro-footer__social-link:hover {
  background: var(--maestro-primary, #ffbb02);
  border-color: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
  transform: translateY(-2px);
}

.maestro-footer__newsletter-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  width: min(100%, 34rem);
  margin-inline-start: auto;
}

@media (max-width: 991px) {
  .maestro-footer__newsletter-wrap {
    align-items: flex-start;
    margin-inline-start: 0;
  }
}

.maestro-footer__newsletter {
  width: 100%;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (min-width: 992px) {
  .maestro-footer__newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

.maestro-footer__newsletter-copy {
  min-width: 0;
}

.maestro-footer__newsletter-title {
  margin: 0 0 0.35rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: calc(1.05rem / var(--maestro-ui-scale, 0.9));
  font-weight: 600;
  line-height: 1.3;
  color: #fff !important;
}

.maestro-footer__newsletter-text {
  margin: 0;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.maestro-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .maestro-footer__newsletter-form {
    flex-direction: row;
    align-items: center;
  }
}

.maestro-footer__newsletter-field {
  position: relative;
  flex: 1;
}

.maestro-footer__newsletter-input {
  width: 100%;
  height: 2.65rem;
  padding-inline: 2.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  outline: none;
  transition: border-color 0.2s ease;
}

.maestro-footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.maestro-footer__newsletter-input:focus {
  border-color: var(--maestro-primary, #ffbb02);
}

.maestro-footer__newsletter-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 1rem;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.05rem;
  pointer-events: none;
}

.maestro-footer__newsletter-btn {
  flex-shrink: 0;
  min-width: 6.75rem;
  height: 2.65rem;
  padding-inline: 1.25rem;
  border: none;
  background: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.maestro-footer__newsletter-btn:hover {
  background: #ffd24d;
  transform: translateY(-1px);
}

.maestro-footer__links {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.maestro-footer__column-title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--maestro-primary, #ffbb02);
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
}

.maestro-footer__link-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maestro-footer__link-list--two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 0.65rem;
}

@media (max-width: 575px) {
  .maestro-footer__link-list--two-col {
    grid-template-columns: 1fr;
  }
}

.maestro-footer__link {
  display: inline-block;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.maestro-footer__link:hover {
  color: var(--maestro-primary, #ffbb02);
  transform: translateX(3px);
}

.maestro-footer__bottom {
  padding-block: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.maestro-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.maestro-footer__copyright {
  margin: 0;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  color: rgba(255, 255, 255, 0.55);
}

.maestro-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.maestro-footer__legal-link {
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.maestro-footer__legal-link:hover {
  color: var(--maestro-primary, #ffbb02);
}
