:root {
  --pv-footer-bg: rgba(8, 12, 14, 0.62);
  --pv-footer-panel: rgba(255, 255, 255, 0.035);
  --pv-footer-border: rgba(255, 255, 255, 0.09);
  --pv-footer-text: #e6f7fa;
  --pv-footer-muted: #9ec1c6;
  --pv-footer-accent: #00e5ff;
  --pv-footer-accent-2: #00ffc8;
}

.pv-footer,
.pv-footer * {
  box-sizing: border-box;
}

.pv-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  color: var(--pv-footer-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 229, 255, 0.1), transparent 26%),
    var(--pv-footer-bg);
  border: 1px solid var(--pv-footer-border);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pv-footer a {
  color: inherit;
  text-decoration: none;
}

.pv-footer__main {
  display: grid;
  grid-template-columns: minmax(190px, 0.85fr) minmax(520px, 2.5fr) minmax(170px, 0.75fr);
  gap: clamp(24px, 3vw, 44px);
  padding: 30px clamp(22px, 3.2vw, 42px) 28px;
}

.pv-footer__brand {
  min-width: 0;
}

.pv-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pv-footer__logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.22));
}

.pv-footer__description {
  max-width: 250px;
  margin: 15px 0 13px;
  color: var(--pv-footer-muted);
  font-size: 14px;
  line-height: 1.55;
}

.pv-footer__contact {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 11px;
  font-size: 13px;
  border: 1px solid var(--pv-footer-border);
  border-radius: 10px;
  background: var(--pv-footer-panel);
  transition: border-color 160ms ease, background 160ms ease;
}

.pv-footer__contact span {
  color: var(--pv-footer-muted);
}

.pv-footer__contact strong {
  color: var(--pv-footer-accent);
  font-size: 14px;
}

.pv-footer__directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  align-content: start;
  gap: 24px clamp(20px, 2.4vw, 36px);
}

.pv-footer__column h2 {
  margin: 0 0 10px;
  color: var(--pv-footer-text);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.pv-footer__column ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pv-footer__column li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pv-footer__column a {
  display: inline-block;
  color: var(--pv-footer-muted);
  font-size: 14px;
  line-height: 1.35;
  transition: color 160ms ease, transform 160ms ease;
}

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

.pv-footer__quick {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.pv-footer__buttons {
  display: grid;
  gap: 8px;
}

.pv-footer__secondary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.pv-footer__secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--pv-footer-panel);
  font-size: 14px;
}

.pv-footer__secondary:hover {
  transform: translateY(-2px);
}

.pv-footer__secondary:hover {
  border-color: rgba(0, 229, 255, 0.42);
}

.pv-footer__socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.pv-footer__socials a {
  display: inline-flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px;
  color: var(--pv-footer-muted);
  font-size: 0;
  border: 1px solid var(--pv-footer-border);
  border-radius: 11px;
  background: var(--pv-footer-panel);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.pv-footer__socials img,
.pv-footer__socials svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
  filter: invert(1);
  opacity: 0.9;
}

.pv-footer__socials svg {
  filter: none;
}

.pv-footer__socials a:hover {
  color: var(--pv-footer-text);
  border-color: rgba(0, 229, 255, 0.38);
  background: rgba(0, 229, 255, 0.07);
  transform: translateY(-2px);
}

.pv-footer__contact:hover {
  border-color: rgba(0, 229, 255, 0.36);
  background: rgba(0, 229, 255, 0.06);
}

.pv-footer a:focus-visible {
  outline: 2px solid var(--pv-footer-accent);
  outline-offset: 3px;
}

.pv-footer__legal {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  padding: 12px clamp(22px, 3.2vw, 42px);
  color: rgba(189, 233, 238, 0.62);
  font-size: 12px;
  line-height: 1.4;
  border-top: 1px solid var(--pv-footer-border);
  background: rgba(0, 0, 0, 0.1);
}

.pv-footer__legal p {
  margin: 0;
}

.pv-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.pv-footer__legal a {
  transition: color 160ms ease;
}

.pv-footer__legal a:hover {
  color: var(--pv-footer-text);
}

.pv-footer__disclaimer {
  max-width: 330px;
  text-align: right;
}

@media (max-width: 1080px) {
  .pv-footer__main {
    grid-template-columns: minmax(190px, 0.8fr) minmax(450px, 2fr);
  }

  .pv-footer__quick {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 240px) auto;
    align-items: center;
  }

  .pv-footer__buttons {
    grid-template-columns: 1fr;
  }

  .pv-footer__socials {
    justify-self: end;
    width: 150px;
  }
}

@media (max-width: 760px) {
  .pv-footer {
    width: 100%;
    margin: 0;
    border-radius: 14px;
  }

  .pv-footer__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 18px 20px;
  }

  .pv-footer__brand {
    order: 1;
  }

  .pv-footer__quick {
    order: 2;
    display: contents;
  }

  .pv-footer__buttons {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .pv-footer__socials {
    order: 3;
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .pv-footer__socials a {
    flex: 0 1 auto;
    padding-inline: 12px;
    font-size: 13px;
  }

  .pv-footer__directory {
    order: 4;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding-top: 3px;
  }

  .pv-footer__description {
    max-width: 520px;
  }

  .pv-footer__legal {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 18px 16px;
  }

  .pv-footer__legal nav {
    justify-content: flex-start;
  }

  .pv-footer__disclaimer {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .pv-footer__logo {
    width: 46px;
    height: 46px;
  }

  .pv-footer__buttons {
    grid-template-columns: 1fr;
  }

  .pv-footer__directory {
    gap-block: 18px;
  }

  .pv-footer__column h2 {
    margin-bottom: 8px;
  }

  .pv-footer__column ul {
    gap: 6px;
  }

  .pv-footer__disclaimer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pv-footer a {
    transition: none;
  }
}
