/* Footer-only, RTL-first layout. No global selectors are used here. */
.hands-site-footer {
    --hf-bg: #0f172a;
    --hf-panel: rgba(255, 255, 255, .045);
    --hf-border: rgba(255, 255, 255, .10);
    --hf-text: #cbd5e1;
    --hf-muted: #94a3b8;
    --hf-accent: #38bdf8;
    background: radial-gradient(circle at 80% 0, rgba(56, 189, 248, .11), transparent 25%), linear-gradient(180deg, #101b32 0, var(--hf-bg) 45%);
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: #fff;
    padding: 4.5rem 0 1.2rem;
}

.hands-site-footer * { box-sizing: border-box; }
.hands-footer__container { margin: 0 auto; max-width: 1420px; padding: 0 1.5rem; }

.hands-footer__layout {
    align-items: start;
    column-gap: 1.8rem;
    direction: rtl;
    display: grid;
    grid-template-columns: minmax(380px, 1fr) 235px 290px;
    row-gap: 1.6rem;
}

.hands-footer__brand { grid-column: 1; grid-row: 1; min-width: 0; }
.hands-footer__blog { border-top: 1px solid var(--hf-border); grid-column: 1 / -1; grid-row: 2; margin-top: 1.25rem; min-width: 0; padding-top: 3rem; }
.hands-footer__developer { grid-column: 2; grid-row: 1; min-width: 0; }
.hands-footer__contact { grid-column: 3; grid-row: 1; min-width: 0; }

.hands-footer__logo { align-items: center; display: inline-flex; justify-content: center; margin-bottom: 1.35rem; }
.hands-footer__logo img { display: block; filter: brightness(0) invert(1); height: 4.25rem; max-width: 210px; opacity: .96; width: auto; }
.hands-footer__brand > p { color: var(--hf-text); font-size: 1.02rem; line-height: 1.9; margin: 0; max-width: 34rem; }
.hands-footer__socials { display: flex; gap: .75rem; margin-top: 1.55rem; }
.hands-footer__socials a { align-items: center; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); border-radius: .9rem; color: #fff; display: inline-flex; height: 3.25rem; justify-content: center; text-decoration: none; transition: background-color .16s ease, color .16s ease, transform .16s ease; width: 3.25rem; }
.hands-footer__socials a:hover, .hands-footer__socials a:focus-visible { background: var(--hf-accent); color: #0f172a; transform: translateY(-2px); }

.hands-footer__blog-heading { align-items: baseline; display: flex; flex-wrap: wrap; gap: .5rem .85rem; justify-content: center; margin: 0 0 1.8rem; text-align: center; }
.hands-footer__blog-heading > span { color: var(--hf-accent); font-size: .88rem; font-weight: 800; }
.hands-footer__blog h2, .hands-footer__developer h2, .hands-footer__contact h2 { color: #fff; font-size: 1.5rem; font-weight: 900; line-height: 1.35; margin: 0; }
.hands-footer__blog h2 { font-size: clamp(2.25rem, 3.2vw, 3.15rem); }
.hands-footer__blog-heading > p { color: var(--hf-muted); flex: 0 0 100%; font-size: .78rem; line-height: 1.55; margin: .1rem 0 0; }

.hands-footer__category-track {
    align-items: stretch;
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.hands-footer__category-card { align-items: center; background: var(--hf-panel); border: 1px solid var(--hf-border); border-radius: .85rem; display: flex; flex-wrap: wrap; min-height: 6.5rem; min-width: 0; padding: .75rem .75rem; position: relative; transition: background-color .16s ease, border-color .16s ease; }
.hands-footer__category-card:focus-within, .hands-footer__category-card:hover { background: rgba(255, 255, 255, .065); border-color: rgba(56, 189, 248, .34); }
.hands-footer__category-title { color: #fff; flex: 1; font-size: .9rem; font-weight: 800; line-height: 1.5; padding-inline: .15rem; text-align: center; text-decoration: none; }
.hands-footer__category-title:hover, .hands-footer__category-title:focus-visible { color: var(--hf-accent); }
.hands-footer__category-group { flex: 0 0 1.5rem; margin: 0; }
.hands-footer__category-group summary { cursor: pointer; height: 1.5rem; list-style: none; position: relative; width: 1.5rem; }
.hands-footer__category-group summary::-webkit-details-marker { display: none; }
.hands-footer__category-group summary::after { color: var(--hf-text); content: '+'; font-size: 1.15rem; font-weight: 700; inset: .08rem 0 0; line-height: 1; position: absolute; text-align: center; }
.hands-footer__category-group[open] summary::after { content: '−'; }
.hands-footer__category-group[open] { border-top: 1px solid rgba(255,255,255,.08); flex-basis: 100%; margin-top: .55rem; padding-top: .55rem; width: 100%; }
.hands-footer__category-group[open] summary { inset-inline-start: 0; position: absolute; top: 1rem; }
.hands-footer__category-group[open] ul { margin-top: 0; }
.hands-footer__sr-only { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.hands-footer__category-group ul, .hands-footer__developer ul, .hands-footer__contact ul { list-style: none; margin: 0; padding: 0; }
.hands-footer__category-group ul { margin-top: .65rem; }
.hands-footer__category-group li + li { margin-top: .42rem; }
.hands-footer__category-group a, .hands-footer__developer a, .hands-footer__contact a { color: var(--hf-text); text-decoration: none; transition: color .16s ease; }
.hands-footer__category-group a { display: block; font-size: .78rem; line-height: 1.5; }
.hands-footer__category-group a:hover, .hands-footer__category-group a:focus-visible, .hands-footer__developer a:hover, .hands-footer__developer a:focus-visible, .hands-footer__contact a:hover, .hands-footer__contact a:focus-visible { color: var(--hf-accent); }
.hands-footer__category-group summary:focus-visible, .hands-site-footer a:focus-visible { outline: 2px solid var(--hf-accent); outline-offset: 3px; }

.hands-footer__developer h2, .hands-footer__contact h2 { font-size: 1.5rem; margin-bottom: 1.15rem; white-space: nowrap; }
.hands-footer__developer li + li { margin-top: .82rem; }
.hands-footer__developer a { font-size: .92rem; line-height: 1.55; }
.hands-footer__contact { font-style: normal; }
.hands-footer__contact li { align-items: flex-start; color: var(--hf-text); display: flex; font-size: .9rem; gap: .55rem; line-height: 1.65; }
.hands-footer__contact li + li { margin-top: .62rem; }
.hands-footer__contact .material-symbols-outlined { color: var(--hf-accent); flex: 0 0 auto; font-size: 1.2rem; margin-top: .14rem; }
.hands-footer__contact a { overflow-wrap: anywhere; }

.hands-footer__bottom { align-items: center; border-top: 1px solid var(--hf-border); color: var(--hf-muted); display: grid; font-size: .74rem; gap: .8rem 1.25rem; grid-template-columns: 1fr auto 1fr; margin-top: 2.4rem; padding-top: 1.1rem; }
.hands-footer__bottom > p { margin: 0; }
.hands-footer__bottom > p:first-child { text-align: right; }
.hands-footer__bottom nav { display: flex; flex-wrap: wrap; gap: .55rem 1rem; justify-content: center; }
.hands-footer__bottom a { color: inherit; text-decoration: none; }
.hands-footer__bottom a:hover, .hands-footer__bottom a:focus-visible { color: #fff; }
.hands-footer__credit { text-align: left; }
.hands-footer__credit a { color: #40c7ff; font-weight: 800; }

@media (max-width: 1200px) {
    .hands-footer__layout { column-gap: 1.4rem; grid-template-columns: minmax(330px, 1fr) 210px 250px; }
    .hands-footer__blog { padding-top: 2.5rem; }
    .hands-footer__category-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hands-footer__category-card { min-height: 5.8rem; }
}

@media (max-width: 980px) {
    .hands-site-footer { padding-top: 3.25rem; }
    .hands-footer__layout { column-gap: 1.2rem; grid-template-columns: 1fr 1fr; row-gap: 1.4rem; }
    .hands-footer__brand, .hands-footer__blog { grid-column: 1 / -1; }
    .hands-footer__brand { grid-row: 1; }
    .hands-footer__developer { grid-column: 1; grid-row: 2; }
    .hands-footer__contact { grid-column: 2; grid-row: 2; }
    .hands-footer__blog { grid-row: 3; margin-top: .5rem; padding-top: 2.25rem; }
    .hands-footer__brand > p { max-width: 38rem; }
}

@media (max-width: 700px) {
    .hands-site-footer { padding: 2.7rem 0 1rem; }
    .hands-footer__container { padding: 0 1rem; }
    .hands-footer__layout { display: block; }
    .hands-footer__brand, .hands-footer__blog, .hands-footer__developer, .hands-footer__contact { margin: 0 0 2rem; }
    .hands-footer__logo { margin-bottom: 1rem; }
    .hands-footer__logo img { height: 3.4rem; }
    .hands-footer__brand > p { font-size: .92rem; }
    .hands-footer__socials a { height: 2.8rem; width: 2.8rem; }
    .hands-footer__blog { padding-top: 2rem; }
    .hands-footer__blog-heading { gap: .35rem .55rem; margin-bottom: 1.2rem; }
    .hands-footer__blog-heading > span { font-size: .76rem; }
    .hands-footer__blog h2 { font-size: 2rem; }
    .hands-footer__blog-heading > p { font-size: .72rem; }
    .hands-footer__category-track { gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hands-footer__category-card { min-height: 5.5rem; padding: .6rem .5rem; }
    .hands-footer__category-title { font-size: .78rem; }
    .hands-footer__category-group a { font-size: .74rem; }
    .hands-footer__developer h2, .hands-footer__contact h2 { font-size: 1.25rem; }
    .hands-footer__developer a, .hands-footer__contact li { font-size: .86rem; }
    .hands-footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .hands-footer__bottom > p:first-child, .hands-footer__credit { text-align: center; }
}
