﻿.mf-build-page {
  --mf-orange: #f59b2d;
  --mf-black: #101010;
  --mf-white: #ffffff;
  --mf-text: #111111;
  --mf-muted: #5f6670;
  --mf-line: #deded8;
  --mf-soft: #ffffff;
  --mf-max: 1300px;
  --mf-hero-pull: 220px;

  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-top: calc(var(--mf-hero-pull) * -1) !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow-x: hidden;
  overflow-y: visible;
  background:
    radial-gradient(ellipse 1120px 1320px at calc(100% + 160px) 760px, rgba(245, 155, 45, 0.34), transparent 62%),
    radial-gradient(ellipse 1080px 1260px at -220px 1320px, rgba(245, 155, 45, 0.3), transparent 62%),
    radial-gradient(ellipse 1160px 1340px at calc(100% + 180px) 2140px, rgba(245, 155, 45, 0.3), transparent 64%),
    radial-gradient(ellipse 1040px 1240px at -210px 3020px, rgba(245, 155, 45, 0.26), transparent 64%),
    radial-gradient(ellipse 960px 1160px at calc(100% + 160px) 3860px, rgba(245, 155, 45, 0.22), transparent 65%),
    radial-gradient(ellipse 820px 980px at 18% 4550px, rgba(245, 155, 45, 0.16), transparent 66%),
    #ffffff;
  color: var(--mf-text);
  font-family: Arial, Helvetica, sans-serif;
}

.mf-build-page::before,
.mf-build-page::after {
  display: none;
}

.mf-build-page *,
.mf-build-page *::before,
.mf-build-page *::after {
  box-sizing: border-box;
}

.mf-build-page a {
  color: inherit;
  text-decoration: none;
}

.mf-build-page img {
  display: block;
  max-width: 100%;
}

.mf-build-page h1,
.mf-build-page h2,
.mf-build-page h3,
.mf-build-page h4,
.mf-build-page p,
.mf-build-page a,
.mf-build-page span,
.mf-build-page li,
.mf-build-page button,
.mf-build-page input,
.mf-build-page select {
  letter-spacing: 0 !important;
}

.mf-build-shell {
  width: min(var(--mf-max), calc(100% - 56px));
  margin: 0 auto;
}

.mf-build-page .mf-build-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  color: var(--mf-orange) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.mf-build-page .mf-build-kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(17, 17, 17, 0.36);
  opacity: 1;
}

.mf-build-page .mf-build-kicker::after {
  content: "";
  width: 8px;
  height: 8px;
  background: rgba(17, 17, 17, 0.34);
}

.mf-build-section {
  position: relative;
  padding: 86px 0;
}

.mf-build-section > .mf-build-shell {
  position: relative;
  z-index: 2;
}

.mf-build-section::after {
  content: "";
  position: absolute;
  right: clamp(24px, 7vw, 120px);
  top: 58px;
  z-index: 0;
  width: 54px;
  height: 54px;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(90deg, transparent 0 26px, rgba(17, 17, 17, 0.26) 26px 27px, transparent 27px),
    linear-gradient(0deg, transparent 0 26px, rgba(17, 17, 17, 0.26) 26px 27px, transparent 27px),
    radial-gradient(circle at 73% 29%, rgba(245, 155, 45, 0.85) 0 3px, transparent 4px);
}

.mf-build-section:nth-of-type(odd)::after {
  right: auto;
  left: clamp(22px, 5vw, 86px);
  top: auto;
  bottom: 72px;
  opacity: 0.22;
}

.mf-build-head {
  width: min(930px, 100%);
  margin-bottom: 38px;
}

.mf-build-head--split {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.54fr);
  gap: 70px;
  align-items: end;
}

.mf-build-title h2,
.mf-build-head h2,
.mf-build-faq__head h2,
.mf-build-final__copy h2 {
  margin: 16px 0 0;
  color: var(--mf-black);
  font-size: clamp(36px, 3.7vw, 52px) !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.mf-build-head h2 span,
.mf-build-benefits__panel h2 span,
.mf-build-faq__head h2 span,
.mf-build-final__copy h2 span {
  color: var(--mf-orange) !important;
}

.mf-build-head p,
.mf-build-intro__text p,
.mf-build-faq__head p,
.mf-build-final__copy p {
  margin: 18px 0 0;
  color: var(--mf-muted);
  font-size: 17px;
  line-height: 1.7;
}

.mf-build-btn,
.mf-build-form button,
.mf-build-calc button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid var(--mf-orange) !important;
  border-radius: 0;
  background: var(--mf-orange) !important;
  background-color: var(--mf-orange) !important;
  color: #111111 !important;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.mf-build-btn:hover,
.mf-build-form button:hover,
.mf-build-calc button:hover {
  transform: translateY(-2px);
  background: rgba(245, 155, 45, 0.02) !important;
  background-color: rgba(245, 155, 45, 0.02) !important;
  color: var(--mf-orange) !important;
  border-color: var(--mf-orange) !important;
  box-shadow: 0 0 0 4px rgba(245, 155, 45, 0.14) !important;
}

.mf-build-btn--ghost {
  background: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  color: #ffffff !important;
}

.mf-build-btn--ghost:hover {
  background: rgba(245, 155, 45, 0.1) !important;
  background-color: rgba(245, 155, 45, 0.1) !important;
  color: var(--mf-orange) !important;
  border-color: var(--mf-orange) !important;
  box-shadow: 0 0 0 4px rgba(245, 155, 45, 0.12) !important;
}

.mf-build-hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 92vh;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  isolation: isolate;
  background: #111111;
  color: #ffffff;
}

.mf-build-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #111111;
}

.mf-build-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.84;
  transform: scale(1.02);
}

.mf-build-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.54) 68%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.82) 100%);
}

.mf-build-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.55), transparent);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.55), transparent);
}

.mf-build-hero__corner {
  position: absolute;
  display: none;
  z-index: 2;
  pointer-events: none;
}

.mf-build-hero__corner.one {
  left: 11%;
  top: 32%;
  width: 112px;
  height: 112px;
  border-left: 7px solid var(--mf-orange);
  border-top: 7px solid var(--mf-orange);
  opacity: 0.78;
}

.mf-build-hero__corner.two {
  right: 10%;
  bottom: 11%;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(245, 155, 45, 0.34);
  transform: rotate(45deg);
}

.mf-build-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 60%, rgba(255, 255, 255, 0.08) 60.08% 60.18%, transparent 60.28%),
    linear-gradient(145deg, transparent 0 74%, rgba(255, 255, 255, 0.055) 74.08% 74.18%, transparent 74.28%);
}

.mf-build-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1460px, calc(100% - 72px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 248px 0 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: start;
}

.mf-build-hero__copy {
  max-width: 920px;
}

.mf-build-hero--simple .mf-build-hero__inner {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: center;
}

.mf-build-hero--simple .mf-build-hero__copy {
  max-width: 980px;
}

.mf-build-hero .mf-build-kicker {
  color: var(--mf-orange) !important;
  font-size: 13px;
  font-weight: 900;
}

.mf-build-hero .mf-build-kicker::before {
  background: rgba(255, 255, 255, 0.5);
}

.mf-build-hero h1 {
  margin: 0;
  max-width: 930px;
  color: #ffffff !important;
  font-size: clamp(56px, 5.6vw, 86px);
  line-height: 1.03 !important;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.mf-build-hero h1 span {
  color: var(--mf-orange) !important;
}

.mf-build-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 19px;
  line-height: 1.66;
  font-weight: 500;
}

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

.mf-build-quick-form {
  position: relative;
  width: 100%;
  margin-top: -112px;
  padding: 28px 28px 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.mf-build-quick-form:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 155, 45, 0.92);
  box-shadow: 0 0 0 4px rgba(245, 155, 45, 0.13), 0 30px 96px rgba(0, 0, 0, 0.34);
}

.mf-build-quick-form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 132px;
  height: 4px;
  background: var(--mf-orange);
}

.mf-build-quick-form::after {
  content: "";
  position: absolute;
  right: -78px;
  top: -42px;
  width: 250px;
  height: 210px;
  opacity: 0.25;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(140, 140, 140, 0.8) 46.2% 46.6%, transparent 46.8%),
    linear-gradient(90deg, transparent 0 42%, rgba(245, 155, 45, 0.55) 42.2% 42.7%, transparent 42.9%),
    radial-gradient(circle at 72% 26%, transparent 0 38px, rgba(140, 140, 140, 0.65) 39px 40px, transparent 41px);
}

.mf-build-quick-form > * {
  position: relative;
  z-index: 2;
}

.mf-build-form-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--mf-orange);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mf-build-form-label::before,
.mf-build-form-label::after {
  content: "";
  width: 30px;
  height: 1px;
  background: rgba(17, 17, 17, 0.18);
}

.mf-build-form-label i {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--mf-orange);
  font-style: normal;
}

.mf-build-quick-form h2 {
  margin: 0;
  color: #111111 !important;
  font-size: 28px;
  line-height: 1.1 !important;
  font-weight: 900;
  letter-spacing: 0;
}

.mf-build-quick-form p:not(.mf-build-form-label):not(.mf-form-consent) {
  margin: 10px 0 18px;
  color: #5b616b !important;
  font-size: 14px;
  line-height: 1.58;
}

.mf-build-form,
.mf-build-calc {
  display: grid;
  gap: 11px;
}

.mf-build-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.mf-build-form label,
.mf-build-calc label {
  display: grid;
  gap: 7px;
}

.mf-build-form span,
.mf-build-calc span {
  color: #747b85;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mf-build-form input,
.mf-build-form select,
.mf-build-calc input,
.mf-build-calc select,
.mf-build-calc textarea {
  width: 100%;
  height: 50px;
  min-height: 50px;
  padding: 0 24px !important;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: none !important;
  color: #111111 !important;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  text-indent: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mf-build-form input::placeholder,
.mf-build-calc input::placeholder,
.mf-build-calc textarea::placeholder {
  color: #8a9098;
  opacity: 1;
}

.mf-build-form select,
.mf-build-calc select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #111111 50%),
    linear-gradient(135deg, #111111 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-left: 24px !important;
  padding-right: 48px !important;
}

.mf-build-form input:focus,
.mf-build-form select:focus,
.mf-build-calc input:focus,
.mf-build-calc select:focus,
.mf-build-calc textarea:focus {
  border-color: rgba(245, 155, 45, 0.92) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(245, 155, 45, 0.15) !important;
}

.mf-build-calc textarea {
  height: auto;
  min-height: 112px;
  padding-top: 16px !important;
  line-height: 1.5;
  resize: vertical;
}

.mf-build-form button,
.mf-build-calc button {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  color: #111111 !important;
}

/* ── Consent text below submit buttons ─────────────────────────────────── */
.mf-build-form .mf-form-consent,
.mf-build-calc .mf-form-consent {
  margin: 6px 0 0;
  color: #9299a0;
  font-size: 12px !important;
  line-height: 1.5;
  text-align: center;
  text-transform: none !important;
  font-weight: 400 !important;
}

.mf-build-form .mf-form-consent a,
.mf-build-calc .mf-form-consent a {
  color: #9299a0;
  font-size: inherit !important;
  font-weight: inherit !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s ease;
}

.mf-build-form .mf-form-consent a:hover,
.mf-build-calc .mf-form-consent a:hover {
  color: var(--mf-orange);
}

.mf-build-form-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.mf-build-form-phones a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 8px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #111111;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  transition: border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.mf-build-form-phones a:hover {
  color: var(--mf-orange);
  border-color: rgba(245, 155, 45, 0.86);
  box-shadow: 0 0 0 3px rgba(245, 155, 45, 0.1);
}

.mf-build-anchor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  z-index: 4;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mf-build-anchor__inner {
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mf-build-anchor__inner::-webkit-scrollbar {
  display: none;
}

.mf-build-anchor a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none !important;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.mf-build-anchor a:hover {
  color: var(--mf-orange) !important;
  border-color: var(--mf-orange) !important;
  background: rgba(245, 155, 45, 0.12);
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(245, 155, 45, 0.28), 0 0 0 3px rgba(245, 155, 45, 0.1);
}

.mf-build-intro {
  background: #ffffff;
}

.mf-build-intro__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.46fr) minmax(0, 0.54fr);
  gap: 34px;
  align-items: stretch;
}

.mf-build-intro .mf-build-title {
  position: relative;
  min-height: 430px;
  padding: 42px 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 155, 45, 0.12) 0 1px, transparent 2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 100%),
    var(--mf-black);
  background-size: 26px 26px, 34px 34px, auto;
  isolation: isolate;
}

.mf-build-intro .mf-build-title::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.mf-build-intro .mf-build-title::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -64px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(245, 155, 45, 0.38);
  transform: rotate(45deg);
  pointer-events: none;
}

.mf-build-intro .mf-build-title > * {
  position: relative;
  z-index: 1;
}

.mf-build-intro .mf-build-title .mf-build-kicker {
  color: var(--mf-orange) !important;
}

.mf-build-intro .mf-build-title .mf-build-kicker::before {
  background: rgba(255, 255, 255, 0.38);
}

.mf-build-intro .mf-build-title .mf-build-kicker::after,
.mf-build-benefits__panel .mf-build-kicker::after {
  background: var(--mf-orange);
}

.mf-build-intro .mf-build-title h2 {
  color: #ffffff !important;
}

.mf-build-intro__text {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mf-build-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border: 1px solid var(--mf-line);
  background: var(--mf-soft);
}

.mf-build-principles article {
  min-height: 118px;
  padding: 22px 18px;
  border-right: 1px solid var(--mf-line);
}

.mf-build-principles article:last-child {
  border-right: 0;
}

.mf-build-principles span {
  color: var(--mf-orange);
  font-size: 13px;
  font-weight: 900;
}

.mf-build-principles b {
  display: block;
  margin-top: 20px;
  color: var(--mf-black);
  font-size: 18px;
  line-height: 1.22;
}

.mf-build-types,
.mf-build-final {
  background: #ffffff;
}

.mf-build-final {
  position: relative;
  isolation: isolate;
}

/* orange glows for types section — large ellipses well within section bounds */
.mf-build-types::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 70% at 15% 35%, rgba(245, 155, 45, 0.14), transparent),
    radial-gradient(ellipse 65% 70% at 85% 65%, rgba(245, 155, 45, 0.12), transparent);
}

.mf-build-final::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 80% at 12% 40%, rgba(245, 155, 45, 0.18), transparent),
    radial-gradient(ellipse 70% 80% at 88% 60%, rgba(245, 155, 45, 0.16), transparent),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(245, 155, 45, 0.07), transparent);
}

/* CTA: large decorative circle outline */
.mf-build-final::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 1.5px solid rgba(245, 155, 45, 0.12);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ─── Ticker ────────────────────────────────────────────── */
.mf-build-ticker-wrap {
  background: var(--mf-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* fade edges */
.mf-build-ticker-wrap::before,
.mf-build-ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  pointer-events: none;
}

.mf-build-ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--mf-black), transparent);
}

.mf-build-ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--mf-black), transparent);
}

.mf-build-ticker {
  padding: 20px 0;
  overflow: hidden;
}

.mf-build-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: mf-ticker-scroll 32s linear infinite;
  will-change: transform;
}

@keyframes mf-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.mf-build-ticker-wrap:hover .mf-build-ticker__track {
  animation-play-state: paused;
}

.mf-build-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 32px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.mf-build-ticker__item b {
  color: var(--mf-orange);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.mf-build-ticker__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--mf-orange);
  opacity: 0.7;
}

/* ─── Type icon ─────────────────────────────────────────── */
.mf-build-type-icon {
  display: block;
  width: 44px;
  height: 44px;
  color: var(--mf-orange);
  margin-bottom: 4px;
}

.mf-build-type-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mf-build-type-card:nth-child(2n) .mf-build-type-icon {
  color: var(--mf-black);
}

.mf-build-type-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mf-build-type-card {
  position: relative;
  min-height: 246px;
  padding: 34px 24px 26px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--mf-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.mf-build-type-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 90px;
  height: 4px;
  background: var(--mf-orange);
  transition: width 0.22s ease;
}

.mf-build-type-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(245, 155, 45, 0.2);
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.mf-build-type-card:nth-child(2n) {
  background: #ffffff;
}

/* Газоблок — dot grid (пориста структура) */
.mf-build-type-card:nth-child(1)::after {
  right: 16px;
  bottom: 16px;
  width: 80px;
  height: 64px;
  border: 0;
  opacity: 0.28;
  background: radial-gradient(circle, rgba(245, 155, 45, 0.8) 1.5px, transparent 2px);
  background-size: 14px 14px;
  transform: none;
}

/* Керамоблок — parallel chambers (перетин блоку) */
.mf-build-type-card:nth-child(2)::after {
  right: 16px;
  bottom: 16px;
  width: 80px;
  height: 56px;
  border: 1px solid rgba(245, 155, 45, 0.3);
  opacity: 0.45;
  background:
    linear-gradient(90deg, transparent 24px, rgba(245,155,45,0.4) 24px 25px, transparent 25px 49px, rgba(245,155,45,0.4) 49px 50px, transparent 50px);
  transform: none;
}

/* Цегла — running bond pattern */
.mf-build-type-card:nth-child(3)::after {
  right: 16px;
  bottom: 16px;
  width: 82px;
  height: 56px;
  border: 0;
  opacity: 0.32;
  background:
    /* row lines */
    linear-gradient(0deg, rgba(245,155,45,0.5) 1px, transparent 1px) 0 0 / 100% 14px,
    /* odd-row verticals */
    linear-gradient(90deg, rgba(245,155,45,0.35) 1px, transparent 1px) 0 0 / 28px 28px,
    /* even-row verticals (offset) */
    linear-gradient(90deg, rgba(245,155,45,0.35) 1px, transparent 1px) 14px 14px / 28px 28px;
  transform: none;
}

/* Каркасні — structural grid (несучий каркас) */
.mf-build-type-card:nth-child(4)::after {
  right: 14px;
  bottom: 14px;
  width: 80px;
  height: 64px;
  border: 0;
  opacity: 0.3;
  background:
    linear-gradient(0deg, rgba(245,155,45,0.5) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(245,155,45,0.5) 1px, transparent 1px) 0 0 / 26px 100%;
  transform: none;
}

/* Модульні — equal modular squares */
.mf-build-type-card:nth-child(5)::after {
  right: 14px;
  bottom: 14px;
  width: 76px;
  height: 76px;
  border: 0;
  opacity: 0.3;
  background:
    linear-gradient(0deg, transparent 0 23px, rgba(245,155,45,0.5) 23px 25px, transparent 25px 50px, rgba(245,155,45,0.5) 50px 52px, transparent 52px) 0 0 / 100% 100%,
    linear-gradient(90deg, transparent 0 23px, rgba(245,155,45,0.5) 23px 25px, transparent 25px 50px, rgba(245,155,45,0.5) 50px 52px, transparent 52px) 0 0 / 100% 100%;
  transform: none;
}

/* Дачні — roof triangle / pitched shape */
.mf-build-type-card:nth-child(6)::after {
  right: 14px;
  bottom: 14px;
  width: 80px;
  height: 70px;
  border: 0;
  opacity: 0.3;
  background:
    /* gable roof lines */
    linear-gradient(135deg, transparent 0 49%, rgba(245,155,45,0.5) 49% 51%, transparent 51%),
    linear-gradient(225deg, transparent 0 49%, rgba(245,155,45,0.5) 49% 51%, transparent 51%),
    /* wall base */
    linear-gradient(0deg, rgba(245,155,45,0.35) 1px, transparent 1px) 0 50% / 100% 100%;
  transform: none;
}

.mf-build-type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 155, 45, 0.66);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.09);
}

/* газоблок — точки наближуються */
.mf-build-type-card:nth-child(1):hover::after {
  opacity: 0.5;
  transform: translate(-8px, -8px) scale(1.15);
}

/* керамоблок — камери зсуваються як реальний блок */
.mf-build-type-card:nth-child(2):hover::after {
  opacity: 0.6;
  transform: translateX(-10px);
}

/* цегла — кладка "піднімається" */
.mf-build-type-card:nth-child(3):hover::after {
  opacity: 0.48;
  transform: translateY(-8px);
}

/* каркас — сітка розширюється */
.mf-build-type-card:nth-child(4):hover::after {
  opacity: 0.45;
  transform: translate(-6px, -6px) scale(1.12);
}

/* модульні — поворот на 45° (одиниці складаються) */
.mf-build-type-card:nth-child(5):hover::after {
  opacity: 0.45;
  transform: translate(-8px, -8px) rotate(45deg);
}

/* дачні — дах "піднімається" */
.mf-build-type-card:nth-child(6):hover::after {
  opacity: 0.42;
  transform: translateY(-10px);
}

.mf-build-type-card:hover::before {
  width: 130px;
}

.mf-build-type-card > * {
  position: relative;
  z-index: 1;
}

.mf-build-type-card h3 {
  margin: 18px 0 12px;
  color: var(--mf-black) !important;
  font-size: 30px;
  line-height: 1.08 !important;
  font-weight: 900;
}

.mf-build-type-card p {
  margin: 0;
  color: var(--mf-muted) !important;
  font-size: 15px;
  line-height: 1.6;
}

.mf-build-type-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
}

.mf-build-type-card li {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  background: var(--mf-black);
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.mf-build-type-card:nth-child(2n) li {
  background: var(--mf-orange);
  color: #111111;
}

.mf-build-portfolio {
  background: #ffffff;
  isolation: isolate;
}

/* portfolio glow — warm ambient, no edge clipping */
.mf-build-portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 14% 30%, rgba(245, 155, 45, 0.13), transparent),
    radial-gradient(ellipse 60% 70% at 86% 70%, rgba(245, 155, 45, 0.11), transparent),
    radial-gradient(ellipse 45% 55% at 50% 50%, rgba(245, 155, 45, 0.05), transparent);
}

/* subtle dot-grid for portfolio */
.mf-build-portfolio::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(17, 17, 17, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
}

.mf-build-portfolio .mf-build-shell {
  position: relative;
  z-index: 1;
}

.mf-build-portfolio__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.54fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 38px;
}

.mf-build-portfolio__title h2 {
  margin: 16px 0 0;
  color: var(--mf-black) !important;
  font-size: clamp(36px, 3.7vw, 52px) !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.mf-build-portfolio__title h2 span {
  color: var(--mf-orange) !important;
}

.mf-build-portfolio__meta p {
  margin: 0 0 24px;
  color: var(--mf-muted);
  font-size: 17px;
  line-height: 1.7;
}

.mf-build-btn--outline-dark {
  background: transparent !important;
  background-color: transparent !important;
  border-color: rgba(17, 17, 17, 0.28) !important;
  color: var(--mf-black) !important;
}

.mf-build-btn--outline-dark:hover {
  background: var(--mf-orange) !important;
  background-color: var(--mf-orange) !important;
  color: #111111 !important;
  border-color: var(--mf-orange) !important;
  box-shadow: 0 0 0 4px rgba(245, 155, 45, 0.18) !important;
}

.mf-build-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 10px;
}

.mf-build-gallery-card {
  position: relative;
  overflow: hidden;
  background: var(--mf-black);
  border: 1px solid rgba(17, 17, 17, 0.16);
}

.mf-build-gallery-card--featured {
  grid-row: 1 / 3;
}

.mf-build-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.mf-build-gallery-card--featured img {
  opacity: 0.85;
}

.mf-build-gallery-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 76px;
  height: 3px;
  background: var(--mf-orange);
}

.mf-build-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, transparent 58%);
}

.mf-build-gallery-card:hover img {
  transform: scale(1.06);
  opacity: 0.96;
}

.mf-build-gallery-card:hover {
  border-color: rgba(245, 155, 45, 0.4);
  box-shadow: 0 0 0 1px rgba(245, 155, 45, 0.18);
}

.mf-build-gallery-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.mf-build-gallery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.mf-build-gallery-card span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 10px;
  background: var(--mf-orange);
  color: #111111;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: none;
}

.mf-build-gallery-card span + span {
  background: rgba(17, 17, 17, 0.78);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.mf-build-gallery-card h3 {
  margin: 0;
  color: #ffffff !important;
  font-size: 21px;
  line-height: 1.08 !important;
  font-weight: 900;
  text-transform: none !important;
  text-wrap: balance;
}

.mf-build-gallery-carousel {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.mf-build-gallery-track {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 24px;
  scroll-behavior: smooth;
  scroll-snap-type: none;
  scrollbar-color: var(--mf-orange) rgba(17, 17, 17, 0.13);
  scrollbar-width: auto;
}

.mf-build-gallery-track::-webkit-scrollbar {
  height: 14px;
}

.mf-build-gallery-track::-webkit-scrollbar-track {
  background: rgba(17, 17, 17, 0.13);
}

.mf-build-gallery-track::-webkit-scrollbar-thumb {
  background: var(--mf-orange);
  border: 3px solid #f7f6f2;
}

.mf-build-gallery-panel {
  flex: 0 0 100%;
  min-width: 0;
}

.mf-build-gallery-panel--more {
  flex-basis: calc((100% - 20px) / 3.4 * 2 + 10px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mf-build-gallery-card {
  cursor: zoom-in;
}

.mf-build-gallery-card img {
  opacity: 0.94;
}

.mf-build-gallery-card--featured img {
  opacity: 0.96;
}

.mf-build-gallery-card:hover img {
  opacity: 0.72;
}

.mf-build-gallery-card:focus-visible {
  outline: 2px solid rgba(245, 155, 45, 0.7);
  outline-offset: 2px;
}

.mf-build-gallery-card .mf-build-gallery-plus {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mf-build-gallery-card .mf-build-gallery-plus::before,
.mf-build-gallery-card .mf-build-gallery-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 2px;
  background: rgba(235, 235, 235, 0.92) !important;
  transform: translate(-50%, -50%);
}

.mf-build-gallery-card .mf-build-gallery-plus::after {
  width: 2px;
  height: 28px;
}

.mf-build-gallery-card:hover .mf-build-gallery-plus {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.mf-build-gallery-controls {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  width: max-content;
  margin: 16px auto 0 0;
}

.mf-build-gallery-arrow {
  position: relative;
  width: 74px;
  height: 48px;
  border: 1px solid var(--mf-line);
  border-radius: 0;
  background: #ffffff;
  color: var(--mf-black);
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.mf-build-gallery-arrow::before {
  content: "";
  position: absolute;
  top: 17px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.mf-build-gallery-prev::before {
  left: 32px;
  transform: rotate(-45deg);
}

.mf-build-gallery-next::before {
  left: 28px;
  transform: rotate(135deg);
}

.mf-build-gallery-arrow:hover,
.mf-build-gallery-arrow:focus-visible {
  transform: translateY(-2px);
  border-color: var(--mf-orange);
  background: var(--mf-orange);
  color: #111111;
  box-shadow: 0 12px 28px rgba(245, 155, 45, 0.18);
}

.mf-build-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.mf-build-gallery-lightbox.is-open {
  display: flex;
}

.mf-build-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.86);
  cursor: zoom-out;
}

.mf-build-gallery-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  max-height: calc(100vh - 56px);
  margin: 0;
}

.mf-build-gallery-lightbox__dialog img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 56px);
  object-fit: contain;
  background: #111111;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.44);
}

.mf-build-gallery-lightbox__close {
  position: absolute;
  right: 0;
  top: -52px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--mf-orange);
  color: #111111;
  font-size: 30px;
  line-height: 38px;
  cursor: pointer;
}

body.mf-build-gallery-open {
  overflow: hidden;
}

/* ─── Process (dark theme) ──────────────────────────────── */
.mf-build-process {
  background: var(--mf-black);
  position: relative;
  isolation: isolate;
  padding: 62px 0;
}

/* Dot grid + orange glows */
.mf-build-process::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 8% 22%, rgba(245, 155, 45, 0.22), transparent 28%),
    radial-gradient(circle at 92% 78%, rgba(245, 155, 45, 0.16), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(245, 155, 45, 0.05), transparent 52%),
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, auto, auto, 32px 32px;
}

/* Corner cross markers + diagonal accent */
.mf-build-process::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background:
    /* top-right plus */
    linear-gradient(90deg, transparent calc(94% - 27px), rgba(245,155,45,0.3) calc(94% - 27px) calc(94% + 27px), transparent calc(94% + 27px)) 0 68px / 100% 1px no-repeat,
    linear-gradient(0deg, transparent 42px, rgba(245,155,45,0.3) 42px 43px, transparent 43px) calc(94%) 40px / 1px 56px no-repeat,
    /* bottom-left plus */
    linear-gradient(90deg, transparent calc(6% - 27px), rgba(245,155,45,0.22) calc(6% - 27px) calc(6% + 27px), transparent calc(6% + 27px)) 0 calc(100% - 68px) / 100% 1px no-repeat,
    linear-gradient(0deg, transparent 0px, rgba(245,155,45,0.22) 0px 1px, transparent 1px) 6% calc(100% - 96px) / 1px 56px no-repeat,
    /* orange dots at cross centres */
    radial-gradient(circle at 94% 68px, rgba(245,155,45,0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 6% calc(100% - 68px), rgba(245,155,45,0.7) 0 3px, transparent 4px),
    /* thin diagonal line across section */
    linear-gradient(118deg, transparent 0 38%, rgba(255,255,255,0.03) 38% 38.1%, transparent 38.2% 60%, rgba(245,155,45,0.06) 60% 60.1%, transparent 60.2%);
}

.mf-build-process .mf-build-kicker {
  color: var(--mf-orange) !important;
}

.mf-build-process .mf-build-kicker::before {
  background: rgba(255, 255, 255, 0.4);
}

.mf-build-process .mf-build-kicker::after {
  background: var(--mf-orange);
}

.mf-build-process .mf-build-head h2 {
  color: #ffffff !important;
}

.mf-build-process .mf-build-head p {
  color: rgba(255, 255, 255, 0.6);
}

.mf-build-process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  column-gap: 16px;
  row-gap: 44px; /* larger row gap gives room for the flow line below cards */
  padding: 0 0 16px;
  overflow: visible;
}

.mf-build-process-grid::before {
  display: none;
}

.mf-build-process-grid article {
  position: relative;
  padding: 26px 22px 28px;
  overflow: visible; /* allow ::before line to extend below the card */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--mf-orange);
  box-shadow: none;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.28s ease,
              box-shadow 0.32s ease,
              border-color 0.28s ease;
}

/* Decorative big number background */
.mf-build-process-grid b {
  position: absolute;
  right: 10px;
  bottom: -10px;
  z-index: 0;
  font-size: 110px;
  font-weight: 900;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
}

.mf-build-process-grid article:last-child b {
  color: rgba(17, 17, 17, 0.14);
}

.mf-build-process-grid article:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.mf-build-process-grid article:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.mf-build-process-grid article:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.mf-build-process-grid article:nth-child(4) {
  grid-column: 4;
  grid-row: 1;
}

.mf-build-process-grid article:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
}

.mf-build-process-grid article:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}

.mf-build-process-grid article:nth-child(7) {
  grid-column: 2;
  grid-row: 2;
}

/* ── Flow indicator: animated line at card bottom on hover ── */

/* Default (cards 1-3): bottom line fills left → right — sits in the row gap below the card */
.mf-build-process-grid article::before {
  content: "";
  position: absolute;
  bottom: -22px;   /* centre of the 44px row-gap */
  left: 0;
  right: auto;
  top: auto;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mf-orange), rgba(245,155,45,0.6));
  z-index: 4;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: none;
  transform-origin: initial;
  opacity: 1;
  pointer-events: none;
}

.mf-build-process-grid article:hover::before {
  width: 100%;
}

/* Card 4: right edge fills top → bottom (connects to row below) */
.mf-build-process-grid article:nth-child(4)::before {
  bottom: auto;
  left: auto;
  top: 0;
  right: -14px;  /* clearly to the right of the card border */
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--mf-orange), rgba(245,155,45,0.6));
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-build-process-grid article:nth-child(4):hover::before {
  width: 3px;
  height: calc(200% + 44px); /* span from top of card 4 to bottom of card 5 */
}

/* Cards 5-6: bottom line fills right → left — also in the row gap */
.mf-build-process-grid article:nth-child(5)::before,
.mf-build-process-grid article:nth-child(6)::before {
  bottom: -22px;   /* centre of the 44px row-gap */
  left: auto;
  right: 0;
  background: linear-gradient(270deg, var(--mf-orange), rgba(245,155,45,0.6));
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Arrow tip: appears at the end of fill (after delay) — solid right-pointing triangle */
.mf-build-process-grid article::after {
  content: "";
  position: absolute;
  /* vertically center the 10px triangle on the 3px line at bottom:-22px */
  bottom: -26px;
  /* base flush with line end; tip extends 8px beyond card's right edge */
  right: -8px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--mf-orange);
  transform: none;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease 0.45s;
}

.mf-build-process-grid article:hover::after {
  opacity: 1;
}

/* Card 4 arrow tip: points downward — anchored from the TOP to line's end */
.mf-build-process-grid article:nth-child(4)::after {
  /* line goes top:0 → height:calc(200%+44px), so its bottom = calc(200%+44px) from card top */
  top: calc(200% + 36px);   /* base of triangle 8px before line end, tip at line end */
  bottom: auto;
  /* center on the 3px line at right:-14px (line center = -15.5px) */
  right: -18px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--mf-orange);
  border-bottom: 0;
  transform: none;
}

/* Cards 5-6 arrow tip: points left — solid left-pointing triangle */
.mf-build-process-grid article:nth-child(5)::after,
.mf-build-process-grid article:nth-child(6)::after {
  /* base flush with line end (card left edge); tip extends 8px to the left */
  left: -8px;
  right: auto;
  bottom: -26px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 8px solid var(--mf-orange);
  border-left: 0;
  transform: none;
}

/* Last card: no flow indicator */
.mf-build-process-grid article:last-child::before,
.mf-build-process-grid article:last-child::after {
  display: none;
}

.mf-build-process-grid article:last-child {
  background: var(--mf-orange);
  border-color: var(--mf-orange);
  border-left-color: var(--mf-orange);
  color: #111111;
}

.mf-build-process-grid article:last-child::before,
.mf-build-process-grid article:last-child::after {
  display: none;
}

.mf-build-process-grid article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 155, 45, 0.5);
  border-left-color: var(--mf-orange);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.3);
}

.mf-build-process-grid article:last-child {
  overflow: hidden; /* clip the shine sweep */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease;
}

.mf-build-process-grid article:last-child:hover {
  transform: translateY(-6px) scale(1.02);
  background: var(--mf-orange);
  box-shadow:
    0 20px 60px rgba(245, 155, 45, 0.5),
    0  4px 20px rgba(245, 155, 45, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Shine sweep on hover */
.mf-build-process-grid article:last-child::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 20%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.08) 52%,
    transparent 80%
  );
  transform: translateX(-160%) skewX(-18deg);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 3;
  top: 0; left: 0; right: 0; bottom: 0;
  width: auto; height: auto;
}

.mf-build-process-grid article:last-child:hover::before {
  transform: translateX(160%) skewX(-18deg);
}

/* flow indicator hover states are declared with ::before/::after above */

/* removed: no longer highlight next article on hover */

.mf-build-process-grid span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  background: rgba(245, 155, 45, 0.12);
  color: var(--mf-orange);
  transition: background 0.22s ease;
}

.mf-build-process-grid span svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.mf-build-process-grid article:last-child span {
  background: rgba(17, 17, 17, 0.2);
  color: #111111;
}

.mf-build-process-grid h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #ffffff !important;
  font-size: 20px;
  line-height: 1.08 !important;
  font-weight: 900;
}

.mf-build-process-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 14px;
  line-height: 1.58;
}

.mf-build-process-grid article:last-child h3 {
  color: #111111 !important;
}

.mf-build-process-grid article:last-child p {
  color: rgba(17, 17, 17, 0.72) !important;
}

.mf-build-scope {
  background: transparent;
  position: relative;
  isolation: isolate;
}

.mf-build-scope::before {
  display: none;
}

.mf-build-scope .mf-build-shell {
  position: relative;
  z-index: 1;
}

.mf-build-scope__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.mf-build-scope-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 30px 28px;
  background: #ffffff;
  border: 1px solid var(--mf-line);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.045);
}

.mf-build-scope-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 116px;
  height: 4px;
  background: var(--mf-orange);
}

.mf-build-scope-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(245, 155, 45, 0.2);
  transform: rotate(45deg);
  pointer-events: none;
}

.mf-build-scope-card > * {
  position: relative;
  z-index: 1;
}

.mf-build-scope-card--features {
  grid-column: span 5;
}

.mf-build-scope-card--dark {
  grid-column: span 7;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 155, 45, 0.12) 0 1px, transparent 2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 100%),
    var(--mf-black);
  background-size: 26px 26px, 34px 34px, auto;
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.mf-build-scope-card--terms {
  grid-column: span 8;
  min-height: 260px;
}

.mf-build-scope-card--guarantee {
  grid-column: span 4;
  min-height: 340px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 100%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.065) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.28), transparent 24%),
    var(--mf-orange);
  background-size: 34px 34px, 78px 78px, auto, auto;
  border-color: var(--mf-orange);
  box-shadow: 0 28px 70px rgba(245, 155, 45, 0.24);
}

.mf-build-scope-card--guarantee::before {
  width: 168px;
  height: 5px;
  background: #111111;
}

.mf-build-scope-card--guarantee::after {
  right: 36px;
  bottom: 34px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  transform: none;
}

.mf-build-scope-card h3 {
  margin: 0 0 22px;
  color: var(--mf-black) !important;
  font-size: 28px;
  line-height: 1.05 !important;
  font-weight: 900;
}

.mf-build-scope-card--dark h3,
.mf-build-scope-card--dark li {
  color: #ffffff !important;
}

.mf-build-scope-card--guarantee h3 {
  margin-bottom: 16px;
  color: #ffffff !important;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1 !important;
}

.mf-build-scope-card.mf-build-scope-card--wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.mf-build-scope-card--guarantee h2 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 16px 0 18px;
  color: #111111 !important;
  font-size: clamp(38px, 4vw, 58px) !important;
  line-height: 0.98 !important;
  font-weight: 900;
}

.mf-build-scope-card--guarantee .mf-build-kicker {
  color: #ffffff !important;
}

.mf-build-scope-card--guarantee .mf-build-kicker::before {
  background: rgba(255, 255, 255, 0.58);
}

.mf-build-scope-card--guarantee .mf-build-kicker::after {
  background: #ffffff;
}

.mf-build-scope-card p {
  margin: 0;
  color: var(--mf-muted) !important;
  font-size: 16px;
  line-height: 1.7;
}

.mf-build-scope-card--dark p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.mf-build-scope-card--guarantee p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: rgba(17, 17, 17, 0.76) !important;
  font-size: 18px;
  font-weight: 800;
}

.mf-build-scope-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mf-build-scope-list--columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.mf-build-scope-card li {
  position: relative;
  min-height: 34px;
  padding-left: 28px;
  color: var(--mf-text);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
}

.mf-build-scope-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  background: var(--mf-orange);
}

.mf-build-scope-card--dark li::before {
  background: var(--mf-orange);
}

.mf-build-term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.mf-build-term-grid span {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--mf-line);
  color: var(--mf-muted);
  font-size: 13px;
  line-height: 1.28;
  font-weight: 800;
}

.mf-build-term-grid b {
  color: var(--mf-orange);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.mf-build-benefits {
  background: transparent;
  position: relative;
  isolation: isolate;
}

.mf-build-benefits::before {
  display: none;
}

.mf-build-benefits .mf-build-shell {
  position: relative;
  z-index: 1;
}

.mf-build-benefits__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  gap: 34px;
  align-items: stretch;
}

.mf-build-benefits__panel {
  position: relative;
  min-height: 520px;
  padding: 42px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 155, 45, 0.12) 0 1px, transparent 2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%),
    var(--mf-black);
  background-size: 26px 26px, 34px 34px, 72px 72px, auto;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}

.mf-build-benefits__panel::before {
  content: "";
  position: absolute;
  inset: 20px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.mf-build-benefits__panel::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  z-index: 0;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(245, 155, 45, 0.42);
  transform: rotate(45deg);
  pointer-events: none;
}

.mf-build-benefits__panel > * {
  position: relative;
  z-index: 1;
}

.mf-build-benefits__panel .mf-build-kicker::before {
  background: rgba(255, 255, 255, 0.36);
}

.mf-build-benefits__panel h2 {
  margin: 18px 0 0;
  color: #ffffff !important;
  font-size: clamp(36px, 3.7vw, 52px) !important;
  line-height: 1 !important;
  font-weight: 800;
  letter-spacing: 0;
}

.mf-build-benefits__panel p:not(.mf-build-kicker) {
  max-width: 440px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 16px;
  line-height: 1.7;
}

.mf-build-benefit-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mf-build-benefit-metrics span {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
}

.mf-build-benefit-metrics b {
  color: var(--mf-orange);
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.mf-build-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mf-build-benefit-list article {
  position: relative;
  min-height: 236px;
  padding: 26px 24px 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--mf-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.mf-build-benefit-list article:nth-child(2),
.mf-build-benefit-list article:nth-child(3) {
  background: var(--mf-soft);
}

.mf-build-benefit-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--mf-orange);
}

.mf-build-benefit-list article::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 0.22;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

/* Власні бригади — diamond (ромб), повертається у квадрат при hover */
.mf-build-benefit-list article:nth-child(1)::after {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(245, 155, 45, 0.7);
  transform: rotate(45deg) translate(14px, 14px);
}

/* Комплекс — плюс/хрест (all-in-one) */
.mf-build-benefit-list article:nth-child(2)::after {
  width: 56px;
  height: 56px;
  background:
    linear-gradient(rgba(245,155,45,0.8) 0 0) center / 2px 100% no-repeat,
    linear-gradient(rgba(245,155,45,0.8) 0 0) center / 100% 2px no-repeat;
  transform: translate(10px, 10px) rotate(0deg);
}

/* Поетапна оплата — трикутник (стрілка вперед/прогрес) */
.mf-build-benefit-list article:nth-child(3)::after {
  width: 0;
  height: 0;
  border-left: 28px solid rgba(245, 155, 45, 0.5);
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  background: none;
  transform: translate(8px, 8px);
}

/* Гарантія — коло (seal/circle) */
.mf-build-benefit-list article:nth-child(4)::after {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(245, 155, 45, 0.6);
  border-radius: 50%;
  transform: translate(10px, 10px);
}

.mf-build-benefit-list article:nth-child(5)::after {
  width: 64px;
  height: 42px;
  border-top: 2px solid rgba(245, 155, 45, 0.72);
  border-bottom: 2px solid rgba(245, 155, 45, 0.42);
  background:
    linear-gradient(90deg, rgba(245, 155, 45, 0.55) 0 2px, transparent 2px 100%) 16px 0 / 16px 100% repeat-x;
  transform: translate(12px, 12px);
}

.mf-build-benefit-list article:nth-child(6)::after {
  width: 62px;
  height: 62px;
  border: 2px solid rgba(245, 155, 45, 0.62);
  background:
    linear-gradient(rgba(245, 155, 45, 0.54) 0 0) center / 100% 2px no-repeat,
    linear-gradient(rgba(245, 155, 45, 0.54) 0 0) center / 2px 100% no-repeat;
  transform: translate(12px, 12px) rotate(45deg);
}

.mf-build-benefit-list article:nth-child(7)::after {
  width: 68px;
  height: 68px;
  border-left: 2px solid rgba(245, 155, 45, 0.7);
  border-top: 2px solid rgba(245, 155, 45, 0.7);
  transform: translate(12px, 12px);
}

.mf-build-benefit-list article:nth-child(8)::after {
  width: 62px;
  height: 62px;
  border: 2px solid rgba(245, 155, 45, 0.58);
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px rgba(245, 155, 45, 0.08);
  transform: translate(12px, 12px) scale(0.94);
}

.mf-build-benefit-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 155, 45, 0.72);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.09);
}

/* diamond → square */
.mf-build-benefit-list article:nth-child(1):hover::after {
  opacity: 0.5;
  transform: rotate(0deg) translate(6px, 6px);
  border-color: rgba(245, 155, 45, 0.9);
}

/* cross → rotates 45° into ×  */
.mf-build-benefit-list article:nth-child(2):hover::after {
  opacity: 0.45;
  transform: translate(4px, 4px) rotate(45deg);
}

/* triangle → shifts */
.mf-build-benefit-list article:nth-child(3):hover::after {
  opacity: 0.45;
  transform: translate(2px, 2px);
}

/* circle → slightly larger */
.mf-build-benefit-list article:nth-child(4):hover::after {
  opacity: 0.5;
  transform: translate(4px, 4px) scale(1.1);
  border-color: rgba(245, 155, 45, 0.8);
}

.mf-build-benefit-list article:nth-child(5):hover::after {
  opacity: 0.5;
  transform: translate(4px, 4px) scaleX(1.08);
  border-color: rgba(245, 155, 45, 0.82);
}

.mf-build-benefit-list article:nth-child(6):hover::after {
  opacity: 0.5;
  transform: translate(4px, 4px) rotate(0deg);
  border-color: rgba(245, 155, 45, 0.82);
}

.mf-build-benefit-list article:nth-child(7):hover::after {
  opacity: 0.5;
  transform: translate(4px, 4px) scale(1.08);
  border-color: rgba(245, 155, 45, 0.86);
}

.mf-build-benefit-list article:nth-child(8):hover::after {
  opacity: 0.52;
  transform: translate(4px, 4px) scale(1.08);
  border-color: rgba(245, 155, 45, 0.84);
  box-shadow: inset 0 0 0 7px rgba(245, 155, 45, 0.13);
}

.mf-build-benefit-list .mf-build-benefit-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mf-orange);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.045);
}

.mf-build-benefit-list .mf-build-benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mf-build-benefit-list h3 {
  position: relative;
  z-index: 1;
  margin: 30px 0 12px;
  color: var(--mf-black) !important;
  font-size: 23px;
  line-height: 1.08 !important;
  font-weight: 900;
}

.mf-build-benefit-list p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--mf-muted) !important;
  font-size: 15px;
  line-height: 1.58;
}

.mf-build-faq {
  background: transparent;
  position: relative;
  isolation: isolate;
}

.mf-build-faq::before {
  display: none;
}

.mf-build-faq .mf-build-shell {
  position: relative;
  z-index: 1;
}

.mf-build-faq__layout {
  max-width: 1120px;
  margin: 0 auto;
}

.mf-build-faq__head {
  position: relative;
  top: auto;
  max-width: none;
  margin-bottom: 34px;
  display: block;
}

.mf-build-faq__head h2 {
  max-width: 1060px;
  font-size: clamp(36px, 3.5vw, 50px) !important;
}

.mf-build-faq__list {
  display: grid;
  gap: 8px;
}

.mf-build-faq details {
  border: 1px solid var(--mf-line);
  border-left: 4px solid rgba(245, 155, 45, 0.42);
  background: #ffffff;
  transition: border-color 0.32s ease, box-shadow 0.32s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-build-faq details[open] {
  border-color: rgba(245, 155, 45, 0.58);
  border-left-color: var(--mf-orange);
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.06);
}

.mf-build-faq summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  color: var(--mf-black) !important;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.mf-build-faq summary::-webkit-details-marker {
  display: none;
}

.mf-build-faq summary::after {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  opacity: 0.95;
  background:
    linear-gradient(var(--mf-orange), var(--mf-orange)) center / 16px 1.5px no-repeat,
    linear-gradient(var(--mf-orange), var(--mf-orange)) center / 1.5px 16px no-repeat;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), background-size 0.28s ease, opacity 0.22s ease;
}

.mf-build-faq details[open] summary::after {
  background:
    linear-gradient(var(--mf-orange), var(--mf-orange)) center / 16px 1.5px no-repeat,
    linear-gradient(var(--mf-orange), var(--mf-orange)) center / 0 0 no-repeat;
  transform: rotate(180deg);
}

.mf-build-faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--mf-muted) !important;
  font-size: 15px;
  line-height: 1.7;
  /* JS handles height/opacity animation; this ensures no flash on initial open */
  will-change: height, opacity;
}

.mf-build-final__box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: 56px;
  align-items: center;
  padding: 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(245, 155, 45, 0.18), transparent 30%),
    radial-gradient(circle at 12% 80%, rgba(245, 155, 45, 0.08), transparent 24%),
    var(--mf-black);
  color: #ffffff;
}

.mf-build-final__box::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 360px;
  height: 360px;
  border: 2px solid rgba(245, 155, 45, 0.18);
  transform: rotate(45deg);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.mf-build-final__box::after {
  content: "";
  position: absolute;
  left: 48px;
  bottom: 42px;
  width: 210px;
  height: 120px;
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent 0 104px, rgba(245, 155, 45, 0.7) 104px 105px, transparent 105px),
    linear-gradient(0deg, transparent 0 58px, rgba(255, 255, 255, 0.3) 58px 59px, transparent 59px),
    linear-gradient(135deg, transparent 0 48%, rgba(245, 155, 45, 0.55) 48.2% 48.8%, transparent 49%);
}

.mf-build-final__copy,
.mf-build-calc {
  position: relative;
  z-index: 1;
}

.mf-build-final__copy h2 {
  color: #ffffff !important;
}

.mf-build-final__copy .mf-build-kicker::before {
  background: rgba(255, 255, 255, 0.42);
}

.mf-build-final__copy .mf-build-kicker::after {
  background: var(--mf-orange);
}

.mf-build-final__copy p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.78) !important;
}

.mf-build-phone {
  display: inline-flex;
  margin-top: 28px;
  color: var(--mf-orange) !important;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.mf-build-calc {
  padding: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.mf-build-calc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 132px;
  height: 4px;
  background: var(--mf-orange);
}

.mf-build-calc::after {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -68px;
  width: 190px;
  height: 190px;
  opacity: 0.18;
  pointer-events: none;
  border: 1px solid var(--mf-orange);
  transform: rotate(45deg);
}

.mf-build-calc > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 1380px) {
  .mf-build-hero__inner {
    width: min(1320px, calc(100% - 56px));
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 42px;
    padding-top: 246px;
  }

  .mf-build-hero h1 {
    font-size: clamp(52px, 5.1vw, 70px);
  }

  .mf-build-lead {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.58;
  }

  .mf-build-quick-form {
    margin-top: -82px;
    padding: 24px 24px 22px;
  }

  .mf-build-quick-form h2 {
    font-size: 25px;
  }
}

@media (max-width: 1180px) {
  .mf-build-hero__inner,
  .mf-build-intro__grid,
  .mf-build-head--split,
  .mf-build-scope__grid,
  .mf-build-benefits__grid,
  .mf-build-faq__layout,
  .mf-build-final__box {
    grid-template-columns: 1fr;
  }

  .mf-build-scope-card,
  .mf-build-scope-card--features,
  .mf-build-scope-card--dark,
  .mf-build-scope-card--terms,
  .mf-build-scope-card--guarantee {
    grid-column: auto;
  }

  .mf-build-hero__inner {
    padding-top: 260px;
  }

  .mf-build-quick-form {
    max-width: 620px;
    margin-top: 0;
  }

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

  .mf-build-process-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 14px;
  }

  .mf-build-process-grid article {
    grid-column: auto !important;
    grid-row: auto !important;
    border-left: 3px solid var(--mf-orange);
  }

  /* on tablet, all cards go L→R, reset card 4-6 overrides */
  .mf-build-process-grid article:nth-child(4)::before {
    bottom: -22px;
    left: 0;
    right: auto;
    top: auto;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mf-orange), rgba(245,155,45,0.6));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mf-build-process-grid article:nth-child(4):hover::before {
    width: 100%;
    height: 3px;
  }

  .mf-build-process-grid article:nth-child(5)::before,
  .mf-build-process-grid article:nth-child(6)::before {
    left: 0;
    right: auto;
    background: linear-gradient(90deg, var(--mf-orange), rgba(245,155,45,0.6));
  }

  .mf-build-portfolio__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mf-build-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 260px;
  }

  .mf-build-gallery-card--featured {
    grid-row: 1 / 1;
    grid-column: 1 / 3;
  }

  .mf-build-benefits__panel {
    min-height: 0;
  }

  .mf-build-faq__head {
    position: relative;
    top: auto;
    display: block;
  }
}

@media (max-width: 760px) {
  .mf-build-page {
    --mf-hero-pull: 112px;
  }
.mf-build-shell {
    width: min(100% - 30px, var(--mf-max));
  }

  .mf-build-section {
    padding: 62px 0;
  }

  .mf-build-hero {
    min-height: auto;
  }

  .mf-build-hero__inner {
    width: min(100% - 32px, 1460px);
    min-height: auto;
    padding: 300px 0 54px;
    display: block;
  }

  .mf-build-hero__corner.one {
    left: 7%;
    top: 18%;
    width: 72px;
    height: 72px;
    border-width: 5px;
  }

  .mf-build-hero__corner.two {
    display: none;
  }

  .mf-build-page .mf-build-kicker {
    font-size: 11px !important;
    gap: 10px;
  }

  .mf-build-page .mf-build-kicker::before {
    width: 34px;
  }

  .mf-build-hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .mf-build-lead {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
  }

  .mf-build-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .mf-build-btn {
    width: 100%;
  }

  .mf-build-quick-form {
    display: none;
  }

  .mf-build-anchor {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: -8px 0 30px;
  }

  .mf-build-anchor__inner {
    gap: 8px;
  }

  .mf-build-anchor a {
    min-height: 36px;
    padding: 0 13px;
    font-size: 12px;
  }

  .mf-build-title h2,
  .mf-build-head h2,
  .mf-build-faq__head h2,
  .mf-build-final__copy h2 {
    font-size: clamp(32px, 9.5vw, 42px) !important;
    line-height: 1.03 !important;
  }

  .mf-build-principles,
  .mf-build-type-grid,
  .mf-build-process-grid,
  .mf-build-benefit-list,
  .mf-build-form__row {
    grid-template-columns: 1fr;
  }

  .mf-build-portfolio__head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mf-build-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 220px 220px 220px 220px;
  }

  .mf-build-gallery-card--featured {
    grid-row: auto;
    grid-column: auto;
  }

  .mf-build-principles article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--mf-line);
  }

  .mf-build-principles article:last-child {
    border-bottom: 0;
  }

  .mf-build-type-card,
  .mf-build-benefit-list article {
    min-height: auto;
    padding: 22px;
  }

  .mf-build-process-grid article {
    padding: 20px 20px 22px;
  }

  .mf-build-process-grid span {
    margin-bottom: 18px;
  }

  .mf-build-gallery-card {
    min-height: 220px;
  }

  .mf-build-benefits__panel,
  .mf-build-scope-card,
  .mf-build-final__box,
  .mf-build-calc {
    padding: 28px 22px;
  }

  .mf-build-scope-card {
    min-height: auto;
  }

  .mf-build-term-grid {
    grid-template-columns: 1fr;
  }

  .mf-build-benefit-metrics span {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .mf-build-phone {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mf-build-page *,
  .mf-build-page *::before,
  .mf-build-page *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .mf-build-ticker__track {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .mf-build-ticker__item {
    padding: 0 20px;
    font-size: 12px;
  }

  .mf-build-ticker__item b {
    font-size: 17px;
  }
}

/* Unified landing H1 scale */
.mf-build-hero h1, .mf-build-hero h1 span {
  font-size: clamp(40px, 5.1vw, 72px) !important;
  line-height: .96 !important;
}

@media (max-width: 767px) {
  .mf-build-hero h1, .mf-build-hero h1 span {
    font-size: clamp(34px, 11vw, 46px) !important;
    line-height: 1 !important;
  }
}
/* End unified landing H1 scale */

/* Hero lightness and side gutters */
.mf-build-hero__bg::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.28) 68%, rgba(0, 0, 0, 0.54) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.62) 100%) !important;
}

.mf-build-hero__inner {
  width: min(var(--mf-max), calc(100% - 88px)) !important;
}

@media (max-width: 1380px) {
  .mf-build-hero__inner {
    width: min(var(--mf-max), calc(100% - 80px)) !important;
  }
}

@media (max-width: 767px) {
  .mf-build-hero__inner {
    width: min(100% - 32px, 1460px) !important;
  }
}
/* End hero lightness and side gutters */

@media (max-width: 760px) {
  .mf-build-scope-list--columns {
    grid-template-columns: 1fr;
  }

  .mf-build-scope-card--guarantee h2 {
    font-size: clamp(32px, 9.5vw, 42px) !important;
  }

  .mf-build-scope-card--guarantee {
    min-height: auto;
    padding: 34px 22px;
  }

  .mf-build-scope-card--guarantee::after {
    right: -48px;
    bottom: -48px;
    width: 150px;
    height: 150px;
  }

}

/* Hero form vertical alignment */
@media (min-width: 1181px) {
  .mf-build-quick-form {
    margin-top: -14px !important;
  }
}

@media (min-width: 1181px) and (max-width: 1380px) {
  .mf-build-quick-form {
    margin-top: -8px !important;
  }
}
/* End hero form vertical alignment */

/* Hero copy vertical alignment */
@media (min-width: 1181px) {
  .mf-build-hero__copy {
    margin-top: clamp(42px, 5.4vh, 76px) !important;
  }
}

@media (min-width: 1181px) and (max-width: 1380px) {
  .mf-build-hero__copy {
    margin-top: clamp(34px, 4.8vh, 58px) !important;
  }
}

@media (max-width: 1180px) {
  .mf-build-hero__copy {
    margin-top: 0 !important;
  }
}
/* End hero copy vertical alignment */


/* Build gallery carousel final tune */
.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-track {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: none !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-panel {
  flex: 0 0 100% !important;
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr !important;
  grid-template-rows: 300px 300px !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-panel--more {
  flex-basis: calc((100% - 20px) / 3.4 * 2 + 10px) !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-card--featured {
  grid-row: 1 / 3 !important;
  grid-column: auto !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-controls {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: max-content !important;
  margin: 16px auto 0 0 !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-arrow {
  position: relative !important;
  width: 74px !important;
  min-width: 74px !important;
  max-width: 74px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  border: 1px solid var(--mf-line) !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--mf-black) !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-arrow::before {
  content: "" !important;
  position: absolute !important;
  top: 17px !important;
  width: 12px !important;
  height: 12px !important;
  border-top: 2px solid currentColor !important;
  border-left: 2px solid currentColor !important;
  background: transparent !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-arrow::after {
  content: none !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-prev::before {
  left: 32px !important;
  transform: rotate(-45deg) !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-next::before {
  left: 28px !important;
  transform: rotate(135deg) !important;
}

.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-arrow:hover,
.mf-build-page .mf-build-gallery-carousel .mf-build-gallery-arrow:focus-visible {
  transform: translateY(-2px) !important;
  border-color: var(--mf-orange) !important;
  background: var(--mf-orange) !important;
  background-color: var(--mf-orange) !important;
  color: #111111 !important;
  box-shadow: 0 12px 28px rgba(245, 155, 45, 0.18) !important;
}

@media (max-width: 1024px) {
  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-panel {
    grid-template-rows: 260px 260px !important;
  }
}

@media (max-width: 767px) {
  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-track {
    gap: 10px !important;
    padding-bottom: 18px !important;
    scroll-padding-inline: 0 !important;
    align-items: stretch !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-panel {
    display: grid !important;
    gap: 10px !important;
    min-width: 0 !important;
    height: clamp(520px, 142vw, 680px) !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-panel--lead {
    flex: 0 0 calc(300% + 20px) !important;
    width: calc(300% + 20px) !important;
    max-width: none !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-panel--more {
    flex: 0 0 calc(200% + 10px) !important;
    width: calc(200% + 10px) !important;
    max-width: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-card,
  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-card--featured {
    width: 100% !important;
    max-width: 100% !important;
    grid-row: auto !important;
    grid-column: auto !important;
    min-height: 0 !important;
    height: 100% !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-card--featured {
    grid-row: 1 / 3 !important;
    grid-column: auto !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-card div {
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-card h3 {
    font-size: clamp(21px, 6vw, 30px) !important;
    line-height: 1.08 !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-card .mf-build-gallery-meta {
    gap: 6px !important;
    margin-bottom: 10px !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-card .mf-build-gallery-meta span {
    min-height: 24px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
  }

  .mf-build-page .mf-build-gallery-carousel .mf-build-gallery-controls {
    margin-top: 12px !important;
  }

  .mf-build-gallery-lightbox {
    padding: 16px;
  }

  .mf-build-gallery-lightbox__dialog,
  .mf-build-gallery-lightbox__dialog img {
    max-height: calc(100vh - 32px);
  }

  .mf-build-gallery-lightbox__close {
    right: 0;
    top: 0;
    z-index: 3;
  }
}

