/* ===== Contact page (contact-us.php) — builds on transactions.css (.ot-*) and home.css (.adv-* form), site theme --rr-* ===== */

/* ---- Banner: the artwork already has the logo + India map, so no text goes on it ---- */
.ct-hero { position: relative; background: #e9eaee; }
.ct-hero img { display: block; width: 100%; height: auto; }

/* ---- Intro card overlapping the banner ---- */
.ct-intro-wrap { position: relative; z-index: 2; margin-top: -110px; }
.ct-intro {
  padding: 2.4rem 2.6rem;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(27, 42, 91, .12);
}
.ct-intro-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 1.8rem;
}
.ct-intro .ot-crumbs { margin-bottom: .9rem !important; color: var(--ot-gray); }
.ct-intro .ot-crumbs a { color: var(--ot-gray); }
.ct-intro .ot-crumbs a:hover { color: var(--ot-ink); }
.ct-intro .ot-crumbs span[aria-current] { color: var(--ot-ink); }
.ct-intro .rr-title { margin: .5rem 0 0; }
.ct-intro-head p { max-width: 520px; margin: 0; font-size: 1.05rem; line-height: 1.75; color: var(--ot-gray); }

.ct-quick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.ct-quick a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 1rem 1.1rem;
  background: #f6f7fa;
  border: 1px solid transparent;
  border-radius: 18px;
  color: var(--ot-ink);
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s;
}
.ct-quick a:hover { background: #fff; border-color: var(--ot-navy); transform: translateY(-3px); color: var(--ot-ink); }
.ct-quick a:hover .ot-ico { background: var(--ot-ink); color: #fff; }
.ct-quick .ot-ico { flex: 0 0 48px; width: 48px; height: 48px; font-size: 1.15rem; background: #fff; }
.ct-quick small { display: block; margin-bottom: 2px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ot-gray); }
.ct-quick strong { display: block; font-size: .98rem; line-height: 1.35; word-break: break-word; }
.ct-quick .ct-wa .ot-ico { color: #128c4b; }
.ct-quick .ct-mail strong { font-size: .92rem; overflow-wrap: anywhere; }

/* ---- How can we help: enquiry types + form ---- */
.ct-help {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.ct-help-copy .rr-title { margin-bottom: .8rem; }
.ct-help-copy > p { margin: 0 0 1.6rem; font-size: 1.05rem; line-height: 1.75; color: var(--ot-gray); }

.ct-types { display: grid; gap: 12px; margin: 0 0 1.6rem; padding: 0; border: 0; }
.ct-types legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ct-type { position: relative; display: block; margin: 0; cursor: pointer; }
.ct-type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-type-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1.5px solid var(--ot-border);
  border-radius: 18px;
  color: var(--ot-ink);
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.ct-type-box .ot-ico { flex: 0 0 46px; width: 46px; height: 46px; font-size: 1.1rem; }
.ct-type-box strong { display: block; font-size: 1rem; }
.ct-type-box small { display: block; font-size: .86rem; color: var(--ot-gray); }
.ct-type-box > span:nth-child(2) { flex: 1; min-width: 0; }
.ct-type-tick {
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--ot-border);
  color: transparent;
  font-size: .8rem;
  transition: background .25s, border-color .25s, color .25s;
}
.ct-type:hover .ct-type-box,
a.ct-type-box:hover { border-color: var(--ot-navy); color: var(--ot-ink); }
.ct-type input:focus-visible + .ct-type-box { outline: 2px solid var(--ot-navy); outline-offset: 2px; }
.ct-type input:checked + .ct-type-box { border-color: var(--ot-ink); box-shadow: 0 12px 28px rgba(21, 23, 28, .1); }
.ct-type input:checked + .ct-type-box .ot-ico { background: var(--ot-ink); color: #fff; }
.ct-type input:checked + .ct-type-box .ct-type-tick { background: var(--ot-ink); border-color: var(--ot-ink); color: #fff; }
a.ct-type-box .ct-type-tick { border: 0; color: var(--ot-gray); font-size: 1rem; }

.ct-privacy {
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: #fff;
  border: 1px dashed var(--ot-border);
  font-size: .86rem;
  line-height: 1.7;
  color: var(--ot-gray);
}
.ct-privacy summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ot-ink);
  cursor: pointer;
  list-style: none;
}
.ct-privacy summary::-webkit-details-marker { display: none; }
.ct-privacy summary::after { content: '\F282'; font-family: bootstrap-icons; margin-left: auto; transition: transform .25s; }   /* chevron-down */
.ct-privacy[open] summary::after { transform: rotate(180deg); }
.ct-privacy p { margin: .8rem 0 0; }
.ct-privacy a { color: #0d6efd; }

.ct-form-card {
  padding: 2.2rem;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 25px;
  box-shadow: 0 16px 44px rgba(27, 42, 91, .08);
}
.ct-form-card h3 { margin: 0 0 .3rem; font-size: 1.4rem; font-weight: 700; color: var(--ot-ink); }
.ct-form-card > p { margin: 0 0 1.4rem; font-size: .95rem; color: var(--ot-gray); }
.ct-form-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.2rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ot-circle);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ot-navy);
}
.ct-form-type[hidden] { display: none; }
.adv-form .form-select {
  min-height: 50px;
  border: 1px solid #d8dbe2;
  border-radius: 12px;
  background-color: #fbfcff;
  font-size: .98rem;
  padding-left: 42px;
}
.adv-form .form-select:focus { background-color: #fff; border-color: var(--rr-navy); box-shadow: 0 0 0 3px rgba(27, 42, 91, .12); }
.adv-form textarea.form-control { min-height: 110px; padding-top: .8rem; resize: vertical; }
.ct-field-top i { top: 16px !important; transform: none !important; }   /* icon at the top for the message box */

/* ---- Our presence ---- */
.ct-offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.ct-office {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 22px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.ct-office:hover { border-color: var(--ot-navy); box-shadow: 0 16px 38px rgba(27, 42, 91, .1); transform: translateY(-4px); }
.ct-office.is-hq { background: linear-gradient(135deg, #0c0b0b, #625651); border-color: transparent; color: #fff; }
.ct-office-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 1rem; }
.ct-office-type {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ot-circle);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ot-navy);
}
.ct-office.is-hq .ct-office-type { background: rgba(255, 255, 255, .15); color: #fff; }
.ct-office-top .bi { font-size: 1.3rem; color: var(--ot-navy); }
.ct-office.is-hq .ct-office-top .bi { color: #fff; }
.ct-office h3 { margin: 0 0 .9rem; font-size: 1.3rem; font-weight: 700; color: var(--ot-ink); }
.ct-office.is-hq h3 { color: #fff; }
.ct-office ul { flex: 1; display: grid; align-content: start; gap: .7rem; margin: 0 0 1.2rem; padding: 0; list-style: none; font-size: .94rem; line-height: 1.6; color: var(--ot-gray); }
.ct-office.is-hq ul { color: rgba(255, 255, 255, .82); }
.ct-office li { display: flex; gap: 10px; }
.ct-office li i { flex: 0 0 auto; margin-top: 3px; color: var(--ot-navy); }
.ct-office.is-hq li i { color: #fff; }
.ct-office li a { color: inherit; text-decoration: none; }
.ct-office li a:hover { text-decoration: underline; }
.ct-dir {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--ot-ink);
  font-size: .94rem;
  font-weight: 700;
  color: var(--ot-ink);
  text-decoration: none;
}
.ct-dir:hover { color: var(--ot-navy); border-color: var(--ot-navy); }
.ct-office.is-hq .ct-dir { color: #fff; border-color: #fff; }

/* ---- Head office map ---- */
.ct-map {
  position: relative;
  margin-top: 40px;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid var(--ot-border);
  aspect-ratio: 21 / 8;
  background: #eef0f6;
}
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 1199.98px) {
  .ct-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-offices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .ct-intro-wrap { margin-top: -60px; }
  .ct-intro-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ct-help { grid-template-columns: 1fr; gap: 32px; }
  .ct-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-map { aspect-ratio: 16 / 9; }
}
@media (max-width: 767.98px) {
  .ct-hero img { max-height: 460px; object-fit: cover; object-position: center top; }   /* tall phone artwork: keep logo + map */
}
@media (max-width: 575.98px) {
  .ct-intro-wrap { margin-top: -40px; }
  .ct-intro { padding: 1.5rem 1.25rem; border-radius: 22px; }
  .ct-quick { grid-template-columns: 1fr; gap: 10px; }
  .ct-form-card { padding: 1.4rem 1.2rem; border-radius: 20px; }
  .ct-offices { grid-template-columns: 1fr; gap: 14px; }
  .ct-office { padding: 1.3rem; }
  .ct-map { aspect-ratio: 4 / 3; border-radius: 20px; margin-top: 28px; }
}
