/* ==========================================================================
   QR Agri & Food Consulting — Contact page

   Loaded after style.css, responsive.css and category.css. Reuses the same
   tokens, banner and form controls as the Category pages; only the
   Contact-specific compositions live here. Class prefix: .ct-

   1. Form section — lede copy beside the enquiry form
   2. Responsive
   ========================================================================== */


/* ==========================================================================
   1. Form section
   ========================================================================== */

.ct-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 88px 40px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: start;
}

.ct-copy {
  position: sticky;
  top: 108px;
}

.ct-title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  margin-bottom: 20px;
}

/* The Calendly promise — set apart from the body copy. */
.ct-note {
  position: relative;
  padding: 20px 24px 22px 26px;
  border-radius: var(--r);
  background: var(--tint);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.ct-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: var(--g-600);
}

.ct-note p {
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}

.ct-ask {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

.ct-ask-star {
  color: var(--red);
}

/* Contact details, same rhythm as .about-facts on the home page. */
.ct-details {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 24px;
}

.ct-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ct-detail-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--g-100);
  color: var(--g-700);
  display: grid;
  place-items: center;
}

.ct-detail-key {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.ct-detail-val {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}


/* ==========================================================================
   2. Responsive
   ========================================================================== */

@media (max-width: 1440px) {
  .ct-wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 1080px) {
  .ct-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .ct-copy {
    position: static;
  }
}

@media (max-width: 900px) {
  .ct-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 760px) {
  .ct-wrap {
    padding: 56px 20px;
  }
}
