/* Canonical footer family: internal composition only. */
body>.site-footer {
  --font-display: "Stem", "Century Gothic", Arial, sans-serif;
  --font-body: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  min-height: 0;
  padding: 0;
  background: #c4c4c2;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.42;
}

body>.site-footer :where(h1, h2, h3, p, a, span, button, summary, strong, small, em) {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

body>.site-footer>.footer-grid {
  display: grid;
  width: min(1320px, calc(100% - 120px));
  min-height: 0;
  grid-template-columns: 215px 120px 120px minmax(220px, 1fr) 315px;
  grid-template-areas:
    "contact primary secondary info management"
    "brand social social payment warning";
  gap: 54px 38px;
  padding-top: 60px;
  padding-bottom: 72px;
}

body>.site-footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  gap: 15px;
  font-size: 14px;
  line-height: 17.165px;
}

body>.site-footer .footer-column p {
  margin-bottom: 0;
}

body>.site-footer .footer-label {
  margin: 0 0 10px;
  color: rgba(48, 48, 48, .6);
  font-size: 12px;
  line-height: 14.713px;
}

body>.site-footer .footer-column>.footer-label {
  margin-bottom: 10px;
}

body>.site-footer .footer-label--empty {
  display: none;
  visibility: hidden;
}

body>.site-footer .footer-contact {
  grid-area: contact;
}

body>.site-footer .footer-phone {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 17.165px;
  text-transform: uppercase;
}

body>.site-footer .footer-contact>p:last-child {
  width: 215px;
  line-height: 17.165px;
}

body>.site-footer .footer-nav-primary {
  grid-area: primary;
}

body>.site-footer .footer-column--second-nav {
  grid-area: secondary;
  margin-top: 35px;
}

body>.site-footer .footer-info {
  grid-area: info;
}

body>.site-footer .footer-management {
  grid-area: management;
}

body>.site-footer .footer-management p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 14.713px;
}

body>.site-footer .footer-management .button {
  width: 100%;
  min-height: 44px;
  margin: 0;
  font-size: 14px;
}

body>.site-footer .footer-management .button::before {
  left: -2px;
}

body>.site-footer .footer-management .button::after {
  top: -2px;
}

body>.site-footer .footer-social {
  grid-area: social;
}

body>.site-footer .footer-social .footer-label {
  margin-bottom: 20px;
}

body>.site-footer .social-list {
  display: flex;
  gap: 10px;
}

body>.site-footer .social-list:has(.social-list__item:nth-child(5)) {
  flex-wrap: wrap;
}

body>.site-footer .social-list__item {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #010f77;
}

body>.site-footer .social-list img {
  width: auto;
  height: auto;
}

body>.site-footer .footer-social__first {
  position: relative;
}

body>.site-footer .footer-social__first .footer-social__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 17px;
  height: 17px;
}

body>.site-footer .footer-payment {
  position: relative;
  grid-area: payment;
}

body>.site-footer .footer-payment .footer-label {
  margin-bottom: 19px;
}

body>.site-footer .footer-payment img {
  width: 178px;
  height: 42px;
  object-fit: contain;
}

body>.site-footer .footer-warning {
  grid-area: warning;
  align-self: start;
  margin: 0;
  color: rgba(48, 48, 48, .6);
  font-size: 12px;
  line-height: 14.713px;
}

body>.site-footer .brand--footer {
  grid-area: brand;
  width: auto;
  min-height: 82px;
  margin: 0;
  align-self: end;
  color: var(--blue);
}

@media (max-width: 1359px) {
  body>.site-footer>.footer-grid {
    width: calc(100% - 64px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "contact primary secondary info"
      "brand social management management"
      "brand payment warning warning";
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 767px) {
  body>.site-footer>.footer-grid {
    width: calc(100% - 40px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand brand"
      "contact social"
      "primary info"
      "secondary info"
      "management management"
      "payment payment"
      "warning warning";
    gap: 30px 20px;
    padding-top: 36px;
    padding-bottom: 35px;
  }

  body>.site-footer .footer-contact .footer-label {
    margin-bottom: 5px;
  }

  body>.site-footer .footer-contact>p:last-child {
    width: 190px;
  }

  body>.site-footer .footer-column--second-nav {
    margin-top: 0;
  }

  body>.site-footer .footer-info .footer-label {
    max-width: 100%;
    white-space: normal;
  }

  body>.site-footer .footer-payment img {
    position: absolute;
    top: 22px;
    left: -7px;
    width: 203px;
    max-width: none;
    height: 54px;
    object-fit: fill;
    clip-path: inset(5px 18px 7px 7px);
  }

  body>.site-footer .footer-warning {
    width: 100%;
    max-width: none;
  }

  body>.site-footer .brand--footer {
    width: 160px;
    justify-self: start;
    -webkit-mask-image: url('../../media/home-mobile/imgDentix2Page13Image2.png');
    mask-image: url('../../media/home-mobile/imgDentix2Page13Image2.png');
    -webkit-mask-position: left top;
    mask-position: left top;
    -webkit-mask-size: 160px 64px;
    mask-size: 160px 64px;
  }
}

@media (max-width: 390px) {
  body>.site-footer .footer-contact>p:last-child {
    width: 100%;
  }

  body>.site-footer .social-list {
    display: grid;
    grid-template-columns: repeat(2, 40px);
    gap: 10px;
  }

  body>.site-footer .social-list__item {
    width: 40px;
    height: 40px;
  }
}

.site-footer .social-list a {
  color: #c4c4c2
}