/* BroadbandSwitch.uk footer v3 — approved layout from footer-v3-render.jsx + responsive spec */

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes contact-border-spin {
  to {
    --angle: 360deg;
  }
}

.site-footer--v3 {
  --footer-v3-focus: #ffbf47;
  --footer-v3-text: #dce3f1;
  --footer-v3-text-muted: #9aa4c0;
  --footer-v3-heading: #ffffff;
  --footer-v3-link: #a9c7ff;
  --footer-v3-link-hover: #ffffff;
  --footer-v3-pillar-icon-bg: rgba(59, 130, 246, 0.15);
  --footer-v3-pillar-icon: #8ab4ff;
  --footer-v3-contact-border: rgba(96, 165, 250, 0.55);
  --footer-v3-card-bg: rgba(255, 255, 255, 0.025);
  --footer-v3-card-border: rgba(255, 255, 255, 0.06);
  --footer-v3-divider: rgba(255, 255, 255, 0.08);

  margin-top: 1.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(59, 130, 246, 0.08), transparent 60%),
    linear-gradient(180deg, #0a1028 0%, #0d1638 50%, #101a42 100%);
  color: #e8ecf7;
  padding: clamp(28px, 4vw, 44px) clamp(16px, 3.5vw, 40px) clamp(20px, 2.5vw, 32px);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer--v3 .footer-v3-inner {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer--v3 a:focus-visible,
.site-footer--v3 button:focus-visible {
  outline: 2px solid var(--footer-v3-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* v7.3 — animated underline: inline-block + fit-content = one line, text-width only */
.site-footer--v3 .footer-v3-link.fx-underline,
.site-footer--v3 .footer-v3-resources-strip .footer-v3-legal-link.fx-underline,
.site-footer--v3 .footer-v3-legal-links a.fx-underline,
.site-footer--v3 .footer-v3-reg-block.contact-card__registered-office a.fx-underline,
.site-footer--v3 .footer-v3-qr-lede a.fx-underline {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  color: var(--footer-v3-text);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition:
    background-size 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    color 160ms ease;
}

.site-footer--v3 .footer-v3-link.fx-underline:hover,
.site-footer--v3 .footer-v3-link.fx-underline:focus-visible,
.site-footer--v3 .footer-v3-resources-strip .footer-v3-legal-link.fx-underline:hover,
.site-footer--v3 .footer-v3-resources-strip .footer-v3-legal-link.fx-underline:focus-visible,
.site-footer--v3 .footer-v3-legal-links a.fx-underline:hover,
.site-footer--v3 .footer-v3-legal-links a.fx-underline:focus-visible,
.site-footer--v3 .footer-v3-reg-block.contact-card__registered-office a.fx-underline:hover,
.site-footer--v3 .footer-v3-reg-block.contact-card__registered-office a.fx-underline:focus-visible,
.site-footer--v3 .footer-v3-qr-lede a.fx-underline:hover,
.site-footer--v3 .footer-v3-qr-lede a.fx-underline:focus-visible {
  color: var(--footer-v3-link-hover);
  background-size: 100% 1px;
}

.site-footer--v3 .footer-v3-qr-lede a.fx-underline {
  font-size: 13px;
}

.site-footer--v3 .footer-v3-legal-links a.fx-underline {
  font-size: 13.5px;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer--v3 .footer-v3-link.fx-underline,
  .site-footer--v3 .footer-v3-resources-strip .footer-v3-legal-link.fx-underline,
  .site-footer--v3 .footer-v3-legal-links a.fx-underline,
  .site-footer--v3 .footer-v3-reg-block.contact-card__registered-office a.fx-underline,
  .site-footer--v3 .footer-v3-qr-lede a.fx-underline {
    transition: color 160ms ease;
    background-image: none;
  }

  .site-footer--v3 .footer-v3-link.fx-underline:hover,
  .site-footer--v3 .footer-v3-link.fx-underline:focus-visible,
  .site-footer--v3 .footer-v3-resources-strip .footer-v3-legal-link.fx-underline:hover,
  .site-footer--v3 .footer-v3-resources-strip .footer-v3-legal-link.fx-underline:focus-visible,
  .site-footer--v3 .footer-v3-legal-links a.fx-underline:hover,
  .site-footer--v3 .footer-v3-legal-links a.fx-underline:focus-visible,
  .site-footer--v3 .footer-v3-reg-block.contact-card__registered-office a.fx-underline:hover,
  .site-footer--v3 .footer-v3-reg-block.contact-card__registered-office a.fx-underline:focus-visible,
  .site-footer--v3 .footer-v3-qr-lede a.fx-underline:hover,
  .site-footer--v3 .footer-v3-qr-lede a.fx-underline:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--footer-v3-link-hover);
  }

  .site-footer--v3 .footer-v3-social-btn,
  .site-footer--v3 .footer-v3-card {
    transition: none !important;
  }

  .site-footer--v3 .footer-v3-social-btn:hover {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-footer--v3 .footer-v3-social-btn {
    transition: background 150ms ease, transform 150ms ease;
  }
}

/* Row 1 — brand */
.site-footer--v3 .footer-v3-brand-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer--v3 .footer-v3-brand-logo-wrap {
  width: 108px;
  height: 72px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}

.site-footer--v3 .footer-v3-brand-logo-wrap img {
  max-width: 100%;
  height: auto;
  max-height: 44px;
  width: auto;
  display: block;
}

.site-footer--v3 .footer-v3-brand-tagline {
  font-size: 18px;
  color: var(--footer-v3-heading);
  margin: 0;
  padding: 0 0 0 24px;
  line-height: 1.4;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 400;
}

.site-footer--v3 .footer-v3-brand-social {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.site-footer--v3 .footer-v3-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #e8ecf7;
  text-decoration: none;
}

.site-footer--v3 .footer-v3-social-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--footer-v3-link-hover);
}

@media (prefers-reduced-motion: no-preference) {
  .site-footer--v3 .footer-v3-social-btn:hover {
    transform: translateY(-1px);
  }
}

.site-footer--v3 .footer-v3-social-btn svg {
  width: 19px;
  height: 19px;
}

.site-footer--v3 .footer-v3-social-btn--instagram:hover svg path {
  fill: url(#footer-v3-instagram-grad);
}

@media (max-width: 1023px) {
  .site-footer--v3 .footer-v3-brand-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer--v3 .footer-v3-brand-tagline {
    padding-left: 0;
    border-left: 0;
    font-size: 16px;
  }

  .site-footer--v3 .footer-v3-brand-social {
    justify-content: flex-start;
  }
}

@media (max-width: 479px) {
  .site-footer--v3 .footer-v3-brand-tagline {
    font-size: 15px;
  }

  .site-footer--v3 .footer-v3-social-btn {
    width: 40px;
    height: 40px;
  }
}

/* Row 2 — editorial */
.site-footer--v3 .footer-v3-editorial-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--footer-v3-text);
  margin-bottom: 22px;
}

.site-footer--v3 .footer-v3-editorial-strip .footer-v3-editorial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.2));
  color: #93c5fd;
  flex-shrink: 0;
}

.site-footer--v3 .footer-v3-editorial-strip .footer-v3-editorial-main {
  flex: 1 1 auto;
  min-width: 320px;
}

.site-footer--v3 .footer-v3-editorial-strip strong {
  color: var(--footer-v3-heading);
  font-weight: 600;
}

.site-footer--v3 .footer-v3-editorial-strip a {
  color: var(--footer-v3-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer--v3 .footer-v3-editorial-strip a:hover {
  color: var(--footer-v3-link-hover);
}

.site-footer--v3 a.footer-v3-editorial-corrections {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.site-footer--v3 a.footer-v3-editorial-corrections span {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--footer-v3-heading);
}

.site-footer--v3 a.footer-v3-editorial-corrections:hover span,
.site-footer--v3 a.footer-v3-editorial-corrections:focus-visible span {
  color: var(--footer-v3-link);
}

.site-footer--v3 .footer-v3-qr-title {
  margin-bottom: 12px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
}

.site-footer--v3 .footer-v3-qr-lede {
  font-size: 13px;
  color: var(--footer-v3-text);
  margin: 0;
  line-height: 1.5;
}

.site-footer--v3 .footer-v3-editorial-strip time {
  color: var(--footer-v3-link);
}

.site-footer--v3 .footer-v3-editorial-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer--v3 .footer-v3-editorial-meta svg {
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .site-footer--v3 .footer-v3-editorial-strip {
    font-size: 13px;
    padding: 14px 16px;
    gap: 10px 20px;
  }

  .site-footer--v3 .footer-v3-editorial-main {
    min-width: 100%;
  }
}

@media (max-width: 479px) {
  .site-footer--v3 .footer-v3-editorial-strip {
    font-size: 12.5px;
    padding: 12px 14px;
  }
}

/* Row 3 — main grid */
.site-footer--v3 .footer-v3-main-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 280px;
  grid-template-rows: auto auto;
  column-gap: 40px;
  row-gap: 28px;
  margin-bottom: 22px;
}

.site-footer--v3 .footer-v3-pillar--compare {
  grid-column: 1;
  grid-row: 1;
}

.site-footer--v3 .footer-v3-pillar--providers {
  grid-column: 2;
  grid-row: 1;
}

.site-footer--v3 .footer-v3-pillar--guides {
  grid-column: 3;
  grid-row: 1;
}

.site-footer--v3 .footer-v3-contact-card.contact-card {
  grid-column: 4;
  grid-row: 1 / span 2;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: rgba(59, 130, 246, 0.04);
  border-radius: 14px;
  padding: 22px 20px 24px;
}

.site-footer--v3 .footer-v3-contact-card.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    rgba(96, 165, 250, 0) 30deg,
    rgba(96, 165, 250, 0.95) 95deg,
    rgba(59, 130, 246, 1) 130deg,
    rgba(147, 197, 253, 0.95) 165deg,
    rgba(96, 165, 250, 0) 230deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: contact-border-spin 8s linear infinite;
}

.site-footer--v3 .footer-v3-contact-card.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 32px rgba(59, 130, 246, 0.12);
  pointer-events: none;
  z-index: -1;
}

@supports not (background: conic-gradient(from 0deg, red, blue)) {
  .site-footer--v3 .footer-v3-contact-card.contact-card::before {
    animation: none;
    background: linear-gradient(
      135deg,
      rgba(96, 165, 250, 0.9),
      rgba(59, 130, 246, 1),
      rgba(147, 197, 253, 0.9)
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer--v3 .footer-v3-contact-card.contact-card::before {
    animation: none;
    background: linear-gradient(
      135deg,
      rgba(96, 165, 250, 0.9),
      rgba(59, 130, 246, 1),
      rgba(147, 197, 253, 0.9)
    );
  }
}

@media (max-width: 1279px) {
  .site-footer--v3 .footer-v3-contact-card.contact-card {
    display: block;
  }

  .site-footer--v3 .footer-v3-contact-card.contact-card .contact-card__registered-office {
    margin-top: 0;
  }
}

.site-footer--v3 .footer-v3-pillar--locations {
  grid-column: 1;
  grid-row: 2;
}

.site-footer--v3 .footer-v3-pillar--business {
  grid-column: 2;
  grid-row: 2;
}

.site-footer--v3 .footer-v3-pillar--tools {
  grid-column: 3;
  grid-row: 2;
}

.site-footer--v3 .footer-v3-pillar-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-v3-heading);
  margin: 0 0 14px;
}

.site-footer--v3 .footer-v3-pillar-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--footer-v3-pillar-icon-bg);
  color: var(--footer-v3-pillar-icon);
  flex-shrink: 0;
}

.site-footer--v3 .footer-v3-pillar-heading-icon svg {
  width: 14px;
  height: 14px;
}

.site-footer--v3 .footer-v3-pillar-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer--v3 .footer-v3-pillar-list li {
  line-height: 1.5;
}

.site-footer--v3 .footer-v3-contact-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-v3-heading);
  margin: 0 0 18px;
}

.site-footer--v3 .footer-v3-contact-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(59, 130, 246, 0.15));
  color: #93c5fd;
}

/* v7.3 — Get in Touch: vertical label / value stack (full width for emails) */
.site-footer--v3 .footer-v3-contact-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer--v3 .footer-v3-contact-entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer--v3 .footer-v3-contact-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--footer-v3-text-muted);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-footer--v3 .footer-v3-contact-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}

.site-footer--v3 .footer-v3-contact-value {
  padding-left: 22px;
  min-width: 0;
}

.site-footer--v3 .footer-v3-contact-link {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  color: var(--footer-v3-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(169, 199, 255, 0.4);
  text-decoration-thickness: 1px;
  font-size: 13.5px;
  line-height: 1.4;
  transition: text-decoration-color 160ms ease, color 160ms ease;
  word-break: break-all;
}

.site-footer--v3 .footer-v3-contact-link:hover,
.site-footer--v3 .footer-v3-contact-link:focus-visible {
  text-decoration-color: currentColor;
  color: #c7d9ff;
}

.site-footer--v3 .footer-v3-contact-link--phone {
  font-size: 15.5px;
  font-weight: 500;
  color: #c7d9ff;
}

.site-footer--v3 .footer-v3-contact-meta {
  display: block;
  color: var(--footer-v3-text-muted);
  font-size: 12.5px;
  line-height: 1.4;
  margin-top: 3px;
}

@media (max-width: 480px) {
  .site-footer--v3 .footer-v3-contact-value {
    padding-left: 22px;
  }

  .site-footer--v3 .footer-v3-contact-link {
    font-size: 14px;
  }

  .site-footer--v3 .footer-v3-contact-link--phone {
    font-size: 16px;
  }
}

.site-footer--v3 .footer-v3-reg-block.contact-card__registered-office {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--footer-v3-text);
  line-height: 1.55;
}

.site-footer--v3 .footer-v3-reg-block.contact-card__registered-office strong {
  color: var(--footer-v3-heading);
  font-size: 13.5px;
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 1279px) {
  .site-footer--v3 .footer-v3-main-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
  }

  .site-footer--v3 .footer-v3-pillar--compare {
    grid-column: 1;
    grid-row: 1;
  }

  .site-footer--v3 .footer-v3-pillar--providers {
    grid-column: 2;
    grid-row: 1;
  }

  .site-footer--v3 .footer-v3-pillar--guides {
    grid-column: 3;
    grid-row: 1;
  }

  .site-footer--v3 .footer-v3-pillar--locations {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer--v3 .footer-v3-pillar--business {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer--v3 .footer-v3-pillar--tools {
    grid-column: 3;
    grid-row: 2;
  }

  .site-footer--v3 .footer-v3-contact-card {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 1023px) {
  .site-footer--v3 .footer-v3-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 24px;
  }

  .site-footer--v3 .footer-v3-pillar--compare {
    grid-column: 1;
    grid-row: 1;
  }

  .site-footer--v3 .footer-v3-pillar--providers {
    grid-column: 2;
    grid-row: 1;
  }

  .site-footer--v3 .footer-v3-pillar--guides {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer--v3 .footer-v3-pillar--locations {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer--v3 .footer-v3-pillar--business {
    grid-column: 1;
    grid-row: 3;
  }

  .site-footer--v3 .footer-v3-pillar--tools {
    grid-column: 2;
    grid-row: 3;
  }

  .site-footer--v3 .footer-v3-contact-card {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

@media (max-width: 767px) {
  .site-footer--v3 .footer-v3-main-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .site-footer--v3 .footer-v3-main-grid > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .site-footer--v3 .footer-v3-contact-card {
    padding: 20px;
  }

  .site-footer--v3 .footer-v3-pillar-list {
    gap: 0;
  }

  .site-footer--v3 .footer-v3-link {
    padding: 8px 0;
    line-height: 1.4;
  }

  .site-footer--v3 .footer-v3-link:active {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .site-footer--v3 .footer-v3-company-card .footer-v3-company-grid {
    row-gap: 2px !important;
  }
}

@media (max-width: 479px) {
  .site-footer--v3 .footer-v3-link {
    white-space: normal;
  }
}

/* Row 4 — company + QR */
.site-footer--v3 .footer-v3-trust-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  margin-bottom: 18px;
}

.site-footer--v3 .footer-v3-card {
  background: var(--footer-v3-card-bg);
  border: 1px solid var(--footer-v3-card-border);
  border-radius: 14px;
  padding: 22px 26px 24px;
}

.site-footer--v3 .footer-v3-company-card {
  padding: 18px 22px 20px;
}

.site-footer--v3 .footer-v3-company-card .footer-v3-company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 36px;
  row-gap: 4px;
}

.site-footer--v3 .footer-v3-qr-card {
  position: relative;
  background: var(--footer-v3-card-bg);
  border: 1px solid var(--footer-v3-card-border);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  overflow: hidden;
}

.site-footer--v3 .footer-v3-qr-waves {
  position: absolute;
  right: 120px;
  top: 52%;
  transform: translateY(-50%);
  width: 180px;
  height: 120px;
  pointer-events: none;
  opacity: 0.45;
}

.site-footer--v3 .footer-v3-qr-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.site-footer--v3 .qr-card__image {
  width: 104px;
  height: 104px;
  background: #ffffff;
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.site-footer--v3 .qr-card__image img {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1023px) {
  .site-footer--v3 .footer-v3-trust-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer--v3 .footer-v3-company-card .footer-v3-company-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .site-footer--v3 .footer-v3-company-card .footer-v3-company-grid {
    grid-template-columns: 1fr !important;
  }

  .site-footer--v3 .footer-v3-qr-card {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .site-footer--v3 .footer-v3-qr-waves.footer-v3-qr-waves {
    display: none;
  }

  .site-footer--v3 .qr-card__image {
    margin: 0 auto;
  }
}

/* Row 5 — resources */
.site-footer--v3 .footer-v3-resources-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 13px;
  color: var(--footer-v3-text);
  margin-bottom: 18px;
}

.site-footer--v3 .footer-v3-resources-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-v3-heading);
  font-size: 12px;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer--v3 .footer-v3-resources-dot {
  color: #4a5478;
}

@media (max-width: 767px) {
  .site-footer--v3 .footer-v3-resources-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px;
  }

  .site-footer--v3 .footer-v3-resources-strip::-webkit-scrollbar {
    display: none;
  }

  .site-footer--v3 .footer-v3-resources-strip > * {
    flex-shrink: 0;
  }

  .site-footer--v3 .footer-v3-resources-label {
    border-right: 0;
    padding-right: 8px;
  }
}

/* Row 6 — legal */
.site-footer--v3 .footer-v3-legal-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--footer-v3-divider);
  font-size: 12.5px;
  color: var(--footer-v3-text-muted);
}

.site-footer--v3 .footer-v3-legal-row p {
  margin: 0;
  max-width: 70ch;
  line-height: 1.6;
}

.site-footer--v3 .footer-v3-legal-row a {
  color: var(--footer-v3-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer--v3 .footer-v3-legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
}

.site-footer--v3 .footer-v3-legal-links button {
  display: inline;
  color: var(--footer-v3-text);
  text-decoration: none;
  font-size: 13.5px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.site-footer--v3 .footer-v3-legal-links button:hover,
.site-footer--v3 .footer-v3-legal-links button:focus-visible {
  color: var(--footer-v3-link-hover);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .site-footer--v3 .footer-v3-legal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-footer--v3 .footer-v3-legal-row p {
    font-size: 12px;
  }

  .site-footer--v3 .footer-v3-legal-links {
    gap: 6px 18px;
  }
}
