@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("/local/templates/totalclass/assets/fonts/Onest-Regular.ttf") format("truetype"); }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("/local/templates/totalclass/assets/fonts/Onest-Medium.ttf") format("truetype"); }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("/local/templates/totalclass/assets/fonts/Onest-SemiBold.ttf") format("truetype"); }
.tc-footer, .tc-footer * { box-sizing: border-box; }
.tc-homepage .main { padding-bottom: 0; }
.tc-footer { background: #001325; color: #eaf4fb; font-family: "Onest", sans-serif; font-size: 18px; line-height: 1.2; font-weight: 400; }
.tc-footer a { color: inherit; text-decoration: none; transition: color .18s; }
.tc-footer a:hover { color: #009dff; }
.tc-footer a:focus-visible { outline: 2px solid #009dff; outline-offset: 4px; border-radius: 4px; }
.tc-footer__container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.tc-footer__main { display: grid; grid-template-columns: minmax(0, 274fr) minmax(0, 456fr) minmax(0, 239fr); column-gap: 115px; padding-top: 120px; padding-bottom: 145px; align-items: start; }
.tc-footer__brand { grid-column: 1; grid-row: 1; min-width: 0; }
.tc-footer__logo { display: inline-flex; max-width: 100%; }
.tc-footer__logo img { display: block; width: 147px; height: 89px; max-width: 100%; object-fit: contain; }
.tc-footer .tc-footer__description { margin: 16px 0 0; max-width: 274px; font: inherit; font-size: 16px; line-height: 1.2; font-weight: 400; color: #dbdbdb; opacity: 1; overflow-wrap: anywhere; }
.tc-footer__contacts { grid-column: 3; grid-row: 1; min-width: 0; width: 217px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-top: 4px; }
.tc-footer__contact { display: inline-flex; max-width: 100%; min-height: 30px; align-items: center; font-weight: 500; overflow-wrap: anywhere; text-align: right; }
.tc-footer__action { display: inline-flex; justify-content: center; align-items: center; min-height: 64px; padding: 16px 28px; max-width: 100%; border: 1px solid currentColor; border-radius: 100px; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.tc-footer__navigation { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: minmax(0, 164fr) minmax(0, 176fr); column-gap: clamp(24px, 8vw, 116px); min-width: 0; }
.tc-footer .tc-footer__links { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tc-footer__links li { margin: 0; padding: 0; min-width: 0; }
.tc-footer__links a { display: inline-flex; align-items: center; min-height: 30px; max-width: 100%; font-weight: 500; overflow-wrap: anywhere; }
.tc-footer__bottom { border-top: 1px solid #5c6d76; }
.tc-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 86px; padding-top: 28px; padding-bottom: 64px; font-size: 14px; line-height: 17px; }
.tc-footer__legal a { display: inline-flex; align-items: center; min-height: 33px; max-width: 100%; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.header .tc-site-logo { width: 147px; height: 89px; object-fit: contain; }
.tc-back-to-top { position: fixed; z-index: 850; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 0; border: 1px solid rgba(255, 255, 255, .65); border-radius: 50%; background: #009dff; color: #fff; box-shadow: 0 4px 18px rgba(0, 19, 37, .2); cursor: pointer; }
.tc-back-to-top[hidden] { display: none; }
.tc-back-to-top:hover { background: #0085cf; }
.tc-back-to-top:focus-visible { outline: 3px solid #007bbb; outline-offset: 4px; }
.tc-back-to-top svg { display: block; flex: none; }
@media (max-width: 1239px) and (min-width: 1000px) {
    .tc-footer__main { column-gap: 40px; }
    .tc-footer__navigation { column-gap: 24px; }
    .tc-footer__action { padding-inline: 20px; }
}
@media (max-width: 999px) {
    .tc-footer__container { padding-left: 16px; padding-right: 16px; }
    .tc-footer__main { grid-template-columns: minmax(0, 1fr); gap: 64px; padding-top: 64px; padding-bottom: 84px; }
    .tc-footer__brand, .tc-footer__contacts, .tc-footer__navigation { grid-column: 1; grid-row: auto; }
    .tc-footer__contacts { align-items: flex-start; padding-top: 0; }
    .tc-footer__navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; max-width: 560px; }
    .tc-footer__links a { min-height: 45px; }
    .tc-footer__contact { min-height: 45px; padding: 12px 22px; text-align: left; }
    .tc-footer__action { min-height: 52px; padding: 12px 20px; }
    .tc-footer__legal { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 16px; padding-bottom: 79px; }
    .tc-footer__legal a { min-height: 30px; padding: 8px; }
}
@media (max-width: 767px) {
    .tc-back-to-top { width: 48px; height: 48px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
    .tc-footer { font-size: 14px; }
    .tc-footer .tc-footer__description { font-size: 14px; }
    .tc-footer__links a { padding: 12px 0 12px 22px; }
    .tc-footer__legal { font-size: 12px; line-height: 14px; }
}
@media (max-width: 359px) {
    .tc-footer__links a { padding-left: 8px; padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html, body { scroll-behavior: auto; }
}
