:root {
    --hu-footer-primary: #b3202a;
    --hu-footer-primary-dark: #8f1720;
    --hu-footer-primary-deep: #6f1018;
    --hu-footer-gold: #d9b26d;
    --hu-footer-bg: #f6f1ef;
    --hu-footer-card: #fcfaf9;
    --hu-footer-text: #1f2430;
    --hu-footer-muted: #6d7280;
    --hu-footer-border: #eadbd8;
    --hu-footer-white: #ffffff;
    --hu-footer-shadow: 0 24px 60px rgba(39, 19, 21, 0.10);
    --hu-footer-shadow-soft: 0 12px 30px rgba(39, 19, 21, 0.06);
    --hu-footer-radius-xl: 42px;
    --hu-footer-radius-lg: 24px;
    --hu-footer-radius-md: 16px;
    --hu-footer-transition: 0.3s ease;
}

/* =========================
   FOOTER BASE
========================= */
.hu-footer {
    position: relative;
    margin-top: 110px;
    background:
        radial-gradient(circle at 12% 10%, rgba(179,32,42,0.05), transparent 22%),
        radial-gradient(circle at 88% 18%, rgba(179,32,42,0.05), transparent 20%),
        linear-gradient(180deg, #f6f1ef 0%, #f8f4f2 100%);
    color: var(--hu-footer-text);
    overflow: hidden;
}

.hu-footer__wrap {
    position: relative;
}

.hu-footer__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.22;
}

.hu-footer__orb--one {
    width: 260px;
    height: 260px;
    top: 90px;
    right: -60px;
    background: radial-gradient(circle, rgba(179,32,42,0.18), transparent 68%);
}

.hu-footer__orb--two {
    width: 220px;
    height: 220px;
    bottom: 60px;
    left: -40px;
    background: radial-gradient(circle, rgba(217,178,109,0.22), transparent 68%);
}

.hu-footer a {
    text-decoration: none;
    transition: var(--hu-footer-transition);
}

/* =========================
   TOP SECTION
========================= */
.hu-footer__top {
    position: relative;
    padding-top: 60px;
}

.hu-footer__top-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.76) 0%, rgba(252,250,249,0.96) 100%);
    border: 1px solid rgba(179,32,42,0.08);
    border-radius: var(--hu-footer-radius-xl) var(--hu-footer-radius-xl) 0 0;
    box-shadow: var(--hu-footer-shadow);
    padding: 56px 56px 28px;
    backdrop-filter: blur(10px);
}

.hu-footer__top-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(179,32,42,0.03), transparent 24%),
        linear-gradient(225deg, rgba(217,178,109,0.06), transparent 24%);
    pointer-events: none;
}

.hu-footer__top-badge {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #f2ecea 100%);
    color: var(--hu-footer-primary);
    box-shadow: 0 10px 22px rgba(39, 19, 21, 0.14);
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
}

.hu-footer__top-badge:hover {
    transform: translateX(-50%) translateY(-2px);
    color: var(--hu-footer-primary-dark);
}

.hu-footer__newsletter {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 38px 34px;
    background:
        linear-gradient(135deg, var(--hu-footer-primary) 0%, var(--hu-footer-primary-dark) 52%, var(--hu-footer-primary-deep) 100%);
    border-radius: 22px;
    box-shadow: 0 24px 45px rgba(179,32,42,0.20);
    overflow: hidden;
}

.hu-footer__newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.08), transparent 24%),
        linear-gradient(90deg, rgba(255,255,255,0.04), transparent 22%);
    pointer-events: none;
}

.hu-footer__newsletter-side--icon {
    position: relative;
    z-index: 2;
}

.hu-footer__newsletter-icon {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-size: 34px;
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.hu-footer__newsletter-text {
    position: relative;
    z-index: 2;
}

.hu-footer__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--hu-footer-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hu-footer__newsletter-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 29px;
    line-height: 1.65;
    font-weight: 800;
}

.hu-footer__newsletter-subtitle {
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    line-height: 1.9;
}

.hu-footer__newsletter-form {
    position: relative;
    z-index: 2;
    min-width: 500px;
    max-width: 500px;
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.hu-footer__input-wrap {
    position: relative;
    flex: 1 1 auto;
}

.hu-footer__input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    color: rgba(255,255,255,0.72);
    font-size: 18px;
    pointer-events: none;
}

.hu-footer__input {
    width: 100%;
    height: 58px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.28);
    outline: 0;
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 0 46px 0 16px;
    font-size: 16px;
    backdrop-filter: blur(4px);
}

.hu-footer__input::placeholder {
    color: rgba(255,255,255,0.82);
}

.hu-footer__submit {
    height: 58px;
    min-width: 148px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #fff5f5 0%, #f6e9e9 100%);
    color: var(--hu-footer-primary);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255,255,255,0.08);
}

.hu-footer__submit:hover {
    background: #ffffff;
    color: var(--hu-footer-primary-dark);
}

/* =========================
   MIDDLE SECTION
========================= */
.hu-footer__middle {
    padding: 22px 0 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(252,250,249,0.82) 100%);
    border-top: 1px solid rgba(179,32,42,0.08);
}

.hu-footer__middle-inner {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 28px;
}

.hu-footer__brand-block {
    display: grid;
    gap: 12px;
}

.hu-footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hu-footer__social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(179,32,42,0.10);
    color: #a39da0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: var(--hu-footer-shadow-soft);
}

.hu-footer__social-link:hover {
    color: var(--hu-footer-primary);
    border-color: rgba(179,32,42,0.28);
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(179,32,42,0.10);
}

.hu-footer__mini-text {
    font-size: 13px;
    color: var(--hu-footer-muted);
    line-height: 1.8;
    max-width: 320px;
}

.hu-footer__center {
    display: flex;
    justify-content: center;
}

.hu-footer__ornament {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.hu-footer__ornament span {
    width: 14px;
    height: 14px;
    display: inline-block;
    transform: rotate(45deg);
    border-radius: 2px;
    border: 2px solid var(--hu-footer-primary);
    background: linear-gradient(180deg, #f8e2bb 0%, #d9b26d 100%);
    box-shadow: 0 4px 8px rgba(217,178,109,0.18);
}

.hu-footer__nav-wrap {
    display: flex;
    justify-content: flex-end;
}

.hu-footer__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hu-footer__nav li {
    margin: 0;
}

.hu-footer__nav a {
    color: var(--hu-footer-text);
    font-size: 17px;
    font-weight: 600;
    position: relative;
}

.hu-footer__nav a::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: -7px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hu-footer-primary), transparent);
    transform: scaleX(0);
    transition: var(--hu-footer-transition);
}

.hu-footer__nav a:hover {
    color: var(--hu-footer-primary);
}

.hu-footer__nav a:hover::after {
    transform: scaleX(1);
}

/* =========================
   BOTTOM BAR
========================= */
.hu-footer__bottom {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--hu-footer-primary-dark) 0%, var(--hu-footer-primary) 55%, #c42b34 100%);
    padding: 22px 0;
}

.hu-footer__bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.04), transparent 28%),
        radial-gradient(circle at 88% 50%, rgba(255,255,255,0.08), transparent 18%);
    pointer-events: none;
}

.hu-footer__bottom-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hu-footer__copyright {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.hu-footer__bottom-nav-wrap {
    display: flex;
}

.hu-footer__bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hu-footer__bottom-links li {
    margin: 0;
}

.hu-footer__bottom-links a {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    opacity: 0.96;
}

.hu-footer__bottom-links a:hover {
    opacity: 0.82;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199.98px) {
    .hu-footer__top-card {
        padding: 48px 30px 22px;
    }

    .hu-footer__newsletter {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 22px;
    }

    .hu-footer__newsletter-icon {
        margin-inline: auto;
    }

    .hu-footer__newsletter-form {
        min-width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }

    .hu-footer__middle-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .hu-footer__brand-block {
        justify-items: center;
    }

    .hu-footer__nav-wrap,
    .hu-footer__bottom-nav-wrap {
        justify-content: center;
    }

    .hu-footer__nav,
    .hu-footer__bottom-links {
        justify-content: center;
    }

    .hu-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .hu-footer {
        margin-top: 60px;
    }

    .hu-footer__top {
        padding-top: 34px;
    }

    .hu-footer__top-card {
        border-radius: 28px 28px 0 0;
        padding: 34px 16px 18px;
    }

    .hu-footer__top-badge {
        width: 54px;
        height: 54px;
        top: -26px;
        font-size: 20px;
    }

    .hu-footer__newsletter {
        padding: 22px 16px;
        gap: 18px;
        border-radius: 16px;
    }

    .hu-footer__newsletter-icon {
        width: 60px;
        height: 60px;
        border-radius: 18px;
        font-size: 28px;
    }

    .hu-footer__newsletter-title {
        font-size: 20px;
        line-height: 1.8;
    }

    .hu-footer__newsletter-subtitle {
        font-size: 14px;
        line-height: 1.8;
    }

    .hu-footer__newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .hu-footer__input,
    .hu-footer__submit {
        width: 100%;
        min-width: 100%;
    }

    .hu-footer__social {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hu-footer__nav {
        gap: 14px 18px;
    }

    .hu-footer__nav a,
    .hu-footer__bottom-links a {
        font-size: 14px;
    }

    .hu-footer__copyright {
        font-size: 14px;
    }
}