/*
 * Responsive layer for the Anima export.
 * The original 1920 px rules remain untouched at the exported viewport.
 */

.faithful-mobile {
  display: none;
}

.fm-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.fm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1920px) {
  .web-1920-2,
  .web-1920-3,
  .web-1920-4,
  .web-1920-5,
  .web-1920-3 .overlap-group-2,
  .web-1920-4 .overlap-group,
  .web-1920-5 .overlap-group-2 {
    position: relative;
  }

  .anima-contact-form {
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(2, 676px);
    gap: 22px 8px;
    pointer-events: auto;
  }

  .anima-contact-form--home {
    position: absolute;
    top: 3020px;
    left: 280px;
    width: 1360px;
  }

  .anima-contact-form--flow {
    position: absolute;
    top: 157px;
    left: 280px;
    width: 1360px;
  }

  .web-1920-2 .rettangolo-20,
  .web-1920-2 .rettangolo-21,
  .web-1920-2 .rettangolo-22,
  .web-1920-2 .rettangolo-23,
  .web-1920-2 .rettangolo-24,
  .web-1920-2 .rettangolo-25,
  .web-1920-2 .rettangolo-26,
  .web-1920-2 .place-1,
  .web-1920-2 .e-mail,
  .web-1920-2 .ragione-sociale,
  .web-1920-2 .messaggio,
  .web-1920-2 .presto-il-consenso,
  .web-1920-2 .cognome,
  .web-1920-2 .telefono,
  .web-1920-2 .sito-web,
  .web-1920-2 .raggruppa-24,
  .web-1920-2 .rettangolo-27,
  .web-1920-2 .raggruppa-35,
  .web-1920-3 .overlap-group-2 > .flex-row-4,
  .web-1920-3 .overlap-group-2 > .overlap-group5,
  .web-1920-3 .overlap-group-2 > .flex-row-6,
  .web-1920-3 .overlap-group-2 > .raggruppa-26,
  .web-1920-4 .overlap-group > .flex-row-2,
  .web-1920-4 .overlap-group > .overlap-group10,
  .web-1920-4 .overlap-group > .overlap-group18,
  .web-1920-5 .overlap-group-2 > .flex-row-4,
  .web-1920-5 .overlap-group-2 > .overlap-group8,
  .web-1920-5 .overlap-group-2 > .flex-row-6,
  .web-1920-5 .overlap-group-2 > .raggruppa-24 {
    visibility: hidden;
  }

  .anima-form-title {
    grid-column: 1 / -1;
    width: 361px;
    min-height: 68px;
    margin: 0 0 18px;
    color: #006837;
    font-family: "00Eckmania Display Non-Commercial-Bold", Georgia, serif;
    font-size: 57px;
    font-weight: 400;
    line-height: 1;
  }

  .anima-input {
    position: static;
    z-index: 2;
    width: 676px;
    height: 77px;
    padding: 0 38px;
    border: 2px solid #fff;
    border-radius: 20px;
    color: #6c7377;
    caret-color: #006837;
    background: rgb(255 255 255 / 0.94);
    font-family: "Barlow", Helvetica, Arial, sans-serif;
    font-size: 40px;
    font-weight: 300;
    line-height: 60px;
    outline: 0;
    pointer-events: auto;
  }

  .anima-input::placeholder {
    color: #6c7377;
    opacity: 1;
  }

  .anima-input:focus {
    background: rgb(255 255 255 / 0.96);
  }

  .anima-input:focus,
  .anima-consent-overlay input:focus,
  .anima-submit-overlay:focus {
    outline: 4px solid #ffd83d;
    outline-offset: 4px;
  }

  .anima-input--messaggio {
    grid-column: 1 / -1;
    width: 1360px;
    height: 213px;
    padding-top: 0;
    resize: none;
  }

  .anima-consent-overlay {
    position: static;
    z-index: 3;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 31px 1fr;
    align-items: start;
    gap: 9px;
    width: 1360px;
    min-height: 70px;
    color: #fff;
    font-family: "Barlow", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    pointer-events: auto;
  }

  .anima-consent-overlay input {
    display: block;
    width: 31px;
    height: 31px;
    margin: 0;
    appearance: none;
    border: 2px solid #fff;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
  }

  .anima-consent-overlay input:checked {
    background:
      linear-gradient(45deg, transparent 45%, #006837 45% 58%, transparent 58%) 9px 13px / 15px 10px no-repeat,
      #d9e021;
  }

  .anima-submit-overlay {
    position: static;
    z-index: 4;
    width: 334px;
    height: 86px;
    border: 2px solid #d9e021;
    border-radius: 999px;
    color: #fff;
    background: #009245;
    font-family: "Barlow", Helvetica, Arial, sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
  }
}

@media (max-width: 1919px) {
  :root {
    --fm-deep: #004d2d;
    --fm-green: #006837;
    --fm-bright: #009245;
    --fm-light: #39b54a;
    --fm-lime: #d9e021;
    --fm-gray: #727272;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
    background: #fff !important;
    color: var(--fm-gray);
    font-family: "Barlow", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.55;
  }

  body.fm-menu-open {
    overflow: hidden;
  }

  .container-center-horizontal,
  body > input#anPageName {
    display: none !important;
  }

  .faithful-mobile {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .faithful-mobile *,
  .faithful-mobile *::before,
  .faithful-mobile *::after {
    box-sizing: border-box;
  }

  .faithful-mobile img,
  .faithful-mobile svg {
    display: block;
    max-width: 100%;
  }

  .faithful-mobile img {
    height: auto;
  }

  .faithful-mobile a {
    color: inherit;
  }

  .faithful-mobile :focus-visible {
    outline: 4px solid #ffd83d;
    outline-offset: 3px;
  }

  .fm-skip {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 8px;
    color: #00351f;
    background: #ffd83d;
    font-weight: 700;
  }

  .fm-skip:focus {
    transform: translateY(0);
  }

  .fm-wrap {
    width: min(calc(100% - 32px), 760px);
    margin-inline: auto;
  }

  .fm-header {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    color: #fff;
  }

  .fm-header-inner {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .fm-logo {
    position: relative;
    z-index: 102;
    display: flex;
    width: 78px;
    min-height: 78px;
    align-items: center;
    justify-content: center;
  }

  .fm-logo img {
    width: 72px;
  }

  .fm-menu-button {
    position: relative;
    z-index: 102;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: rgb(0 77 45 / 0.78);
  }

  .fm-menu-button svg {
    width: 24px;
    height: 24px;
  }

  .fm-menu-button .fm-close-icon,
  .fm-menu-button[aria-expanded="true"] .fm-menu-icon {
    display: none;
  }

  .fm-menu-button[aria-expanded="true"] .fm-close-icon {
    display: block;
  }

  .fm-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: grid;
    visibility: hidden;
    place-items: center;
    padding: 110px 24px 32px;
    opacity: 0;
    background: var(--fm-deep);
    pointer-events: none;
  }

  .fm-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .fm-nav ul {
    display: grid;
    width: min(100%, 440px);
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .fm-nav a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }

  .fm-nav a[aria-current="page"],
  .fm-nav a:hover {
    color: var(--fm-deep);
    background: var(--fm-lime);
  }

  .fm-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 720px;
    align-items: end;
    padding: 128px 0 64px;
    color: #fff;
    background: var(--fm-green);
  }

  .fm-hero::before,
  .fm-hero::after {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
  }

  .fm-hero::before {
    background-color: var(--fm-green);
    background-image: var(--fm-hero-image, none);
    background-position: var(--fm-hero-position, center);
    background-size: cover;
  }

  .fm-hero::after {
    z-index: -1;
    background: linear-gradient(180deg, rgb(0 40 22 / 0.42), rgb(0 40 22 / 0.82));
  }

  .fm-home .fm-hero {
    --fm-hero-image: url("../img/adobestock-200557445@1x.png");
    --fm-hero-position: 58% center;
  }

  .fm-gdo .fm-hero {
    --fm-hero-image: url("../img/mm-apparel-ap-caf3-01@1x.png");
    --fm-hero-position: 51% center;
  }

  .fm-hero-title {
    width: 100%;
    max-height: 300px;
    margin: 0 0 26px;
    object-fit: contain;
    object-position: left center;
  }

  .fm-home .fm-hero-title {
    filter: none;
  }

  .fm-hero p {
    max-width: 680px;
    margin: 0 0 26px;
    color: #fff;
    font-size: clamp(20px, 4.8vw, 28px);
    line-height: 1.42;
  }

  .fm-button {
    display: inline-flex;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 2px solid var(--fm-lime);
    border-radius: 999px;
    color: var(--fm-bright) !important;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }

  .fm-button--lime {
    color: var(--fm-deep) !important;
    background: var(--fm-lime);
  }

  .fm-section {
    padding: 64px 0;
    background: #fff;
  }

  .fm-section--green {
    color: #fff;
    background: var(--fm-green);
  }

  .fm-section--bright {
    color: #fff;
    background: var(--fm-bright);
  }

  .fm-section--gray {
    background: #f0f0f0;
  }

  .fm-heading-image {
    width: 100%;
    max-height: 210px;
    margin: 0 0 28px;
    object-fit: contain;
    object-position: left center;
  }

  .fm-kicker {
    margin: 0 0 14px;
    color: var(--fm-bright);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .fm-section--green .fm-kicker,
  .fm-section--bright .fm-kicker {
    color: var(--fm-lime);
  }

  .fm-section h2,
  .fm-card h3,
  .fm-form-title {
    margin: 0 0 20px;
    color: var(--fm-green);
    font-family: "00Eckmania Display Non-Commercial-Bold", Georgia, serif;
    font-size: clamp(38px, 9vw, 64px);
    font-weight: 400;
    line-height: 1.05;
  }

  .fm-section--green h2,
  .fm-section--bright h2,
  .fm-section--green .fm-form-title,
  .fm-section--bright .fm-form-title {
    color: var(--fm-lime);
  }

  .fm-section p,
  .fm-card p {
    margin: 0 0 24px;
  }

  .fm-split,
  .fm-grid,
  .fm-form-grid {
    display: grid;
    gap: 24px;
  }

  .fm-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 36px;
    object-fit: cover;
  }

  .fm-card {
    padding: 26px;
    border-radius: 30px;
    color: var(--fm-gray);
    background: #fff;
  }

  .fm-card h3 {
    font-family: "Barlow", Helvetica, sans-serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .fm-card p:last-child {
    margin-bottom: 0;
  }

  .fm-card--green {
    color: #fff;
    background: var(--fm-bright);
  }

  .fm-card--green h3 {
    color: #fff;
  }

  .fm-blog-card {
    overflow: hidden;
    padding: 0;
  }

  .fm-blog-card img {
    width: 100%;
    aspect-ratio: 1072 / 656;
    object-fit: cover;
  }

  .fm-blog-card-body {
    padding: 24px;
  }

  .fm-blog-card h3 {
    color: var(--fm-green);
    font-size: 28px;
  }

  .fm-accordion {
    border-top: 1px solid #cfd6d1;
  }

  .fm-accordion-item {
    border-bottom: 1px solid #cfd6d1;
  }

  .fm-accordion-button {
    display: grid;
    width: 100%;
    min-height: 58px;
    grid-template-columns: 1fr 44px;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border: 0;
    color: var(--fm-green);
    background: transparent;
    font-weight: 700;
    text-align: left;
  }

  .fm-accordion-button span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: var(--fm-deep);
    background: var(--fm-lime);
  }

  .fm-accordion-panel {
    padding: 0 0 18px;
  }

  .fm-gallery-button {
    width: 100%;
    min-height: 220px;
    padding: 0;
    border: 0;
    border-radius: 30px;
    overflow: hidden;
    background: var(--fm-green);
  }

  .fm-gallery-button img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
  }

  .fm-lightbox {
    width: min(92vw, 960px);
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 24px;
    overflow: visible;
    background: transparent;
  }

  .fm-lightbox::backdrop {
    background: rgb(0 25 15 / 0.9);
  }

  .fm-lightbox img {
    width: 100%;
    max-height: 84vh;
    border-radius: 24px;
    object-fit: contain;
  }

  .fm-lightbox-close {
    position: absolute;
    top: -22px;
    right: -8px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--fm-deep);
    background: var(--fm-lime);
    font-size: 28px;
  }

  .fm-form {
    display: grid;
    gap: 18px;
  }

  .fm-field {
    display: grid;
    gap: 6px;
  }

  .fm-field label {
    color: #fff;
    font-weight: 600;
  }

  .fm-field input,
  .fm-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 2px solid #fff;
    border-radius: 14px;
    color: var(--fm-gray);
    background: rgb(255 255 255 / 0.94);
  }

  .fm-field textarea {
    min-height: 150px;
    resize: vertical;
  }

  .fm-consent {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: start;
    gap: 8px;
    color: #fff;
    font-size: 15px;
  }

  .fm-consent input {
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .fm-footer {
    padding: 54px 0 28px;
    color: var(--fm-gray);
    background: #fff;
  }

  .fm-footer-grid {
    display: grid;
    gap: 28px;
  }

  .fm-footer-logo {
    width: 150px;
  }

  .fm-partner-logo {
    width: min(100%, 280px);
  }

  .fm-footer a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .fm-copyright {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
  }

  @media (min-width: 700px) {
    .fm-wrap {
      width: min(calc(100% - 56px), 1000px);
    }

    .fm-grid,
    .fm-form-grid,
    .fm-footer-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fm-split {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: center;
    }

    .fm-hero-title {
      max-width: 780px;
    }
  }

  @media (min-width: 1200px) {
    .fm-wrap {
      width: min(calc(100% - 96px), 1400px);
    }

    .fm-header-inner {
      min-height: 122px;
    }

    .fm-logo {
      width: 104px;
      min-height: 104px;
    }

    .fm-logo img {
      width: 96px;
    }

    .fm-menu-button {
      display: none;
    }

    .fm-nav {
      position: static;
      display: block;
      visibility: visible;
      padding: 0;
      opacity: 1;
      background: transparent;
      pointer-events: auto;
    }

    .fm-nav ul {
      display: flex;
      width: auto;
      align-items: center;
      gap: 10px;
    }

    .fm-nav a {
      min-height: 48px;
      padding-inline: 16px;
      font-size: 18px;
    }

    .fm-hero {
      min-height: 900px;
      padding-bottom: 86px;
    }

    .fm-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fm-section {
      padding-block: 90px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.fm-blog-card-link {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}
.fm-blog-card-link:focus-visible {
  outline: 4px solid var(--fm-lime);
  outline-offset: 4px;
}
@media (min-width: 1920px) {
  .web-1920-2 .griglia-di-ripetizione-1 {
    visibility: hidden;
  }
  .web-1920-2 .anima-blog-grid {
    position: absolute;
    top: 554px;
    left: 140px;
    z-index: 70;
    display: grid;
    width: 1640px;
    grid-template-columns: repeat(3, 536px);
    gap: 45px 16px;
  }
  .web-1920-2 .anima-blog-card {
    display: grid;
    grid-template-rows: 328px auto auto 72px;
    min-height: 970px;
    overflow: hidden;
    border: 1px solid var(--dove-gray);
    border-radius: 30px;
    color: #006637;
    background: #fff;
    text-decoration: none;
  }
  .web-1920-2 .anima-blog-card:focus-visible {
    outline: 5px solid #d6e100;
    outline-offset: 5px;
  }
  .web-1920-2 .anima-blog-card img {
    width: 100%;
    height: 328px;
    border-radius: 30px 30px 0 0;
    object-fit: cover;
  }
  .web-1920-2 .anima-blog-title {
    padding: 28px 37px 0;
    font-family: "Barlow", Helvetica, sans-serif;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
  }
  .web-1920-2 .anima-blog-excerpt {
    padding: 24px 37px 0;
    color: #60666a;
    font-family: "Barlow", Helvetica, sans-serif;
    font-size: 32px;
    line-height: 1.14;
  }
  .web-1920-2 .anima-blog-more {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 24px 21px;
    color: #009846;
    font-family: "Barlow", Helvetica, sans-serif;
    font-size: 25px;
    font-weight: 300;
  }
  .web-1920-2 .anima-blog-more svg {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }
}
