/* ==========================================================
   Monkman Global — Contact page
   (loaded after style.css)
   ========================================================== */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Contact hero ---------- */
.contact-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg-warm) 100%);
  min-height: 620px;
  display: flex;
  align-items: center;
}
.contact-hero__inner { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.contact-hero__content { max-width: 560px; }
.contact-hero__title {
  font-size: clamp(38px, 5vw, 62px); /* same as home page h1 */
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.contact-hero__title .accent { display: block; }
.contact-hero__text { font-size: 19px; color: var(--text); max-width: 480px; line-height: 1.55; }
.contact-hero .text-link { margin-top: 28px; font-size: 16px; }

.contact-hero__visual {
  position: absolute;
  top: 0; right: 40px; bottom: 0; /* shifted left so the text inside the photo is not cut off */
  width: 60%;
}
.contact-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 97%, transparent 100%);
}

/* ---------- Form + details ---------- */
.contact-main { padding: 72px 0 96px; }
.contact-main__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid #efe9e4;
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 10px; }
.form-card > .muted { margin-bottom: 28px; max-width: 420px; }

.contact-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #e6e0db;
  border-radius: 8px;
  padding: 14px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form ::placeholder { color: #8a949b; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 98, 44, 0.12);
}
.contact-form .is-invalid { border-color: #d93025; }

.field--select select {
  appearance: none;
  -webkit-appearance: none;
  color: #8a949b;
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6770' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat;
  padding-right: 44px;
}
.field--select select.has-value { color: var(--text); }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.form-footer .btn { border: 0; cursor: pointer; font-family: inherit; font-size: 16px; padding: 16px 32px; }
.form-safe { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.form-safe svg { width: 18px; height: 18px; }
.form-status { font-size: 14px; min-height: 1em; }
.form-status.is-error { color: #d93025; }
.form-status.is-success { color: #1e7d4f; }

.contact-info { padding-top: 16px; }
.contact-info .title { font-size: clamp(30px, 3.2vw, 40px); }
.contact-info > .muted { font-size: 16px; }

.info-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 24px; }
.info-list li { display: flex; gap: 22px; align-items: flex-start; }
.info-list svg { width: 28px; height: 28px; margin-top: 4px; }
.info-list strong { display: block; font-size: 16px; color: var(--navy-dark); }
.info-list a, .info-list span { font-size: 16px; color: var(--muted); }
.info-list a:hover { color: var(--orange); }

.follow {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.follow a { color: var(--navy-dark); transition: color 0.2s; }
.follow a:hover { color: var(--orange); }
.follow svg { width: 20px; height: 20px; }

/* ---------- Office + map ---------- */
.office {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: 64px;
}
.office__photo { position: relative; height: 440px; }
.office__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 25% center; }
.office__card {
  position: absolute;
  left: 32px;
  bottom: -36px;
  display: flex;
  gap: 22px;
  max-width: 380px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 58, 74, 0.14);
}
.office__card > svg { width: 30px; height: 30px; color: var(--orange); margin-top: 2px; }
.office__card strong { display: block; font-size: 18px; color: var(--navy-dark); margin-bottom: 4px; }
.office__card span { display: block; font-size: 13px; color: var(--muted); }
.office__card .office__addr { font-size: 14.5px; color: var(--text); margin-bottom: 6px; }

.office__map {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(240, 120, 74, 0.10), transparent 60%),
    var(--bg-warm);
}
.contact-map { width: 100%; max-width: 640px; height: auto; stroke: none; }
.office__map-card {
  position: absolute;
  right: 28px;
  bottom: 40px;
  display: flex;
  gap: 16px;
  max-width: 260px;
  padding: 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 58, 74, 0.12);
}
.office__map-card svg { width: 30px; height: 30px; }
.office__map-card strong { display: block; font-size: 14px; color: var(--navy-dark); line-height: 1.4; margin-bottom: 8px; }
.office__map-card span { display: block; font-size: 12.5px; color: var(--muted); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1200px) and (min-width: 961px) {
  /* keep the text clear of the laptop in the photo */
  .contact-hero__content { max-width: 380px; }
}

@media (max-width: 960px) {
  .contact-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .contact-hero__visual { position: static; width: 100%; }
  .contact-hero__visual img {
    height: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 15%);
  }
  .contact-hero__inner { padding-bottom: 0; }

  .contact-main__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }

  .office { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
  .office__photo { height: 360px; margin-bottom: 110px; }
  .office__card { left: 16px; right: 16px; bottom: -90px; max-width: none; }
  .office__map { height: auto; flex-direction: column; gap: 20px; padding: 40px 16px; }
  .office__map-card { position: static; max-width: none; width: 100%; }
}

@media (max-width: 600px) {
  .contact-main { padding: 48px 0 64px; }
  .form-card { padding: 28px 20px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form-footer .btn { width: 100%; }
  .contact-hero__text { font-size: 17px; }
  .office__photo { height: 280px; }
}

/* Honeypot field (spam trap) — kept out of view and out of the tab order */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer .btn:disabled { opacity: 0.6; cursor: wait; }
