/* CTPL homepage contact close — v30
   Uses the full-width banner as a useful project-contact surface. */

body.interactive-home .contact-card {
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, 0.78fr);
  gap: clamp(42px, 5vw, 88px);
  align-items: stretch;
  min-height: 430px !important;
  padding: clamp(46px, 3.6vw, 66px) clamp(44px, 4vw, 74px) !important;
}

body.interactive-home .contact-card::before {
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 58%, rgba(0, 0, 0, 0.25) 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 58%, rgba(0, 0, 0, 0.25) 100%);
}

body.interactive-home .contact-glow {
  width: 520px;
  height: 520px;
  top: -210px;
  right: -100px;
  opacity: 0.72;
  transition: opacity 500ms ease, transform 800ms cubic-bezier(.22, 1, .36, 1);
}

body.interactive-home .contact-card:hover .contact-glow {
  opacity: 1;
  transform: translate3d(-18px, 16px, 0);
}

body.interactive-home .contact-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

body.interactive-home .contact-card .contact-copy h2 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 3.8vw, 4.65rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

body.interactive-home .contact-card .contact-copy > p:not(.section-kicker) {
  max-width: 790px;
  margin: 0;
  font-size: clamp(18px, 1.03vw, 21px) !important;
  line-height: 1.55;
}

body.interactive-home .contact-prep {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

body.interactive-home .contact-prep span {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #d8e8e5;
  background: rgba(5, 35, 36, 0.22);
  font-size: clamp(14.5px, 0.78vw, 16px) !important;
  font-weight: 700;
  line-height: 1.2;
  transition: color 240ms ease, border-color 240ms ease, background 240ms ease, transform 240ms ease;
}

body.interactive-home .contact-prep span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: #52ded4;
  box-shadow: 0 0 0 4px rgba(82, 222, 212, 0.1);
}

body.interactive-home .contact-prep span:hover {
  color: #fff;
  border-color: rgba(104, 232, 224, 0.5);
  background: rgba(25, 167, 166, 0.2);
  transform: translateY(-2px);
}

body.interactive-home .contact-brief {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(25px, 2vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(4, 28, 29, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 55px rgba(3, 19, 20, 0.18);
  transition: border-color 320ms ease, background 320ms ease, transform 420ms cubic-bezier(.22, 1, .36, 1);
}

body.interactive-home .contact-brief::before {
  content: "";
  position: absolute;
  top: 0;
  right: 30px;
  left: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #60e0d8, #d9b259, transparent);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 600ms cubic-bezier(.22, 1, .36, 1);
}

body.interactive-home .contact-brief:hover {
  border-color: rgba(121, 229, 222, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(4, 28, 29, 0.28);
  transform: translateY(-4px);
}

body.interactive-home .contact-brief:hover::before {
  transform: scaleX(1);
}

body.interactive-home .contact-brief-heading {
  position: relative;
}

body.interactive-home .contact-brief-label {
  margin: 0 0 14px;
  color: #79e8e1 !important;
  font-size: clamp(13px, 0.7vw, 14.5px) !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

body.interactive-home .contact-brief h3 {
  margin: 0;
  color: #fff;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 2.25vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

body.interactive-home .contact-brief-heading > p:last-child {
  margin: 8px 0 25px;
  color: #bdd3cf;
  font-size: clamp(16px, 0.9vw, 18px) !important;
  line-height: 1.45;
}

body.interactive-home .contact-actions {
  display: grid;
  gap: 11px;
}

body.interactive-home .contact-actions .button {
  width: 100%;
  min-height: 55px;
  justify-content: space-between;
  padding-right: 20px;
  padding-left: 20px;
}

body.interactive-home .contact-whatsapp,
body.interactive-home .contact-email {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  color: #f5ffff;
  background: rgba(3, 27, 28, 0.34);
  text-decoration: none;
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
}

body.interactive-home .contact-whatsapp:hover,
body.interactive-home .contact-email:hover {
  border-color: rgba(94, 224, 215, 0.46);
  background: rgba(25, 167, 166, 0.17);
  transform: translateX(3px);
}

body.interactive-home .contact-action-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  color: #082627;
  background: #6be1da;
  font-size: 17px;
  font-weight: 900;
}

body.interactive-home .contact-whatsapp > span:last-child,
body.interactive-home .contact-email > span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

body.interactive-home .contact-whatsapp small,
body.interactive-home .contact-email small {
  color: #9fc6c2;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.interactive-home .contact-whatsapp strong,
body.interactive-home .contact-email strong {
  overflow: hidden;
  margin-top: 3px;
  color: #f5ffff;
  font-size: clamp(15px, 0.83vw, 17px);
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.interactive-home .contact-email i {
  color: #67ddd5;
  font-size: 20px;
  font-style: normal;
  transition: transform 240ms ease;
}

body.interactive-home .contact-email:hover i {
  transform: translateX(3px);
}

@media (max-width: 1180px) {
  body.interactive-home .contact-card {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
    gap: 30px;
  }

  body.interactive-home .contact-card .contact-copy h2 {
    font-size: clamp(2.65rem, 5vw, 3.65rem) !important;
  }
}

@media (max-width: 900px) {
  body.interactive-home .contact-card {
    grid-template-columns: 1fr;
    min-height: 0 !important;
    padding: 38px 26px !important;
  }

  body.interactive-home .contact-brief {
    min-height: 360px;
  }
}

@media (max-width: 600px) {
  body.interactive-home .contact {
    padding-top: 46px !important;
    padding-bottom: 52px !important;
  }

  body.interactive-home .contact-card {
    gap: 28px;
    padding: 34px 20px 20px !important;
    border-radius: 25px;
  }

  body.interactive-home .contact-card .contact-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(2.15rem, 10.5vw, 2.8rem) !important;
  }

  body.interactive-home .contact-prep {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 22px;
  }

  body.interactive-home .contact-prep span {
    min-height: 45px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 13.5px !important;
  }

  body.interactive-home .contact-prep span::before {
    width: 5px;
    height: 5px;
    margin-right: 7px;
  }

  body.interactive-home .contact-brief {
    min-height: 0;
    padding: 24px 18px 18px;
    border-radius: 21px;
  }

  body.interactive-home .contact-brief h3 {
    font-size: 2.1rem;
  }

  body.interactive-home .contact-whatsapp,
  body.interactive-home .contact-email {
    padding: 12px;
  }

  body.interactive-home .contact-whatsapp strong,
  body.interactive-home .contact-email strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.interactive-home .contact-glow,
  body.interactive-home .contact-brief,
  body.interactive-home .contact-brief::before,
  body.interactive-home .contact-prep span,
  body.interactive-home .contact-whatsapp,
  body.interactive-home .contact-email,
  body.interactive-home .contact-email i {
    transition: none;
  }
}
