/**
 * Impactiqa — contact.css
 * Contact panel page — form + office info.
 * Light peach background (#ffe5cc).
 */

/* ── Panel variables ─────────────────────────────────────────────────────── */
:root {
  --panel-mute: rgba(10,10,10,.5);
  --panel-rule: rgba(10,10,10,.12);
}

/* ── Base ────────────────────────────────────────────────────────────────── */
html, body { height: 100%; }
body {
  background: var(--panel-bg, #ffe5cc);
  color: var(--panel-fg, #0a0a0a);
  overflow-x: hidden;
}
main {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.contact-hero {
  padding: 0 8vw 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Two-column layout ───────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  width: 100%;
  border-top: 1px solid var(--panel-rule);
}

/* ── Form column ─────────────────────────────────────────────────────────── */
.contact-form-col {
  padding: 64px 8vw 96px;
  border-right: 1px solid var(--panel-rule);
  min-width: 0;
}
.contact-form-note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--panel-mute);
  margin-bottom: 40px;
}

/* Form rows */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Form fields */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  flex: 1 1 200px;
  min-width: 0;
}
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--panel-mute);
}
.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10,10,10,.25);
  border-radius: 0;
  padding: 10px 0;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #0a0a0a;
  outline: none;
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(10,10,10,.3);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: #0a0a0a;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a0a0a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
  color: rgba(10,10,10,.5);
}
.form-field select:valid,
.form-field select.has-value {
  color: #0a0a0a;
}
.form-field textarea {
  height: 140px;
  resize: none;
  line-height: 1.6;
}

/* Full-width fields */
.form-field--full {
  flex-basis: 100%;
}

/* Submit */
.form-submit-row {
  margin-top: 8px;
}
.contact-submit {
  display: inline-flex;
  border: none;
  cursor: pointer;
  padding: 0;
  background: none;
}
.contact-submit .vl {
  background: #0a0a0a;
  color: #f7f6f4;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s;
}
.contact-submit:hover .vl {
  background: #222;
}
.contact-submit .vi {
  background: #39FF14;
  color: #0a0a0a;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1;
}

/* ── Info column ─────────────────────────────────────────────────────────── */
.contact-info-col {
  padding: 64px 6vw 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}
.contact-info-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}

/* Offices */
.contact-offices {
  display: flex;
  flex-direction: column;
}
.office-block {
  padding: 16px 0;
  border-bottom: 1px solid var(--panel-rule);
  font-style: normal;
}
.office-block:first-child {
  border-top: 1px solid var(--panel-rule);
}
.office-city {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--panel-mute);
  margin-bottom: 4px;
}
.office-address {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: #0a0a0a;
}

/* Emails */
.contact-emails {
  display: flex;
  flex-direction: column;
}
.contact-email-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--panel-rule);
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
.contact-email-link:first-child {
  border-top: 1px solid var(--panel-rule);
}
.contact-email-link:hover {
  color: #0a0a0a;
}
.email-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--panel-mute);
}
.email-addr {
  display: block;
  font-size: 14px;
  font-weight: 400;
}

/* Social */
.contact-socials {
  display: flex;
  flex-direction: column;
}
.contact-social-link {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--panel-rule);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--panel-mute);
  transition: color .2s;
}
.contact-social-link:first-child {
  border-top: 1px solid var(--panel-rule);
}
.contact-social-link:hover {
  color: #0a0a0a;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form-col {
    border-right: none;
    border-bottom: 1px solid var(--panel-rule);
    padding: 48px 6vw 64px;
  }
  .contact-info-col {
    padding: 48px 6vw 80px;
  }
}
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-hero {
    padding: 0 6vw 48px;
  }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .form-field input,
  .form-field select,
  .form-field textarea,
  .contact-submit .vl,
  .contact-social-link,
  .contact-email-link { transition: none; }
}
