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

:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-soft: #fbfbfb;
  --text: #111111;
  --muted: #5a5a5a;
  --navy: #11316c;
  --charcoal: #252525;
  --accent: #ffb707;
  --accent-deep: #ff8f00;
  --outline: rgba(17, 49, 108, 0.12);
  --shadow: 0 18px 40px rgba(17, 28, 44, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 40px));
  --header-offset: 116px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 22px);
}

#form {
  scroll-margin-top: calc(var(--header-offset) + 22px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    #fbfbfb url("assets/site-bg-main-optimized.jpg") center top / 100% auto repeat-y;
}

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

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

button,
input {
  font: inherit;
}

.page-shell {
  overflow: hidden;
  padding-top: var(--header-offset);
}

.section {
  width: var(--container);
  margin: 0 auto;
}

.section--narrow {
  max-width: 1080px;
}

.section--pattern {
  position: relative;
}

.section--pattern::before {
  content: "";
  position: absolute;
  inset: -30px -120px;
  background:
    radial-gradient(circle at 88% 14%, rgba(17, 49, 108, 0.06), transparent 18%),
    radial-gradient(circle at 10% 80%, rgba(255, 183, 7, 0.08), transparent 10%);
  pointer-events: none;
  z-index: -1;
}

.section-heading {
  margin: 0 0 28px;
  font-size: clamp(1.65rem, 2.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  text-transform: uppercase;
}

.section-heading--compact {
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.section-heading--accent {
  color: var(--accent-deep);
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.materials__heading-line {
  display: block;
}

.materials__heading {
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.18;
  text-transform: none;
}

.materials__heading .materials__heading-line {
  white-space: nowrap;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.46) 45%, transparent 70%);
  pointer-events: none;
  transform: translateX(-130%);
  transition: transform 620ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(255, 143, 0, 0.24);
}

.button:hover::after {
  transform: translateX(130%);
}

.button--small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.82rem;
}

.button--ghost {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid rgba(17, 49, 108, 0.16);
  box-shadow: none;
}

.button--wide {
  width: 100%;
  border-radius: 0;
}

.site-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.site-header {
  position: relative;
  width: calc(100% - 20px);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 24px 92px;
  border: 1px solid rgba(17, 49, 108, 0.14);
  border-radius: 0 0 42px 42px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(17, 28, 44, 0.04);
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
}

.site-nav--right {
  justify-self: end;
  justify-content: flex-end;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
  opacity: 0.84;
  transition: opacity 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0;
}

.brand img {
  width: min(100%, 360px);
}

.brand--footer {
  width: 240px;
  margin-bottom: 18px;
}

.brand--header {
  position: absolute;
  left: 50%;
  top: calc(50% - 4px);
  width: 228px;
  transform: translate(-50%, -50%);
}

.button--header {
  min-width: 164px;
  padding-inline: 20px;
  position: relative;
  left: 72px;
  box-shadow: none;
  justify-self: end;
}

.hero {
  padding: 56px 0 34px;
  text-align: center;
}

.hero__content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(17, 49, 108, 0.54);
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.95rem, 5.6vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero__lead {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 1.18rem;
  line-height: 1.62;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 840px);
  margin: 34px auto 0;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 218px;
  padding: 66px 22px 18px;
  overflow: hidden;
  border-radius: 0 60px 0 60px;
  background: var(--surface);
  box-shadow: 0 18px 38px rgba(17, 28, 44, 0.09);
}

.feature-card__tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: auto;
}

.feature-card__content {
  display: grid;
  flex: 1;
  grid-template-columns: auto auto;
  gap: 6px;
  align-items: center;
  align-content: center;
  justify-content: center;
  transform: translateY(-20px);
}

.feature-card strong {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  font-size: clamp(2.35rem, 3.2vw, 3.15rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: #272727;
}

.feature-card strong::after {
  content: "";
  width: 11px;
  height: 11px;
  margin-left: 6px;
  margin-bottom: 1px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.feature-card p {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #2d2d2d;
  text-align: center;
}

.feature-card:first-child p {
  white-space: nowrap;
}

.feature-card--accent {
  background: linear-gradient(180deg, #ffbf08 0%, #ffb300 100%);
}

.feature-card--accent strong::after {
  background: #ffffff;
}

.brick-wall {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(3, 42px);
  gap: 8px;
}

.brick-wall span {
  display: block;
  width: 42px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent) 0%, #f7a700 100%);
}

.partners {
  position: relative;
  padding: 30px 0 72px;
}

.partners__tiles {
  position: absolute;
  left: calc((100vw - var(--container)) / -2);
  top: 0;
  width: 310px;
  height: auto;
  transform: none;
  pointer-events: none;
}

.partners__list {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 700;
  justify-items: center;
}

.partners__list li {
  text-align: center;
}

.partners__list span {
  margin-right: 12px;
  color: var(--accent-deep);
  font-family: "Teko", sans-serif;
  font-size: 1.5rem;
  vertical-align: middle;
}

.materials {
  padding: 18px 0 90px;
  text-align: center;
}

.materials__groups {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.materials__group {
  padding: 12px;
  border-radius: 20px;
  background: #161616;
}

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

.material-card {
  position: relative;
  min-height: 132px;
  padding: 18px 68px 14px 20px;
  border-radius: var(--radius-sm);
  background: #242424;
  color: #f4f4f4;
  text-align: left;
  box-shadow: var(--shadow);
}

.material-card::after {
  content: "↗";
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffcf2f;
  color: var(--charcoal);
  font-size: 1.18rem;
  font-weight: 500;
}

.material-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.18;
}

.material-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.42;
}

.materials__steps-wrap {
  position: relative;
  max-width: 1120px;
  margin: 0 auto 30px;
}

.materials__steps {
  --materials-step-index-width: 44px;
  --materials-step-gap: 14px;
  display: grid;
  position: relative;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.materials__steps::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: calc(var(--materials-step-index-width) + (var(--materials-step-gap) / 2));
  width: 1px;
  background: rgba(107, 107, 107, 0.4);
}

.materials__steps p {
  position: relative;
  display: grid;
  grid-template-columns: var(--materials-step-index-width) 1fr;
  align-items: center;
  gap: var(--materials-step-gap);
  margin: 0;
  padding: 14px 0;
  color: var(--muted);
  line-height: 1.3;
}

.materials__steps p:first-child::before,
.materials__steps p:last-child::after {
  content: "";
  position: absolute;
  left: calc(var(--materials-step-index-width) + (var(--materials-step-gap) / 2) - 5px);
  width: 10px;
  height: 10px;
  border: 2px solid #5d9dff;
  border-radius: 50%;
  background: #ffffff;
}

.materials__steps p:first-child::before {
  top: 14px;
}

.materials__steps p:last-child::after {
  bottom: 14px;
}

.materials__step-index {
  display: inline-block;
  justify-self: center;
  color: rgba(17, 49, 108, 0.45);
  font-family: "Teko", sans-serif;
  font-size: 1.28rem;
  line-height: 1;
}

.materials__step-text {
  text-align: center;
  color: #4b4b4b;
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.materials__step-text strong {
  color: #3f3f3f;
  font-weight: 800;
}

.materials__steps-accent {
  position: absolute;
  right: calc((100vw - var(--container)) / -2);
  top: 70px;
  width: 230px;
  height: auto;
  transform: translate(-100%, 100%) rotate(180deg);
  transform-origin: top right;
  pointer-events: none;
}

.steps {
  padding: 8px 0 84px;
}

.steps .section-heading {
  margin-bottom: 70px;
}

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

.step-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(17, 49, 108, 0.14);
  border-radius: 12px;
  background: #ffffff;
  font-size: 0.93rem;
  font-weight: 700;
}

.step-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 183, 7, 0.18);
  color: var(--accent-deep);
  font-family: "Teko", sans-serif;
  font-size: 1.3rem;
}

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

.step-card {
  display: flex;
  align-items: flex-start;
  min-height: 220px;
  padding: 26px 22px;
  border: 1px solid #e7e7e7;
  border-radius: 7px 7px 50px 7px;
  background: #ffffff;
  box-shadow: none;
  color: #161616;
}

.step-card--accent {
  background: #ffb907;
  border-color: transparent;
  border-radius: 50px 7px 7px 7px;
  color: #ffffff;
}

.step-card h3 {
  margin: 0 0 14px;
  font-size: 1.12rem;
}

.step-card p {
  margin: 0;
  font-size: clamp(1.06rem, 1.38vw, 1.34rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: inherit;
  opacity: 1;
}

.contact-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  max-width: 860px;
  margin: 76px auto 0;
  padding-bottom: 42px;
}

.contact-bar__action {
  position: relative;
  width: max-content;
}

.contact-bar__note {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  margin: 0;
  width: max-content;
  font-size: 0.76rem;
  line-height: 1.3;
  text-align: center;
  color: rgba(22, 22, 22, 0.72);
  transform: translateX(-50%);
}

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

.form-feedback {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 10px 24px rgba(17, 28, 44, 0.08);
}

.form-feedback[data-status] {
  display: inline-flex;
}

.form-feedback[data-status="pending"] {
  color: #5a4a1f;
  background: rgba(255, 243, 207, 0.95);
  border-color: rgba(247, 181, 0, 0.28);
}

.form-feedback[data-status="success"] {
  color: #1f6b2d;
  background: rgba(241, 255, 243, 0.96);
  border-color: rgba(48, 140, 62, 0.24);
}

.form-feedback[data-status="error"] {
  color: #a52d21;
  background: rgba(255, 242, 240, 0.98);
  border-color: rgba(181, 42, 27, 0.2);
}

.contact-bar__action .form-feedback {
  position: absolute;
  top: calc(100% + 28px);
  left: 50%;
  width: 340px;
  max-width: calc(100vw - 40px);
  transform: translateX(-50%);
}

.contact-bar input,
.lead-form__box input {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(17, 49, 108, 0.16);
  background: #ffffff;
  color: var(--text);
}

.contact-bar input {
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.comparison {
  width: min(1040px, calc(100% - 40px));
  padding: 12px 0 66px;
}

.comparison .section-heading {
  margin-bottom: 68px;
  font-size: clamp(1.18rem, 1.52vw, 1.68rem);
}

.comparison__heads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 20px;
  column-gap: 200px;
  margin: 0 auto 30px;
}

.comparison__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 164px;
  padding: 28px 36px;
  border-radius: 34px;
  border: 2px solid #f7b500;
  background: #ffffff;
  font-size: clamp(1.85rem, 3vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
}

.comparison__head.comparison__head--plain {
  position: relative;
  display: block;
  align-self: center;
  min-height: 0;
  border: 0;
  background: none;
  border-radius: 0;
  padding: 0;
  line-height: 0;
}

.comparison__head--plain-frame {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.comparison__head.comparison__head--accent {
  position: relative;
  display: block;
  align-self: center;
  min-height: 0;
  border: 0;
  background: none;
  color: #14203b;
  border-radius: 0;
  padding: 0;
  text-align: left;
  line-height: 0;
}

.comparison__head--accent-frame {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.comparison__head-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  font-size: clamp(1rem, 1.34vw, 1.26rem);
  font-weight: 600;
  line-height: 1.08;
  text-align: center;
}

.comparison__head-label.comparison__head-label--plain {
  justify-content: center;
  text-align: center;
}

.comparison__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 20px;
  column-gap: 200px;
}

.comparison__item {
  min-height: 136px;
  padding: 22px 28px;
  border-radius: 34px;
  border: 2px solid #f7b500;
  background: #ffffff;
  color: #17233d;
}

.comparison__item--light {
  display: flex;
  align-items: center;
  align-self: center;
  min-height: 80px;
  padding: 8px 22px 8px 42px;
  border: 0;
  border-radius: 0;
  background: center / 100% 100% no-repeat url("assets/comparison-right-frame-transparent.png");
  overflow: hidden;
}

.comparison__item.comparison__item--light p {
  width: 100%;
  font-size: clamp(0.9rem, 1.08vw, 1.08rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.comparison__item.comparison__item--light .comparison__line {
  display: block;
}

.comparison__item.comparison__item--light .comparison__line--nowrap {
  white-space: nowrap;
}

.comparison__heads > .comparison__head:last-child {
  border-radius: 999px;
}

.comparison__grid > .comparison__item:nth-child(even) {
  display: flex;
  align-items: center;
  align-self: center;
  min-height: 80px;
  padding: 8px 22px 8px 42px;
  border: 0;
  border-radius: 0;
  background: center / 100% 100% no-repeat url("assets/comparison-right-frame-transparent.png");
  overflow: hidden;
}

.comparison__item.comparison__item--dark {
  position: relative;
  display: block;
  align-self: center;
  min-height: 80px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #ffffff;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.comparison__item.comparison__item--dark .comparison__item--dark-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.comparison__item.comparison__item--dark p {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  margin: 0;
  padding: 8px 16px 8px 30px;
  font-size: clamp(0.9rem, 1.08vw, 1.08rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.comparison__item.comparison__item--dark .comparison__line {
  display: block;
}

.comparison__item.comparison__item--dark .comparison__line--nowrap {
  white-space: nowrap;
}

.comparison__item p {
  margin: 0;
  font-size: clamp(1.2rem, 1.75vw, 1.55rem);
  line-height: 1.36;
  color: inherit;
  opacity: 1;
}

.comparison__item strong {
  font-weight: 800;
}

.comparison__item--light strong {
  font-weight: 700;
}

.comparison__item.comparison__item--dark strong {
  font-weight: 700;
}

.approach {
  padding: 8px 0 68px;
}

.approach .section-heading {
  margin-bottom: 44px;
  font-size: clamp(1.34rem, 2.2vw, 2.08rem);
  line-height: 1.06;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 74px;
}

.approach-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: start;
}

.approach-card__tiles {
  position: absolute;
  left: -264px;
  top: 116px;
  width: 250px;
  height: auto;
  pointer-events: none;
  z-index: -1;
}

.approach-card__number {
  position: relative;
  display: block;
  min-width: 108px;
  padding-left: 4px;
  font-size: clamp(3.7rem, 5.2vw, 5.3rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.075em;
  color: #2d2d2d;
}

.approach-card__number::before {
  content: "";
  position: absolute;
  left: -20px;
  bottom: -30px;
  width: 74px;
  height: 72px;
  background: center / 100% 100% no-repeat url("assets/approach-number-bg-transparent.png");
  z-index: -1;
}

.approach-card h3 {
  margin: 0 0 12px;
  color: #17233d;
  font-size: clamp(1.18rem, 1.9vw, 1.72rem);
  font-weight: 800;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.approach-card p {
  margin: 0;
  max-width: 400px;
  color: #3f3f46;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.project {
  padding: 92px 0 78px;
}

.project__lead {
  margin: 0 0 18px;
  color: #111111;
  font-size: clamp(1.34rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-align: center;
  transform: translateY(-75px);
}

.project__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  margin: 0 0 28px;
  font-size: clamp(2.8rem, 6.9vw, 7.45rem);
  font-weight: 800;
  line-height: 0.83;
  letter-spacing: -0.06em;
  text-align: left;
  text-transform: uppercase;
}

.project__heading-accent {
  color: var(--accent);
}

.project__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  align-items: stretch;
}

.project__slides {
  position: relative;
  overflow: visible;
}

.project__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(46px);
  transition: opacity 520ms ease, transform 520ms ease;
  pointer-events: none;
}

.project__slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
  pointer-events: auto;
}

.project__slide.is-prev {
  opacity: 0;
  transform: translateX(-46px);
  z-index: 1;
  pointer-events: none;
}

.project-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-self: stretch;
  overflow: visible;
  border-radius: 40px 40px 0 0;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 28, 44, 0.08);
}

.project-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  min-height: 116px;
  padding: 22px 28px 18px;
}

.project-card h3 {
  margin: 0;
  color: #262626;
  max-width: 540px;
  font-size: clamp(0.98rem, 1.08vw, 1.2rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-align: left;
}

.project-card__meta {
  min-width: 190px;
  color: #272727;
  font-size: 0.82rem;
  line-height: 1.12;
}

.project-card__meta p + p {
  margin-top: 2px;
}

.project-card__meta p {
  margin: 0;
}

.project-card__gallery {
  position: relative;
}

.project-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1027 / 725;
  object-fit: cover;
}

.project-card__gallery-button {
  position: absolute;
  top: 50%;
  right: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffc51a 0%, #ffb300 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(255, 179, 0, 0.3);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card__gallery-button span {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.project-card__gallery-button:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 16px 28px rgba(255, 179, 0, 0.34);
}

.project-card__side-button {
  position: absolute;
  top: 50%;
  right: -88px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #333333;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
}

.project-card__side-button span {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.project-card__body {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 44px;
  height: 100%;
  padding: 36px 34px 42px;
  background: linear-gradient(180deg, #ffc51a 0%, #ffb300 100%);
  color: #ffffff;
}

.project-card__column h4 {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.project-card__column p {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.trust {
  padding: 8px 0 78px;
  text-align: center;
}

.trust__caption {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.trust-card {
  min-height: 172px;
  padding: 28px 24px;
  border-radius: 0 0 28px 28px;
  text-align: left;
}

.trust-card--dark {
  background: #2a2a2a;
  color: #ffffff;
}

.trust-card--accent {
  background: linear-gradient(180deg, #ffc51a 0%, #ffb300 100%);
}

.trust-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.trust-card p {
  margin: 0;
  line-height: 1.65;
  opacity: 0.82;
}

.lead-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 18px 0 26px;
}

.lead-form__bricks {
  position: absolute;
  left: -208px;
  top: 189px;
  width: 304px;
  height: auto;
  pointer-events: none;
}

.lead-form__content {
  position: relative;
  z-index: 1;
}

.lead-form .section-heading {
  margin-bottom: 16px;
  font-size: clamp(1.46rem, 1.92vw, 2rem);
  line-height: 1.1;
  transform: translateX(111px);
}

.lead-form__text {
  max-width: 820px;
  margin: 0 auto 54px;
  color: var(--muted);
  font-size: clamp(0.9rem, 0.98vw, 1rem);
  line-height: 1.3;
  text-align: center;
  transform: translateX(111px);
}

.lead-form__box {
  display: grid;
  gap: 16px;
  width: min(100%, 542px);
  margin: 0 auto;
  padding: 46px 68px 40px;
  transform: translateX(111px);
  background:
    linear-gradient(180deg, #ffbf0d 0%, #ffb200 100%);
  box-shadow: 0 18px 40px rgba(255, 179, 0, 0.18);
}

.lead-form__box input {
  border: 0;
  border-radius: 0;
  min-height: 39px;
  padding: 0 14px;
  font-size: 0.84rem;
  box-shadow: none;
}

.lead-form__box input::placeholder {
  color: #787878;
}

.lead-form__box .button {
  min-height: 31px;
  border-radius: 0;
  border: 3px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: none;
}

.lead-form__box .button:disabled {
  opacity: 0.8;
  cursor: wait;
}

.lead-form__box .button:hover {
  transform: none;
  box-shadow: none;
  opacity: 1;
}

.lead-form__box .form-feedback {
  justify-self: center;
  width: 100%;
  max-width: 100%;
  margin-top: 6px;
  border-radius: 0;
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: none;
}

.lead-form__box .form-feedback[data-status="pending"] {
  color: rgba(17, 49, 108, 0.88);
  background: rgba(255, 247, 224, 0.96);
  border-color: rgba(255, 255, 255, 0.45);
}

.lead-form__box .form-feedback[data-status="success"] {
  color: #11316c;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
}

.lead-form__box .form-feedback[data-status="error"] {
  color: #8d1f00;
  background: rgba(255, 241, 236, 0.96);
  border-color: rgba(255, 255, 255, 0.42);
}

.lead-form__robot {
  position: relative;
  --robot-x: 6px;
  --robot-y: 58px;
  width: 258px;
  align-self: end;
  justify-self: end;
  transform: translate(var(--robot-x), var(--robot-y));
}

.lead-form__robot::after {
  content: none;
}

.lead-form__robot img {
  width: 100%;
}

.brick-wall--bottom {
  left: -20px;
  top: 48px;
}

.site-footer {
  padding: 10px 0 36px;
  background: transparent;
}

.site-footer__card {
  display: grid;
  width: min(1128px, calc(100% - 72px));
  grid-template-columns: minmax(250px, 0.9fr) minmax(160px, 0.6fr) minmax(460px, 1.6fr);
  gap: 18px 32px;
  align-items: start;
  padding: 18px 24px 22px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
}

.site-footer__brand {
  display: grid;
  align-content: start;
  position: relative;
  left: 20px;
}

.site-footer__logo {
  display: block;
  width: min(100%, 276px);
  margin-bottom: 24px;
}

.site-footer__line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.site-footer__line p {
  margin: 0;
  color: var(--navy);
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.site-footer__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.site-footer__icon-image,
.site-footer__social-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__links,
.site-footer__contacts {
  align-content: start;
  margin-top: 30px;
}

.site-footer__links {
  display: grid;
}

.site-footer__contacts {
  min-width: 0;
}

.site-footer__people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__person {
  min-width: 0;
}

.site-footer__person-heading {
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--navy);
}

.site-footer__person-heading h3 {
  margin: 0;
  color: #151515;
  font-size: clamp(1.32rem, 1.7vw, 1.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.site-footer__person-heading p {
  margin: 3px 0 0;
  color: #747474;
  font-size: clamp(0.78rem, 0.92vw, 0.9rem);
  font-style: italic;
  line-height: 1.1;
  white-space: nowrap;
}

.site-footer__links h3,
.site-footer__contacts h3 {
  margin: 0 0 20px;
  color: #2f2f2f;
  font-size: clamp(1.08rem, 1.34vw, 1.3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.site-footer__links a {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.site-footer__contact {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin: 0 0 6px;
  color: #3a3a3a;
  font-size: clamp(0.8rem, 0.95vw, 0.96rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.site-footer__contact .site-footer__icon {
  width: 18px;
  height: 18px;
  margin-top: 0;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffc51a 0%, #ffb300 100%);
  box-shadow: 0 10px 18px rgba(255, 179, 0, 0.24);
}

.site-footer__social-icon {
  width: 24px;
  height: 24px;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

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

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes decorativeDrift {
  0%,
  100% {
    transform: translate(var(--drift-x, 0), var(--drift-y, 0)) rotate(var(--drift-rotate, 0deg));
  }

  50% {
    transform:
      translate(
        calc(var(--drift-x, 0) + var(--drift-float-x, 10px)),
        calc(var(--drift-y, 0) + var(--drift-float-y, -12px))
      )
      rotate(calc(var(--drift-rotate, 0deg) + var(--drift-float-rotate, -1.5deg)));
  }
}

@keyframes robotFloat {
  0%,
  100% {
    transform: translate(var(--robot-x), var(--robot-y)) rotate(0deg);
  }

  50% {
    transform: translate(var(--robot-x), calc(var(--robot-y) - 12px)) rotate(-1.2deg);
  }
}

.site-header {
  animation: headerDrop 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__content {
  animation: heroRise 780ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.partners__tiles,
.approach-card__tiles,
.lead-form__bricks,
.materials__steps-accent {
  animation: decorativeDrift 7.5s ease-in-out infinite;
  will-change: transform;
}

.partners__tiles {
  --drift-x: 0px;
  --drift-y: 0px;
  --drift-float-x: 14px;
  --drift-float-y: -10px;
}

.approach-card__tiles {
  --drift-x: 0px;
  --drift-y: 0px;
  --drift-float-x: -10px;
  --drift-float-y: 12px;
  --drift-float-rotate: 1deg;
}

.lead-form__bricks {
  --drift-x: 0px;
  --drift-y: 0px;
  --drift-float-x: 12px;
  --drift-float-y: -14px;
}

.materials__steps-accent {
  --drift-x: -100%;
  --drift-y: 100%;
  --drift-rotate: 180deg;
  --drift-float-x: -8px;
  --drift-float-y: 12px;
  --drift-float-rotate: -2deg;
}

.lead-form__robot {
  animation: robotFloat 5.8s ease-in-out infinite;
  will-change: transform;
}

.feature-card,
.material-card,
.step-pill,
.step-card,
.approach-card,
.project-card,
.site-footer__socials a {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.feature-card:hover,
.material-card:hover,
.step-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(17, 28, 44, 0.13);
}

.step-pill:hover,
.site-footer__socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(255, 179, 0, 0.28);
}

.project-card__gallery {
  overflow: visible;
}

.project-card__image {
  transition:
    opacity 260ms ease,
    filter 260ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card__gallery:hover .project-card__image {
  transform: scale(1.018);
}

.project-card__image.is-switching {
  opacity: 0.45;
  filter: blur(5px);
  transform: scale(1.03);
}

@media (max-width: 1240px) {
  .site-header {
    position: static;
    gap: 18px;
    padding: 22px 18px;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.92rem;
  }

  .site-footer__card {
    width: min(100%, calc(100% - 40px));
    grid-template-columns: minmax(230px, 0.9fr) minmax(150px, 0.6fr) minmax(430px, 1.6fr);
    gap: 18px 28px;
    padding: 16px 22px 20px;
  }

  .site-footer__logo {
    width: min(100%, 274px);
    margin-bottom: 24px;
  }

  .site-footer__line {
    gap: 14px;
  }

  .site-footer__icon {
    width: 22px;
    height: 22px;
  }

  .site-footer__links h3,
  .site-footer__contacts h3 {
    margin-bottom: 18px;
    font-size: clamp(1.02rem, 1.34vw, 1.18rem);
  }

  .site-footer__links a {
    margin-bottom: 10px;
    font-size: clamp(0.94rem, 1.08vw, 1.02rem);
  }

  .site-footer__contact {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 7px;
    margin-bottom: 6px;
    font-size: clamp(0.79rem, 0.98vw, 0.92rem);
  }

  .site-footer__contact .site-footer__icon {
    width: 18px;
    height: 18px;
  }

  .site-footer__socials {
    gap: 10px;
    margin-top: 18px;
  }

  .site-footer__socials a {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .site-footer__social-icon {
    width: 22px;
    height: 22px;
  }

  .brand--header {
    position: static;
    left: auto;
    top: auto;
    width: 200px;
    transform: none;
  }

  .button--header {
    position: static;
    left: auto;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-offset: 104px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    border-radius: 0 0 30px 30px;
  }

  .site-nav--right {
    display: none;
  }

  .brand--header {
    width: 190px;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .brick-wall--left,
  .brick-wall--bottom {
    display: none;
  }

  .partners__tiles {
    display: none;
  }

  .hero__cards,
  .materials__grid,
  .steps__cards,
  .trust__grid,
  .site-footer__card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .materials__group {
    padding: 10px;
  }

  .materials__steps {
    --materials-step-index-width: 42px;
    --materials-step-gap: 12px;
    max-width: 100%;
  }

  .materials__steps-wrap {
    max-width: 100%;
  }

  .materials__steps-accent {
    width: 144px;
  }

  .materials__steps p {
    padding: 12px 0;
  }

  .materials__step-text {
    font-size: clamp(1rem, 2vw, 1.32rem);
  }

  .comparison__heads,
  .comparison__grid {
    gap: 22px;
  }

  .comparison__head {
    min-height: 132px;
    padding: 24px 26px;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
  }

  .comparison__head--accent {
    min-height: 0;
    padding: 0;
  }

  .comparison__head-label {
    padding: 0 34px 0 36px;
  }

  .comparison__item {
    min-height: 0;
    padding: 28px 26px;
  }

  .comparison__item--light {
    align-self: center;
    min-height: 108px;
    padding: 16px 24px;
  }

  .comparison__item.comparison__item--light .comparison__line--nowrap {
    white-space: normal;
  }

  .comparison__item.comparison__item--dark {
    min-height: 108px;
  }

  .comparison__item.comparison__item--dark p {
    padding: 16px 24px;
  }

  .comparison__grid > .comparison__item:nth-child(even) {
    align-self: center;
    min-height: 108px;
    padding: 16px 24px;
    border: 0;
    border-radius: 0;
  }

  .comparison__item p {
    font-size: clamp(1.02rem, 1.85vw, 1.24rem);
  }

  .approach {
    padding-bottom: 68px;
  }

  .approach .section-heading {
    margin-bottom: 36px;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
  }

  .approach__grid {
    gap: 44px 40px;
  }

  .approach-card {
    grid-template-columns: 96px 1fr;
    gap: 16px;
  }

  .approach-card__tiles {
    left: -174px;
    top: 126px;
    width: 206px;
  }

  .approach-card__number {
    min-width: 96px;
    font-size: clamp(3.6rem, 5.6vw, 4.9rem);
  }

  .approach-card__number::before {
    left: -20px;
    bottom: -28px;
    width: 64px;
    height: 62px;
  }

  .approach-card h3 {
    margin-bottom: 10px;
    font-size: clamp(1.04rem, 1.8vw, 1.42rem);
  }

  .approach-card p {
    max-width: 320px;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
  }

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

  .project__grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .project__slides {
    overflow: hidden;
  }

  .project__heading {
    align-items: center;
    gap: 0;
    text-align: center;
  }

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

  .project-card__meta {
    min-width: 0;
  }

  .lead-form__bricks {
    left: -10px;
    top: 152px;
    width: 228px;
  }

.lead-form__robot {
    --robot-x: 0px;
    --robot-y: 0px;
    width: 176px;
    margin: 0 auto;
    transform: translate(var(--robot-x), var(--robot-y));
  }

  .lead-form__box {
    transform: none;
  }

  .lead-form .section-heading,
  .lead-form__text {
    transform: none;
  }

  .hero__cards {
    gap: 18px;
  }

  .feature-card {
    min-height: 200px;
    padding: 68px 22px 24px;
  }

  .feature-card__tab {
    width: 68px;
  }

  .feature-card__content {
    gap: 6px;
  }

  .feature-card p {
    font-size: clamp(1rem, 1.9vw, 1.28rem);
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 28px, 1000px);
    --header-offset: 184px;
  }

  .site-header-wrap {
    padding-top: 0;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 26px 14px;
    border-radius: 0 0 28px 28px;
  }

  .site-nav,
  .site-nav--right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    text-align: center;
  }

  .site-nav a {
    flex: 0 1 auto;
  }

  .partners__list,
  .comparison__heads,
  .comparison__grid,
  .approach__grid,
  .site-footer__card {
    grid-template-columns: 1fr;
  }

  .partners__list {
    display: grid;
    gap: 10px;
  }

  .site-footer {
    padding-bottom: 42px;
  }

  .site-footer__card {
    width: 100%;
    gap: 34px;
    padding: 18px 18px 22px;
  }

  .site-footer__logo {
    width: min(100%, 280px);
    margin-bottom: 28px;
  }

  .site-footer__links h3,
  .site-footer__contacts h3 {
    margin-bottom: 18px;
  }

  .site-footer__links a {
    margin-bottom: 12px;
  }

  .site-footer__socials {
    margin-top: 24px;
  }

  .approach {
    padding-bottom: 58px;
  }

  .approach .section-heading {
    margin-bottom: 28px;
    font-size: clamp(1.2rem, 4vw, 1.72rem);
  }

  .approach__grid {
    gap: 32px;
  }

  .approach-card {
    grid-template-columns: 84px 1fr;
    gap: 14px;
  }

  .approach-card__tiles {
    left: -58px;
    top: 136px;
    width: 160px;
  }

  .approach-card__number {
    min-width: 84px;
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .approach-card__number::before {
    left: -20px;
    bottom: -27px;
    width: 56px;
    height: 54px;
  }

  .approach-card h3 {
    margin-bottom: 8px;
    font-size: clamp(1rem, 4.2vw, 1.32rem);
  }

  .approach-card p {
    max-width: none;
    font-size: clamp(0.9rem, 3.1vw, 1rem);
    line-height: 1.4;
  }

  .comparison__heads {
    margin-bottom: 24px;
  }

  .comparison__head {
    min-height: 110px;
    border-radius: 28px;
  }

  .comparison__head--accent {
    min-height: 0;
    border-radius: 0;
    padding: 0;
  }

  .comparison__head-label {
    padding: 0 28px 0 30px;
  }

  .comparison__item {
    border-radius: 28px;
  }

  .comparison__item--light {
    align-self: center;
    min-height: 104px;
    padding: 16px 22px;
    border: 0;
    border-radius: 0;
  }

  .comparison__item.comparison__item--light .comparison__line--nowrap {
    white-space: normal;
  }

  .comparison__item.comparison__item--dark {
    min-height: 104px;
  }

  .comparison__item.comparison__item--dark p {
    padding: 16px 22px;
  }

  .comparison__item.comparison__item--dark .comparison__line--nowrap {
    white-space: normal;
  }

  .comparison__grid > .comparison__item:nth-child(even) {
    align-self: center;
    min-height: 104px;
    padding: 16px 22px;
    border: 0;
    border-radius: 0;
  }

  .hero {
    padding-top: 36px;
  }

  .hero__cards,
  .materials__grid,
  .steps__tabs,
  .steps__cards,
  .trust__grid {
    grid-template-columns: 1fr;
  }

  .materials__groups {
    gap: 12px;
  }

  .materials__group {
    padding: 8px;
  }

  .materials__steps {
    --materials-step-index-width: 34px;
    --materials-step-gap: 10px;
  }

  .materials__steps-accent {
    display: none;
  }

  .materials__steps p {
    padding: 12px 0;
  }

  .materials__step-index {
    font-size: 1.14rem;
  }

  .materials__step-text {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .hero__cards {
    gap: 18px;
  }

  .feature-card {
    min-height: 190px;
    padding: 64px 20px 22px;
  }

  .feature-card__content {
    gap: 6px;
  }

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

  .project-card {
    border-radius: 28px 28px 0 0;
  }

  .project-card__top {
    display: grid;
    gap: 14px 18px;
    align-items: start;
    min-height: 0;
    padding: 20px 18px 16px;
  }

  .project-card__gallery-button {
    right: 18px;
    width: 46px;
    height: 46px;
  }

  .project-card__side-button {
    display: none;
  }

  .project-card__body {
    gap: 24px;
    padding: 24px 14px 26px;
  }

  .project-card h3 {
    max-width: none;
    font-size: 1rem;
  }

  .project-card__meta {
    font-size: 0.82rem;
  }

  .project-card__column h4 {
    margin-bottom: 14px;
    font-size: 0.78rem;
  }

  .project-card__column p {
    font-size: 0.62rem;
    line-height: 1.14;
  }
}

@media (max-width: 560px) {
  :root {
    --header-offset: 196px;
  }

  .site-header {
    width: calc(100% - 20px);
    padding-inline: 12px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: center;
  }

  .site-nav--right {
    display: none;
  }

  .site-nav a:last-child {
    grid-column: 1 / -1;
  }

  .brand--header {
    width: min(100%, 210px);
  }

  .button--header {
    min-width: 0;
    width: 100%;
  }

  .site-footer {
    padding-bottom: 32px;
  }

  .site-footer__logo {
    width: min(100%, 240px);
    margin-bottom: 22px;
  }

  .site-footer__line {
    gap: 12px;
  }

  .site-footer__icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }

  .site-footer__line p {
    font-size: 0.98rem;
  }

  .site-footer__links h3,
  .site-footer__contacts h3 {
    margin-bottom: 16px;
    font-size: 1.22rem;
  }

  .site-footer__links a {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .site-footer__contact {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 5px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    letter-spacing: -0.045em;
  }

  .site-footer__contact .site-footer__icon {
    width: 16px;
    height: 16px;
  }

  .site-footer__people {
    gap: 14px;
  }

  .site-footer__person-heading h3 {
    font-size: 1.5rem;
  }

  .site-footer__person-heading p {
    font-size: 0.78rem;
  }

  .site-footer__socials {
    gap: 10px;
    margin-top: 20px;
  }

  .site-footer__socials a {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .site-footer__social-icon {
    width: 22px;
    height: 22px;
  }

  .approach .section-heading {
    margin-bottom: 24px;
    font-size: 1.16rem;
  }

  .approach__grid {
    gap: 26px;
  }

  .approach-card {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .approach-card__tiles {
    left: -34px;
    top: 142px;
    width: 124px;
  }

  .approach-card__number {
    min-width: 72px;
    font-size: 3.2rem;
  }

  .approach-card__number::before {
    width: 58px;
    height: 56px;
  }

  .approach-card h3 {
    margin-bottom: 6px;
    font-size: 0.98rem;
  }

  .approach-card p {
    font-size: 0.88rem;
    line-height: 1.36;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .material-card,
  .step-card,
  .comparison__item,
  .trust-card {
    padding: 22px 18px;
  }

  .comparison__head {
    min-height: 96px;
    padding: 18px 20px;
    border-radius: 24px;
    font-size: 1.42rem;
  }

  .comparison__head--accent {
    min-height: 0;
    border-radius: 0;
    padding: 0;
  }

  .comparison__head-label {
    padding: 0 22px 0 24px;
  }

  .comparison__item {
    border-radius: 24px;
  }

  .comparison__item--light {
    align-self: center;
    min-height: 98px;
    padding: 14px 20px;
    border: 0;
    border-radius: 0;
  }

  .comparison__item.comparison__item--light .comparison__line--nowrap {
    white-space: normal;
  }

  .comparison__item.comparison__item--dark {
    min-height: 98px;
  }

  .comparison__item.comparison__item--dark p {
    padding: 14px 20px;
  }

  .comparison__item.comparison__item--dark .comparison__line--nowrap {
    white-space: normal;
  }

  .comparison__grid > .comparison__item:nth-child(even) {
    align-self: center;
    min-height: 98px;
    padding: 14px 20px;
    border: 0;
    border-radius: 0;
  }

  .comparison__item p {
    font-size: 1rem;
    line-height: 1.42;
  }

  .material-card {
    min-height: 124px;
    padding: 16px 56px 14px 16px;
  }

  .material-card::after {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 1.02rem;
  }

  .material-card h3 {
    margin-bottom: 8px;
    font-size: 0.98rem;
  }

  .material-card p {
    font-size: 0.88rem;
    line-height: 1.36;
  }

  .feature-card {
    min-height: 180px;
    padding: 58px 18px 20px;
  }

  .feature-card__tab {
    width: 58px;
  }

  .feature-card__content {
    gap: 5px;
  }

  .feature-card strong {
    font-size: 3.2rem;
  }

  .feature-card strong::after {
    width: 12px;
    height: 12px;
    margin-bottom: 6px;
  }

  .feature-card p {
    font-size: 1.08rem;
  }

  .lead-form__box {
    width: min(100%, 500px);
    padding: 28px 22px 24px;
  }

  .lead-form__bricks {
    display: none;
  }

  .lead-form__robot {
    width: 156px;
  }

  .site-footer__card {
    padding: 18px 14px 20px;
  }

  .socials {
    flex-wrap: wrap;
  }
}

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

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
