/* mskfundament.com — дизайн в духе berucottage.ru (шапка + hero) */

/* Старый прелоадер: не блокируем экран на редизайне */
body.mf-redesign .preloader,
body.mf-redesign .js-preloader {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
body.mf-redesign.html-overflow-hidden,
html.html-overflow-hidden:has(body.mf-redesign) {
  overflow: auto !important;
}

:root {
  --bk-gray: #807f7f;
  --bk-black: #282827;
  --bk-white: #f3f3f3;
  --bk-orange: #ff552b;
  --container-pad: 40px;
  --max-w: 1441px;
  --mobile-header-h: 104px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cookie */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: transparent;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.cookie-modal[hidden] {
  display: none;
}
.cookie-modal__content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  border-radius: 12px 12px 0 0;
  background: #282827;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.12);
  max-width: 600px;
  margin: 0 16px 24px;
}
.cookie-modal__text {
  font-size: 15px;
  line-height: 1.5;
  font-family: "Montserrat", system-ui, sans-serif;
}
.cookie-modal__text a {
  color: #fff;
  text-decoration: underline;
}
.cookie-modal__btn {
  background: var(--bk-orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 15px;
  cursor: pointer;
  font-family: "Montserrat", system-ui, sans-serif;
  white-space: nowrap;
}
.cookie-modal__btn:hover {
  background: #e04a22;
}

/* Buttons */
.btn-dark,
.btn-orange,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: "Montserrat", system-ui, sans-serif;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn-dark {
  background: var(--bk-black);
  color: var(--bk-white);
  padding: 8px 12px;
  font-weight: 400;
  font-size: 16px;
}
.btn-dark:hover {
  background: #4a4a47;
  color: var(--bk-white);
}

.btn-orange {
  background: var(--bk-orange);
  color: #fff;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.btn-orange:hover {
  background: #ff7a57;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--bk-black);
  border: 2px solid var(--bk-black);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
}
.btn-outline:hover {
  background: rgba(40, 40, 39, 0.06);
  color: var(--bk-black);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: var(--bk-white);
  border-bottom: 1px solid #fff;
  height: 80px;
  padding: 23px var(--container-pad) 20px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  transition: background 180ms ease, box-shadow 180ms ease;
  font-family: "Montserrat", system-ui, sans-serif;
  box-sizing: border-box;
}

.site-header *,
.site-header *::before,
.site-header *::after,
.mobile-nav *,
.mf-hero *,
.mf-hero *::before,
.mf-hero *::after {
  box-sizing: border-box;
}

.site-header a {
  color: var(--bk-black);
  text-decoration: none;
}

.site-header.is-stuck {
  background: rgb(243 243 243 / 92%);
  box-shadow: 0 1px 0 rgba(40, 40, 39, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.header-burger,
.btn-header-cta-mobile {
  display: none;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
  min-width: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-logo img {
  height: 25px;
  width: 145px;
  object-fit: contain;
  object-position: left center;
  display: block;
  max-width: none;
}

.nav-main {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}

.nav-main a {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.32px;
  white-space: nowrap;
}

.nav-main a:hover {
  color: var(--bk-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: background-color 180ms ease, transform 180ms ease;
}

.social-row a:hover {
  background-color: rgba(74, 74, 71, 0.12);
  transform: translateY(-1px);
}

.social-row img {
  width: 24px;
  height: 24px;
  max-width: none;
  display: block;
}

.phone-num {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
  white-space: nowrap;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  font-family: "Montserrat", system-ui, sans-serif;
}
.mobile-nav[aria-hidden="false"] {
  display: block;
}
.mobile-nav__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(40, 40, 39, 0.45);
  cursor: pointer;
}
.mobile-nav__sheet {
  position: absolute;
  inset: 0;
  background: #fff;
  padding: 28px 24px 40px;
  overflow: auto;
}
.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.mobile-nav__close::before,
.mobile-nav__close::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  background: var(--bk-black);
}
.mobile-nav__close::before {
  transform: rotate(45deg);
}
.mobile-nav__close::after {
  transform: rotate(-45deg);
}
.mobile-nav__body {
  padding-top: 40px;
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav__links a {
  font-size: 22px;
  font-weight: 600;
  color: var(--bk-black);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.mobile-nav__aside {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(40, 40, 39, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.mobile-nav__socials {
  display: flex;
  gap: 12px;
}
.mobile-nav__soc img {
  width: 24px;
  height: 24px;
  max-width: none;
}
.mobile-nav__phone {
  font-size: 20px;
  font-weight: 600;
  color: var(--bk-black);
  text-decoration: none;
}
.mobile-nav__cta {
  width: 100%;
  max-width: 280px;
  padding: 12px 16px;
}

/* Hero */
.mf-hero {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #fafafa;
  color: var(--bk-black);
  padding: 40px 0 56px;
}

.mf-hero__container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.mf-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: stretch;
}

.mf-hero__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bk-black);
}

.mf-hero__lead {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.45;
  color: #4a4a47;
  max-width: 36em;
}

.mf-hero__bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mf-hero__bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.45;
  color: #3a3a38;
}

.mf-hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bk-orange);
  box-shadow: inset 0 0 0 3px #fff;
  outline: 2px solid var(--bk-orange);
}

.mf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mf-hero__aside {
  min-width: 0;
}

.mf-hero__card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(40, 40, 39, 0.16);
}

.mf-hero__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-hero__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 40, 39, 0.82), rgba(255, 85, 43, 0.45));
}

.mf-hero__card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 520px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.mf-hero__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mf-hero__chip {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px;
  color: #fff;
}

.mf-hero__chip-title {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.mf-hero__chip-text {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}

.mf-hero__form {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px;
  color: #fff;
}

.mf-hero__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.mf-hero__form-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
  color: #fff !important;
}

.mf-hero__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.mf-hero__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 15px;
}
.mf-hero__field input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}
.mf-hero__field input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 1px;
}

.mf-hero__agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.92);
}
.mf-hero__agree input {
  margin-top: 3px;
  flex-shrink: 0;
}
.mf-hero__agree a {
  color: #fff;
  text-decoration: underline;
}

.mf-hero__submit {
  width: 100%;
  background: var(--bk-orange);
  color: #fff !important;
  padding: 12px 16px;
  font-weight: 500;
}
.mf-hero__submit:hover {
  background: #ff7a57;
  color: #fff !important;
}

/* Desktop fixed header spacing */
@media (min-width: 1024px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-w);
    margin: 0;
    z-index: 1200;
  }

  .barba-container > .main-content,
  main.main-content {
    padding-top: 80px;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .header-actions .btn-dark {
    display: none;
  }
  .nav-main {
    gap: 10px;
  }
  .nav-main a {
    font-size: 14px;
  }
}

/* Advantages */
.mf-advantages {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #fff;
  color: var(--bk-black);
  padding: 72px 0;
}

.mf-advantages__container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.mf-advantages__title {
  margin: 0 auto 16px;
  max-width: 18em;
  text-align: center;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-advantages__lead {
  margin: 0 auto 36px;
  max-width: 42em;
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  color: #4a4a47;
}

.mf-advantages__panel {
  background: #f7f7f7;
  padding: 28px 32px;
}

.mf-advantages__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mf-advantages__list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.5;
  color: #3a3a38;
}

.mf-advantages__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bk-orange);
  box-shadow: inset 0 0 0 3px #fff;
  outline: 2px solid var(--bk-orange);
}

.mf-advantages__list strong {
  color: var(--bk-black);
}

.mf-advantages__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Foundations */
.mf-foundations {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #f7f7f7;
  color: var(--bk-black);
  padding: 72px 0;
}

.mf-foundations__container,
.mf-consult__container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.mf-foundations__title {
  margin: 0 auto 16px;
  max-width: 20em;
  text-align: center;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-foundations__lead {
  margin: 0 auto 40px;
  max-width: 48em;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #4a4a47;
}

.mf-foundations__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mf-fcard {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.mf-fcard:hover {
  box-shadow: 0 12px 28px rgba(40, 40, 39, 0.1);
  transform: translateY(-2px);
}

.mf-fcard__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8e8e8;
}

.mf-fcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mf-fcard__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.mf-fcard__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mf-fcard__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5a5a57;
  flex: 1;
}

.mf-fcard__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: #6a6a67;
}

.mf-fcard__meta strong {
  color: var(--bk-black);
}

.mf-fcard__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.mf-fcard__btn {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
}

.mf-fcard__more {
  text-align: center;
  font-size: 13px;
  color: var(--bk-black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mf-fcard__more:hover {
  color: var(--bk-orange);
}

/* Consult CTA under foundations */
.mf-consult {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #fff;
  color: var(--bk-black);
  padding: 0 0 72px;
}

.mf-consult__card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  background: #f7f7f7;
}

.mf-consult__form-col {
  padding: 32px;
}

.mf-consult__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-consult__lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #4a4a47;
}

.mf-consult__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
}

.mf-consult__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d5d5;
  background: #fff;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 15px;
  color: var(--bk-black);
}

.mf-consult__field input:focus {
  outline: 2px solid rgba(255, 85, 43, 0.35);
  outline-offset: 1px;
}

.mf-consult__agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.4;
  color: #4a4a47;
}

.mf-consult__agree input {
  margin-top: 3px;
  flex-shrink: 0;
}

.mf-consult__agree a {
  color: var(--bk-black);
  text-decoration: underline;
}

.mf-consult__submit {
  width: 100%;
  margin-top: 4px;
}

.mf-consult__aside {
  background: var(--bk-black);
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mf-consult__aside-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.mf-consult__aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mf-consult__aside-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.mf-consult__aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bk-orange);
}

/* Projects */
.mf-projects {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #f7f7f7;
  color: var(--bk-black);
  padding: 72px 0;
}

.mf-projects__container,
.mf-reviews__container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.mf-projects__title,
.mf-reviews__title {
  margin: 0 auto 36px;
  max-width: 18em;
  text-align: center;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-projects__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mf-pcard {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.mf-pcard:hover {
  box-shadow: 0 12px 28px rgba(40, 40, 39, 0.1);
  transform: translateY(-2px);
}

.mf-pcard__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e8;
}

.mf-pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mf-pcard__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mf-pcard__name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mf-pcard__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6a6a67;
  flex: 1;
}

.mf-pcard__btn {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
}

.mf-projects__footer {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* Reviews */
.mf-reviews {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #fff;
  color: var(--bk-black);
  padding: 72px 0;
}

.mf-reviews__lead {
  margin: -20px auto 28px;
  text-align: center;
  font-size: 16px;
  color: #4a4a47;
}

.mf-reviews__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mf-reviews__track::-webkit-scrollbar {
  height: 6px;
}

.mf-reviews__track::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 3px;
}

.mf-rcard {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  background: #f7f7f7;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.mf-rcard:hover {
  box-shadow: 0 10px 24px rgba(40, 40, 39, 0.1);
  transform: translateY(-2px);
}

.mf-rcard__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mf-rcard__badge {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #fc3f1d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.mf-rcard__source {
  font-size: 14px;
  font-weight: 600;
}

.mf-rcard__stars {
  color: #f5a623;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.mf-rcard__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #3a3a38;
  flex: 1;
}

.mf-rcard__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--bk-orange);
}

.mf-reviews__cta {
  margin-top: 40px;
  text-align: center;
}

.mf-reviews__cta-title {
  margin: 0 auto 20px;
  max-width: 16em;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-reviews__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* About */
.mf-about {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #f7f7f7;
  color: var(--bk-black);
  padding: 72px 0;
}

.mf-about__container,
.mf-team__container,
.mf-partners__container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.mf-about__top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.mf-about__title,
.mf-team__title,
.mf-partners__title {
  margin: 0 0 20px;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-about__text p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: #3a3a38;
}

.mf-about__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.mf-about__stat {
  background: #fff;
  padding: 16px 18px;
}

.mf-about__stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bk-orange);
  line-height: 1.1;
}

.mf-about__stat-label {
  margin-top: 4px;
  font-size: 14px;
  color: #6a6a67;
}

.mf-about__photo {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background: #e8e8e8;
}

.mf-about__photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.mf-about__photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(transparent, rgba(40, 40, 39, 0.85));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mf-about__photo-caption strong {
  font-size: 18px;
}

.mf-about__photo-caption span {
  font-size: 14px;
  opacity: 0.9;
}

.mf-about__subtitle {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-about__gallery {
  margin-bottom: 40px;
}

.mf-about__gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mf-about__figure {
  margin: 0;
  background: #fff;
  overflow: hidden;
}

.mf-about__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.mf-about__figure figcaption {
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
  color: #4a4a47;
}

.mf-about__note {
  text-align: center;
  font-weight: 500;
  margin: 0 0 40px;
  color: #3a3a38;
}

.mf-about__certs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mf-about__cert {
  background: #fff;
  padding: 18px;
}

.mf-about__cert-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.mf-about__cert-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5a5a57;
}

/* Team */
.mf-team {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #fff;
  color: var(--bk-black);
  padding: 72px 0;
}

.mf-team__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.mf-team__photo {
  overflow: hidden;
  background: #e8e8e8;
  max-width: 560px;
  width: 100%;
  justify-self: start;
}

.mf-team__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 400px;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mf-team__content p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: #3a3a38;
}

.mf-team__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mf-team__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.4;
}

.mf-team__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bk-orange);
  box-shadow: inset 0 0 0 3px #fff;
  outline: 2px solid var(--bk-orange);
}

.mf-team__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Partners / plants */
.mf-partners {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #f7f7f7;
  color: var(--bk-black);
  padding: 72px 0;
}

.mf-partners__title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.mf-partners__lead {
  margin: -8px auto 32px;
  max-width: 40em;
  text-align: center;
  font-size: 16px;
  color: #4a4a47;
}

.mf-partners__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.mf-plant {
  background: #fff;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.mf-plant:hover {
  box-shadow: 0 10px 24px rgba(40, 40, 39, 0.1);
  transform: translateY(-2px);
}

.mf-plant__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e8;
}

.mf-plant__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mf-plant__body {
  padding: 12px 14px 16px;
}

.mf-plant__name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.mf-plant__addr {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6a6a67;
}

/* Gallery: рабочие моменты / техника */
.mf-gallery {
  font-family: "Montserrat", system-ui, sans-serif;
  background: #fff;
  color: var(--bk-black);
  padding: 72px 0 40px;
}

.mf-gallery__container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.mf-gallery__group {
  margin-bottom: 48px;
}

.mf-gallery__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mf-gallery__card {
  background: #f7f7f7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mf-gallery__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e4e4e4;
}

.mf-gallery__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mf-gallery__caption {
  margin: 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  color: #3a3a38;
}

.mf-gallery__note {
  margin: 0;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  color: #3a3a38;
}

/* Process */
.mf-process,
.mf-faq,
.mf-guarantees,
.mf-consultation,
.mf-geography {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--bk-black);
  padding: 72px 0;
}

.mf-process { background: #fff; }
.mf-faq { background: #f7f7f7; }
.mf-guarantees { background: #fff; }
.mf-consultation { background: #f7f7f7; }
.mf-geography { background: #fff; }

.mf-process__container,
.mf-faq__container,
.mf-guarantees__container,
.mf-consultation__container,
.mf-geography__container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.mf-process__title,
.mf-faq__title,
.mf-guarantees__title,
.mf-consultation__title,
.mf-geography__title {
  margin: 0 auto 16px;
  text-align: center;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-process__title { margin-bottom: 36px; }

.mf-faq__lead,
.mf-guarantees__lead,
.mf-geography__lead {
  margin: 0 auto 32px;
  max-width: 40em;
  text-align: center;
  font-size: 16px;
  color: #4a4a47;
}

.mf-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mf-step {
  background: #f7f7f7;
  padding: 22px 20px;
  min-height: 100%;
}

.mf-step__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--bk-orange);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.mf-step__name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.mf-step__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #3a3a38;
}

.mf-step__note {
  margin: 0;
  font-size: 13px;
  color: #6a6a67;
}

.mf-process__actions,
.mf-faq__cta-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* FAQ */
.mf-faq__list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mf-faq__item {
  background: #fff;
}

.mf-faq__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.mf-faq__q {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.mf-faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mf-faq__icon::before,
.mf-faq__icon::after {
  content: "";
  position: absolute;
  background: var(--bk-black);
  transition: transform 180ms ease, opacity 180ms ease;
}

.mf-faq__icon::before {
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
}

.mf-faq__icon::after {
  top: 0;
  bottom: 0;
  left: 9px;
  width: 2px;
}

.mf-faq__item.is-open .mf-faq__icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.mf-faq__answer {
  display: none;
  padding: 0 20px 18px;
}

.mf-faq__item.is-open .mf-faq__answer {
  display: block;
}

.mf-faq__answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #4a4a47;
}

.mf-faq__cta {
  margin-top: 40px;
  text-align: center;
}

.mf-faq__cta-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
}

.mf-faq__cta-text {
  margin: 0 auto 18px;
  max-width: 36em;
  font-size: 15px;
  color: #4a4a47;
}

/* Guarantees */
.mf-guarantees__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mf-gcard {
  background: #f7f7f7;
  padding: 22px 20px;
}

.mf-gcard__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mf-gcard__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4a4a47;
}

/* Consultation */
.mf-consultation__card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #fff;
  overflow: hidden;
}

.mf-consultation__form-col,
.mf-consultation__info {
  padding: 32px;
}

.mf-consultation__title {
  text-align: left;
  margin: 0 0 12px;
}

.mf-consultation__lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #4a4a47;
}

.mf-consultation__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.mf-consultation__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #6a6a67;
}

.mf-consultation__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d5d5;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--bk-black);
}

.mf-consultation__agree {
  color: #4a4a47;
}

.mf-consultation__submit {
  width: 100%;
}

.mf-consultation__info {
  background: var(--bk-black);
  color: #fff;
}

.mf-consultation__info-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.mf-consultation__info-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mf-consultation__info-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.45;
}

.mf-consultation__info-list strong {
  font-size: 13px;
  opacity: 0.75;
  font-weight: 500;
}

.mf-consultation__info-list a {
  color: #fff;
  text-decoration: none;
}

.mf-consultation__info-list a:hover {
  color: var(--bk-orange);
}

.mf-consultation__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mf-consultation__msg {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.mf-consultation__msg:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: #fff;
}

/* Geography */
.mf-geography__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.mf-geography__tag {
  display: inline-flex;
  padding: 10px 14px;
  background: #f7f7f7;
  font-size: 14px;
  font-weight: 500;
}

/* Why us */
.mf-why,
.mf-costs,
.mf-docs {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--bk-black);
  padding: 72px 0;
}
.mf-why { background: #f7f7f7; }
.mf-costs { background: #fff; }
.mf-docs { background: #f7f7f7; }
.mf-land,
.mf-geologist,
.mf-offer {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--bk-black);
  padding: 0 0 72px;
  background: #fff;
}
.mf-geologist { background: #f7f7f7; padding: 72px 0; }
.mf-offer { background: #f7f7f7; padding: 72px 0; }
.mf-land { background: #fff; padding: 72px 0; }

.mf-why__container,
.mf-costs__container,
.mf-land__container,
.mf-geologist__container,
.mf-docs__container,
.mf-offer__container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.mf-why__title,
.mf-costs__title,
.mf-docs__title {
  margin: 0 auto 32px;
  text-align: center;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-why__grid,
.mf-costs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mf-why__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mf-why__card,
.mf-costs__card {
  background: #fff;
  padding: 20px;
}

.mf-costs__card {
  background: #f7f7f7;
}

.mf-why__name,
.mf-costs__name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.mf-why__text,
.mf-costs__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4a4a47;
}

.mf-costs__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* Land CTA */
.mf-land__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #f7f7f7;
  padding: 28px 32px;
  flex-wrap: wrap;
}

.mf-land__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mf-land__lead {
  margin: 0;
  font-size: 15px;
  color: #4a4a47;
  max-width: 36em;
}

.mf-land__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Geologist / Offer */
.mf-geologist__card,
.mf-offer__card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: #fff;
  overflow: hidden;
}

.mf-geologist__text,
.mf-offer__text,
.mf-geologist__form,
.mf-offer__form {
  padding: 32px;
}

.mf-geologist__title,
.mf-offer__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.mf-geologist__lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #4a4a47;
}

.mf-geologist__list,
.mf-offer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mf-geologist__list li,
.mf-offer__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.4;
}

.mf-geologist__list li::before,
.mf-offer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bk-orange);
}

.mf-offer__note {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--bk-orange);
}

.mf-geologist__form,
.mf-offer__form {
  background: var(--bk-black);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mf-geologist__form-title,
.mf-offer__form-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.mf-geologist__field input,
.mf-offer__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}

.mf-geologist__field input::placeholder,
.mf-offer__field input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.mf-geologist__form .mf-consult__agree,
.mf-offer__form .mf-consult__agree {
  color: rgba(255, 255, 255, 0.9);
}

.mf-geologist__form .mf-consult__agree a,
.mf-offer__form .mf-consult__agree a {
  color: #fff;
}

/* Docs */
.mf-docs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mf-docs__card {
  background: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mf-docs__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e8;
}

.mf-docs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mf-docs__name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.mf-docs__btn {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
}

/* Footer Beru-style */
.site-footer {
  background: var(--bk-white);
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--bk-black);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 36px 24px;
  padding: 56px var(--container-pad);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-weight: 400;
  font-size: 18px;
  color: var(--bk-gray);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}

.footer-col p {
  margin: 0;
  font-size: 15px;
}

.footer-col a {
  color: var(--bk-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--bk-orange);
}

.footer-link-icon {
  display: inline-block;
  flex-shrink: 0;
  max-width: none;
}

.footer-phone {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
}

.footer-phone a {
  color: inherit;
  text-decoration: none;
}

.footer-logo-band {
  position: relative;
  padding: 0 var(--container-pad) 6px;
  overflow: hidden;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-logo-band img {
  display: block;
  width: 100%;
  height: clamp(70px, 16vw, 220px);
  object-fit: cover;
  object-position: top center;
  clip-path: inset(0 0 29% 0);
}

.copyright {
  position: absolute;
  right: var(--container-pad);
  top: 0;
  font-size: 14px;
  color: var(--bk-black);
  z-index: 1;
  margin: 0;
}

/* Mobile */
@media (max-width: 1023px) {
  :root {
    --container-pad: 20px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 28px var(--container-pad) 16px;
    margin: 0;
    background: rgb(248 248 248);
    transform: none;
  }

  .barba-container > .main-content,
  main.main-content {
    padding-top: var(--mobile-header-h);
  }

  .site-header.is-stuck {
    background: rgba(243, 243, 243, 0.98);
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .header-burger {
    display: flex;
    grid-column: 1;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .header-burger__line {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--bk-black);
    border-radius: 1px;
  }

  .header-left {
    grid-column: 2;
    justify-self: center;
    gap: 0;
  }

  .header-left .nav-main {
    display: none;
  }

  .site-logo img {
    width: clamp(90px, 28vw, 145px);
    height: auto;
  }

  .header-actions {
    display: none;
  }

  .btn-header-cta-mobile {
    display: inline-flex;
    grid-column: 3;
    font-size: 13px;
    padding: 8px 10px;
  }

  body.nav-open .site-header {
    display: none !important;
  }

  .mf-hero {
    padding: 28px 0 40px;
  }

  .mf-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mf-hero__title {
    font-size: 28px;
  }

  .mf-hero__lead {
    font-size: 16px;
  }

  .mf-hero__actions {
    flex-direction: column;
  }

  .mf-hero__actions .btn-orange,
  .mf-hero__actions .btn-outline {
    width: 100%;
  }

  .mf-hero__card,
  .mf-hero__card-body {
    min-height: 0;
  }

  .mf-hero__chips {
    grid-template-columns: 1fr;
  }

  .mf-hero__form-row {
    grid-template-columns: 1fr;
  }

  .mf-advantages {
    padding: 48px 0;
  }

  .mf-advantages__title {
    font-size: 24px;
  }

  .mf-advantages__actions {
    flex-direction: column;
  }

  .mf-advantages__actions .btn-orange,
  .mf-advantages__actions .btn-outline {
    width: 100%;
  }

  .mf-foundations,
  .mf-consult {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .mf-foundations__grid {
    grid-template-columns: 1fr;
  }

  .mf-consult__card {
    grid-template-columns: 1fr;
  }

  .mf-consult__form-col,
  .mf-consult__aside {
    padding: 24px 20px;
  }

  .mf-consult__form {
    max-width: none;
  }

  .mf-projects,
  .mf-reviews {
    padding: 48px 0;
  }

  .mf-projects__grid {
    grid-template-columns: 1fr;
  }

  .mf-reviews__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mf-reviews__cta-actions .btn-orange,
  .mf-reviews__cta-actions .btn-outline {
    width: 100%;
  }

  .mf-about,
  .mf-team,
  .mf-partners {
    padding: 48px 0;
  }

  .mf-about__top,
  .mf-team__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mf-about__photo,
  .mf-about__photo img {
    min-height: 360px;
  }

  .mf-about__gallery-grid,
  .mf-about__certs {
    grid-template-columns: 1fr 1fr;
  }

  .mf-partners__grid {
    grid-template-columns: 1fr;
  }

  .mf-team__actions {
    flex-direction: column;
  }

  .mf-team__actions .btn-orange,
  .mf-team__actions .btn-outline {
    width: 100%;
  }

  .mf-process,
  .mf-faq,
  .mf-guarantees,
  .mf-consultation,
  .mf-geography,
  .mf-gallery,
  .mf-why,
  .mf-costs,
  .mf-docs,
  .mf-land,
  .mf-geologist,
  .mf-offer {
    padding: 48px 0;
  }

  .mf-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mf-why__grid,
  .mf-costs__grid,
  .mf-docs__grid,
  .mf-geologist__card,
  .mf-offer__card {
    grid-template-columns: 1fr;
  }

  .mf-land__card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
  }

  .mf-land__actions {
    flex-direction: column;
  }

  .mf-land__actions .btn-orange,
  .mf-land__actions .btn-outline {
    width: 100%;
  }

  .footer-grid {
    padding: 40px var(--container-pad);
    gap: 28px 16px;
  }

  .copyright {
    position: static;
    margin-bottom: 12px;
  }
}

  .mf-process__grid,
  .mf-guarantees__grid,
  .mf-consultation__card {
    grid-template-columns: 1fr;
  }

  .mf-consultation__form-col,
  .mf-consultation__info {
    padding: 24px 20px;
  }

  .mf-consultation__form {
    max-width: none;
  }

  .mf-process__actions,
  .mf-faq__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mf-process__actions .btn-orange,
  .mf-process__actions .btn-outline,
  .mf-faq__cta-actions .btn-orange,
  .mf-faq__cta-actions .btn-outline {
    width: 100%;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .mf-foundations__grid,
  .mf-projects__grid,
  .mf-partners__grid,
  .mf-gallery__grid,
  .mf-why__grid,
  .mf-costs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mf-docs__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) and (max-width: 1280px) {
  .mf-foundations__grid,
  .mf-projects__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mf-partners__grid,
  .mf-costs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mf-about__gallery-grid,
  .mf-about__certs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .cookie-modal__content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}
