.nav_contact_wrapper{display:flex;align-items:center;gap:1.5rem}.nav_contact_tel_block{white-space:nowrap}.footer-mobile-phone{margin-bottom:.5rem}.footer-phone-link{color:inherit;text-decoration:none}.footer-phone-link:hover,.footer-phone-link:focus-visible{text-decoration:underline}@media screen and (min-width:768px){.area-5_grid_ft_1st .footer-phone-link{color:var(--_colors---footer-colors--sec-ft-color-1)}}.faq-modal{display:none;position:fixed;inset:0;z-index:9999;padding:1.5rem;align-items:center;justify-content:center}.faq-modal.is-open{display:flex}.faq-modal__backdrop{position:absolute;inset:0;background:rgba(72,51,26,.52)}.faq-modal__dialog{position:relative;z-index:1;width:min(100%,42rem);max-height:calc(100vh - 3rem);overflow:auto;border-radius:1.25rem;background:#f8f3eb;padding:clamp(1.5rem,4vw,3rem);box-shadow:0 1.5rem 4rem rgba(47,33,16,.28)}.faq-modal__dialog h2{margin:0 2rem 1.5rem 0}.faq-modal__close{position:absolute;top:1rem;right:1rem;display:grid;width:2.5rem;height:2.5rem;border:0;border-radius:50%;background:transparent;color:inherit;font-size:2rem;line-height:1;cursor:pointer}.faq-modal__close:hover,.faq-modal__close:focus-visible{background:rgba(128,91,40,.12)}.faq-modal__form{display:grid;gap:1rem}.faq-modal__form label{display:grid;gap:.45rem;color:#674c2c;font-weight:600}.faq-modal__form input,.faq-modal__form select,.faq-modal__form textarea{width:100%;border:1px solid rgba(103,76,44,.24);border-radius:.75rem;background:#fffdf9;color:#3a2a18;font:inherit;padding:.85rem 1rem}.faq-modal__form textarea{resize:vertical}.faq-modal__form :is(input,select,textarea,button):focus-visible,.faq-modal__close:focus-visible{outline:3px solid #b9832b;outline-offset:2px}.faq-modal__consent{display:flex!important;grid-template-columns:auto 1fr;align-items:flex-start;font-weight:400!important}.faq-modal__consent input{width:1.2rem;height:1.2rem;margin-top:.15rem}.faq-modal-open{overflow:hidden}.contact-mobile-number{margin-left:1rem;white-space:nowrap}.contact-info-list{display:grid;width:100%;gap:2rem;align-items:stretch}.contact-info-list__item{display:grid!important;grid-template-columns:8rem minmax(0,1fr);width:100%;height:auto;align-items:start;column-gap:2.25rem;row-gap:0}.contact-info-list__item>.icon{flex:0 0 auto}.contact-info-list__item>div:last-child{min-width:0}.contact-info-list__phone-links{display:flex;flex-wrap:wrap;gap:.5rem 2rem}.contact-info-list__phone-links .contact-mobile-number{margin-left:0}.contact-info-list .txt_block_contacts{font-size:var(--_typography---text-lg--lg-text-size);line-height:1.4}@media screen and (max-width:767px){.nav_contact_wrapper{flex-direction:column;align-items:flex-end;gap:.2rem}.nav_contact_tel_block .nav_phone_label{font-size:clamp(.88rem,3.8vw,1.05rem);white-space:nowrap}.contact-info-list{gap:1.5rem}.contact-info-list__item{grid-template-columns:4rem minmax(0,1fr);column-gap:1rem}.contact-info-list__item>.icon{width:4rem;height:4rem}.contact-info-list__phone-links{gap:.35rem 1rem}.contact-mobile-number{display:inline-block;margin:0}.faq-modal{padding:.75rem}.faq-modal__dialog{max-height:calc(100vh - 1.5rem);border-radius:1rem;padding:1.25rem}}
@media screen and (min-width:768px){.area-5_grid_ft_1st .footer-phone-link{font-family:var(--_typography---font--body-font);font-size:var(--_typography---text--text-size-0r85);font-weight:400;line-height:var(--_typography---base-typography--base-line-height)}}
@media screen and (min-width:768px){.area-5_grid_ft_1st{gap:1rem}.area-5_grid_ft_1st .footer-mobile-phone{margin-bottom:0}.area-5_grid_ft_1st :is(.phone_ico_ft,.mail_ico_ft){width:calc(var(--_sizes---spacing--2x)/1.5);height:calc(var(--_sizes---spacing--2x)/1.5)}}
@media screen and (min-width:768px){.grid_footer_1st{grid-row-gap:1rem}.logo_img_footer_1st{width:calc(4rem/1.5);height:calc(var(--_sizes---spacing--5x)/1.5)}.txt_dmc_footer_1st{font-size:calc(var(--_typography---text--text-size-0r85)/1.5);line-height:calc(var(--_typography---base-typography--base-line-height)/1.5)}.compname_h2_footer_1st{font-size:calc(var(--_typography---h4-heading--h4-size)/1.5);line-height:calc(var(--_typography---text--text-size)/1.5)}}
@media screen and (min-width:768px){.area-5_grid_ft_1st{margin-top:-.54rem}}
@media screen and (min-width:768px){.area-5_grid_ft_1st{margin-top:-1.09rem}}
@media screen and (min-width:768px){.logo_wrapper_footer_1st{flex:0 0 calc(4rem/1.5);margin-left:24px}.compname_wrapper_footer_1st{margin-left:16px}}
@media screen and (min-width:768px){.ya_map_code_emb_block{border-radius:var(--_sizes---image--image-radius);overflow:hidden}.ya_map_code_emb_block>div{height:100%;border-radius:inherit;overflow:hidden}.ya_map_code_emb_block iframe{display:block;height:212px!important;border:0}}
@media screen and (min-width:768px){.ya_map_code_emb_block{transform:translateY(-5.37px)}}

/* Desktop footer reference — shared by every exported HTML page.
   The layout follows the approved footer on the license page: brand and
   contacts in the first column, a large map in the second, and two link
   columns on the right. Mobile rules remain owned by responsive-footer.css. */
@media screen and (min-width: 768px) {
  .section.is-footer-1st,
  .section.is-footer-2nd {
    background-color: #704c0f;
  }

  .section.is-footer-1st {
    padding: 3rem 0 3.5rem;
  }

  .section.is-footer-2nd {
    padding: 0 0 2.25rem;
  }

  .cont-is-footer-1st,
  .cont-is-footer-2nd {
    width: 100%;
    max-width: none;
    padding-right: clamp(2rem, 3.5vw, 5rem);
    padding-left: clamp(2rem, 3.5vw, 5rem);
  }

  .grid_footer_1st {
    display: grid;
    grid-template-areas:
      "brand map services patients"
      "contacts map services patients";
    grid-template-columns: minmax(17rem, 1fr) minmax(32rem, 1.8fr) minmax(16rem, .8fr) minmax(17rem, .95fr);
    align-items: start;
    column-gap: clamp(3rem, 3vw, 4rem);
    row-gap: 2rem;
  }

  /* Exported Webflow node IDs set grid areas with ID specificity. Reset them
     here so every HTML route shares this explicit reference composition. */
  .grid_footer_1st > .area-1_grid_ft_1st { grid-area: brand !important; }
  .grid_footer_1st > .area-2_grid_ft_1st_map_wrp { grid-area: map !important; }
  .grid_footer_1st > .area-3_grid_ft_1st { grid-area: services !important; }
  .grid_footer_1st > .area-4_grid_ft_1st { grid-area: patients !important; }
  .grid_footer_1st > .area-5_grid_ft_1st { grid-area: contacts !important; }

  .area-1_grid_ft_1st {
    align-items: flex-start;
    min-height: 5rem;
    transform: none !important;
  }

  .logo_wrapper_footer_1st {
    flex-basis: 5rem;
    margin-left: 0;
  }

  .logo_img_footer_1st {
    width: 5rem;
    height: 5rem;
  }

  .compname_wrapper_footer_1st {
    margin-left: 1.25rem;
  }

  .txt_dmc_footer_1st {
    font-size: clamp(.95rem, .9vw, 1.15rem);
    line-height: 1.25;
  }

  .compname_h2_footer_1st {
    margin-top: .2rem;
    font-size: clamp(1.5rem, 1.45vw, 2rem);
    line-height: 1.1;
  }

  .area-2_grid_ft_1st_map_wrp,
  .ya_map_code_emb_block,
  .ya_map_code_emb_block > div {
    height: 24rem;
  }

  .ya_map_code_emb_block {
    transform: none;
    border-radius: 2rem;
  }

  .ya_map_code_emb_block iframe {
    height: 24rem !important;
    border-radius: inherit;
  }

  .area-3_grid_ft_1st,
  .area-4_grid_ft_1st {
    gap: .5rem;
    transform: none !important;
  }

  .txt_area-3-grid-footer_1st,
  .area-4_grid_ft_1st > .div-1_area-4_grid_ft_1st-copy .txt_phone_footer_1st {
    font-size: clamp(1.25rem, 1.2vw, 1.75rem);
    line-height: 1.2;
  }

  .txt_link_serv_01_footer_1st {
    font-size: clamp(1rem, .95vw, 1.3rem);
    line-height: 1.45;
  }

  .area-5_grid_ft_1st {
    gap: 1.8rem;
    margin-top: 0;
  }

  .area-5_grid_ft_1st :is(.phone_ico_ft, .mail_ico_ft) {
    width: 2.75rem;
    height: 2.75rem;
  }

  .div_1_area-5_grid_ft_1st,
  .div_2_area-5_grid_ft_1st,
  .div_3_area-5_grid_ft_1st {
    gap: 1.25rem;
    padding-left: 0;
    align-items: center;
  }

  .area-5_grid_ft_1st .txt_phone_footer_1st,
  .area-5_grid_ft_1st .footer-phone-link {
    font-size: clamp(1.15rem, 1.08vw, 1.55rem);
    line-height: 1.3;
  }

  .footer-2nd-line,
  .footer-2nd-line-bottom {
    width: 100%;
    height: 1px;
    margin: 0;
    background-color: rgb(172 125 45 / 45%);
  }

  .grid_footer_2nd_wrapper {
    margin: 0;
    padding: 1.5rem 0;
  }

  .grid_footer_2nd {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1.3fr .8fr 1.4fr;
    align-items: center;
    margin: 0;
  }

  .txt_link_grid_footer_2nd,
  .text-1_grid_footer_2nd {
    font-size: clamp(.85rem, .78vw, 1.1rem);
    line-height: 1.2;
  }

  .grid-2_footer_2nd {
    display: grid;
    grid-template-areas:
      "notice notice notice"
      "copyright copyright maker";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
    gap: 1.5rem;
    align-items: end;
    padding-top: 1.75rem;
  }

  .grid-2_footer_2nd > .area-1_grid-2_footer_2nd { grid-area: notice !important; }
  .grid-2_footer_2nd > .area-2_grid-2_footer_2nd { grid-area: copyright !important; }
  .grid-2_footer_2nd > .area-3_grid-2_footer_2nd { grid-area: maker !important; }

  .txt_att_grid_footer_2nd,
  .txt_copyright_footer_2nd-copy,
  .txt_area-3_grid-2_footer_2nd {
    font-size: clamp(.7rem, .7vw, .95rem);
    line-height: 1.35;
  }
}

/* Wide desktop reference (the 2738px visual supplied by the customer).
   Keep this composition left-aligned rather than distributing it across the
   entire window: the intentional empty brown field on the right is part of
   the reference image. */
@media screen and (min-width: 1440px) {
  .section.is-footer-1st { padding: 3rem 0 3.5rem; }
  .section.is-footer-2nd { padding: 0 0 2.25rem; }

  .cont-is-footer-1st,
  .cont-is-footer-2nd {
    max-width: none;
    padding-right: 5rem;
    padding-left: 5rem;
  }

  .grid_footer_1st {
    width: min(100%, 130.25rem);
    grid-template-columns: 23rem 44.125rem 17.3125rem 27.8125rem;
    column-gap: 6rem;
    row-gap: 2rem;
  }

  .area-1_grid_ft_1st { min-height: 5rem; }
  .logo_wrapper_footer_1st { flex-basis: 5rem; margin-left: 0; }
  .logo_img_footer_1st { width: 5rem; height: 5rem; }
  .compname_wrapper_footer_1st { margin-left: 1.25rem; }
  .txt_dmc_footer_1st { font-size: 1.15rem; line-height: 1.25; }
  .compname_h2_footer_1st { margin-top: .2rem; font-size: 2rem; line-height: 1.1; }

  .area-2_grid_ft_1st_map_wrp,
  .ya_map_code_emb_block,
  .ya_map_code_emb_block > div,
  .ya_map_code_emb_block iframe { height: 24rem !important; }
  .ya_map_code_emb_block { border-radius: 2rem; }

  .area-3_grid_ft_1st,
  .area-4_grid_ft_1st { gap: .5rem; }
  .txt_area-3-grid-footer_1st,
  .area-4_grid_ft_1st > .div-1_area-4_grid_ft_1st-copy .txt_phone_footer_1st { font-size: 1.75rem; line-height: 1.2; }
  .txt_link_serv_01_footer_1st { font-size: 1.3rem; line-height: 1.45; }

  .area-5_grid_ft_1st { gap: 1.8rem; margin-top: 0; }
  .area-5_grid_ft_1st :is(.phone_ico_ft, .mail_ico_ft) { width: 2.75rem; height: 2.75rem; }
  .div_1_area-5_grid_ft_1st,
  .div_2_area-5_grid_ft_1st,
  .div_3_area-5_grid_ft_1st { gap: 1.25rem; padding-left: 0; align-items: center; }
  .area-5_grid_ft_1st .txt_phone_footer_1st,
  .area-5_grid_ft_1st .footer-phone-link { font-size: 1.55rem; line-height: 1.3; }

  .grid_footer_2nd { grid-template-columns: 1.1fr 1.5fr 1.3fr .8fr 1.4fr; margin: 0; }
  .grid_footer_2nd_wrapper { margin: 0; padding: 1.5rem 0; }
  .txt_link_grid_footer_2nd,
  .text-1_grid_footer_2nd { font-size: 1.1rem; line-height: 1.2; }
  .grid-2_footer_2nd { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; grid-template-areas: "notice notice notice" "copyright copyright maker"; gap: 1.5rem; padding-top: 1.75rem; }
  .txt_att_grid_footer_2nd,
  .txt_copyright_footer_2nd-copy,
  .txt_area-3_grid-2_footer_2nd { font-size: .95rem; line-height: 1.35; }
}

/* Final desktop rail: this must remain last so older exported rules cannot
   widen the footer beyond the two visual guide lines set by the header. */
@media screen and (min-width: 768px) {
  .cont-is-footer-1st,
  .cont-is-footer-2nd {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: var(--_sizes---container--container-width-norm) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: var(--_sizes---container--container-padding-horizontal) !important;
    padding-left: var(--_sizes---container--container-padding-horizontal) !important;
  }

  .grid_footer_1st,
  .grid_footer_2nd,
  .grid-2_footer_2nd,
  .footer-2nd-line,
  .footer-2nd-line-bottom {
    width: 100% !important;
  }
}

@media screen and (min-width: 1440px) {
  .grid_footer_1st {
    grid-template-columns: 11.5rem 22.0625rem 8.65625rem minmax(13.90625rem, 1fr) !important;
  }
}

/* Final wide-desktop override: the two link columns hug the rail's right
   side, while the map grows into the remaining centre column. */
@media screen and (min-width: 75rem) {
  .grid_footer_1st {
    grid-template-columns: max-content minmax(0, 1fr) max-content max-content !important;
    column-gap: 3rem !important;
    row-gap: 1rem !important;
  }

  .area-5_grid_ft_1st .txt_phone_footer_1st,
  .area-3_grid_ft_1st .txt_link_serv_01_footer_1st,
  .area-4_grid_ft_1st .txt_link_serv_01_footer_1st {
    white-space: nowrap;
  }

  /* Remove the exported 40px left margin from «Услуги»: it belongs to the
     released middle space, therefore the map—not a blank gap—uses it. */
  .area-3_grid_ft_1st {
    margin-left: 0 !important;
    height: calc(100% - .75rem) !important;
    gap: 0 !important;
    justify-content: space-between;
  }

  .area-2_grid_ft_1st_map_wrp {
    align-self: stretch !important;
    height: auto !important;
    min-height: 0;
  }

  .area-2_grid_ft_1st_map_wrp,
  .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block,
  .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block > div,
  .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block iframe {
    height: calc(100% + .5625rem) !important;
  }
}

/* Compact desktop uses the same visual rule before the 1200px layout: the
   service heading stays on the shared top line, while only its item list
   distributes downward to the map's lower edge. */
@media screen and (min-width: 64rem) and (max-width: 74.9375rem) {
  .grid_footer_1st {
    grid-template-columns: max-content minmax(0, 1fr) max-content max-content !important;
    column-gap: 1.5rem !important;
    row-gap: 1rem !important;
  }

  .area-3_grid_ft_1st {
    height: calc(100% - 1.875rem) !important;
    margin-left: 0 !important;
    gap: 0 !important;
    justify-content: space-between;
  }

  .txt_link_serv_01_footer_1st {
    font-size: .65rem !important;
    line-height: 1.45 !important;
    white-space: nowrap;
  }

  .area-4_grid_ft_1st .txt_link_serv_01_footer_1st,
  .area-5_grid_ft_1st .txt_phone_footer_1st {
    white-space: nowrap;
  }

  .area-2_grid_ft_1st_map_wrp {
    align-self: stretch !important;
    height: calc(100% - 1.875rem) !important;
    min-height: 0;
  }

  .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block,
  .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block > div,
  .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block iframe {
    height: 100% !important;
  }
}

/* Wide desktop footer: navigation keeps its natural single-line width at the
   right edge; the map receives every remaining pixel between it and contacts. */
@media screen and (min-width: 75rem) {
  .grid_footer_1st {
    grid-template-columns: max-content minmax(0, 1fr) max-content max-content !important;
    column-gap: 3rem !important;
    row-gap: 1rem !important;
  }

  .area-5_grid_ft_1st .txt_phone_footer_1st,
  .area-3_grid_ft_1st .txt_link_serv_01_footer_1st,
  .area-4_grid_ft_1st .txt_link_serv_01_footer_1st {
    white-space: nowrap;
  }

  /* The map stretches over the same two grid rows as brand plus contacts.
     Its lower edge therefore matches the bottom edge of the address row. */
  .area-2_grid_ft_1st_map_wrp {
    align-self: stretch !important;
    height: auto !important;
    min-height: 0;
  }

  .area-2_grid_ft_1st_map_wrp,
  .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block,
  .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block > div,
  .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block iframe {
    /* The exported Webflow rows reserve a 9px trailing grid offset. Include
       it so the map's lower visual edge meets the address baseline exactly. */
    height: calc(100% + .5625rem) !important;
  }
}

/* Desktop footer rail: use the exact same content edges as the primary
   header.  The footer may be visually sparse, but every content level and
   divider starts under the header logo and ends under the booking CTA. */
@media screen and (min-width: 768px) {
  .cont-is-footer-1st,
  .cont-is-footer-2nd {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: var(--_sizes---container--container-width-norm) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: var(--_sizes---container--container-padding-horizontal) !important;
    padding-left: var(--_sizes---container--container-padding-horizontal) !important;
  }

  .grid_footer_1st,
  .grid_footer_2nd,
  .grid-2_footer_2nd,
  .footer-2nd-line,
  .footer-2nd-line-bottom {
    width: 100% !important;
  }
}

@media screen and (min-width: 1440px) {
  .grid_footer_1st {
    grid-template-columns: 11.5rem 22.0625rem 8.65625rem minmax(13.90625rem, 1fr) !important;
  }
}

@media screen and (min-width: 1440px) {
  .section.is-footer-1st { padding: 2.5rem 0 1.75rem; }
  .section.is-footer-2nd { padding: 0 0 1.125rem; }
  .cont-is-footer-1st, .cont-is-footer-2nd { padding-right: 2.5rem; padding-left: 2.5rem; }
  .grid_footer_1st { width: min(100%, 65.125rem); grid-template-columns: 11.5rem 22.0625rem 8.65625rem 13.90625rem; column-gap: 3rem; row-gap: 1rem; }
  .area-1_grid_ft_1st { min-height: 2.5rem; }
  .logo_wrapper_footer_1st { flex-basis: 2.5rem; }
  .logo_img_footer_1st { width: 2.5rem; height: 2.5rem; }
  .compname_wrapper_footer_1st { margin-left: .625rem; }
  .txt_dmc_footer_1st { font-size: .575rem; line-height: 1.25; }
  .compname_h2_footer_1st { margin-top: .1rem; font-size: 1rem; line-height: 1.1; }
  .area-2_grid_ft_1st_map_wrp, .ya_map_code_emb_block, .ya_map_code_emb_block > div, .ya_map_code_emb_block iframe { height: 12rem !important; }
  .ya_map_code_emb_block { border-radius: 1rem; }
  .area-3_grid_ft_1st, .area-4_grid_ft_1st { gap: .25rem; }
  .txt_area-3-grid-footer_1st, .area-4_grid_ft_1st > .div-1_area-4_grid_ft_1st-copy .txt_phone_footer_1st { font-size: .875rem; line-height: 1.2; }
  .txt_link_serv_01_footer_1st { font-size: .65rem; line-height: 1.45; }
  .area-5_grid_ft_1st { gap: .9rem; }
  .area-5_grid_ft_1st :is(.phone_ico_ft, .mail_ico_ft) { width: 1.375rem; height: 1.375rem; }
  .div_1_area-5_grid_ft_1st, .div_2_area-5_grid_ft_1st, .div_3_area-5_grid_ft_1st { gap: .625rem; }
  .area-5_grid_ft_1st .txt_phone_footer_1st, .area-5_grid_ft_1st .footer-phone-link { font-size: .775rem; line-height: 1.3; }
  .grid_footer_2nd_wrapper { padding: .75rem 0; }
  .txt_link_grid_footer_2nd, .text-1_grid_footer_2nd { font-size: .55rem; }
  .grid-2_footer_2nd { gap: .75rem; padding-top: .875rem; }
  .txt_att_grid_footer_2nd, .txt_copyright_footer_2nd-copy, .txt_area-3_grid-2_footer_2nd { font-size: .475rem; }
}

/* High-density wide desktop: values are calibrated against the supplied
   Yandex Browser screenshot, whose pixels are rendered at a 2x density. */
@media screen and (min-width: 1440px) {
  .section.is-footer-1st { padding: 2.5rem 0 1.75rem !important; }
  .section.is-footer-2nd { padding: 0 0 1.125rem !important; }
  .cont-is-footer-1st,
  .cont-is-footer-2nd { padding-right: 2.5rem !important; padding-left: 2.5rem !important; }
  .grid_footer_1st { width: min(100%, 65.125rem) !important; grid-template-columns: 11.5rem 22.0625rem 8.65625rem 13.90625rem !important; column-gap: 3rem !important; row-gap: 1rem !important; }
  .area-1_grid_ft_1st,
  .area-3_grid_ft_1st,
  .area-4_grid_ft_1st { transform: none !important; }
  .area-1_grid_ft_1st { min-height: 2.5rem !important; }
  .logo_wrapper_footer_1st { flex-basis: 2.5rem !important; }
  .logo_img_footer_1st { width: 2.5rem !important; height: 2.5rem !important; }
  .compname_wrapper_footer_1st { margin-left: .625rem !important; }
  .txt_dmc_footer_1st { font-size: .575rem !important; line-height: 1.25 !important; }
  .compname_h2_footer_1st { margin-top: .1rem !important; font-size: 1rem !important; line-height: 1.1 !important; }
  .area-2_grid_ft_1st_map_wrp,
  .ya_map_code_emb_block,
  .ya_map_code_emb_block > div,
  .ya_map_code_emb_block iframe { height: 12rem !important; }
  .section.is-footer-1st .area-2_grid_ft_1st_map_wrp,
  .section.is-footer-1st .ya_map_code_emb_block,
  .section.is-footer-1st .ya_map_code_emb_block > div,
  .section.is-footer-1st .ya_map_code_emb_block iframe { height: 12rem !important; }
  .ya_map_code_emb_block { border-radius: 1rem !important; }
  .area-3_grid_ft_1st,
  .area-4_grid_ft_1st { gap: .25rem !important; }
  .txt_area-3-grid-footer_1st,
  .area-4_grid_ft_1st > .div-1_area-4_grid_ft_1st-copy .txt_phone_footer_1st { font-size: .875rem !important; line-height: 1.2 !important; }
  .txt_link_serv_01_footer_1st { font-size: .65rem !important; line-height: 1.45 !important; }
  .area-5_grid_ft_1st { gap: .9rem !important; }
  .area-5_grid_ft_1st :is(.phone_ico_ft, .mail_ico_ft) { width: 1.375rem !important; height: 1.375rem !important; }
  .div_1_area-5_grid_ft_1st,
  .div_2_area-5_grid_ft_1st,
  .div_3_area-5_grid_ft_1st { gap: .625rem !important; }
  .area-5_grid_ft_1st .txt_phone_footer_1st,
  .area-5_grid_ft_1st .footer-phone-link { font-size: .775rem !important; line-height: 1.3 !important; }
  .grid_footer_2nd_wrapper { padding: .75rem 0 !important; }
  .txt_link_grid_footer_2nd,
  .text-1_grid_footer_2nd { font-size: .55rem !important; line-height: 1.2 !important; }
  .grid-2_footer_2nd { gap: .75rem !important; padding-top: .875rem !important; }
  .txt_att_grid_footer_2nd,
  .txt_copyright_footer_2nd-copy,
  .txt_area-3_grid-2_footer_2nd { font-size: .475rem !important; line-height: 1.35 !important; }
}
@media screen and (min-width:768px){.area-1_grid_ft_1st{transform:translateY(-9px)}.area-3_grid_ft_1st,.area-4_grid_ft_1st{transform:translateY(-12px)}}

/* Compact desktop: retain the four approved areas without letting the right
   column escape a 1280px viewport. The full-size reference above starts at
   1440px. */
@media screen and (min-width: 768px) and (max-width: 1439px) {
  .cont-is-footer-1st,
  .cont-is-footer-2nd {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .grid_footer_1st {
    grid-template-columns: minmax(10rem, .9fr) minmax(21rem, 1.55fr) minmax(10rem, .75fr) minmax(12rem, .9fr);
    column-gap: 1.5rem;
  }

  .area-2_grid_ft_1st_map_wrp,
  .ya_map_code_emb_block,
  .ya_map_code_emb_block > div,
  .ya_map_code_emb_block iframe {
    height: 20rem !important;
  }

  .logo_wrapper_footer_1st,
  .logo_img_footer_1st {
    width: 3.75rem;
    height: 3.75rem;
  }

  .logo_wrapper_footer_1st { flex-basis: 3.75rem; }
  .compname_wrapper_footer_1st { margin-left: .9rem; }
  .area-5_grid_ft_1st { gap: 1.25rem; }
  .area-5_grid_ft_1st :is(.phone_ico_ft, .mail_ico_ft) { width: 2rem; height: 2rem; }
  .div_1_area-5_grid_ft_1st,
  .div_2_area-5_grid_ft_1st,
  .div_3_area-5_grid_ft_1st { gap: .75rem; }
}

/* Shared desktop footer calibration.
   Keep the deliberately compact composition from the approved reference:
   a 1140px content rail, small contact type and the original footer rhythm.
   This block follows earlier experimental rules so it is the one source of
   truth for every exported HTML page. */
@media screen and (min-width: 768px) {
  .section.is-footer-1st {
    padding: var(--_sizes---footer-sizes--footer-section-padding-3x) 0 var(--_sizes---footer-sizes--footer-2nd-section-padding);
  }

  .section.is-footer-2nd {
    padding: var(--_sizes---footer-sizes--footer-2nd-section-padding) 0 var(--_sizes---footer-sizes--footer-section-padding-3x);
  }

  .cont-is-footer-1st,
  .cont-is-footer-2nd {
    max-width: var(--_sizes---container--container-width-norm);
    padding-right: var(--_sizes---container--container-padding-horizontal);
    padding-left: var(--_sizes---container--container-padding-horizontal);
  }

  .grid_footer_1st {
    grid-template-columns: 1fr 1.5fr .75fr .75fr;
    column-gap: var(--_sizes---spacing--1-5x);
    row-gap: var(--_sizes---spacing--1x);
  }

  /* A shared grid line is the alignment reference for the four upper areas. */
  .area-1_grid_ft_1st,
  .area-2_grid_ft_1st_map_wrp,
  .area-3_grid_ft_1st,
  .area-4_grid_ft_1st {
    align-self: start;
    transform: none !important;
  }

  .area-1_grid_ft_1st {
    min-height: 0;
  }

  .logo_wrapper_footer_1st {
    flex: 0 0 calc(4rem / 1.5);
    margin-left: 24px;
  }

  .logo_img_footer_1st {
    width: calc(4rem / 1.5);
    height: calc(var(--_sizes---spacing--5x) / 1.5);
  }

  .compname_wrapper_footer_1st {
    margin-left: 16px;
  }

  .txt_dmc_footer_1st {
    font-size: calc(var(--_typography---text--text-size-0r85) / 1.5);
    line-height: calc(var(--_typography---base-typography--base-line-height) / 1.5);
  }

  .compname_h2_footer_1st {
    margin-top: 0;
    font-size: calc(var(--_typography---h4-heading--h4-size) / 1.5);
    line-height: calc(var(--_typography---text--text-size) / 1.5);
  }

  .area-2_grid_ft_1st_map_wrp,
  .ya_map_code_emb_block,
  .ya_map_code_emb_block > div,
  .ya_map_code_emb_block iframe {
    height: 212px !important;
  }

  .ya_map_code_emb_block {
    transform: none;
    border-radius: var(--_sizes---image--image-radius);
  }

  .txt_area-3-grid-footer_1st,
  .area-4_grid_ft_1st > .div-1_area-4_grid_ft_1st-copy .txt_phone_footer_1st {
    font-size: var(--_typography---text--text-size-0r85);
    line-height: var(--_typography---base-typography--base-line-height);
  }

  .txt_link_serv_01_footer_1st {
    font-size: var(--_typography---text--text-size-0r7);
    line-height: var(--_typography---text--text-line-height-1-6x);
  }

  .area-5_grid_ft_1st {
    gap: 1rem;
    margin-top: -1.09rem;
  }

  .area-5_grid_ft_1st :is(.phone_ico_ft, .mail_ico_ft) {
    width: calc(var(--_sizes---spacing--2x) / 1.5);
    height: calc(var(--_sizes---spacing--2x) / 1.5);
  }

  .div_1_area-5_grid_ft_1st,
  .div_2_area-5_grid_ft_1st,
  .div_3_area-5_grid_ft_1st {
    gap: 1rem;
    padding-left: 1.5rem;
  }

  .area-5_grid_ft_1st .txt_phone_footer_1st,
  .area-5_grid_ft_1st .footer-phone-link {
    font-family: var(--_typography---font--body-font);
    font-size: var(--_typography---text--text-size-0r85);
    font-weight: 400;
    line-height: var(--_typography---base-typography--base-line-height);
  }

  .grid_footer_2nd {
    grid-template-columns: .5fr .75fr .5fr .25fr .75fr;
    margin-top: var(--_sizes---footer-sizes--footer-margin-0-5x);
    margin-bottom: var(--_sizes---spacing--0-5x);
  }

  .txt_link_grid_footer_2nd,
  .text-1_grid_footer_2nd {
    font-size: var(--_typography---text--text-size-0r65);
    line-height: var(--_typography---base-typography--base-line-height);
  }

  .grid-2_footer_2nd {
    grid-template-columns: 1fr .25fr;
    grid-template-areas: "Area Area";
    margin-top: var(--_sizes---footer-sizes--footer-margin-1x);
    margin-bottom: var(--_sizes---footer-sizes--footer-margin-0-75x);
    padding-top: 0;
  }

  .txt_att_grid_footer_2nd,
  .txt_copyright_footer_2nd-copy,
  .txt_area-3_grid-2_footer_2nd {
    font-size: var(--_typography---text--text-size-0r6);
    line-height: var(--_typography---base-typography--base-line-height-0-75x);
  }
}

/* The wide reference must come after the compact fallback above. */
@media screen and (min-width: 1440px) {
  .section.is-footer-1st { padding: 3rem 0 3.5rem; }
  .section.is-footer-2nd { padding: 0 0 2.25rem; }
  .cont-is-footer-1st,
  .cont-is-footer-2nd { max-width: none; padding-right: 5rem; padding-left: 5rem; }
  .grid_footer_1st { width: min(100%, 130.25rem); grid-template-columns: 23rem 44.125rem 17.3125rem 27.8125rem; column-gap: 6rem; row-gap: 2rem; }
  .area-1_grid_ft_1st,
  .area-2_grid_ft_1st_map_wrp,
  .area-3_grid_ft_1st,
  .area-4_grid_ft_1st { align-self: start; transform: none !important; }
  .area-1_grid_ft_1st { min-height: 5rem; }
  .logo_wrapper_footer_1st { flex-basis: 5rem; margin-left: 0; }
  .logo_img_footer_1st { width: 5rem; height: 5rem; }
  .compname_wrapper_footer_1st { margin-left: 1.25rem; }
  .txt_dmc_footer_1st { font-size: 1.15rem; line-height: 1.25; }
  .compname_h2_footer_1st { margin-top: .2rem; font-size: 2rem; line-height: 1.1; }
  .area-2_grid_ft_1st_map_wrp,
  .ya_map_code_emb_block,
  .ya_map_code_emb_block > div,
  .ya_map_code_emb_block iframe { height: 24rem !important; }
  .ya_map_code_emb_block { transform: none; border-radius: 2rem; }
  .area-3_grid_ft_1st,
  .area-4_grid_ft_1st { gap: .5rem; }
  .txt_area-3-grid-footer_1st,
  .area-4_grid_ft_1st > .div-1_area-4_grid_ft_1st-copy .txt_phone_footer_1st { font-size: 1.75rem; line-height: 1.2; }
  .txt_link_serv_01_footer_1st { font-size: 1.3rem; line-height: 1.45; }
  .area-5_grid_ft_1st { gap: 1.8rem; margin-top: 0; }
  .area-5_grid_ft_1st :is(.phone_ico_ft, .mail_ico_ft) { width: 2.75rem; height: 2.75rem; }
  .div_1_area-5_grid_ft_1st,
  .div_2_area-5_grid_ft_1st,
  .div_3_area-5_grid_ft_1st { gap: 1.25rem; padding-left: 0; align-items: center; }
  .area-5_grid_ft_1st .txt_phone_footer_1st,
  .area-5_grid_ft_1st .footer-phone-link { font-size: 1.55rem; line-height: 1.3; }
  .grid_footer_2nd { grid-template-columns: 1.1fr 1.5fr 1.3fr .8fr 1.4fr; margin: 0; }
  .grid_footer_2nd_wrapper { margin: 0; padding: 1.5rem 0; }
  .txt_link_grid_footer_2nd,
  .text-1_grid_footer_2nd { font-size: 1.1rem; line-height: 1.2; }
  .grid-2_footer_2nd { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; grid-template-areas: "notice notice notice" "copyright copyright maker"; gap: 1.5rem; padding-top: 1.75rem; }
  .txt_att_grid_footer_2nd,
  .txt_copyright_footer_2nd-copy,
  .txt_area-3_grid-2_footer_2nd { font-size: .95rem; line-height: 1.35; }
}

/* Canonical desktop footer rail. Kept last so older exported rules cannot
   widen the footer beyond the two guide lines set by the header. */
@media screen and (min-width: 768px) {
  .cont-is-footer-1st,
  .cont-is-footer-2nd {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: var(--_sizes---container--container-width-norm) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: var(--_sizes---container--container-padding-horizontal) !important;
    padding-left: var(--_sizes---container--container-padding-horizontal) !important;
  }

  .grid_footer_1st,
  .grid_footer_2nd,
  .grid-2_footer_2nd,
  .footer-2nd-line,
  .footer-2nd-line-bottom {
    width: 100% !important;
  }
}

@media screen and (min-width: 1440px) {
  .grid_footer_1st {
    grid-template-columns: 11.5rem 22.0625rem 8.65625rem minmax(13.90625rem, 1fr) !important;
  }
}

/* Final wide-desktop override: navigation is pinned to the rail's right edge;
   the map occupies all released central space. */
@media screen and (min-width: 75rem) {
  .grid_footer_1st {
    grid-template-columns: max-content minmax(0, 1fr) max-content max-content !important;
    column-gap: 3rem !important;
    row-gap: 1rem !important;
  }

  .area-5_grid_ft_1st .txt_phone_footer_1st,
  .area-3_grid_ft_1st .txt_link_serv_01_footer_1st,
  .area-4_grid_ft_1st .txt_link_serv_01_footer_1st {
    white-space: nowrap;
  }

  .area-3_grid_ft_1st {
    margin-left: 0 !important;
    height: 100% !important;
    gap: 0 !important;
    justify-content: space-between;
  }

  .area-2_grid_ft_1st_map_wrp {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0;
  }

  /* The earlier 1440px calibration used a fixed 12rem map with a more
     specific selector.  Override that rule at the same specificity so the
     map ends on the footer grid's shared lower line. */
  .section.is-footer-1st .area-2_grid_ft_1st_map_wrp,
  .section.is-footer-1st .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block,
  .section.is-footer-1st .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block > div,
  .section.is-footer-1st .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block iframe {
    height: 100% !important;
  }

  /* A line box has leading below the visible glyphs.  This small optical
     offset aligns the rendered bottom of the last service label, rather than
     merely its CSS box, with the map edge and the address pin. */
  .area-3_grid_ft_1st > .link_serv_01_footer_1st:last-child .txt_link_serv_01_footer_1st {
    transform: translateY(3px);
  }
}

/* Shared brand and contact type scale for both desktop ranges.  The cropped
   logo contains only the bear: its visual ears and paws align to the text's
   glyphs, not to the SVG's former wordmark canvas. */
@media screen and (min-width: 64rem) {
  .section.is-footer-1st .area-1_grid_ft_1st {
    align-items: flex-start;
    min-height: 40px;
    transform: none !important;
  }

  .section.is-footer-1st .logo_wrapper_footer_1st {
    flex: 0 0 40px;
    margin-left: 0 !important;
  }

  .section.is-footer-1st .logo_img_footer_1st {
    display: block;
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
  }

  .section.is-footer-1st .compname_wrapper_footer_1st {
    align-self: flex-start;
    margin-left: 10px !important;
  }

  .section.is-footer-1st .txt_dmc_footer_1st {
    font-size: 12px !important;
    line-height: 14px !important;
  }

  .section.is-footer-1st .compname_h2_footer_1st {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    margin-top: 2px !important;
    font-size: 18px !important;
    line-height: 22px !important;
  }

  .section.is-footer-1st .area-5_grid_ft_1st :is(.txt_phone_footer_1st, .footer-phone-link) {
    font-size: 12px !important;
    line-height: 16px !important;
  }

  /* The bear drawing starts about 8px inside its SVG canvas.  Keep the
     contact marks on that same visible left rail instead of offsetting the
     rows by the legacy 24px padding. */
  .section.is-footer-1st :is(.div_1_area-5_grid_ft_1st, .div_2_area-5_grid_ft_1st, .div_3_area-5_grid_ft_1st) {
    padding-left: 8px !important;
  }
}

/* Compact desktop follows the same lower visual line: only the list of
   services is distributed, leaving its heading on the top grid line. */
@media screen and (min-width: 64rem) and (max-width: 74.9375rem) {
  .grid_footer_1st {
    grid-template-columns: max-content minmax(0, 1fr) max-content max-content !important;
    column-gap: 1.5rem !important;
    row-gap: 1rem !important;
  }

  .area-3_grid_ft_1st {
    height: 100% !important;
    margin-left: 0 !important;
    gap: 0 !important;
    justify-content: space-between;
  }

  .txt_link_serv_01_footer_1st {
    font-size: .65rem !important;
    line-height: 1.45 !important;
    white-space: nowrap;
  }

  .area-4_grid_ft_1st .txt_link_serv_01_footer_1st,
  .area-5_grid_ft_1st .txt_phone_footer_1st {
    white-space: nowrap;
  }

  .area-2_grid_ft_1st_map_wrp {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0;
  }

  .section.is-footer-1st .area-2_grid_ft_1st_map_wrp,
  .section.is-footer-1st .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block,
  .section.is-footer-1st .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block > div,
  .section.is-footer-1st .area-2_grid_ft_1st_map_wrp .ya_map_code_emb_block iframe {
    height: 100% !important;
  }

  .area-3_grid_ft_1st > .link_serv_01_footer_1st:last-child .txt_link_serv_01_footer_1st {
    transform: translateY(3px);
  }
}
