/* MARABIKA Contact v2 preview — conservative, high-contrast, route-scoped. */
#contact .mkct2-page {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  color: #211d1a;
}

/* Contact-only vertical rhythm: the theme adds 150px below .section-profile
 * and another large footer offset. Keep one compact 20px separator instead. */
#contact .section-profile {
  margin-bottom: 0;
}

#contact #footer {
  margin-top: 0;
  padding-top: 20px;
}

#contact .mkct2-intro {
  display: grid;
  gap: 16px;
  padding: 34px 0 30px;
  border-bottom: 1px solid #d9d1c8;
}

#contact .mkct2-eyebrow {
  margin: 0;
  color: #70552f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

#contact .mkct2-title {
  max-width: 820px;
  margin: 0;
  color: #211d1a;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
}

#contact .mkct2-lead {
  max-width: 780px;
  margin: 0;
  color: #514a44;
  font-size: 17px;
  line-height: 1.65;
}

#contact .mkct2-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

#contact .mkct2-quick li {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #d9d1c8;
  border-radius: 12px;
  background: #fff;
}

#contact .mkct2-quick span {
  display: block;
  margin-bottom: 5px;
  color: #61584f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  text-transform: uppercase;
}

#contact .mkct2-quick a {
  color: #211d1a;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration-color: #9a7b4f;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

#contact .mkct2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
  gap: 24px;
  padding: 30px 0 52px;
}

#contact .mkct2-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid #d9d1c8;
  border-radius: 16px;
  background: #fff;
}

#contact .mkct2-card--details {
  background: #f1ece5;
}

#contact .mkct2-heading {
  margin-bottom: 26px;
}

#contact .mkct2-heading h2 {
  margin: 0 0 8px;
  color: #211d1a;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.2;
}

#contact .mkct2-heading p {
  margin: 0;
  color: #514a44;
  font-size: 15px;
  line-height: 1.6;
}

#contact .mkct2-form {
  display: grid;
  gap: 22px;
}

#contact .mkct2-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#contact .mkct2-field {
  min-width: 0;
}

#contact .mkct2-field--full {
  grid-column: 1 / -1;
}

#contact .mkct2-field label {
  display: block;
  margin-bottom: 8px;
  color: #211d1a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

#contact .mkct2-required {
  color: #8b2c22;
}

#contact .mkct2-control {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #8f857c;
  border-radius: 9px;
  background: #fff;
  color: #211d1a;
  font: inherit;
  line-height: 1.4;
}

#contact textarea.mkct2-control {
  min-height: 174px;
  resize: vertical;
}

#contact .mkct2-control:focus-visible {
  border-color: #3d2f20;
  outline: 3px solid #d9bd91;
  outline-offset: 2px;
}

#contact .mkct2-help {
  margin: 7px 0 0;
  color: #5d554e;
  font-size: 12px;
  line-height: 1.5;
}

#contact .mkct2-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 2px;
}

#contact .mkct2-button {
  min-width: 170px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid #211d1a;
  border-radius: 9px;
  background: #211d1a;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

#contact .mkct2-button:hover {
  background: #493a2b;
}

#contact .mkct2-policy {
  color: #3d2f20;
  font-size: 14px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

#contact .mkct2-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

#contact .mkct2-gdpr:empty {
  display: none;
}

#contact .mkct2-card .mkds-note {
  margin-bottom: 22px;
}

#contact .mkct2-card .mkds-note ul {
  margin: 0;
  padding-left: 20px;
}

#contact .mkct2-details {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  color: #302a25;
  font-style: normal;
  line-height: 1.6;
}

#contact .mkct2-details strong {
  color: #211d1a;
  font-size: 18px;
}

#contact .mkct2-details span {
  overflow-wrap: anywhere;
}

#contact .mkct2-links {
  display: grid;
  gap: 0;
  border-top: 1px solid #c8beb3;
}

#contact .mkct2-links a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #c8beb3;
  color: #30251b;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

#contact .mkct2-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  #contact .mkct2-quick,
  #contact .mkct2-layout {
    grid-template-columns: 1fr;
  }

  #contact .mkct2-layout {
    gap: 16px;
  }
}

@media (max-width: 560px) {
  #contact .mkct2-intro {
    padding: 24px 0 22px;
  }

  #contact .mkct2-form-grid {
    grid-template-columns: 1fr;
  }

  #contact .mkct2-field--full {
    grid-column: auto;
  }

  #contact .mkct2-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  #contact .mkct2-button {
    width: 100%;
  }
}

@media (forced-colors: active) {
  #contact .mkct2-control,
  #contact .mkct2-button {
    border: 1px solid CanvasText;
  }
}
