:root {
  --navy-950: #071522;
  --navy-900: #0b1f33;
  --navy-800: #102c47;
  --navy-700: #183d5f;
  --graphite-900: #19242e;
  --graphite-700: #46535f;
  --graphite-500: #6d7780;
  --gray-100: #f1f4f6;
  --gray-200: #e1e7eb;
  --white: #ffffff;
  --accent: #f28b1a;
  --accent-dark: #d96f07;
  --accent-soft: #fff0df;
  --danger: #b64032;
  --success: #257453;
  --container: 1200px;
  --radius-sm: 4px;
  --radius: 10px;
  --shadow: 0 18px 45px rgba(6, 24, 40, 0.09);
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--graphite-900);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(7, 21, 34, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 7px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.13);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.brand:hover,
.brand:focus-visible {
  border-color: rgba(242, 139, 26, 0.75);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.17);
}

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

.brand-logo {
  display: block;
  width: 128px;
  height: 48px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(15px, 1.6vw, 25px);
}

.primary-nav a {
  position: relative;
  padding-block: 29px;
  color: #d9e2e9;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 18px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-phone span {
  color: #8fa2b2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header-phone strong {
  font-size: 12px;
  line-height: 1.35;
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(242, 139, 26, 0.35);
  outline-offset: 3px;
}

.button-accent {
  color: #1c1b18;
  background: var(--accent);
  border-color: var(--accent);
}

.button-accent:hover {
  background: #ff9c30;
  border-color: #ff9c30;
}

.button-compact {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 13px;
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.35);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  color: var(--white);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 22%, rgba(40, 92, 127, 0.33), transparent 28%),
    linear-gradient(108deg, var(--navy-950) 0%, var(--navy-900) 55%, #102c43 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.07;
  background-image:
    linear-gradient(30deg, transparent 12%, #fff 12.5%, transparent 13%),
    linear-gradient(150deg, transparent 12%, #fff 12.5%, transparent 13%);
  background-size: 52px 90px;
}

.hero-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to left, #000, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: 680px;
  padding-block: 80px 95px;
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.8fr);
  gap: clamp(55px, 7vw, 100px);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 33px;
  height: 2px;
  margin-right: 12px;
  background: var(--accent);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 780;
  line-height: 1.06;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  hyphens: manual;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 20px;
  color: #cfdae3;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-location {
  display: flex;
  align-items: center;
  margin: 0;
  color: #93a9ba;
  font-size: 14px;
  font-weight: 600;
}

.hero-location svg {
  width: 18px;
  margin-right: 8px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
  gap: 12px;
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 21, 34, 0.56);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
}

.hero-panel::before {
  position: absolute;
  z-index: -1;
  top: -12px;
  right: -12px;
  width: 70px;
  height: 70px;
  content: "";
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
}

.hero-panel-top,
.hero-panel-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  color: #a8b8c5;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-panel-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-panel-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-panel-bottom strong {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.status-dot {
  position: relative;
  padding-left: 14px;
}

.status-dot::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.blueprint {
  padding: 38px 30px 25px;
}

.blueprint-building {
  position: relative;
  height: 210px;
  border-bottom: 2px solid rgba(242, 139, 26, 0.75);
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

.beam,
.module {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.beam {
  bottom: 0;
  width: 2px;
  height: 175px;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
}

.beam-1 { left: 8%; }
.beam-2 { left: 36%; }
.beam-3 { right: 36%; }
.beam-4 { right: 8%; }

.module {
  right: 8%;
  left: 8%;
  height: 48px;
}

.module::after {
  position: absolute;
  inset: 7px 12px;
  content: "";
  opacity: 0.55;
  background: repeating-linear-gradient(90deg, transparent 0 16px, rgba(242, 139, 26, 0.38) 16px 18px);
}

.module-1 { bottom: 18px; }
.module-2 { bottom: 78px; }
.module-3 {
  right: 22%;
  bottom: 138px;
  left: 22%;
}

.blueprint p {
  margin: 25px 0 0;
  color: #c1ced8;
  font-size: 13px;
  line-height: 1.55;
}

.hero-stripe {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 15px, #252d34 15px 30px);
}

.section {
  padding-block: 105px;
}

.section-kicker {
  margin-bottom: 14px;
}

.section h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 770;
  line-height: 1.14;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.section-intro h2 {
  max-width: 500px;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(50px, 9vw, 130px);
}

.about-copy {
  padding-top: 7px;
}

.about-copy p {
  color: var(--graphite-700);
}

.about-copy .about-lead {
  margin: 0 0 22px;
  color: var(--graphite-900);
  font-size: 20px;
  font-weight: 560;
  line-height: 1.6;
}

.audience-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  gap: 9px;
}

.audience-row span {
  padding: 8px 13px;
  color: var(--navy-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

.services {
  background-color: #edf1f4;
  background-image:
    linear-gradient(rgba(11, 31, 51, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 51, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 45px;
}

.section-heading > p {
  max-width: 400px;
  margin: 0 0 7px;
  color: var(--graphite-700);
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 455px;
  padding: 34px;
  overflow: hidden;
  flex-direction: column;
  grid-column: span 2;
  background: #f7f9fa;
  border: 1px solid #dde4e9;
  box-shadow: 0 10px 30px rgba(7, 28, 44, 0.05);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--accent) 0 72px, var(--navy-700) 72px 100%);
}

.service-card::after {
  position: absolute;
  right: -46px;
  bottom: -58px;
  width: 190px;
  height: 190px;
  content: "";
  opacity: 0.42;
  border: 1px solid rgba(24, 61, 95, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(24, 61, 95, 0.025),
    0 0 0 48px rgba(24, 61, 95, 0.018);
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card-featured {
  color: var(--white);
  background: var(--navy-900);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 22px rgba(7, 21, 34, 0.1);
}

.service-card-featured h3,
.service-card-featured p {
  color: inherit;
}

.service-card-featured::before {
  background: linear-gradient(90deg, var(--accent) 0 96px, #355872 96px 100%);
}

.service-card-featured::after {
  opacity: 0.7;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 24px rgba(255, 255, 255, 0.025),
    0 0 0 48px rgba(255, 255, 255, 0.018);
}

.service-card-wide {
  min-height: 455px;
  grid-column: span 3;
}

.service-card:nth-child(4) {
  min-height: 455px;
  grid-column: span 3;
}

.service-card:nth-child(2) {
  background: #f4f8fa;
  border-color: #d7e1e7;
}

.service-card:nth-child(2)::before {
  background: var(--navy-700);
}

.service-card:nth-child(3) {
  background: #f7f5f0;
  border-color: #e3ded4;
}

.service-card:nth-child(3)::before {
  background: #56616a;
}

.service-card:nth-child(4) {
  background: #f2f4f5;
  border-color: #d9dfe3;
}

.service-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--accent) 0 82px, var(--navy-700) 82px 100%);
}

.service-card:nth-child(5) {
  color: var(--white);
  background: #172a3a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 22px rgba(7, 21, 34, 0.1);
}

.service-card:nth-child(5)::before {
  background: linear-gradient(90deg, var(--accent) 0 96px, #607485 96px 100%);
}

.service-card:nth-child(5)::after {
  opacity: 0.62;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 24px rgba(255, 255, 255, 0.025),
    0 0 0 48px rgba(255, 255, 255, 0.018);
}

.service-number {
  position: absolute;
  top: 27px;
  right: 29px;
  color: #aeb9c1;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.service-card-featured .service-number {
  color: #f3a34c;
}

.service-card:nth-child(5) .service-number {
  color: #f3a34c;
}

.service-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(242, 139, 26, 0.16);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.service-card-featured .service-icon {
  background: rgba(242, 139, 26, 0.12);
  border-color: rgba(242, 139, 26, 0.2);
}

.service-card:nth-child(2) .service-icon {
  color: var(--navy-700);
  background: #e8eff4;
  border-color: #d2dee7;
}

.service-card:nth-child(3) .service-icon {
  color: #9a642e;
  background: #eee8dd;
  border-color: #dfd4c3;
}

.service-card:nth-child(4) .service-icon {
  color: #44535f;
  background: #e5eaed;
  border-color: #d4dce1;
}

.service-card:nth-child(5) .service-icon {
  color: var(--accent);
  background: rgba(242, 139, 26, 0.11);
  border-color: rgba(242, 139, 26, 0.22);
}

.service-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.9;
  transition: transform 220ms ease;
}

.service-card h3 {
  margin: 28px 0 13px;
  color: var(--navy-900);
  font-size: 22px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--graphite-700);
  font-size: 14px;
  line-height: 1.65;
}

.service-card.service-card-featured h3 {
  color: var(--white);
}

.service-card.service-card-featured p {
  color: #c9d4dc;
}

.service-card:nth-child(5) h3 {
  color: var(--white);
}

.service-card:nth-child(5) p {
  color: #cbd6de;
}

.service-examples {
  display: grid;
  margin: auto 0 0;
  padding: 24px 0 0;
  color: var(--graphite-700);
  font-size: 13px;
  line-height: 1.45;
  list-style: none;
  gap: 9px;
}

.service-examples li {
  display: grid;
  align-items: start;
  grid-template-columns: 8px 1fr;
  gap: 10px;
}

.service-examples li::before {
  width: 5px;
  height: 5px;
  margin-top: 7px;
  content: "";
  background: var(--accent);
}

.service-card-featured .service-examples {
  color: #c9d4dc;
}

.service-card:nth-child(2) .service-examples li::before {
  background: var(--navy-700);
}

.service-card:nth-child(3) .service-examples li::before {
  background: #8b7358;
}

.service-card:nth-child(4) .service-examples li::before {
  background: #5b6973;
}

.service-card:nth-child(5) .service-examples {
  color: #cbd6de;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    border-color: rgba(242, 139, 26, 0.72);
    box-shadow: 0 20px 48px rgba(7, 28, 44, 0.12);
    transform: translateY(-6px);
  }

  .service-card.service-card-featured:hover {
    background: #102a42;
    border-color: rgba(242, 139, 26, 0.58);
    box-shadow: 0 14px 30px rgba(7, 21, 34, 0.16);
  }

  .service-card:nth-child(5):hover {
    background: #203747;
    border-color: rgba(242, 139, 26, 0.58);
    box-shadow: 0 14px 30px rgba(7, 21, 34, 0.16);
  }

  .service-card:hover .service-icon {
    color: var(--white);
    background: var(--accent);
    transform: translateY(-2px);
  }

  .service-card:hover .service-icon svg {
    transform: scale(1.06);
  }
}

.advantages {
  padding-block: 90px;
  background: var(--white);
}

.advantages-shell {
  display: grid;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  grid-template-columns: 0.85fr 1.15fr;
}

.advantages-title {
  position: relative;
  padding: 65px 58px;
  overflow: hidden;
  background: var(--navy-800);
}

.advantages-title::after {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  content: "";
  border: 38px solid rgba(255, 255, 255, 0.035);
  transform: rotate(45deg);
}

.section-kicker-light {
  color: #f9a74f;
}

.advantages-title h2 {
  color: var(--white);
}

.advantages-title > p:last-child {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  color: #b6c5d0;
}

.advantage-list {
  display: grid;
  padding: 34px 45px;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
}

.advantage-item {
  display: grid;
  align-items: center;
  min-height: 90px;
  grid-template-columns: 40px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 15px;
}

.advantage-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.advantage-item span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.advantage-item p {
  margin: 0;
  color: #dbe3e9;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.45;
}

.process {
  background: var(--gray-100);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  counter-reset: none;
  list-style: none;
  grid-template-columns: repeat(4, 1fr);
}

.process-list li {
  position: relative;
  min-height: 260px;
  padding: 30px 28px 28px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::after {
  position: absolute;
  z-index: 2;
  top: 53px;
  right: -8px;
  width: 15px;
  height: 15px;
  content: "";
  background: var(--accent);
  transform: rotate(45deg);
}

.process-list li:last-child::after {
  display: none;
}

.process-number {
  display: inline-flex;
  align-items: center;
  height: 42px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.process-number::after {
  width: 30px;
  height: 1px;
  margin-left: 12px;
  content: "";
  background: var(--gray-200);
}

.process-list h3 {
  margin: 38px 0 14px;
  color: var(--navy-900);
  font-size: 19px;
}

.process-list p {
  margin: 0;
  color: var(--graphite-700);
  font-size: 14px;
}

.details {
  background: var(--white);
}

.details-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(50px, 8vw, 110px);
}

.details-intro {
  position: sticky;
  top: 115px;
}

.details-intro > p:not(.section-kicker) {
  margin: 24px 0 28px;
  color: var(--graphite-700);
}

.button-secondary {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.button-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.details-intro small {
  display: block;
  margin-top: 10px;
  color: var(--graphite-500);
  font-size: 12px;
}

.details-card {
  margin: 0;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.details-card > div {
  display: grid;
  min-height: 64px;
  padding: 15px 24px;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--gray-200);
  gap: 25px;
}

.details-card > div:last-child {
  border-bottom: 0;
}

.details-card dt,
.details-card dd {
  margin: 0;
}

.details-card dt {
  color: var(--graphite-500);
  font-size: 12px;
  font-weight: 700;
}

.details-card dd {
  color: var(--graphite-900);
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.details-card .details-card-heading {
  min-height: 100px;
  color: var(--white);
  background: var(--navy-900);
}

.details-card-heading dt {
  color: #95a8b8;
}

.details-card-heading dd {
  color: var(--white);
  font-size: 20px;
}

.contacts {
  padding-block: 0;
  color: var(--white);
  background: var(--navy-950);
}

.contact-shell {
  display: block;
}

.contact-info {
  padding: 90px 0;
}

.contact-info h2 {
  max-width: 680px;
  color: var(--white);
}

.contact-info > p:not(.section-kicker) {
  max-width: 760px;
  margin: 24px 0 35px;
  color: #aebecb;
}

.contact-list {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-list > div {
  display: flex;
  min-height: 102px;
  padding: 17px 20px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-list span {
  margin-bottom: 6px;
  color: #71889a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list strong,
.contact-list a {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-list small {
  margin-top: 4px;
  color: #9eafbd;
  font-size: 11px;
}

.contact-list .contact-phone-secondary {
  margin-top: 4px;
  color: #b8c6d0;
  font-size: 12px;
}

.contact-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 10px;
}

.button-light {
  color: var(--navy-900);
  background: var(--white);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.messenger-link {
  margin-left: 8px;
  color: #dbe3e9;
  font-size: 13px;
  font-weight: 700;
}

.messenger-link span {
  color: var(--accent);
}

.contact-form {
  align-self: stretch;
  padding: 75px 65px;
  color: var(--graphite-900);
  background: var(--white);
}

.form-heading {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.form-heading span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-heading strong {
  margin-top: 5px;
  color: var(--navy-900);
  font-size: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label:not(.consent-check) {
  display: block;
  margin-bottom: 18px;
}

.contact-form label > span:first-child {
  display: block;
  margin-bottom: 7px;
  color: var(--graphite-700);
  font-size: 12px;
  font-weight: 700;
}

.contact-form b {
  color: var(--accent-dark);
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--graphite-900);
  background: #f8fafb;
  border: 1px solid #d7dfe4;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:not([type="checkbox"]) {
  height: 48px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(24, 61, 95, 0.08);
}

.consent-check {
  display: grid;
  align-items: start;
  margin: 2px 0 19px;
  grid-template-columns: 17px 1fr;
  gap: 10px;
}

.consent-check input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--accent-dark);
}

.consent-check span {
  color: var(--graphite-500);
  font-size: 11px;
  line-height: 1.5;
}

.consent-check a {
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.button-full {
  width: 100%;
}

.form-note {
  margin: 12px 0 0;
  color: var(--graphite-500);
  font-size: 10px;
  line-height: 1.45;
}

.form-status {
  min-height: 24px;
  margin: 9px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  color: var(--success);
}

.site-footer {
  padding-block: 50px 20px;
  color: #b6c5d0;
  background: #050f18;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-main {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 0.8fr 1.3fr;
  gap: 40px;
}

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

.footer-company,
.footer-links {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 19px;
  color: #687b8a;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 11px;
}

.legal-page {
  color: var(--graphite-900);
  background: var(--gray-100);
}

.legal-header {
  color: var(--white);
  background: var(--navy-900);
}

.legal-header .header-inner {
  justify-content: space-between;
}

.legal-back {
  color: #dbe3e9;
  font-size: 13px;
  font-weight: 700;
}

.legal-main {
  padding-block: 70px 100px;
}

.legal-document {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(30px, 6vw, 70px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-document h1 {
  margin: 0 0 15px;
  color: var(--navy-900);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
}

.legal-document h2 {
  margin: 38px 0 12px;
  color: var(--navy-900);
  font-size: 21px;
}

.legal-document p,
.legal-document li {
  color: var(--graphite-700);
}

.legal-meta {
  margin-bottom: 35px;
  color: var(--graphite-500);
  font-size: 13px;
}

.legal-placeholder {
  padding: 18px;
  color: #6d4b1d;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}

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

  .hero-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
    gap: 45px;
  }

  .contact-info {
    padding-right: 0;
  }

  .contact-form {
    padding-inline: 45px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .primary-nav {
    position: absolute;
    z-index: 120;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    display: flex;
    height: calc(100vh - 78px);
    padding: 28px 24px 60px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--navy-950);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 18px 4px;
    font-size: 19px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

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

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

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 820px;
  }

  .hero-panel {
    display: none;
  }

  .hero-grid {
    width: 70%;
  }

  .about-grid,
  .details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .details-intro {
    position: static;
  }

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

  .service-card,
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    min-height: 480px;
    grid-column: span 1;
  }

  .service-card-wide {
    min-height: 430px;
    grid-column: span 2;
  }

  .advantages-shell {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(-n+2) {
    border-bottom: 1px solid var(--gray-200);
  }

  .process-list li:nth-child(2)::after {
    display: none;
  }

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

  .contact-info {
    padding: 80px 0;
  }

  .contact-form {
    padding: 60px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 112px;
    height: 42px;
  }

  .header-actions {
    display: none;
  }

  .primary-nav {
    height: calc(100vh - 68px);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-block: 68px 84px;
  }

  .hero h1 {
    font-size: clamp(29px, 7.8vw, 36px);
  }

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

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

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-block: 75px;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 34px;
    flex-direction: column;
    gap: 18px;
  }

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

  .service-card,
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card-wide {
    min-height: 0;
    padding: 28px 26px 30px;
    grid-column: span 1;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon svg {
    width: 42px;
    height: 42px;
  }

  .advantages {
    padding-block: 0;
  }

  .advantages .container {
    width: 100%;
  }

  .advantages-title {
    padding: 55px 24px;
  }

  .advantage-list {
    padding: 15px 24px 30px;
    grid-template-columns: 1fr;
  }

  .advantage-item {
    min-height: 78px;
  }

  .advantage-item:nth-child(5) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .process-list li::after,
  .process-list li:nth-child(2)::after {
    display: none;
  }

  .process-list h3 {
    margin-top: 20px;
  }

  .details-card > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .details-card .details-card-heading {
    min-height: 88px;
  }

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

  .contact-info {
    padding-block: 70px;
  }

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

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

  .messenger-link {
    margin: 8px 0 0;
    text-align: center;
  }

  .contact-form {
    margin-inline: -16px;
    padding: 50px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .legal-header .header-inner {
    gap: 12px;
  }

  .legal-header .legal-back {
    max-width: 112px;
    font-size: 11px;
    line-height: 1.3;
    text-align: right;
  }

  .legal-main {
    padding-block: 30px 70px;
  }
}

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