/* Shared footer styling aligned with the original Yacob Digital homepage. */
.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4rem 1.5rem 2rem;
  background: #020617;
  border-top: 1px solid #020617;
  color: #cbd5e1;
  line-height: 1.6;
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.site-footer-brand {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: .5rem;
  color: #fff;
  text-decoration: none;
}

.site-footer-brand-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.site-footer-brand-row img {
  width: 2rem;
  height: 2rem;
  border: 1px solid #374151;
  border-radius: 999px;
  object-fit: cover;
}

.site-footer-brand-name {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

.site-footer-eyebrow {
  margin: .25rem 0 0 2.5rem;
  color: #9ca3af;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-footer-copy {
  max-width: 19rem;
  margin: 0 0 1rem;
  color: #d1d5db;
  font-size: .75rem;
  font-weight: 500;
}

.site-footer-contact {
  margin: 0 0 1rem;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 500;
}

.site-footer-heading {
  margin: 0 0 1.5rem;
  color: #e5e7eb;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer-list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-list a,
.site-footer-view,
.site-footer-contact a {
  color: #cbd5e1;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer-list a:hover,
.site-footer-view:hover,
.site-footer-contact a:hover,
.site-footer-bottom a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(75, 85, 99, .6);
  color: #9ca3af;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer-bottom p {
  margin: 0;
}

@media (max-width: 800px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 3rem;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* The homepage footer markup, copied verbatim into review pages. These rules
   supply the same layout when a page does not load the Tailwind stylesheet. */
footer.bg-envizion-darker {
  position: relative;
  z-index: 20;
  padding: 4rem 0 2rem;
  background: #020617;
  border-top: 1px solid #020617;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
}

footer.bg-envizion-darker .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

footer.bg-envizion-darker .container > .grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

footer.bg-envizion-darker a {
  color: #d1d5db;
  text-decoration: none;
}

footer.bg-envizion-darker a:hover {
  color: #fff;
}

footer.bg-envizion-darker .grid > div:first-child > a {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: .5rem;
}

footer.bg-envizion-darker .grid > div:first-child > a > div {
  display: flex;
  align-items: center;
  gap: .5rem;
}

footer.bg-envizion-darker .grid > div:first-child img {
  width: 2rem;
  height: 2rem;
  border: 1px solid #374151;
  border-radius: 999px;
  object-fit: cover;
}

footer.bg-envizion-darker .grid > div:first-child > a span:first-of-type {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

footer.bg-envizion-darker .grid > div:first-child > a > span {
  margin: .25rem 0 0 2.5rem;
  color: #9ca3af;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

footer.bg-envizion-darker .grid p {
  margin: 0 0 1rem;
  color: #d1d5db;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.65;
}

footer.bg-envizion-darker h2 {
  margin: 0 0 1.5rem;
  color: #e5e7eb;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

footer.bg-envizion-darker ul {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer.bg-envizion-darker li a,
footer.bg-envizion-darker .grid > div:first-child > a:last-child {
  font-size: .75rem;
  font-weight: 600;
}

footer.bg-envizion-darker .container > .border-t {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(75, 85, 99, .6);
  color: #9ca3af;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

footer.bg-envizion-darker .container > .border-t p {
  margin: 0;
}

footer.bg-envizion-darker .container > .border-t a {
  font-size: 10px;
}

footer.bg-envizion-darker .container > .border-t span {
  margin: 0 .5rem;
  color: #4b5563;
}

@media (max-width: 800px) {
  footer.bg-envizion-darker .container > .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  footer.bg-envizion-darker .container > .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  footer.bg-envizion-darker .container > .border-t {
    align-items: flex-start;
    flex-direction: column;
  }
}
