/*
 * Site footer of the new design on the pages that keep the previous one.
 * Same rules as the footer in assets/home/css/styles.css, scoped to .site-footer and with the
 * previous footer rules of indigo/dist/styles.css (.footer, .footer__logo) reset.
 */

.site-footer {
  --purple-light: #cdb8f5;
  --dark: #1e1e1e;
  --white: #fff;
  --radius: 20px;
  --gap-panel: 20px;
  --font: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

  margin: var(--gap-panel) 0 10px;
  padding: 64px 0 0;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after { box-sizing: border-box; }
.site-footer img { display: block; max-width: 100%; height: auto; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer p { margin: 0; }

.site-footer .container { width: min(1240px, 100% - 64px); margin-inline: auto; }

.site-footer .footer__grid { display: grid; grid-template-columns: 284px repeat(4, minmax(0, 203px)); justify-content: space-between; column-gap: 36px; }
.site-footer .footer__logo { display: inline-block; width: auto; margin: 0; }
.site-footer .footer__logo img { width: 229px; height: 33px; }
.site-footer .footer__about { margin-top: 22px; max-width: 250px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.site-footer .footer__phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 20px; font-weight: 700; white-space: nowrap; }
.site-footer .footer__phone:hover { color: var(--purple-light); }
.site-footer .footer__hours { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.site-footer .footer__title { font-size: 15px; font-weight: 700; line-height: 18px; }
.site-footer .footer__col ul { margin-top: 12px; }
.site-footer .footer__col a { display: inline-block; padding: 5px 0; font-size: 15px; line-height: 20px; color: rgba(255, 255, 255, .78); transition: color .2s; }
.site-footer .footer__col a:hover,
.site-footer .footer__legal a:hover { color: var(--white); }
.site-footer .footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 50px; padding: 22px 0 33px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px; color: rgba(255, 255, 255, .7);
}
.site-footer .footer__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }

@media (max-width: 1180px) {
  .site-footer .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .site-footer .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-footer { --gap-panel: 14px; padding-top: 32px; }
  .site-footer .container { width: calc(100% - 36px); }
  .site-footer .footer__logo img { width: 186px; height: auto; }
  .site-footer .footer__about { max-width: none; margin-top: 14px; }
  .site-footer .footer__phone { margin-top: 18px; }
  .site-footer .footer__grid { column-gap: 14px; row-gap: 26px; }
  .site-footer .footer__col ul { margin-top: 10px; }
  .site-footer .footer__bottom { display: block; margin-top: 30px; padding: 20px 0 30px; }
  .site-footer .footer__legal { margin-top: 8px; gap: 4px 8px; }
  .site-footer .footer__legal a { text-decoration: underline; text-underline-offset: 2px; }
}
