/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.CONTACT {
  background-color: var(--color-brand-bg);
  overflow: hidden;
  width: 100%;
  min-width: 1280px;
  min-height: 100vh;
  position: relative;
}

/* ─── Background ─────────────────────────────────────────────────────────── */

.CONTACT .BACKGROUND {
  position: absolute;
  top: -33px;
  left: -24px;
  width: max(1324px, calc(100% + 24px));
  height: calc(100% + 33px); /* fills full .CONTACT height, compensating for the -33px top offset */
  background-color: var(--color-brand-bg);
  z-index: 0;
  pointer-events: none;
}

.CONTACT .BACKGROUND::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(68, 67, 68, 0.56); /* brand bg at 56% opacity */
}

.CONTACT .circuit-board-close {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.06;
  object-fit: cover;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */

.CONTACT .MENU {
  position: absolute;
  top: -1px;
  left: calc(50% - 408px);
  width: 815px;
  height: 120px;
  display: flex;
  z-index: 2;
}

.CONTACT .div {
  flex: 1;
  width: 815px;
  position: relative;
}

.CONTACT .rectangle {
  position: absolute;
  width: 100vw;
  height: 133.33%;
  top: 0;
  left: calc(408px - 50%);
  background: linear-gradient(
    180deg,
    rgba(68, 67, 68, 0) 0%,
    rgba(68, 67, 68, 0) 100%
  );
}

.CONTACT .homepage-logo-button {
  display: flex;
  flex-direction: column;
  width: 166px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  position: absolute;
  top: 22px;
  left: -9px;
}

.CONTACT .homepage-logo-button.selected {
}

.CONTACT .homepage-logo-button a {
  display: block;
  width: 100%;
}


.CONTACT .services-button {
  display: flex;
  flex-direction: column;
  width: 108px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  position: absolute;
  top: 56px;
  left: 297px;
}

.CONTACT .div-wrapper {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 19px;
}

.CONTACT .text-wrapper-2 {
  position: absolute;
  width: 101.14%;
  height: 126.32%;
  top: 0;
  left: 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-heading);
  color: var(--color-white);
  font-size: var(--font-size-nav);
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.CONTACT .testimonials-button {
  display: flex;
  flex-direction: column;
  width: 149px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  position: absolute;
  top: 56px;
  left: 496px;
}

.CONTACT .text-wrapper-3 {
  position: absolute;
  width: 100.78%;
  height: 126.32%;
  top: 0;
  left: 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-heading);
  color: var(--color-white);
  font-size: var(--font-size-nav);
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.CONTACT .contact-button {
  display: flex;
  flex-direction: column;
  width: 101px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  position: absolute;
  top: 56px;
  left: 719px;
}

.CONTACT .text-wrapper-4 {
  position: absolute;
  width: 100%;
  height: 126.32%;
  top: 0;
  left: 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-heading);
  color: var(--color-white);
  font-size: var(--font-size-nav);
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

/* ─── Contact hero card ──────────────────────────────────────────────────── */

.CONTACT .contact-hero {
  position: absolute;
  top: 155px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 52px 60px 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(14px) brightness(105%);
  -webkit-backdrop-filter: blur(14px) brightness(105%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: justify;
  z-index: 3;
}

.CONTACT .contact-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
  opacity: 0.9;
}

.CONTACT .contact-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(217, 217, 217, 0) 0%,
    rgba(217, 217, 217, 0.7) 50%,
    rgba(217, 217, 217, 0) 100%
  );
  border-radius: 1px;
  margin-bottom: 28px;
}

.CONTACT .contact-heading {
  font-family: var(--font-family);
  font-weight: var(--font-weight-heading);
  color: var(--color-white);
  font-size: var(--font-size-page-title);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 20px;
}

.CONTACT .contact-body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-body);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-body);
  line-height: 1.65;
  letter-spacing: 0;
  margin-bottom: 36px;
  max-width: 360px;
}

.CONTACT .contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: var(--color-btn-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-heading);
  color: var(--color-white);
  font-size: var(--font-size-body);
  letter-spacing: -0.2px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.14s ease;
}

.CONTACT .contact-email-link:hover {
  background-color: #3a3a3a;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.CONTACT .contact-email-link:active {
  transform: translateY(0);
  box-shadow: none;
}

.CONTACT .contact-email-icon {
  font-size: var(--font-size-nav); /* slightly larger than body for visual balance */
  opacity: 0.85;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.CONTACT .FOOTER {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 131px;
  width: 100%;
  display: flex;
  overflow: hidden;
}

.CONTACT .FOOTER::before {
  content: "";
  position: absolute;
  inset: 0;
  filter: blur(2px);
  backdrop-filter: blur(2px) brightness(100%);
  -webkit-backdrop-filter: blur(2px) brightness(100%);
  background: linear-gradient(
    0deg,
    rgba(16, 16, 16, 0.45) 0%,
    rgba(0, 0, 0, 0) 74%
  );
  z-index: 0;
  pointer-events: none;
}

.CONTACT .group-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  position: relative;
  z-index: 1;
}

.CONTACT .group {
  margin-top: 39px;
  width: 682px;
  height: 54px;
  margin-left: calc(50% - 341px);
  position: relative;
}

.CONTACT .group-2 {
  position: absolute;
  width: 96.48%;
  height: 44.44%;
  top: 25.93%;
  left: 0;
  display: flex;
}

.CONTACT .group-3 {
  flex: 1;
  width: 660px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.CONTACT .p {
  font-family: var(--font-family);
  font-weight: var(--font-weight-body);
  color: var(--color-footer-text);
  font-size: var(--font-size-footer);
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}




.CONTACT .line {
  top: 0;
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
}

.CONTACT .img {
  top: 98.15%;
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
}
