/* Voiexa landing footer - VISER X–inspired layout */

/* Landing: transparent footer on white-gray page */
body.vx-landing .vx-footer {
  --vx-footer-bg: transparent;
  --vx-footer-foreground: #111827;
  --vx-footer-muted: #4b5563;
  --vx-footer-dim: #6b7280;
  --vx-footer-line: rgba(17, 24, 39, 0.08);
  --vx-footer-line-strong: rgba(17, 24, 39, 0.14);
  background: transparent;
}

body.vx-landing .vx-footer__watermark {
  color: rgba(15, 23, 42, 0.05);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Office cards — clean white panels on the light landing */
body.vx-landing .vx-footer__office-card {
  --vx-footer-foreground: #111827;
  --vx-footer-muted: #4b5563;
  --vx-footer-dim: #6b7280;
  --vx-footer-line: rgba(17, 24, 39, 0.08);
  --vx-footer-accent: #6f36ff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.vx-landing .vx-footer__office-maps {
  border-color: rgba(111, 54, 255, 0.28);
  background: rgba(111, 54, 255, 0.06);
  color: #6f36ff;
}

body.vx-landing .vx-footer__office-maps:hover {
  border-color: rgba(111, 54, 255, 0.45);
  background: rgba(111, 54, 255, 0.1);
  color: #5b21b6;
}

.vx-footer {
  --vx-footer-bg: #100840;
  --vx-footer-foreground: #f4f7fc;
  --vx-footer-muted: #9b93b8;
  --vx-footer-dim: #84888a;
  --vx-footer-primary: #6f36ff;
  --vx-footer-primary-deep: #6f36ff;
  --vx-footer-accent: #4da0ff;
  --vx-footer-line: rgba(255, 255, 255, 0.06);
  --vx-footer-line-strong: rgba(255, 255, 255, 0.12);
  --vx-footer-star: #f59e0b;
  --vx-footer-max: var(--vx-container-wide, min(88rem, 100vw));
  --vx-footer-pad-x: var(--vx-page-pad, clamp(1rem, 2.5vw, 2.5rem));

  position: relative;
  overflow: hidden;
  margin-top: 0;
  border-top: none;
  background: var(--vx-footer-bg);
  color: var(--vx-footer-foreground);
}

.vx-footer__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--vx-footer-max);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--vx-footer-pad-x) clamp(1rem, 2vw, 1.5rem);
}

.vx-footer__watermark {
  position: relative;
  z-index: 0;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
  font-family: "Bebas Neue", "DM Sans", system-ui, sans-serif;
  font-size: clamp(5rem, 18vw, 13rem);
  line-height: 0.85;
  letter-spacing: 0.06em;
  text-align: center;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

/* -- Top grid -- */
.vx-footer__top {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.vx-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 24rem;
}

.vx-footer__brand-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  width: 100%;
  max-width: 100%;
  margin-top: 1.25rem;
}

.vx-footer__logo-link {
  display: inline-flex;
}

.vx-footer__logo-link .landing-logo {
  height: clamp(2rem, 4vw, 2.75rem);
  width: auto;
}

.vx-footer__tagline {
  margin: 1.125rem 0 0;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--vx-footer-dim);
}

.vx-footer__email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  font-size: 0.875rem;
  color: var(--vx-footer-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vx-footer__email:hover {
  color: var(--vx-footer-foreground);
}

.vx-footer__email-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.vx-footer__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  max-width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vx-footer-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vx-footer__cta:hover {
  color: var(--vx-footer-primary);
}

.vx-footer__cta:hover .vx-footer__cta-icon {
  transform: translateY(2px);
}

.vx-footer__cta-icon {
  display: grid;
  place-items: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 999px;
  background: var(--vx-footer-primary);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(77, 160, 255, 0.35);
}

.vx-footer__cta-icon svg {
  width: 1rem;
  height: 1rem;
}

.vx-footer__col-title {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--vx-footer-foreground);
}

.vx-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vx-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--vx-footer-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vx-footer__link:hover {
  color: var(--vx-footer-foreground);
}

.vx-footer__link--accent {
  color: var(--vx-footer-accent);
  font-weight: 500;
}

.vx-footer__link--accent:hover {
  color: #7eb8ff;
}

.vx-footer__link-ext {
  width: 0.8125rem;
  height: 0.8125rem;
  flex-shrink: 0;
  opacity: 0.85;
}

/* -- Trust badges row (review platforms) -- */
.vx-footer__trust {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--vx-footer-line);
}

.vx-footer__trust-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0.9;
}

.vx-footer__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.vx-footer__trust-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 3rem;
  margin-bottom: 0.25rem;
  color: var(--vx-footer-foreground);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.vx-footer__trust-brand:hover {
  opacity: 0.85;
}

.vx-footer__trust-brand-text {
  display: block;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.vx-footer__trust-brand-text--caps {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.vx-footer__trust-brand-text--clutch {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vx-footer__trust-brand-text--goodfirms {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.vx-footer__trust-brand-text--trustpilot {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vx-footer__trust-brand-text--sortlist {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.vx-footer__trust-rating {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--vx-footer-foreground);
}

.vx-footer__trust-score {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.vx-footer__trust-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
}

.vx-footer__trust-star {
  font-size: 0.75rem;
  line-height: 1;
}

.vx-footer__trust-star--on {
  color: #f97316;
}

.vx-footer__trust-star--half {
  color: #f97316;
  opacity: 0.55;
}

.vx-footer__trust-star--off {
  color: #4b5563;
}

/* -- Office location cards -- */
.vx-footer__offices {
  display: grid;
  align-items: stretch;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--vx-footer-line);
}

.vx-footer__office-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  border: 1px solid rgba(111, 54, 255, 0.22);
  border-radius: 0.875rem;
  background: rgba(18, 8, 63, 0.55);
  overflow: hidden;
}

.vx-footer__office-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 0 0 auto;
  min-height: 5rem;
  padding: 1rem 1.125rem;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.vx-footer__office-head::-webkit-details-marker {
  display: none;
}

.vx-footer__office-code {
  flex-shrink: 0;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--vx-footer-foreground);
}

.vx-footer__office-head-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 auto;
}

.vx-footer__office-country {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vx-footer-foreground);
}

.vx-footer__office-region {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--vx-footer-dim);
}

.vx-footer__office-chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--vx-footer-muted);
  transition: transform 0.2s ease;
}

.vx-footer__office-card:not([open]) .vx-footer__office-chevron {
  transform: rotate(180deg);
}

.vx-footer__office-body {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  min-height: 0;
  padding: 0 1.125rem 1.125rem;
  border-top: 1px solid var(--vx-footer-line);
}

.vx-footer__office-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.875rem;
  min-height: 0;
}

.vx-footer__office-line {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--vx-footer-muted);
}

.vx-footer__office-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: var(--vx-footer-dim);
}

.vx-footer__office-phones {
  display: inline;
  line-height: 1.55;
}

.vx-footer__office-phone-sep {
  color: var(--vx-footer-muted);
}

.vx-footer__office-phone {
  color: var(--vx-footer-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vx-footer__office-phone:hover {
  color: var(--vx-footer-accent);
}

.vx-footer__office-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(111, 54, 255, 0.35);
  border-radius: 0.625rem;
  background: rgba(16, 8, 64, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vx-footer-accent);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.vx-footer__office-maps:hover {
  border-color: rgba(77, 160, 255, 0.55);
  background: rgba(111, 54, 255, 0.12);
  color: #7eb8ff;
}

/* -- Bottom bar: [logos + credit] …… copyright -- */
.vx-footer__bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid var(--vx-footer-line);
  min-height: 0;
}

.vx-footer__bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  min-width: 0;
}

.vx-footer__bar-start {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem 1.25rem;
  min-width: 0;
}

.vx-footer__partner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  color: var(--vx-footer-muted);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.vx-footer__partner:hover {
  opacity: 1;
  color: var(--vx-footer-foreground);
}

.vx-footer__partner-logo {
  display: block;
  flex-shrink: 0;
  height: 1.125rem;
  width: auto;
  max-width: 4.5rem;
  object-fit: contain;
}

.vx-footer__partner-logo--tedbot,
.vx-footer__partner-logo--timerni {
  height: 1.25rem;
  width: 1.25rem;
  max-width: 1.25rem;
  max-height: 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.vx-footer__partner-name {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.vx-footer__credit {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--vx-footer-dim);
  white-space: nowrap;
}

.vx-footer__credit strong {
  color: var(--vx-footer-muted);
  font-weight: 600;
}

.vx-footer__copyright {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  margin: 0;
  margin-left: auto;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--vx-footer-dim);
  text-align: right;
}

.vx-footer__copyright-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  line-height: 0;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.vx-footer__copyright-brand:hover {
  opacity: 1;
}

.vx-footer__copyright-logo {
  display: block;
  flex-shrink: 0;
  height: 1.25rem;
  width: 1.25rem;
  max-width: 1.25rem;
  max-height: 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.vx-footer .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1024px) {
  .vx-footer__top {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .vx-footer__trust-track {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1rem;
  }

  .vx-footer__offices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .vx-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }

  .vx-footer__brand {
    grid-column: 1 / -1;
  }

  .vx-footer__trust-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }

  .vx-footer__offices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  .vx-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .vx-footer__bar-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .vx-footer__copyright {
    margin-left: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .vx-footer__credit {
    white-space: normal;
  }

  .vx-footer__bar-start {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .vx-footer__partner-name {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vx-footer__cta-icon {
    transition: none;
  }
}
