:root {
  --vh-footer-bg: #03111f;
  --vh-footer-bg-deep: #020b16;
  --vh-footer-text: #f5f7fa;
  --vh-footer-muted: rgba(219, 231, 242, 0.64);
  --vh-footer-faint: rgba(219, 231, 242, 0.42);
  --vh-footer-line: rgba(219, 231, 242, 0.14);
  --vh-footer-accent: #c85b2b;
  --vh-footer-accent-soft: #ec7a42;
  --vh-footer-max: 1280px;
}

.vh-footer {
  position: relative;
  overflow: hidden;
  color: var(--vh-footer-text);
  background:
    radial-gradient(ellipse 34rem 22rem at 90% 2%, rgba(105, 139, 170, 0.12), transparent 72%),
    radial-gradient(ellipse 32rem 24rem at 8% 92%, rgba(105, 139, 170, 0.08), transparent 72%),
    linear-gradient(135deg, #03101e 0%, #020b16 100%);
  isolation: isolate;
}

.vh-footer::before,
.vh-footer::after {
  position: absolute;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(116, 163, 201, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.vh-footer::before {
  top: -18rem;
  right: -8rem;
  box-shadow: 0 0 0 2.5rem transparent, 0 0 0 2.6rem rgba(116, 163, 201, 0.06), 0 0 0 5.3rem transparent, 0 0 0 5.4rem rgba(116, 163, 201, 0.05), 0 0 0 8.1rem transparent, 0 0 0 8.2rem rgba(116, 163, 201, 0.04);
}

.vh-footer::after {
  bottom: -22rem;
  left: -12rem;
  box-shadow: 0 0 0 2.5rem transparent, 0 0 0 2.6rem rgba(116, 163, 201, 0.05), 0 0 0 5.3rem transparent, 0 0 0 5.4rem rgba(116, 163, 201, 0.04);
}

.vh-footer__inner {
  width: min(100% - 2.5rem, var(--vh-footer-max));
  margin: 0 auto;
  padding: 3.65rem 0 1.2rem;
}

.vh-footer__topline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--vh-footer-muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.vh-footer__dot {
  width: 0.28rem;
  height: 0.28rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--vh-footer-accent);
}

.vh-footer__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.1rem;
  align-items: center;
  padding: 3.45rem 0 4.1rem;
}

.vh-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17rem;
  max-width: calc(100vw - 2rem);
  flex: 0 0 auto;
  gap: 0.85rem;
  margin-inline: auto;
  color: var(--vh-footer-text);
  text-decoration: none;
}

.vh-footer__mark {
  display: block;
  width: 100%;
  height: auto;
  max-height: 3.75rem;
  object-fit: contain;
}

.vh-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.vh-footer__brand-text strong {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}

.vh-footer__brand-text small {
  color: var(--vh-footer-muted);
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
}

.vh-footer__message {
  width: 100%;
  max-width: none;
  text-align: center;
}

.vh-footer__eyebrow {
  margin: 0;
  color: var(--vh-footer-accent-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.vh-footer__message h2 {
  max-width: 62rem;
  margin: 0.95rem auto 0;
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
  white-space: nowrap;
}

.vh-footer__description {
  width: 100%;
  max-width: none;
  margin: 1.2rem auto 0;
  color: var(--vh-footer-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  white-space: nowrap;
}

.vh-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.65rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--vh-footer-accent);
  border-radius: 0.3rem;
  color: #fff;
  background: var(--vh-footer-accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.vh-footer__cta:hover {
  border-color: var(--vh-footer-accent-soft);
  background: var(--vh-footer-accent-soft);
  transform: translateY(-2px);
}

.vh-footer__cta:active {
  transform: translateY(0);
}

.vh-footer__rule {
  height: 1px;
  background: var(--vh-footer-line);
}

.vh-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.9fr 1.45fr;
  gap: 2.5rem;
  padding: 3.1rem 0 3.35rem;
}

.vh-footer__group h3 {
  margin: 0 0 1.25rem;
  color: var(--vh-footer-accent-soft);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.vh-footer__group h3::after {
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.72rem;
  background: var(--vh-footer-accent);
  content: "";
}

.vh-footer__group ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vh-footer__group li + li {
  border-top: 1px solid var(--vh-footer-line);
}

.vh-footer__group li a {
  display: block;
  padding: 0.78rem 0;
  color: var(--vh-footer-muted);
  font-size: 0.93rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 180ms ease, padding-left 180ms ease;
}

.vh-footer__group li a:hover {
  padding-left: 0.25rem;
  color: #fff;
}

.vh-footer__contact address {
  display: grid;
  gap: 0.95rem;
  margin: 0;
  font-style: normal;
}

.vh-footer__contact address a,
.vh-footer__address {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--vh-footer-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-decoration: none;
}

.vh-footer__contact address a:hover {
  color: #fff;
}

.vh-footer__contact svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--vh-footer-accent-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.vh-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.15rem;
  color: var(--vh-footer-faint);
  font-size: 0.77rem;
  line-height: 1.5;
}

.vh-footer__bottom p {
  margin: 0;
}

.vh-footer__bottom nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.vh-footer__bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.vh-footer__bottom a:hover {
  color: #fff;
}

.vh-footer a:focus-visible {
  outline: 2px solid var(--vh-footer-accent-soft);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .vh-footer__message h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
  }

  .vh-footer__description {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .vh-footer__intro {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .vh-footer__message h2 {
    white-space: normal;
  }

  .vh-footer__brand-lockup {
    order: 2;
  }

  .vh-footer__message {
    order: 1;
    text-align: center;
  }

  .vh-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }
}

@media (max-width: 620px) {
  .vh-footer__inner {
    width: min(100% - 2rem, var(--vh-footer-max));
    padding-top: 3.25rem;
  }

  .vh-footer__topline {
    justify-content: flex-start;
    gap: 0.45rem 0.6rem;
    font-size: 0.63rem;
    letter-spacing: 0.1em;
  }

  .vh-footer__intro {
    gap: 2rem;
    padding: 2.7rem 0 3rem;
  }

  .vh-footer__message h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .vh-footer__description {
    font-size: 0.93rem;
  }

  .vh-footer__nav {
    grid-template-columns: 1fr;
    gap: 2.6rem;
    padding: 2.7rem 0 3rem;
  }

  .vh-footer__group li a {
    padding: 0.7rem 0;
  }

  .vh-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 0.4rem;
  }

  .vh-footer__bottom nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vh-footer__cta,
  .vh-footer__group li a,
  .vh-footer__bottom a {
    transition: none;
  }
}

/* Standard CTA rhythm: description to Get in touch button */
.vh-footer__message .vh-footer__cta {
  margin-top: 1.5rem;
}

/* Footer CTA uses the shared primary button component */
.vh-footer__message .vh-btn--primary {
  margin-top: 1.5rem;
}

/* Ensure footer email links remain clickable above decorative layers. */
.vh-footer a[data-email-link],
.vh-footer a[href^="mailto:"] {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}
