/* Public site footer: identity and contacts (left), compact visitor summary (right). */
.rb-footer {
    --rb-navy: #0b3d7a;
    --rb-navy-dark: #072a55;
    --rb-orange: #f28c1b;
    --rb-text: #d6e4f5;
    --rb-dim: #9fb6d3;
    font-family: "Poppins", "Roboto", Arial, sans-serif;
    background: var(--rb-navy);
    color: var(--rb-text);
    border-top: 4px solid var(--rb-orange);
}
.rb-footer *, .rb-footer *::before, .rb-footer *::after { box-sizing: border-box; }
.rb-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.rb-footer ul { list-style: none; margin: 0; padding: 0; }
.rb-footer-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.rb-footer-main { padding: 34px 0 30px; }
.rb-footer-main .rb-footer-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }

/* Identity */
.rb-footer-logo { display: inline-block; margin-bottom: 14px; opacity: .95; transition: opacity .2s; }
.rb-footer-logo:hover { opacity: 1; }
.rb-footer-logo img { height: 40px; width: auto; display: block; }
.rb-footer-title { font-family: inherit; font-size: 19px; font-weight: 700; line-height: 1.35; color: #fff; margin: 0 0 14px; letter-spacing: .2px; }
.rb-footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.6; margin-bottom: 9px; }
.rb-footer-contact i { flex: none; width: 16px; margin-top: 4px; text-align: center; color: var(--rb-orange); font-size: 13px; }
.rb-footer-contact a:hover, .rb-footer-contact a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; outline: none; }

/* Visitor summary */
.rb-footer-stats-title {
    display: flex; align-items: center; gap: 8px; font-family: inherit; font-size: 14px; font-weight: 600; color: #fff;
    margin: 4px 0 12px; text-transform: uppercase; letter-spacing: .8px;
}
.rb-footer-stats-title i { color: var(--rb-orange); }
.rb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rb-stat {
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon value" "icon label"; column-gap: 10px; align-items: center;
    padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .10);
    transition: background .2s, border-color .2s, transform .2s;
}
.rb-stat i {
    grid-area: icon; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .10); color: #fff; font-size: 13px; transition: background .2s;
}
.rb-stat-value { grid-area: value; font-size: 17px; font-weight: 700; color: #fff; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rb-stat-label { grid-area: label; font-size: 11.5px; color: var(--rb-dim); line-height: 1.3; }
.rb-stat:hover { background: rgba(255, 255, 255, .13); border-color: rgba(242, 140, 27, .55); transform: translateY(-2px); }
.rb-stat:hover i { background: var(--rb-orange); }
.rb-stat.is-total { background: rgba(242, 140, 27, .16); border-color: rgba(242, 140, 27, .45); }
.rb-stat.is-total i { background: var(--rb-orange); }
.rb-stat.is-total:hover { background: rgba(242, 140, 27, .26); }
.rb-stats-empty { font-size: 13px; color: var(--rb-dim); }

/* Bottom bar */
.rb-footer-bottom { background: var(--rb-navy-dark); font-size: 12.5px; color: var(--rb-dim); }
.rb-footer-bottom .rb-footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 46px; flex-wrap: wrap; }
.rb-footer-links a:hover, .rb-footer-links a:focus-visible { color: var(--rb-orange); outline: none; }

@media (max-width: 991px) {
    .rb-footer-main .rb-footer-wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
@media (max-width: 575px) {
    .rb-footer-wrap { padding: 0 14px; }
    .rb-footer-main { padding: 26px 0 22px; }
    .rb-footer-title { font-size: 17px; }
    .rb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .rb-stat { padding: 9px 10px; }
    .rb-footer-bottom .rb-footer-wrap { justify-content: center; text-align: center; padding-top: 10px; padding-bottom: 10px; }
}

/* Inner page layouts end their content with 140px of padding before the footer; keep it compact. */
section.bg0.p-b-140 { padding-bottom: 40px; }
