.contact-page {
  --contact-bg: #071015;
  --contact-deep: #030b0f;
  --contact-paper: #eee9df;
  --contact-ink: #142128;
  --contact-cyan: #35c6dc;
  --contact-orange: #f2a044;
  --contact-lime: #c9ff2f;
  --contact-line: rgba(255,255,255,.16);
  overflow: hidden;
  background: var(--contact-paper);
  color: var(--contact-ink);
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page p { margin-top: 0; }

.contact-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .62fr);
  gap: clamp(46px, 7vw, 118px);
  align-items: center;
  overflow: hidden;
  padding: clamp(96px, 10vw, 150px) clamp(24px, 6vw, 96px) clamp(72px, 8vw, 118px);
  background:
    linear-gradient(90deg, rgba(3, 11, 15, .985) 0%, rgba(3, 11, 15, .91) 50%, rgba(3, 11, 15, .66) 100%),
    linear-gradient(180deg, rgba(3, 11, 15, .12), rgba(3, 11, 15, .76)),
    url('../img/mockup/home-hero-architecture.jpg') center 44% / cover no-repeat;
  color: #fff;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 198, 220, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 198, 220, .075) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.75) 63%, transparent 98%);
}

.contact-hero-copy,
.contact-hero-graphic { position: relative; z-index: 1; min-width: 0; }
.contact-hero-copy .eyebrow { color: var(--contact-orange); }

.contact-hero-copy h1 {
  max-width: 920px;
  margin: 18px 0 26px;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: .94;
  letter-spacing: -.058em;
}

.contact-hero-copy > p {
  max-width: 820px;
  color: rgba(255,255,255,.75);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.58;
}

.contact-hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.contact-hero-actions .btn,
.contact-form .btn {
  border-color: var(--contact-orange);
  background: var(--contact-orange);
  color: #111;
  box-shadow: none;
}

.contact-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  max-width: 920px;
  margin-top: 46px;
  border: 1px solid rgba(53,198,220,.24);
  background: rgba(53,198,220,.24);
}

.contact-hero-facts div {
  display: grid;
  gap: 6px;
  padding: 19px 21px;
  background: rgba(4,16,22,.84);
}

.contact-hero-facts strong { color: #fff; font-size: clamp(19px, 2vw, 29px); }
.contact-hero-facts div:nth-child(2) strong { color: var(--contact-lime); }
.contact-hero-facts div:nth-child(3) strong { color: var(--contact-cyan); }
.contact-hero-facts span { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.contact-hero-graphic {
  min-height: 530px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(53,198,220,.42);
  border-radius: 72px 6px 72px 6px;
  background: #061117;
  box-shadow: 0 38px 90px rgba(0,0,0,.38);
}

.contact-hero-graphic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,11,15,.04) 42%, rgba(3,11,15,.24) 72%, rgba(3,11,15,.7) 100%),
    linear-gradient(90deg, rgba(3,11,15,.18), transparent 42%);
}

.contact-hero-graphic img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  display: block;
  object-fit: cover;
  object-position: 50% 55%;
  filter: saturate(.9) contrast(1.04);
  transform: scale(1.015);
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(330px, .58fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: start;
  padding: clamp(78px, 9vw, 138px) clamp(24px, 6vw, 96px);
}

.contact-form-card {
  min-width: 0;
  padding: clamp(28px, 4.6vw, 68px);
  border: 1px solid rgba(20,33,40,.12);
  background: #f9f7f1;
  box-shadow: 0 30px 80px rgba(20,33,40,.1);
}

.contact-section-head { max-width: 820px; }
.contact-section-head .eyebrow { color: #087e91; }
.contact-section-head h2 { margin: 17px 0 20px; font-size: clamp(42px, 5vw, 76px); line-height: .98; letter-spacing: -.05em; }
.contact-section-head p { max-width: 720px; color: #657178; font-size: 16px; line-height: 1.6; }

.contact-analysis-context {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 4px solid #087e91;
  background: #eaf4f5;
}
.contact-analysis-context > div { min-width: 0; display: grid; gap: 6px; }
.contact-analysis-context span { color: #087e91; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-analysis-context strong { color: #142128; font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; }
.contact-analysis-context p { display: flex; gap: 10px 16px; flex-wrap: wrap; margin: 0; color: #536168; font-size: 13px; line-height: 1.45; }
.contact-analysis-context p em { font-style: normal; font-weight: 800; }
.contact-analysis-context a { flex: 0 0 auto; color: #075f6d; font-size: 12px; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }

.contact-alert {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  margin: 30px 0;
  padding: 18px 20px;
  border-left: 4px solid;
}
.contact-alert .contact-icon { width: 21px; height: 21px; margin-top: 2px; }
.contact-alert div { display: grid; gap: 4px; }
.contact-alert span { color: #56666d; font-size: 14px; line-height: 1.5; }
.contact-alert.is-success { border-color: #4f963d; background: #edf6e9; }
.contact-alert.is-success .contact-icon { color: #4f963d; }
.contact-alert.is-error { border-color: #bd2d3a; background: #fff0f1; }
.contact-alert.is-error .contact-icon { color: #bd2d3a; }

.contact-form { margin-top: 38px; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; }
.contact-field { min-width: 0; display: grid; gap: 8px; }
.contact-field > span { color: #314047; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid rgba(20,33,40,.2);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--contact-ink);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-field textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: #087e91; box-shadow: 0 0 0 3px rgba(53,198,220,.14); }
.contact-field small,
.contact-inline-error { color: #ad2834; font-size: 12px; line-height: 1.4; }
.contact-field.is-invalid input,
.contact-field.is-invalid select,
.contact-field.is-invalid textarea { border-color: #bd2d3a; }
.contact-message { margin-top: 23px; }

.contact-privacy { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; margin-top: 24px; color: #536168; font-size: 13px; line-height: 1.5; }
.contact-privacy input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #087e91; }
.contact-privacy a { color: #087e91; font-weight: 800; text-decoration: underline; }
.contact-privacy.is-invalid { color: #ad2834; }

.contact-submit-row { display: flex; gap: 28px; align-items: end; justify-content: space-between; margin-top: 30px; }
.contact-submit-row .btn { min-height: 56px; display: inline-flex; gap: 12px; align-items: center; justify-content: center; white-space: nowrap; cursor: pointer; }
.contact-submit-row .btn:hover { background: #ffb357; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.contact-directory { display: grid; gap: 1px; border: 1px solid rgba(53,198,220,.23); background: rgba(53,198,220,.23); }
.contact-directory article { min-width: 0; display: grid; gap: 9px; padding: clamp(25px, 3vw, 38px); background: #0a181f; color: #fff; }
.contact-directory article > .contact-icon { width: 30px; height: 30px; justify-self: start; margin-bottom: 10px; color: var(--contact-orange); }
.contact-directory article:nth-child(2) > .contact-icon { color: var(--contact-lime); }
.contact-directory article:nth-child(3) > .contact-icon { color: var(--contact-cyan); }
.contact-directory article > span { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-directory h3 { margin: 4px 0 8px; font-size: clamp(23px, 2.1vw, 33px); line-height: 1.05; letter-spacing: -.035em; }
.contact-directory article a { width: fit-content; max-width: 100%; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.contact-directory article a:hover { color: var(--contact-cyan); }
.contact-directory article p { margin: 0 0 5px; color: rgba(255,255,255,.66); line-height: 1.6; }
.contact-channels { display: grid; gap: 11px; margin-top: 4px; }
.contact-directory article a.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.contact-channel-icon { width: 18px; height: 18px; flex: 0 0 18px; color: var(--contact-cyan); }
.contact-channel.is-whatsapp .contact-channel-icon { color: #65d46e; }
.contact-channel.is-whatsapp:hover { color: #8ae391; }

.contact-map {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #061117;
}
.contact-map iframe {
  width: 100%;
  min-height: 340px;
  height: 100%;
  display: block;
  border: 0;
}
.contact-map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(53,198,220,.5);
  background: rgba(3,11,15,.94);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.contact-map-link:hover { border-color: var(--contact-cyan); background: #0a181f; color: var(--contact-cyan); }
.contact-legal { display: grid; gap: 8px; padding: 24px 28px; background: #061117; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 1100px) {
  .contact-hero { grid-template-columns: 1fr; }
  .contact-hero-copy { max-width: 980px; }
  .contact-hero-graphic { max-width: 760px; }
  .contact-main { grid-template-columns: 1fr; }
  .contact-directory { grid-template-columns: minmax(0,1.12fr) repeat(2,minmax(0,1fr)); }
  .contact-directory article { padding: 26px; }
  .contact-directory article a.contact-channel { font-size: 13px; }
  .contact-map { grid-column: 1 / -1; }
  .contact-legal { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .contact-hero { min-height: auto; padding: 88px 20px 62px; gap: 42px; background-position: 62% center; }
  .contact-hero-copy h1 { font-size: clamp(45px, 13.5vw, 66px); }
  .contact-hero-copy > p { font-size: 17px; }
  .contact-hero-actions { align-items: flex-start; flex-direction: column; }
  .contact-hero-facts { grid-template-columns: 1fr; }
  .contact-hero-graphic { min-height: 440px; border-radius: 54px 4px 54px 4px; }
  .contact-hero-graphic img { min-height: 440px; }
  .contact-main { padding: 68px 20px; }
  .contact-form-card { padding: 26px 20px; }
  .contact-analysis-context { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px; }
  .contact-analysis-context a { flex: auto; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 19px; }
  .contact-submit-row { align-items: stretch; flex-direction: column; }
  .contact-submit-row .btn { width: 100%; }
  .contact-directory { grid-template-columns: 1fr; }
  .contact-directory article { padding: 25px; }
  .contact-directory article a.contact-channel { font-size: 14px; }
  .contact-map { grid-column: auto; min-height: 310px; }
  .contact-map iframe { min-height: 310px; }
  .contact-legal { grid-column: auto; }
}

@media (max-width: 360px) {
  .g-recaptcha { transform: scale(.88); transform-origin: left top; margin-bottom: -9px; }
}
