/* contact.css -- styles used only on contact.html. */

.contact-page-shell::before {
  background:
    radial-gradient(ellipse at 78% 8%, rgba(15, 93, 255, .33), transparent 28rem),
    radial-gradient(circle at 6% 54%, rgba(0, 156, 255, .14), transparent 24rem),
    linear-gradient(105deg, rgba(0, 12, 38, .18), rgba(0, 0, 0, 0) 45%);
}

/* ---- hero ---- */

.contact-hero {
  width: min(100% - 96px, 1080px);
  min-height: 340px;
  margin: 2px auto 0;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  gap: 24px;
  position: relative;
  isolation: isolate;
}

.contact-hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.contact-hero-copy .eyebrow svg {
  width: 12px;
  height: 12px;
}

.contact-hero-copy h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(38px, 3.8vw, 51px);
  line-height: 1.12;
  font-weight: 900;
}

.contact-hero-copy h1 span {
  color: #4b6cff;
}

.contact-hero-copy .hero-subtitle {
  width: min(100%, 480px);
}

.contact-proof-row {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0;
  margin-top: 8px;
}

.contact-proof-row span {
  display: grid;
  grid-template-columns: 30px auto;
  align-items: center;
  column-gap: 10px;
  padding: 0 22px;
  border-right: 1px solid rgba(143, 172, 255, .3);
}

.contact-proof-row span:first-child { padding-left: 0; }
.contact-proof-row span:last-child { border-right: 0; }

.contact-proof-row svg {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  color: var(--cyan);
}

.contact-proof-row b {
  grid-column: 2;
  font-size: 14px;
  font-weight: 800;
}

.contact-proof-row small {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.contact-hero-art {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-hero-art img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 22px 46px rgba(0, 0, 0, .4));
}

/* ---- form + info section ---- */

.contact-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
  margin: 40px 0 0;
}

.contact-form {
  padding: 30px 32px;
}

.contact-form h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
}

.contact-form h2 svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 7px;
  border: 1px solid var(--line-soft);
  background: rgba(2, 10, 30, .5);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 96px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--soft);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(5, 201, 255, .18);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}

.form-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--cyan);
}

.form-consent span {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}

.contact-form > .btn {
  width: 100%;
  min-height: 48px;
}

/* ---- info column ---- */

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-info-card {
  padding: 22px 20px;
}

.contact-info-card h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.contact-info-card a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
}

.contact-info-card a:hover {
  color: var(--cyan);
}

.contact-info-card small {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 12px;
}

.flag-badge {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 8px 20px rgba(0, 0, 0, .28);
}

.flag-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

.flag-badge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-office-card {
  padding: 22px 20px;
}

.contact-office-card h3 {
  margin: 14px 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.contact-office-card h3 small {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.contact-office-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-social-card {
  padding: 22px;
}

.contact-social-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-social-row a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  color: var(--cyan);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.contact-social-row a:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  background: rgba(5, 201, 255, .1);
}

.contact-social-row svg {
  width: 17px;
  height: 17px;
}

/* ---- global presence ---- */

.contact-presence {
  margin: 40px 0 0;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 30px;
  align-items: center;
}

.contact-presence-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-presence-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-presence-item .dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}

.dot-blue { background: #2e97ff; color: #2e97ff; }
.dot-green { background: #29d67a; color: #29d67a; }

.contact-presence-item b {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.contact-presence-item b small {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

.contact-presence-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-presence-visual {
  text-align: center;
}

.contact-presence-visual .section-kicker {
  margin-bottom: 16px;
}

.contact-presence-map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.contact-cta {
  width: 100%;
  margin: 40px 0 13px;
}

@media (max-width: 980px) {
  .contact-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 24px;
  }
  .contact-hero-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 0;
    overflow: hidden;
    opacity: .4;
    pointer-events: none;
    mask-image:
      radial-gradient(ellipse at 78% 48%, #000 0%, rgba(0, 0, 0, .7) 42%, rgba(0, 0, 0, .34) 60%, transparent 86%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 14%, #000 44%, rgba(0, 0, 0, .72) 84%, transparent 100%);
    -webkit-mask-image:
      radial-gradient(ellipse at 78% 48%, #000 0%, rgba(0, 0, 0, .7) 42%, rgba(0, 0, 0, .34) 60%, transparent 86%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 14%, #000 44%, rgba(0, 0, 0, .72) 84%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
  }
  .contact-hero-art img {
    width: auto;
    height: 100%;
    max-width: none;
    object-position: right center;
    border-radius: 0;
    filter: none;
  }
  .contact-hero-copy {
    position: relative;
    z-index: 2;
  }
  .contact-proof-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-body {
    grid-template-columns: 1fr;
  }
  .contact-presence {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .contact-hero-copy h1 {
    font-size: 34px;
  }
  .contact-proof-row {
    grid-template-columns: 1fr;
  }
  .contact-proof-row span {
    border-right: 0;
    padding: 0;
  }
  .form-row,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .contact-presence {
    padding: 24px 20px;
  }
}
