/* ==========================================================================
   Vinxey — Global footer
   ========================================================================== */

.vx-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  color: rgba(255, 255, 255, 0.68);
}

.vx-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--vx-primary);
  content: '';
}

.vx-footer__inner {
  width: min(100% - 3rem, 77.5rem);
  margin-inline: auto;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 1.75rem;
}

.vx-footer__lead {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.vx-footer__eyebrow {
  margin: 0 0 1rem;
  color: var(--vx-primary-on-dark);
  font-family: var(--vx-font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vx-footer__lead h2 {
  max-width: 52rem;
  margin: 0;
  color: #fff !important;
  font-size: clamp(2.1rem, 4.6vw, 4.25rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.vx-footer__lead-actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0.65rem;
}

.vx-footer__primary,
.vx-footer__secondary {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 7px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none !important;
  transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out;
}

.vx-footer__primary {
  border: 1px solid var(--vx-primary);
  background: var(--vx-primary);
  color: #fff !important;
}

.vx-footer__primary:hover,
.vx-footer__primary:focus-visible {
  border-color: var(--vx-primary-dark);
  background: var(--vx-primary-dark);
  color: #fff !important;
}

.vx-footer__secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8) !important;
}

.vx-footer__secondary:hover,
.vx-footer__secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
}

.vx-footer__grid {
  display: grid;
  grid-template-columns: minmax(17rem, 1.75fr) repeat(3, minmax(8.5rem, 0.75fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.vx-footer__brand-logo {
  display: block;
  width: 10.5rem;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  margin-bottom: 1.35rem;
  object-fit: contain;
}

.vx-footer__brand-text {
  max-width: 24rem;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.75;
}

.vx-footer__email {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration-color: var(--vx-primary) !important;
  text-underline-offset: 0.3rem;
}

.vx-footer__heading {
  margin: 0 0 1.15rem;
  color: #fff !important;
  font-family: var(--vx-font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.vx-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vx-footer__links li { margin: 0; }

.vx-footer__link {
  display: inline-flex;
  min-height: 2.3rem;
  align-items: center;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.8rem;
  line-height: 1.35;
  text-decoration: none !important;
  transition: color 180ms ease-out;
}

.vx-footer__link:hover,
.vx-footer__link:focus-visible {
  color: #fff !important;
}

.vx-footer__privacy-control {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.vx-footer__social-link { gap: 0.55rem; }

.vx-footer__social-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--vx-primary-on-dark);
}

.vx-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.68rem;
  line-height: 1.5;
}

.vx-footer__location { text-align: center; }

.vx-footer__eidovira {
  font-family: var(--vx-font-mono);
  letter-spacing: 0.04em;
  text-align: right;
}

@media (max-width: 980px) {
  .vx-footer__lead { grid-template-columns: 1fr; align-items: start; }
  .vx-footer__lead-actions { width: min(100%, 24rem); }
  .vx-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem 1.5rem; }
}

@media (max-width: 720px) {
  .vx-footer__inner { width: min(100% - 2rem, 77.5rem); }
  .vx-footer__grid { grid-template-columns: 1fr 1fr; }
  .vx-footer__brand { grid-column: 1 / -1; }
  .vx-footer__bottom { grid-template-columns: 1fr; gap: 0.45rem; }
  .vx-footer__location,
  .vx-footer__eidovira { text-align: left; }
}

@media (max-width: 460px) {
  .vx-footer__grid { grid-template-columns: 1fr; }
  .vx-footer__brand { grid-column: 1; }
}
