.hl-footer {
    --hlf-bg: rgba(255, 255, 255, 0.015);
    --hlf-line: rgba(255, 255, 255, 0.08);
    --hlf-text: #e5e7eb;
    --hlf-muted: #8b95a5;
    --hlf-faint: #5b6575;
    --hlf-card: rgba(255, 255, 255, 0.035);
    --hlf-card-hover: rgba(255, 255, 255, 0.07);
    --hlf-accent: #3b82f6;
    --hlf-accent-2: #14b8a6;

    position: relative;
    z-index: 1;
    margin-top: 4rem;
    padding: 4.5rem 0 2rem;
    overflow: hidden;
    color: var(--hlf-text);
    background: linear-gradient(180deg, transparent 0%, var(--hlf-bg) 100%);
    font-family: 'Raleway', system-ui, sans-serif;
}

.hl-footer--light {
    --hlf-bg: rgba(15, 23, 42, 0.03);
    --hlf-line: rgba(15, 23, 42, 0.09);
    --hlf-text: #0f172a;
    --hlf-muted: #5b6475;
    --hlf-faint: #8a93a3;
    --hlf-card: #ffffff;
    --hlf-card-hover: #f8fafc;
    --hlf-accent: #2563eb;
    --hlf-accent-2: #0d9488;
}

.hl-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(72rem, 100%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--hlf-accent) 30%, var(--hlf-accent-2) 70%, transparent);
    opacity: 0.55;
}

.hl-footer__glow {
    position: absolute;
    top: -12rem;
    left: 50%;
    width: 48rem;
    height: 20rem;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.12), transparent 70%);
    pointer-events: none;
}

.hl-footer--light .hl-footer__glow {
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.07), transparent 70%);
}

.hl-footer > .container {
    position: relative;
}

.hl-footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
}

.hl-footer__brand {
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .hl-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .hl-footer__grid {
        grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
        gap: 3rem;
    }
    .hl-footer__brand {
        grid-column: auto;
        padding-right: 2rem;
    }
}

.hl-footer__logo {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.hl-footer__logo:hover {
    opacity: 0.8;
}

.hl-footer__logo img {
    display: block;
    width: 170px;
    height: auto;
}

.hl-footer__tagline {
    margin-top: 1rem;
    max-width: 22rem;
    color: var(--hlf-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.hl-footer__contacts {
    display: grid;
    grid-template-columns: max-content;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .hl-footer__contacts {
        grid-template-columns: repeat(2, max-content);
    }
}

.hl-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.1rem 0.7rem 0.75rem;
    border: 1px solid var(--hlf-line);
    border-radius: 0.9rem;
    background: var(--hlf-card);
    color: var(--hlf-text);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.hl-footer__contact:hover {
    border-color: color-mix(in srgb, var(--hlf-accent) 45%, transparent);
    background: var(--hlf-card-hover);
    transform: translateY(-2px);
}

.hl-footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: 0.65rem;
    color: var(--hlf-accent);
    background: color-mix(in srgb, var(--hlf-accent) 12%, transparent);
}

.hl-footer__contact + .hl-footer__contact .hl-footer__contact-icon {
    color: var(--hlf-accent-2);
    background: color-mix(in srgb, var(--hlf-accent-2) 12%, transparent);
}

.hl-footer__contact-label {
    display: block;
    color: var(--hlf-faint);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hl-footer__contact-value {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.hl-footer__city {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    color: var(--hlf-faint);
    font-size: 0.875rem;
}

.hl-footer__heading {
    margin-bottom: 1.1rem;
    color: var(--hlf-faint);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hl-footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hl-footer__link {
    position: relative;
    color: var(--hlf-muted);
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.hl-footer__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--hlf-accent), var(--hlf-accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.hl-footer__link:hover {
    color: var(--hlf-text);
}

.hl-footer__link:hover::after {
    transform: scaleX(1);
}

.hl-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--hlf-line);
    color: var(--hlf-faint);
    font-size: 0.8125rem;
}

@media (min-width: 768px) {
    .hl-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.hl-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.hl-footer__bottom .hl-footer__link {
    font-size: 0.8125rem;
}

.hl-footer__lang {
    display: inline-flex;
    padding: 0.2rem;
    border: 1px solid var(--hlf-line);
    border-radius: 999px;
}

.hl-footer__lang a {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    color: var(--hlf-faint);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.hl-footer__lang a:hover {
    color: var(--hlf-text);
}

.hl-footer__lang a[aria-current] {
    color: var(--hlf-text);
    background: var(--hlf-card-hover);
}

.hl-footer__top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--hlf-line);
    border-radius: 999px;
    color: var(--hlf-muted);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hl-footer__top:hover {
    color: var(--hlf-text);
    border-color: color-mix(in srgb, var(--hlf-accent) 50%, transparent);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .hl-footer *,
    .hl-footer *::after {
        transition: none !important;
    }
}
