body footer.ym-site-footer {
  box-sizing: border-box;
  margin: 0;
  padding: 60px 0 24px;
  background: linear-gradient(180deg, #102840 0%, #0b1e31 100%);
  color: #c8d8e2;
  font: 500 13px/1.6 Arial, Helvetica, sans-serif;
}

.ym-site-footer .ym-site-footer-inner {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.ym-site-footer .ym-site-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.45fr) repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
}

.ym-site-footer .ym-site-footer-grid > div { min-width: 0; }

.ym-site-footer .ym-site-footer-grid h4 {
  margin: 0 0 22px;
  color: #f2f6fa;
  font: 700 13px/1.35 Arial, Helvetica, sans-serif;
}

.ym-site-footer .ym-site-footer-grid p {
  color: #c8d8e2;
  font-size: 13px;
  line-height: 1.6;
}

.ym-site-footer .ym-site-footer-grid > div > p { margin: 0 0 14px; }

body footer.ym-site-footer a {
  color: #c8d8e2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body footer.ym-site-footer a:is(:hover, :focus-visible) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ym-site-footer a:focus-visible {
  outline: 2px solid #8fd2ff;
  outline-offset: 3px;
}

.ym-site-footer .ym-site-footer-grid > div > a {
  display: block;
  margin-bottom: 11px;
}

.ym-site-footer .ym-site-footer-grid .ym-site-footer-brand {
  width: min(210px, 100%);
  margin-bottom: 20px;
}

.ym-site-footer .ym-site-footer-logo {
  display: block;
  width: 100%;
  height: auto;
}

.ym-site-footer .ym-site-footer-subnav {
  display: grid;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0 0 8px 10px;
  border-left: 1px solid #3b5b76;
  font-size: 12px;
}

body footer.ym-site-footer .ym-site-footer-subnav a { color: #9fc3d9; }

footer.ym-site-footer .ym-site-footer-map-card {
  display: block;
  width: 100%;
  margin: 23px 0 0;
  border: 1px solid #63839d;
  border-radius: 12px;
  overflow: hidden;
  background: #0d2742;
  transform: none;
}

footer.ym-site-footer .ym-site-footer-map-art {
  height: 150px;
  position: relative;
  overflow: hidden;
  background: #173b5b;
}

footer.ym-site-footer .ym-site-footer-map-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) brightness(.72) contrast(1.08);
}

footer.ym-site-footer .ym-site-footer-map-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(8 39 69 / 58%), rgb(10 74 112 / 34%));
  mix-blend-mode: multiply;
  pointer-events: none;
}

footer.ym-site-footer :is(.ym-site-footer-map-label, .ym-site-footer-map-marker, .ym-site-footer-map-open) {
  position: absolute;
  z-index: 2;
}

footer.ym-site-footer .ym-site-footer-map-label {
  inset: 14px 6px auto 14px;
  color: #d8efff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-shadow: 0 1px 2px #102c49;
}

footer.ym-site-footer .ym-site-footer-map-marker {
  left: 50%;
  top: 48%;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: #2f80b7;
  color: transparent;
}

body footer.ym-site-footer .ym-site-footer-map-open {
  left: 14px;
  bottom: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

footer.ym-site-footer .ym-site-footer-map-copy {
  display: grid;
  gap: 4px;
  padding: 14px 14px 25px;
  background: #0d2742;
  color: #b9d0e1;
  font-size: 12px;
}

footer.ym-site-footer .ym-site-footer-map-copy strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

body footer.ym-site-footer .ym-site-footer-map-copy a { color: #8fd2ff; }

.ym-site-footer .ym-fabio-card {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgb(143 210 255 / 38%);
  border-radius: 14px;
  background: linear-gradient(145deg, #163b5d, #102c48);
  color: #dce9f3;
  box-shadow: 0 12px 24px rgb(2 14 28 / 18%);
}

.ym-site-footer .ym-fabio-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 4px 9px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgb(143 210 255 / 20%);
}

.ym-site-footer .ym-fabio-card-head strong { color: #fff; font-size: 18px; line-height: 1.1; }
.ym-site-footer .ym-fabio-card-head span { color: #a9c9dc; font-size: 10px; line-height: 1.25; }
.ym-site-footer .ym-fabio-card-company { display: grid; gap: 3px; margin: 14px 0 0; }
.ym-site-footer .ym-fabio-card-company b { color: #8fd2ff; font-size: 11px; letter-spacing: .1em; }
.ym-site-footer .ym-fabio-card-company span { color: #d3e2ec; font-size: 12px; line-height: 1.4; }
.ym-site-footer .ym-fabio-card-copy { margin: 13px 0; }

.ym-site-footer .ym-fabio-card-contact {
  display: grid;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgb(143 210 255 / 20%);
  font-size: 12px;
  line-height: 1.4;
}

.ym-site-footer .ym-fabio-card .ym-social-icons { margin-top: 24px; }

.ym-site-footer .ym-site-footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #496179;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .ym-site-footer .ym-site-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ym-site-footer .ym-site-footer-grid > div:first-child { grid-column: span 2; }
  footer.ym-site-footer .ym-site-footer-map-card { max-width: 388px; }
}

@media (max-width: 760px) {
  body footer.ym-site-footer { padding-top: 40px; }
  .ym-site-footer .ym-site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .ym-site-footer .ym-site-footer-grid > div:last-child { grid-column: span 2; }
  .ym-site-footer .ym-fabio-card { max-width: 388px; }
}
