:root {
  color-scheme: light;
  --ink: #0b1f33;
  --ink-soft: #34495e;
  --navy: #0b1f33;
  --navy-2: #123451;
  --blue: #1a5a96;
  --accent: #f3c622;
  --accent-strong: #d49f00;
  --paper: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #ece9e1;
  --line: #d8d7d1;
  --muted: #687785;
  --success: #18794e;
  --danger: #b42318;
  --shadow-sm: 0 12px 32px rgba(11, 31, 51, 0.08);
  --shadow-lg: 0 28px 80px rgba(11, 31, 51, 0.2);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shell: min(1180px, calc(100% - 40px));
  --font-body: "Manrope", Arial, sans-serif;
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 40;
  --z-dialog: 100;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  touch-action: manipulation;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.utility-bar {
  background: #071523;
  color: #cbd4dc;
  font-size: 12px;
  letter-spacing: 0.035em;
}

.utility-bar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-bar__contacts {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-bar a {
  transition: color 180ms ease;
}

.utility-bar a:hover {
  color: var(--surface);
}

.utility-phone {
  color: var(--surface);
  font-weight: 800;
}

.site-header {
  position: sticky;
  z-index: var(--z-header);
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(11, 31, 51, 0.08);
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.08);
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  min-width: 176px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  fill: var(--ink);
}

.brand__accent {
  fill: var(--accent);
}

.brand__text {
  display: grid;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: -0.05em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  margin-inline: auto;
}

.main-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  display: block;
  margin: 3px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #111b24;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  border-color: #ffdb44;
  background: #ffdb44;
  box-shadow: 0 10px 24px rgba(243, 198, 34, 0.2);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--compact {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--surface);
}

.button--ghost:hover {
  border-color: var(--surface);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.button--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.button--dark:hover {
  border-color: var(--navy-2);
  background: var(--navy-2);
}

.button--light {
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}

.button--light:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  overflow: hidden;
  background: var(--navy);
  color: var(--surface);
}

.hero__media,
.hero__scrim {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("https://www.sdt-group.ru/images/BuildingDamages/ceiling_damage.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__scrim {
  background:
    linear-gradient(90deg, rgba(5, 20, 33, 0.97) 0%, rgba(5, 20, 33, 0.91) 48%, rgba(5, 20, 33, 0.44) 76%, rgba(5, 20, 33, 0.6) 100%),
    linear-gradient(0deg, rgba(5, 20, 33, 0.36), transparent 35%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 64px;
  padding-block: 96px 84px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.process h2,
.trust h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(42px, 5.7vw, 82px);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hero__lead {
  max-width: 690px;
  margin: 27px 0 0;
  color: #d6e0e8;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 36px 0 0;
  padding: 0;
  color: #d6e0e8;
  font-size: 13px;
  list-style: none;
}

.hero__proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__proof svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  background: rgba(9, 35, 57, 0.72);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(15px);
}

.hero-card__index {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.hero-card h2 {
  margin: 12px 0 24px;
  font-size: 24px;
  line-height: 1.25;
}

.hero-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #dce5eb;
  font-size: 13px;
}

.hero-card li span {
  color: #7e9aaf;
  font-variant-numeric: tabular-nums;
}

.metrics {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 34px;
  border-left: 1px solid var(--line);
}

.metric:last-child {
  border-right: 1px solid var(--line);
}

.metric strong {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 47px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding-block: clamp(82px, 9vw, 132px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 54px;
}

.section-heading--compact {
  margin-bottom: 38px;
}

.section-heading h2,
.process h2,
.trust h2,
.contact h2 {
  font-size: clamp(36px, 4.7vw, 64px);
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.service-card {
  grid-column: span 4;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 0 rgba(11, 31, 51, 0);
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  border-color: #b8bdc0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.service-card--featured {
  grid-column: span 8;
  background: var(--surface-2);
}

.service-card--dark {
  grid-column: span 8;
  min-height: 300px;
  background: var(--ink);
  color: var(--surface);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-card__number {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.service-card svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card--dark svg {
  stroke: var(--accent);
}

.service-card h3 {
  max-width: 520px;
  margin: 46px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.service-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-card--dark p {
  color: #b8c6d1;
}

.service-card details {
  margin-top: auto;
  padding-top: 24px;
}

.service-card summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-card summary span {
  font-size: 23px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.service-card details[open] summary span {
  transform: rotate(45deg);
}

.service-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  margin: 7px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 12px;
  list-style: none;
}

.service-card li::before {
  content: "—";
  margin-right: 6px;
  color: var(--accent-strong);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.text-link span {
  transition: transform 180ms var(--ease);
}

.text-link:hover span {
  transform: translateX(4px);
}

.service-card--dark .text-link {
  margin-top: auto;
  color: var(--accent);
}

.process {
  background: var(--navy);
  color: var(--surface);
}

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(60px, 10vw, 150px);
}

.process__intro {
  align-self: start;
  position: sticky;
  top: 130px;
}

.process__intro > p:not(.eyebrow) {
  margin: 28px 0 32px;
  color: #bac9d5;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 190px;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  padding: 35px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list > li > span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
}

.process-list h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.process-list p {
  max-width: 520px;
  margin: 0;
  color: #aebfcb;
  font-size: 14px;
}

.projects {
  background: var(--surface);
}

.project-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  min-height: 44px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.chip:hover,
.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.project-card--wide {
  grid-column: span 2;
}

.project-card.is-hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 500ms var(--ease), filter 300ms ease;
}

.project-card:hover img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.025);
}

.project-card__body {
  flex: 1;
  padding: 24px 26px 28px;
}

.project-card__body span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card__body h3 {
  margin: 9px 0 7px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.project-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trust {
  background: var(--surface-2);
  overflow: hidden;
}

.trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(55px, 8vw, 120px);
}

.trust__content > p:not(.eyebrow) {
  margin: 28px 0;
  color: var(--muted);
}

.trust__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.document-stack {
  display: grid;
  gap: 10px;
  perspective: 1000px;
}

.document-stack article {
  min-height: 100px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(11, 31, 51, 0.1);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.document-stack article:nth-child(2) {
  transform: translateX(16px);
}

.document-stack article:nth-child(3) {
  transform: translateX(32px);
}

.document-stack article:nth-child(4) {
  transform: translateX(48px);
}

.document-stack article > span {
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: 12px;
}

.document-stack div {
  display: grid;
}

.document-stack strong {
  font-size: 15px;
}

.document-stack small {
  margin-top: 5px;
  color: var(--muted);
}

.partners {
  padding-block: 78px;
  background: var(--surface);
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.partner-row span {
  min-height: 126px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #68737c;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 20px);
  letter-spacing: -0.04em;
}

.insights {
  background: var(--paper);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.insight-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 200ms var(--ease), border-color 200ms ease;
}

.insight-card:hover {
  border-color: #aeb8be;
  transform: translateY(-3px);
}

.insight-card--lead {
  grid-row: span 2;
  min-height: 516px;
  justify-content: flex-end;
  background:
    linear-gradient(0deg, rgba(7, 25, 41, 0.94) 0%, rgba(7, 25, 41, 0.2) 75%),
    url("https://www.sdt-group.ru/images/News/main_image/22.jpg") center / cover,
    var(--navy);
  color: var(--surface);
}

.insight-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insight-card--lead .insight-card__meta {
  color: var(--accent);
}

.insight-card h3 {
  max-width: 600px;
  margin: 26px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.insight-card p {
  margin: 0 0 16px;
  color: #c0ccd5;
}

.insight-card .text-link {
  margin-top: auto;
}

.insight-card--lead .text-link {
  color: var(--accent);
}

.contact {
  padding-block: clamp(84px, 10vw, 140px);
  background: var(--navy);
  color: var(--surface);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.72fr);
  gap: clamp(60px, 10vw, 150px);
}

.contact__content > p:not(.eyebrow) {
  max-width: 630px;
  margin: 28px 0 40px;
  color: #b8c8d3;
}

.contact dl {
  margin: 0;
}

.contact dl > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact dl > div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact dt {
  color: #7890a3;
  font-size: 12px;
}

.contact dd {
  margin: 0;
  font-size: 14px;
}

.contact dd a:hover {
  color: var(--accent);
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
}

.contact-form__head {
  display: grid;
  margin-bottom: 28px;
}

.contact-form__head span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form__head strong {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #ccd1d4;
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(26, 90, 150, 0.14);
}

.contact-form [aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.11);
}

.contact-form .button {
  width: 100%;
  margin-top: 5px;
}

.form-note,
.form-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.form-status:not(:empty) {
  min-height: 24px;
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  padding-block: 62px 24px;
  background: #071523;
  color: #c5d0d8;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 0.8fr;
  gap: 80px;
}

.brand--footer {
  color: var(--surface);
}

.brand--footer .brand__mark {
  fill: var(--surface);
}

.brand--footer .brand__text small {
  color: #8aa0b1;
}

.site-footer__grid > div > p {
  max-width: 390px;
  margin: 20px 0 0;
  color: #7f94a4;
  font-size: 13px;
}

.site-footer nav,
.site-footer__grid > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
}

.site-footer strong {
  margin-bottom: 8px;
  color: var(--surface);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #73899a;
  font-size: 11px;
}

.quote-dialog {
  width: min(560px, calc(100% - 28px));
  padding: 40px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.quote-dialog::backdrop {
  background: rgba(5, 20, 33, 0.75);
  backdrop-filter: blur(5px);
}

.quote-dialog h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.quote-dialog > p:not(.eyebrow) {
  margin: 22px 0 26px;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.dialog-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quote-dialog small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal--delay {
  transition-delay: 110ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .site-header__inner {
    gap: 22px;
  }

  .hero__inner {
    gap: 35px;
  }

  .service-card {
    grid-column: span 6;
  }

  .service-card--featured,
  .service-card--dark {
    grid-column: span 6;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card--wide {
    grid-column: span 1;
  }

  .document-stack article:nth-child(n) {
    transform: none;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 32px, 760px);
  }

  .utility-bar__inner > span,
  .utility-bar__contacts > span,
  .utility-bar__contacts > a:not(.utility-phone) {
    display: none;
  }

  .utility-bar__inner,
  .utility-bar__contacts {
    justify-content: flex-end;
  }

  .site-header__inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 106px;
    right: 0;
    left: 0;
    max-height: calc(100dvh - 106px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 18px 24px 32px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 24px 40px rgba(11, 31, 51, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms var(--ease);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    min-height: 54px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    align-items: center;
    padding-block: 90px 60px;
  }

  .hero-card {
    max-width: 520px;
  }

  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .metric:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .process__grid,
  .trust__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process__intro {
    position: static;
  }

  .partner-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1.2fr 0.7fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 28px);
  }

  html {
    scroll-padding-top: 78px;
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__text strong {
    font-size: 22px;
  }

  .brand__text small {
    display: none;
  }

  .main-nav {
    top: 106px;
  }

  .hero__scrim {
    background: linear-gradient(90deg, rgba(5, 20, 33, 0.97), rgba(5, 20, 33, 0.78));
  }

  .hero__inner {
    padding-block: 76px 46px;
  }

  .hero h1 {
    font-size: clamp(33px, 9.4vw, 44px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions,
  .dialog-actions {
    display: grid;
  }

  .hero__actions .button,
  .dialog-actions .button {
    width: 100%;
  }

  .hero__proof {
    display: grid;
  }

  .hero-card {
    padding: 22px;
  }

  .metrics__grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric {
    min-height: 120px;
    padding: 20px 17px;
  }

  .metric strong {
    font-size: 29px;
  }

  .metric span {
    font-size: 11px;
  }

  .section {
    padding-block: 76px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .process h2,
  .trust h2,
  .contact h2 {
    font-size: clamp(33px, 10vw, 44px);
  }

  .service-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card--featured,
  .service-card--dark {
    grid-column: auto;
    min-height: 330px;
    padding: 24px;
  }

  .service-card h3 {
    margin-top: 36px;
  }

  .service-card ul {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .project-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--wide {
    grid-column: auto;
    min-height: 450px;
  }

  .project-card img {
    height: 280px;
  }

  .document-stack article {
    grid-template-columns: 36px 1fr;
    padding: 18px;
  }

  .partner-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-row span {
    min-height: 95px;
  }

  .insight-card,
  .insight-card--lead {
    min-height: 300px;
  }

  .contact dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .quote-dialog {
    padding: 48px 22px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .button,
  .chip,
  .service-card,
  .project-card,
  .contact-form {
    border: 1px solid CanvasText;
  }
}
