/* Contact page — uses variables from styles.css */
.page-hero {
  background: #000;
  color: #fff;
  padding: 150px 0 70px;
}
.page-hero h1 {
  font: 700 clamp(32px, 4.5vw, 52px)/1.15 var(--hd);
  max-width: 14em;
  margin-bottom: 18px;
}
.page-hero p:not(.eyebrow) {
  max-width: 30em;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.4;
  opacity: 0.88;
  margin-bottom: 26px;
}
.page-hero .hero-tags {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
}
.page-hero .hero-tags li::before {
  content: "•";
  margin-right: 6px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info {
  display: grid;
  border: 1px solid var(--line);
  background: #fff;
}
.info-card {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.info-card:last-child {
  border-bottom: 0;
}
.info-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
  color: var(--ox);
}
.info-card p {
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.info-card a:not(.btn-secondary):hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.info-card .btn-secondary {
  margin-top: 16px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px;
  display: grid;
  gap: 22px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field label {
  font-size: 14px;
  font-weight: 600;
}
.field label span {
  color: var(--ox);
}
.field label em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.65;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 400 15.5px/1.3 var(--bd);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  transition:
    border-color 0.2s,
    background-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ox) 50%),
    linear-gradient(135deg, var(--ox) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 52%,
    calc(100% - 16px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}
.field select:invalid {
  color: #7a6e6e;
}
.field textarea {
  resize: vertical;
  min-height: 160px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #8a7f7f;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--ox);
  background-color: #fff;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #b3261e;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.form-foot .btn-primary {
  border: 0;
  cursor: pointer;
}
.form-foot .btn-primary:hover {
  background: var(--ink);
}
.form-foot .btn-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}
.form-msg {
  font-size: 14.5px;
  font-weight: 500;
}
.form-msg.ok {
  color: #2e6b2e;
}
.form-msg.err {
  color: #b3261e;
}

/* Why us: 6 items in 3 cols */
.sec.white .steps {
  grid-template-columns: repeat(3, 1fr);
}

.world {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  max-width: 1120px;
  margin: auto;
}
.world > div {
  padding: 24px 28px 30px;
  border: 1px solid var(--line);
  margin: -0.5px;
  min-height: 140px;
}
.world h3 {
  font-size: 19px;
  margin-bottom: 6px;
  color: var(--ox);
}
.world p {
  font-size: 15px;
  line-height: 1.35;
  opacity: 0.88;
}

.map {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
}
.map iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  border: 0;
}

@media (max-width: 1000px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .sec.white .steps {
    grid-template-columns: 1fr 1fr;
  }
  .world {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero {
    padding: 120px 0 52px;
  }
}
@media (max-width: 560px) {
  .row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .sec.white .steps,
  .world {
    grid-template-columns: 1fr;
  }
}
