/* =========================================================
   Vighnahara Unified Footer — Review Draft
   Not applied to the live website yet.
   ========================================================= */

.vh-unified-footer {
  position: relative;
  overflow: hidden;
  color: #f5f7fa;
  background:
    radial-gradient(circle at 82% 0%, rgba(21, 152, 255, .12), transparent 25rem),
    linear-gradient(145deg, #061426 0%, #071a2e 52%, #04101d 100%);
}

.vh-unified-footer::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .28;
  background-image:
    linear-gradient(rgba(122, 177, 219, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 177, 219, .08) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(90deg, black, transparent 86%);
}

.vh-unified-footer__shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 80rem);
  margin-inline: auto;
  padding: 1.5rem 0;
}

.vh-unified-footer__topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  color: rgba(235, 242, 248, .64);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.vh-unified-footer__dot {
  width: .25rem;
  height: .25rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--vh-highlight, #1598ff);
}

.vh-unified-footer__intro {
  display: grid;
  grid-template-columns: minmax(8rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
  padding: 3.6rem 0 3.25rem;
}

.vh-unified-footer__brand {
  display: inline-flex;
  width: fit-content;
  align-items: flex-start;
  transition: opacity .2s ease, transform .2s ease;
}

.vh-unified-footer__brand:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.vh-unified-footer__logo {
  display: block;
  width: clamp(9.5rem, 15vw, 13rem);
  height: auto;
}

.vh-unified-footer__message {
  max-width: 48rem;
}

.vh-unified-footer__eyebrow {
  margin: 0 0 .95rem;
  color: var(--vh-highlight-soft, #3b9cff);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.vh-unified-footer__message h2 {
  max-width: 48rem;
  margin: 0;
  color: #fff;
  font-family: var(--vh-display, "Space Grotesk", sans-serif);
  font-size: clamp(2.15rem, 5vw, 4.55rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
}

.vh-unified-footer__description {
  max-width: 39rem;
  margin: 1.25rem 0 0;
  color: rgba(219, 231, 242, .68);
  font-size: clamp(.9rem, 1.4vw, 1.06rem);
  line-height: 1.65;
}

.vh-unified-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.65rem;
  padding: .75rem 1.15rem;
  border: 1px solid #e07b4a;
  border-radius: 999px;
  color: #fff;
  background: #c85b2b;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.vh-unified-footer__cta:hover,
.vh-unified-footer__cta:focus-visible {
  border-color: #ec7a42;
  background: #ec7a42;
  transform: translateY(-1px);
}

.vh-unified-footer__rule {
  height: 1px;
  background: rgba(219, 231, 242, .13);
}

.vh-unified-footer__nav {
  display: grid;
  grid-template-columns: 1.15fr 1fr .9fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 2.55rem 0 2.7rem;
}

.vh-unified-footer__group h3 {
  margin: 0 0 1rem;
  color: rgba(245, 247, 250, .92);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

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

.vh-unified-footer__group a,
.vh-unified-footer__contact address a,
.vh-unified-footer__address {
  color: rgba(219, 231, 242, .58);
  font-size: .875rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.vh-unified-footer__group a:hover,
.vh-unified-footer__group a:focus-visible,
.vh-unified-footer__contact address a:hover,
.vh-unified-footer__contact address a:focus-visible {
  color: #fff;
}

.vh-unified-footer__accent-link {
  color: #ec7a42 !important;
  font-weight: 750;
}

.vh-unified-footer__accent-link span {
  margin-left: .25rem;
}

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

.vh-unified-footer__contact address a,
.vh-unified-footer__address {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}

.vh-unified-footer__contact address a > span:first-child,
.vh-unified-footer__address > span:first-child {
  width: 1.45rem;
  flex: 0 0 auto;
  color: #ec7a42;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.vh-unified-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  color: rgba(219, 231, 242, .38);
  font-size: .75rem;
  line-height: 1.5;
}

.vh-unified-footer__bottom p {
  margin: 0;
}

.vh-unified-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.vh-unified-footer__bottom a {
  color: inherit;
  text-decoration: none;
}

.vh-unified-footer__bottom a:hover,
.vh-unified-footer__bottom a:focus-visible {
  color: #fff;
}

.vh-unified-footer a:focus-visible {
  outline: 2px solid #ec7a42;
  outline-offset: 4px;
}

/* Homepage and AI use the centered footer composition. */
.vh-home-page .vh-unified-footer__topline,
.ai-page .vh-unified-footer__topline {
  justify-content: center;
  text-align: center;
}

.vh-home-page .vh-unified-footer__intro,
.ai-page .vh-unified-footer__intro {
  grid-template-columns: 1fr 1fr;
  row-gap: 1.4rem;
  padding-top: 0;
}

.vh-home-page .vh-unified-footer__brand,
.ai-page .vh-unified-footer__brand {
  grid-column: 1 / -1;
  justify-self: center;
}

.vh-home-page .vh-unified-footer__message,
.ai-page .vh-unified-footer__message {
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.vh-home-page .vh-unified-footer__message > *,
.ai-page .vh-unified-footer__message > * {
  margin-inline: auto !important;
  text-align: center !important;
}

.vh-home-page .vh-unified-footer__message h2,
.ai-page .vh-unified-footer__message h2 {
  width: auto !important;
  max-width: none !important;
}

.vh-home-page .vh-unified-footer__message .vh-unified-footer__description,
.ai-page .vh-unified-footer__message .vh-unified-footer__description {
  width: 100% !important;
  max-width: none !important;
}

.vh-home-page .vh-unified-footer__cta,
.ai-page .vh-unified-footer__cta {
  align-self: center;
}

@media (min-width: 761px) {
  .vh-home-page .vh-unified-footer__message h2,
  .ai-page .vh-unified-footer__message h2 {
    white-space: nowrap;
    font-size: clamp(2rem, 3.8vw, 3.8rem);
  }

  .vh-home-page .vh-unified-footer__message .vh-unified-footer__description,
  .ai-page .vh-unified-footer__message .vh-unified-footer__description {
    white-space: nowrap;
    font-size: clamp(.82rem, 1.05vw, 1rem);
  }
}

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

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

  .vh-home-page .vh-unified-footer__intro,
  .ai-page .vh-unified-footer__intro {
    grid-template-columns: 1fr;
  }

  .vh-home-page .vh-unified-footer__brand,
  .ai-page .vh-unified-footer__brand,
  .vh-home-page .vh-unified-footer__message,
  .ai-page .vh-unified-footer__message {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .vh-unified-footer__shell {
    width: min(100% - 2rem, 80rem);
  }

  .vh-unified-footer__topline {
    gap: .45rem;
    font-size: .56rem;
    letter-spacing: .14em;
  }

  .vh-unified-footer__intro {
    padding: 2.8rem 0 2.6rem;
  }

  .vh-unified-footer__nav {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.1rem 0 2.3rem;
  }

  .vh-unified-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .vh-home-page .vh-unified-footer__message h2,
  .ai-page .vh-unified-footer__message h2,
  .vh-home-page .vh-unified-footer__message .vh-unified-footer__description,
  .ai-page .vh-unified-footer__message .vh-unified-footer__description {
    white-space: normal;
  }
}

/* Reuse the centered homepage composition on the remaining requested pages. */
.vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__topline {
  justify-content: center;
  text-align: center;
}
.vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__shell {
  padding: 1.5rem 0;
}

.vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__intro {
  grid-template-columns: 1fr 1fr;
  row-gap: 1.4rem;
  padding-top: 0;
}

.vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__brand {
  grid-column: 1 / -1;
  justify-self: center;
}

.vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__message {
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__message > * {
  margin-inline: auto !important;
  text-align: center !important;
}

.vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__message h2 {
  width: auto !important;
  max-width: none !important;
}

.vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__message .vh-unified-footer__description {
  width: 100% !important;
  max-width: none !important;
}

.vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__cta {
  align-self: center;
}

@media (min-width: 761px) {
  .vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__message h2 {
    white-space: nowrap;
    font-size: clamp(2rem, 3.8vw, 3.8rem);
  }

  .vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__message .vh-unified-footer__description {
    white-space: nowrap;
    font-size: clamp(.82rem, 1.05vw, 1rem);
  }
}

@media (max-width: 820px) {
  .vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__intro {
    grid-template-columns: 1fr;
  }

  .vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__brand,
  .vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__message {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__shell {
    padding: 1.5rem 0;
  }

  .vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__message h2,
  .vh-centered-footer-page:not(.vh-home-page):not(.ai-page) .vh-unified-footer__message .vh-unified-footer__description {
    white-space: normal;
  }
}

/* Vighnahara semantic accent system: orange is action; blue is highlight. */
:root {
  --vh-action: #C05728;
  --vh-action-hover: #E07B4A;
  --vh-highlight: #1598FF;
  --vh-highlight-soft: #3B9CFF;
}

.vh-action {
  color: #fff;
  background: var(--vh-action);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.vh-action:hover,
.vh-action:focus-visible {
  background: var(--vh-action-hover);
}

.vh-highlight {
  color: var(--vh-highlight);
}

/* Existing brand-soft text is informational emphasis, not an action surface. */
.text-brand-soft {
  color: var(--vh-highlight-soft) !important;
}

/* Shared header mark: readable Vighnahara wordmark and Consulting LLC line. */
.vh-site-logo {
  width: 190px !important;
  height: auto !important;
  max-width: none !important;
  flex: 0 0 auto;
}
@media (max-width: 640px) {
  .vh-site-logo {
    width: 140px !important;
  }
}

/* Social profile links */
.vh-unified-footer__social {
  display: flex;
  align-items: center;
  margin-top: 1.35rem;
}
.vh-unified-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(219, 231, 242, .68);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}
.vh-unified-footer__social-link:hover {
  color: #ec7a42;
  transform: translateY(-1px);
}
.vh-unified-footer__social-link:focus-visible {
  outline: 2px solid #ec7a42;
  outline-offset: 4px;
  border-radius: 3px;
}
.vh-unified-footer__social-icon {
  display: block;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  flex: 0 0 20px;
  overflow: hidden;
}

/* LinkedIn follows the same horizontal contact-row treatment as email and phone. */
.vh-unified-footer__contact address > .vh-unified-footer__social-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .65rem;
  margin-top: .05rem;
  color: rgba(219, 231, 242, .58);
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.45;
  text-transform: none;
}
.vh-unified-footer__contact address > .vh-unified-footer__social-link:hover,
.vh-unified-footer__contact address > .vh-unified-footer__social-link:focus-visible {
  color: #fff;
}
.vh-unified-footer__contact address > .vh-unified-footer__social-link .vh-unified-footer__social-icon {
  width: 1.45rem;
  min-width: 1.45rem;
  max-width: 1.45rem;
  height: 1.45rem;
  min-height: 1.45rem;
  max-height: 1.45rem;
  flex: 0 0 1.45rem;
  color: #ec7a42;
}

/* LinkedIn uses the same compact icon slot and muted text as the other contact rows. */
.vh-unified-footer__contact address > .vh-unified-footer__social-link {
  width: auto;
  margin-top: 0;
  color: rgba(219, 231, 242, .58);
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.45;
  text-transform: none;
}
.vh-unified-footer__contact address > .vh-unified-footer__social-link:hover,
.vh-unified-footer__contact address > .vh-unified-footer__social-link:focus-visible {
  color: #fff;
}
.vh-unified-footer__contact address > .vh-unified-footer__social-link > span:first-child {
  width: 1.45rem;
  flex: 0 0 1.45rem;
  color: #ec7a42;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.45;
  text-align: center;
  text-transform: lowercase;
}

/* Circular LinkedIn badge, aligned with the existing contact-row icon slot. */
.vh-unified-footer__contact address > .vh-unified-footer__social-link > .vh-unified-footer__linkedin-mark {
  display: inline-flex;
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 1.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff !important;
  background: #ec7a42;
  font-family: Arial, sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  text-align: center;
  text-transform: lowercase;
}
.vh-unified-footer__contact address > .vh-unified-footer__social-link:hover > .vh-unified-footer__linkedin-mark,
.vh-unified-footer__contact address > .vh-unified-footer__social-link:focus-visible > .vh-unified-footer__linkedin-mark {
  background: #f39a68;
}
