:root {
  color-scheme: light;
  --background: #fbfcfd;
  --paper: #ffffff;
  --ink: #142033;
  --ink-strong: #001426;
  --ink-soft: #3d4a59;
  --muted: #687483;
  --brand: #315bbb;
  --brand-indigo: #514c9f;
  --brand-deep: #02334d;
  --platform: #21447c;
  --accent: #657a5f;
  --line: #e5eaf0;
  --line-strong: #d8e0e8;
  --shadow: 0 18px 52px rgba(0, 20, 38, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family:
    "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--ink-strong);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 500;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 22px;
  color: var(--ink-strong);
  font-size: 31px;
  line-height: 1.18;
  font-weight: 500;
}

h3 {
  margin-bottom: 9px;
  color: var(--ink-strong);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 560;
}

.section-band {
  width: 100%;
}

.section-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 13px max(24px, calc((100vw - 1080px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 168px;
  min-width: 0;
}

.brand img {
  width: 152px;
  height: auto;
}

.brand-tagline {
  width: 152px;
  color: var(--ink-strong);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  color: var(--ink-strong);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a {
  padding: 7px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: currentColor;
  outline: none;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.platform-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--platform);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.platform-button:hover,
.platform-button:focus-visible {
  background: var(--brand);
  outline: none;
  transform: translateY(-1px);
}

.home-hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--brand-deep);
  background:
    linear-gradient(90deg, rgba(251, 252, 253, 0.97), rgba(243, 246, 252, 0.84) 52%, rgba(81, 76, 159, 0.3)),
    url("assets/hero-conasoc-reference.png") center right / cover no-repeat;
}

.hero-grid {
  display: grid;
  align-items: end;
}

.hero-cover {
  min-height: 640px;
  padding: 96px 0 84px;
}

.hero-copy {
  width: min(100%, 900px);
  min-width: 0;
}

.home-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  color: var(--brand-deep);
  font-size: 68px;
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: 0;
}

.home-hero .eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero .lead {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--brand-deep);
  font-size: 24px;
  line-height: 1.34;
  font-weight: 400;
}

.eyebrow,
.section-kicker,
.section-title-line span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 780;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
}

.lead,
.about p,
.page-hero p,
.page-content p,
.contact-note p,
.cbi-minimal p {
  max-width: 780px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brand);
  outline: none;
}

.about,
.page-content,
.cbi-minimal {
  padding: 82px 0;
  background: var(--background);
}

.process,
.initiatives,
.contact-page {
  padding: 82px 0;
  background: var(--paper);
}

.page-hero {
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--line);
  background: var(--background);
}

.two-column {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.about-identity {
  width: min(900px, calc(100% - 40px));
}

.about-identity h2 {
  max-width: 880px;
  margin: 18px 0 0;
  color: var(--brand-deep);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 760;
}

.about-summary {
  max-width: 720px;
  margin: 26px 0 0;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-top: 34px;
  border-top: 1px solid rgba(49, 91, 187, 0.24);
  border-bottom: 1px solid rgba(81, 76, 159, 0.24);
  background: linear-gradient(90deg, rgba(49, 91, 187, 0.055), rgba(81, 76, 159, 0.075));
}

.about-metric {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  padding: 27px 28px;
}

.about-metric + .about-metric {
  border-left: 1px solid rgba(81, 76, 159, 0.18);
}

.about-metric strong {
  color: var(--brand);
  font-size: 46px;
  font-weight: 760;
  line-height: 0.92;
  white-space: nowrap;
}

.about-metric span {
  max-width: 190px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-title-line {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 70px;
  align-items: start;
  margin-bottom: 34px;
}

.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-list article {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 38px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.service-list p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.66;
}

.service-list p a {
  color: var(--brand);
  font-weight: 700;
}

.services-showcase {
  background: var(--paper);
}

.services-overview {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
  background: var(--background);
}

.services-overview-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: start;
}

.services-intro {
  position: relative;
  padding: 0 0 22px 28px;
}

.services-intro::before {
  position: absolute;
  top: 2px;
  bottom: 22px;
  left: 0;
  width: 4px;
  max-height: 112px;
  background: var(--brand);
  content: "";
}

.services-intro h2 {
  max-width: 380px;
  margin: 0;
  color: var(--brand-deep);
  font-size: 48px;
  font-weight: 620;
  line-height: 1.06;
}

.services-accent {
  width: 140px;
  height: 8px;
  display: grid;
  grid-template-columns: 54% 28% 18%;
  margin-top: 36px;
}

.services-accent i:nth-child(1) {
  background: var(--brand-deep);
}

.services-accent i:nth-child(2) {
  background: var(--brand);
}

.services-accent i:nth-child(3) {
  background: var(--brand-indigo);
}

.services-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: 20px 20px 0 rgba(2, 51, 77, 0.055);
}

.services-card {
  position: relative;
  min-height: 224px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 27px 28px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.services-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--brand);
  content: "";
  transition: width 180ms ease;
}

.services-card:nth-child(3n)::before {
  background: var(--brand-indigo);
}

.services-card:hover,
.services-card:focus-within {
  z-index: 1;
  background: #f6f8fc;
  box-shadow: 0 16px 32px rgba(0, 20, 38, 0.08);
  transform: translateY(-3px);
}

.services-card:hover::before,
.services-card:focus-within::before {
  width: 5px;
}

.services-card h3 {
  max-width: 290px;
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: 22px;
  font-weight: 680;
  line-height: 1.2;
}

.services-card p {
  max-width: 320px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.services-card a {
  margin-top: auto;
  padding-top: 15px;
  border-bottom: 1px solid currentColor;
  color: var(--brand);
  font-size: 13px;
  font-weight: 750;
}

.services-card a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.services-process {
  position: relative;
  overflow: hidden;
  padding: 48px 0 46px;
  border-top: 1px solid rgba(49, 91, 187, 0.14);
  border-bottom: 1px solid rgba(81, 76, 159, 0.14);
  background: #f1f4f8;
  color: var(--brand-deep);
}

.services-process::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--brand);
  content: "";
}

.services-process-inner {
  position: relative;
  z-index: 1;
}

.services-process-heading {
  padding-left: 22px;
  border-left: 4px solid var(--brand-indigo);
}

.services-process-heading h3 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 38px;
  font-weight: 620;
  line-height: 1.1;
}

.services-phase-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin: 40px 0 0;
  padding: 0 0 178px;
  list-style: none;
}

.services-phase-track::before {
  position: absolute;
  top: 21px;
  right: 6.25%;
  left: 6.25%;
  height: 1px;
  background: rgba(49, 91, 187, 0.32);
  content: "";
}

.services-phase {
  position: relative;
  min-width: 0;
}

.services-phase button {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.services-phase-node {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--phase-color, var(--brand));
  border-radius: 50%;
  background: #f1f4f8;
  color: var(--phase-color, var(--brand));
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.services-phase:nth-child(3n + 1) {
  --phase-color: var(--brand-deep);
}

.services-phase:nth-child(3n + 2) {
  --phase-color: var(--brand);
}

.services-phase:nth-child(3n) {
  --phase-color: var(--brand-indigo);
}

.services-phase-name {
  max-width: 126px;
  min-height: 36px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.services-phase-detail {
  position: absolute;
  z-index: 4;
  top: 92px;
  left: 50%;
  width: 252px;
  min-height: 126px;
  padding: 19px 20px;
  border-top: 4px solid var(--phase-color);
  background: #ffffff;
  box-shadow: 0 20px 42px rgba(0, 20, 38, 0.14);
  color: var(--brand-deep);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(0.96);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.services-phase:first-child .services-phase-detail {
  left: 0;
  transform: translate(0, 10px) scale(0.96);
  transform-origin: top left;
}

.services-phase:last-child .services-phase-detail {
  right: 0;
  left: auto;
  transform: translate(0, 10px) scale(0.96);
  transform-origin: top right;
}

.services-phase:hover .services-phase-node,
.services-phase:focus-within .services-phase-node,
.services-phase.is-active .services-phase-node {
  background: var(--phase-color);
  box-shadow: 0 0 0 7px rgba(49, 91, 187, 0.1);
  color: #ffffff;
  transform: scale(1.16);
}

.services-phase:hover .services-phase-detail,
.services-phase:focus-within .services-phase-detail,
.services-phase.is-active .services-phase-detail {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.services-phase:first-child:hover .services-phase-detail,
.services-phase:first-child:focus-within .services-phase-detail,
.services-phase:first-child.is-active .services-phase-detail,
.services-phase:last-child:hover .services-phase-detail,
.services-phase:last-child:focus-within .services-phase-detail,
.services-phase:last-child.is-active .services-phase-detail {
  transform: translate(0, 0) scale(1);
}

.services-phase-detail strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-deep);
  font-size: 17px;
  line-height: 1.25;
}

.services-phase-detail p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.services-phase button:focus-visible {
  outline: none;
}

.services-phase button:focus-visible .services-phase-node {
  box-shadow:
    0 0 0 6px rgba(49, 91, 187, 0.1),
    0 0 0 8px rgba(49, 91, 187, 0.46);
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 78px 0 72px;
  background: #eef2f8;
}

.legal-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--brand-deep);
  font-size: 50px;
  font-weight: 620;
  line-height: 1.04;
}

.legal-hero p {
  max-width: 760px;
  margin: 0 0 4px;
  padding: 22px 0 0 25px;
  border-left: 4px solid var(--brand-indigo);
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.58;
}

.home-key,
.legal-key {
  color: inherit;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: rgba(49, 91, 187, 0.38);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.legal-services {
  padding: 0 0 82px;
  background: var(--paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-service-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.legal-service-item { min-width: 0; }

.legal-service-tab {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 96px;
  padding: 18px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.32;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.legal-service-tab::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: transparent;
  content: "";
  transition: background-color 160ms ease;
}

.legal-service-tab:hover,
.legal-service-tab:focus-visible,
.legal-service-tab[aria-selected="true"] {
  color: var(--brand);
  background: #f6f8fc;
  outline: 0;
}

.legal-service-tab:focus-visible {
  box-shadow: inset 0 0 0 2px var(--brand-indigo);
}

.legal-service-tab[aria-selected="true"]::before {
  background: var(--brand);
}

.legal-service-mobile-detail { display: none; }

.legal-service-detail {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 62px;
  min-height: 318px;
  padding: 45px 48px 48px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper);
}

.legal-service-detail h3 {
  max-width: 355px;
  margin: 0;
  color: var(--brand-deep);
  font-size: 29px;
  font-weight: 620;
  line-height: 1.13;
}

.legal-service-content > p {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.legal-service-content ul {
  display: grid;
  gap: 12px;
  margin: 29px 0 0;
  padding: 0;
  list-style: none;
}

.legal-service-content li {
  position: relative;
  padding-left: 19px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.48;
}

.legal-service-content li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.legal-specialism {
  padding: 56px 0;
  border-top: 1px solid rgba(49, 91, 187, 0.16);
  border-bottom: 1px solid rgba(49, 91, 187, 0.16);
  background: #edf2f7;
}

.legal-specialism-inner {
  max-width: 940px;
  margin: 0 auto;
}

.legal-specialism p {
  margin: 0;
  color: var(--brand-deep);
  font-size: 25px;
  font-weight: 520;
  line-height: 1.38;
}

.legal-map-section {
  padding: 0 0 82px;
  background: var(--paper);
}

.legal-map-frame {
  position: relative;
  overflow: hidden;
  padding: 48px 42px 42px;
  background: #edf2f7;
}

.legal-map-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
}

.legal-map-heading h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 31px;
  font-weight: 640;
  line-height: 1.2;
}

.legal-map-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.legal-map-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.legal-map-track::before {
  position: absolute;
  top: 28px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: rgba(49, 91, 187, 0.42);
  content: "";
}

.legal-map-step {
  --legal-map-color: var(--brand);
  position: relative;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 20px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--brand-deep);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.legal-map-step:nth-child(2) {
  --legal-map-color: var(--brand-indigo);
}

.legal-map-step:nth-child(3) {
  --legal-map-color: var(--brand-deep);
}

.legal-map-step:nth-child(4) {
  --legal-map-color: var(--brand);
}

.legal-map-step:hover,
.legal-map-step:focus-visible,
.legal-map-step.is-active {
  z-index: 2;
  background: #fafdff;
  box-shadow: 0 18px 34px rgba(2, 51, 77, 0.12);
  transform: translateY(-6px);
}

.legal-map-step:focus-visible {
  outline: 2px solid var(--legal-map-color);
  outline-offset: 4px;
}

.legal-map-node {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin: -1px 0 40px -21px;
  border: 2px solid var(--legal-map-color);
  border-radius: 50%;
  background: #edf2f7;
  color: var(--legal-map-color);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.legal-map-step.is-active .legal-map-node,
.legal-map-step:hover .legal-map-node,
.legal-map-step:focus-visible .legal-map-node {
  background: var(--legal-map-color);
  box-shadow: 0 0 0 7px rgba(49, 91, 187, 0.1);
  color: #ffffff;
  transform: scale(1.08);
}

.legal-map-step-title {
  display: block;
  margin-bottom: 14px;
  color: var(--brand-deep);
  font-size: 23px;
  font-weight: 680;
  line-height: 1.2;
}

.legal-map-step-copy {
  display: block;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.legal-map-details {
  position: relative;
  z-index: 1;
  margin-top: 34px;
}

.legal-map-detail {
  --legal-map-color: var(--brand);
  min-height: 196px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 68px;
  padding: 30px 34px;
  border-top: 4px solid var(--legal-map-color);
  background: var(--paper);
  box-shadow: 0 16px 32px rgba(2, 51, 77, 0.08);
}

.legal-map-detail:nth-child(2) {
  --legal-map-color: var(--brand-indigo);
}

.legal-map-detail:nth-child(3) {
  --legal-map-color: var(--brand-deep);
}

.legal-map-detail span,
.legal-focus-grid > article > span,
.legal-method-steps span {
  display: block;
  color: var(--legal-map-color, var(--brand));
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.legal-map-detail h3 {
  margin: 10px 0 12px;
  color: var(--brand-deep);
  font-size: 27px;
  font-weight: 650;
  line-height: 1.16;
}

.legal-map-detail p {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
}

.legal-map-detail ul {
  display: grid;
  align-content: center;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-map-detail li {
  position: relative;
  padding: 0 0 11px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.legal-map-detail li::before {
  position: absolute;
  margin-left: -18px;
  color: var(--legal-map-color);
  content: "•";
  font-size: 16px;
}

.legal-map-detail li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-focus {
  padding: 82px 0;
  border-top: 1px solid var(--line);
  background: var(--background);
}

.legal-focus-heading {
  max-width: 780px;
}

.legal-focus-heading h2,
.legal-method h2 {
  margin: 18px 0 20px;
  color: var(--brand-deep);
  font-size: 41px;
  font-weight: 620;
  line-height: 1.12;
}

.legal-focus-heading > p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.62;
}

.legal-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: var(--paper);
}

.legal-focus-grid > article {
  min-height: 234px;
  padding: 28px 30px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.legal-focus-grid > article:nth-child(2n) {
  --legal-map-color: var(--brand-indigo);
}

.legal-focus-grid > article:hover {
  position: relative;
  z-index: 1;
  background: #f8fbff;
  box-shadow: 0 18px 34px rgba(2, 51, 77, 0.09);
  transform: translateY(-4px);
}

.legal-focus-grid h3 {
  max-width: 390px;
  margin: 19px 0 14px;
  color: var(--brand-deep);
  font-size: 23px;
  font-weight: 660;
  line-height: 1.2;
}

.legal-focus-grid p {
  max-width: 470px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.58;
}

.legal-method {
  padding: 82px 0;
  background: #edf2f7;
}

.legal-method-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 80px;
  align-items: start;
}

.legal-method h2 {
  max-width: 500px;
}

.legal-method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(49, 91, 187, 0.3);
  border-left: 1px solid rgba(49, 91, 187, 0.3);
}

.legal-method-steps article {
  min-height: 190px;
  padding: 23px 22px;
  border-right: 1px solid rgba(49, 91, 187, 0.3);
  border-bottom: 1px solid rgba(49, 91, 187, 0.3);
}

.legal-method-steps article:nth-child(2) {
  --legal-map-color: var(--brand-indigo);
}

.legal-method-steps article:nth-child(3) {
  --legal-map-color: var(--brand-deep);
}

.legal-method-steps h3 {
  margin: 37px 0 11px;
  color: var(--brand-deep);
  font-size: 21px;
  font-weight: 660;
  line-height: 1.2;
}

.legal-method-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.plain-list {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.plain-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 38px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.process-list.compact {
  grid-template-columns: repeat(4, 1fr);
}

.process-list li {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.process-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.route-list article {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 34px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.route-list span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.route-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.legal-stack {
  display: grid;
  gap: 34px;
}

.legal-block {
  display: grid;
  gap: 14px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-block h2 {
  margin-bottom: 0;
}

.legal-block p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.72;
}

.legal-block a {
  color: var(--brand);
  font-weight: 700;
}

.legal-data {
  display: grid;
  margin: 8px 0 0;
  border-top: 1px solid var(--line-strong);
}

.legal-data div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.legal-data dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-data dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.cta-strip {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--ink-strong);
  color: #ffffff;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-row p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.5;
}

.cta-row .text-link {
  color: #ffffff;
}

.contact-hero {
  padding: 82px 0 74px;
  border-bottom: 1px solid var(--line);
  background: #edf2f8;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 54px;
  font-weight: 560;
  line-height: 1.05;
}

.contact-hero p {
  max-width: 670px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  width: min(860px, calc(100% - 40px));
}

.contact-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding: 27px 0 0;
  border-top: 1px solid var(--line-strong);
}

.contact-intro h2,
.contact-form h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 560;
}

.contact-details {
  margin: 0;
  color: var(--ink);
  font-style: normal;
}

.contact-form label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--ink-strong);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--brand);
  outline: none;
}

.contact-form {
  display: grid;
  gap: 25px;
  padding: 40px 42px 42px;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--brand);
  background: var(--paper);
}

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

.contact-form label:not(.contact-consent):not(.contact-honeypot) {
  display: grid;
  gap: 9px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fbfcfd;
  color: var(--ink-strong);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  height: 49px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 13px 14px;
  line-height: 1.5;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(49, 91, 187, 0.1);
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.contact-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.contact-consent > span {
  color: var(--ink-soft) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: none !important;
}

.contact-consent a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-form button {
  min-height: 46px;
  flex: 0 0 auto;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  background: var(--platform);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: var(--brand);
  outline: none;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.contact-form-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  padding: 31px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--ink-strong);
  color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner img {
  width: 148px;
  filter: invert(1) brightness(4);
}

.footer-inner p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.45;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #ffffff;
  outline: none;
}

.cbi-minimal {
  min-height: calc(100vh - 145px);
  display: flex;
  align-items: center;
}

.cbi-minimal h1 {
  margin-bottom: 18px;
}

.concept-hero {
  background:
    linear-gradient(90deg, rgba(251, 252, 253, 0.94), rgba(251, 252, 253, 0.78)),
    url("assets/hero-conasoc-reference.png") center / cover no-repeat;
}

.concept-hero h1 {
  max-width: 920px;
  margin-top: 18px;
}

.concept-band {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.concept-editorial {
  background: var(--paper);
}

.concept-route,
.concept-intelligence {
  background: var(--background);
}

.concept-dark {
  background: var(--ink-strong);
  color: #ffffff;
}

.concept-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.concept-label {
  display: grid;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--line-strong);
}

.concept-dark .concept-label {
  border-top-color: rgba(255, 255, 255, 0.26);
}

.concept-label span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.concept-dark .concept-label span {
  color: rgba(255, 255, 255, 0.66);
}

.concept-label strong {
  color: var(--ink-strong);
  font-size: 19px;
  font-weight: 560;
  line-height: 1.2;
}

.concept-dark .concept-label strong,
.concept-dark h2,
.concept-dark h3 {
  color: #ffffff;
}

.concept-copy h2 {
  max-width: 900px;
  margin-bottom: 24px;
  color: var(--brand-deep);
  font-size: 56px;
  line-height: 1.02;
  font-weight: 760;
}

.concept-lead {
  max-width: 780px;
  margin-bottom: 42px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.62;
}

.concept-dark .concept-lead {
  color: rgba(255, 255, 255, 0.76);
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  border-top: 1px solid var(--line-strong);
}

.concept-grid article {
  padding-top: 22px;
}

.concept-grid p,
.concept-split p,
.concept-steps p,
.question-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.62;
}

.concept-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.concept-split p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.concept-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.concept-steps article {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 30px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.concept-steps span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.question-list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.question-list article {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 40px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.question-list h3 {
  margin-bottom: 0;
  font-size: 23px;
}

.concept-intelligence .text-link {
  margin-top: 2px;
}

@media (max-width: 1120px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 27px;
  }

  .about,
  .page-content,
  .cbi-minimal,
  .process,
  .initiatives,
  .contact-page {
    padding: 58px 0;
  }

  .page-hero {
    padding: 58px 0 50px;
  }

  .home-hero,
  .hero-cover {
    min-height: 560px;
  }

  .hero-cover {
    padding: 64px 0 58px;
  }

  .home-hero h1 {
    font-size: 48px;
  }

  .home-hero .lead {
    font-size: 20px;
  }

  .about-identity h2,
  .concept-copy h2 {
    font-size: 38px;
  }

  .services-overview {
    padding: 60px 0 66px;
  }

  .services-overview-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .services-intro h2 {
    font-size: 42px;
  }

  .hero-grid,
  .two-column,
  .section-title-line,
  .concept-layout,
  .route-list,
  .service-list article,
  .process-list,
  .process-list.compact,
  .contact-grid,
  .cta-row {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .two-column,
  .section-title-line,
  .concept-layout,
  .contact-grid {
    gap: 28px;
  }

  .concept-band {
    padding: 64px 0;
  }

  .concept-grid,
  .concept-split,
  .concept-steps,
  .route-list,
  .question-list article {
    grid-template-columns: 1fr;
  }

  .concept-grid {
    gap: 0;
  }

  .concept-grid article,
  .concept-steps article,
  .route-list article {
    min-height: 0;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
  }

  .route-list {
    border-left: 0;
  }

  .route-list article {
    border-right: 0;
    background: transparent;
  }

  .concept-steps {
    border-left: 0;
  }

  .concept-steps article {
    border-right: 0;
    background: transparent;
  }

  .question-list article {
    gap: 8px;
  }

  .cta-row {
    display: grid;
  }

  .service-list article {
    gap: 0;
  }

  .legal-data div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .services-process::before {
    width: 7px;
  }

  .services-intro {
    padding-left: 20px;
  }

  .services-intro h2 {
    font-size: 38px;
  }

  .services-matrix {
    grid-template-columns: 1fr;
    box-shadow: 12px 12px 0 rgba(2, 51, 77, 0.055);
  }

  .services-card {
    min-height: 0;
    padding: 24px 22px 26px;
  }

  .services-card a {
    margin-top: 8px;
  }

  .services-process {
    padding: 42px 0 38px;
  }

  .services-process-heading {
    padding-left: 18px;
  }

  .services-process-heading h3 {
    font-size: 32px;
  }

  .services-phase-track {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
    padding: 0;
  }

  .services-phase-track::before {
    top: 21px;
    right: auto;
    bottom: 21px;
    left: 20px;
    width: 1px;
    height: auto;
  }

  .services-phase {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 15px;
    padding-bottom: 20px;
  }

  .services-phase button {
    grid-column: 1 / -1;
    grid-template-columns: 42px minmax(0, 1fr);
    justify-items: start;
    gap: 15px;
    padding: 0;
    text-align: left;
  }

  .services-phase-name {
    max-width: none;
    min-height: 0;
    padding-top: 11px;
  }

  .services-phase-detail,
  .services-phase:first-child .services-phase-detail,
  .services-phase:last-child .services-phase-detail {
    position: static;
    grid-column: 2;
    width: auto;
    min-height: 0;
    max-height: 0;
    margin-top: 0;
    padding: 0 18px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition:
      max-height 220ms ease,
      margin-top 220ms ease,
      opacity 180ms ease,
      padding 220ms ease,
      visibility 180ms ease;
  }

  .services-phase:hover .services-phase-detail,
  .services-phase:focus-within .services-phase-detail,
  .services-phase.is-active .services-phase-detail,
  .services-phase:first-child:hover .services-phase-detail,
  .services-phase:first-child:focus-within .services-phase-detail,
  .services-phase:first-child.is-active .services-phase-detail,
  .services-phase:last-child:hover .services-phase-detail,
  .services-phase:last-child:focus-within .services-phase-detail,
  .services-phase:last-child.is-active .services-phase-detail {
    max-height: 190px;
    margin-top: 12px;
    padding: 18px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 500px) {
  .section-inner {
    width: min(100% - 28px, 1080px);
  }

  .site-header {
    padding: 16px 14px;
  }

  .brand {
    width: 146px;
  }

  .brand img {
    width: 140px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .main-nav {
    gap: 14px;
    font-size: 10px;
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
  }

  .platform-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 9px;
  }

  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 25px;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .home-hero .eyebrow {
    font-size: 11px;
  }

  .home-hero,
  .hero-cover {
    min-height: 520px;
  }

  .home-hero .lead {
    font-size: 17px;
  }

  .about-identity h2,
  .concept-copy h2 {
    font-size: 31px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

  .about-metric {
    padding: 24px 0;
  }

  .about-metric + .about-metric {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lead,
  .about p,
  .page-hero p,
  .page-content p,
  .contact-note p,
  .cbi-minimal p {
    font-size: 16px;
  }

  .contact-card,
  .contact-note {
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .legal-hero {
    padding: 60px 0 56px;
  }

  .legal-hero-inner,
  .legal-method-inner,
  .legal-specialism-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal-hero h1 {
    font-size: 46px;
  }

  .legal-map-frame {
    padding: 42px 30px 32px;
  }

  .legal-map-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-map-track::before {
    display: none;
  }

  .legal-map-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-service-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding: 37px 34px 40px;
  }

  .legal-focus,
  .legal-method {
    padding: 64px 0;
  }

  .legal-focus-heading h2,
  .legal-method h2 {
    font-size: 36px;
  }

  .legal-method-steps {
    grid-template-columns: 1fr;
  }

  .legal-method-steps article {
    min-height: 0;
  }

  .legal-method-steps h3 {
    margin-top: 22px;
  }
}

@media (max-width: 600px) {
  .legal-hero h1 {
    font-size: 37px;
  }

  .legal-hero p {
    padding-left: 18px;
    font-size: 17px;
  }

  .legal-map-section {
    padding-bottom: 58px;
  }

  .legal-map-frame {
    padding: 34px 20px 22px;
  }

  .legal-map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-map-heading h2 {
    font-size: 27px;
  }

  .legal-map-track,
  .legal-focus-grid {
    grid-template-columns: 1fr;
  }

  .legal-map-step {
    min-height: 0;
    padding: 0 20px 25px;
  }

  .legal-map-node {
    margin-bottom: 26px;
  }

  .legal-map-detail {
    min-height: 0;
    padding: 25px 22px;
  }

  .legal-map-detail h3 {
    font-size: 24px;
  }

  .legal-service-tabs {
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--line);
  }

  .legal-service-tab {
    min-height: 76px;
    align-items: center;
  }

  .legal-service-detail {
    display: none;
  }

  .legal-service-mobile-detail {
    display: block;
    padding: 1px 20px 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #f6f8fc;
  }

  .legal-service-mobile-detail[hidden] {
    display: none;
  }

  .legal-service-mobile-detail p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.58;
  }

  .legal-service-detail {
    padding: 31px 24px 34px;
  }

  .legal-service-detail h3 {
    font-size: 26px;
  }

  .legal-service-content > p {
    font-size: 16px;
  }

  .legal-specialism p {
    font-size: 21px;
  }

  .legal-focus-heading h2,
  .legal-method h2 {
    font-size: 31px;
  }

  .legal-focus-grid > article {
    min-height: 0;
    padding: 24px 22px;
  }
}

@media (max-width: 900px) {
  .contact-hero {
    padding: 60px 0 56px;
  }

  .contact-hero h1 {
    font-size: 44px;
  }

  .contact-grid {
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .contact-hero h1 {
    font-size: 37px;
  }

  .contact-hero p {
    font-size: 17px;
  }

  .contact-form {
    gap: 22px;
    padding: 31px 23px 34px;
  }

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

  .contact-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .contact-details a {
    font-size: 16px;
    white-space: normal;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form button {
    width: 100%;
  }
}
