@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap");

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f5f3;
  --ink: #14221e;
  --muted: #64746f;
  --line: #dbe4e0;
  --green: #12873d;
  --blue: #4176ab;
  --red: #c8362f;
  --dark: #14221e;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(20, 34, 30, 0.12);
}

/* Локальные декоративные сетки, повторяющие рисунок со страницы САСТ. */
.sast-grid-decoration {
  pointer-events: none;
}

.sast-grid-decoration::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300' fill='none'%3E%3Cg stroke='%2312873d' stroke-width='.5' opacity='.18'%3E%3Cpath d='M0 20h400M0 60h400M0 100h400M0 140h400M0 180h400M0 220h400M0 260h400M0 300h400M10 0v300M54 0v300M98 0v300M142 0v300M186 0v300M230 0v300M274 0v300M318 0v300M362 0v300'/%3E%3C/g%3E%3Cg stroke='%2312873d' stroke-width='1' opacity='.32'%3E%3Cpath d='M95 100h10m-5-5v10M215 180h10m-5-5v10M295 80h10m-5-5v10M155 240h10m-5-5v10'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.sast-grid-decoration--between {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 0;
}

.sast-grid-decoration--between::before {
  position: absolute;
  top: 18px;
  right: 0;
  width: min(560px, 41vw);
  height: min(340px, 26vw);
  clip-path: polygon(0 12%, 38% 0, 100% 7%, 100% 94%, 54% 100%, 9% 78%);
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 66% 50%, #000 56%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 78% at 66% 50%, #000 56%, transparent 100%);
}

.home-contact__copy {
  position: relative;
}

.sast-grid-decoration--contacts {
  position: relative;
  left: calc(clamp(20px, 4vw, 64px) * -1);
  width: min(540px, 47vw);
  height: 340px;
  margin-top: 38px;
}

.sast-grid-decoration--contacts::before {
  clip-path: polygon(0 0, 66% 7%, 100% 36%, 84% 76%, 44% 100%, 0 84%);
  -webkit-mask-image: radial-gradient(ellipse 85% 84% at 36% 50%, #000 54%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 84% at 36% 50%, #000 54%, transparent 100%);
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer__divider,
.site-footer__content {
  position: relative;
  z-index: 1;
}

.sast-grid-decoration--footer {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(580px, 42vw);
  height: min(350px, 27vw);
}

.sast-grid-decoration--footer::before {
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 20% 91%, 0 52%);
  -webkit-mask-image: radial-gradient(ellipse 82% 82% at 74% 56%, #000 54%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 82% at 74% 56%, #000 54%, transparent 100%);
}

.web-systems-section--muted,
.web-systems-result {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.web-systems-section--muted > :not(.sast-grid-decoration),
.web-systems-result > :not(.sast-grid-decoration) {
  position: relative;
  z-index: 1;
}

.sast-grid-decoration--web-systems-transform,
.sast-grid-decoration--web-systems-result {
  position: absolute;
  right: 0;
  z-index: 0;
  width: min(460px, 37vw);
  height: 270px;
  opacity: 1;
  filter: saturate(1.25) contrast(1.12);
  -webkit-mask-image: radial-gradient(ellipse 92% 92% at 100% 50%, #000 44%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 92% at 100% 50%, #000 44%, transparent 100%);
}

.sast-grid-decoration--web-systems-transform {
  top: 56px;
}

.sast-grid-decoration--web-systems-result {
  right: -10px;
  bottom: -38px;
}

@media (max-width: 760px) {
  .sast-grid-decoration {
    display: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Mulish", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-lightbox-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Mulish", Arial, Helvetica, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto 1fr;
  justify-content: stretch;
  gap: 0;
  align-items: center;
  min-height: 92px;
  padding: 14px clamp(20px, 4vw, 64px) 14px calc(clamp(20px, 4vw, 64px) - 7px);
  background: transparent;
  border-bottom: 0;
  pointer-events: none;
}

.brand,
.nav,
.menu-button {
  grid-row: 1;
  pointer-events: auto;
  background: var(--surface);
  color: #1b322a;
  box-shadow: none;
  z-index: 2;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 22px 0 24px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 999px 0 0 999px;
}

.brand::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: 1px;
  height: 28px;
  background: #dbe4e0;
}

.brand img {
  width: auto;
  height: 28px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 3px;
  height: 64px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 999px 999px 0;
}

.nav a,
.nav-dropdown > button,
.nav-dropdown__trigger {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(14px, 1.1vw, 17px);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav-dropdown > button:hover,
.nav-dropdown:hover > button,
.nav-dropdown:focus-within > button,
.nav-dropdown:hover > .nav-dropdown__trigger,
.nav-dropdown:focus-within > .nav-dropdown__trigger {
  background: var(--surface-2);
  color: #1b322a;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  display: none;
  min-width: 190px;
  padding: 8px;
  background: var(--surface);
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  transform: translateX(-50%);
}

.nav-dropdown--wide .nav-dropdown__menu {
  min-width: 260px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  display: grid;
  gap: 4px;
}

.nav-dropdown--wide:hover .nav-dropdown__menu,
.nav-dropdown--wide:focus-within .nav-dropdown__menu,
.nav-dropdown--wide.is-open .nav-dropdown__menu {
  display: grid;
}

.nav-dropdown__menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 34px rgba(18, 135, 61, 0.24);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section-pad {
  padding: clamp(64px, 8vw, 118px) clamp(20px, 4vw, 64px);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
  overflow: hidden;
}

.hero.section-pad {
  padding-top: clamp(10px, 2vw, 24px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

.hero-lead,
.section-head p,
.split-section p,
.contact p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

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

.hero-copy {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.home-hero {
  min-height: auto;
  grid-template-columns: minmax(390px, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
}

.home-hero.section-pad {
  padding-top: clamp(18px, 2.5vw, 34px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

.home-hero .hero-copy {
  align-self: center;
}

.home-hero > * {
  min-width: 0;
}

.home-hero h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(42px, 3.9vw, 56px);
  line-height: 1.03;
}

.home-hero .hero-lead {
  max-width: 600px;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.48;
}

.home-hero .hero-actions {
  margin: 26px 0 0;
}

.home-hero .solution-description {
  min-height: 144px;
  padding: 18px 20px;
  box-shadow: 0 14px 44px rgba(20, 34, 30, 0.08);
}

.home-hero .solution-description h3 {
  font-size: clamp(21px, 1.9vw, 27px);
}

.home-hero .solution-description span {
  font-size: 15px;
  line-height: 1.4;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
}

.metric-card {
  position: relative;
  display: flex;
  min-height: 138px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 18px;
  background: #ecf4ee;
  border: 1px solid rgba(18, 135, 61, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(20, 34, 30, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  background: #dff1e5;
  border-color: rgba(18, 135, 61, 0.42);
  box-shadow: 0 24px 56px rgba(18, 135, 61, 0.18);
}

.hero-metrics .metric-card:nth-child(2) {
  background: #f7f8fc;
  border-color: rgba(44, 96, 178, 0.14);
}

.hero-metrics .metric-card:nth-child(2):hover {
  background: #e7eefb;
  border-color: rgba(65, 118, 171, 0.45);
  box-shadow: 0 24px 56px rgba(65, 118, 171, 0.18);
}

.hero-metrics .metric-card:nth-child(3) {
  background: #f3f7f5;
  border-color: rgba(20, 34, 30, 0.12);
}

.hero-metrics .metric-card:nth-child(3):hover {
  background: #eef3f1;
  border-color: rgba(20, 34, 30, 0.35);
  box-shadow: 0 24px 56px rgba(20, 34, 30, 0.16);
}

.metric-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(18, 135, 61, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.metric-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 0.95;
}

.hero-metrics .metric-card:nth-child(2) strong {
  color: var(--blue);
}

.hero-metrics .metric-card:nth-child(3) strong {
  color: var(--ink);
}

.metric-card span {
  position: relative;
  z-index: 1;
  max-width: 240px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.22s ease;
}

.metric-card:hover span {
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

.solution-slider {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1596 / 862;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: #eaf1ee;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(20, 34, 30, 0.16);
}

.solution-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.solution-slide .responsive-media {
  display: block;
  width: 100%;
  height: 100%;
}

.solution-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.solution-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #eaf1ee;
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 44px);
  background: rgba(8, 27, 22, 0.92);
}

.image-lightbox.is-visible {
  display: flex;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #eaf1ee;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.image-lightbox__close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 101;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox__close:hover {
  background: #fff;
  color: var(--green);
}

.scroll-top {
  position: fixed;
  right: 70px;
  bottom: 70px;
  z-index: 60;
  display: grid;
  width: 70px;
  height: 70px;
  padding: 0 0 2px;
  place-items: center;
  background: var(--green);
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 10px 32px rgba(27, 50, 42, 0.25);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.35s ease, transform 0.35s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: #fff;
  color: var(--green);
}

.solution-slider__controls {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.solution-slider__controls button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: rgba(8, 27, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.solution-slider__controls button:hover {
  background: var(--green);
}

.solution-slider__dots {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(20, 34, 30, 0.08);
  backdrop-filter: blur(12px);
}

.solution-slider__dots button {
  width: 10px;
  height: 10px;
  background: #cbd8d3;
  border-radius: 999px;
  box-shadow: none;
}

.solution-slider__dots button.is-active {
  width: 28px;
  background: var(--green);
}

.solution-description {
  min-height: 148px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(20, 34, 30, 0.08);
}

@media (min-width: 1025px) {
  .hero-metrics,
  .solution-description {
    margin-top: auto;
  }

  .competencies-page {
    min-height: calc(100vh - 76px);
  }
}

.solution-description p {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-description h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
}

.solution-description span {
  display: block;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.section {
  background: var(--bg);
}

.muted {
  background: var(--surface-2);
}

.section-head {
  max-width: 980px;
  margin-bottom: 34px;
}

.about {
  background: #fff;
  padding-top: clamp(38px, 5.5vw, 76px);
}

.home-directions {
  background: var(--surface-2);
}

.home-directions__head {
  display: block;
  margin-bottom: 34px;
}

.home-directions__head h2 {
  margin-bottom: 26px;
  font-size: clamp(34px, 4vw, 54px);
  white-space: nowrap;
}

.home-directions__head > p:last-child {
  width: min(770px, 100%);
  max-width: 770px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.home-directions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-direction {
  display: flex;
  min-height: 286px;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 26px;
  background: #f7f8fc;
  border: 0;
  border-radius: 32px;
  color: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.home-direction:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 135, 61, 0.38);
  box-shadow: 0 22px 50px rgba(20, 34, 30, 0.11);
}

.home-direction__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green);
}

.home-direction__icon svg {
  width: 100%;
  height: 100%;
}

.home-direction h3 {
  margin-bottom: 12px;
  font-size: clamp(25px, 2.4vw, 34px);
}

.home-direction p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.home-direction strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 0;
  border-top: 0;
  font-size: 15px;
}

.home-directions .home-direction strong {
  padding-top: 16px;
  border-top: 1px solid var(--green);
}

.home-direction strong b {
  color: var(--green);
  font-size: 23px;
  line-height: 1;
  transition: transform 0.22s ease;
}

.home-direction:hover strong b {
  transform: translateX(4px);
}

.home-contact {
  background: #fff;
}

.home-contact .contact-form {
  background: var(--surface-2);
  box-shadow: none;
}

.ip-hero {
  padding-top: clamp(24px, 3.5vw, 48px);
  padding-bottom: clamp(28px, 4vw, 54px);
}

.ip-hero .section-head {
  max-width: 1120px;
}

.ip-section {
  padding-top: 0;
}

.ip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ip-carousel__toolbar {
  display: none;
}

.ip-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ip-card:hover {
  transform: translateY(-4px);
  background: #f7f8fc;
  border-color: rgba(77, 87, 96, 0.32);
  box-shadow: 0 24px 56px rgba(47, 57, 66, 0.14);
}

.ip-card a {
  display: block;
  background: #fff;
  cursor: zoom-in;
}

.ip-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.ip-card div {
  padding: 18px;
}

.ip-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ip-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.b2b-hero {
  padding-top: clamp(24px, 3.5vw, 48px);
  padding-bottom: clamp(32px, 5vw, 68px);
}

.b2b-hero .section-head {
  max-width: 1160px;
}

.b2b-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
}

.b2b-summary div,
.b2b-grid article,
.b2b-timeline div,
.b2b-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(20, 34, 30, 0.08);
}

.b2b-grid article {
  min-width: 0;
}

.b2b-summary div {
  min-height: 150px;
  padding: 22px;
}

.b2b-summary strong {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.1;
}

.b2b-summary span,
.b2b-grid p,
.b2b-timeline p,
.b2b-cta p {
  color: var(--muted);
}

.b2b-section {
  padding-top: 0;
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.b2b-grid article {
  min-height: 270px;
  padding: 24px;
}

.b2b-grid span,
.b2b-timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  width: 46px;
  height: 46px;
  background: #ecf4ee;
  border: 1px solid rgba(18, 135, 61, 0.14);
  border-radius: 999px;
  color: var(--green);
  font-weight: 900;
}

.b2b-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.b2b-timeline div {
  min-height: 220px;
  padding: 24px;
  min-width: 0;
}

.b2b-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 clamp(20px, 4vw, 64px) clamp(64px, 8vw, 118px);
  padding: clamp(24px, 4vw, 44px);
}

.b2b-cta h2 {
  margin-bottom: 10px;
}

.b2b-cta p {
  max-width: 820px;
  margin-bottom: 0;
}

.effect-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding-top: clamp(24px, 3.5vw, 48px);
  padding-bottom: clamp(32px, 5vw, 68px);
}

.effect-hero .section-head {
  max-width: 1120px;
  margin-bottom: 0;
}

.effect-hero--single {
  grid-template-columns: minmax(0, 1fr);
}

.effect-hero--single .section-head {
  max-width: 1260px;
}

.effect-result {
  min-height: 260px;
  padding: 26px;
  background: #ecf4ee;
  border: 1px solid rgba(18, 135, 61, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(20, 34, 30, 0.08);
}

.effect-result strong {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: clamp(58px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.9;
}

.effect-result span {
  color: var(--muted);
  font-weight: 800;
}

.effect-section {
  padding-top: 0;
}

.effect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.effect-grid article,
.effect-formula div,
.effect-steps div,
.effect-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(20, 34, 30, 0.08);
}

.effect-grid article {
  min-height: 270px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.effect-grid article:hover,
.effect-steps div:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 135, 61, 0.24);
  box-shadow: 0 22px 56px rgba(20, 34, 30, 0.11);
}

.effect-grid span,
.effect-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  width: 46px;
  height: 46px;
  background: #ecf4ee;
  border: 1px solid rgba(18, 135, 61, 0.14);
  border-radius: 999px;
  color: var(--green);
  font-weight: 900;
}

.effect-grid p,
.effect-formula p,
.effect-steps p,
.effect-cta p {
  color: var(--muted);
}

.effect-grid h3,
.effect-steps h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.12;
}

.effect-formula {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.effect-formula div {
  min-height: 190px;
  padding: 24px;
}

.effect-formula strong {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 24px;
  line-height: 1.1;
}

.effect-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.effect-steps div {
  min-height: 220px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.effect-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 clamp(20px, 4vw, 64px) clamp(64px, 8vw, 118px);
  padding: clamp(24px, 4vw, 44px);
  background: #ecf4ee;
  border-color: rgba(18, 135, 61, 0.16);
}

.effect-cta h2 {
  margin-bottom: 10px;
}

.effect-cta p {
  max-width: 820px;
  margin-bottom: 0;
}

.service-hero {
  padding-top: clamp(28px, 4vw, 58px);
  padding-bottom: clamp(30px, 5vw, 72px);
  background: #fff;
}

.service-hero .section-head {
  max-width: 1120px;
  margin-bottom: 0;
}

.service-section,
.service-process {
  padding-top: 0;
}

.service-grid,
.service-steps {
  display: grid;
  gap: 16px;
}

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

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

.service-grid article,
.service-steps div {
  min-height: 220px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(20, 34, 30, 0.08);
}

.service-steps div {
  min-height: 200px;
}

.service-grid span,
.service-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  background: #ecf4ee;
  color: var(--green);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.service-grid p,
.service-steps span {
  margin: 0;
  color: var(--muted);
}

.service-steps span {
  display: block;
}

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

.services-page .service-grid article {
  min-height: 360px;
}

.services-page .service-grid h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.08;
}

.services-page .service-grid p + p,
.services-page .service-grid p + ul {
  margin-top: 12px;
}

.services-page .service-grid a {
  color: var(--green);
  font-weight: 800;
}

.services-page .service-grid ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.services-page .service-grid li + li {
  margin-top: 6px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.about-panel,
.about-fact,
.about-columns article {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-panel {
  padding: 26px;
}

.about-panel p {
  color: var(--muted);
  font-size: 18px;
}

.legal-hero.section-pad {
  padding-top: clamp(12px, 2vw, 26px);
  padding-bottom: clamp(18px, 3vw, 34px);
}

.legal-hero .eyebrow {
  display: none;
}

.legal-hero .section-head {
  max-width: 1080px;
}

.legal-hero--center .section-head {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.legal-hero--center h1 {
  margin-right: auto;
  margin-left: auto;
}

.legal-hero h1 {
  max-width: 1040px;
  margin-bottom: 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
}

.legal-hero .section-head p {
  max-width: 900px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
}

.legal-section.section-pad {
  padding-top: 0;
}

.legal-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 0 clamp(24px, 4vw, 48px);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.legal-content .legal-approval {
  width: min(420px, 100%);
  margin: 0 0 36px auto;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.legal-content .legal-approval p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: right;
}

.legal-content h2 {
  margin: 38px 0 12px;
  color: var(--ink);
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.18;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.7;
}

.legal-content p {
  margin: 0 0 10px;
  text-align: justify;
}

.legal-content ul {
  margin: 0 0 20px;
  padding-left: 24px;
}

.legal-content li + li {
  margin-top: 8px;
}

.about-note {
  margin-top: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.about-highlights {
  margin: 230px 0;
  padding: 0;
  border: 0;
}

.about-highlights .section-head {
  margin-bottom: 22px;
}

.about-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-highlights .metric-card {
  min-height: 220px;
  padding: 24px;
}

.about-highlights .metric-card:nth-child(2) {
  background: #f7f8fc;
  border-color: rgba(44, 96, 178, 0.14);
}

.about-highlights .metric-card:nth-child(2):hover {
  background: #e7eefb;
  border-color: rgba(65, 118, 171, 0.45);
  box-shadow: 0 24px 56px rgba(65, 118, 171, 0.18);
}

.about-highlights .metric-card:nth-child(2) strong {
  color: var(--blue);
}

.about-highlights .metric-card:nth-child(3) {
  background: #f3f7f5;
  border-color: rgba(20, 34, 30, 0.12);
}

.about-highlights .metric-card:nth-child(3):hover {
  background: #eef3f1;
  border-color: rgba(20, 34, 30, 0.35);
  box-shadow: 0 24px 56px rgba(20, 34, 30, 0.16);
}

.about-highlights .metric-card:nth-child(3) strong {
  color: var(--ink);
}

.about-highlights .metric-card span {
  max-width: 310px;
}

.about-highlights .metric-card small {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 34, 30, 0.1);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.about-highlights .metric-card small b {
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.22s ease;
}

.about-highlights .metric-card:hover small b {
  transform: translateX(4px);
}

.about-systems {
  margin-top: 0;
}

.section-head.compact {
  max-width: 860px;
  margin-bottom: 18px;
}

.section-head.compact h3 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
}

.about-systems .about-columns {
  margin-bottom: 0;
}

.about-systems .about-columns p {
  margin: 0;
  color: var(--muted);
}

.about-directions {
  margin-top: 22px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-fact {
  padding: 22px;
}

.about-fact span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.about-fact p {
  margin: 0;
  color: var(--muted);
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-columns article {
  padding: 22px;
  min-width: 0;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 88px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.client-logo img {
  flex: 0 0 150px;
  width: 150px;
  height: 58px;
  object-fit: contain;
  object-position: center;
}

.client-logo h3 {
  margin: 0;
  flex: 1 1 auto;
  font-size: clamp(15px, 1.1vw, 20px);
  line-height: 1.14;
  text-align: center;
  white-space: nowrap;
}

.about-columns ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.about-columns li + li {
  margin-top: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(20, 34, 30, 0.06);
}

.product-card img,
.placeholder-visual {
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
  background: var(--surface-2);
}

.product-card img[data-lightbox-trigger] {
  cursor: zoom-in;
}

.product-card img[data-lightbox-trigger]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}

.placeholder-visual {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 36px;
  font-weight: 900;
}

.product-card div:not(.placeholder-visual) {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-card span {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card p {
  color: var(--muted);
}

.product-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.product-card.blue a {
  color: var(--blue);
}

.product-card.red a {
  color: var(--red);
}

.competence-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.competence-list article {
  min-height: 184px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.competence-list article:hover {
  border-color: rgba(18, 135, 61, 0.35);
  box-shadow: 0 18px 44px rgba(20, 34, 30, 0.1);
  transform: translateY(-2px);
}

.competence-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.competence-list p,
.process p,
.product-card p {
  color: var(--muted);
}

.about-page.section-pad,
.products-page.section-pad,
.ip-hero.section-pad,
.services-hero.section-pad,
.industries-section.section-pad {
  padding-top: clamp(24px, 3vw, 42px);
  padding-bottom: clamp(24px, 3vw, 42px);
}

.about-page .section-head,
.products-page .section-head,
.ip-hero .section-head,
.services-hero .section-head,
.industries-section .section-head {
  max-width: 1160px;
  margin-bottom: 18px;
}

.about-page h1,
.products-page h1,
.ip-hero h1,
.services-hero h1,
.industries-section h1 {
  max-width: 1200px;
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.04;
}

.about-page .section-head p,
.products-page .section-head p,
.ip-hero .section-head p,
.services-hero .section-head p,
.industries-section .section-head p {
  max-width: 980px;
  font-size: clamp(16px, 1.35vw, 19px);
}

.competencies-page.section-pad {
  padding-top: clamp(24px, 3vw, 42px);
  padding-bottom: clamp(24px, 3vw, 42px);
}

.competencies-page .section-head {
  max-width: 1160px;
  margin-bottom: 18px;
}

.competencies-page .eyebrow {
  margin-bottom: 8px;
}

.competencies-page h1 {
  margin-bottom: 8px;
  max-width: 1200px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.04;
}

.competencies-page .section-head p {
  max-width: 980px;
  font-size: clamp(16px, 1.35vw, 19px);
}

.competencies-page .competence-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.competencies-page .competence-list article {
  min-height: clamp(148px, 15.8vh, 178px);
  padding: clamp(17px, 1.55vw, 22px);
}

.competencies-page .competence-list h3 {
  margin-bottom: 9px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.14;
}

.competencies-page .competence-list p {
  margin: 0;
  font-size: clamp(14px, 1.06vw, 16px);
  line-height: 1.34;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry-grid article {
  min-height: clamp(148px, 15.8vh, 178px);
  padding: clamp(17px, 1.55vw, 22px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(20, 34, 30, 0.08);
}

.industry-grid h3 {
  margin-bottom: 9px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.14;
}

.industry-grid p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.06vw, 16px);
  line-height: 1.34;
}

.industries-section.section-pad {
  min-height: calc(100vh - 76px);
  padding-top: clamp(24px, 3vw, 42px);
  padding-bottom: clamp(24px, 3vw, 42px);
}

.industries-section .section-head {
  max-width: 1160px;
  margin-bottom: 18px;
}

.industries-section .eyebrow {
  margin-bottom: 8px;
}

.industries-section h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 3.4vw, 46px);
}

.industries-section .section-head p {
  max-width: 980px;
  font-size: clamp(16px, 1.35vw, 19px);
}

.industry-grid span {
  font-weight: 800;
}

main > .section-pad:first-child {
  padding-top: clamp(10px, 1.8vw, 24px);
}

.dark {
  background: var(--dark);
  color: #fff;
}

.dark .eyebrow {
  color: #72d692;
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process div {
  min-height: 230px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process span {
  display: block;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: start;
  background: var(--surface-2);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #33443f;
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #f9fbfa;
}

.contact-form textarea {
  resize: vertical;
}

/* Главная: блок заявки */
.home-page .home-contact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 850px);
}

.home-page .home-contact .contact-form {
  width: 100%;
  max-width: 850px;
  min-height: 0;
  justify-self: end;
  align-content: start;
  gap: 30px;
  padding: 42px;
  border: 0;
  border-radius: 48px;
}

.home-page .home-contact .contact-form__intro {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.home-page .home-contact .contact-form label,
.home-page .home-contact .contact-form input,
.home-page .home-contact .contact-form textarea,
.home-page .home-contact .consent-line {
  font-size: 16px;
}

.home-page .home-contact .contact-form label:not(.consent-line) {
  gap: 20px;
}

.home-page .home-contact .consent-line {
  margin: 12px 0;
}

.home-page .home-contact .contact-form .button {
  font-size: 22px;
  font-weight: 600;
}

.home-page .home-contact .contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 300px);
  padding: 16px 20px;
  background: var(--green);
  border: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.home-page .home-contact .contact-links a:hover,
.home-page .home-contact .contact-links a:focus-visible {
  background: #0d6d31;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.consent-line {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  align-items: flex-start;
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.35;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.consent-line a {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100vw - 32px));
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(20, 34, 30, 0.14);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.cookie-banner p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-banner__actions .button {
  min-height: 60px;
  padding: 14px 32px;
  font-size: 18px;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(20px, 4vw, 64px);
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer img {
  width: 128px;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

/* Главная страница */
.home-page,
.home-page main,
.home-page main > section {
  background: #fff;
}

/* Футер в стиле продуктовых лендингов */
.site-footer {
  padding: 0 clamp(20px, 4vw, 64px) 32px;
  background: #fff;
  color: var(--ink);
}

.site-footer__divider {
  height: 1px;
  margin: clamp(40px, 6vw, 64px) 0;
  background: var(--line);
}

.site-footer__content {
  max-width: 1800px;
  margin: 0 auto;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(40px, 6vw, 80px);
}

.site-footer__brand {
  flex: 0 0 auto;
}

.site-footer__brand img {
  width: auto;
  height: clamp(48px, 4vw, 56px);
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 190px;
  color: rgba(20, 34, 30, 0.8);
  font-size: 22px;
}

.site-footer__column h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

.site-footer__column a,
.site-footer__legal a {
  transition: color 0.2s ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible,
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: var(--green);
}

.site-footer__copyright {
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer__contact-button {
  position: absolute;
  z-index: 2;
  top: calc(clamp(40px, 6vw, 64px) + 71px);
  right: 40px;
  min-height: 90px;
  padding: 0 34px;
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-footer__contact-button:hover,
.site-footer__contact-button:focus-visible {
  background: #0d6d31;
  box-shadow: 0 18px 38px rgba(18, 135, 61, 0.35);
  outline: none;
  transform: translateY(-3px);
}

/* Главная: Hero и header в стиле лендинга САСТ */
.home-page .site-header {
  position: absolute;
  top: 88px;
  left: clamp(32px, 7vw, 88px);
  right: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 0;
  background: transparent;
}

.home-page .site-header.is-sticky {
  position: fixed;
  top: 30px;
  left: 70px;
  animation: none;
}

/* Страница продуктов использует закреплённый вариант хедера главной страницы. */
body.products-page.home-page main {
  padding-top: 94px;
  background: #fff;
}

body.products-page.home-page {
  background: #fff;
}

body.products-page.home-page .products-page.section-pad {
  padding-top: 50px;
}

body.products-page.home-page .products-page h1 {
  font-size: 54px;
}

body.products-page.home-page .products-page .section-head {
  margin-bottom: 36px;
}

body.products-page.home-page .products-page .section-head p {
  font-size: 18px;
}

/* Страница «О нас» использует тот же каркас, что и страница продуктов. */
body.about-page.home-page,
body.about-page.home-page main {
  background: #fff;
}

body.about-page.home-page main {
  padding-top: 94px;
}

body.about-page.home-page .about-page.section-pad {
  padding-top: 50px;
  padding-bottom: 180px;
}

body.document-page.home-page main {
  padding-top: 94px;
}

/* Services page in the visual system of the home page. */
body.services-page.home-page,
body.services-page.home-page main,
body.services-page.home-page .muted {
  background: #fff;
}

body.services-page.home-page main {
  padding-top: 94px;
}

body.services-page.home-page .services-hero,
body.services-page.home-page .service-section,
body.services-page.home-page .service-process {
  padding-top: 0;
  padding-bottom: 0;
}

body.services-page.home-page .services-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 50px;
}

body.services-page.home-page .services-hero .section-head {
  position: relative;
  z-index: 1;
  max-width: 1160px;
}

body.services-page.home-page .services-hero .section-head p {
  width: min(1300px, 100%);
  max-width: 1300px;
  margin-top: 40px;
  font-size: clamp(16px, 1.18vw, 19px);
}

body.services-page.home-page .services-hero__points {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  gap: 40px;
  width: min(1300px, 100%);
  margin-top: 30px;
}

body.services-page.home-page .services-hero__points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

body.services-page.home-page .services-hero__points svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
}

@media (max-width: 1500px) {
  body.services-page.home-page .services-hero__points {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    column-gap: 48px;
    row-gap: 24px;
  }
}

@media (max-width: 1023px) {
  body.services-page.home-page .services-hero__points {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    column-gap: 32px;
    row-gap: 14px;
  }
}

@media (max-width: 640px) {
  body.services-page.home-page .services-hero__points {
    grid-template-columns: max-content;
  }
}

.services-grid-decoration {
  position: absolute;
  z-index: 0;
  top: 22px;
  right: -40px;
  width: min(470px, 38vw);
  height: 290px;
}

.services-grid-decoration::before {
  clip-path: polygon(26% 0, 100% 10%, 91% 88%, 46% 100%, 0 73%, 9% 22%);
  -webkit-mask-image: radial-gradient(ellipse 82% 80% at 74% 49%, #000 53%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 80% at 74% 49%, #000 53%, transparent 100%);
}

body.services-page.home-page .services-hero h1 {
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.015em;
}

@media (min-width: 768px) {
  body.services-page.home-page .services-title-line {
    white-space: nowrap;
  }
}

body.services-page.home-page .service-section,
body.services-page.home-page .service-process {
  margin-top: 160px;
}

body.services-page.home-page .service-section {
  margin-top: 0 !important;
}

/* Уменьшаем разрыв между вступлением и сеткой услуг: 35 px + 35 px = 70 px. */
@media (min-width: 1024px) {
  body.services-page.home-page main > .services-hero {
    padding-bottom: 35px !important;
  }

  body.services-page.home-page main > .service-section {
    padding-top: 35px !important;
  }
}

body.services-page.home-page .service-process .section-head {
  max-width: none;
  margin-bottom: 36px;
}

body.services-page.home-page .service-process .section-head h2 {
  font-size: 54px;
}

body.services-page.home-page .service-process .section-head p {
  width: min(1185px, 100%);
  max-width: 1185px;
  font-size: 19px;
  line-height: 1.55;
}

/* Process timeline mirrors the corporate-infrastructure page. */
body.services-page.home-page .service-process .b2b-timeline {
  gap: clamp(28px, 3.5vw, 58px);
}

body.services-page.home-page .service-process .b2b-timeline > div,
body.services-page.home-page .service-process .b2b-timeline > div:hover {
  position: relative;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

body.services-page.home-page .service-process .b2b-timeline span {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--green);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

body.services-page.home-page .service-process .b2b-timeline h2 {
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

body.services-page.home-page .service-process .b2b-timeline p {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

@media (min-width: 1024px) {
  body.services-page.home-page .service-process .b2b-timeline > div:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -16px;
    width: 64px;
    content: "→";
    color: var(--green);
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    transform: translateY(-50%);
    animation: corporate-process-arrow-pulse 2.4s ease-in-out infinite;
  }

  body.services-page.home-page .service-process .b2b-timeline > div:nth-child(2)::after {
    animation-delay: .45s;
  }

  body.services-page.home-page .service-process .b2b-timeline > div:nth-child(3)::after {
    animation-delay: .9s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.services-page.home-page .service-process .b2b-timeline > div::after {
    animation: none !important;
  }
}

body.services-page.home-page .service-steps div {
  display: flex;
  min-height: 286px;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 26px;
  background: #f7f8fc;
  border: 0;
  border-radius: 32px;
  box-shadow: none;
}

body.services-page.home-page .service-steps strong {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
  border-radius: 0;
  color: var(--green);
  font-size: 44px;
  line-height: 1;
}

body.services-page.home-page .service-steps h3 {
  margin: auto 0 12px;
  font-size: clamp(25px, 2.4vw, 34px);
}

body.services-page.home-page .service-steps span {
  font-size: 17px;
  line-height: 1.5;
}

body.services-page.home-page .service-process {
  padding-bottom: 180px;
}

body.services-page.home-page .service-grid h2 {
  font-size: 32px;
}

/* Services carousel: heading and introduction on the left, slider in the middle,
   active service on the right. */
body.services-page.home-page .services-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 68px minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 72px);
  padding-top: 50px;
  padding-bottom: 0;
}

body.services-page.home-page .services-showcase__intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: start;
}

body.services-page.home-page .services-showcase__intro h1 {
  margin: 0;
  font-size: clamp(38px, 3.15vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

body.services-page.home-page .services-showcase__intro p {
  margin: 40px 0 0;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.55;
}

body.services-page.home-page .services-carousel__navigator {
  position: relative;
  display: flex;
  min-height: 540px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

body.services-page.home-page .services-carousel__navigator::before {
  position: absolute;
  top: 39px;
  bottom: 39px;
  left: 50%;
  width: 2px;
  content: "";
  background: #dce3df;
  transform: translateX(-50%);
}

body.services-page.home-page .services-carousel__tab {
  position: relative;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid #dce3df;
  border-radius: 50%;
  background: #fff;
  color: #77807c;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

body.services-page.home-page .services-carousel__tab:hover,
body.services-page.home-page .services-carousel__tab:focus-visible,
body.services-page.home-page .services-carousel__tab.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  outline: none;
  transform: scale(1.12);
}

body.services-page.home-page .services-carousel__content {
  position: relative;
  min-width: 0;
  min-height: 540px;
  border-radius: 36px;
  background: #f7f8fc;
}

body.services-page.home-page .services-carousel__panel {
  display: flex;
  min-height: 540px;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 52px);
  padding-bottom: 118px;
}

body.services-page.home-page .services-carousel__panel > span {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}

body.services-page.home-page .services-carousel__panel h2 {
  max-width: 720px;
  margin: 30px 0 24px;
  font-size: clamp(30px, 2.35vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

body.services-page.home-page .services-carousel__panel p,
body.services-page.home-page .services-carousel__panel li {
  max-width: 720px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

body.services-page.home-page .services-carousel__panel p + p {
  margin-top: 16px;
}

body.services-page.home-page .services-carousel__panel ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
}

body.services-page.home-page .services-carousel__arrows {
  position: absolute;
  right: clamp(28px, 3.2vw, 52px);
  bottom: clamp(28px, 3.2vw, 52px);
  display: flex;
  gap: 10px;
}

body.services-page.home-page .services-carousel__arrow {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

body.services-page.home-page .services-carousel__arrow:hover,
body.services-page.home-page .services-carousel__arrow:focus-visible {
  background: var(--green);
  color: #fff;
  outline: none;
}

body.services-page.home-page .service-process {
  margin-top: 230px;
}

@media (max-width: 1023px) {
  body.services-page.home-page .services-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  body.services-page.home-page .services-carousel__navigator {
    min-height: auto;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 12px;
  }

  body.services-page.home-page .services-carousel__navigator::before {
    top: 50%;
    right: 35px;
    bottom: auto;
    left: 35px;
    width: auto;
    height: 2px;
    transform: translateY(-50%);
  }

  body.services-page.home-page .services-carousel__content,
  body.services-page.home-page .services-carousel__panel {
    min-height: 0;
  }

  body.services-page.home-page .services-carousel__panel {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  body.services-page.home-page .services-showcase {
    padding-top: 28px;
    gap: 26px;
  }

  body.services-page.home-page .services-showcase__intro p {
    margin-top: 28px;
    font-size: 17px;
  }

  body.services-page.home-page .services-carousel__navigator {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 18px;
    padding: 4px 12px;
    scrollbar-width: none;
  }

  body.services-page.home-page .services-carousel__navigator::-webkit-scrollbar { display: none; }

  body.services-page.home-page .services-carousel__tab { flex: 0 0 42px; width: 42px; height: 42px; }

  body.services-page.home-page .services-carousel__navigator::before {
    right: 33px;
    left: 33px;
  }

  body.services-page.home-page .services-carousel__content { border-radius: 28px; }

  body.services-page.home-page .services-carousel__panel {
    min-height: 500px;
    padding: 26px 22px 92px;
  }

  body.services-page.home-page .services-carousel__panel h2 {
    margin: 24px 0 20px;
    font-size: clamp(26px, 8vw, 34px);
  }

  body.services-page.home-page .services-carousel__panel p,
  body.services-page.home-page .services-carousel__panel li { font-size: 16px; }

  body.services-page.home-page .services-carousel__arrows { right: 22px; bottom: 24px; }
  body.services-page.home-page .service-process { margin-top: 140px; }
}

body.about-page.home-page .about-page h1 {
  font-size: 54px;
}

body.about-page.home-page .about-page > .section-head {
  margin-bottom: 36px;
}

body.about-page.home-page .about-panel,
body.about-page.home-page .about-fact {
  border: 0;
  border-radius: 32px;
  box-shadow: none;
}

body.about-page.home-page .about-panel {
  background: #ecf4ee;
  color: var(--ink);
}

body.about-page.home-page .about-panel h2 {
  font-size: clamp(30px, 2.7vw, 50px);
}

body.about-page.home-page .about-panel p,
body.about-page.home-page .about-panel .about-note {
  color: var(--muted);
}

body.about-page.home-page .about-panel .about-note {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

body.about-page.home-page .about-panel .about-goal {
  padding: 16px 18px;
  background: #dcece1;
  border: 1px dashed rgba(18, 135, 61, 0.62);
  border-radius: 20px;
}

body.about-page.home-page .about-fact {
  background: #f7f8fc;
}

body.about-page.home-page .about-fact span {
  font-size: clamp(42px, 3.4vw, 56px);
}

body.about-page.home-page .client-logo h3 {
  white-space: normal;
}

/* Service offering cards. */
body.services-page.home-page .services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

body.services-page.home-page .service-card {
  display: flex;
  min-width: 0;
  min-height: 480px;
  grid-column: span 2;
  flex-direction: column;
  padding: clamp(24px, 2.3vw, 34px) clamp(24px, 2.3vw, 34px) 20px;
  border: 0;
  border-radius: 32px;
  background: #f7f8fc;
  color: var(--ink);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

body.services-page.home-page .service-card:nth-child(4),
body.services-page.home-page .service-card:nth-child(5) {
  grid-column: span 3;
}

body.services-page.home-page .service-card:hover,
body.services-page.home-page .service-card:focus-visible {
  background: #fff;
  box-shadow: 0 22px 50px rgba(20, 34, 30, .11);
  outline: none;
  transform: translateY(-4px);
}

/* Continuously scrolling technology logo strip. */
body.services-page.home-page .technologies-section {
  margin-top: 180px;
  padding-top: 0;
  padding-bottom: 0;
}

body.services-page.home-page .technologies-section .section-head {
  max-width: none;
  margin-bottom: 36px;
}

body.services-page.home-page .technologies-section h2 {
  margin: 0;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.technologies-marquee {
  position: relative;
  width: calc(100% + clamp(40px, 8vw, 128px));
  margin-left: calc(clamp(20px, 4vw, 64px) * -1);
  overflow: hidden;
}

/* Align the software-development hero with the services-page intro. */
@media (min-width: 1024px) {
  body.web-systems-page main > .web-systems-hero {
    padding-top: 50px !important;
    padding-bottom: 110px !important;
  }
}

body.web-systems-page .section-head h2,
body.web-systems-page .web-systems-cta h2 {
  font-size: clamp(36px, 4vw, 54px) !important;
  font-weight: 700 !important;
  line-height: 1.04 !important;
  letter-spacing: -.015em !important;
}

.technologies-marquee::before,
.technologies-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(56px, 10vw, 180px);
  content: "";
  pointer-events: none;
}

.technologies-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .94) 30%, rgba(255, 255, 255, 0) 100%);
}

.technologies-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, .94) 30%, rgba(255, 255, 255, 0) 100%);
}

.technologies-marquee__track,
.technologies-marquee__group {
  display: flex;
  align-items: stretch;
  width: max-content;
}

.technologies-marquee__track {
  animation: technologies-marquee-right 38s linear infinite;
  will-change: transform;
}

.technologies-marquee__group {
  flex: 0 0 auto;
  gap: 16px;
  padding-right: 16px;
}

.technology-card {
  display: grid;
  position: relative;
  isolation: isolate;
  width: clamp(190px, 16vw, 270px);
  height: 148px;
  flex: 0 0 auto;
  padding: 20px;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  background: #f7f8fc;
}

.technology-card--base {
  background: #f7f8fc;
}

.technology-card--satellite {
  background: #f7f8fc;
}

.technology-card--topographic {
  background: #f7f8fc;
}

.technology-logo {
  display: block;
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 78%;
  height: auto;
  max-height: 58%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(20, 34, 30, .32));
  mix-blend-mode: normal;
}

.technology-logo--arcgis,
.technology-logo--mapinfo,
.technology-logo--nanocad,
.technology-logo--postgis {
  max-height: 64%;
}

.technology-logo--postgis {
  max-width: 86%;
  max-height: 70%;
}

.technology-logo--qgis,
.technology-logo--autocad,
.technology-logo--geoserver {
  max-width: 72%;
}

/* Source canvases include extra whitespace above these wordmarks. */
.technology-logo--arcgis,
.technology-logo--mapinfo,
.technology-logo--nanocad,
.technology-logo--postgis {
  transform: none;
}

.technology-logo--arcgis {
  transform: translateY(-28px);
}

/* Corporate software and information systems page. */
body.web-systems-page main { padding-top: 94px; }

body.web-systems-page .web-systems-hero {
  display: grid;
  grid-template-columns: minmax(0, 900px) minmax(250px, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 50px;
  padding-bottom: 118px;
}

.web-systems-hero__copy h1,
body.web-systems-page .section-head h2,
.web-systems-cta h2 {
  font-weight: 700;
}

.web-systems-hero__copy h1 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.015em;
}

body.web-systems-page .section-head h2,
.web-systems-cta h2 {
  font-size: 54px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
}

.web-systems-hero__copy > p:not(.eyebrow) { width: 900px; max-width: 100%; margin: 40px 0 30px; color: var(--muted); font-size: clamp(16px, 1.18vw, 19px); line-height: 1.55; }
.web-systems-hero__copy .button { min-height: 90px; padding: 0 34px; font-size: 22px; font-weight: 800; transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.web-systems-hero__copy .button:hover,
.web-systems-hero__copy .button:focus-visible {
  background: #0d6d31;
  box-shadow: 0 18px 38px rgba(18, 135, 61, .35);
  outline: none;
  transform: translateY(-3px);
}
.web-systems-hero__copy .button span, .web-systems-cta .button span { margin-left: 9px; font-size: 1.25em; }

.system-preview { display: grid; grid-template-columns: 74px 1fr; min-height: 390px; overflow: hidden; background: #f7f8fc; border: 1px solid #e7ebe8; border-radius: 30px; box-shadow: 0 28px 70px rgba(20, 34, 30, .12); }
.system-preview__sidebar { display: flex; flex-direction: column; gap: 18px; padding: 31px 20px; background: #12382c; }
.system-preview__sidebar::before { width: 31px; height: 31px; margin-bottom: 18px; content: ""; background: #a4db6f; border-radius: 10px; }
.system-preview__sidebar i { width: 32px; height: 5px; background: rgba(255,255,255,.5); border-radius: 99px; }
.system-preview__sidebar i:nth-child(3) { background: #fff; }
.system-preview__content { padding: 24px; }
.system-preview__topline { display: flex; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid #dde4e0; }
.system-preview__topline b { width: 9px; height: 9px; background: #c2cbc7; border-radius: 50%; }.system-preview__topline b:first-child { background: #a4db6f; }
.system-preview__body { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-top: 18px; }
.system-preview__map { position: relative; min-height: 192px; overflow: hidden; background: linear-gradient(135deg, #e5efe9 0 48%, #d7e8df 48% 51%, #edf5f0 51%); border-radius: 16px; }
.system-preview__map::before, .system-preview__map::after { position: absolute; background: #75ae87; content: ""; transform: rotate(-32deg); }.system-preview__map::before { top: -20px; left: 42%; width: 18px; height: 260px; opacity: .65; }.system-preview__map::after { top: 72px; left: -20px; width: 290px; height: 10px; opacity: .6; }
.system-preview__map span { position: absolute; z-index: 1; width: 13px; height: 13px; background: #196546; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 3px 6px rgba(12,55,38,.25); }.system-preview__map span:nth-child(1) { top: 35px; left: 27%; }.system-preview__map span:nth-child(2) { top: 87px; left: 62%; }.system-preview__map span:nth-child(3) { bottom: 26px; left: 39%; }.system-preview__map em { position: absolute; right: 16px; bottom: 15px; width: 40px; height: 40px; background: #fff; border-radius: 12px; box-shadow: 0 5px 12px rgba(20,34,30,.12); }
.system-preview__stats { display: grid; grid-template-rows: 1fr auto auto; gap: 11px; }.system-preview__chart { display: flex; gap: 7px; align-items: end; min-height: 104px; padding: 16px; background: #fff; border-radius: 16px; }.system-preview__chart i { width: 12%; background: #8dc6a0; border-radius: 4px 4px 0 0; }.system-preview__chart i:nth-child(1){height:31%}.system-preview__chart i:nth-child(2){height:57%}.system-preview__chart i:nth-child(3){height:42%}.system-preview__chart i:nth-child(4){height:76%;background:#1c754e}.system-preview__chart i:nth-child(5){height:65%}
.system-preview__metric { padding: 9px 13px; color: #1a513c; background: #e3f1e7; border-radius: 12px; font-size: 25px; font-weight: 700; }.system-preview__metric small { font-size: 14px; }.system-preview__rows { display: grid; gap: 6px; }.system-preview__rows i { height: 7px; background: #d9e2dd; border-radius: 99px; }.system-preview__table { display: grid; grid-template-columns: 1.4fr 1fr .7fr; gap: 10px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #dde4e0; }.system-preview__table i { height: 10px; background: #d9e2dd; border-radius: 99px; }.system-preview__table i:nth-child(4) { grid-column: 1 / -1; width: 73%; }

body.web-systems-page .web-systems-section { padding-top: 110px; padding-bottom: 110px; }.web-systems-section .section-head { max-width: 970px; margin-bottom: 48px; }.web-systems-section .section-head > p:not(.eyebrow) { max-width: 840px; margin-top: 24px; font-size: 18px; line-height: 1.55; }
.web-systems-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }.web-systems-cards article { min-height: 260px; padding: 28px; background: #f7f8fc; border-radius: 28px; transition: transform .22s ease, box-shadow .22s ease; }.web-systems-cards article:hover { box-shadow: 0 22px 50px rgba(20,34,30,.11); transform: translateY(-4px); }.web-systems-cards .web-systems-card__icon { display: block; width: 64px; height: 64px; color: var(--green); }.web-systems-cards .web-systems-card__icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.web-systems-cards h3, .web-systems-result h3, .web-systems-timeline h3 { margin: 28px 0 12px; font-size: clamp(22px, calc(2vw - 3px), 31px); line-height: 1.1; letter-spacing: -.025em; }.web-systems-cards p, .web-systems-result p, .web-systems-timeline p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.web-systems-section--muted { background: #f7f8fc; }.transformation-list { display: grid; gap: 16px; }.transformation-list article { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: 36px; align-items: center; padding: 32px; background: #fff; border-radius: 26px; }.transformation-list div { display: flex; gap: 19px; align-items: center; }.transformation-list span { color: #818b87; font-size: 20px; line-height: 1.25; }.transformation-list b { color: var(--green); font-size: 36px; font-weight: 400; }.transformation-list strong { color: var(--ink); font-size: 24px; line-height: 1.12; }.transformation-list p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.transformation-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }.transformation-flow article { position: relative; display: flex; min-height: 480px; padding: 38px 32px 34px; flex-direction: column; align-items: center; background: #fff; border: 0; border-radius: 24px; text-align: center; }.transformation-flow__icon { display: grid; width: 112px; height: 112px; margin-bottom: 22px; place-items: center; color: var(--green); background: radial-gradient(circle at 50% 45%, #fff 0, #e8f2eb 72%); border-radius: 50%; }.transformation-flow__icon svg { width: 63px; height: 63px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }.transformation-flow__label { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 18px; color: #fff; background: linear-gradient(90deg, #88c395, #4c9d65); border-radius: 99px; font-size: 14px; font-weight: 700; }.transformation-flow h3 { margin: 22px 0 21px; color: var(--ink); font-size: clamp(24px, 2vw, 32px); font-weight: 700; line-height: 1.13; letter-spacing: -.025em; }.transformation-flow i { width: 44px; height: 2px; margin-bottom: 23px; background: var(--green); }.transformation-flow p { max-width: 320px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }.transformation-flow article:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -64px; color: var(--green); content: "→"; font-size: 62px; font-weight: 300; line-height: 1; transform: translateY(-50%); }
.transformation-flow article:first-child .transformation-flow__label { color: var(--ink); background: #e7ebe8; }
.architecture-section { overflow: hidden; }.architecture-diagram { padding: clamp(28px, 4vw, 55px); background: #12382c; border-radius: 30px; }.architecture-diagram__main { display: flex; gap: 16px; align-items: center; justify-content: space-between; }.architecture-diagram__main span { flex: 1; padding: 20px 14px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; font-size: clamp(15px, 1.35vw, 20px); font-weight: 700; text-align: center; }.architecture-diagram__main b { color: #a4db6f; font-size: 30px; font-weight: 400; }.architecture-diagram__links { display: flex; gap: 12px; justify-content: center; margin-top: 37px; }.architecture-diagram__links span { padding: 11px 18px; color: rgba(255,255,255,.9); border: 1px solid rgba(164,219,111,.5); border-radius: 99px; font-size: 15px; }
body.web-systems-page .architecture-section .section-head h2 { white-space: nowrap; font-size: clamp(40px, 3.8vw, 50px) !important; }.architecture-diagram { background: linear-gradient(rgba(4, 30, 21, .58), rgba(4, 30, 21, .58)), url("assets/media/hero-gis-background-enhanced-green-v2.png") center / cover no-repeat; }.architecture-diagram__main span { background: transparent; border-color: rgba(255,255,255,.9); }.architecture-diagram__main b { color: #fff; }.architecture-diagram__links span { color: #fff; background: transparent; border-color: rgba(255,255,255,.8); }
@media (max-width: 700px) { body.web-systems-page .architecture-section .section-head h2 { white-space: normal; } }
.web-systems-timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 25px; }.web-systems-timeline article { position: relative; }.web-systems-timeline article:not(:last-child)::after { position: absolute; top: 12px; right: -19px; width: 12px; height: 1px; content: ""; background: #a9b9b2; }.web-systems-timeline span { color: var(--green); font-size: 30px; font-weight: 700; }.web-systems-timeline h3 { margin-top: 22px; }.web-systems-timeline p { font-size: 16px; }
.process-flow-numbers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr) 24px) minmax(0, 1fr); gap: 0; align-items: center; margin: 0 0 22px; }.process-flow-numbers span { color: var(--green); font-size: 36px; font-weight: 700; line-height: 1; text-align: center; }.process-flow-numbers i { position: relative; min-width: 0; color: var(--green); font-size: 31px; font-style: normal; font-weight: 300; line-height: 1; text-align: center; }.process-flow-numbers i::before { position: absolute; z-index: -1; top: 50%; right: 0; left: 0; height: 1px; background: rgba(18,135,61,.38); content: ""; }.web-systems-process .web-systems-timeline { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }.web-systems-process .web-systems-timeline article { display: flex; min-height: 0; padding: 26px 18px 20px; flex-direction: column; align-items: center; background: #f7f8fc; border-radius: 22px; text-align: center; }.web-systems-process .web-systems-timeline article:not(:last-child)::after { content: none; }.web-systems-process .web-systems-timeline .process-card__icon { display: grid; width: 100px; height: 100px; place-items: center; color: var(--green); background: radial-gradient(circle at 50% 45%, #fff 0, #e8f2eb 72%); border-radius: 50%; }.web-systems-process .process-card__icon svg { width: 57px; height: 57px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.web-systems-process .web-systems-timeline h3 { margin: 23px 0 0; font-size: clamp(20px, 1.5vw, 26px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }.web-systems-process .web-systems-timeline article > i { width: 34px; height: 2px; margin: 14px 0 18px; background: var(--green); }.web-systems-process .web-systems-timeline p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.web-systems-result { padding-top: 100px; padding-bottom: 100px; background: #e2f1e6; }.web-systems-result .section-head { margin-bottom: 45px; }.web-systems-result__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }.web-systems-result article { min-height: 265px; padding: 28px; background: rgba(255,255,255,.63); border-radius: 26px; }.web-systems-result span { color: var(--green); font-size: 56px; line-height: 1; }.web-systems-result h3 { margin-top: 28px; }
.technology-tags { display: flex; flex-wrap: wrap; gap: 13px; }.technology-tags span { padding: 17px 23px; background: #f7f8fc; border: 1px solid rgba(18, 135, 61, .35); border-radius: 99px; color: #1b4535; font-size: 18px; font-weight: 700; }
.web-systems-cta { margin: 45px clamp(20px, 4vw, 64px) 150px; padding: clamp(42px, 6vw, 78px); background: linear-gradient(90deg, rgba(5,25,21,.86), rgba(8,35,30,.66)), url("assets/media/hero-gis-background-enhanced-green-v2.png") center / cover; border-radius: 32px; }.web-systems-cta > div { max-width: 1080px; }.web-systems-cta h2 { margin: 12px 0 23px; color: #fff; }.web-systems-cta > div > p:not(.eyebrow) { max-width: 860px; margin-bottom: 33px; color: rgba(255,255,255,.9); font-size: 19px; line-height: 1.55; }.web-systems-cta .eyebrow { color: #a4db6f; }

@media (max-width: 1000px) { body.web-systems-page .web-systems-hero { grid-template-columns: 1fr; }.system-preview { max-width: 720px; }.web-systems-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }.web-systems-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 42px; }.web-systems-timeline article:nth-child(3)::after { display: none; }.web-systems-result__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .transformation-flow { gap: 24px; }.transformation-flow article { min-height: 450px; padding: 30px 22px; }.transformation-flow article:not(:last-child)::after { right: -41px; font-size: 46px; } }
@media (max-width: 1000px) { .process-flow-numbers { margin-right: 0; margin-left: 0; }.process-flow-numbers span { font-size: 30px; }.process-flow-numbers i { font-size: 24px; }.web-systems-process .web-systems-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }.web-systems-process .web-systems-timeline article { min-height: 0; } }
@media (max-width: 700px) { .transformation-flow { grid-template-columns: 1fr; gap: 28px; }.transformation-flow article { min-height: 0; padding: 34px 24px; }.transformation-flow article:not(:last-child)::after { top: auto; right: 50%; bottom: -47px; transform: translateX(50%) rotate(90deg); }.transformation-flow__icon { width: 94px; height: 94px; }.transformation-flow h3 { font-size: 27px; } }
@media (max-width: 700px) { .process-flow-numbers { display: none; }.web-systems-process .web-systems-timeline { grid-template-columns: 1fr; gap: 16px; }.web-systems-process .web-systems-timeline article { min-height: 0; padding: 30px 24px; }.web-systems-process .web-systems-timeline h3 { min-height: 0; } }
@media (max-width: 700px) { body.web-systems-page main { padding-top: 70px; } body.web-systems-page .web-systems-hero, body.web-systems-page .web-systems-section { padding-top: 60px; padding-bottom: 60px; }.web-systems-hero__copy .button { width: 100%; min-height: 64px; padding: 0 26px; font-size: 18px; }.web-systems-cards, .web-systems-result__grid { grid-template-columns: 1fr; }.transformation-list article { grid-template-columns: 1fr; gap: 20px; padding: 25px; }.transformation-list div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }.transformation-list strong { grid-column: 1 / -1; font-size: 22px; }.transformation-list b { grid-column: 2; grid-row: 1; }.architecture-diagram__main { flex-direction: column; }.architecture-diagram__main span { width: 100%; }.architecture-diagram__main b { transform: rotate(90deg); }.architecture-diagram__links { flex-wrap: wrap; }.web-systems-timeline { grid-template-columns: 1fr; gap: 30px; }.web-systems-timeline article:not(:last-child)::after { display: none; }.web-systems-timeline h3 { margin-top: 10px; }.web-systems-result { padding-top: 60px; padding-bottom: 60px; }.web-systems-cta { margin-top: 20px; margin-bottom: 70px; }.system-preview { grid-template-columns: 55px 1fr; min-height: 340px; }.system-preview__sidebar { padding: 24px 12px; }.system-preview__sidebar::before { width: 28px; height: 28px; }.system-preview__content { padding: 16px; }.system-preview__body { grid-template-columns: 1fr .75fr; gap: 10px; }.system-preview__map { min-height: 165px; } }

@keyframes technologies-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .technologies-marquee__track {
    animation-play-state: paused;
  }
}

/* Compact mobile composition for the corporate web systems page. */
@media (max-width: 767px) {
  body.web-systems-page main {
    padding-top: 0;
  }

  body.web-systems-page .web-systems-hero {
    gap: 22px;
    padding: 94px 20px 40px;
  }

  body.web-systems-page .web-systems-hero__copy h1 {
    margin: 0;
    font-size: clamp(32px, 8.8vw, 38px);
    line-height: 1.06;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.web-systems-page .web-systems-hero__copy > p:not(.eyebrow) {
    margin: 22px 0 24px;
    font-size: 16px;
    line-height: 1.5;
  }

  body.web-systems-page .web-systems-hero__copy .button {
    min-height: 58px;
    font-size: 17px;
  }

  body.web-systems-page .system-preview {
    min-height: 250px;
    border-radius: 24px;
  }

  body.web-systems-page .system-preview__content {
    padding: 14px;
  }

  body.web-systems-page .system-preview__map {
    min-height: 132px;
  }

  body.web-systems-page .system-preview__chart {
    min-height: 76px;
    padding: 12px;
  }

  body.web-systems-page .section-head h2,
  body.web-systems-page .web-systems-cta h2 {
    font-size: clamp(28px, 8vw, 32px) !important;
    line-height: 1.08 !important;
  }

  body.web-systems-page .web-systems-cards h3,
  body.web-systems-page .web-systems-result h3,
  body.web-systems-page .transformation-flow h3 {
    font-size: 22px;
    line-height: 1.12;
  }

  body.web-systems-page .web-systems-cards p,
  body.web-systems-page .web-systems-result p,
  body.web-systems-page .transformation-flow p {
    font-size: 16px;
  }

  body.web-systems-page .web-systems-result {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  body.web-systems-page .web-systems-result__grid {
    gap: 20px;
  }

  body.web-systems-page .web-systems-result article {
    min-height: 0;
    padding: 24px 0;
    background: transparent;
    border-radius: 0;
    text-align: left;
  }

  body.web-systems-page .web-systems-result article > span {
    display: block;
  }
}

body.services-page.home-page .service-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: transparent;
  color: var(--green);
}

body.services-page.home-page .service-card__icon svg {
  width: 48px;
  height: 48px;
}

body.services-page.home-page .service-card h2 {
  margin: 14px 0 16px;
  font-size: clamp(22px, calc(2vw - 3px), 31px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

body.services-page.home-page .service-card p {
  margin: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.52;
}

body.services-page.home-page .service-card__tags {
  margin-top: auto;
  padding-top: 24px;
  color: #7b8380;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

body.services-page.home-page .service-card:nth-child(4) .service-card__tags,
body.services-page.home-page .service-card:nth-child(5) .service-card__tags {
  margin-top: 18px;
}

body.services-page.home-page .service-card:nth-child(4),
body.services-page.home-page .service-card:nth-child(5) {
  min-height: 0;
}

body.services-page.home-page .service-card__more {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: 22px;
  padding-top: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

body.services-page.home-page .service-card__more::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  border-radius: 0;
  content: "";
  background: var(--green);
}

body.services-page.home-page .service-card__more b {
  color: var(--green);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform .22s ease;
}

body.services-page.home-page .service-card:hover .service-card__more b,
body.services-page.home-page .service-card:focus-visible .service-card__more b {
  transform: translateX(4px);
}

@media (max-width: 1023px) {
  body.services-page.home-page .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.services-page.home-page .service-card,
  body.services-page.home-page .service-card:nth-child(4),
  body.services-page.home-page .service-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  body.services-page.home-page .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.services-page.home-page .service-card {
    min-height: 0;
  }
}

body.about-page.home-page .about-highlights .section-head {
  max-width: 1120px;
}

body.about-page.home-page .about-highlights .section-head h2 {
  font-size: clamp(46px, 3.2vw, 52px);
}

body.about-page.home-page .about-highlights .metric-card,
body.about-page.home-page .about-highlights .metric-card:hover {
  height: 290px;
  min-height: 290px;
  padding: 26px;
  background: #f7f8fc;
  border: 0;
  border-radius: 40px;
  box-shadow: none;
}

body.about-page.home-page .about-highlights .metric-card strong {
  font-size: clamp(44px, 3.5vw, 50px);
}

body.about-page.home-page .about-highlights .metric-card::after {
  content: none;
}

body.about-page.home-page .about-highlights .metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(20, 34, 30, 0.11);
}

body.about-page.home-page .about-highlights .metric-card span {
  max-width: none;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

body.about-page.home-page .about-highlights .metric-card small {
  padding-top: 16px;
  border-top: 1px solid var(--green);
  font-size: 15px;
}

body.about-page.home-page .about-systems .about-columns article {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

body.about-page.home-page .about-systems .client-logo {
  position: relative;
  isolation: isolate;
  justify-content: center;
  min-height: 190px;
  margin-bottom: 20px;
  padding: 26px;
  overflow: hidden;
  background-color: var(--green);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 0;
  border-radius: 40px;
}

body.about-page.home-page .about-systems .client-logo::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 18, 0.56), rgba(8, 30, 18, 0.38));
}

body.about-page.home-page .about-systems .client-logo--rosneft {
  background-image: url("assets/clients/rosneft.webp");
}

body.about-page.home-page .about-systems .client-logo--gazprom-neft {
  background-image: url("assets/clients/gazprom-neft-photo.webp");
}

body.about-page.home-page .about-systems .client-logo--gazprom-project {
  background-image: url("assets/clients/gazprom-project-photo.webp");
}

body.about-page.home-page .about-systems .client-logo img {
  position: relative;
  z-index: 1;
  flex: 0 1 190px;
  width: min(100%, 190px);
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.54));
}

body.about-page.home-page .about-systems .client-logo--rosneft img {
  flex-basis: 210px;
  width: min(100%, 210px);
  height: 90px;
}

body.about-page.home-page .about-systems .about-columns article > h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.2;
}

@media (max-width: 767px) {
  body.about-page.home-page .about-page h1 {
    font-size: clamp(32px, 9vw, 42px);
    overflow-wrap: anywhere;
  }

  body.about-page.home-page .about-page h2 {
    overflow-wrap: anywhere;
  }

  body.about-page.home-page .about-highlights .metric-card small {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Главная: внутренний отступ от края фонового баннера — 40 px. */
@media (min-width: 768px) {
  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    padding-left: 40px;
  }

  .home-page .site-header:not(.is-sticky) {
    left: max(
      calc(clamp(16px, 3vw, 40px) + 40px),
      calc((100vw - 1920px) / 2 + 40px)
    );
  }
}

/* Карточки продуктов */
body.products-page .product-card {
  background: #f7f8fc;
  border: 0;
  border-radius: 32px;
  box-shadow: none;
}

body.products-page .product-card div:not(.placeholder-visual) {
  padding: 28px;
  background: #f7f8fc;
  border-radius: 0 0 32px 32px;
}

body.products-page .product-card span {
  color: var(--green);
  font-size: 17px;
}

body.products-page .product-card h3 {
  font-size: 32px;
}

body.products-page .product-card p {
  margin-bottom: 0;
  font-size: 17px;
}

body.products-page .product-card a {
  display: inline-flex;
  align-self: flex-start;
  width: 200px;
  margin-top: 50px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 20px;
  background: transparent;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.products-page .product-card a:hover,
body.products-page .product-card a:focus-visible {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

body.products-page .product-card.neutral a {
  margin-top: auto;
}

@keyframes home-header-slide-down {
  from {
    opacity: 0;
    transform: translateY(-120px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-page main {
  padding-top: 40px;
}

.home-page .site-header .brand,
.home-page .site-header .nav {
  height: 64px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-page .site-header .header-primary {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
  height: 64px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(27, 50, 42, 0.18);
}

.home-page .site-header .brand {
  padding: 0 18px 0 24px;
  border-radius: 999px;
}

.home-page .site-header .brand::after {
  display: none;
}

.home-page .site-header .brand img {
  height: 28px;
}

.home-page .site-header .nav {
  flex: 0 0 auto;
  justify-self: stretch;
  padding: 0 18px 0 10px;
  border-radius: 999px;
}

.home-page .site-header .nav a,
.home-page .site-header .nav-dropdown__trigger {
  min-height: 40px;
  padding: 0 14px;
  font-size: 20px;
}

/* Выпадающий список «Продукты» начинается на одной вертикали с пунктом меню. */
.home-page .site-header .nav-dropdown:not(.nav-dropdown--wide) .nav-dropdown__menu {
  left: 0;
  transform: none;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 64px;
  padding: 0 30px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(27, 50, 42, 0.18);
  color: #1b322a;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  background: var(--green);
  box-shadow: 0 14px 34px rgba(18, 135, 61, 0.28);
  color: #fff;
  transform: translateY(-2px);
}

.home-page .home-hero {
  min-height: auto;
  height: auto;
  margin: 0 clamp(16px, 3vw, 40px);
  padding: 152px clamp(28px, 4vw, 54px) clamp(40px, 4vw, 56px);
  background: #ecf4ee;
  border-radius: 2rem;
  gap: 30px;
  grid-template-columns: minmax(0, 670px) minmax(0, 1fr);
}

@media (min-width: 640px) {
  .home-page .home-hero {
    border-radius: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .home-page .home-hero {
    border-radius: 3.5rem;
  }
}

.home-page main > .home-hero.section-pad:first-child {
  padding: 152px clamp(28px, 4vw, 54px) clamp(40px, 4vw, 56px);
}

.home-page .home-hero h1 {
  max-width: 660px;
  margin-bottom: 60px;
  font-size: 60px;
  line-height: 1.12;
}

.home-page .home-hero h1 span {
  display: block;
  white-space: nowrap;
}

.home-page .home-hero .hero-lead {
  width: min(670px, 100%);
  max-width: 670px;
  font-size: 22px;
  line-height: 1.55;
}

.home-page .home-hero .hero-actions {
  gap: 16px;
  margin-top: 30px;
}

.home-page .home-hero .hero-actions .button {
  min-height: 90px;
  padding: 0 34px;
  font-size: 22px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-page .home-hero .hero-actions .button:hover,
.home-page .home-hero .hero-actions .button:focus-visible {
  transform: translateY(-3px);
}

.home-page .home-hero .hero-actions .button.primary:hover,
.home-page .home-hero .hero-actions .button.primary:focus-visible {
  background: #0d6d31;
  box-shadow: 0 18px 38px rgba(18, 135, 61, 0.35);
}

.home-page .home-hero .hero-actions .button.secondary:hover,
.home-page .home-hero .hero-actions .button.secondary:focus-visible {
  background: #dff1e5;
  border-color: var(--green);
  box-shadow: 0 14px 30px rgba(18, 135, 61, 0.18);
  color: #0d6d31;
}

.home-page .home-hero .solution-slider,
.home-page .home-hero .solution-description {
  border-radius: clamp(28px, 3vw, 40px);
}

.home-page .home-hero .hero-visual {
  align-self: start;
}

.home-page .home-hero .solution-slider {
  overflow: visible;
  border: 0;
  box-shadow: 0 22px 50px rgba(20, 34, 30, 0.16);
}

.home-page .home-hero .solution-slide {
  overflow: hidden;
  border-radius: inherit;
}

.home-page .home-hero .solution-slide img {
  border-radius: inherit;
}

.home-page .home-hero .solution-description {
  min-height: 0;
  padding: 24px 28px;
  box-shadow: 0 18px 42px rgba(20, 34, 30, 0.12);
}

.home-page .home-hero .solution-description p {
  margin-bottom: 30px;
  font-size: 20px;
}

.home-page .home-hero .solution-description h3 {
  margin-bottom: 30px;
}

.home-page .home-hero .solution-description span {
  font-size: 18px;
}

/* The geodata-model description uses the full card width to keep its copy concise. */
.home-page .home-hero .solution-description.is-geodata-model span {
  max-width: none;
}

.home-page .home-hero .solution-slider__controls {
  top: 50%;
  right: -28px;
  bottom: auto;
  left: -28px;
  transform: translateY(-50%);
  pointer-events: none;
}

.home-page .home-hero .solution-slider__controls button {
  width: 56px;
  height: 56px;
  font-size: 30px;
  line-height: 1;
  pointer-events: auto;
}

.home-page .home-hero .solution-slider__controls button::before {
  content: none;
}

@media (min-width: 1550px) {
  .home-page .home-hero {
    grid-template-columns: minmax(670px, 0.75fr) minmax(0, 900px);
    justify-content: space-between;
  }

  .home-page .home-hero .hero-visual {
    width: min(100%, 900px);
  }
}

.home-page .home-hero .solution-slider__dots {
  display: none;
}

/* Product section repeated on the home page. */
.home-page .home-products {
  margin-top: 120px;
  margin-bottom: calc(270px - clamp(64px, 8vw, 118px));
  padding-top: 0;
  padding-bottom: 0;
}

.home-products-title__mobile-break {
  display: none;
}

@media (min-width: 2400px) and (max-width: 2800px) and (min-height: 1100px) {
  .home-page .home-products {
    margin-bottom: 140px;
  }
}

.home-page .home-products .section-head {
  position: relative;
  max-width: none;
  margin-bottom: 36px;
}

.home-page .home-products .section-head h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(42px, 2.3vw, 46px);
}

.home-page .home-products .sast-grid-decoration--products-title {
  position: absolute;
  top: -46px;
  right: -40px;
  z-index: 0;
  width: min(480px, 36vw);
  height: 250px;
}

.home-page .home-products .sast-grid-decoration--products-title::before {
  clip-path: polygon(22% 0, 100% 8%, 90% 87%, 44% 100%, 0 69%);
  -webkit-mask-image: radial-gradient(ellipse 84% 80% at 76% 49%, #000 53%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 80% at 76% 49%, #000 53%, transparent 100%);
}

.home-page .home-products .product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.home-page .home-products .product-card div:not(.placeholder-visual) {
  padding: 28px;
  background: transparent;
  border-radius: 0;
}

.home-page .home-products .product-card span {
  color: var(--green);
  font-size: 19px;
}

.home-page .home-products .product-card h3 {
  font-size: 36px;
}

.home-page .home-products .product-card:nth-child(2) h3 {
  width: 600px;
}

.home-page .home-products .product-card p {
  margin-bottom: 0;
  width: 790px;
  max-width: none;
  font-size: 20px;
}

.home-page .home-products .product-card .product-card__actions {
  display: flex;
  flex: none;
  flex-direction: row;
  align-self: flex-start;
  align-items: stretch;
  justify-content: flex-start;
  width: 650px;
  max-width: none;
  margin-left: 0 !important;
  gap: 16px;
  margin-top: 30px;
  padding: 0 !important;
}

.home-page .home-products .product-card .product-card__actions > a {
  margin-left: 0 !important;
}

.home-page .home-products .product-card a,
.home-page .home-products .product-card .product-card__download {
  display: inline-flex;
  align-self: flex-start;
  width: 200px;
  min-height: 58px;
  margin: 0;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* The home cards use direct links rather than the optional actions wrapper. */
.home-page .home-products .product-card > div > a {
  margin-top: 60px !important;
}

.home-page .home-products .product-card a:hover,
.home-page .home-products .product-card a:focus-visible {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.home-page .home-products .product-card__download {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  white-space: nowrap;
  font-family: inherit;
  cursor: pointer;
}

.home-page .home-products .product-card.neutral a {
  margin-top: auto;
}

.home-page .home-products .product-card.neutral .product-card__actions a {
  margin: 0;
}

.home-page .home-products .product-card.blue .product-card__actions > a,
.home-page .home-products .product-card.neutral .product-card__actions > a,
.home-page .home-products .product-card.blue > div > a,
.home-page .home-products .product-card.neutral > div > a {
  transform: translateX(2px);
}

.home-page .home-products .product-card.blue .product-card__actions > a:hover,
.home-page .home-products .product-card.blue .product-card__actions > a:focus-visible,
.home-page .home-products .product-card.neutral .product-card__actions > a:hover,
.home-page .home-products .product-card.neutral .product-card__actions > a:focus-visible,
.home-page .home-products .product-card.blue > div > a:hover,
.home-page .home-products .product-card.blue > div > a:focus-visible,
.home-page .home-products .product-card.neutral > div > a:hover,
.home-page .home-products .product-card.neutral > div > a:focus-visible {
  transform: translate(2px, -2px);
}

@media (max-width: 1180px) {
  .home-page .site-header {
    top: 64px;
    left: clamp(24px, 5vw, 60px);
    right: clamp(24px, 5vw, 60px);
  }

  .home-page .home-hero {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .home-page main {
    padding-top: 24px;
  }

  .home-page .site-header {
    top: 56px;
    left: 24px;
    right: 24px;
    justify-content: space-between;
    min-height: 58px;
  }

  .home-page .site-header .brand {
    height: 58px;
    border-radius: 999px;
  }

  .home-page .site-header .header-primary {
    flex: 0 0 auto;
    height: 58px;
  }

  .home-page .site-header .nav,
  .home-page .header-contact {
    display: none;
  }

  .home-page .site-header .menu-button {
    height: 58px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(27, 50, 42, 0.18);
  }

  .home-page .home-hero {
    margin-top: 0;
    padding-top: 142px;
    border-radius: 32px;
  }

  .home-page main > .home-hero.section-pad:first-child {
    padding-top: 142px;
  }

  .home-page .home-hero .solution-slider__controls {
    right: -16px;
    left: -16px;
  }

  .home-page .home-hero .solution-slider__controls button {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 560px) {
  .home-page main {
    padding-top: 16px;
  }

  .home-page .site-header {
    top: 40px;
    left: 20px;
    right: 20px;
  }

  .home-page .home-hero {
    margin: 0 16px;
    padding: 126px 24px 32px;
    border-radius: 28px;
  }

  .home-page main > .home-hero.section-pad:first-child {
    padding: 126px 24px 32px;
  }

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

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

  .home-page .home-hero .solution-slider__dots {
    top: calc(50% + 58px);
  }
}

.legal-page {
  min-height: 100vh;
  padding: clamp(24px, 5vw, 64px);
  background: var(--bg);
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 900;
}

.legal-document {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 52px rgba(20, 34, 30, 0.08);
}

.legal-document h1 {
  margin: 28px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  text-align: center;
}

.legal-document h2 {
  margin-top: 30px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-document p {
  color: #2d3b37;
}

.legal-document a {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
}

.legal-approve {
  color: var(--muted) !important;
  text-align: right;
}

.legal-subtitle {
  margin-bottom: 32px;
  color: var(--muted) !important;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 1180px) {
  .product-grid,
  .competence-list,
  .ip-grid,
  .b2b-grid,
  .b2b-timeline,
  .effect-grid,
  .effect-formula,
  .effect-steps,
  .service-grid,
  .service-steps,
  .about-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .competencies-page .competence-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 82px;
    padding: 12px clamp(14px, 4vw, 24px);
  }

  .brand {
    height: 58px;
    padding: 0 18px;
    border-right: 1px solid var(--line);
    border-radius: 999px;
  }

  .brand::after {
    display: none;
  }

  .brand img {
    height: 26px;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .nav {
    position: fixed;
    top: 82px;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    display: none;
    height: auto;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav-dropdown > button,
  .nav-dropdown__trigger {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    text-align: left;
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    margin: 0 0 4px;
    padding: 4px 0 0 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-dropdown--wide .nav-dropdown__menu {
    min-width: 0;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu,
  .nav-dropdown.is-open .nav-dropdown__menu {
    display: grid;
  }

  .hero-metrics,
  .b2b-summary,
  .b2b-cta,
  .effect-hero,
  .effect-cta,
  .contact,
  .split-section,
  .about-layout,
  .about-columns,
  .about-highlights__grid,
  .home-directions__head,
  .home-directions__grid,
  .footer {
    grid-template-columns: 1fr;
  }

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

  .footer div {
    justify-content: flex-start;
  }

  .home-directions__head {
    align-items: start;
    row-gap: 18px;
  }

  .home-directions__head .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  .product-grid,
  .competence-list,
  .ip-grid,
  .b2b-grid,
  .b2b-timeline,
  .effect-grid,
  .effect-formula,
  .effect-steps,
  .service-grid,
  .service-steps,
  .industry-grid,
  .process,
  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    margin: 26px 0 30px;
    padding: 26px 0 30px;
  }

  .about-highlights .metric-card {
    min-height: 180px;
    padding: 20px;
  }

  .b2b-timeline > div {
    min-width: 0;
  }

  .b2b-timeline h2 {
    min-width: 0;
    font-size: clamp(24px, 8vw, 32px);
    overflow-wrap: anywhere;
  }

  .b2b-grid h2,
  .b2b-grid p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .b2b-hero h1 {
    font-size: clamp(30px, 9vw, 42px);
    overflow-wrap: anywhere;
  }

  .b2b-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .b2b-cta > * {
    min-width: 0;
  }

  .hero {
    min-height: auto;
  }

  .home-hero.section-pad {
    padding-top: 16px;
    padding-bottom: 30px;
  }

  .home-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 9.5vw, 40px);
    line-height: 1.04;
  }

  .home-hero .hero-lead {
    font-size: 16px;
    line-height: 1.45;
  }

  .home-hero .hero-actions {
    margin: 20px 0 0;
  }

  .home-hero {
    gap: 24px;
  }

  .home-hero .hero-visual {
    position: relative;
    gap: 0;
  }

  .home-hero .solution-description {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    min-height: 0;
    width: auto;
    max-width: calc(100% - 24px);
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(20, 34, 30, 0.12);
  }

  .home-hero .solution-description p {
    margin: 0;
    font-size: 11px;
    line-height: 1;
  }

  .home-hero .solution-description h3,
  .home-hero .solution-description span {
    display: none;
  }

  .home-direction {
    min-height: 240px;
    padding: 22px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .solution-slider__controls {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .solution-slider__controls button {
    width: 46px;
    height: 46px;
  }

  .solution-slider__dots {
    gap: 6px;
    padding: 9px 11px;
  }

  .solution-slider__dots button {
    width: 9px;
    height: 9px;
  }

  .solution-slider__dots button.is-active {
    width: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .client-logo {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .client-logo h3 {
    min-width: 0;
    white-space: normal;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .competencies-page.section-pad {
    padding: 18px 16px 32px;
  }

  .competencies-page .section-head {
    margin-bottom: 20px;
  }

  .competencies-page h1 {
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .competencies-page .section-head p {
    font-size: 16px;
    line-height: 1.45;
  }

  .competencies-page .competence-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .competencies-page .competence-list article {
    min-width: 0;
    min-height: 0;
    padding: 18px;
  }

  .competencies-page .competence-list h3 {
    font-size: 19px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .competencies-page .competence-list p {
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .competencies-page .competence-list article:hover {
    transform: none;
  }

  .services-page.section-pad {
    padding-right: 16px;
    padding-left: 16px;
  }

  .services-page .services-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 12px;
  }

  .services-page .service-grid article {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 20px;
  }

  .services-page .service-grid h2,
  .services-page .service-grid p,
  .services-page .service-grid li {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* ================================================================
   Responsive layout for the home page
   Ranges: mobile 320-767, tablet 768-1023, desktop 1024-1439,
   large screens 1440+
   ================================================================ */

.home-page {
  overflow-x: clip;
}

.home-page main,
.home-page .home-hero,
.home-page .home-hero > *,
.home-page .home-directions,
.home-page .home-contact,
.home-page .contact-form,
.home-page .site-footer,
.home-page .site-footer__content {
  min-width: 0;
}

.home-page .home-direction,
.home-page .home-contact,
.home-page .contact-form,
.home-page .site-footer__column {
  overflow-wrap: anywhere;
}

/* Large monitors: keep the composition centred and readable. */
@media (min-width: 1440px) {
  .home-page .home-hero {
    width: min(calc(100% - 80px), 1920px);
    margin-right: auto;
    margin-left: auto;
  }

  .home-page .home-directions,
  .home-page .home-contact {
    padding-right: max(64px, calc((100vw - 1800px) / 2));
    padding-left: max(64px, calc((100vw - 1800px) / 2));
  }

  .home-page .sast-grid-decoration--contacts {
    left: calc(0px - max(64px, calc((100vw - 1800px) / 2)));
  }
}

@media (min-width: 2000px) {
  .home-page .site-header:not(.is-sticky) {
    left: max(88px, calc((100vw - 1920px) / 2 + 48px));
  }
}

/* Standard laptops: keep the desktop hierarchy without cramped columns. */
@media (min-width: 1200px) {
  .home-page .home-hero {
    height: auto;
    min-height: clamp(780px, 61vw, 990px);
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .home-page .site-header:not(.is-sticky) {
    top: 52px;
  }

  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    padding-top: 118px;
    padding-bottom: 40px;
  }

  .home-page .home-hero {
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  }

  .home-page .home-hero h1 {
    max-width: 100%;
    margin-bottom: 38px;
    font-size: clamp(50px, 4vw, 54px);
  }

  .home-page .home-hero .hero-lead {
    font-size: 19px;
    line-height: 1.48;
  }

  .home-page .home-hero .hero-actions {
    margin-top: 24px;
  }

  .home-page .home-hero .hero-actions .button {
    min-height: 64px;
    padding: 0 26px;
    font-size: 18px;
  }

  .home-page .home-hero .solution-description {
    padding: 20px 22px;
  }

  .home-page .home-hero .solution-description p {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .home-page .home-hero .solution-description h3 {
    margin-bottom: 18px;
    font-size: 26px;
  }

  .home-page .home-hero .solution-description span {
    font-size: 16px;
    line-height: 1.42;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .home-page .site-header {
    top: 40px;
    left: 40px;
    right: 40px;
  }

  .home-page .site-header.is-sticky {
    top: 20px;
    left: 40px;
    right: 40px;
  }

  .home-page .site-header .nav {
    padding-right: 12px;
    padding-left: 6px;
  }

  .home-page .site-header .nav a,
  .home-page .site-header .nav-dropdown__trigger {
    padding: 0 9px;
    font-size: 16px;
  }

  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 132px 44px 54px;
  }

  .home-page .home-hero {
    margin: 0 24px;
  }

  .home-page .home-hero h1 {
    max-width: 760px;
    margin-bottom: 42px;
    font-size: 50px;
  }

  .home-page .home-hero .hero-lead {
    max-width: 760px;
    font-size: 20px;
  }

  .home-page .home-hero .hero-actions .button {
    min-height: 68px;
    font-size: 19px;
  }

  .home-page .home-hero .hero-visual {
    width: min(860px, 100%);
    margin: 24px auto 0;
  }

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

/* Tablet header/menu and stacked content. */
@media (max-width: 1023px) {
  .home-page #contacts {
    scroll-margin-top: 20px;
  }

  .home-page main {
    padding-top: 20px;
  }

  .home-page .site-header,
  .home-page .site-header.is-sticky {
    top: 20px;
    left: 24px;
    right: 24px;
    width: auto;
    min-height: 58px;
    justify-content: space-between;
  }

  .home-page .site-header.is-sticky {
    position: fixed;
  }

  .home-page .site-header .header-primary,
  .home-page .site-header .brand,
  .home-page .site-header .menu-button {
    height: 58px;
  }

  .home-page .site-header .header-primary {
    min-width: 0;
  }

  .home-page .site-header .brand {
    padding: 0 18px;
  }

  .home-page .site-header .brand img {
    height: 26px;
  }

  .home-page .site-header .menu-button {
    display: block;
    flex: 0 0 58px;
    width: 58px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(27, 50, 42, 0.18);
  }

  .home-page .site-header .nav {
    position: fixed;
    top: 90px;
    left: 24px;
    right: 24px;
    z-index: 55;
    display: none;
    width: auto;
    height: auto;
    max-height: calc(100vh - 110px);
    padding: 12px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(27, 50, 42, 0.18);
  }

  .home-page .site-header .nav.is-open {
    display: flex;
  }

  .home-page .site-header .nav a,
  .home-page .site-header .nav-dropdown__trigger {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 17px;
    white-space: normal;
  }

  .home-page .site-header .nav-dropdown__menu {
    display: none !important;
  }

  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 118px 34px 46px;
  }

  .home-page .home-hero {
    margin: 0 24px;
    gap: 36px;
    border-radius: 32px;
  }

  .home-page .home-hero h1 {
    max-width: 720px;
    margin-bottom: 42px;
    font-size: clamp(42px, 6vw, 50px);
  }

  .home-page .home-hero h1 span {
    white-space: normal;
  }

  .home-page .home-hero .hero-lead {
    width: 100%;
    max-width: 720px;
    font-size: 19px;
    line-height: 1.5;
  }

  .home-page .home-hero .hero-actions .button {
    min-height: 64px;
    padding: 0 26px;
    font-size: 18px;
  }

  .home-page .home-hero .hero-visual {
    width: min(820px, 100%);
    margin: 0 auto;
  }

  .home-page .home-hero .solution-slider__controls {
    right: 10px;
    left: 10px;
  }

  .home-page .home-directions,
  .home-page .home-contact {
    padding: 72px 32px;
  }

  .home-page .home-directions__head h2 {
    font-size: 46px;
    white-space: normal;
  }

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

  .home-page .home-contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .home-page .home-contact__copy,
  .home-page .home-contact .contact-form {
    width: min(850px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .home-page .sast-grid-decoration--between,
  .home-page .sast-grid-decoration--contacts {
    display: none;
  }

  .home-page .home-contact .contact-form {
    min-height: 0;
    justify-self: stretch;
    padding: 34px;
    border-radius: 36px;
  }

  .home-page .site-footer {
    padding-right: 32px;
    padding-left: 32px;
  }

  .home-page .scroll-top {
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
  }
}

/* Contact needs a stacked layout on narrow laptops as well. */
@media (min-width: 1024px) and (max-width: 1319px) {
  .home-page .home-contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .home-page .home-contact__copy,
  .home-page .home-contact .contact-form {
    width: min(850px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .home-page .home-contact .contact-form {
    min-height: 0;
    justify-self: stretch;
  }

  .home-page .sast-grid-decoration--contacts {
    display: none;
  }
}

/* Mobile phones. */
@media (max-width: 767px) {
  .home-page main {
    padding-top: 12px;
  }

  .home-page .site-header,
  .home-page .site-header.is-sticky {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 10px;
    min-height: 54px;
  }

  .home-page .site-header .header-primary,
  .home-page .site-header .brand,
  .home-page .site-header .menu-button {
    height: 54px;
  }

  .home-page .site-header .header-primary {
    max-width: calc(100% - 64px);
  }

  .home-page .site-header .brand {
    min-width: 0;
    padding: 0 14px;
  }

  .home-page .site-header .brand img {
    max-width: 100%;
    height: 24px;
  }

  .home-page .site-header .menu-button {
    flex-basis: 54px;
    width: 54px;
  }

  .home-page .site-header .nav {
    top: 76px;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 88px);
  }

  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    padding: 94px 20px 32px;
  }

  .home-page .home-hero {
    margin: 0 12px;
    gap: 30px;
    border-radius: 28px;
  }

  .home-page .home-hero h1 {
    margin-bottom: 30px;
    font-size: clamp(32px, 9.5vw, 42px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .home-page .home-hero .hero-lead {
    font-size: clamp(17px, 4.8vw, 19px);
    line-height: 1.48;
  }

  .home-page .home-hero .hero-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .home-page .home-hero .hero-actions .button {
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    font-size: 17px;
  }

  .home-page .home-hero .hero-visual {
    gap: 14px;
  }

  .home-page .home-hero .solution-slider,
  .home-page .home-hero .solution-description {
    border-radius: 24px;
  }

  .home-page .home-hero .solution-slider {
    overflow: hidden;
  }

  .home-page .home-hero .solution-slider__controls {
    right: 8px;
    left: 8px;
  }

  .home-page .home-hero .solution-slider__controls button {
    width: 42px;
    height: 42px;
    font-size: 25px;
  }

  .home-page .home-hero .solution-description {
    position: static;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 20px;
    background: #fff;
    border-radius: 24px;
  }

  .home-page .home-hero .solution-description p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.3;
  }

  .home-page .home-hero .solution-description h3,
  .home-page .home-hero .solution-description span {
    display: block;
  }

  .home-page .home-hero .solution-description h3 {
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 1.15;
  }

  .home-page .home-hero .solution-description span {
    font-size: 16px;
    line-height: 1.45;
  }

  .home-page .home-directions,
  .home-page .home-contact {
    padding: 58px 16px;
  }

  .home-page .home-directions__head {
    margin-bottom: 28px;
  }

  .home-page .home-directions__head h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.08;
  }

  .home-page .home-directions__head > p:last-child {
    font-size: 17px;
    line-height: 1.5;
  }

  .home-page .home-directions__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .home-page .home-direction {
    min-height: 0;
    gap: 22px;
    padding: 24px;
    border-radius: 26px;
  }

  .home-page .home-direction h3 {
    font-size: 28px;
  }

  .home-page .home-direction p {
    font-size: 16px;
  }

  .home-page .home-contact {
    gap: 36px;
  }

  .home-page .home-contact__copy h2 {
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.08;
  }

  .home-page .home-contact__copy > p {
    font-size: 17px;
    line-height: 1.5;
  }

  .home-page .home-contact .contact-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .home-page .home-contact .contact-links a {
    width: 100%;
    min-height: 58px;
    padding: 14px 16px;
    font-size: 18px;
  }

  .home-page .home-contact .contact-form {
    gap: 24px;
    padding: 24px 20px;
    border-radius: 28px;
  }

  .home-page .home-contact .contact-form__intro {
    margin-bottom: 4px;
    font-size: 21px;
  }

  .home-page .home-contact .contact-form label:not(.consent-line) {
    gap: 12px;
  }

  .home-page .home-contact .contact-form input,
  .home-page .home-contact .contact-form textarea {
    min-height: 50px;
    padding: 12px 14px;
  }

  .home-page .home-contact .contact-form textarea {
    min-height: 132px;
  }

  .home-page .home-contact .contact-form .button {
    width: 100%;
    min-height: 58px;
    font-size: 18px;
  }

  .home-page .site-footer {
    padding: 0 16px 24px;
  }

  .home-page .site-footer__divider {
    margin: 42px 0;
  }

  .home-page .site-footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .home-page .site-footer__column {
    min-width: 0;
    font-size: 18px;
  }

  .home-page .site-footer__column h2 {
    font-size: 22px;
  }

  .home-page .site-footer__copyright {
    margin-top: 38px;
  }

  .home-page .site-footer__legal {
    flex-direction: column;
    gap: 8px;
  }

  .home-page .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .home-page .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    padding: 16px;
    overflow-y: auto;
    border-radius: 20px;
  }
}

@media (max-width: 359px) {
  .home-page .site-header .brand {
    padding: 0 10px;
  }

  .home-page .site-header .brand img {
    height: 22px;
  }

  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    padding-right: 16px;
    padding-left: 16px;
  }

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

/* Compact desktop composition for 1280px-class displays. */
@media (min-width: 1200px) and (max-width: 1320px) and (max-height: 800px) {
  .home-page .site-header {
    top: 34px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    min-height: 0;
    padding: 102px 42px 28px;
    gap: 28px;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .home-page .home-hero h1 {
    max-width: 620px;
    margin-bottom: 24px;
    font-size: 48px;
    line-height: 1.08;
  }

  .home-page .home-hero .hero-lead {
    max-width: 570px;
    font-size: 18px;
    line-height: 1.45;
  }

  .home-page .home-hero .hero-actions {
    gap: 14px;
    margin-top: 20px;
  }

  .home-page .home-hero .hero-actions .button {
    min-height: 58px;
    padding: 0 24px;
    font-size: 17px;
  }

  .home-page .home-hero .solution-slider__controls {
    right: 14px;
    left: 14px;
  }

  .home-page .home-hero .solution-slider__controls button {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .home-page .home-hero .solution-description {
    padding: 16px 20px;
  }

  .home-page .home-hero .solution-description p {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .home-page .home-hero .solution-description h3 {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.15;
  }

  .home-page .home-hero .solution-description span {
    font-size: 15px;
    line-height: 1.38;
  }
}

/* Full HD at 100%: match the visual proportions of browser zoom 90%. */
@media (min-width: 1800px) and (max-width: 1999px) and (min-height: 850px) and (max-height: 1100px) {
  .home-page main {
    padding-top: 36px;
  }

  .home-page .site-header:not(.is-sticky) {
    top: 79px;
    left: 140px;
    right: auto;
    min-height: 58px;
  }

  .home-page .site-header .header-primary,
  .home-page .site-header .brand,
  .home-page .site-header .nav {
    height: 58px;
  }

  .home-page .site-header .brand {
    padding: 0 16px 0 22px;
  }

  .home-page .site-header .brand img {
    height: 25px;
  }

  .home-page .site-header .nav {
    padding: 0 16px 0 9px;
  }

  .home-page .site-header .nav a,
  .home-page .site-header .nav-dropdown__trigger {
    min-height: 36px;
    padding: 0 13px;
    font-size: 18px;
  }

  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    min-height: 891px;
    padding: 137px 49px 50px;
    gap: 27px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 810px);
  }

  .home-page .home-hero {
    width: min(calc(100% - 176px), 1728px);
    margin-right: auto;
    margin-left: auto;
    border-radius: 50px;
  }

  .home-page .home-hero h1 {
    max-width: 594px;
    margin-bottom: 54px;
    font-size: 54px;
  }

  .home-page .home-hero .hero-lead {
    width: min(603px, 100%);
    max-width: 603px;
    font-size: 20px;
  }

  .home-page .home-hero .hero-actions {
    gap: 14px;
    margin-top: 27px;
  }

  .home-page .home-hero .hero-actions .button {
    min-height: 81px;
    padding: 0 31px;
    font-size: 20px;
  }

  .home-page .home-hero .hero-visual {
    width: min(100%, 810px);
  }

  .home-page .home-hero .solution-slider,
  .home-page .home-hero .solution-description {
    border-radius: 36px;
  }

  .home-page .home-hero .solution-description {
    padding: 22px 25px;
  }

  .home-page .home-hero .solution-description p {
    margin-bottom: 27px;
    font-size: 18px;
  }

  .home-page .home-hero .solution-description h3 {
    margin-bottom: 27px;
    font-size: 24px;
  }

  .home-page .home-hero .solution-description span {
    font-size: 16px;
  }

  .home-page .home-hero .solution-slider__controls {
    right: -25px;
    left: -25px;
  }

  .home-page .home-hero .solution-slider__controls button {
    width: 50px;
    height: 50px;
    font-size: 27px;
  }
}

/* QHD at 100%: match the visual proportions of browser zoom 110%. */
@media (min-width: 2400px) and (max-width: 2800px) and (min-height: 1100px) {
  .home-page main {
    padding-top: 44px;
  }

  .home-page .site-header:not(.is-sticky) {
    top: 97px;
    left: calc((100vw - 2112px) / 2 + 53px);
    right: auto;
    min-height: 70px;
  }

  .home-page .site-header .header-primary,
  .home-page .site-header .brand,
  .home-page .site-header .nav {
    height: 70px;
  }

  .home-page .site-header .brand {
    padding: 0 20px 0 26px;
  }

  .home-page .site-header .brand img {
    height: 31px;
  }

  .home-page .site-header .nav {
    padding: 0 20px 0 11px;
  }

  .home-page .site-header .nav a,
  .home-page .site-header .nav-dropdown__trigger {
    min-height: 44px;
    padding: 0 15px;
    font-size: 22px;
  }

  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    min-height: 1089px;
    padding: 167px 59px 62px;
    gap: 33px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 990px);
  }

  .home-page .home-hero {
    width: min(calc(100% - 433px), 2112px);
    margin-right: auto;
    margin-left: auto;
    border-radius: 62px;
  }

  .home-page .home-hero h1 {
    max-width: 726px;
    margin-bottom: 66px;
    font-size: 66px;
  }

  .home-page .home-hero .hero-lead {
    width: min(737px, 100%);
    max-width: 737px;
    font-size: 24px;
  }

  .home-page .home-hero .hero-actions {
    gap: 18px;
    margin-top: 33px;
  }

  .home-page .home-hero .hero-actions .button {
    min-height: 99px;
    padding: 0 37px;
    font-size: 24px;
  }

  .home-page .home-hero .hero-visual {
    width: min(100%, 990px);
    gap: 18px;
  }

  .home-page .home-hero .solution-slider,
  .home-page .home-hero .solution-description {
    border-radius: 44px;
  }

  .home-page .home-hero .solution-description {
    padding: 26px 31px;
  }

  .home-page .home-hero .solution-description p {
    margin-bottom: 33px;
    font-size: 22px;
  }

  .home-page .home-hero .solution-description h3 {
    margin-bottom: 33px;
    font-size: 30px;
  }

  .home-page .home-hero .solution-description span {
    font-size: 20px;
    max-width: 836px;
  }

  .home-page .home-hero .solution-slider__controls {
    right: -31px;
    left: -31px;
  }

  .home-page .home-hero .solution-slider__controls button {
    width: 62px;
    height: 62px;
    font-size: 33px;
  }

  .home-page .home-directions,
  .home-page .home-contact {
    padding: 130px max(70px, calc((100vw - 1980px) / 2));
  }

  .home-page .home-directions__head {
    margin-bottom: 37px;
  }

  .home-page .home-directions__head h2,
  .home-page .home-contact__copy h2 {
    font-size: 59px;
  }

  .home-page .home-directions__head > p:last-child {
    width: min(847px, 100%);
    max-width: 847px;
    font-size: 20px;
  }

  .home-page .home-directions__grid {
    gap: 18px;
  }

  .home-page .home-direction {
    min-height: 315px;
    gap: 29px;
    padding: 29px;
    border-radius: 35px;
  }

  .home-page .home-direction__icon {
    width: 46px;
    height: 46px;
  }

  .home-page .home-direction h3 {
    margin-bottom: 13px;
    font-size: 37px;
  }

  .home-page .home-direction p {
    font-size: 19px;
  }

  .home-page .home-direction strong {
    font-size: 17px;
  }

  .home-page .home-directions .home-direction strong {
    padding-top: 18px;
  }

  .home-page .home-direction strong b {
    font-size: 25px;
  }

  .home-page .home-contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 935px);
    gap: 46px;
  }

  .home-page .home-contact__copy > p {
    font-size: 25px;
  }

  .home-page .home-contact .contact-links {
    gap: 11px;
    margin-top: 31px;
  }

  .home-page .home-contact .contact-links a {
    width: min(100%, 330px);
    padding: 18px 22px;
    font-size: 24px;
  }

  .home-page .home-contact .contact-form {
    max-width: 935px;
    gap: 33px;
    padding: 46px;
    border-radius: 53px;
  }

  .home-page .home-contact .contact-form__intro {
    margin-bottom: 18px;
    font-size: 26px;
  }

  .home-page .home-contact .contact-form label,
  .home-page .home-contact .contact-form input,
  .home-page .home-contact .contact-form textarea,
  .home-page .home-contact .consent-line {
    font-size: 18px;
  }

  .home-page .home-contact .contact-form .button {
    font-size: 24px;
  }

  .home-page .site-footer {
    padding-right: 70px;
    padding-bottom: 35px;
    padding-left: 70px;
  }

  .home-page .site-footer__content {
    max-width: 1980px;
  }

  .home-page .site-footer__divider {
    margin: 70px 0;
  }

  .home-page .site-footer__top {
    gap: 44px 88px;
  }

  .home-page .site-footer__brand img {
    height: 62px;
  }

  .home-page .site-footer__column {
    gap: 13px;
    min-width: 209px;
    font-size: 24px;
  }

  .home-page .site-footer__column h2 {
    font-size: 26px;
  }

  .home-page .site-footer__copyright {
    margin-top: 53px;
    font-size: 15px;
  }

  .home-page .site-footer__legal {
    gap: 7px 26px;
    margin-top: 9px;
    font-size: 15px;
  }
}

/* Restored desktop Hero proportions. */
@media (min-width: 1200px) {
  .home-page .home-hero {
    width: calc(100% - 140px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 1800px) and (max-width: 2399px) {
  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    padding-right: 58px;
    padding-left: 58px;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 840px);
  }

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

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

  .home-page .home-hero .hero-actions .button {
    min-height: 90px;
    font-size: 22px;
  }

  .home-page .home-hero .hero-visual {
    width: min(100%, 840px);
  }
}

@media (min-width: 2400px) {
  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    padding-right: 64px;
    padding-left: 64px;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1020px);
  }

  .home-page .home-hero .hero-visual {
    width: min(100%, 1020px);
  }
}

/* Preserve the 40px outer gutter after the aspect-ratio refinements above. */
@media (min-width: 1024px) {
  .home-page .home-hero {
    width: calc(100% - 80px);
  }

  .home-page .site-header.is-sticky {
    left: 40px;
  }
}

@media (min-width: 1200px) {
  .home-page .site-header:not(.is-sticky) {
    left: calc(40px + clamp(28px, 4vw, 54px));
  }
}

@media (min-width: 1800px) and (max-width: 2399px) {
  .home-page .site-header:not(.is-sticky) {
    left: 98px;
  }
}

@media (min-width: 2400px) {
  .home-page .site-header:not(.is-sticky) {
    left: 104px;
  }
}

/* The repeated product section uses a 230px content-to-content rhythm. */
.home-page .home-products + .sast-grid-decoration--between + .home-directions {
  padding-top: 0;
}

/* Align the initial Hero header with the headline. */
@media (min-width: 1200px) {
  .home-page .site-header:not(.is-sticky) {
    left: calc(70px + clamp(28px, 4vw, 54px));
    right: auto;
  }
}

@media (min-width: 1800px) and (max-width: 2399px) {
  .home-page .site-header:not(.is-sticky) {
    left: 128px;
    min-height: 64px;
  }

  .home-page .site-header .header-primary,
  .home-page .site-header .brand,
  .home-page .site-header .nav {
    height: 64px;
  }

  .home-page .site-header .brand img {
    height: 28px;
  }

  .home-page .site-header .nav a,
  .home-page .site-header .nav-dropdown__trigger {
    min-height: 40px;
    font-size: 20px;
  }
}

@media (min-width: 2400px) {
  .home-page .site-header:not(.is-sticky) {
    left: 134px;
  }
}

/* Unified desktop page gutters. */
@media (min-width: 768px) {
  .section-pad {
    padding-right: 40px;
    padding-left: 40px;
  }

  .site-header {
    padding-right: 40px;
    padding-left: 40px;
  }

  .footer,
  .site-footer {
    padding-right: 40px;
    padding-left: 40px;
  }

  .home-page .home-directions,
  .home-page .home-contact {
    padding-right: 40px;
    padding-left: 40px;
  }

  .home-page .sast-grid-decoration--contacts {
    left: -40px;
  }

  .scroll-top {
    right: 40px;
  }
}

@media (min-width: 1024px) {
  .home-page .home-hero {
    width: calc(100% - 80px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .home-page .site-header.is-sticky {
    left: 40px;
  }
}

@media (min-width: 1200px) {
  .home-page .site-header:not(.is-sticky) {
    left: calc(40px + clamp(28px, 4vw, 54px));
  }
}

@media (min-width: 1800px) and (max-width: 2399px) {
  .home-page .site-header:not(.is-sticky) {
    left: 98px;
  }
}

@media (min-width: 2400px) {
  .home-page .site-header:not(.is-sticky) {
    left: 104px;
  }
}

/* 1920x1200 and similar 16:10 workspaces. */
@media (min-width: 1800px) and (max-width: 1999px) and (min-height: 1101px) and (max-height: 1300px) {
  .home-page main {
    padding-top: 36px;
  }

  .home-page .site-header:not(.is-sticky) {
    top: 70px;
    left: calc((100vw - 1800px) / 2 + 54px);
    right: auto;
  }

  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    min-height: 1020px;
    padding: 140px 54px 52px;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 900px);
  }

  .home-page .home-hero {
    width: min(calc(100% - 105px), 1800px);
    margin-right: auto;
    margin-left: auto;
    border-radius: 52px;
  }

  .home-page .home-hero h1 {
    max-width: 660px;
    margin-bottom: 50px;
    font-size: 60px;
  }

  .home-page .home-hero .hero-lead {
    width: min(670px, 100%);
    max-width: 670px;
    font-size: 22px;
  }

  .home-page .home-hero .hero-actions {
    margin-top: 28px;
  }

  .home-page .home-hero .hero-actions .button {
    min-height: 82px;
    padding: 0 32px;
    font-size: 21px;
  }

  .home-page .home-hero .hero-visual {
    width: min(100%, 900px);
  }

  .home-page .home-hero .solution-description p,
  .home-page .home-hero .solution-description h3 {
    margin-bottom: 24px;
  }

  .home-page .home-directions {
    padding-top: 100px;
  }
}

/* Keep the restored Hero geometry above viewport-specific refinements. */
@media (min-width: 1200px) {
  .home-page .home-hero {
    width: calc(100% - 140px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 1800px) and (max-width: 2399px) {
  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    padding-right: 58px;
    padding-left: 58px;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 840px);
  }

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

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

  .home-page .home-hero .hero-actions .button {
    min-height: 90px;
    font-size: 22px;
  }

  .home-page .home-hero .hero-visual {
    width: min(100%, 840px);
  }
}

@media (min-width: 2400px) {
  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    padding-right: 64px;
    padding-left: 64px;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1020px);
  }

  .home-page .home-hero .hero-visual {
    width: min(100%, 1020px);
  }
}

/* Final 40px outer gutter overrides. */
@media (min-width: 1024px) {
  .home-page .home-hero {
    width: calc(100% - 80px);
  }

  .home-page .site-header.is-sticky {
    left: 40px;
  }
}

@media (min-width: 1200px) {
  .home-page .site-header:not(.is-sticky) {
    left: calc(40px + clamp(28px, 4vw, 54px));
  }
}

@media (min-width: 1800px) and (max-width: 2399px) {
  .home-page .site-header:not(.is-sticky) {
    left: 98px;
  }
}

@media (min-width: 2400px) {
  .home-page .site-header:not(.is-sticky) {
    left: 104px;
  }
}

/* Consistent spacing below section heading blocks. */
body .section-head,
body .home-directions__head {
  margin-bottom: 40px !important;
}

/* РВДБС временно скрыт из навигации, но исходные страницы и материалы сохранены. */
a[href="/rvdbs"] {
  display: none !important;
}

/* Единый ритм между содержимым соседних разделов: 110 px + 110 px = 220 px. */
@media (min-width: 1024px) {
  main > section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 110px !important;
    padding-bottom: 110px !important;
  }
}

@media (max-width: 1023px) {
  .site-footer__contact-button {
    top: calc(clamp(40px, 6vw, 64px) + 71px);
    right: 32px;
    min-height: 68px;
    padding: 0 26px;
    font-size: 19px;
  }
}

@media (max-width: 767px) {
  .site-footer__contact-button {
    position: static;
    display: flex;
    width: calc(100% - 32px);
    min-height: 58px;
    margin: 32px 16px 0;
    padding: 0 18px;
    font-size: 17px;
  }
}

/* Scroll-driven services carousel. */
body.services-page.home-page .services-showcase {
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  min-height: calc(100vh + 920px);
  align-items: start;
  gap: clamp(28px, 4.5vw, 78px);
}

body.services-page.home-page .services-showcase__intro,
body.services-page.home-page .services-carousel__runner,
body.services-page.home-page .services-carousel__content {
  position: sticky;
  top: 128px;
}

body.services-page.home-page .services-showcase__intro {
  top: 184px;
}

body.services-page.home-page .services-carousel__content {
  top: 184px;
}

body.services-page.home-page .services-carousel__runner {
  display: block;
  width: 34px;
  height: min(670px, calc(100vh - 160px));
  min-height: 420px;
}

body.services-page.home-page .services-carousel__runner-rail,
body.services-page.home-page .services-carousel__runner-thumb {
  position: absolute;
  left: 50%;
  display: block;
  width: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
}

body.services-page.home-page .services-carousel__runner-rail {
  inset: 0 auto 0 50%;
  background: rgba(18, 135, 61, 0.16);
}

body.services-page.home-page .services-carousel__runner-thumb {
  top: 0;
  height: 132px;
  background: var(--green);
  box-shadow: 0 5px 16px rgba(18, 135, 61, 0.22);
  transform: translate(-50%, var(--services-carousel-runner-offset, 0px));
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

body.services-page.home-page .services-carousel__content {
  height: min(670px, calc(100vh - 210px));
  min-height: 420px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

body.services-page.home-page .services-carousel__panels {
  display: flex;
  height: 100%;
  flex-direction: column;
  transform: translateY(calc(var(--services-carousel-offset, 0px) * -1));
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.services-page.home-page .services-carousel__panel {
  flex: 0 0 100%;
  min-height: 0;
  height: 100%;
  justify-content: flex-start;
  padding: 0 4px 42px 0;
  background: transparent;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

body.services-page.home-page .services-carousel__panel + .services-carousel__panel {
  margin-top: -200px;
}

body.services-page.home-page .services-carousel__panel > span,
body.services-page.home-page .services-carousel__arrows {
  display: none;
}

body.services-page.home-page .services-carousel__panel h2 {
  margin: 0 0 14px;
}

body.services-page.home-page .services-carousel__panel p + p,
body.services-page.home-page .services-carousel__panel ul {
  margin-top: 8px;
}

body.services-page.home-page .services-carousel__panel p,
body.services-page.home-page .services-carousel__panel li {
  max-width: 760px;
}

body.services-page.home-page .services-showcase__grid {
  position: relative;
  left: calc(clamp(20px, 4vw, 64px) * -1);
  width: min(620px, calc(100% + clamp(20px, 4vw, 64px)));
  height: 290px;
  margin-top: 42px;
}

body.services-page.home-page .services-showcase__grid::before {
  clip-path: polygon(0 10%, 56% 0, 100% 22%, 92% 88%, 42% 100%, 0 76%);
  filter: saturate(1.7) contrast(1.35);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 68%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 68%, transparent 100%);
}

body.services-page.home-page .services-showcase__grid i {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  opacity: 0.3;
  animation: services-grid-plus-pulse 4.8s ease-in-out infinite;
}

body.services-page.home-page .services-showcase__grid i::before,
body.services-page.home-page .services-showcase__grid i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 99px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 5px rgba(18, 135, 61, 0.18);
  transform: translate(-50%, -50%);
}

body.services-page.home-page .services-showcase__grid i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

body.services-page.home-page .services-showcase__grid i:nth-child(1) { top: 19%; left: 18%; animation-delay: 0s; }
body.services-page.home-page .services-showcase__grid i:nth-child(2) { top: 42%; left: 44%; animation-delay: 0.4s; }
body.services-page.home-page .services-showcase__grid i:nth-child(3) { top: 20%; left: 71%; animation-delay: 0.8s; }
body.services-page.home-page .services-showcase__grid i:nth-child(4) { top: 68%; left: 29%; animation-delay: 1.2s; }
body.services-page.home-page .services-showcase__grid i:nth-child(5) { top: 61%; left: 61%; animation-delay: 1.6s; }
body.services-page.home-page .services-showcase__grid i:nth-child(6) { top: 82%; left: 82%; animation-delay: 2s; }
body.services-page.home-page .services-showcase__grid i:nth-child(7) { top: 39%; left: 89%; animation-delay: 2.4s; }
body.services-page.home-page .services-showcase__grid i:nth-child(8) { top: 84%; left: 9%; animation-delay: 2.8s; }

@keyframes services-grid-plus-pulse {
  0%, 12%, 100% {
    opacity: 0.3;
    transform: scale(0.98);
  }

  6% {
    opacity: 0.52;
    transform: scale(1.04);
  }
}

body.about-page.home-page .about-grid-decoration {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 0;
}

body.about-page.home-page .about-grid-decoration::before {
  position: absolute;
  width: min(470px, 40vw);
  height: 270px;
}

body.about-page.home-page .about-grid-decoration--expertise::before {
  top: 28px;
  left: calc(clamp(20px, 4vw, 64px) * -1);
  clip-path: polygon(0 14%, 48% 0, 100% 18%, 91% 86%, 40% 100%, 0 72%);
  -webkit-mask-image: radial-gradient(ellipse 84% 82% at 38% 48%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 82% at 38% 48%, #000 55%, transparent 100%);
}

body.about-page.home-page .about-grid-decoration--effect::before {
  top: 38px;
  right: calc(clamp(20px, 4vw, 64px) * -1);
  clip-path: polygon(34% 0, 100% 12%, 100% 88%, 60% 100%, 0 78%, 12% 28%);
  -webkit-mask-image: radial-gradient(ellipse 84% 82% at 72% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 82% at 72% 50%, #000 55%, transparent 100%);
}

@media (max-width: 1023px) {
  body.services-page.home-page .services-showcase {
    min-height: 0;
  }

  body.services-page.home-page .services-showcase__intro,
  body.services-page.home-page .services-carousel__content {
    position: static;
    height: auto;
    min-height: 0;
  }

  body.services-page.home-page .services-carousel__runner {
    display: none;
  }

  body.services-page.home-page .services-carousel__content {
    overflow: visible;
  }

  body.services-page.home-page .services-carousel__panels {
    height: auto;
    gap: 44px;
    transform: none !important;
  }

  body.services-page.home-page .services-carousel__panel {
    flex-basis: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    opacity: 1 !important;
  }

  body.services-page.home-page .services-carousel__panel + .services-carousel__panel {
    margin-top: 0;
  }
}
/* Generated corporate GIS background for the home hero. */
.home-page .home-hero.hero--image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0a171e;
}

.home-page .hero--image .hero-background-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
  filter: brightness(1.05) saturate(1.1) contrast(1.02);
}

.home-page .hero--image .hero-background-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-page .hero--image .hero-background-image__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 23, 19, 0.72) 0%, rgba(5, 23, 19, 0.43) 46%, rgba(5, 23, 19, 0.05) 100%),
    linear-gradient(0deg, rgba(10, 23, 30, 0.48) 0%, rgba(10, 23, 30, 0.14) 38%, rgba(10, 23, 30, 0) 72%);
}

.home-page .hero-network-animation {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.7;
  mix-blend-mode: screen;
}

.home-page .hero-network-animation svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-page .hero-network-animation__route {
  fill: none;
  stroke: rgba(64, 221, 244, 0.34);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 16 22;
  filter: drop-shadow(0 0 6px rgba(53, 218, 242, 0.62));
  animation: hero-route-glow 4.6s ease-in-out infinite;
}

.home-page .hero-network-animation__route--secondary {
  stroke-width: 1.6;
  opacity: 0.68;
  animation-delay: -2.1s;
}

.home-page .hero-network-animation__vehicle--cyan {
  fill: #72efff;
}

.home-page .hero-network-animation__vehicle--warm {
  fill: #ffd48f;
}

.home-page .hero-network-animation__halo {
  opacity: 0.18;
}

@keyframes hero-route-glow {
  0%, 100% {
    opacity: 0.38;
    stroke-dashoffset: 0;
  }

  50% {
    opacity: 0.82;
    stroke-dashoffset: -38;
  }
}

.home-page .hero--image > .hero-copy,
.home-page .hero--image > .hero-visual {
  position: relative;
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-network-animation {
    display: none;
  }
}

.home-page .hero--image .hero-copy h1,
.home-page .hero--image .hero-copy .hero-lead {
  color: #fff;
}

.home-page .hero--image .hero-copy .hero-title-highlight {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.42), 0 0 22px rgba(255, 255, 255, 0.16);
}

.home-page .hero--image .hero-copy .button.primary,
.home-page .hero--image .hero-copy .button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(5, 23, 19, 0.28);
  color: #fff;
  box-shadow: none;
}

.home-page .hero--image .hero-copy .button.primary:hover,
.home-page .hero--image .hero-copy .button.primary:focus-visible,
.home-page .hero--image .hero-copy .button.secondary:hover,
.home-page .hero--image .hero-copy .button.secondary:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

@media (min-width: 1024px) {
  .home-page .home-hero.hero--image {
    height: 880px;
    min-height: 880px;
    grid-template-columns: minmax(0, 800px) minmax(0, 1fr);
  }

  .home-page .home-hero h1,
  .home-page .home-hero .hero-lead {
    max-width: 800px;
  }

  .home-page .home-hero .hero-lead {
    width: min(800px, 100%);
  }

}
/* Temporary navigation visibility: restore by removing this rule. */
.nav > .nav-dropdown--wide,
.nav > a[href$="industries.html"] {
  display: none !important;
}

/* Services: align the introductory content with the About page. */
@media (min-width: 1024px) {
  body.services-page.home-page main > .services-hero {
    padding-top: 50px !important;
  }
}

/* Temporary home page visibility: restore by removing this rule. */
.home-directions {
  display: none !important;
}

/* Home products: large alternating media and description rows. */
.home-page .home-products .product-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.home-page .home-products .product-card {
  display: grid;
  grid-template-areas: "media content";
  grid-template-columns: minmax(0, 1fr) minmax(360px, 550px);
  min-height: 0;
  gap: 100px;
  align-items: center;
}

.home-page .home-products .product-card:nth-child(even) {
  grid-template-areas: "content media";
  grid-template-columns: minmax(360px, 550px) minmax(0, 1fr);
}

/* Product descriptions retain their intended desktop measure after reordering. */
.home-page .home-products .product-card.green {
  grid-template-columns: minmax(360px, 550px) minmax(0, 1fr);
}

.home-page .home-products .product-card.blue {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 550px);
}

.home-page .home-products .product-card > .responsive-media {
  grid-area: media;
  display: block;
  width: 100%;
  align-self: center;
  line-height: 0;
  box-shadow: none;
}

.home-page .home-products .product-card > .responsive-media > img {
  grid-area: media;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  min-height: 0;
  aspect-ratio: auto;
  align-self: center;
  object-fit: contain;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(20, 34, 30, 0.11);
  transition: transform 220ms ease, filter 220ms ease;
}

/* Routes uses the same media frame as the neighbouring product visuals. */
.home-page .home-products .product-card.blue > .responsive-media {
  aspect-ratio: 1920 / 1040;
  overflow: hidden;
  border-radius: 8px;
}

.home-page .home-products .product-card.blue > .responsive-media > img {
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Preserve the 40px page gutter for the visible SAST screenshot, not only its media frame. */
.home-page .home-products .product-card:first-child > .responsive-media > img {
  object-position: left center;
}

.home-page .home-products .product-card:nth-child(4) .product-card__actions {
  margin-top: 60px;
}

@media (max-width: 520px) {
  .home-page .home-products .product-card .product-card__actions {
    flex-wrap: wrap;
  }
}

.home-page .home-products .product-card:hover > .responsive-media > img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.008);
}

.home-page .home-products .product-card > div:not(.placeholder-visual) {
  grid-area: content;
  box-sizing: border-box;
  width: min(100%, 550px);
  min-height: 300px;
  min-width: 0;
  padding: 32px;
  justify-content: center;
  border-radius: 0;
}

.home-page .home-products .product-card.green > div:not(.placeholder-visual),
.home-page .home-products .product-card.blue > div:not(.placeholder-visual) {
  width: min(100%, 780px);
}

.home-page .home-products .product-card.green > div:not(.placeholder-visual) {
  grid-column: 1;
  justify-self: start;
  margin-left: 0 !important;
  padding-left: 0;
  transform: none !important;
}

@media (min-width: 1500px) {
  .home-page .home-products .product-card {
    grid-template-columns: minmax(0, 900px) minmax(360px, 550px);
    justify-content: start;
  }

  .home-page .home-products .product-card:nth-child(odd) {
    justify-content: start;
  }

  .home-page .home-products .product-card:nth-child(even) {
    grid-template-columns: minmax(360px, 550px) minmax(0, 900px);
    justify-content: end;
  }

  .home-page .home-products .product-card.green {
    grid-template-columns: minmax(360px, 550px) minmax(0, 1fr);
    justify-content: normal;
  }

  .home-page .home-products .product-card.green > .responsive-media {
    width: min(100%, 900px);
    justify-self: end;
  }

  .home-page .home-products .product-card.blue {
    grid-template-columns: minmax(0, 900px) minmax(360px, 550px);
  }

  .home-page .home-products .product-card.neutral > div:not(.placeholder-visual) {
    transform: translateX(-300px);
  }

}

@media (max-width: 1120px) {
  .home-page .home-products .product-card,
  .home-page .home-products .product-card:nth-child(even),
  .home-page .home-products .product-card.green,
  .home-page .home-products .product-card.blue {
    grid-template-areas:
      "media"
      "content";
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 0;
  }

  .home-page .home-products .product-card > .responsive-media > img {
    min-height: 0;
    aspect-ratio: auto;
  }

  .home-page .home-products .product-card > div:not(.placeholder-visual) {
    width: 100%;
    min-height: 0;
    padding: 26px;
  }

  .home-page .home-products .product-card:nth-child(2) h3 {
    width: auto;
  }

  .home-page .home-products .product-card p {
    width: min(790px, 100%);
    max-width: 100%;
  }

  .home-page .home-products .product-card .product-card__actions {
    width: min(650px, 100%);
    max-width: 100%;
  }
}

/* Home hero without the solution slider and its description. */
.home-page .home-hero,
.home-page main > .home-hero.section-pad:first-child {
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(520px, 68vh, 680px);
  gap: 0;
}

.home-page .home-hero .hero-visual {
  display: none;
}

.home-page .home-hero .hero-copy {
  width: min(100%, 780px);
  max-width: 780px;
  align-self: center;
}

@media (max-width: 620px) {
  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    min-height: auto;
  }
}

/* Unified viewport offset for the scroll-to-top control. */
.scroll-top,
.home-page .scroll-top {
  right: 40px;
  bottom: 40px;
}

/* Standalone contacts page reuses the home page header, contact section and footer. */
body.contacts-page.home-page,
body.contacts-page.home-page main {
  background: #fff;
}

body.contacts-page.home-page .contacts-page-main {
  padding-top: 130px;
}

@media (min-width: 1024px) {
  body.contacts-page.home-page .contacts-page-main {
    padding-top: 94px;
  }

  body.contacts-page.home-page .contacts-page-main > .company-info:first-child {
    padding-top: 50px !important;
  }

  body.about-page.home-page main > .about-page:first-child {
    padding-top: 50px !important;
  }
}

body.contacts-page.home-page .site-header.is-sticky {
  top: 30px;
  left: 40px;
  right: auto;
  transform: none;
}

body.contacts-page.home-page .home-contact {
  margin-bottom: 0;
  padding-bottom: calc(180px - clamp(40px, 6vw, 64px));
}

body.contacts-page.home-page .company-info h1 {
  margin: 0 0 40px;
  font-size: clamp(42px, 3.1vw, 54px);
}

body.contacts-page.home-page .company-info__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 850px);
  gap: clamp(44px, 6vw, 112px);
  align-items: stretch;
  max-width: none;
}

body.contacts-page.home-page .company-info__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 620px;
}

body.contacts-page.home-page .company-info__content section {
  min-width: 0;
}

body.contacts-page.home-page .company-info h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 20px;
}

body.contacts-page.home-page .company-info p,
body.contacts-page.home-page .company-info a {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

body.contacts-page.home-page .company-info a:hover,
body.contacts-page.home-page .company-info a:focus-visible {
  color: var(--green);
}

body.contacts-page.home-page .company-info__content section:last-child p + p {
  margin-top: 18px;
}

body.contacts-page.home-page .company-info__map-area {
  position: relative;
  width: 100%;
  max-width: 850px;
  justify-self: end;
}

body.contacts-page.home-page .company-info__map {
  width: 100%;
  min-height: 0;
  aspect-ratio: 85 / 56;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 40px;
  background: #f7f8fc;
}

body.contacts-page.home-page .company-info__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

body.contacts-page.home-page .company-info__map-decoration {
  position: absolute;
  z-index: 0;
  top: -124px;
  right: -40px;
  width: min(620px, 78%);
  height: 280px;
}

body.contacts-page.home-page .company-info__map-decoration::before {
  clip-path: polygon(20% 0, 86% 10%, 100% 48%, 76% 100%, 24% 84%, 0 38%);
  -webkit-mask-image: radial-gradient(ellipse 83% 80% at 64% 52%, #000 53%, transparent 100%);
  mask-image: radial-gradient(ellipse 83% 80% at 64% 52%, #000 53%, transparent 100%);
}

@media (min-width: 1024px) and (max-width: 1500px) {
  body.contacts-page.home-page .company-info__layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 55%);
  }
}

@media (max-width: 1023px) {
  body.contacts-page.home-page .site-header.is-sticky {
    top: 20px;
    left: 24px;
    right: 24px;
  }

  body.contacts-page.home-page .contacts-page-main {
    padding-top: 136px;
  }

  body.contacts-page.home-page .home-contact {
    padding-bottom: calc(180px - clamp(40px, 6vw, 64px));
  }

  body.contacts-page.home-page .company-info__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  body.contacts-page.home-page .company-info__content {
    max-width: none;
  }

  body.contacts-page.home-page .company-info__map,
  body.contacts-page.home-page .company-info__map iframe {
    min-height: 0;
  }

  body.contacts-page.home-page .company-info__map {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 10;
  }

  body.contacts-page.home-page .company-info__map-area {
    max-width: none;
  }

  body.contacts-page.home-page .company-info__map-decoration {
    right: -20px;
  }
}

@media (max-width: 620px) {
  body.contacts-page.home-page .site-header.is-sticky {
    top: 12px;
    left: 12px;
    right: 12px;
  }

}

/* Главная: финальное выравнивание внутри фонового баннера. */
@media (min-width: 768px) {
  .home-page .home-hero,
  .home-page main > .home-hero.section-pad:first-child {
    padding-left: 40px !important;
  }

  .home-page .site-header:not(.is-sticky) {
    left: calc(clamp(16px, 3vw, 40px) + 40px) !important;
    transform: none !important;
  }
}

@media (min-width: 1200px) {
  .home-page .site-header:not(.is-sticky) {
    left: max(80px, calc((100vw - 1920px) / 2 + 40px)) !important;
  }
}

@media (min-width: 768px) {
  .home-page .site-header:not(.is-sticky) {
    top: calc(clamp(16px, 3vw, 40px) + 40px) !important;
  }
}

@media (min-width: 1200px) {
  .home-page .site-header:not(.is-sticky) {
    top: 80px !important;
  }
}

/* Home banner frame: keep its outer geometry identical to the GIS page hero. */
body.home-index-page main {
  padding-top: 0;
}

body.home-index-page .home-hero {
  margin: 40px 16px 0;
  border-radius: 2rem;
}

/* Детальные страницы в визуальной системе главной страницы. */
body.unified-page,
body.unified-page main,
body.unified-page main > section,
body.unified-page .muted {
  background: #fff;
}

body.unified-page .section-head h1,
body.unified-page .section-head h2 {
  max-width: 1180px;
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

body.unified-page .section-head.compact h2 {
  font-size: clamp(34px, 3.6vw, 54px);
}

body.unified-page .section-head > p:not(.eyebrow) {
  max-width: 980px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

body.intellectual-property-page .intellectual-property-hero .section-head > p {
  width: min(1300px, 100%);
  max-width: 1300px;
  margin-top: 40px;
  font-size: clamp(16px, 1.18vw, 19px);
}

body.intellectual-property-page .intellectual-property-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.intellectual-property-page .intellectual-property-hero .section-head {
  position: relative;
  z-index: 1;
}

body.gis-process-automation-page .gis-process-automation-hero {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
}

body.gis-process-automation-page .gis-process-automation-hero .section-head {
  position: relative;
  z-index: 1;
  max-width: 1160px;
}

body.gis-process-automation-page .gis-process-automation-hero h1 {
  max-width: 1160px;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

body.gis-process-automation-page .gis-process-automation-hero .section-head > p {
  width: min(1300px, 100%);
  max-width: 1300px;
  margin-top: 40px;
  font-size: clamp(16px, 1.18vw, 19px);
}

.gis-process-automation-grid-decoration {
  position: absolute;
  z-index: 0;
  top: 22px;
  right: -40px;
  width: min(470px, 38vw);
  height: 290px;
}

.gis-process-automation-grid-decoration::before {
  clip-path: polygon(26% 0, 100% 10%, 91% 88%, 46% 100%, 0 73%, 9% 22%);
  -webkit-mask-image: radial-gradient(ellipse 82% 80% at 74% 49%, #000 53%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 80% at 74% 49%, #000 53%, transparent 100%);
}

.intellectual-property-grid-decoration {
  position: absolute;
  z-index: 0;
  top: 22px;
  right: -40px;
  width: min(470px, 38vw);
  height: 290px;
}

.intellectual-property-grid-decoration::before {
  clip-path: polygon(26% 0, 100% 10%, 91% 88%, 46% 100%, 0 73%, 9% 22%);
  -webkit-mask-image: radial-gradient(ellipse 82% 80% at 74% 49%, #000 53%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 80% at 74% 49%, #000 53%, transparent 100%);
}

body.corporate-infrastructure-page .corporate-infrastructure-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .section-head,
body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary {
  position: relative;
  z-index: 1;
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .section-head {
  max-width: 1160px;
}

body.corporate-infrastructure-page .corporate-infrastructure-hero h1 {
  max-width: 1160px;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .section-head > p {
  width: min(1300px, 100%);
  max-width: 1300px;
  margin-top: 40px;
  font-size: clamp(16px, 1.18vw, 19px);
}

.corporate-infrastructure-grid-decoration {
  position: absolute;
  z-index: 0;
  top: 22px;
  right: -40px;
  width: min(470px, 38vw);
  height: 290px;
}

.corporate-infrastructure-grid-decoration::before {
  clip-path: polygon(26% 0, 100% 10%, 91% 88%, 46% 100%, 0 73%, 9% 22%);
  -webkit-mask-image: radial-gradient(ellipse 82% 80% at 74% 49%, #000 53%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 80% at 74% 49%, #000 53%, transparent 100%);
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary {
  width: 100%;
  max-width: none;
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary div,
body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary div:hover {
  min-height: 250px;
  padding: 26px;
  background-color: #1b322a;
  background-position: center;
  background-size: cover;
  border: 0;
  border-radius: 40px;
  box-shadow: none;
  transition: none;
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary__card--closed-contour {
  background-image: linear-gradient(rgba(10, 34, 28, 0.56), rgba(10, 34, 28, 0.56)), url("assets/media/corporate-summary-map-base.webp");
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary__card--integrations {
  background-image: linear-gradient(rgba(10, 34, 28, 0.54), rgba(10, 34, 28, 0.54)), url("assets/media/corporate-summary-map-satellite.webp");
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary__card--support {
  background-image: linear-gradient(rgba(10, 34, 28, 0.48), rgba(10, 34, 28, 0.48)), url("assets/media/corporate-summary-map-topographic.webp");
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary strong {
  margin-bottom: 12px;
  color: #fff;
  font-size: 28px;
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.45;
}

body.corporate-infrastructure-page .corporate-infrastructure-hero .b2b-summary div:hover {
  transform: none;
  box-shadow: none;
}

body.corporate-infrastructure-page .b2b-capabilities-section .section-head h2 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

body.corporate-infrastructure-page .b2b-capabilities-section .b2b-grid article {
  min-height: 260px;
  padding: 26px;
  background: #f7f8fc;
  border: 0;
  border-radius: 40px;
  box-shadow: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body.corporate-infrastructure-page .b2b-capabilities-section .b2b-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(20, 34, 30, 0.11);
}

body.corporate-infrastructure-page .b2b-capabilities-section .b2b-grid .b2b-grid__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

body.corporate-infrastructure-page .b2b-capabilities-section .b2b-grid__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.corporate-infrastructure-page .b2b-capabilities-section .b2b-grid h2 {
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 1.12;
}

body.corporate-infrastructure-page .b2b-capabilities-section .b2b-grid p {
  font-size: 18px;
  line-height: 1.42;
}

body.corporate-infrastructure-page .b2b-process-section .section-head h2 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

body.corporate-infrastructure-page .b2b-process-section .b2b-timeline {
  gap: clamp(28px, 3.5vw, 58px);
}

body.corporate-infrastructure-page .b2b-process-section .b2b-timeline > div {
  position: relative;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.corporate-infrastructure-page .b2b-process-section .b2b-timeline > div:hover {
  transform: none;
  border: 0;
  box-shadow: none;
}

body.corporate-infrastructure-page .b2b-process-section .b2b-timeline span {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--green);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

body.corporate-infrastructure-page .b2b-process-section .b2b-timeline h2 {
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

body.corporate-infrastructure-page .b2b-process-section .b2b-timeline p {
  max-width: 350px;
  font-size: 18px;
  line-height: 1.42;
}

body.corporate-infrastructure-page .b2b-cta {
  display: block;
  width: auto;
  margin-right: clamp(20px, 4vw, 64px);
  margin-left: clamp(20px, 4vw, 64px);
  padding: clamp(40px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(5, 25, 21, 0.84), rgba(8, 35, 30, 0.68)),
    url("assets/media/hero-gis-background-enhanced-green-v2.png") center / cover no-repeat;
  border: 0;
  border-radius: 32px;
  box-shadow: none;
}

body.corporate-infrastructure-page .b2b-cta h2 {
  max-width: 1160px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

body.corporate-infrastructure-page .b2b-cta p {
  width: min(1300px, 100%);
  max-width: 1300px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
}

@media (min-width: 1181px) {
  body.corporate-infrastructure-page .b2b-process-section .b2b-timeline > div:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -16px;
    width: 64px;
    color: var(--green);
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    transform: translateY(-50%);
    animation: corporate-process-arrow-pulse 2.4s ease-in-out infinite;
  }

  body.corporate-infrastructure-page .b2b-process-section .b2b-timeline > div:nth-child(2)::after {
    animation-delay: 0.45s;
  }

  body.corporate-infrastructure-page .b2b-process-section .b2b-timeline > div:nth-child(3)::after {
    animation-delay: 0.9s;
  }
}

@keyframes corporate-process-arrow-pulse {
  0%, 18%, 100% {
    transform: translateY(-50%) scale(1);
  }

  8% {
    transform: translateY(-50%) scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.corporate-infrastructure-page .b2b-process-section .b2b-timeline > div::after {
    animation: none !important;
  }
}

body.gis-process-automation-page .gis-process-automation-benefits__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.55fr);
  gap: clamp(42px, 6vw, 104px);
  align-items: start;
}

body.gis-process-automation-page .gis-process-automation-benefits {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.gis-process-automation-benefits-decoration {
  position: absolute;
  z-index: 0;
  top: 500px;
  left: -40px;
  width: min(440px, 34vw);
  height: 270px;
}

.gis-process-automation-benefits-decoration::before {
  clip-path: polygon(0 12%, 57% 0, 100% 25%, 88% 88%, 45% 100%, 0 72%);
  -webkit-mask-image: radial-gradient(ellipse 82% 80% at 26% 52%, #000 53%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 80% at 26% 52%, #000 53%, transparent 100%);
}

body.gis-process-automation-page .gis-process-automation-benefits .section-head h2 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

body.gis-process-automation-page .gis-process-automation-benefits .effect-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 240px;
}

body.gis-process-automation-page .gis-process-automation-benefits .effect-grid article {
  min-height: 0;
  padding: 24px;
  background: #f7f8fc;
  border: 0;
  border-radius: 28px;
  box-shadow: none;
  transform: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body.gis-process-automation-page .gis-process-automation-benefits .effect-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(20, 34, 30, 0.11);
}

body.gis-process-automation-page .gis-process-automation-benefits .effect-grid span {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 36px;
  line-height: 1;
}

body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) .section-head h2 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) .effect-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 270px;
}

body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) .effect-steps div {
  min-height: 0;
  padding: 24px;
  background: #f7f8fc;
  border: 0;
  border-radius: 28px;
  box-shadow: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) .effect-steps div:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(20, 34, 30, 0.11);
}

body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) .effect-steps .effect-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) .effect-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.gis-process-automation-page .effect-cta {
  display: block;
  width: auto;
  margin-right: clamp(20px, 4vw, 64px);
  margin-left: clamp(20px, 4vw, 64px);
  padding: clamp(40px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(5, 25, 21, 0.84), rgba(8, 35, 30, 0.68)),
    url("assets/media/hero-gis-background-enhanced-green-v2.png") center / cover no-repeat;
  border: 0;
  border-radius: 32px;
  box-shadow: none;
}

body.gis-process-automation-page .effect-cta h2 {
  max-width: 1160px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

body.gis-process-automation-page .effect-cta p {
  width: min(1300px, 100%);
  max-width: 1300px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .gis-process-automation-benefits-decoration {
    display: none;
  }

  body.gis-process-automation-page .gis-process-automation-benefits__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) .effect-steps {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

@media (max-width: 600px) {
  body.gis-process-automation-page .gis-process-automation-benefits .effect-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  body.gis-process-automation-page .gis-process-automation-benefits .effect-grid article {
    min-height: 220px;
  }

  body.gis-process-automation-page .effect-cta h2 {
    font-size: clamp(34px, 9vw, 44px);
  }

  body.corporate-infrastructure-page .b2b-cta h2 {
    font-size: clamp(34px, 9vw, 44px);
  }
}

@media (min-width: 1024px) {
  body.corporate-infrastructure-page .b2b-cta {
    margin-top: 150px !important;
    margin-right: 40px !important;
    margin-bottom: 150px !important;
    margin-left: 40px !important;
  }

  body.corporate-infrastructure-page main {
    padding-top: 94px;
  }

  body.corporate-infrastructure-page .corporate-infrastructure-hero {
    padding-top: 50px !important;
  }

  body.gis-process-automation-page .gis-process-automation-benefits {
    padding-top: 50px !important;
  }

  body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) {
    padding-top: 110px !important;
    padding-bottom: 110px !important;
  }

  body.gis-process-automation-page .effect-cta {
    margin-top: 150px !important;
    margin-right: 40px !important;
    margin-bottom: 150px !important;
    margin-left: 40px !important;
  }

  body.gis-process-automation-page main {
    padding-top: 94px;
  }

  body.gis-process-automation-page .gis-process-automation-hero {
    padding-top: 50px !important;
    padding-bottom: 60px !important;
  }

  body.intellectual-property-page .intellectual-property-hero {
    padding-bottom: 60px !important;
  }

  body.intellectual-property-page .ip-section {
    padding-top: 20px !important;
  }
}

@media (min-width: 640px) {
  body.home-index-page .home-hero {
    margin-right: 24px;
    margin-left: 24px;
    border-radius: 2.5rem;
  }
}

@media (min-width: 1024px) {
  body.home-index-page .home-hero {
    width: calc(100% - 80px);
    max-width: none;
    margin: 40px auto 0 !important;
    border-radius: 3.5rem;
  }
}

/* Mobile layout corrections. These rules intentionally do not affect desktop. */
@media (max-width: 767px) {
  /* Keep the home header within the visual bounds of the hero banner. */
  body.home-index-page .site-header,
  body.home-index-page .site-header.is-sticky {
    top: 56px !important;
    right: 32px !important;
    left: 32px !important;
  }

  body.home-index-page .site-header .nav {
    top: 126px !important;
    right: 32px !important;
    left: 32px !important;
  }

  /* The products submenu remains usable after the mobile menu is opened. */
  .home-page .site-header .nav-dropdown.is-open .nav-dropdown__menu {
    display: grid !important;
  }

  /* Keep copy blocks to one consistent mobile measure. */
  .home-page .section-head,
  .home-page .section-head > p,
  .home-page .home-products .product-card > div:not(.placeholder-visual),
  .home-page .home-products .product-card p {
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-page .home-products .section-head h2 {
    font-size: clamp(30px, 8.5vw, 36px);
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Keep the requested word on a separate line without changing the desktop heading. */
  .home-products-title__mobile-break {
    display: inline;
  }

  /* Align the product copy with the section heading on narrow screens. */
  .home-page .home-products .product-card.red > div:not(.placeholder-visual),
  .home-page .home-products .product-card.blue > div:not(.placeholder-visual),
  .home-page .home-products .product-card.neutral > div:not(.placeholder-visual) {
    padding-right: 0;
    padding-left: 0;
  }

  .home-page .home-products .product-card.neutral > div:not(.placeholder-visual) {
    transform: none !important;
  }

  /* On small screens the presentation link wraps below the first action. */
  .home-page .home-products .product-card .product-card__actions {
    row-gap: 8px;
  }

  /* The hidden details link leaves the SRVDBS presentation action with extra space above it. */
  .home-page .home-products .product-card:nth-child(4) .product-card__actions {
    margin-top: 30px;
  }

  /* The intermediate directions section is hidden, so its former desktop gap is unnecessary. */
  .home-page .home-products {
    margin-bottom: 64px;
  }

  /* Do not crop product screenshots when cards become a single column. */
  .home-page .home-products .product-card.blue > .responsive-media {
    aspect-ratio: auto;
    overflow: visible;
  }

  .home-page .home-products .product-card.blue > .responsive-media > img {
    height: auto;
    object-fit: contain;
  }

  /* Long headings must start below the fixed header and wrap by words. */
  body.unified-page main {
    padding-top: 94px;
  }

  body.unified-page .section-head h1,
  body.corporate-infrastructure-page .corporate-infrastructure-hero h1,
  body.gis-process-automation-page .gis-process-automation-hero h1 {
    font-size: clamp(34px, 9vw, 40px) !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.about-page.home-page .about-highlights .section-head h2 {
    font-size: clamp(30px, 8.5vw, 36px);
    line-height: 1.1;
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Keep the About-page introduction compact and wrap its title by whole words. */
  body.about-page.home-page .about-page.section-pad {
    padding-top: 20px;
  }

  body.about-page.home-page .about-page h1 {
    font-size: clamp(26px, 7.7vw, 30px);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Use one mobile title scale and baseline for the related detail pages. */
  body.gis-process-automation-page .gis-process-automation-benefits .section-head h2,
  body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) .section-head h2,
  body.gis-process-automation-page .effect-cta h2,
  body.intellectual-property-page .intellectual-property-hero h1,
  body.corporate-infrastructure-page .corporate-infrastructure-hero h1,
  body.corporate-infrastructure-page .b2b-section .section-head h2,
  body.corporate-infrastructure-page .b2b-cta h2 {
    font-size: clamp(26px, 7.7vw, 30px) !important;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.gis-process-automation-page .gis-process-automation-benefits,
  body.corporate-infrastructure-page .corporate-infrastructure-hero {
    padding-top: 20px !important;
  }

  /* Separate the corporate hero from its capabilities section on mobile. */
  body.corporate-infrastructure-page .b2b-capabilities-section {
    padding-top: 48px;
  }

  body.corporate-infrastructure-page .b2b-capabilities-section .b2b-grid h2 {
    font-size: clamp(22px, 6.2vw, 24px);
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.corporate-infrastructure-page .b2b-process-section .b2b-timeline h2 {
    font-size: clamp(22px, 6.2vw, 24px);
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.gis-process-automation-page .gis-process-automation-benefits .effect-grid h3,
  body.gis-process-automation-page .effect-section:not(.gis-process-automation-benefits) .effect-steps h3 {
    font-size: clamp(22px, 6.2vw, 24px);
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.gis-process-automation-page .gis-process-automation-benefits__layout {
    gap: 16px;
  }

  body.gis-process-automation-page .gis-process-automation-benefits .section-head {
    margin-bottom: 0 !important;
  }

  /* Certificates become a swipeable carousel instead of a long single-column list. */
  body.intellectual-property-page .ip-carousel__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }

  body.intellectual-property-page .ip-carousel__counter {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
  }

  body.intellectual-property-page .ip-carousel__controls {
    display: flex;
    gap: 8px;
  }

  body.intellectual-property-page .ip-carousel__control {
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  body.intellectual-property-page .ip-carousel__control:disabled {
    opacity: 0.42;
    cursor: default;
  }

  body.intellectual-property-page .ip-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.intellectual-property-page .ip-grid::-webkit-scrollbar {
    display: none;
  }

  body.intellectual-property-page .ip-card {
    flex: 0 0 100%;
    min-height: 0;
    scroll-snap-align: start;
  }

  body.intellectual-property-page .ip-card img {
    object-fit: contain;
    background: #f7f8fc;
  }

  body.intellectual-property-page .intellectual-property-hero {
    padding-bottom: 64px !important;
  }

  /* Match the contacts-page title to the mobile home-hero title baseline. */
  body.contacts-page.home-page .contacts-page-main {
    padding-top: 124px;
  }

  body.contacts-page.home-page .company-info h1 {
    font-size: clamp(34px, 9.5vw, 40px);
    line-height: 1.04;
  }
}

/* Keep this page aligned with the shared mobile header and type scale. */
@media (max-width: 767px) {
  body.web-systems-page main {
    padding-top: 0 !important;
  }

  body.web-systems-page .site-header,
  body.web-systems-page .site-header.is-sticky {
    top: 12px !important;
    right: 12px !important;
    left: 12px !important;
    display: flex !important;
    min-height: 54px;
    justify-content: space-between;
  }

  body.web-systems-page .site-header .header-primary {
    display: flex;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    height: 54px;
    flex: 0 0 auto !important;
  }

  body.web-systems-page .site-header .brand {
    height: 54px;
  }

  body.web-systems-page .site-header .menu-button {
    display: flex !important;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 32px rgba(27, 50, 42, .18);
  }

  body.web-systems-page .site-header .menu-button span {
    width: 20px;
    height: 2px;
    margin: 0;
    background: var(--ink);
  }

  body.web-systems-page .site-header .nav {
    position: fixed;
    top: 76px;
    right: 12px;
    left: 12px;
    z-index: 55;
    display: none;
    width: auto;
    height: auto;
    max-height: calc(100vh - 88px);
    padding: 12px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(27, 50, 42, .18);
  }

  body.web-systems-page .site-header .nav.is-open {
    display: flex !important;
  }

  body.web-systems-page .web-systems-hero {
    width: 100%;
    max-width: 100%;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden;
    padding: 86px 20px 32px !important;
  }

  body.web-systems-page .web-systems-hero__copy,
  body.web-systems-page .system-preview,
  body.web-systems-page .system-preview__content,
  body.web-systems-page .system-preview__body,
  body.web-systems-page .system-preview__map,
  body.web-systems-page .system-preview__stats {
    min-width: 0;
    max-width: 100%;
  }

  body.web-systems-page .system-preview {
    width: 100%;
    background: transparent;
    box-shadow: none;
  }

  body.web-systems-page .web-systems-hero__copy h1 {
    font-size: clamp(30px, 8.2vw, 34px) !important;
    line-height: 1.06 !important;
  }

  body.web-systems-page .web-systems-hero__copy > p:not(.eyebrow) {
    margin: 18px 0 20px;
    font-size: 15.5px;
    line-height: 1.48;
  }

  body.web-systems-page .system-preview {
    min-height: 214px;
  }

  body.web-systems-page .system-preview__content {
    padding: 12px;
  }

  body.web-systems-page .system-preview__topline {
    padding-bottom: 12px;
  }

  body.web-systems-page .system-preview__body {
    gap: 10px;
    margin-top: 12px;
  }

  body.web-systems-page .system-preview__map {
    min-height: 112px;
  }

  body.web-systems-page .system-preview__chart {
    min-height: 62px;
    padding: 10px;
  }

  body.web-systems-page .section-head h2,
  body.web-systems-page .web-systems-cta h2 {
    font-size: clamp(28px, 8vw, 32px) !important;
    line-height: 1.08 !important;
  }

  body.web-systems-page .web-systems-result article {
    padding-right: 0;
    padding-left: 0;
    text-align: left;
  }
}

/* Mobile rhythm and type scale for the services page. */
@media (max-width: 767px) {
  body.services-page.home-page main > .services-hero {
    padding-top: 20px !important;
  }

  body.services-page.home-page .services-hero h1 {
    font-size: clamp(26px, 7.7vw, 30px) !important;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.services-page.home-page .services-hero .section-head p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.5;
  }

  body.services-page.home-page .services-hero__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 14px 16px;
    margin-top: 22px;
  }

  body.services-page.home-page .services-hero__points span {
    min-width: 0;
    align-items: flex-start;
    gap: 6px;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
  }

  body.services-page.home-page .services-hero__points svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
  }

  body.services-page.home-page .section-head h2,
  body.services-page.home-page .service-process .section-head h2,
  body.services-page.home-page .technologies-section h2 {
    font-size: clamp(26px, 7.7vw, 30px) !important;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.services-page.home-page .service-card h2,
  body.services-page.home-page .service-process .b2b-timeline h2 {
    font-size: clamp(22px, 6.2vw, 24px) !important;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
  }
}
