/* ========== CONVEYANCING PAGE ========== */
:root{ --red: #c00; }

.conveyancing.section { padding: 48px 0 64px; }
.conveyancing .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Headings */
.conveyancing .section-header { margin-bottom: 18px; }
.conveyancing .section-title {
  color: var(--red, #c00);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 8px;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}
.conveyancing .section-title::after {
  content: "";
  display: block;
  width: 160px;
  height: 4px;
  background: #111;
  border-radius: 2px;
  margin-top: 8px;
}
.conveyancing .section-subtitle { color: #666; margin: 0; font-size: 1.06rem; line-height: 1.6; }

/* Tabs */
.conveyancing .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 14px; }
.conveyancing .tab {
  appearance: none;
  border: 1px solid #e1e1e1;
  background: #fff;
  color: #222;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
  transition: box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.conveyancing .tab:hover { border-color: #cfcfcf; box-shadow: 0 0 0 3px rgba(0,0,0,.04); }
.conveyancing .tab:focus { outline: none; box-shadow: 0 0 0 3px rgba(196, 0, 0, .18); }
.conveyancing .tab.is-active,
.conveyancing .tab[aria-selected="true"] {
  background: var(--red, #c00);
  color: #fff;
  border-color: var(--red, #c00);
}

/* Panels */
.conveyancing .tabpanels { margin-top: 6px; }
.conveyancing .tabpanel { display: none; padding-top: 1.5rem; }
.conveyancing .tabpanel.is-active { display: block; }

.conveyancing .tabpanel h2 { margin: 14px 0 8px; color: #b30000; font-weight: 700; }
.conveyancing .tabpanel h3 { color: #b30000; }
.conveyancing .tabpanel p { margin: 0 0 10px; color: #444; line-height: 1.7; }

/* Bullets */
.conveyancing .bullets { margin: 8px 0 14px 0; padding-left: 20px; }
.conveyancing .bullets li { margin: 6px 0; }

/* CTA */
.conveyancing .cta {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--red, #c00);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(204,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.conveyancing .cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(204,0,0,.3); }
.conveyancing .cta:active { transform: translateY(0); box-shadow: 0 4px 8px rgba(204,0,0,.2) inset; }

/* Responsive */
@media (max-width: 720px) {
  .conveyancing .tabs { gap: 6px; }
  .conveyancing .tab { padding: 9px 12px; font-size: 0.98rem; }
  .conveyancing .section-title::after { width: 140px; height: 3px; }
}
.conveyancing .tabpanel:focus {
  outline: none;
  box-shadow: none;
}
.conveyancing .tabpanel {
  padding-top: 1.5rem; /* adds space between tabs and the first content element */
}

/* Back to services link above heading */
.conveyancing .back-services {
  margin-bottom: 1rem;
}

.conveyancing .back-services .back-btn {
  background: none;
  color: var(--red, #c00);
  font-weight: 600;
  text-decoration: none;
  padding: 4px 0;
  display: inline-block;
  transition: color .2s ease;
}

.conveyancing .back-services .back-btn:hover {
  color: #000;
}