/**
 * Global modern footer.
 */

body .footer.footerModern {
  position: relative;
  padding: 34px 0 20px;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 88% 14%, rgba(43, 139, 183, 0.18), transparent 26%),
    radial-gradient(circle at 7% 90%, rgba(22, 156, 144, 0.12), transparent 25%),
    linear-gradient(145deg, #08283f 0%, #0a334d 54%, #0b2b42 100%);
  color: #ffffff;
}

body .footer.footerModern::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  opacity: 1;
  background: linear-gradient(90deg, #18a99d 0%, #3b98c7 46%, #eb6a17 100%);
  content: "";
}

body .footer.footerModern::after {
  position: absolute;
  right: -150px;
  bottom: -190px;
  width: 460px;
  height: 460px;
  border: 64px solid rgba(255, 255, 255, 0.025);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.footer.footerModern .footerInner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 24px;
}

.footer.footerModern .footerLead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 25px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% -50%, rgba(41, 183, 174, 0.2), transparent 44%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 54px rgba(2, 19, 31, 0.18);
  backdrop-filter: blur(12px);
}

.footer.footerModern .footerLeadCopy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.footer.footerModern .footerEyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 7px;
  color: #6ed9cf;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer.footerModern .footerEyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55d1c5;
  box-shadow: 0 0 0 6px rgba(85, 209, 197, 0.11);
  content: "";
}

.footer.footerModern .footerLeadCopy strong {
  max-width: 690px;
  color: #ffffff;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.footer.footerModern .footerLeadActions {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.footer.footerModern .footerLeadPhone {
  display: grid;
  grid-template-columns: 42px auto;
  gap: 11px;
  align-items: center;
  min-width: 230px;
  min-height: 56px;
  padding: 7px 14px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.footer.footerModern .footerLeadPhone:hover {
  border-color: rgba(95, 211, 201, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.footer.footerModern .footerLeadIcon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(61, 191, 180, 0.16);
  color: #75ddd4;
}

.footer.footerModern .footerLeadIcon svg {
  width: 19px;
  height: 19px;
}

.footer.footerModern .footerLeadPhone > span:last-child {
  display: flex;
  flex-direction: column;
}

.footer.footerModern .footerLeadPhone small {
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.58rem;
  font-weight: 650;
}

.footer.footerModern .footerLeadPhone b {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.footer.footerModern .footerBookBtn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ed6b17, #d84d02);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(185, 56, 0, 0.2);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.footer.footerModern .footerBookBtn:hover {
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(185, 56, 0, 0.28);
  transform: translateY(-2px);
}

.footer.footerModern .footerBookBtn svg {
  transition: transform 180ms ease;
}

.footer.footerModern .footerBookBtn:hover svg {
  transform: translateX(3px);
}

.footer.footerModern .footerGrid {
  display: grid;
  grid-template-columns: minmax(225px, 1.45fr) minmax(145px, 1fr) minmax(130px, 0.85fr) minmax(145px, 0.9fr) minmax(245px, 1.45fr);
  gap: clamp(24px, 3vw, 44px);
  margin: 0;
  padding: 52px 4px 44px;
}

.footer.footerModern .footerGrid > div {
  display: block;
  min-width: 0;
}

.footer.footerModern .footerLogoLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 72px;
  margin-bottom: 18px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(1, 18, 29, 0.13);
}

.footer.footerModern .footerLogo {
  width: auto;
  height: 52px;
  max-width: 155px;
  margin: 0;
  object-fit: contain;
}

.footer.footerModern .footerBrand {
  max-width: 285px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.65;
}

.footer.footerModern .footerTrustMark {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  max-width: 285px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.footer.footerModern .footerTrustMark > span:first-child {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
  background: rgba(40, 180, 169, 0.13);
  color: #65d7cc;
}

.footer.footerModern .footerTrustMark svg {
  width: 17px;
  height: 17px;
}

.footer.footerModern .footerTrustMark > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.footer.footerModern .footerTrustMark small {
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.54rem;
  font-weight: 650;
}

.footer.footerModern .footerTrustMark strong {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.35;
}

.footer.footerModern .footerColTitle {
  position: relative;
  margin: 3px 0 20px;
  padding-bottom: 11px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer.footerModern .footerColTitle::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #38bbb0, #3b92c3);
  content: "";
}

.footer.footerModern .footerLinks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer.footerModern .footerLinks li {
  margin: 0 0 10px;
}

.footer.footerModern .footerLinks a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
  font-weight: 550;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.footer.footerModern .footerLinks a::before {
  position: absolute;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(94, 204, 194, 0.48);
  content: "";
  transition: background 160ms ease, transform 160ms ease;
}

.footer.footerModern .footerLinks a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer.footerModern .footerLinks a:hover::before {
  background: #67d8ce;
  transform: scale(1.3);
}

.footer.footerModern .footerContactList {
  display: grid;
  gap: 9px;
}

.footer.footerModern .footerContactItem {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #ffffff;
  text-decoration: none;
}

.footer.footerModern a.footerContactItem:hover {
  color: #ffffff;
}

.footer.footerModern .footerContactIcon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: #63d4ca;
  transition: border-color 160ms ease, background 160ms ease;
}

.footer.footerModern a.footerContactItem:hover .footerContactIcon {
  border-color: rgba(99, 212, 202, 0.25);
  background: rgba(99, 212, 202, 0.1);
}

.footer.footerModern .footerContactIcon svg {
  width: 15px;
  height: 15px;
}

.footer.footerModern .footerContactItem > span:last-child {
  display: flex;
  min-width: 0;
  padding-top: 1px;
  flex-direction: column;
}

.footer.footerModern .footerContactItem small {
  margin-bottom: 1px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.54rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.footer.footerModern .footerContactItem strong {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.42;
}

.footer.footerModern .footerSocials {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}

.footer.footerModern .footerSocialIcon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.footer.footerModern .footerSocialIcon:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer.footerModern .footerSocialIcon svg {
  width: 24px;
  height: 24px;
}

.footer.footerModern .footerBottom {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 22px 4px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
}

.footer.footerModern .footerCopyright {
  display: flex;
  max-width: 520px;
  flex-direction: column;
  line-height: 1.55;
}

.footer.footerModern .footerCopyright #copyright {
  color: rgba(255, 255, 255, 0.67);
  font-weight: 700;
}

.footer.footerModern .footerBottomLinks {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer.footerModern .footerBottomLinks a {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer.footerModern .footerBottomLinks a:hover {
  color: #ffffff;
}

.footer.footerModern a:focus-visible {
  outline: 2px solid #78ddd4;
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .footer.footerModern .footerLead {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer.footerModern .footerLeadActions {
    width: 100%;
  }

  .footer.footerModern .footerGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer.footerModern .footerBrandCol {
    grid-column: 1 / -1;
  }

  .footer.footerModern .footerBrandCol {
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) minmax(240px, 0.9fr);
    gap: 22px;
    align-items: center;
  }

  .footer.footerModern .footerLogoLink,
  .footer.footerModern .footerBrand,
  .footer.footerModern .footerTrustMark {
    margin: 0;
  }
}

@media (max-width: 900px) {
  .footer.footerModern .footerGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 42px;
  }

  .footer.footerModern .footerBrandCol {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .footer.footerModern .footerTrustMark {
    grid-column: 1 / -1;
  }

  .footer.footerModern .footerContactCol {
    grid-column: 1 / -1;
  }

  .footer.footerModern .footerContactList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
  }

  .footer.footerModern .footerBottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer.footerModern .footerBottomLinks {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  body .footer.footerModern {
    padding-top: 22px;
  }

  .footer.footerModern .footerInner {
    padding-inline: 14px;
  }

  .footer.footerModern .footerLead {
    gap: 20px;
    padding: 22px 18px;
    border-radius: 20px;
  }

  .footer.footerModern .footerLeadActions {
    align-items: stretch;
    flex-direction: column;
  }

  .footer.footerModern .footerLeadPhone,
  .footer.footerModern .footerBookBtn {
    width: 100%;
  }

  .footer.footerModern .footerGrid {
    padding: 42px 4px 36px;
  }

  .footer.footerModern .footerBrandCol {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer.footerModern .footerBrand,
  .footer.footerModern .footerTrustMark {
    max-width: none;
  }

  .footer.footerModern .footerContactList {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .footer.footerModern .footerGrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer.footerModern .footerBrandCol,
  .footer.footerModern .footerContactCol {
    grid-column: auto;
  }

  .footer.footerModern .footerLogoLink {
    width: 100%;
  }

  .footer.footerModern .footerBottomLinks {
    gap: 11px 16px;
    align-items: flex-start;
    flex-direction: column;
  }
}

body.a11y-bw .footer.footerModern {
  border-top: 2px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
}

body.a11y-bw .footer.footerModern::before,
body.a11y-bw .footer.footerModern::after {
  display: none !important;
}

body.a11y-bw .footer.footerModern *,
body.a11y-bw .footer.footerModern a {
  color: #000 !important;
  border-color: #000 !important;
  box-shadow: none !important;
}

body.a11y-bw .footer.footerModern .footerLead,
body.a11y-bw .footer.footerModern .footerBookBtn,
body.a11y-bw .footer.footerModern .footerContactIcon,
body.a11y-bw .footer.footerModern .footerSocialIcon {
  background: #fff !important;
}

@media print {
  body .footer.footerModern {
    padding: 20px 0;
    border-top: 1px solid #bbb;
    background: #fff !important;
    color: #000 !important;
  }

  .footer.footerModern::before,
  .footer.footerModern::after,
  .footer.footerModern .footerLead,
  .footer.footerModern .footerSocials {
    display: none !important;
  }

  .footer.footerModern .footerGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 0 20px;
  }

  .footer.footerModern .footerBrandCol {
    grid-column: 1 / -1;
  }

  .footer.footerModern *,
  .footer.footerModern a {
    color: #000 !important;
    box-shadow: none !important;
  }
}
