/* Magic Forest theme overlay */
:root {
  --mf-green: #5c9a23;
  --mf-green-dark: #3d6e14;
  --mf-green-soft: #8dc53f;
  --mf-leaf: #6fbf40;
  --mf-cream: #f6f1e4;
  --mf-cream-2: #efe6d0;
  --mf-ink: #2c3a22;
  --mf-sky: #6eb6e0;
  --mf-wood: #8b5a2b;
}

html { scroll-behavior: smooth; }
body.html {
  background: #fbf8f1;
  color: var(--mf-ink);
  font-size: 18px;
  line-height: 1.55;
}
body.html.front {
  background: transparent;
}

a { color: var(--mf-green-dark); }
a:hover { color: var(--mf-green); }

.header2 {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ea 100%) !important;
  box-shadow: 0 8px 24px rgba(92,154,35,.08);
  border-bottom: 3px solid var(--mf-green);
}
a.logo img {
  padding-top: 18px !important;
  filter: drop-shadow(0 4px 8px rgba(47,93,22,.15));
}

marquee {
  background: #eef6e0 !important;
  color: var(--mf-green-dark) !important;
  font-size: 18px !important;
  padding: 6px 0 !important;
  font-weight: 600;
}

/* меню всегда видно на десктопе */
@media (min-width: 768px) {
  .navbar-default.container-fluid,
  header#navbar.navbar-default {
    display: block !important;
    background: #fff !important;
    border: 0;
    box-shadow: none;
    min-height: auto;
  }
  #navbar-collapse {
    display: block !important;
    height: auto !important;
    padding: 8px 0 !important;
    overflow: visible !important;
  }
  .navbar-header-wr .navbar-toggle { display: none !important; }
}

#navbar .menu.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
#navbar .menu.nav > li > a,
.navbar-nav > li > a {
  background: var(--mf-green) !important;
  color: #fff !important;
  border-radius: 999px !important;
  margin: 6px 5px !important;
  padding: 8px 16px !important;
  box-shadow: 0 4px 0 var(--mf-green-dark);
  transition: .2s transform, .2s background;
}
#navbar .menu.nav > li > a:hover {
  background: var(--mf-green-dark) !important;
  transform: translateY(-1px);
}
.menu-item-1346 a {
  color: #fff !important;
  background: var(--mf-wood) !important;
  box-shadow: 0 4px 0 #6a421f;
}

.icon-bar { background: var(--mf-green) !important; }

/* герой: снова видео на фоне */
.banner-wr {
  background: transparent !important;
  padding: 40px 0 70px !important;
  position: relative;
  overflow: visible;
}
body.html.front video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
#block-block-12 {
  color: #234010 !important;
}
#block-block-12 p {
  background: rgba(255,255,255,.82) !important;
  color: #2c4a16 !important;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(47,93,22,.12);
  padding: 12px 18px !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
  font-size: 34px;
}
#block-webform-client-block-644,
.webform-client-form-639 {
  background: linear-gradient(180deg, #8dc53f 0%, #3f8f24 100%) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 40px rgba(47,93,22,.22) !important;
  border: 3px solid rgba(255,255,255,.35);
}
.webform-client-form-644 .form-submit,
.webform-submit,
#node-638 button,
#block-webform-client-block-638 .webform-submit {
  background: var(--mf-wood) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  text-transform: none !important;
  letter-spacing: .02em;
  box-shadow: 0 4px 0 #6a421f;
  font-size: 18px !important;
  padding: 10px 28px !important;
}
.webform-client-form-644 .form-submit:hover,
.webform-submit:hover {
  background: #6a421f !important;
}

input.form-control, .form-control {
  border-radius: 12px !important;
  border: 0 !important;
  min-height: 42px;
}

h2.block-title,
#block-webform-client-block-638 header h2 a,
#block-webform-client-block-639 header h2 a {
  color: var(--mf-green-dark) !important;
  font-weight: 700;
  letter-spacing: .01em;
}
h2.block-title:after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--mf-green-soft), var(--mf-sky));
  border-radius: 4px;
}

.desc-pod-banner-wr,
.otzyvy-wr,
.predmety-wr,
.zabota-wr {
  background: #fbf8f1;
}
.poraduetes-wr,
.zapis-wr,
.ekskursiya-wr,
.spokoino-wr {
  background: var(--mf-cream) !important;
}

.view-otzyvy .views-row {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  height: auto !important;
  box-shadow: 0 10px 28px rgba(47,93,22,.08);
  border: 1px solid #e3eed4;
}
.view-otzyvy .views-field-field-otzyv-foto img {
  border-radius: 50%;
  object-fit: cover;
}

.ploschadki img,
.predmety img,
.content img {
  border-radius: 16px;
}

.page-header {
  color: var(--mf-green-dark);
}
.breadcrumb { color: #6b7a5e; }
.footer-wr {
  background: #2f5d16 !important;
  color: #eef6e0 !important;
  padding: 28px 0;
}
.footer-wr p { color: #eef6e0 !important; }

.main-container.container {
  background: #fff;
  border-radius: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 24px 28px 40px;
  box-shadow: 0 10px 30px rgba(47,93,22,.06);
}

@media (max-width: 767px) {
  #block-block-12 p { font-size: 26px !important; }
  h1.name a span.brand-name { font-size: 26px !important; white-space: normal !important; }
}


/* --- сказка: лес, цветы, появление при скролле --- */
body.html.not-front {
  background: #fbf8f1 url("/images/theme/forest-bg.jpg") no-repeat center 120px / cover fixed;
}
body.html.front .desc-pod-banner-wr,
body.html.front .ploschadki-wr,
body.html.front .predmety-wr,
body.html.front .zabota-wr {
  background-image: linear-gradient(180deg, rgba(251,248,241,.82), rgba(251,248,241,.9)), url("/images/theme/forest-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.mf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.mf-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.content img,
.region-content img,
.view-content-foto img,
.view-otzyvy img,
.ploschadki img,
.predmety img,
.zabota img,
.ugolki img {
  position: relative;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(47,93,22,.14);
  outline: 3px solid rgba(255,255,255,.8);
}

.mf-photo {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.mf-photo img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}
.mf-photo:before,
.mf-photo:after {
  content: "";
  position: absolute;
  width: 110px;
  height: 130px;
  background: url("/images/theme/flowers.png.jpg") no-repeat left bottom / contain;
  pointer-events: none;
  z-index: 2;
}
.mf-photo:before {
  left: -18px;
  bottom: -16px;
}
.mf-photo:after {
  right: -18px;
  top: -16px;
  transform: rotate(180deg);
}

@keyframes mfFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.logo img { animation: mfFloat 5s ease-in-out infinite; }


/* приветствие — появление по строкам */
@keyframes mfHelloIn {
  0% { opacity: 0; transform: translateY(18px) scale(.98); filter: blur(4px); }
  100% { opacity: 1; transform: none; filter: none; }
}
#block-block-12 p.mf-hello,
#block-block-12 p {
  opacity: 0;
  animation: mfHelloIn 0.9s ease forwards;
}
#block-block-12 p.mf-h1,
#block-block-12 p:nth-child(1) { animation-delay: .15s; }
#block-block-12 p.mf-h2,
#block-block-12 p.second { animation-delay: .55s; }
#block-block-12 p.mf-h3,
#block-block-12 p.last { animation-delay: 1s; }

/* форма-дерево */
#block-webform-client-block-644 {
  position: relative !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
#block-webform-client-block-644 .mf-tree-form,
#node-644.mf-tree-form {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,252,245,.92) 0%, rgba(255,252,245,.88) 100%);
  border-radius: 50% 50% 42% 42% / 48% 48% 52% 52%;
  padding: 42px 36px 70px;
  box-shadow:
    0 0 0 14px #7cb342,
    0 0 0 22px #4e841c,
    0 18px 30px rgba(47,93,22,.25);
  z-index: 2;
  color: #2c3a22 !important;
}
#block-webform-client-block-644 h2 {
  color: #3d6e14 !important;
  font-size: 26px;
  margin: 0 0 6px;
}
#block-webform-client-block-644 .field-name-field-text-verh p {
  color: #3d6e14 !important;
  background: none !important;
  font-size: 16px;
}
#block-webform-client-block-644:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -78px;
  width: 54px;
  height: 86px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #6b3f1a, #a36a32 45%, #6b3f1a);
  border-radius: 6px 6px 10px 10px;
  box-shadow: inset 4px 0 0 rgba(0,0,0,.12);
  z-index: 1;
}
#block-webform-client-block-644:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -118px;
  width: 170px;
  height: 52px;
  transform: translateX(-50%);
  background: url("/images/theme/tree-form.jpg") no-repeat center bottom / contain;
  opacity: .95;
  pointer-events: none;
}
#block-webform-client-block-644 .form-control {
  background: #fffdf6 !important;
  border: 1px solid #cfe3b0 !important;
}
.banner { overflow: visible; }
.banner-wr { overflow: visible !important; padding-bottom: 140px !important; }

@media (max-width: 767px) {
  #block-webform-client-block-644 .mf-tree-form,
  #node-644.mf-tree-form {
    border-radius: 36px;
    padding: 24px 18px 40px;
  }
}


/* фото детей — листочки */
.mf-leaf {
  display: inline-block;
  position: relative;
  max-width: 100%;
  margin: 12px 10px;
  vertical-align: middle;
  filter: drop-shadow(0 10px 14px rgba(47,93,22,.22));
  transform: rotate(-12deg) scale(.86);
  opacity: 0;
}
.mf-leaf:nth-child(even),
.mf-leaf.mf-alt {
  transform: rotate(10deg) scale(.86);
}
.mf-leaf.is-visible {
  opacity: 1;
  transform: rotate(-8deg) scale(1);
  transition: opacity .8s ease, transform .9s cubic-bezier(.18,.7,.32,1.15);
}
.mf-leaf:nth-child(even).is-visible,
.mf-leaf.mf-alt.is-visible {
  transform: rotate(8deg) scale(1);
}
.mf-leaf {
  background: linear-gradient(180deg, #cfe89a 0%, #7cb342 100%);
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
  padding: 14px 16px 20px;
}
.mf-leaf img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  clip-path: none;
  -webkit-clip-path: none;
}
.mf-leaf:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 3px;
  height: 22px;
  background: #6b8f3a;
  border-radius: 2px;
  transform: translateX(-50%);
}

/* сетка листочков в контентных блоках */
.ploschadki .content,
.predmety .content,
.zabota .content,
.desc-pod-banner .content {
  text-align: center;
}


/* фикс видимости */
#block-block-12 p,
#block-block-12 p.mf-hello {
  color: #2f5d16 !important;
  background: rgba(255,255,255,.88) !important;
  opacity: 1 !important;
}
.mf-reveal { opacity: 1; }
.mf-leaf.mf-reveal { opacity: 0; }
.mf-leaf.mf-reveal.is-visible { opacity: 1; }


/* кленовый лист, горизонтальный + падение */
.mf-leaf {
  display: inline-block !important;
  position: relative !important;
  width: 280px !important;
  max-width: 92% !important;
  height: 210px !important;
  margin: 18px 14px !important;
  padding: 18px 28px 22px !important;
  vertical-align: middle;
  background:
    radial-gradient(circle at 30% 30%, #d4f08a, #7cb342 55%, #4e841c) !important;
  border-radius: 42% 58% 40% 60% / 55% 45% 55% 45% !important;
  filter: drop-shadow(0 12px 16px rgba(47,93,22,.25));
  transform: translateY(-90px) rotate(-50deg);
  opacity: 0;
  overflow: visible !important;
}
.mf-leaf:nth-child(even) {
  transform: translateY(-90px) rotate(55deg);
  border-radius: 58% 42% 60% 40% / 45% 55% 45% 55% !important;
}
.mf-leaf.is-visible {
  opacity: 1;
  animation: mfFall 1.15s cubic-bezier(.2,.7,.25,1) both;
}
.mf-leaf:nth-child(even).is-visible {
  animation-name: mfFallAlt;
}
.mf-leaf:nth-child(3n).is-visible { animation-duration: 1.35s; }
.mf-leaf:nth-child(4n).is-visible { animation-duration: 1.05s; animation-delay: .08s; }

@keyframes mfFall {
  0% { opacity: 0; transform: translateY(-110px) rotate(-70deg); }
  60% { opacity: 1; transform: translateY(8px) rotate(-4deg); }
  100% { opacity: 1; transform: translateY(0) rotate(-8deg); }
}
@keyframes mfFallAlt {
  0% { opacity: 0; transform: translateY(-110px) rotate(70deg); }
  60% { opacity: 1; transform: translateY(8px) rotate(4deg); }
  100% { opacity: 1; transform: translateY(0) rotate(8deg); }
}

.mf-leaf img {
  display: block !important;
  width: 100% !important;
  height: 170px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fffdf6;
  border-radius: 50% / 42% !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,.55) !important;
}
.mf-leaf:after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 8px;
  width: 36px;
  height: 6px;
  background: #6b3f1a;
  border-radius: 4px;
  transform: rotate(18deg);
}


/* точные кленовые листья с фото в центре */
.mf-leaf {
  display: inline-block !important;
  position: relative !important;
  width: 300px !important;
  height: 300px !important;
  max-width: 90vw !important;
  margin: 12px 10px !important;
  padding: 78px 72px 88px !important;
  box-sizing: border-box !important;
  background: url("/images/theme/maple.jpg") center / contain no-repeat !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.18));
  overflow: visible !important;
}
.mf-leaf:nth-child(even) { border-radius: 0 !important; }
.mf-leaf:after { display: none !important; }
.mf-leaf img {
  width: 100% !important;
  height: 100% !important;
  max-height: 140px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}


/* новая рамка: лист с овальным окном */
.mf-leaf {
  width: 260px !important;
  height: 360px !important;
  max-width: 88vw !important;
  padding: 108px 68px 168px !important;
  background: url("/images/theme/maple-frame.jpg") center / contain no-repeat !important;
}
.mf-leaf img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 50% !important;
}


/* крупнее фото в листе */
.mf-leaf {
  width: 340px !important;
  height: 380px !important;
  padding: 78px 58px 118px !important;
}
.mf-leaf img {
  width: 100% !important;
  height: 170px !important;
  max-height: 180px !important;
  object-fit: contain !important;
  transform: scale(1.35);
  transform-origin: center center;
}

.mf-leaf,
.mf-leaf img {
  background: transparent !important;
  background-color: transparent !important;
}
.mf-leaf img {
  mix-blend-mode: multiply;
}


/* листья без белого фона, фото крупное, лёгкое наложение */
.ploschadki .content,
.predmety .content,
.zabota .content,
.desc-pod-banner .content,
.poraduetes .content {
  text-align: center;
  font-size: inherit;
}
.mf-leaf {
  display: inline-block !important;
  position: relative !important;
  width: 340px !important;
  height: 340px !important;
  max-width: 46vw !important;
  margin: -28px -22px !important;
  padding: 86px 78px 96px !important;
  box-sizing: border-box !important;
  vertical-align: middle;
  background: url("/images/theme/maple-leaf.png") center / contain no-repeat !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 8px 12px rgba(47,93,22,.22));
  z-index: 1;
}
.mf-leaf:nth-child(even) {
  margin-top: 8px !important;
  z-index: 2;
}
.mf-leaf:nth-child(3n) {
  margin-top: -36px !important;
  z-index: 3;
}
.mf-leaf:after { display: none !important; content: none !important; }
.mf-leaf img {
  width: 100% !important;
  height: 170px !important;
  max-height: 180px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  transform: scale(1.35);
  transform-origin: center center;
}


/* только 3 чётких фото-листа по длине страницы */
.mf-leaf {
  display: block !important;
  width: 360px !important;
  height: 360px !important;
  max-width: 90vw !important;
  margin: 30px auto !important;
  padding: 88px 80px 98px !important;
  background: url("/images/theme/maple-leaf.png") center / contain no-repeat !important;
  background-color: transparent !important;
  z-index: 2;
}
.mf-leaf-1 { margin-top: 10px !important; }
.mf-leaf-2 { margin-top: 40px !important; }
.mf-leaf-3 { margin-top: 40px !important; }
.mf-leaf img {
  display: block !important;
  width: 170px !important;
  height: 170px !important;
  max-height: 170px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  background: #fff8e8 !important;
  border-radius: 50% !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}


/* ряд листьев на всю ширину блока */
.mf-leaf-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-evenly !important;
  align-items: center !important;
  gap: 0 8px !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 16px !important;
}
.mf-leaf-row > *:not(.mf-leaf) {
  width: 100%;
  flex-basis: 100%;
}
.mf-leaf {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 300px !important;
  height: 300px !important;
  max-width: 46% !important;
  margin: -12px -8px !important;
  padding: 72px 70px 82px !important;
  box-sizing: border-box !important;
  background: url("/images/theme/maple-leaf.png") center / contain no-repeat !important;
  background-color: transparent !important;
  flex: 0 0 auto;
}
.mf-leaf img {
  width: 170px !important;
  height: 170px !important;
  max-width: 170px !important;
  max-height: 170px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  background: #fff8e8 !important;
  border-radius: 50% !important;
  transform: none !important;
  filter: none !important;
}
@media (max-width: 767px) {
  .mf-leaf {
    width: 280px !important;
    height: 280px !important;
    max-width: 92% !important;
    margin: 6px auto !important;
  }
}


/* чёткие фото + первые три листа крупнее */
.mf-leaf img {
  opacity: 1 !important;
  background: #fff !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  -webkit-filter: none !important;
}
.mf-leaf-lg {
  width: 420px !important;
  height: 420px !important;
  max-width: 92vw !important;
  padding: 96px 94px 108px !important;
  margin: 8px auto !important;
  display: block !important;
}
.mf-leaf-lg img {
  width: 220px !important;
  height: 220px !important;
  max-width: 220px !important;
  max-height: 220px !important;
  background: #fff !important;
  opacity: 1 !important;
}
.mf-leaf-1 { margin-left: auto !important; margin-right: auto !important; }
.mf-leaf-2 { margin-left: auto !important; margin-right: auto !important; }
.mf-leaf-3 { margin-left: auto !important; margin-right: auto !important; }


/* все листья блока — строго один ряд */
.mf-leaf-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-evenly !important;
  align-items: center !important;
  width: 100% !important;
  overflow: visible !important;
  gap: 0 !important;
}

.mf-leaf,
.mf-leaf-lg {
  display: inline-flex !important;
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: 280px !important;
  height: 260px !important;
  margin: 0 !important;
  padding: 58px 56px 66px !important;
}
.mf-leaf-lg img,
.mf-leaf img {
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  background: #fff !important;
  opacity: 1 !important;
}
.mf-leaf-1, .mf-leaf-2, .mf-leaf-3 {
  max-width: 320px !important;
  height: 300px !important;
  padding: 68px 66px 78px !important;
}
.mf-leaf-1 img, .mf-leaf-2 img, .mf-leaf-3 img {
  width: 170px !important;
  height: 170px !important;
  max-width: 170px !important;
  max-height: 170px !important;
}
@media (max-width: 767px) {
  .mf-leaf-row { flex-wrap: wrap !important; }
  .mf-leaf, .mf-leaf-lg { max-width: 90vw !important; height: 280px !important; }
}

.mf-leaf-row p, .mf-leaf-row h2, .mf-leaf-row h3, .mf-leaf-row div:not(.mf-leaf) {
  flex: 0 0 100%;
  width: 100%;
}


/* откат: не ломаем блоки, текст снова виден */
.mf-leaf-row,
.desc-pod-banner .content,
.ploschadki .content,
.predmety .content,
.zabota .content,
.poraduetes .content,
.spokoino .content {
  display: block !important;
  flex-wrap: unset !important;
  font-size: 16px !important;
}
.mf-leaf-row > *:not(.mf-leaf),
.mf-leaf-row p,
.mf-leaf-row h2,
.mf-leaf-row h3,
.mf-leaf-row div:not(.mf-leaf) {
  display: block !important;
  flex: none !important;
  width: auto !important;
  font-size: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.mf-leaf {
  display: inline-block !important;
  flex: none !important;
  width: 300px !important;
  height: 300px !important;
  max-width: 300px !important;
  margin: 8px !important;
  padding: 68px 66px 78px !important;
  vertical-align: middle;
}
.mf-leaf img {
  width: 170px !important;
  height: 170px !important;
  max-width: 170px !important;
  max-height: 170px !important;
  background: #fff !important;
  opacity: 1 !important;
}


/* шапка: логотип в центре, главная-солнышко */
.mf-header-grid { position: relative; min-height: 170px; }
.mf-logo {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  z-index: 5;
  display: block;
  width: 150px;
  height: 150px;
}
.mf-logo-stage {
  position: relative;
  width: 150px;
  height: 150px;
  display: block;
}
.mf-logo img {
  position: relative;
  z-index: 2;
  width: 150px !important;
  height: 150px !important;
  padding: 0 !important;
  float: none !important;
  object-fit: contain;
  filter: contrast(1.18) saturate(1.2);
  animation: mfLogoClear .9s .55s ease both;
}
.mf-piece {
  position: absolute;
  width: 50%;
  height: 50%;
  background: url("/images/logo.png") no-repeat;
  background-size: 150px 150px;
  z-index: 3;
  animation: mfPieceIn .7s cubic-bezier(.2,.7,.2,1.1) both;
}
.mf-piece.p1 { left:0; top:0; background-position: 0 0; animation-delay:.05s; }
.mf-piece.p2 { right:0; top:0; left:auto; background-position: 100% 0; animation-delay:.12s; }
.mf-piece.p3 { left:0; bottom:0; top:auto; background-position: 0 100%; animation-delay:.2s; }
.mf-piece.p4 { right:0; bottom:0; left:auto; top:auto; background-position: 100% 100%; animation-delay:.28s; }
@keyframes mfPieceIn {
  0% { opacity:0; transform: translate(var(--dx,0), var(--dy,0)) scale(.4) rotate(-25deg); }
  100% { opacity:1; transform: none; }
}
.mf-piece.p1 { --dx:-40px; --dy:-40px; }
.mf-piece.p2 { --dx:40px; --dy:-40px; }
.mf-piece.p3 { --dx:-40px; --dy:40px; }
.mf-piece.p4 { --dx:40px; --dy:40px; }
@keyframes mfLogoClear {
  0% { opacity:0; }
  100% { opacity:1; }
}
.mf-piece { animation-fill-mode: both; }
.mf-logo-stage:hover img { filter: contrast(1.25) saturate(1.25); }

.mf-sun-home {
  display: inline-block;
  margin-top: 10px;
  width: 92px;
  height: 92px;
  line-height: 92px;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffe566 0 34px, transparent 35px),
    repeating-conic-gradient(from 8deg, #ffcc33 0 10deg, transparent 10deg 22deg);
  background-color: #ffb703;
  color: #5c3d00 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  box-shadow: 0 6px 0 #e09a00, 0 10px 18px rgba(224,154,0,.35);
  animation: mfSunPulse 3s ease-in-out infinite;
}
.mf-sun-home:hover { color:#3d2800 !important; text-decoration:none !important; transform: scale(1.05); }
@keyframes mfSunPulse {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}
.header2 { min-height: 200px !important; }
a.logo { display:none !important; }
@media (max-width: 767px) {
  .mf-logo { position: relative; left: auto; transform: none; margin: 0 auto 8px; }
  .mf-sun-home { margin: 12px auto; display:block; }
}


/* по 3 крупных листа в ряд в каждом блоке */
.mf-leaf-row-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-evenly !important;
  align-items: center !important;
  width: 100% !important;
  margin: 16px 0 8px !important;
  clear: both !important;
}
.mf-leaf-row-inner .mf-leaf {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(32vw, 380px) !important;
  height: min(32vw, 380px) !important;
  max-width: 380px !important;
  margin: 0 !important;
  padding: 18% 17% 20% !important;
  box-sizing: border-box !important;
  background: url("/images/theme/maple-leaf.png") center / contain no-repeat !important;
  flex: 1 1 0 !important;
}
.mf-leaf-row-inner .mf-leaf img {
  width: 72% !important;
  height: 72% !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: contain !important;
  background: #fff !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  transform: none !important;
}
@media (max-width: 767px) {
  .mf-leaf-row-inner { flex-wrap: wrap !important; }
  .mf-leaf-row-inner .mf-leaf { width: 86vw !important; height: 86vw !important; max-width: 360px !important; }
}


/* фото заполняет лист, белые поля обрезаются */
.mf-leaf img,
.mf-leaf-row-inner .mf-leaf img {
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
  opacity: 1 !important;
  transform: scale(1.22) !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}
.mf-leaf {
  overflow: hidden !important;
}


/* фикс: фото снова видно, фиксированный размер в центре листа */
.mf-leaf,
.mf-leaf-row-inner .mf-leaf {
  position: relative !important;
  width: 340px !important;
  height: 340px !important;
  max-width: 340px !important;
  padding: 0 !important;
  overflow: visible !important;
}
.mf-leaf img,
.mf-leaf-row-inner .mf-leaf img {
  position: absolute !important;
  left: 50% !important;
  top: 46% !important;
  transform: translate(-50%, -50%) !important;
  width: 168px !important;
  height: 168px !important;
  min-width: 168px !important;
  min-height: 168px !important;
  max-width: 168px !important;
  max-height: 168px !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #f3ead0 !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  z-index: 2 !important;
}

.brand-address {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: #5c9a23;
  font-weight: 600;
}
.mf-logo, .mf-logo-stage, .mf-logo img {
  width: 168px !important;
  height: 168px !important;
}
.mf-piece { background-image: url("/images/logo-icon.png") !important; background-size: 168px 168px !important; }

.mf-logo img {
  filter: none !important;
  image-rendering: auto !important;
  opacity: 1 !important;
  animation: none !important;
  object-fit: contain !important;
}
.mf-piece { display: none !important; }

.header2 { min-height: 260px !important; padding-bottom: 12px !important; }
.mf-logo,
.mf-logo-stage {
  width: 230px !important;
  height: 230px !important;
}
.mf-logo { top: 4px !important; }
.mf-logo img {
  width: 230px !important;
  height: 230px !important;
  object-fit: contain !important;
  filter: none !important;
  animation: mfLogoClear .6s .7s ease both !important;
  opacity: 0;
}
.mf-piece {
  display: block !important;
  position: absolute;
  width: 50% !important;
  height: 50% !important;
  background: url("/images/logo-icon.png") no-repeat !important;
  background-size: 230px 230px !important;
  z-index: 3;
  animation: mfPieceIn .75s cubic-bezier(.2,.7,.2,1.05) both;
}
.mf-piece.p1 { left:0; top:0; background-position: 0 0 !important; animation-delay:.05s; --dx:-50px; --dy:-50px; }
.mf-piece.p2 { right:0; top:0; left:auto; background-position: 100% 0 !important; animation-delay:.14s; --dx:50px; --dy:-50px; }
.mf-piece.p3 { left:0; bottom:0; top:auto; background-position: 0 100% !important; animation-delay:.22s; --dx:-50px; --dy:50px; }
.mf-piece.p4 { right:0; bottom:0; left:auto; top:auto; background-position: 100% 100% !important; animation-delay:.3s; --dx:50px; --dy:50px; }
@media (max-width: 767px) {
  .mf-logo, .mf-logo-stage, .mf-logo img { width: 180px !important; height: 180px !important; }
  .mf-piece { background-size: 180px 180px !important; }
}

.mf-logo, .mf-logo-stage {
  overflow: hidden !important;
}
.mf-logo img {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
  animation: mfLogoClear .35s .8s linear both !important;
}
.mf-piece {
  transform: none !important;
  animation: mfPieceFade .55s ease both !important;
}
@keyframes mfPieceFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.mf-piece.p1, .mf-piece.p2, .mf-piece.p3, .mf-piece.p4 {
  --dx: 0px !important;
  --dy: 0px !important;
}


/* форма внутри любимого дерева */
#block-webform-client-block-644 {
  background: url("/images/theme/tree-form.jpg") center top / contain no-repeat !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  width: 420px !important;
  max-width: 95% !important;
  min-height: 640px !important;
  padding: 92px 78px 250px !important;
  margin-left: auto !important;
  margin-right: 4% !important;
  overflow: visible !important;
}
#block-webform-client-block-644:before,
#block-webform-client-block-644:after {
  display: none !important;
  content: none !important;
}
#block-webform-client-block-644 .mf-tree-form,
#node-644.mf-tree-form,
#node-644 {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #2c3a22 !important;
}
#block-webform-client-block-644 h2 {
  font-size: 22px !important;
  margin: 0 0 4px !important;
  color: #3d6e14 !important;
  text-align: center;
}
#block-webform-client-block-644 .field-name-field-text-verh p,
#block-webform-client-block-644 p {
  background: none !important;
  color: #3d6e14 !important;
  font-size: 14px !important;
  padding: 0 !important;
  text-align: center;
}
#block-webform-client-block-644 .form-control {
  background: #fffdf6 !important;
  border: 1px solid #c5d9a4 !important;
}
@media (max-width: 767px) {
  #block-webform-client-block-644 {
    width: 100% !important;
    min-height: 560px !important;
    padding: 70px 48px 210px !important;
    margin: 0 auto !important;
  }
}

.brand-address {
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: #3d6e14 !important;
  margin-bottom: 8px;
}
.mf-social-sun {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.mf-socials {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mf-soc {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1 !important;
}
.mf-tg { background: #2aa0d9; }
.mf-max { background: #4b5fff; }
.mf-vk { background: #0077ff; }
.mf-soc:hover { opacity: .9; color:#fff !important; }

.mf-socials {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}
.mf-soc {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
}
.mf-tg { background: #229ED9 !important; }
.mf-max { background: #4C6FFF !important; }
.mf-vk { background: #0077FF !important; }

.mf-logo { height: auto !important; }
.mf-logo-motto {
  display: block;
  margin-top: 6px;
  text-align: center;
  font-family: Cinzel, "Cormorant Garamond", serif !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5c9a23;
  line-height: 1.2;
  white-space: nowrap;
}
.header2 { min-height: 290px !important; }
@media (max-width: 767px) {
  .mf-logo-motto { white-space: normal; font-size: 13px; }
}

.mf-logo-motto {
  font-family: "Marck Script", "Pacifico", "Cormorant Garamond", cursive !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  letter-spacing: .04em !important;
  text-transform: none !important;
  color: #4e841c !important;
  white-space: nowrap !important;
}
@media (max-width: 767px) {
  .mf-logo-motto { font-size: 20px !important; white-space: normal !important; }
}

.tel.col-lg-3, .tel { position: relative; }
.mf-tel-row {
  display: flex !important;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
}
.mf-tels { text-align: right; }
.mf-socials {
  flex-direction: row !important;
  margin-top: 2px;
}
.mf-sun-home { margin-top: 8px; }

.mf-tel-row { justify-content: flex-end !important; }
.mf-socials { margin-right: 8px !important; margin-top: 4px !important; }

/* телефоны как раньше, значки слева в том же ряду без сдвига */
.mf-tel-row {
  display: block !important;
  position: relative !important;
  text-align: right !important;
}
.mf-tels { text-align: right !important; }
.mf-socials {
  position: absolute !important;
  top: 6px !important;
  right: 210px !important;
  left: auto !important;
  margin: 0 !important;
  flex-direction: row !important;
}

.mf-logo { width: 320px !important; overflow: visible !important; }
.mf-logo-stage { overflow: visible !important; }
.mf-logo-motto {
  font-size: 34px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  width: max-content !important;
  max-width: none !important;
  margin-left: 50% !important;
  transform: translateX(-50%) !important;
}

.mf-logo-motto {
  position: absolute !important;
  left: 50% !important;
  top: 100% !important;
  transform: translateX(-50%) !important;
  margin: 4px 0 0 !important;
  width: max-content !important;
  text-align: center !important;
}

.mf-logo {
  width: 230px !important;
  text-align: center !important;
}
.mf-logo-stage {
  width: 230px !important;
  height: 230px !important;
  margin: 0 auto !important;
}
.mf-logo-motto {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 6px 0 0 !important;
  width: 420px !important;
  margin-left: -95px !important;
  text-align: center !important;
}

#block-webform-client-block-644 {
  background-image: url("/images/theme/tree-form.png") !important;
  background-color: transparent !important;
}
#block-webform-client-block-644 .mf-tree-title {
  display: block !important;
  text-align: center;
  color: #3d6e14 !important;
  font-size: 26px !important;
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
  line-height: 1.2;
  background: none !important;
}
#node-644 header h2 a,
#block-webform-client-block-644 header h2,
#block-webform-client-block-644 h2 {
  display: block !important;
  font-size: 24px !important;
  color: #3d6e14 !important;
  text-align: center !important;
}

.mf-welcome-leaf {
  width: 340px;
  height: 300px;
  margin: 10px auto 0 8%;
  background: url("/images/theme/maple-leaf.png") center / contain no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 50px 55px;
  box-sizing: border-box;
}
.mf-welcome-leaf .mf-hello {
  background: none !important;
  box-shadow: none !important;
  color: #3d2800 !important;
  text-shadow: 0 1px 0 #fff6d4;
  margin: 0 !important;
  padding: 0 !important;
  animation: none !important;
  opacity: 1 !important;
}
.mf-welcome-leaf .mf-h1 { font-size: 28px !important; }
.mf-welcome-leaf .mf-h2 { font-size: 26px !important; margin-top: 4px !important; }
#block-block-12 p.last { display: none !important; }

#block-webform-client-block-644 {
  padding: 70px 88px 280px !important;
}
#block-webform-client-block-644 .mf-tree-title,
#block-webform-client-block-644 h2,
#block-webform-client-block-644 h2 a,
#block-webform-client-block-644 p,
#block-webform-client-block-644 .field-name-field-text-verh p,
#block-webform-client-block-644 label,
#block-webform-client-block-644 .form-item label {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  font-size: 15px !important;
  background: none !important;
}
#block-webform-client-block-644 .mf-tree-title {
  font-size: 18px !important;
  margin-bottom: 4px !important;
}
#block-webform-client-block-644 .form-item {
  margin: 4px 0 !important;
}
#block-webform-client-block-644 .form-control,
#block-webform-client-block-644 input[type="text"],
#block-webform-client-block-644 input[type="tel"] {
  height: 34px !important;
  padding: 4px 10px !important;
  font-size: 14px !important;
}
#block-webform-client-block-644 .webform-submit,
#block-webform-client-block-644 .form-submit {
  margin-top: 6px !important;
}

#block-webform-client-block-644 .form-type-checkbox,
#block-webform-client-block-644 .checkbox,
#node-644 .form-type-checkbox {
  color: #fff !important;
  margin: 10px 0 8px !important;
}
#block-webform-client-block-644 .form-type-checkbox label,
#block-webform-client-block-644 .checkbox label {
  color: #fff !important;
  font-size: 13px !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
#block-webform-client-block-644 .webform-submit,
#block-webform-client-block-644 .form-submit,
#node-644 .form-submit {
  background: #5c9a23 !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 4px 0 #3d6e14 !important;
}
#block-webform-client-block-644 .webform-submit:hover,
#block-webform-client-block-644 .form-submit:hover {
  background: #4e841c !important;
  color: #fff !important;
}
#block-webform-client-block-644 .field-name-field-text-niz,
#block-webform-client-block-644 .field-name-field-text-niz p,
#node-644 .field-name-field-text-niz,
#node-644 .field-name-field-text-niz p {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
  margin-top: 8px !important;
  background: none !important;
}

.mf-welcome-plain {
  background: none !important;
  padding: 20px 10px 10px;
  max-width: 560px;
}
.mf-welcome-plain .mf-hello {
  background: none !important;
  box-shadow: none !important;
  color: #2f5d16 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  animation: mfWelcomeIn 1s ease forwards;
}
.mf-welcome-plain .mf-h1 {
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}
.mf-welcome-plain .mf-h2 {
  font-size: 42px !important;
  font-weight: 600 !important;
  animation-delay: .35s;
}
@keyframes mfWelcomeIn {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: none; }
}

#block-webform-client-block-644 .mf-tree-title {
  font-size: 17px !important;
  color: #fff !important;
}
#block-webform-client-block-644 header,
#block-webform-client-block-644 h2,
#block-webform-client-block-644 .field-name-field-text-verh {
  display: none !important;
}
#block-webform-client-block-644 .mf-tree-title { display: block !important; }

#block-block-12 p,
#block-block-12 p.mf-hello,
.mf-welcome-plain,
.mf-welcome-plain .mf-hello,
.mf-welcome-plain .mf-h1,
.mf-welcome-plain .mf-h2 {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

#block-webform-client-block-644 .mf-tree-title { display: none !important; }
#block-webform-client-block-644 header,
#block-webform-client-block-644 h2 {
  display: block !important;
}
#block-webform-client-block-644 .field-name-field-text-verh { display: none !important; }

#block-webform-client-block-644 {
  padding: 56px 72px 40px !important;
  min-height: 680px !important;
}
#block-webform-client-block-644:before {
  display: block !important;
  content: "" !important;
  position: absolute;
  left: 18%;
  right: 18%;
  top: 14%;
  height: 38%;
  background:
    url("/images/theme/maple-leaf.png") 10% 20% / 90px no-repeat,
    url("/images/theme/maple-leaf.png") 80% 10% / 80px no-repeat,
    url("/images/theme/maple-leaf.png") 50% 55% / 100px no-repeat,
    url("/images/theme/maple-leaf.png") 20% 70% / 70px no-repeat,
    url("/images/theme/maple-leaf.png") 75% 65% / 75px no-repeat,
    rgba(46,90,20,.28);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
#block-webform-client-block-644 > * { position: relative; z-index: 1; }
#block-webform-client-block-644 h2 {
  color: #fff !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
  margin: 0 0 10px !important;
}
#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-actions,
#block-webform-client-block-644 .field-name-field-text-niz {
  margin-top: 28px !important;
}
#block-webform-client-block-644 .form-type-checkboxes label {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
#block-webform-client-block-644 .webform-submit,
#block-webform-client-block-644 .form-submit {
  font-size: 18px !important;
  padding: 10px 28px !important;
  background: #5c9a23 !important;
  color: #fff !important;
}
#block-webform-client-block-644 .field-name-field-text-niz,
#block-webform-client-block-644 .field-name-field-text-niz p {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 5px rgba(0,0,0,.5);
  margin-top: 14px !important;
}

#block-webform-client-block-644:before {
  display: none !important;
  content: none !important;
  background: none !important;
}
#block-webform-client-block-644 h2,
#block-webform-client-block-644 p,
#block-webform-client-block-644 .field-name-field-text-niz,
#block-webform-client-block-644 .field-name-field-text-niz p {
  color: #fff !important;
}
#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-type-checkboxes,
#block-webform-client-block-644 .form-type-checkboxes label {
  color: #b7e06a !important;
  margin-top: 36px !important;
}
#block-webform-client-block-644 .form-type-checkboxes label {
  font-size: 14px !important;
  text-shadow: none !important;
}

#block-webform-client-block-644 h2,
#block-webform-client-block-644 header h2,
#node-644 header h2,
#node-644 h2 {
  color: #ffffff !important;
}

#block-webform-client-block-644 .form-type-checkboxes label,
#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh label,
#node-644 .form-type-checkboxes label {
  color: #b6ff3a !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

#block-webform-client-block-644 .form-type-checkboxes label,
#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh label,
#node-644 .form-type-checkboxes label {
  color: #2f6b12 !important;
}

#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-type-checkboxes {
  margin-top: 8px !important;
  margin-bottom: 6px !important;
}

#webform-client-form-644 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
#webform-client-form-644 .form-item-submitted-vashe-imya,
#webform-client-form-644 .form-item-submitted-nomer-telefona {
  width: 48% !important;
  flex: 0 0 48%;
  margin: 0 !important;
}
#webform-client-form-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#webform-client-form-644 .form-actions {
  flex: 0 0 100%;
  width: 100%;
}

#block-webform-client-block-644 {
  min-height: 720px !important;
  padding-bottom: 80px !important;
}
#block-webform-client-block-644 .form-actions {
  margin-top: 150px !important;
}
#block-webform-client-block-644 .field-name-field-text-niz {
  margin-top: 10px !important;
}

#webform-client-form-644 .form-item-submitted-vashe-imya,
#webform-client-form-644 .form-item-submitted-nomer-telefona {
  margin-top: 28px !important;
}
#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-type-checkboxes {
  margin-top: 10px !important;
}

#webform-client-form-644 .form-item-submitted-vashe-imya,
#webform-client-form-644 .form-item-submitted-nomer-telefona {
  margin-top: 52px !important;
}
#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-type-checkboxes {
  margin-top: 6px !important;
}

.header2 { position: relative !important; }
.mf-sun-home {
  position: absolute !important;
  left: 16px !important;
  bottom: 8px !important;
  right: auto !important;
  margin: 0 !important;
  z-index: 6;
}

.header2 .tel,
.header2 .container,
.header2 #block-block-10 {
  position: static !important;
}
.header2 { position: relative !important; }

.mf-license-sun {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.mf-sun-home {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  width: 72px !important;
  height: 72px !important;
  line-height: 72px !important;
  font-size: 12px !important;
  flex: 0 0 auto;
}

#webform-client-form-644 .form-item-submitted-vashe-imya,
#webform-client-form-644 .form-item-submitted-nomer-telefona {
  width: 32% !important;
  flex: 0 0 32% !important;
  margin-top: 52px !important;
}
#webform-client-form-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-type-checkboxes {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-top: -2px !important;
}

#webform-client-form-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-type-checkboxes {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-top: 8px !important;
}

#webform-client-form-644 .form-item-submitted-vashe-imya,
#webform-client-form-644 .form-item-submitted-nomer-telefona {
  width: 48% !important;
  flex: 0 0 48% !important;
  margin-top: 52px !important;
}
#webform-client-form-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-type-checkboxes {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-top: 6px !important;
}

#webform-client-form-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-type-checkboxes {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

#block-webform-client-block-644 .form-type-checkboxes label,
#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh label,
#node-644 .form-type-checkboxes label {
  color: #ffffff !important;
}

#block-webform-client-block-644 .field-name-field-text-niz,
#block-webform-client-block-644 .field-name-field-text-niz p,
#node-644 .field-name-field-text-niz,
#node-644 .field-name-field-text-niz p {
  color: #3d6e14 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.mf-welcome-plain .mf-h1 {
  font-size: 64px !important;
}
.mf-welcome-plain .mf-h2 {
  font-size: 56px !important;
}

#webform-client-form-644 .form-item-submitted-vashe-imya,
#webform-client-form-644 .form-item-submitted-nomer-telefona {
  width: 48% !important;
  flex: 0 0 48% !important;
  margin-top: 52px !important;
}
#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh,
#block-webform-client-block-644 .form-type-checkboxes {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-top: 8px !important;
  text-align: center !important;
}
#block-webform-client-block-644 .form-type-checkboxes label,
#block-webform-client-block-644 .form-item-submitted-soglasie-na-obrabotku-dannyh label {
  display: inline-block !important;
  color: #3d6e14 !important;
  background: #f3e6c4 !important;
  border-radius: 24px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
  max-width: 100%;
}

.mf-welcome-plain .mf-h1 { font-size: 82px !important; }
.mf-welcome-plain .mf-h2 { font-size: 72px !important; }

.zabota-old p, .zabota-old strong { display: none !important; }
.mf-zabota-copy { max-width: 820px; margin: 0 auto 16px; text-align: center; }
.mf-zabota-copy p { font-size: 20px; line-height: 1.45; color: #2f5d16; margin: 0 0 10px; }

.old-html p, .old-html strong, .old-html li, .old-html h3, .old-html h2 { display: none !important; }
.mf-copy { max-width: 860px; margin: 0 auto 18px; text-align: center; }
.mf-copy p { font-size: 20px; line-height: 1.45; color: #2f5d16; margin: 0 0 10px; }

.mf-hide-doc { display: none !important; }
.mf-leaf img,
.mf-leaf-row-inner .mf-leaf img {
  object-position: center 18% !important;
}

.spokoino .content > img,
.zabota .content > img,
.spokoino .old-html > img:not(.mf-leaf img) {
  display: none !important;
}

.mf-leaf img,
.mf-leaf-row-inner .mf-leaf img {
  width: 230px !important;
  height: 230px !important;
  min-width: 230px !important;
  min-height: 230px !important;
  max-width: 230px !important;
  max-height: 230px !important;
  top: 48% !important;
}

.spokoino .old-html,
.spokoino .old-html * { font-size: 0 !important; line-height: 0 !important; color: transparent !important; }
.spokoino .old-html img,
.spokoino .old-html .mf-leaf,
.spokoino .old-html .mf-leaf-row-inner { font-size: initial !important; line-height: normal !important; color: inherit !important; }
.spokoino .old-html p,
.spokoino .old-html strong,
.spokoino .old-html li,
.spokoino .old-html h2,
.spokoino .old-html h3,
.spokoino .old-html ul,
.spokoino .old-html ol { display: none !important; }

.mf-recommend-wr {
  background: linear-gradient(180deg, #f4f8ea, #e7f0d4);
  padding: 28px 0 40px;
}
.mf-recommend .block-title { text-align: center; color: #3d6e14; margin-bottom: 18px; }
.mf-recommend-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}
.mf-recommend-grid a {
  display: inline-block;
  min-width: 180px;
  text-align: center;
  padding: 14px 18px;
  border-radius: 28px;
  background: #5c9a23;
  color: #fff !important;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 0 #3d6e14;
}
.mf-recommend-grid a:hover { background: #4e841c; color: #fff !important; }

.mf-tel-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  position: relative !important;
}
.mf-socials {
  position: static !important;
  right: auto !important;
  top: auto !important;
  margin: 8px 0 0 !important;
  justify-content: flex-end !important;
}

.mf-tels { order: 1; }
.mf-socials { order: 2; }

.footer .politika a { color:#3d6e14; font-weight:700; font-size:16px; }

.mf-page {
  background: #fffdf6;
  border-radius: 20px;
  padding: 24px 22px 36px !important;
  box-shadow: 0 8px 24px rgba(47,93,22,.08);
}
.mf-page h1 { color: #1f3d0d !important; }
.mf-page h2 { color: #2f5d16 !important; }
.mf-page .lead { color: #3a4a2c !important; }
.mf-page p, .mf-page li, .mf-page label {
  color: #24301c !important;
  font-size: 19px !important;
  line-height: 1.55 !important;
}
.mf-page a { color: #2f6b12 !important; }
.mf-page .mf-cta { color: #fff !important; background: #3d6e14 !important; }
.mf-day div { background: #eef6d8 !important; color: #24301c !important; }
body.not-front .region-content,
body.not-front .content,
body.not-front p,
body.not-front li {
  color: #24301c;
}

.mf-about-copy { max-width: 820px; margin: 0 auto 20px; }
.page-header { color:#1f3d0d; }

body.not-front .container > section.col-sm-12,
body.not-front .region-content,
body.not-front article.node-page {
  background: #fffdf6;
  color: #24301c;
}
body.not-front .page-header,
body.not-front h1, body.not-front h2 {
  color: #1f3d0d !important;
}
body.not-front .region-content p,
body.not-front .mf-about-copy p,
body.not-front .content p,
body.not-front li, body.not-front label {
  color: #24301c !important;
  font-size: 19px;
  line-height: 1.55;
}
.mf-about-copy {
  background: #fffdf6;
  padding: 8px 4px 16px;
}

.footer-wr { background: #eef6d8 !important; padding: 22px 0 12px !important; }
.mf-footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.mf-footer-brand { display:flex; align-items:center; gap:10px; color:#1f3d0d; }
.mf-footer-brand img { width:72px; height:72px; object-fit:contain; }
.mf-footer-brand strong { display:block; font-size:20px; }
.mf-footer-contacts p { margin:0 0 6px; color:#24301c; font-size:15px; line-height:1.35; }
.mf-footer-contacts a { color:#2f6b12; font-weight:700; }
.mf-footer-btn {
  display:inline-block;
  background:#3d6e14;
  color:#fff !important;
  font-size:18px;
  font-weight:700;
  padding:14px 22px;
  border-radius:28px;
  text-decoration:none !important;
  box-shadow: 0 4px 0 #2a4d0d;
}
.mf-footer-btn:hover { background:#2f5d16; color:#fff !important; }
@media (max-width:767px) {
  .mf-footer-grid { flex-direction:column; text-align:center; }
  .mf-footer-brand { justify-content:center; }
}

.mf-welcome-plain .mf-hello {
  opacity: 0 !important;
  animation: mfWelcomeIn 1.1s ease forwards !important;
  background: none !important;
}
.mf-welcome-plain .mf-h1 { animation-delay: .1s !important; }
.mf-welcome-plain .mf-h2 { animation-delay: .45s !important; }
@keyframes mfWelcomeIn {
  0% { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  100% { opacity: 1; transform: none; filter: none; }
}

.mf-logo-stage { position: relative !important; overflow: hidden !important; }
.mf-logo img {
  position: relative !important;
  opacity: 0 !important;
  animation: mfLogoClear .3s .85s linear forwards !important;
  filter: none !important;
  transform: none !important;
}
.mf-piece {
  display: block !important;
  position: absolute !important;
  width: 50% !important;
  height: 50% !important;
  background-image: url("/images/logo-icon.png") !important;
  background-repeat: no-repeat !important;
  background-size: 230px 230px !important;
  z-index: 3 !important;
  animation: mfPiecePop .7s ease both !important;
  transform: none !important;
}
.mf-piece.p1 { left:0; top:0; background-position: 0 0 !important; animation-delay:.05s !important; }
.mf-piece.p2 { right:0; top:0; left:auto; background-position: 100% 0 !important; animation-delay:.15s !important; }
.mf-piece.p3 { left:0; bottom:0; top:auto; background-position: 0 100% !important; animation-delay:.25s !important; }
.mf-piece.p4 { right:0; bottom:0; left:auto; top:auto; background-position: 100% 100% !important; animation-delay:.35s !important; }
@keyframes mfPiecePop {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes mfLogoClear {
  to { opacity: 1; }
}
@media (max-width: 767px) {
  .mf-piece { background-size: 180px 180px !important; }
}

.footer-wr {
  background: #2f5d16 !important;
  color: #eef6d8 !important;
}
.mf-footer-brand, .mf-footer-brand strong, .mf-footer-contacts p, .copy, .copy p {
  color: #eef6d8 !important;
}
.mf-footer-contacts a,
.mf-footer-addr {
  color: #fff !important;
  text-decoration: underline;
}
.mf-footer-contacts a[href^="tel"] {
  font-size: 26px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.mf-footer-btn {
  background: #fff !important;
  color: #2f5d16 !important;
  box-shadow: 0 4px 0 #1b390c !important;
}
.mf-footer-btn:hover { background: #f4f8ea !important; color: #1f3d0d !important; }

@media (max-width: 767px) {
  .header2 { min-height: 0 !important; height: auto !important; overflow: visible !important; padding-bottom: 12px !important; }
  .header2 .container,
  .mf-header-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    min-height: 0 !important;
    height: auto !important;
    text-align: center !important;
  }
  .mf-logo {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 160px !important;
    height: auto !important;
    margin: 8px auto 0 !important;
  }
  .mf-logo-stage, .mf-logo img {
    width: 160px !important;
    height: 160px !important;
    position: relative !important;
  }
  .mf-piece { background-size: 160px 160px !important; }
  .mf-logo-motto {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 6px auto 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
  .header2 .name,
  .header2 h1.name {
    position: relative !important;
    width: 100% !important;
    float: none !important;
    margin: 0 auto 8px !important;
    padding: 0 10px !important;
    text-align: center !important;
  }
  .brand-name { display: block; font-size: 28px !important; }
  .brand-sub { display: block; font-size: 14px !important; line-height: 1.3 !important; margin-top: 4px; }
  .mf-license-sun {
    justify-content: center !important;
    flex-wrap: wrap;
    margin: 8px auto !important;
  }
  .header2 .desc,
  .header2 .tel {
    position: relative !important;
    width: 100% !important;
    float: none !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
  }
  .brand-address {
    position: relative !important;
    display: block !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin: 8px auto !important;
    max-width: 92%;
  }
  .mf-tel-row {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .mf-tels { text-align: center !important; }
  .mf-socials {
    position: static !important;
    justify-content: center !important;
    margin: 8px auto 0 !important;
  }
}

@media (max-width: 767px) {
  .header2 .name,
  .header2 .tel,
  .header2 .desc,
  .header2 .brand-address,
  .header2 .mf-tel-row,
  .header2 .mf-tels,
  .header2 .mf-socials,
  .header2 .mf-license-sun,
  .header2 .brand-license {
    position: static !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }
  .header2 .col-xs-6,
  .header2 .col-xs-12,
  .header2 .col-sm-4,
  .header2 .col-lg-4,
  .header2 .col-lg-3 {
    width: 100% !important;
    float: none !important;
  }
  .mf-license-sun {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .mf-sun-home {
    position: static !important;
    margin: 8px auto !important;
  }
  .brand-sub { position: relative !important; z-index: 2; }
  .brand-address { margin-top: 10px !important; }
  .telHeader { margin-top: 8px !important; }
}

@media (max-width: 767px) {
  .header2 .container.mf-header-grid,
  .header2 .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .header2 .container > * {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
  }
  a.mf-sun-home {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    display: block !important;
    margin: 10px auto !important;
  }
  .header2 .mf-piece { display: none !important; }
  .header2 .mf-logo img {
    opacity: 1 !important;
    animation: none !important;
    position: relative !important;
  }
}

@media (max-width: 1024px) {
  .header2 { height: auto !important; min-height: 0 !important; }
  .header2 .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  .header2 h1.name,
  .header2 .name,
  .header2 .tel,
  .header2 .desc {
    float: none !important;
    width: 92% !important;
    max-width: 520px !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    text-align: center !important;
    margin: 6px auto !important;
  }
  .mf-logo {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 8px auto 0 !important;
  }
  .mf-logo-motto {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: 92vw !important;
    white-space: normal !important;
    margin: 6px auto 8px !important;
    font-size: 22px !important;
  }
  a.mf-sun-home {
    position: static !important;
    display: block !important;
    margin: 10px auto !important;
    left: auto !important;
    bottom: auto !important;
  }
  .mf-license-sun { flex-direction: column !important; align-items: center !important; }
  .mf-socials { position: static !important; justify-content: center !important; margin: 8px auto !important; }
  .mf-tel-row { align-items: center !important; }
  .header2 .mf-piece { display: none !important; }
  .header2 .mf-logo img { opacity: 1 !important; animation: none !important; }
}

.mf-sun-mob { display: none !important; }
@media (max-width: 1024px) {
  .mf-sun-desk { display: none !important; }
  .mf-sun-mob {
    display: block !important;
    position: static !important;
    margin: 12px auto 4px !important;
    left: auto !important;
    bottom: auto !important;
  }
  .header2 h1.name { min-height: 0 !important; height: auto !important; }
  .brand-address { display: block !important; margin: 10px auto !important; position: static !important; }
}

@media (max-width: 1024px) {
  .header2 h1.name.navbar-brand.col-lg-4.col-md-4.col-sm-4.col-xs-6,
  .header2 .tel.col-lg-3.col-md-3.col-sm-4.col-xs-12,
  .header2 .desc.col-lg-4.col-md-3.col-sm-5.col-xs-12 {
    float: none !important;
    width: 94% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 1024px) {
  .mf-sun-desk { display: none !important; }
  .mf-sun-mob {
    display: inline-flex !important;
    position: static !important;
    margin: 10px auto !important;
  }
  .header2 { padding-bottom: 8px !important; }
  .brand-name { font-size: 26px !important; letter-spacing: .04em; }
  .brand-sub { font-size: 14px !important; color: #2f5d16 !important; }
  .brand-address { font-size: 13px !important; line-height: 1.35 !important; }
  .mf-tels a { font-size: 22px !important; }
  .marquee, .marquee-wr, .desc-pod-banner-wr + .marquee {
    overflow: hidden !important;
  }
  .marquee p, #block-block-9, .header-marquee, .line-wr {
    font-size: 14px !important;
    white-space: nowrap;
  }

  .mf-welcome-plain { max-width: 92% !important; padding: 8px 6px !important; }
  .mf-welcome-plain .mf-hello,
  .mf-welcome-plain .mf-h1,
  .mf-welcome-plain .mf-h2,
  #block-block-12 p {
    color: #1f3d0d !important;
    text-shadow: 0 1px 0 #fff, 0 8px 18px rgba(255,255,255,.8) !important;
    background: rgba(255,253,246,.72) !important;
    border-radius: 14px;
    padding: 6px 10px !important;
    display: inline-block;
  }
  .mf-welcome-plain .mf-h1 { font-size: 32px !important; }
  .mf-welcome-plain .mf-h2 { font-size: 28px !important; }

  #block-webform-client-block-644 {
    width: 100% !important;
    margin: 8px auto !important;
    min-height: 560px !important;
    padding: 48px 42px 200px !important;
    background-size: contain !important;
  }
  .banner-wr, .banner { padding-bottom: 20px !important; }

  .mf-copy p, .mf-zabota-copy p, .mf-about-copy p {
    font-size: 17px !important;
    line-height: 1.45 !important;
    color: #24301c !important;
  }
  .block-title { font-size: 22px !important; line-height: 1.25 !important; padding: 0 8px; }

  .mf-leaf { transform: scale(.86); }
  .mf-recommend-grid a { min-width: 46%; font-size: 15px; padding: 12px 10px; }

  .footer-wr { text-align: center; }
  .mf-footer-contacts a[href^="tel"] { font-size: 20px !important; }

  .mf-page { padding: 16px 14px 28px !important; }
  .mf-page h1 { font-size: 26px !important; }
  .mf-page p, .mf-page li { font-size: 17px !important; }

  /* appearance */
  .header2, .mf-welcome-plain, #block-webform-client-block-644,
  .desc-pod-banner, .mf-copy, .mf-recommend, .footer-wr, .mf-page {
    animation: mfMobIn .7s ease both;
  }
  .mf-leaf { animation: mfLeafIn .9s ease both; }
}
@keyframes mfMobIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes mfLeafIn {
  from { opacity: 0; transform: translateY(-18px) rotate(-8deg) scale(.86); }
  to { opacity: 1; transform: rotate(0) scale(.86); }
}

.mf-welcome-plain,
#block-block-12,
#block-block-12 .mf-welcome-plain {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 5 !important;
}
.mf-welcome-plain .mf-hello,
.mf-welcome-plain .mf-h1,
.mf-welcome-plain .mf-h2,
#block-block-12 p.mf-hello {
  opacity: 1 !important;
  visibility: visible !important;
  color: #1f3d0d !important;
  background: rgba(255,253,246,.88) !important;
  animation: mfWelcomeIn .9s ease both !important;
}
@media (max-width: 1024px) {
  .mf-welcome-plain .mf-h1 { font-size: 30px !important; }
  .mf-welcome-plain .mf-h2 { font-size: 26px !important; }
}

.header2 {
  position: relative !important;
  overflow: visible !important;
}
.header2:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 36px;
  z-index: 8;
  pointer-events: none;
  background-image:
    url("/images/theme/maple-leaf.png"),
    url("/images/theme/maple-leaf.png"),
    url("/images/theme/maple-leaf.png"),
    url("/images/theme/maple-leaf.png"),
    url("/images/theme/maple-leaf.png"),
    url("/images/theme/maple-leaf.png"),
    url("/images/theme/maple-leaf.png");
  background-repeat: no-repeat;
  background-size: 34px, 28px, 40px, 30px, 36px, 26px, 32px;
  background-position:
    4% 40%,
    18% 10%,
    32% 55%,
    48% 8%,
    64% 50%,
    80% 12%,
    94% 42%;
  filter: saturate(1.15);
}
.line-wr, .marquee-wr, .header-line { margin-top: 22px; }
@media (max-width: 767px) {
  .header2:after {
    height: 30px;
    bottom: -14px;
    background-size: 26px, 22px, 30px, 24px, 28px, 20px, 24px;
  }
}

.header2 { padding-bottom: 28px !important; overflow: visible !important; }
.mf-header-leaves {
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 44px;
  display: flex !important;
  justify-content: space-around;
  align-items: flex-end;
  pointer-events: none;
  z-index: 20;
}
.mf-header-leaves img {
  width: 38px;
  height: auto;
  display: block !important;
  opacity: 1 !important;
}
.mf-header-leaves img:nth-child(2) { width: 28px; transform: rotate(-18deg); }
.mf-header-leaves img:nth-child(3) { width: 42px; transform: rotate(12deg); }
.mf-header-leaves img:nth-child(4) { width: 32px; transform: rotate(-8deg); }
.mf-header-leaves img:nth-child(5) { width: 40px; transform: rotate(16deg); }
.mf-header-leaves img:nth-child(6) { width: 26px; transform: rotate(-22deg); }
.mf-header-leaves img:nth-child(7) { width: 36px; transform: rotate(7deg); }

.mf-logo-motto { position: relative !important; display: inline-block !important; padding-bottom: 28px !important; }
.mf-header-leaves {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -6px !important;
  height: 26px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  gap: 0 !important;
  width: 100% !important;
}
.mf-header-leaves img {
  display: block !important;
  margin: 0 -4px !important;
  height: auto;
}
.mf-header-leaves img:nth-child(1) { width: 18px; transform: rotate(-20deg); }
.mf-header-leaves img:nth-child(2) { width: 24px; transform: rotate(8deg); }
.mf-header-leaves img:nth-child(3) { width: 16px; transform: rotate(-12deg); }
.mf-header-leaves img:nth-child(4) { width: 28px; transform: rotate(14deg); }
.mf-header-leaves img:nth-child(5) { width: 20px; transform: rotate(-6deg); }
.mf-header-leaves img:nth-child(6) { width: 26px; transform: rotate(18deg); }
.mf-header-leaves img:nth-child(7) { width: 15px; transform: rotate(-16deg); }
.mf-header-leaves img:nth-child(8) { width: 22px; transform: rotate(10deg); }
.mf-header-leaves img:nth-child(9) { width: 19px; transform: rotate(-9deg); }
.header2:after { display: none !important; content: none !important; }

.mf-logo-motto { padding-bottom: 16px !important; }
.mf-header-leaves {
  height: 16px !important;
  bottom: -2px !important;
}
.mf-header-leaves img {
  width: 12px !important;
  margin: 0 -2px !important;
}
.mf-header-leaves img:nth-child(odd) { width: 10px !important; }
.mf-header-leaves img:nth-child(3n) { width: 14px !important; }
.mf-header-leaves img:nth-child(5n) { width: 9px !important; }

.mf-header-leaves { display: none !important; }
.mf-logo-motto { padding-bottom: 0 !important; }
.mf-header-leaves-row {
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  height: 36px;
}
.mf-leaves-side {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
}
.mf-leaves-left { justify-content: flex-end; padding-right: 8px; }
.mf-leaves-right { justify-content: flex-start; padding-left: 8px; }
.mf-leaves-gap { width: min(420px, 46vw); flex: 0 0 auto; }
.mf-leaves-side img {
  display: block !important;
  width: 28px;
  height: auto;
  margin: 0;
}
.mf-leaves-side img:nth-child(2) { width: 22px; transform: rotate(-16deg); }
.mf-leaves-side img:nth-child(3) { width: 34px; transform: rotate(10deg); }
.mf-leaves-side img:nth-child(4) { width: 24px; transform: rotate(-8deg); }
.mf-leaves-side img:nth-child(5) { width: 30px; transform: rotate(14deg); }
.mf-leaves-side img:nth-child(6) { width: 20px; transform: rotate(-20deg); }
@media (max-width: 767px) {
  .mf-leaves-gap { width: min(260px, 70vw); }
  .mf-leaves-side img { width: 20px; }
}

.mf-logo .mf-header-leaves,
.mf-logo img[src*="maple-leaf"] { display: none !important; }
.mf-header-leaves-row {
  bottom: -6px !important;
  top: auto !important;
}
.mf-logo-stage, .mf-logo img { z-index: 6; }

.telHeader a,
.mf-tels a,
.header2 .tel a[href^="tel"] {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  font-style: normal !important;
}
.mf-leaves-side {
  flex: 1 1 0 !important;
  flex-wrap: nowrap !important;
  overflow: hidden;
  gap: 0 !important;
}
.mf-leaves-left { justify-content: flex-end !important; padding-right: 6px !important; }
.mf-leaves-right { justify-content: flex-start !important; padding-left: 6px !important; }
.mf-leaves-side img {
  width: 26px !important;
  margin: 0 -1px !important;
  flex: 0 0 auto;
}
.mf-header-leaves-row { left: 0 !important; right: 0 !important; width: 100% !important; }

.mf-logo { width: 150px !important; }
.mf-logo-stage, .mf-logo img {
  width: 150px !important;
  height: 150px !important;
}
.mf-piece { background-size: 150px 150px !important; }
@media (max-width: 1024px) {
  .mf-logo { width: 120px !important; }
  .mf-logo-stage, .mf-logo img { width: 120px !important; height: 120px !important; }
  .mf-piece { background-size: 120px 120px !important; }
}

.mf-logo {
  text-align: center !important;
}
.mf-logo-motto {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 2px auto 0 !important;
  width: auto !important;
  display: block !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.mf-header-leaves-row {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  bottom: -2px !important;
}
.mf-leaves-gap { width: 0 !important; flex: 0 0 0 !important; display: none !important; }
.mf-leaves-side {
  flex: 1 1 50% !important;
  overflow: hidden;
}
.mf-leaves-side img {
  width: 32px !important;
  margin: 0 -2px !important;
}
.line-wr, .header2 + .line-wr, .marquee-wr {
  position: relative;
}

.mf-header-leaves-row {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: 100vw !important;
  max-width: 100vw !important;
  bottom: -4px !important;
}
.mf-leaves-gap { display: none !important; width: 0 !important; }
.mf-leaves-left, .mf-leaves-right {
  justify-content: space-between !important;
  padding: 0 !important;
  overflow: visible !important;
}

.mf-logo {
  top: 18px !important;
  margin-top: 12px !important;
}
.mf-motto-arc {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  width: 320px !important;
  margin: -8px auto 0 !important;
  padding: 0 !important;
  white-space: normal !important;
}
.mf-motto-arc svg { display: block; margin: 0 auto; overflow: visible; }
.mf-motto-arc text {
  fill: #4e841c;
  font-family: "Marck Script", "Pacifico", cursive;
  font-weight: 400;
}
@media (max-width: 767px) {
  .mf-motto-arc, .mf-motto-arc svg { width: 260px !important; height: 74px; }
}

.mf-logo {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.mf-motto-arc {
  width: 150px !important;
  margin: -6px 0 0 !important;
}
.mf-motto-arc svg {
  width: 150px !important;
  height: 48px !important;
}
@media (max-width: 1024px) {
  .mf-motto-arc, .mf-motto-arc svg {
    width: 120px !important;
    height: 42px !important;
  }
}

.mf-motto-arc { width: 280px !important; margin-top: -4px !important; }
.mf-motto-arc svg { width: 280px !important; height: 70px !important; }
.mf-motto-arc text { font-size: 22px; }
@media (max-width: 1024px) {
  .mf-motto-arc, .mf-motto-arc svg { width: 240px !important; height: 62px !important; }
}

.mf-poleznoe-intro, .mf-poleznoe-lead, .mf-poleznoe-more {
  max-width: 820px;
  color: #24301c;
  font-size: 18px;
  line-height: 1.5;
}
.page-header { color: #1f3d0d; }

.mf-soc.mf-tg, .mf-soc.mf-max {
  background: transparent !important;
  border-radius: 12px !important;
  overflow: hidden;
  padding: 0 !important;
}
.mf-soc.mf-tg img, .mf-soc.mf-max img {
  width: 42px !important;
  height: 42px !important;
  display: block;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .mf-sun-desk,
  .mf-license-sun .mf-sun-home {
    display: none !important;
  }
  .mf-sun-mob {
    display: block !important;
  }
}

.zapis-wr, #block-webform-client-block-638 { display: none !important; }

.mf-ya-rating {
  display: inline-block;
  margin-top: 8px;
  position: relative;
  line-height: 0;
}
.mf-ya-rating iframe {
  pointer-events: none;
  border: 0;
  width: 150px;
  height: 50px;
  background: transparent;
}
.mf-license-sun { flex-wrap: wrap; }
@media (max-width: 1024px) {
  .mf-ya-rating { margin: 8px auto 0; }
}

.navbar .nav > li > a,
.navbar-nav > li > a,
#block-system-main-menu a,
.menu-block a,
ul.nav a,
.navbar a.btn,
.region-menu a {
  font-size: 17px !important;
  padding: 10px 16px !important;
  line-height: 1.2 !important;
}
.navbar .btn,
.nav-pills a,
.menu-wr a,
.navbar-nav .btn-success,
.navbar .navbar-nav > li > a {
  font-size: 17px !important;
}
/* green oval menu buttons */
.navbar-nav > li > a,
.nav > li > a {
  border-radius: 24px !important;
  margin: 4px 5px !important;
}
@media (max-width: 1024px) {
  .navbar-nav > li > a,
  .nav > li > a {
    font-size: 16px !important;
    padding: 10px 14px !important;
  }
}

.mf-license-sun {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.brand-license + .mf-ya-rating,
.mf-license-sun .mf-ya-rating {
  display: block !important;
  margin: 6px 0 0 28px !important;
}
.mf-ya-rating iframe {
  width: 190px !important;
  height: 64px !important;
  transform: scale(1.15);
  transform-origin: left top;
}
.footer .mf-ya-rating {
  display: inline-block !important;
  margin: 10px 0 0 0 !important;
}
.footer .mf-ya-rating iframe {
  transform-origin: center top;
}
@media (max-width: 1024px) {
  .mf-license-sun { align-items: center !important; }
  .brand-license + .mf-ya-rating,
  .mf-license-sun .mf-ya-rating {
    margin: 8px auto 0 !important;
  }
}

.mf-motto-arc { width: 340px !important; }
.mf-motto-arc svg { width: 340px !important; height: 86px !important; }
.mf-motto-arc text { font-size: 28px !important; }
@media (max-width: 1024px) {
  .mf-motto-arc, .mf-motto-arc svg { width: 280px !important; height: 72px !important; }
}

.navbar .nav > li > a,
.navbar-nav > li > a,
ul.nav a,
.region-menu a,
.navbar a {
  font-size: 20px !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
}
.navbar .nav > li > a:hover,
.navbar-nav > li > a:hover,
.navbar .nav > li > a:active,
.navbar-nav > li > a:active,
.navbar .nav > li > a:focus,
.navbar-nav > li > a:focus,
ul.nav a:hover,
ul.nav a:active,
.region-menu a:hover,
.region-menu a:active {
  color: #ffe566 !important;
}
.mf-recommend-grid a {
  font-size: 20px !important;
  padding: 16px 20px !important;
}
.mf-recommend-grid a:hover,
.mf-recommend-grid a:active {
  color: #ffe566 !important;
}
.mf-footer-btn:hover,
.mf-footer-btn:active {
  color: #ffe566 !important;
}

@media (min-width: 1025px) {
  .header2 h1.name {
    margin-top: 0 !important;
    padding-top: 6px !important;
    padding-bottom: 8px !important;
  }
  .mf-license-sun {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    margin-top: 4px !important;
  }
  .mf-license-sun .mf-sun-desk,
  .mf-license-sun .mf-sun-home {
    grid-row: 1 / span 2;
    grid-column: 1;
    margin: 0 !important;
    display: block !important;
  }
  .mf-license-sun .brand-license {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
  }
  .mf-license-sun .mf-ya-rating {
    grid-column: 2;
    grid-row: 2;
    margin: 4px 0 0 18px !important;
  }
}

.mf-footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.mf-footer-cta .mf-footer-btn {
  margin: 0 !important;
}
.mf-footer-cta .mf-ya-rating {
  margin: 0 !important;
  display: block !important;
}
.mf-footer-cta .mf-ya-rating iframe {
  transform: none !important;
  width: 150px !important;
  height: 50px !important;
}
@media (max-width: 767px) {
  .mf-footer-cta { align-items: center; }
}

.mf-motto-arc {
  margin-top: -22px !important;
  margin-bottom: 0 !important;
}
.mf-logo-motto {
  margin-top: -22px !important;
}

@media (min-width: 1025px) {
  .header2 h1.name {
    padding-top: 28px !important;
    margin-top: 12px !important;
  }
  .header2 .brand-name { margin-top: 8px; }
  .mf-license-sun { margin-top: 10px !important; }
}
@media (max-width: 1024px) {
  .header2 h1.name { margin-top: 8px !important; padding-top: 8px !important; }
}

.mf-akciya .mf-offer {
  max-width: 820px;
  margin: 8px auto 28px;
  padding: 22px 24px 20px;
  background: #fffdf6;
  border: 2px solid #5c9a23;
  border-radius: 20px;
}
.mf-offer-mark {
  display: inline-block;
  background: #5c9a23;
  color: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.mf-offer h2 { color: #1f3d0d; margin: 8px 0 12px; font-size: 28px; }
.mf-offer p, .mf-offer li { font-size: 18px; line-height: 1.45; color: #24301c; }
.mf-cta {
  display: inline-block;
  margin: 6px 8px 0 0;
  background: #5c9a23;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 24px;
  text-decoration: none !important;
  font-weight: 700;
}
.mf-cta:hover { color: #ffe566 !important; }

.mf-teacher { display:flex; gap:20px; align-items:flex-start; flex-wrap:wrap; margin-bottom:28px; }
.mf-teacher-photo {
  width: 240px; min-width:220px; height:300px;
  background-size:cover; background-position:center top;
  border-radius:18px; flex:0 0 240px;
}
.mf-teacher-text { flex:1 1 320px; min-width:260px; }
.mf-teacher-text h2 { margin:6px 0 12px; }
.mf-aka { font-weight:600; font-size:0.85em; color:#3d6e14; }
.mf-quote {
  margin: 14px 0;
  padding: 10px 14px;
  border-left: 4px solid #5c9a23;
  font-style: italic;
  color:#1f3d0d;
  background:#f4f8ec;
  border-radius: 0 12px 12px 0;
}
@media (max-width:640px){
  .mf-teacher-photo { width:100%; flex-basis:100%; height:280px; }
}

.mf-tg-post { margin-bottom:22px; }
.mf-tg-photo { width:100%; max-height:360px; object-fit:cover; border-radius:16px; margin-bottom:12px; }

.mf-soc-row { display:flex; gap:14px; align-items:center; margin:10px 0 16px; }
.mf-soc img { width:52px; height:52px; object-fit:contain; display:block; }
.mf-soc:hover { opacity:.85; }

.mf-float-sub {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mf-float-sub a {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31,61,13,.25);
  display: flex; align-items: center; justify-content: center;
}
.mf-float-sub img { width: 34px; height: 34px; object-fit: contain; }
.mf-sub-pop {
  position: fixed;
  right: 80px;
  bottom: 22px;
  z-index: 9999;
  background: #fffdf6;
  border: 2px solid #5c9a23;
  border-radius: 16px;
  padding: 14px 16px 10px;
  max-width: 260px;
  box-shadow: 0 8px 24px rgba(31,61,13,.2);
}
.mf-sub-pop[hidden] { display: none !important; }
.mf-sub-pop p { margin: 0 0 8px; color: #1f3d0d; font-weight: 700; }
.mf-sub-close {
  position: absolute; top: 4px; right: 8px;
  border: 0; background: none; font-size: 22px; cursor: pointer; color: #1f3d0d;
}
@media (max-width: 640px) {
  .mf-float-sub { right: 8px; bottom: 12px; }
  .mf-float-sub a { width: 46px; height: 46px; }
  .mf-sub-pop { right: 8px; bottom: 170px; left: 8px; max-width: none; }
}

.mf-welcome-one {
  position: relative !important;
  display: inline-block;
  background: rgba(255,253,246,.92) !important;
  border-radius: 22px !important;
  padding: 18px 28px 16px !important;
  box-shadow: 0 8px 24px rgba(31,61,13,.18);
  overflow: hidden;
  max-width: 720px;
}
.mf-welcome-one .mf-hello,
.mf-welcome-one .mf-h1,
.mf-welcome-one .mf-h2,
.mf-welcome-one p {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #1f3d0d !important;
  text-shadow: none !important;
  position: relative;
  z-index: 2;
}
.mf-salut {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.mf-welcome-one {
  position: relative !important;
  display: block !important;
  width: fit-content;
  max-width: 92%;
  margin: 12px 0 8px 8% !important;
  padding: 16px 26px 14px !important;
  background: rgba(255,253,246,.55) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  overflow: hidden;
  line-height: 1.15 !important;
}
.mf-welcome-one .mf-hello,
.mf-welcome-one .mf-h1,
.mf-welcome-one .mf-h2,
.mf-welcome-one p {
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
  color: #1f3d0d !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
  white-space: nowrap;
}
.mf-welcome-one .mf-h1 { font-size: 42px !important; line-height: 1.15 !important; }
.mf-welcome-one .mf-h2 { font-size: 38px !important; line-height: 1.15 !important; margin-top: 2px !important; }
.mf-salut { position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; pointer-events:none; }
@media (max-width: 760px) {
  .mf-welcome-one { margin-left: 4% !important; max-width: 96%; padding: 12px 14px !important; }
  .mf-welcome-one .mf-h1 { font-size: 26px !important; white-space: normal; }
  .mf-welcome-one .mf-h2 { font-size: 24px !important; white-space: normal; }
}

#block-block-12 .mf-welcome-one,
#block-block-12 .mf-welcome-plain.mf-welcome-one {
  background: rgba(255,253,246,.42) !important;
  background-color: rgba(255,253,246,.42) !important;
}
#block-block-12 .mf-welcome-one p,
#block-block-12 .mf-welcome-one .mf-hello,
#block-block-12 .mf-welcome-one .mf-h1,
#block-block-12 .mf-welcome-one .mf-h2,
.mf-welcome-plain.mf-welcome-one p,
.mf-welcome-plain.mf-welcome-one .mf-hello,
.mf-welcome-plain.mf-welcome-one .mf-h1,
.mf-welcome-plain.mf-welcome-one .mf-h2 {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

#block-block-12 .mf-welcome-one .mf-h1,
.mf-welcome-one .mf-h1 {
  font-size: 84px !important;
  line-height: 1.05 !important;
}
#block-block-12 .mf-welcome-one .mf-h2,
.mf-welcome-one .mf-h2 {
  font-size: 76px !important;
  line-height: 1.05 !important;
}
@media (max-width: 760px) {
  #block-block-12 .mf-welcome-one .mf-h1,
  .mf-welcome-one .mf-h1 { font-size: 40px !important; }
  #block-block-12 .mf-welcome-one .mf-h2,
  .mf-welcome-one .mf-h2 { font-size: 36px !important; }
}

.mf-eng-wr { padding: 28px 0 10px; }
.mf-eng-leaves .mf-leaf video {
  width: 170px !important;
  height: 170px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  background: #2f5d16;
  display: block;
}

#block-block-12 .mf-welcome-one,
.mf-welcome-one {
  max-width: 96% !important;
  width: auto !important;
  padding: 28px 48px 26px !important;
  box-sizing: border-box !important;
}
#block-block-12 .mf-welcome-one .mf-h1,
.mf-welcome-one .mf-h1 {
  font-size: 46px !important;
  line-height: 1.12 !important;
  white-space: nowrap !important;
}
#block-block-12 .mf-welcome-one .mf-h2,
.mf-welcome-one .mf-h2 {
  font-size: 40px !important;
  line-height: 1.12 !important;
  white-space: nowrap !important;
}
@media (max-width: 900px) {
  #block-block-12 .mf-welcome-one { padding: 18px 20px !important; }
  #block-block-12 .mf-welcome-one .mf-h1,
  .mf-welcome-one .mf-h1 { font-size: 28px !important; white-space: normal !important; }
  #block-block-12 .mf-welcome-one .mf-h2,
  .mf-welcome-one .mf-h2 { font-size: 24px !important; white-space: normal !important; }
}

#block-block-12 .mf-welcome-one {
  overflow: visible !important;
}
#block-block-12 .mf-welcome-one .mf-h1,
#block-block-12 .mf-welcome-one .mf-h2 {
  font-family: "Cormorant Garamond", "PT Serif", "Times New Roman", serif !important;
  font-feature-settings: "liga" 0, "clig" 0;
  letter-spacing: 0.01em;
  overflow: visible !important;
}

#block-block-12 .mf-welcome-one,
#block-block-12 .mf-welcome-plain {
  overflow: visible !important;
  padding-right: 56px !important;
}
#block-block-12 p.mf-hello,
#block-block-12 .mf-welcome-one .mf-h1,
#block-block-12 .mf-welcome-one .mf-h2,
#block-block-12 .mf-h1,
#block-block-12 .mf-h2 {
  font-family: "Cormorant Garamond", "PT Serif", "Times New Roman", serif !important;
  white-space: normal !important;
  overflow: visible !important;
  text-rendering: auto;
}

.mf-studio-list { margin: 12px 0 20px; }
.mf-studio-card {
  background: #fffdf6;
  border: 1px solid #cfe3b0;
  border-left: 6px solid #5c9a23;
  border-radius: 16px;
  margin: 12px 0;
  padding: 14px 18px;
  box-shadow: 0 6px 16px rgba(31,61,13,.08);
  opacity: 0;
  animation: mfStudioIn .7s ease forwards;
}
.mf-studio-card a {
  color: #1f3d0d !important;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none !important;
}
.mf-studio-card:hover {
  background: #f4f8ec;
  border-left-color: #3d6e14;
}
.mf-studio-card:hover a { color: #5c9a23 !important; }
@keyframes mfStudioIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.mf-life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0 28px;
}
.mf-life-card {
  display: block;
  background: #fffdf6;
  border: 1px solid #cfe3b0;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 6px 16px rgba(31,61,13,.08);
  opacity: 0;
  animation: mfStudioIn .7s ease forwards;
}
.mf-life-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  background: #f4f8ec;
}
@media (max-width: 760px) {
  .mf-life-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

.mf-life-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
body:has(.mf-life-video) {
  background: transparent !important;
}
.mf-life-page {
  position: relative;
  z-index: 1;
  background: rgba(251,248,241,.78);
  border-radius: 18px;
  padding: 18px 16px 28px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.mf-life-card img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
}
.view-content-foto .col-gallery {
  opacity: 0;
  animation: mfStudioIn .7s ease forwards;
}
.view-content-foto .col-gallery:nth-child(1) { animation-delay: .05s; }
.view-content-foto .col-gallery:nth-child(2) { animation-delay: .13s; }
.view-content-foto .col-gallery:nth-child(3) { animation-delay: .21s; }
.view-content-foto .col-gallery:nth-child(4) { animation-delay: .29s; }
.view-content-foto .col-gallery:nth-child(5) { animation-delay: .37s; }
.view-content-foto .col-gallery:nth-child(6) { animation-delay: .45s; }
.view-content-foto .col-gallery img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
}

.mf-life-card {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background: #f4f8ec !important;
  overflow: visible !important;
}
.mf-life-card img,
.view-content-foto .col-gallery img,
.view-content-foto img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.mf-life-article {
  max-width: 760px;
  color: #24301c;
  font-size: 18px;
  line-height: 1.6;
}
.mf-life-article p { margin: 0 0 14px; }
.mf-life-links { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 10px; }
.mf-life-btn {
  display: inline-block;
  background: #5c9a23;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 18px;
}
.mf-life-btn-line { background: #fffdf6; color: #1f3d0d !important; border: 2px solid #5c9a23; }
.mf-life-btn:hover { background: #4e841c; color: #fff !important; }
.mf-life-back { margin-bottom: 8px; }
.mf-life-videos { display: grid; gap: 16px; }
.mf-life-video-card iframe { max-width: 100%; }
