/* ===== Shared service-page styles (office-transactions, retail-transactions, tenant-representation-occupier-services, it, residential-consultancy-services, commercial-real-estate-consultancy) — site theme: --rr-* colours, .rr-eyebrow / .rr-title / .rr-lead / .rr-btn ===== */
.ot {
  --ot-ink: var(--rr-red, #15171c);
  --ot-navy: var(--rr-navy, #1b2a5b);
  --ot-gray: var(--rr-gray, #5e6470);
  --ot-border: #d8dbe2;
  --ot-circle: var(--rr-circle, #eef0f6);
  color: var(--ot-ink);
}
.ot-crumbs, .ot-step p, .ot-prop-loc, .ot-expert-role, .ot-prop-foot p { margin: 0; }

.ot-section { padding: 80px 0; background: #fff; }
.ot-tint { background: #f6f7fa; }
.ot-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.ot-head .rr-title { margin-bottom: 0; }
.ot-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  text-align: left;
}
.ot-center { text-align: center; margin-top: 40px; }

/* shared icon circle */
.ot-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ot-circle);
  color: var(--ot-navy);
  font-size: 1.5rem;
  transition: background .3s, color .3s;
}

/* buttons */
.ot-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ot-actions .rr-btn { min-height: 48px; }
.ot-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.3rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.ot-btn-outline:hover { background: #fff; border-color: #fff; color: var(--ot-ink); }
.ot-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
  color: var(--ot-ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--ot-ink);
  padding-bottom: 2px;
}
.ot-link i { transition: transform .2s; }
.ot-link:hover { color: var(--ot-navy); border-color: var(--ot-navy); }
.ot-link:hover i { transform: translateX(4px); }

/* ---- Banner ---- */
.ot-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(80vh, 700px);
  padding: 130px 0 80px;
  color: #fff;
  overflow: hidden;
  background: #0c0b0b;
}
.ot-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.ot-banner::after {        /* dark fade so white text reads on the bright office photo */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 11, .9) 0%, rgba(12, 11, 11, .72) 45%, rgba(12, 11, 11, .25) 100%);
}
.ot-banner .container { position: relative; z-index: 1; }
.ot-banner-text { max-width: 640px; }
.ot-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 1.4rem !important;
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
}
.ot-crumbs a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.ot-crumbs a:hover { color: #fff; }
.ot-crumbs span[aria-current] { color: #fff; font-weight: 600; }
.ot-banner .rr-eyebrow { color: rgba(255, 255, 255, .75); }
.ot-banner .rr-title { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.ot-banner .rr-lead { max-width: 580px; color: rgba(255, 255, 255, .85); }
.ot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 2rem;
}
.ot-chips li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.ot-banner .rr-btn { background: #fff; color: var(--ot-ink); }
.ot-banner .rr-btn:hover { background: var(--ot-circle); color: var(--ot-ink); }
.ot-banner .rr-btn .arrow { background: var(--ot-ink); }

/* ---- Approach: Explore / Evaluate / Secure ---- */
.ot-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.ot-step {
  position: relative;
  padding: 2.2rem 2rem 2rem;
  background: #fbfcff;
  border: 1px solid var(--ot-border);
  border-radius: 25px;
  box-shadow: 0 12px 40px rgba(27, 42, 91, .05);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.ot-step:hover { border-color: var(--ot-navy); box-shadow: 0 16px 40px rgba(27, 42, 91, .1); transform: translateY(-4px); }
.ot-step:hover .ot-ico { background: var(--ot-ink); color: #fff; }
.ot-step-num {
  position: absolute;
  right: 1.6rem;
  top: 1.2rem;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ot-border);
}
.ot-step-title { margin: 1.3rem 0 .7rem; font-size: 1.45rem; font-weight: 700; color: var(--ot-ink); }
.ot-step p { font-size: .98rem; line-height: 1.75; color: var(--ot-gray); }

/* ---- Services grid ---- */
.ot-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ot-service {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 1.6rem 1.5rem;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.ot-service::before {       /* accent bar that grows on hover */
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--ot-ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .3s;
}
.ot-service:hover { border-color: var(--ot-navy); box-shadow: 0 14px 34px rgba(27, 42, 91, .1); transform: translateY(-4px); }
.ot-service:hover::before { transform: scaleY(1); }
.ot-service:hover .ot-ico { background: var(--ot-ink); color: #fff; }
.ot-service .ot-ico { flex: 0 0 60px; }
.ot-service-title { flex: 1; margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: var(--ot-ink); }
.ot-service-num { align-self: flex-start; font-size: .8rem; font-weight: 700; color: #b9bfcc; letter-spacing: .05em; }

/* ---- Property cards ---- */
.ot-props {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ot-prop {
  position: relative;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27, 42, 91, .06);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.ot-prop:hover { border-color: var(--ot-navy); box-shadow: 0 18px 44px rgba(27, 42, 91, .12); transform: translateY(-4px); }
.ot-prop-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ot-circle); }
.ot-prop-photo img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
.ot-prop:hover .ot-prop-photo img { transform: scale(1.05); }
.ot-prop-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  font-size: .8rem;
  font-weight: 700;
  color: var(--ot-ink);
}
.ot-prop-body { padding: 1.4rem 1.4rem 1.3rem; }
.ot-prop-title { margin: 0 0 .5rem; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.ot-prop-title a { color: var(--ot-ink); text-decoration: none; }
.ot-prop-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }   /* whole card is the link */
.ot-prop-loc { display: flex; align-items: center; gap: 6px; font-size: .93rem; color: var(--ot-gray); }
.ot-prop-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  padding: 1rem 0;
  margin: 1rem 0;
  border-top: 1px solid var(--rr-divider, #e3e6ef);
  border-bottom: 1px solid var(--rr-divider, #e3e6ef);
}
.ot-prop-meta li { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ot-ink); }
.ot-prop-meta li i { grid-row: span 2; color: var(--ot-navy); font-size: 1.05rem; padding-top: 2px; }
.ot-prop-meta li span { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ot-gray); }
.ot-prop-foot { display: flex; align-items: center; justify-content: space-between; }
.ot-prop-label { display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ot-gray); }
.ot-prop-foot strong { font-size: 1.15rem; color: var(--ot-ink); }
.ot-prop-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ot-ink);
  color: #fff;
  transition: transform .2s;
}
.ot-prop:hover .ot-prop-go { transform: translateX(4px); }

/* ---- Experts ---- */
.ot-experts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.ot-expert {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(27, 42, 91, .05);
  transition: border-color .3s, box-shadow .3s;
}
.ot-expert:hover { border-color: var(--ot-navy); box-shadow: 0 16px 40px rgba(27, 42, 91, .1); }
.ot-expert img {
  flex: 0 0 104px;
  width: 104px;
  height: 104px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--ot-circle);
}
.ot-expert-info { flex: 1; min-width: 0; }
.ot-expert h3 { margin: 0 0 .25rem; font-size: 1.2rem; font-weight: 700; color: var(--ot-ink); }
.ot-expert-role { font-size: .95rem; color: var(--ot-gray); margin-bottom: .6rem !important; }
.ot-expert-team {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ot-circle);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ot-navy);
}
.ot-expert-in {
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ot-border);
  color: var(--ot-ink);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.ot-expert-in:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }

/* enquiry form sits on white here (home.css gives .adv-section a grey background) */
.ot .adv-section { background: #fff; padding: 80px 0; }

/* ---- Grouped services (retail page: retailers / mall developers, landlords & investors) ---- */
.ot-group + .ot-group { margin-top: 48px; }
.ot-group-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ot-ink);
}
.ot-group-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ot-ink);
  color: #fff;
  font-size: 1.15rem;
}
.ot-group-count {
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ot-border);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ot-gray);
}
.ot .adv-section.ot-tint-form { background: #f6f7fa; }

/* ===== Tenant Representation page (tenant-representation-occupier-services.php) ===== */

/* intro text + experts card */
.tr-intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 64px;
  align-items: start;
}
.tr-copy .rr-title { margin-bottom: 1.2rem; }
.tr-lead {
  margin: 0 0 1.4rem;
  padding-left: 1rem;
  border-left: 3px solid var(--ot-ink);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ot-ink);
}
.tr-copy > p:not(.tr-lead) { margin: 0 0 1.1rem; font-size: 1.05rem; line-height: 1.85; color: var(--ot-gray); }

.tr-experts {
  position: sticky;
  top: 110px;
  padding: 1.6rem;
  background: #fbfcff;
  border: 1px solid var(--ot-border);
  border-radius: 25px;
  box-shadow: 0 12px 40px rgba(27, 42, 91, .06);
}
.tr-experts-title {
  margin: 0 0 1rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ot-ink);
}
.tr-person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 18px;
  transition: border-color .3s, box-shadow .3s;
}
.tr-person + .tr-person { margin-top: 12px; }
.tr-person:hover { border-color: var(--ot-navy); box-shadow: 0 12px 30px rgba(27, 42, 91, .1); }
.tr-avatar {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ot-ink), var(--ot-navy));
}
.tr-avatar img { width: 100%; height: 100% !important; border-radius: 50%; border: 3px solid #fff; object-fit: cover; }
.tr-person-info { min-width: 0; }
.tr-person h3 { margin: 0 0 .2rem; font-size: 1.1rem; font-weight: 700; color: var(--ot-ink); }
.tr-person-role { margin: 0 0 .25rem; font-size: .92rem; color: var(--ot-gray); }
.tr-person-exp { display: flex; align-items: center; gap: 6px; margin: 0 0 .5rem; font-size: .82rem; font-weight: 600; color: var(--ot-navy); }
.tr-person-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .95rem;
  font-weight: 700;
  color: #128c4b;
  text-decoration: none;
}
.tr-person-link:hover { color: var(--ot-ink); }
.tr-team-btn { width: 100%; justify-content: space-between; min-height: 50px; margin-top: 1.1rem; }

/* process strip: numbered steps joined by a dashed line */
.tr-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tr-process::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 36px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ot-border) 0 8px, transparent 8px 14px);
}
.tr-process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.tr-process-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ot-border);
  box-shadow: 0 10px 24px rgba(27, 42, 91, .08);
  color: var(--ot-navy);
  font-size: 1.6rem;
  transition: background .3s, color .3s, transform .3s;
}
.tr-process-step:hover .tr-process-ico { background: var(--ot-ink); color: #fff; transform: translateY(-4px); }
.tr-process-num { margin-top: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ot-gray); }
.tr-process-title { font-size: 1.05rem; font-weight: 700; color: var(--ot-ink); }

/* service cards: "Know More" sits at the bottom */
.tr-service { display: flex; flex-direction: column; }
.tr-service p { flex: 1; margin-bottom: 1.2rem !important; }
.tr-more { align-self: flex-start; background: none; border: 0; border-bottom: 2px solid var(--ot-ink); padding: 0 0 2px; font-size: 1rem; cursor: pointer; }

/* leadership videos */
.tr-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tr-video {
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27, 42, 91, .06);
}
.tr-video-frame { position: relative; aspect-ratio: 16 / 9; background: #0c0b0b; }
.tr-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tr-video-body { padding: 1.4rem 1.6rem 1.6rem; }
.tr-video-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ot-circle);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ot-navy);
}
.tr-video h3 { margin: .8rem 0 .5rem; font-size: 1.3rem; font-weight: 700; line-height: 1.35; color: var(--ot-ink); }
.tr-video p { margin: 0; font-size: .98rem; line-height: 1.7; color: var(--ot-gray); }

/* news & insights: tabs + swipeable row of cards */
.tr-tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--ot-circle); }
.tr-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ot-gray);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.tr-tab span { padding: 1px 8px; border-radius: 999px; background: rgba(27, 42, 91, .1); font-size: .75rem; }
.tr-tab.is-active { background: var(--ot-ink); color: #fff; }
.tr-tab.is-active span { background: rgba(255, 255, 255, .2); }

.tr-rail-wrap { position: relative; }
.tr-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 2px 18px;
}
.tr-rail::-webkit-scrollbar { display: none; }
.tr-rail[hidden] { display: none; }
.tr-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.tr-news-card:hover { border-color: var(--ot-navy); box-shadow: 0 16px 36px rgba(27, 42, 91, .12); transform: translateY(-4px); }
.tr-news-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ot-circle); }
.tr-news-img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
.tr-news-card:hover .tr-news-img img { transform: scale(1.05); }
.tr-news-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.tr-news-meta { margin: 0 0 .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ot-navy); }
.tr-news-meta span { margin: 0 4px; color: var(--ot-border); }
.tr-news-body h3 { margin: 0 0 .5rem; font-size: 1.08rem; font-weight: 700; line-height: 1.4; }
.tr-news-body h3 a { color: var(--ot-ink); text-decoration: none; }
.tr-news-body h3 a::after { content: ''; position: absolute; inset: 0; }   /* whole card is the link */
.tr-news-body > p:not(.tr-news-meta) { flex: 1; margin: 0 0 1rem; font-size: .92rem; line-height: 1.6; color: var(--ot-gray); }
.tr-news-more { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 700; color: var(--ot-ink); }
.tr-news-more i { transition: transform .2s; }
.tr-news-card:hover .tr-news-more i { transform: translateX(4px); }

.tr-rail-btn {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ot-border);
  background: #fff;
  color: var(--ot-ink);
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(27, 42, 91, .12);
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
.tr-rail-prev { left: -22px; }
.tr-rail-next { right: -22px; }
.tr-rail-btn:hover:not(:disabled) { background: var(--ot-ink); border-color: var(--ot-ink); color: #fff; }
.tr-rail-btn:disabled { opacity: 0; pointer-events: none; }

@media (max-width: 1199.98px) {
  .tr-rail { grid-auto-columns: calc((100% - 24px) / 2); }
  .tr-rail-prev { left: -10px; }
  .tr-rail-next { right: -10px; }
}
@media (max-width: 991.98px) {
  .tr-intro { grid-template-columns: 1fr; gap: 36px; }
  .tr-experts { position: static; }
  .tr-process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .tr-process::before { display: none; }
  .tr-videos { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .tr-lead { font-size: 1.05rem; }
  .tr-copy > p:not(.tr-lead) { font-size: .98rem; }
  .tr-experts { padding: 1.1rem; border-radius: 20px; }
  .tr-avatar { flex-basis: 70px; width: 70px; height: 70px; }
  .tr-process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .tr-process-ico { width: 60px; height: 60px; font-size: 1.35rem; }
  .tr-process-step:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* odd last step sits centred */
  .tr-video-body { padding: 1.1rem 1.2rem 1.3rem; }
  .tr-video h3 { font-size: 1.12rem; }
  .tr-tabs { width: 100%; }
  .tr-tab { flex: 1; justify-content: center; padding: 9px 10px; }
  .tr-rail { grid-auto-columns: 84%; gap: 14px; }
  .tr-rail-btn { display: none; }        /* swipe on phones */
}

/* ===== IT Services page (it.php) ===== */

/* text on the left, 2×2 benefit cards on the right */
.it-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.it-copy .rr-title { margin-bottom: 1.4rem; }
.it-sub {
  margin: 0 0 .7rem;
  padding-left: 1rem;
  border-left: 3px solid var(--ot-ink);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ot-ink);
}
.it-copy > p { margin: 0; font-size: 1.05rem; line-height: 1.85; color: var(--ot-gray); }
.it-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.it-benefit {
  padding: 1.6rem 1.5rem;
  background: #fbfcff;
  border: 1px solid var(--ot-border);
  border-radius: 22px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.it-benefit:hover { border-color: var(--ot-navy); box-shadow: 0 14px 34px rgba(27, 42, 91, .1); transform: translateY(-4px); }
.it-benefit:hover .ot-ico { background: var(--ot-ink); color: #fff; }
.it-benefit h3 { margin: 1rem 0 .4rem; font-size: 1.15rem; font-weight: 700; color: var(--ot-ink); }
.it-benefit p { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--ot-gray); }

/* 3-step version of the process strip, with a short line of text per step */
.tr-process-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; }
.tr-process-3::before { left: 17%; right: 17%; }
.tr-process-text { max-width: 260px; font-size: .95rem; line-height: 1.6; color: var(--ot-gray); }

/* dark band with glass cards ("Why Choose Us?") */
.ot-dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .08), transparent 40%),
    linear-gradient(135deg, #0c0b0b, #625651);    /* same as the enquiry popups */
}
.ot-dark .rr-eyebrow { color: rgba(255, 255, 255, .7); }
.ot-dark .rr-title { color: #fff; }
.ot-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.ot-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 0 1 calc((100% - 40px) / 3);
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(4px);
  transition: background .3s, border-color .3s, transform .3s;
}
.ot-feature:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); transform: translateY(-4px); }
.ot-feature-ico {
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  color: var(--ot-ink);
  font-size: 1.3rem;
}
.ot-feature h3 { margin: 0 0 .35rem; font-size: 1.12rem; font-weight: 700; color: #fff; }
.ot-feature p { margin: 0; font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }

@media (max-width: 991.98px) {
  .it-split { grid-template-columns: 1fr; gap: 32px; }
  .tr-process-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ot-feature { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 575.98px) {
  .it-benefits { grid-template-columns: 1fr; gap: 12px; }
  .it-benefit { padding: 1.25rem; }
  .tr-process-3 { grid-template-columns: 1fr; gap: 28px; }
  .tr-process-3 .tr-process-step:last-child:nth-child(odd) { grid-column: auto; }
  .ot-feature { flex-basis: 100%; padding: 1.2rem; }
}

/* ===== Consultancy pages (residential-consultancy-services.php, commercial-real-estate-consultancy.php) ===== */

.rc-copy > p + p { margin-top: 1rem; }

/* services: tab list on the left, photo + text panel on the right */
.rc-tabs {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}
.rc-tablist { display: flex; flex-direction: column; gap: 10px; }
.rc-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 1rem 1.2rem;
  text-align: left;
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 16px;
  color: var(--ot-ink);
  cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.rc-tab > .bi:not(.rc-tab-arrow) {
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ot-circle);
  color: var(--ot-navy);
  font-size: 1.15rem;
  transition: background .25s, color .25s;
}
.rc-tab-num { flex: 0 0 auto; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--ot-gray); }
.rc-tab-title { flex: 1; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.rc-tab-arrow { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.rc-tab:hover { border-color: var(--ot-navy); box-shadow: 0 10px 26px rgba(27, 42, 91, .08); }
.rc-tab:focus-visible { outline: 2px solid var(--ot-navy); outline-offset: 2px; }
.rc-tab.is-active { background: var(--ot-ink); border-color: var(--ot-ink); color: #fff; box-shadow: 0 14px 32px rgba(21, 23, 28, .2); }
.rc-tab.is-active .rc-tab-num { color: rgba(255, 255, 255, .6); }
.rc-tab.is-active > .bi:not(.rc-tab-arrow) { background: #fff; color: var(--ot-ink); }
.rc-tab.is-active .rc-tab-arrow { opacity: 1; transform: none; }

.rc-panel {
  background: #fff;
  border: 1px solid var(--ot-border);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(27, 42, 91, .08);
  animation: rc-fade .45s ease both;
}
.rc-panel[hidden] { display: none; }
.rc-panel-img { aspect-ratio: 11 / 5; overflow: hidden; background: var(--ot-circle); }
.rc-panel-img img { width: 100%; height: 100% !important; object-fit: cover; }
.rc-panel-body { padding: 1.8rem 2rem 2rem; }
.rc-panel-num { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ot-navy); }
.rc-panel h3 { margin: .6rem 0 .8rem; font-size: 1.5rem; font-weight: 700; color: var(--ot-ink); }
.rc-panel p { margin: 0 0 1.4rem; font-size: 1.02rem; line-height: 1.8; color: var(--ot-gray); }
@keyframes rc-fade { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: none; } }

/* developer names on the dark band */
.rc-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.rc-brands li {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  transition: background .25s, color .25s, border-color .25s;
}
.rc-brands li:hover { background: #fff; border-color: #fff; color: var(--ot-ink); }
.rc-brands .rc-brands-more { border-style: dashed; font-weight: 600; color: rgba(255, 255, 255, .7); }
.ot-dark .rr-btn { background: #fff; color: var(--ot-ink); }
.ot-dark .rr-btn:hover { background: var(--ot-circle); color: var(--ot-ink); }
.ot-dark .rr-btn .arrow { background: var(--ot-ink); }

@media (max-width: 991.98px) {
  .rc-tabs { grid-template-columns: 1fr; gap: 20px; }
  /* tab list becomes a swipeable row of chips */
  .rc-tablist {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -12px;
    padding: 4px 12px 8px;
  }
  .rc-tablist::-webkit-scrollbar { display: none; }
  .rc-tab { flex: 0 0 auto; width: auto; padding: .6rem 1rem .6rem .6rem; border-radius: 999px; gap: 10px; }
  .rc-tab > .bi:not(.rc-tab-arrow) { flex-basis: 34px; width: 34px; height: 34px; font-size: .95rem; }
  .rc-tab-num, .rc-tab-arrow { display: none; }
  .rc-tab-title { max-width: 220px; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; white-space: nowrap; }   /* long names: next chip still peeks in */
}
@media (max-width: 575.98px) {
  .rc-panel { border-radius: 20px; }
  .rc-panel-body { padding: 1.3rem 1.25rem 1.5rem; }
  .rc-panel h3 { font-size: 1.25rem; }
  .rc-panel p { font-size: .96rem; }
  .rc-brands { gap: 8px; }
  .rc-brands li { padding: 9px 18px; font-size: .95rem; }
}

/* gentle reveal on scroll (only when JS is running). Uses the `translate` property so it
   doesn't fight the cards' hover lift, which uses `transform`. */
.ot-js [data-reveal] { opacity: 0; }
.ot-js [data-reveal].is-in { animation: ot-rise .7s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * .08s) both; }
@keyframes ot-rise {
  from { opacity: 0; translate: 0 26px; }
  to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ot-js [data-reveal] { opacity: 1; }
  .ot-js [data-reveal].is-in { animation: none; }
  .ot-prop-photo img, .ot-step, .ot-service, .ot-prop { transition: none; }
}

/* ---- Tablet ---- */
@media (max-width: 991.98px) {
  .ot-section { padding: 64px 0; }
  .ot-banner { min-height: 560px; padding: 120px 0 64px; }
  .ot-banner::after { background: linear-gradient(90deg, rgba(12, 11, 11, .9) 0%, rgba(12, 11, 11, .7) 70%, rgba(12, 11, 11, .45) 100%); }
  .ot-steps { grid-template-columns: 1fr; }
  .ot-services, .ot-props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ot-experts { grid-template-columns: 1fr; }
}

/* ---- Phone ---- */
@media (max-width: 575.98px) {
  .ot .container { padding-left: 16px; padding-right: 16px; }
  .ot-section { padding: 48px 0; }
  .ot-head { margin-bottom: 28px; }
  .ot-head-split { flex-direction: column; align-items: flex-start; }
  .ot-banner { min-height: 0; padding: 112px 0 52px; }
  .ot-banner::after { background: rgba(12, 11, 11, .78); }
  .ot-banner .rr-title { font-size: 2.3rem; }
  .ot-banner .rr-lead { font-size: .98rem; }
  .ot-actions .rr-btn, .ot-btn-outline { flex: 1 1 100%; justify-content: space-between; }
  .ot-btn-outline { justify-content: center; }
  .ot-step { padding: 1.6rem 1.25rem; border-radius: 20px; }
  .ot-step-num { font-size: 3.2rem; right: 1.1rem; }
  .ot-services, .ot-props { grid-template-columns: 1fr; gap: 14px; }
  .ot-service { padding: 1.2rem; gap: 14px; }
  .ot-ico { width: 52px; height: 52px; font-size: 1.3rem; }
  .ot-service .ot-ico { flex-basis: 52px; }
  .ot-expert { flex-wrap: wrap; gap: 14px; padding: 1.25rem; }
  .ot-expert img { flex-basis: 80px; width: 80px; height: 80px !important; }
  .ot .adv-section { padding: 48px 0; }
}
