/* =========================================================
   FINAL CTA + FOOTER
========================================================= */

.contact-command {
  position: relative;
  overflow: hidden;
  padding: 150px var(--page-pad) 110px;
  background:
    radial-gradient(circle at 68% 48%, rgba(18, 103, 153, 0.15), transparent 26%),
    linear-gradient(180deg, #02080e 0%, #03101a 100%);
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .1;
  background-image:
    linear-gradient(rgba(92,169,217,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,169,217,.09) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.contact-command-shell {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: 70px;
  align-items: center;
}

.contact-eyebrow {
  color: #5a87a1;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .2em;
}

.contact-copy h2 {
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(48px, 5.6vw, 88px);
  font-weight: 600;
  line-height: .93;
  letter-spacing: -.056em;
}

.contact-copy h2 span {
  display: block;
  color: var(--blue);
}

.contact-copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #7893a4;
  font-size: 12px;
  line-height: 1.85;
}

.contact-actions {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-actions .button {
  min-height: 50px;
  padding: 0 22px;
}

.contact-mini-links {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.contact-mini-links a {
  color: #5f8094;
  text-decoration: none;
  font-size: 8px;
}

.contact-mini-links a:hover {
  color: var(--blue);
}

.contact-mini-links span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #34566a;
}

.contact-intelligence-panel {
  position: relative;
  min-height: 470px;
  padding: 32px;
  border: 1px solid rgba(102, 179, 223, .12);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(5, 21, 32, .92), rgba(2, 10, 17, .88));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
}

.contact-intelligence-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(92,188,246,.04);
  border-radius: 14px;
  pointer-events: none;
}

.contact-ai-orb {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92,188,246,.23);
  border-radius: 50%;
  background: rgba(18, 73, 105, .16);
  color: var(--blue);
  font-size: 24px;
  box-shadow:
    0 0 0 13px rgba(92,188,246,.02),
    0 0 60px rgba(92,188,246,.1);
}

.contact-ai-orb i {
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(92,188,246,.12);
  border-radius: 50%;
  animation: footerOrbSpin 14s linear infinite;
}

@keyframes footerOrbSpin {
  to { transform: rotate(360deg); }
}

.contact-ai-copy {
  margin-top: 28px;
}

.contact-ai-copy small {
  color: #4f758c;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .13em;
}

.contact-ai-copy strong {
  display: block;
  margin-top: 9px;
  color: #eef8fd;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.contact-ai-copy p {
  margin: 12px 0 0;
  color: #708c9d;
  font-size: 9px;
  line-height: 1.7;
}

.contact-options {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.contact-options button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(96, 172, 217, .1);
  border-radius: 9px;
  background: rgba(5, 23, 35, .62);
  color: #7495a9;
  cursor: pointer;
  font-size: 8px;
  transition:
    border-color .2s ease,
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.contact-options button:hover,
.contact-options button.active {
  transform: translateY(-1px);
  border-color: rgba(92,188,246,.28);
  background: rgba(18, 78, 113, .17);
  color: white;
}

.contact-brief {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 10px;
}

.contact-brief > div {
  padding: 13px;
  border: 1px solid rgba(96, 172, 217, .08);
  border-radius: 9px;
  background: rgba(4, 18, 28, .42);
}

.contact-brief small {
  display: block;
  color: #496d82;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: .1em;
}

.contact-brief strong {
  display: block;
  margin-top: 7px;
  color: #9cc3d8;
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.5;
}


/* FOOTER */

.site-footer {
  padding: 70px var(--page-pad) 28px;
  border-top: 1px solid rgba(104, 177, 220, .08);
  background: #02070c;
}

.footer-top {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.7fr;
  gap: 80px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92,188,246,.3);
  border-radius: 11px;
  background: rgba(15, 67, 98, .16);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.footer-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand strong {
  color: #eef8fd;
  font-size: 13px;
  letter-spacing: .11em;
}

.footer-brand strong span {
  color: var(--blue);
}

.footer-brand small {
  color: #45677b;
  font-size: 7px;
  letter-spacing: .15em;
}

.footer-brand-block > p {
  max-width: 350px;
  margin: 20px 0 0;
  color: #607e90;
  font-size: 9px;
  line-height: 1.7;
}

.footer-status {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #527d68;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: .1em;
}

.footer-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(62,208,154,.4);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-link-group small {
  margin-bottom: 15px;
  color: #466b80;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .14em;
}

.footer-link-group a {
  margin-top: 10px;
  color: #6f8b9c;
  text-decoration: none;
  font-size: 8px;
  line-height: 1.5;
  transition: color .2s ease;
}

.footer-link-group a:hover {
  color: var(--blue);
}

.footer-divider {
  max-width: 1380px;
  height: 1px;
  margin: 48px auto 24px;
  background: rgba(104, 177, 220, .07);
}

.footer-bottom {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: #3f5f72;
  font-size: 7px;
}

.footer-bottom > span:last-child {
  text-align: right;
  font-family: var(--font-mono);
}

.footer-bottom > div {
  display: flex;
  gap: 16px;
}

.footer-bottom a {
  color: #45687d;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #719bb3;
}

@media (max-width: 980px) {
  .contact-command-shell {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 720px) {
  .contact-command {
    padding: 110px 18px 90px;
  }

  .contact-intelligence-panel {
    min-height: auto;
    padding: 24px;
  }

  .contact-brief {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 58px 18px 24px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-bottom > span:last-child {
    text-align: left;
  }
}


/* Company-profile contact additions */
.contact-address {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
}

.contact-address > div {
  padding: 13px 14px;
  border: 1px solid rgba(96,172,217,.08);
  border-radius: 9px;
  background: rgba(4,18,28,.38);
}

.contact-address small {
  display: block;
  color: #496d82;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: .1em;
}

.contact-address strong {
  display: block;
  margin-top: 6px;
  color: #7e9aaa;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-profile-meta {
  margin-top: 15px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-profile-meta span {
  padding: 7px 9px;
  border: 1px solid rgba(91,171,219,.08);
  border-radius: 7px;
  color: #456a7f;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: .08em;
}

.footer-address-text {
  margin-top: 12px;
  color: #45687d;
  font-size: 7px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .contact-address {
    grid-template-columns: 1fr;
  }
}


/* Elev8 Kenya Limited credit */
.footer-developer-credit {
  max-width: 1380px;
  margin: 18px auto 0;
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid rgba(104,177,220,.045);
  color: #4a6b7c;
  font-size: 7.5px;
  letter-spacing: .02em;
}

.footer-developer-credit a {
  color: #628ca2;
  text-decoration: none;
  font-family: var(--font-mono);
}

.footer-developer-credit a:hover {
  color: #91bed2;
}

@media (max-width: 720px) {
  .footer-developer-credit {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}


/* =========================================================
   V27 — ELEV8 KENYA LIMITED SIGNATURE CREDIT
========================================================= */

.footer-developer-credit {
  position: relative;
  width: fit-content;
  max-width: calc(100% - 28px);
  margin: 22px auto 0;
  padding: 9px 10px 9px 9px;
  display: inline-flex;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  border: 1px solid rgba(92,188,246,.08);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(92,188,246,.055), transparent 38%),
    linear-gradient(180deg, rgba(7,24,35,.55), rgba(3,14,22,.62));
  box-shadow:
    0 12px 30px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.018);
  backdrop-filter: blur(12px);
  color: #597a8a;
  font-size: 8px;
  letter-spacing: .015em;
}

.footer-developer-credit::before {
  content: "E8";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92,188,246,.13);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(92,188,246,.10), rgba(62,208,154,.055));
  color: #83b9d2;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .05em;
  box-shadow:
    0 0 18px rgba(92,188,246,.035),
    inset 0 1px 0 rgba(255,255,255,.018);
}

.footer-developer-credit::after {
  content: "";
  position: absolute;
  left: 45px;
  right: 45px;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(92,188,246,.18),
    rgba(62,208,154,.12),
    transparent
  );
}

.footer-developer-credit span {
  color: #6c8d9d;
  white-space: nowrap;
}

.footer-developer-credit a {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(62,208,154,.10);
  border-radius: 999px;
  background: rgba(10,40,31,.22);
  color: #76aa96;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  text-decoration: none;
  transition:
    color .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.footer-developer-credit a::before {
  content: "TEL";
  margin-right: 6px;
  color: #4f7d6c;
  font-size: 6px;
  letter-spacing: .10em;
}

.footer-developer-credit a:hover {
  transform: translateY(-1px);
  border-color: rgba(62,208,154,.22);
  background: rgba(11,51,38,.32);
  color: #a2d5c1;
  box-shadow: 0 8px 20px rgba(0,0,0,.12), 0 0 18px rgba(62,208,154,.035);
}

@media (max-width: 680px) {
  .footer-developer-credit {
    width: calc(100% - 28px);
    max-width: 430px;
    padding: 10px 11px;
    display: grid;
    grid-template-columns: 30px minmax(0,1fr);
    gap: 8px 10px;
    border-radius: 15px;
  }

  .footer-developer-credit::before {
    grid-row: 1 / 3;
    align-self: center;
  }

  .footer-developer-credit span {
    white-space: normal;
    line-height: 1.45;
  }

  .footer-developer-credit a {
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-developer-credit a {
    transition: none !important;
  }
}
