/* Keep the original panorama and the carousel's existing controls. */
.dh-showcase #dh-slide-completion {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  min-height: 430px;
  height: auto;
  padding: 32px max(24px, 5%) 58px;
  box-sizing: border-box;
  background: #292b27;
}
.dh-showcase #dh-slide-completion .dh-showcase-background {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  z-index: 0;
}
.dh-showcase #dh-slide-completion::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #191c18f5 0%, #191c18d4 34%, #191c1830 76%),
    linear-gradient(0deg, #191c18dc, transparent 40%);
}
.dh-showcase #dh-slide-completion .dh-showcase-copy {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  align-self: center;
  width: auto !important;
  max-width: 35rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.dh-showcase #dh-slide-completion h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 42px !important;
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}
.dh-showcase #dh-slide-completion .dh-showcase-bottom {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
}
.dh-showcase #dh-slide-completion .dh-showcase-bottom p {
  max-width: 36ch;
  color: #f6f4ee;
  font-size: 16px;
  line-height: 1.55;
}
.dh-showcase #dh-slide-completion .dh-showcase-cta {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  background: #f8a64c;
  color: #241a12 !important;
  text-align: center;
  white-space: normal;
}
.dh-showcase #dh-slide-completion .dh-showcase-cta:hover {
  background: #ffbe76;
  transform: none;
}
.dh-showcase #dh-slide-completion .dh-showcase-groups {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 !important;
  background: transparent;
}
.dh-showcase #dh-slide-completion .dh-showcase-groups a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 6px !important;
  border: 1px solid #ffffff52 !important;
  border-radius: 8px;
  background: #222520ee !important;
  color: #fff !important;
  font: 650 14px/1.35 Manrope, 'Segoe UI', sans-serif !important;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transform: none;
}
.dh-showcase #dh-slide-completion .dh-showcase-groups a:hover {
  background: #45382b !important;
  border-color: #f8a64c !important;
}
.dh-showcase #dh-slide-completion a:focus-visible {
  outline: 2px solid #f8a64c;
  outline-offset: 3px;
}
@media (max-width: 64em) {
  .dh-showcase #dh-slide-completion {
    min-height: 354px;
    padding: 24px 14px 58px !important;
  }
  .dh-showcase #dh-slide-completion::before {
    background: linear-gradient(90deg, #181d19ed, #181d1980),
      linear-gradient(0deg, #181d19e0, transparent 47%);
  }
  .dh-showcase #dh-slide-completion h1 { font-size: 29px !important; }
  .dh-showcase #dh-slide-completion .dh-showcase-bottom p { font-size: 14px; }
  .dh-showcase #dh-slide-completion .dh-showcase-groups { gap: 6px; }
  .dh-showcase #dh-slide-completion .dh-showcase-groups a { font-size: 12px !important; }
}

/* Style the existing menus and contacts without replacing their Bitrix data. */
#footer {
  --dh-footer-bg: #292c2f;
  --dh-footer-text: #f1f2ef;
  --dh-footer-muted: #c3c6c2;
  --dh-footer-rule: #575c5e;
  background: var(--dh-footer-bg) !important;
  color: var(--dh-footer-text);
  font-family: Manrope, 'Segoe UI', sans-serif;
}
#footer .fc {
  padding: 28px 0 0 !important;
  background: transparent !important;
}
#footer #rowFooter {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
  gap: 24px;
  align-items: start;
  margin: 0;
  padding: 0 0 20px;
  border: 0;
}
#footer #leftFooter, #footer #rightFooter {
  box-sizing: border-box;
  float: none;
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  border: 0;
  background: transparent !important;
}
#footer #leftFooter > .footerRow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
#footer #leftFooter .column {
  box-sizing: border-box;
  width: auto !important;
  min-width: 0;
  padding: 0;
  margin: 0;
}
#footer #leftFooter .column--mobile {
  display: block;
  grid-column: 1 / -1;
}
#footer #leftFooter .heading {
  box-sizing: border-box;
  min-height: 0;
  color: var(--dh-footer-text);
  font: 750 14px/1.4 Manrope, 'Segoe UI', sans-serif;
  letter-spacing: 0;
  white-space: normal;
  text-transform: none;
}
#footer #leftFooter .footerMenu { margin: 8px 0 0; padding: 0; }
#footer #leftFooter .footerMenu li { margin: 0; }
#footer #leftFooter .footerMenu a,
#footer #rightFooter :is(p, .list li, .email, .email a) {
  color: var(--dh-footer-muted) !important;
  font: 500 13px/1.55 Manrope, 'Segoe UI', sans-serif;
  overflow-wrap: anywhere;
}
#footer #leftFooter .footerMenu a { display: inline-block; padding: 5px 0; }
#footer #leftFooter .socials { gap: 8px; }
#footer #leftFooter .socials .social { display: block; margin: 0; }
#footer #leftFooter .socials .social a {
  display: flex;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#footer #leftFooter .socials .social img {
  position: static;
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  transform: none;
}
#footer #rightFooter .rightTable,
#footer #rightFooter .rightTable > tbody,
#footer #rightFooter .footerRow { display: block; width: 100%; }
#footer #rightFooter .footerRow { display: grid; gap: 14px; }
#footer #rightFooter :is(.leftColumn, .rightColumn, .wrap) {
  display: block;
  width: auto !important;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 !important;
  margin: 0 !important;
}
#footer #rightFooter .rightColumn { grid-row: 1; }
#footer #rightFooter .telephone {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  color: #ffba73 !important;
  font: 750 18px/1.35 Manrope, 'Segoe UI', sans-serif;
}
#footer #rightFooter :is(p, .list, .email) { margin: 4px 0 0 !important; padding: 0; }
#footer #rightFooter .hr { border: 0; }
#footer #rightFooter .showMap { display: inline-block; color: #ffba73 !important; }
#footer #rightFooter .logo { margin: 0 0 6px; }
#footer #rightFooter .logo img { width: 108px; max-width: 100%; height: auto; }
#footer #rightFooter .privacy { display: none; }
#footer #footerBottom {
  display: block !important;
  padding: 10px 0 16px !important;
  border-top: 1px solid var(--dh-footer-rule);
  background: transparent !important;
}
#footer #footerBottom .privacy { display: flex; flex-wrap: wrap; width: auto; gap: 2px 16px; margin: 0; }
#footer #footerBottom .privacy a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  width: auto;
  margin: 0;
  color: var(--dh-footer-muted);
  font: 500 12px/1.45 Manrope, 'Segoe UI', sans-serif;
  white-space: normal;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#footer a:focus-visible, #footer .heading:focus-visible { outline: 2px solid #ffba73; outline-offset: 2px; }
@media (min-width: 768px) {
  #footer #leftFooter .footerMenu { display: block !important; }
}
@media (max-width: 767px) {
  #footer .fc { padding: 16px 0 0 !important; }
  #footer #rowFooter { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 14px 14px; }
  #footer #leftFooter > .footerRow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #footer #leftFooter .column { border-bottom: 1px solid var(--dh-footer-rule); }
  #footer #leftFooter .heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 5px 4px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
  }
  #footer #leftFooter .heading::after {
    content: '';
    position: static;
    flex: 0 0 7px;
    height: 7px;
    margin: 0 7px 4px;
    border: solid var(--dh-footer-muted);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  #footer #leftFooter .column:has(.footerMenu[style*='display: block']) .heading::after { transform: rotate(225deg); }
  #footer #leftFooter .footerMenu { margin: 0 4px 8px; }
  #footer #leftFooter .footerMenu a { min-height: 38px; box-sizing: border-box; }
  #footer #leftFooter .column--mobile { padding: 10px 0; }
  #footer #rightFooter .logo { display: none; }
  #footer #footerBottom { padding: 7px 14px 72px !important; }
}
