.elementor-widget-maa_clinic_header,
.elementor-widget-maa_clinic_footer,
.elementor-widget-maa_clinic_header > .elementor-widget-container,
.elementor-widget-maa_clinic_footer > .elementor-widget-container {
  width: 100%;
}

.elementor-widget-maa_clinic_header,
.elementor-widget-maa_clinic_header > .elementor-widget-container {
  overflow: visible;
}

.maa-ec-header {
  --maa-ink: #2b161b;
  --maa-muted: #705f64;
  --maa-blue: #2f46a3;
  --maa-blue-dark: #233783;
  --maa-pink: #fa036b;
  --maa-pink-soft: #fff1f7;
  --maa-line: rgba(43, 22, 27, 0.12);
  --maa-container: 1210px;
  position: relative;
  z-index: 999;
  width: 100%;
  min-width: 0;
  overflow: visible;
  background: #fff;
  color: var(--maa-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.maa-ec-header,
.maa-ec-header * {
  box-sizing: border-box;
}

.maa-ec-header * {
  min-width: 0;
}

.maa-ec-header a {
  color: inherit;
  text-decoration: none;
}

.maa-ec-header button {
  color: inherit;
  font: inherit;
}

.maa-ec-header svg,
.maa-ec-footer svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.maa-ec-container {
  width: min(var(--maa-container), calc(100% - 56px));
  margin-inline: auto;
}

.maa-ec-header__utility {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--maa-blue);
  color: #fff;
}

.maa-ec-header__utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  gap: 28px;
}

.maa-ec-header__tagline {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
}

.maa-ec-header__phones {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  white-space: nowrap;
}

.maa-ec-header__appointment-label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.maa-ec-header__phones a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 750;
  transition: color 0.2s ease;
}

.maa-ec-header__phones a:hover {
  color: #ffd0e4;
}

.maa-ec-header__phones svg {
  width: 14px;
  height: 14px;
}

.maa-ec-header__phones > i {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.24);
}

.maa-ec-header__main {
  background: rgba(255, 255, 255, 0.98);
}

.maa-ec-header__main-inner {
  display: flex;
  align-items: center;
  min-height: 76px;
}

.maa-ec-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.maa-ec-header__logo {
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.maa-ec-header__logo-placeholder {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(47, 70, 163, 0.17);
  border-radius: 50%;
  color: var(--maa-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 0.9;
}

.maa-ec-header__logo-placeholder small {
  display: block;
  font-family: Inter, Arial, sans-serif;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.maa-ec-header__specialty {
  flex: 0 0 auto;
  color: var(--maa-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
  white-space: nowrap;
}

.maa-ec-header__specialty b {
  color: var(--maa-pink);
  font-weight: 900;
}

.maa-ec-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 18px;
  border: 1px solid var(--maa-pink);
  border-radius: 999px;
  background: var(--maa-pink);
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 9px 24px rgba(250, 3, 107, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.maa-ec-header__cta svg {
  width: 16px;
  height: 16px;
}

.maa-ec-header__cta svg:last-child {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.maa-ec-header__cta:hover {
  background: #df005e;
  box-shadow: 0 12px 27px rgba(250, 3, 107, 0.24);
  transform: translateY(-1px);
}

.maa-ec-header__cta:hover svg:last-child {
  transform: translateX(3px);
}

.maa-ec-header__mobile-toggle {
  display: none;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--maa-line);
  border-radius: 50%;
  background: #fff;
  color: var(--maa-blue);
  cursor: pointer;
}

.maa-ec-header__close-icon {
  display: none;
}

.maa-ec-header__mobile-toggle[aria-expanded="true"] .maa-ec-header__menu-icon {
  display: none;
}

.maa-ec-header__mobile-toggle[aria-expanded="true"] .maa-ec-header__close-icon {
  display: inline-flex;
}

.maa-ec-header__nav-shell {
  position: relative;
  border-top: 1px solid var(--maa-line);
  border-bottom: 1px solid var(--maa-line);
  background: #fff;
}

.maa-ec-header__nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 48px;
}

.maa-ec-header__nav-item {
  position: static;
  display: flex;
  align-items: stretch;
}

.maa-ec-header__nav-item > button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 21px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.maa-ec-header__nav-item > button::after {
  position: absolute;
  right: 20px;
  bottom: -1px;
  left: 20px;
  height: 2px;
  background: var(--maa-pink);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.maa-ec-header__nav-item > button svg {
  width: 14px;
  height: 14px;
  color: var(--maa-muted);
  transition: transform 0.2s ease;
}

.maa-ec-header__nav-item > button:hover,
.maa-ec-header__nav-item.is-open > button {
  color: var(--maa-pink);
}

.maa-ec-header__nav-item > button:hover::after,
.maa-ec-header__nav-item.is-open > button::after {
  transform: scaleX(1);
}

.maa-ec-header__nav-item.is-open > button svg {
  transform: rotate(180deg);
}

.maa-ec-header__mega {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--maa-line);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 26px 65px rgba(35, 55, 131, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-7px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.maa-ec-header__nav-item.is-open .maa-ec-header__mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.maa-ec-header__mega-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 0.72fr;
  gap: 28px;
  align-items: stretch;
}

.maa-ec-header__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 29px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--maa-blue);
  color: #fff !important;
}

.maa-ec-header__feature > span {
  position: relative;
  z-index: 1;
  color: #ffc6df;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.maa-ec-header__feature > strong {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin-top: 29px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.maa-ec-header__feature > p {
  position: relative;
  z-index: 1;
  max-width: 285px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.65;
}

.maa-ec-header__feature > b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 11px;
}

.maa-ec-header__feature > b svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.maa-ec-header__feature:hover > b svg {
  transform: translateX(4px);
}

.maa-ec-header__feature > i {
  position: absolute;
  right: -45px;
  bottom: -80px;
  width: 185px;
  height: 185px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.maa-ec-header__feature > i::after {
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.maa-ec-header__link-column {
  padding: 6px 0;
}

.maa-ec-header__link-column h3 {
  margin: 0 0 10px;
  color: var(--maa-pink);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.maa-ec-header__link-column > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 53px;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(43, 22, 27, 0.08);
  transition: color 0.2s ease, padding 0.2s ease;
}

.maa-ec-header__link-column > a:hover {
  padding-left: 9px;
  color: var(--maa-blue);
}

.maa-ec-header__link-column > a > span {
  display: grid;
  gap: 1px;
}

.maa-ec-header__link-column > a strong {
  font-size: 11px;
  font-weight: 690;
  line-height: 1.35;
}

.maa-ec-header__link-column > a small {
  color: var(--maa-muted);
  font-size: 9px;
}

.maa-ec-header__link-column > a svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--maa-pink);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.maa-ec-header__link-column > a:hover svg {
  opacity: 1;
  transform: translateX(0);
}

.maa-ec-header__menu-aside {
  align-self: stretch;
  padding: 23px;
  border: 1px solid rgba(47, 70, 163, 0.1);
  border-radius: 18px;
  background: #f6f7ff;
}

.maa-ec-header__menu-aside > span {
  color: var(--maa-pink);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.maa-ec-header__menu-aside > strong {
  display: block;
  margin-top: 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

.maa-ec-header__menu-aside > p {
  margin: 8px 0 18px;
  color: var(--maa-muted);
  font-size: 10px;
  line-height: 1.55;
}

.maa-ec-header__menu-aside > a {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 0 11px;
  border-radius: 9px;
  background: #fff;
  color: var(--maa-blue) !important;
  font-size: 10px;
  font-weight: 780;
  box-shadow: 0 4px 16px rgba(35, 55, 131, 0.06);
}

.maa-ec-header__menu-aside > a:hover {
  background: var(--maa-blue);
  color: #fff !important;
}

.maa-ec-header__mobile-panel {
  display: none;
}

.maa-ec-footer {
  --maa-footer-blue: #233783;
  --maa-footer-blue-deep: #192963;
  --maa-footer-pink: #fa036b;
  --maa-footer-cream: #fff8f3;
  --maa-footer-container: 1180px;
  box-sizing: border-box;
  min-width: 0;
  padding: 0 0 26px;
  overflow: hidden;
  background: var(--maa-footer-blue);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.maa-ec-footer,
.maa-ec-footer * {
  box-sizing: border-box;
}

.maa-ec-footer * {
  min-width: 0;
}

.maa-ec-footer a {
  color: inherit;
  text-decoration: none;
}

.maa-ec-footer p,
.maa-ec-footer h3 {
  margin: 0;
}

.maa-ec-footer__container {
  width: min(var(--maa-footer-container), calc(100% - 64px));
  margin: 0 auto;
}

.maa-ec-footer__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 54px 0 46px;
}

.maa-ec-footer__identity {
  display: flex;
  align-items: center;
  gap: 24px;
}

.maa-ec-footer__logo {
  display: block;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 50%;
  background: transparent;
  clip-path: circle(50%);
  object-fit: contain;
}

.maa-ec-footer__logo-placeholder {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maa-ec-footer__specialty {
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.maa-ec-footer__tagline {
  margin-top: 7px !important;
  max-width: 480px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.maa-ec-footer__callout {
  width: min(100%, 470px);
  padding: 23px 25px;
  border-radius: 18px;
  background: var(--maa-footer-pink);
  box-shadow: 0 18px 45px rgba(12, 20, 58, 0.24);
}

.maa-ec-footer__callout > span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.maa-ec-footer__callout > strong {
  display: block;
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.maa-ec-footer__callout-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 14px;
}

.maa-ec-footer__callout-numbers a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.maa-ec-footer__callout-numbers a:hover {
  opacity: 0.82;
}

.maa-ec-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.35fr;
  gap: 46px;
  padding: 48px 0 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.maa-ec-footer__column h3 {
  margin-bottom: 19px;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.maa-ec-footer__column > a,
.maa-ec-footer__about-links a {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.59);
  font-size: 11px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.maa-ec-footer__column > a:hover,
.maa-ec-footer__about-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.maa-ec-footer__visit > p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.75;
}

.maa-ec-footer__directions {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 17px !important;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800;
}

.maa-ec-footer__directions svg:last-child {
  margin-left: 2px;
}

.maa-ec-footer__about-links {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.maa-ec-footer__areas {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
}

.maa-ec-footer__areas strong {
  color: var(--maa-footer-cream);
  white-space: nowrap;
}

.maa-ec-footer__areas span {
  color: rgba(255, 255, 255, 0.45);
}

.maa-ec-footer__emergency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.maa-ec-footer__emergency-copy {
  display: flex;
  align-items: center;
  gap: 13px;
}

.maa-ec-footer__alert {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.maa-ec-footer__emergency p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  line-height: 1.55;
}

.maa-ec-footer__emergency p strong {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.maa-ec-footer__emergency > a {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 750;
}

.maa-ec-footer__emergency > a:hover {
  color: #fff;
}

.maa-ec-footer__bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 25px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 9px;
}

.maa-ec-footer__bottom nav {
  display: flex;
  gap: 16px;
}

.maa-ec-footer__bottom nav a {
  color: inherit;
}

.maa-ec-footer__bottom nav a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1080px) {
  .maa-ec-header__nav-item > button {
    padding-inline: 13px;
    font-size: 10px;
  }

  .maa-ec-header__nav-item > button::after {
    right: 12px;
    left: 12px;
  }

  .maa-ec-header__mega-grid {
    grid-template-columns: 1fr 1fr 1fr 0.76fr;
    gap: 18px;
  }

  .maa-ec-header__feature {
    padding: 24px;
  }

  .maa-ec-header__feature > strong {
    font-size: 23px;
  }
}

@media (max-width: 900px) {
  .maa-ec-footer__container {
    width: min(720px, calc(100% - 40px));
  }

  .maa-ec-footer__intro {
    align-items: stretch;
    flex-direction: column;
    gap: 30px;
  }

  .maa-ec-footer__callout {
    width: 100%;
  }

  .maa-ec-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 50px;
  }

  .maa-ec-footer__bottom {
    grid-template-columns: 1fr auto;
  }

  .maa-ec-footer__bottom > span:last-child {
    grid-column: 1 / 3;
  }
}

@media (max-width: 880px) {
  .maa-ec-container {
    width: min(720px, calc(100% - 38px));
  }

  .maa-ec-header__main-inner {
    min-height: 72px;
  }

  .maa-ec-header__cta,
  .maa-ec-header__nav-shell {
    display: none;
  }

  .maa-ec-header__mobile-toggle {
    display: grid;
  }

  .maa-ec-header__logo {
    width: 54px;
    height: 54px;
  }

  .maa-ec-header__mobile-panel {
    border-top: 1px solid var(--maa-line);
    border-bottom: 1px solid var(--maa-line);
    background: #fff;
    box-shadow: 0 24px 45px rgba(35, 55, 131, 0.12);
  }

  .maa-ec-header__mobile-panel:not([hidden]) {
    display: block;
  }

  .maa-ec-header__mobile-panel nav {
    padding-top: 8px;
    padding-bottom: 22px;
  }

  .maa-ec-header__mobile-group {
    border-bottom: 1px solid var(--maa-line);
  }

  .maa-ec-header__mobile-group > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 760;
    text-align: left;
    cursor: pointer;
  }

  .maa-ec-header__mobile-group > button svg {
    width: 17px;
    height: 17px;
    color: var(--maa-pink);
    transition: transform 0.2s ease;
  }

  .maa-ec-header__mobile-group.is-open > button svg {
    transform: rotate(180deg);
  }

  .maa-ec-header__mobile-links {
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    padding: 3px 0 15px;
  }

  .maa-ec-header__mobile-links:not([hidden]) {
    display: grid;
  }

  .maa-ec-header__mobile-links > a {
    padding: 9px 5px;
    color: var(--maa-muted);
    font-size: 10px;
  }

  .maa-ec-header__mobile-links > a:hover {
    color: var(--maa-blue);
  }

  .maa-ec-header__mobile-links .maa-ec-header__mobile-overview {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--maa-pink-soft);
    color: var(--maa-pink);
    font-weight: 780;
  }

  .maa-ec-header__mobile-overview svg {
    width: 15px;
    height: 15px;
  }

  .maa-ec-header__mobile-contact {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 15px;
    border-radius: 14px;
    background: var(--maa-blue);
    color: #fff;
  }

  .maa-ec-header__mobile-contact > span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .maa-ec-header__mobile-contact > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 0 9px;
    border-radius: 999px;
    background: #fff;
    color: var(--maa-blue);
    font-size: 10px;
    font-weight: 800;
  }
}

@media (max-width: 640px) {
  .maa-ec-container {
    width: calc(100% - 28px);
  }

  .maa-ec-header__utility-inner {
    display: grid;
    justify-content: stretch;
    gap: 7px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .maa-ec-header__tagline {
    text-align: center;
    font-size: 13px;
  }

  .maa-ec-header__phones {
    justify-content: center;
    gap: 8px;
  }

  .maa-ec-header__appointment-label,
  .maa-ec-header__directions,
  .maa-ec-header__phones > i:last-of-type {
    display: none;
  }

  .maa-ec-header__specialty {
    font-size: 7px;
    letter-spacing: 0.11em;
    line-height: 1.5;
  }

  .maa-ec-header__mobile-links:not([hidden]) {
    grid-template-columns: 1fr;
  }

  .maa-ec-header__mobile-contact {
    grid-template-columns: 1fr;
  }

  .maa-ec-header__mobile-contact > span {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .maa-ec-footer__container {
    width: calc(100% - 28px);
  }

  .maa-ec-footer__intro {
    padding: 42px 0 36px;
  }

  .maa-ec-footer__identity {
    align-items: flex-start;
    gap: 16px;
  }

  .maa-ec-footer__logo,
  .maa-ec-footer__logo-placeholder {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }

  .maa-ec-footer__specialty {
    font-size: 8px;
    line-height: 1.55;
  }

  .maa-ec-footer__tagline {
    font-size: 24px;
  }

  .maa-ec-footer__callout {
    padding: 20px;
    border-radius: 15px;
  }

  .maa-ec-footer__callout-numbers {
    flex-direction: column;
  }

  .maa-ec-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding: 40px 0 44px;
  }

  .maa-ec-footer__visit {
    grid-column: 1 / 3;
  }

  .maa-ec-footer__areas,
  .maa-ec-footer__emergency {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .maa-ec-footer__areas strong {
    white-space: normal;
  }

  .maa-ec-footer__emergency {
    gap: 15px;
  }

  .maa-ec-footer__emergency > a {
    margin-left: 45px;
  }

  .maa-ec-footer__bottom {
    grid-template-columns: 1fr;
  }

  .maa-ec-footer__bottom > span:last-child {
    grid-column: 1;
  }

  .maa-ec-footer__bottom nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  .maa-ec-header__specialty {
    font-size: 6px;
    letter-spacing: 0.08em;
  }

  .maa-ec-header__logo-placeholder {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .maa-ec-header__phones {
    font-size: 10px;
  }

  .maa-ec-footer__grid {
    grid-template-columns: 1fr;
  }

  .maa-ec-footer__visit {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maa-ec-header *,
  .maa-ec-header *::before,
  .maa-ec-header *::after,
  .maa-ec-footer *,
  .maa-ec-footer *::before,
  .maa-ec-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
