/* Footer styles are scoped to preserve the rest of the website. */
.site-footer.footer {
    --footer-text: #bcc9dd;
    --footer-muted: #95a8c4;
    --footer-accent: #a5d1ff;
    --footer-line: #ffffff12;
    width: 100%;
    padding: 0;
    border-top: 3px solid #3b74cf;
    background: radial-gradient(ellipse at top right, #172d4d 0, transparent 55%), #101c30;
    color: var(--footer-text);
    font: 13px/1.85 Arial, Helvetica, sans-serif;
}
.site-footer *, .site-footer *::before, .site-footer *::after { box-sizing: border-box; }
.site-footer * { color: inherit; }
.site-footer a { text-decoration: none; text-underline-offset: 4px; transition: color .15s, background-color .15s, border-color .15s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :is(a, button):focus-visible { outline: 3px solid #8abbff; outline-offset: 4px; border-radius: 4px; }
.site-footer .footer-main { max-width: 1360px; padding: 46px 32px 32px; margin: 0 auto; }
.site-footer .footer-main > .flex-wrap { display: grid; grid-template-columns: 1fr 1.25fr .8fr 1.45fr; gap: 32px; align-items: start; }
.site-footer .md-col-4 { min-width: 0; padding: 0; }
.site-footer .md-col-4 div { margin: 0; }
.site-footer .footer-main h3 { margin: 0 0 18px; color: #f3f7ff; font-size: 11px; line-height: 1.5; letter-spacing: 1.5px; font-weight: 700; }
.site-footer .footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer .footer-links li { margin: 0; }
.site-footer .footer-links a { display: inline-block; margin: 0 !important; color: var(--footer-text) !important; }
.site-footer .footer-links a:hover { color: #fff !important; }
.site-footer .footer-tag-popular { display: flex; flex-wrap: wrap; gap: 7px; }
.site-footer .footer-tag-popular h3 { flex-basis: 100%; margin-bottom: 11px; }
.site-footer .footer-tag-popular > a { display: inline-block; margin: 0; padding: 4px 9px; border: 1px solid #ffffff16; border-radius: 5px; background: #ffffff04; color: #b6c9e5; font-size: 11px; line-height: 1.6; }
.site-footer .footer-tag-popular > a:hover { border-color: #7398c7; background: #234166; color: #fff; text-decoration: none; }
.site-footer .footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.site-footer .footer-social a { display: inline-flex; align-items: center; min-height: 33px; padding: 5px 11px; border: 1px solid #ffffff18; border-radius: 6px; color: var(--footer-accent); font-size: 12px; line-height: 1.5; text-decoration: none; }
.site-footer .footer-social a:hover { border-color: #7ba4da; background: #ffffff09; color: #fff; }
.site-footer .md-col-4 .footer-service-panel { padding: 20px; border: 1px solid #84b5ff26; border-radius: 12px; background: #87b5ff08; }
.site-footer .footer-service-panel h3 { color: #b6d7ff; margin-bottom: 12px; }
.site-footer .footer-p-freelancer { color: var(--footer-text); font-size: 12px; line-height: 1.9; }
.site-footer .footer-link-freelancer { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 34px; margin: 14px 0 0; padding: 7px 12px; border: 1px solid #ffe4a1; border-radius: 8px; background: #ffd166; color: #142039; font-size: 12px; line-height: 1.6; font-weight: 700; text-align: center; box-shadow: 0 5px 16px #0003; text-decoration: none !important; }
.site-footer .footer-link-freelancer:hover { border-color: #fff0cc; background: #ffe19a; color: #101c30; }
.site-footer .footer-partners-column { align-self: stretch; }
.site-footer .md-col-4 .footer-partners { display: flex; flex-direction: column; height: 100%; }
.site-footer .footer-partners .footer-partners-code { margin-top: auto; padding-top: 24px; }
.site-footer .b-tuicocach-code { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px; max-width: 100%; padding: 7px 15px; border: 1px dashed #ffffff24; border-radius: 7px; background: #09142570; color: var(--footer-muted); font-size: 11px; }
.site-footer .tuicocach-code { color: #f1f1f1; font-weight: 700; overflow-wrap: anywhere; }
.site-footer .footer-main-line { width: 100%; height: 1px; margin: 30px 0 !important; background: var(--footer-line); }
.site-footer .footer-main > .footer-secondary { grid-template-columns: 1fr 1.25fr .9fr 1.35fr; gap: 32px; }
.site-footer .footer-main-logo { padding-top: 3px; }
.site-footer .footer-main-logo img { display: block; width: 190px !important; max-width: 100%; height: auto; }
.site-footer .footer-secondary p { font-size: 12px; line-height: 1.9; }
.site-footer .footer-blog-about-link { color: #dbeaff; font-weight: 700; }
.site-footer .footer-contact { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 12px; align-items: baseline; font-size: 12px; }
.site-footer .footer-contact h3 { grid-column: 1 / -1; margin-bottom: 10px; }
.site-footer .footer-contact label { color: var(--footer-muted); }
.site-footer .footer-contact > div:empty { display: none; }
.site-footer .footer-contact a { min-width: 0; color: #d7e7fc; overflow-wrap: anywhere; text-decoration: none; }
.site-footer .footer-contact a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-footer { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px 32px; align-items: center; max-width: 1296px; margin: 0 auto !important; padding: 20px 0 24px !important; border-top: 1px solid var(--footer-line); background: transparent; color: var(--footer-muted); font-size: 11px !important; }
.site-footer .footer-footer > div { min-width: 0; margin: 0 !important; padding: 0 !important; border: 0; text-align: left !important; }
.site-footer .footer-copyright p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; line-height: 1.9; }
.site-footer .footer-copyright a { display: inline-block; padding: 0; }
.site-footer .footer-copyright a:first-child { margin-right: 5px; color: #b1d5ff; font-weight: 600; text-decoration: none; }
.site-footer .footer-copyright img { width: 70px; height: auto; margin-left: 5px; vertical-align: middle; }
.site-footer .footer-footer ul { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.site-footer .footer-footer li { display: block; margin: 0; padding: 0; }
.site-footer .footer-footer li a { display: inline-block; padding: 0; color: var(--footer-text); }
.site-footer .footer-footer li a:hover { color: #fff; }
.site-footer #backToTop { position: fixed; right: 22px; bottom: 22px; z-index: 100; display: none; width: 40px; height: 40px; margin: 0; padding: 10px; border: 1px solid #6e9ade; border-radius: 10px; background: #244e88; color: #fff; transform: none; cursor: pointer; opacity: 1; box-shadow: 0 5px 18px #04102030; }
.site-footer #backToTop:hover { background: #3062a6; }
.site-footer #backToTop svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1360px) {
    .site-footer .footer-footer { margin: 0 32px !important; }
}
@media (max-width: 1023px) {
    .site-footer .footer-main > .flex-wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
    .site-footer .footer-footer { grid-template-columns: 1fr; gap: 14px; }
    .site-footer .footer-footer ul { justify-content: start; }
}
@media (max-width: 600px) {
    .site-footer .footer-main { padding: 32px 22px 24px; }
    .site-footer .footer-main > .flex-wrap { gap: 28px 20px; }
    .site-footer .footer-primary > .md-col-4:nth-child(2), .site-footer .footer-primary > .md-col-4:last-child { grid-column: 1 / -1; }
    .site-footer .footer-primary > .md-col-4:nth-child(2) { grid-row: 2; }
    .site-footer .footer-main > .footer-secondary { grid-template-columns: 1fr; gap: 26px; }
    .site-footer .footer-main-logo img { width: 180px !important; }
    .site-footer .footer-contact { grid-template-columns: max-content minmax(0, 1fr); width: fit-content; max-width: 100%; }
    .site-footer .footer-footer { margin: 0 22px !important; padding-bottom: 28px !important; }
    .site-footer .footer-footer ul { gap: 9px 16px; }
    .site-footer #backToTop { right: 14px; bottom: 14px; }
}
@media (max-width: 360px) {
    .site-footer .footer-main > .footer-primary { grid-template-columns: 1fr; }
    .site-footer .footer-primary > .md-col-4:nth-child(2) { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .site-footer a { transition: none; }
}

.site-footer .footer-code-label { color: #ffd166; }
.site-footer .code-countdown { font-weight: 400; }
