/* Repa Footer — navigation + brand (contact details live on /contacts) */
.repa-footer {
    --rf-bg: #0a0b0d;
    --rf-surface: #121418;
    --rf-line: rgba(255, 255, 255, 0.1);
    --rf-muted: rgba(255, 255, 255, 0.5);
    --rf-text: #f3f1ec;
    --rf-accent: #b21f27;
    --rf-display: "Syne", Oswald, sans-serif;
    --rf-body: "Barlow", WorkSans, sans-serif;
    position: relative;
    background: var(--rf-bg);
    color: var(--rf-text);
    font-family: var(--rf-body);
    margin-top: 0;
    border-top: 1px solid var(--rf-line);
}

.repa-footer a {
    color: inherit !important;
    text-decoration: none !important;
}

.repa-footer a:hover,
.repa-footer a:focus,
.repa-footer a:visited,
.repa-footer a:active {
    color: #fff !important;
    text-decoration: none !important;
}

.repa-footer__inner {
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.repa-footer__main {
    position: relative;
    padding: 3rem 0 2.75rem;
    background:
        radial-gradient(ellipse 50% 55% at 100% 0%, rgba(178, 31, 39, 0.14), transparent 55%),
        linear-gradient(180deg, #101217 0%, var(--rf-bg) 100%);
    overflow: hidden;
}

.repa-footer__main::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 25%, transparent);
}

.repa-footer__main-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: clamp(1.75rem, 3.5vw, 3rem);
    align-items: start;
}

.repa-footer__logo img {
    height: 48px;
    width: auto;
    display: block;
}

.repa-footer__tag {
    margin: 1rem 0 0;
    max-width: 22rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--rf-muted);
}

.repa-footer__social {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.35rem;
}

.repa-footer__social-label {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rf-accent);
    font-weight: 600;
}

.repa-footer__social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.repa-footer__social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rf-line);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.repa-footer__social-link img {
    width: 1rem;
    height: 1rem;
    display: block;
    opacity: 0.92;
}

.repa-footer__social-link.is-muted {
    opacity: 0.45;
    cursor: default;
}

a.repa-footer__social-link:hover,
a.repa-footer__social-link:focus-visible {
    border-color: rgba(178, 31, 39, 0.7);
    background: rgba(178, 31, 39, 0.18);
    transform: translateY(-2px);
    outline: none;
    opacity: 1;
}

.repa-footer__menus {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
}

.repa-footer__col-title {
    margin: 0 0 0.95rem;
    font-family: var(--rf-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rf-accent);
}

.repa-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.repa-footer__list a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72) !important;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.repa-footer__list a:hover,
.repa-footer__list a:focus-visible {
    color: #fff !important;
    transform: translateX(3px);
}

.repa-footer__aside-text {
    margin: 0 0 1.1rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--rf-muted);
}

.repa-footer__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.2rem;
    background: var(--rf-accent);
    color: #fff !important;
    font-family: var(--rf-display);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 0.25s ease, transform 0.25s ease;
}

.repa-footer__cta:hover,
.repa-footer__cta:focus-visible {
    background: #96191f;
    color: #fff !important;
    transform: translateY(-2px);
}

.repa-footer__bar {
    padding: 1rem 0;
    background: #070809;
    border-top: 1px solid var(--rf-line);
}

.repa-footer__bar-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.85rem;
    color: var(--rf-muted);
}

.repa-footer__credit {
    opacity: 0.85;
}

.repa-footer__credit a {
    color: rgba(255, 255, 255, 0.78) !important;
    border-bottom: 1px solid rgba(178, 31, 39, 0.55);
    padding-bottom: 1px;
}

.repa-footer__credit a:hover,
.repa-footer__credit a:focus-visible {
    color: #fff !important;
    border-bottom-color: var(--rf-accent);
}

.repa-footer__bar a:hover {
    color: var(--rf-accent) !important;
}

@media (max-width: 991px) {
    .repa-footer__main-grid {
        grid-template-columns: 1fr;
    }

    .repa-footer__menus {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .repa-footer__menus {
        grid-template-columns: 1fr;
    }
}

html[dir="rtl"] .repa-footer__list a:hover,
html[dir="rtl"] .repa-footer__list a:focus-visible {
    transform: translateX(-3px);
}
