/**
 * Holden Villa — Global Premium Footer
 * Applied on all pages via .hm-footer class
 */

.hm-footer {
    --hm-gold: #f5c518;
    --hm-gold-bright: #ffd54f;
    --hm-royal-deep: #0f172a;
    --hm-display: 'Cinzel', 'Fraunces', Georgia, serif;
    --hm-font: 'Outfit', 'DM Sans', sans-serif;
    background: linear-gradient(180deg, #08071c 0%, #050512 100%) !important;
    border-top: 1px solid rgba(245, 197, 24, 0.25);
    color: rgba(200, 215, 240, 0.75);
    position: relative;
    overflow: hidden;
}

.hm-footer::before,
.hm-footer::after,
.hv-footer.hm-footer::before,
.hv-footer.hm-footer::after {
    display: none !important;
}

.hm-footer .hv-footer__weather {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid rgba(245, 197, 24, 0.15);
    position: relative;
    z-index: 1;
}

.hm-footer .hv-footer__weather .weatherwidget-io {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hm-footer .hv-footer__main {
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Grid: brand | div | links | div | social | div | newsletter */
.hm-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1px 1fr 1px 1fr 1px 1.3fr;
    gap: 0 40px;
    padding: 56px 0 48px;
    align-items: start;
}

.hm-footer__divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(245, 197, 24, 0.55) 20%,
        rgba(245, 197, 24, 0.8) 50%,
        rgba(245, 197, 24, 0.55) 80%,
        transparent 100%);
}

.hm-footer__brand-col img {
    max-width: 148px;
    margin-bottom: 16px;
    display: block;
    filter: none;
    opacity: 1;
}

.hm-footer__tagline {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(200, 215, 240, 0.6);
    max-width: 220px;
    margin: 0;
    font-family: var(--hm-font);
}

.hm-footer__col-title {
    font-family: var(--hm-display);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hm-gold);
    margin: 0 0 18px;
}

.hm-footer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hm-footer__nav a {
    font-size: 14px;
    color: rgba(200, 215, 240, 0.7);
    text-decoration: none;
    font-family: var(--hm-font);
    transition: color 0.22s ease;
}

.hm-footer__nav a:hover {
    color: var(--hm-gold-bright);
}

.hm-footer__social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.hm-footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(245, 197, 24, 0.4);
    background: rgba(245, 197, 24, 0.07);
    color: rgba(200, 215, 240, 0.85);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hm-footer__social-icon:hover {
    background: var(--hm-gold);
    color: var(--hm-royal-deep);
    box-shadow: 0 0 18px rgba(245, 197, 24, 0.4);
    border-color: var(--hm-gold);
}

.hm-footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hm-footer__contact-list a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: rgba(200, 215, 240, 0.78);
    font-family: var(--hm-font);
    font-size: 13.5px;
    line-height: 1.5;
    transition: color 0.22s ease;
}

.hm-footer__contact-list a:hover {
    color: var(--hm-gold-bright);
}

.hm-footer__contact-list i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 2px;
    color: var(--hm-gold);
    font-size: 14px;
    text-align: center;
}

.hm-footer__contact-list span {
    word-break: break-word;
}

.hm-footer__newsletter-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(200, 215, 240, 0.65);
    margin: 0 0 16px;
    font-family: var(--hm-font);
}

.hm-footer__newsletter-form {
    display: flex;
    align-items: stretch;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(245, 197, 24, 0.38);
    background: rgba(255, 255, 255, 0.05);
}

.hm-footer__newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-size: 13px;
    color: rgba(220, 228, 245, 0.9);
    font-family: var(--hm-font);
    outline: none;
    min-width: 0;
    line-height: 1.4;
}

.hm-footer__newsletter-form input::placeholder {
    color: rgba(200, 215, 240, 0.38);
}

.hm-footer__newsletter-form button {
    flex-shrink: 0;
    width: 44px;
    min-width: 44px;
    align-self: stretch;
    background: linear-gradient(135deg, var(--hm-gold-bright), var(--hm-gold));
    border: none;
    color: var(--hm-royal-deep);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.22s ease;
    padding: 0;
    border-radius: 0;
}

.hm-footer__newsletter-form button:hover {
    filter: brightness(1.12);
}

.hm-footer__bottom-bar {
    border-top: 1px solid rgba(245, 197, 24, 0.12);
    padding: 16px 0;
    position: relative;
    z-index: 1;
}

.hm-footer__bottom-bar p {
    text-align: center;
    font-size: 13px;
    color: rgba(200, 215, 240, 0.4);
    margin: 0;
    font-family: var(--hm-font);
}

@media (max-width: 1199.98px) {
    .hm-footer__grid {
        grid-template-columns: 1.3fr 1px 1fr 1px 1fr 1px 1.2fr;
        gap: 0 28px;
    }
}

@media (max-width: 767.98px) {
    .hm-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 36px;
        padding: 48px 0 40px;
    }

    .hm-footer__divider {
        display: none;
    }

    .hm-footer__newsletter-col {
        grid-column: 1 / -1;
    }

    .hm-footer__newsletter-form {
        max-width: 100%;
    }

    .hm-footer__newsletter-form input {
        font-size: 16px;
    }
}

@media (max-width: 479.98px) {
    .hm-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 0 32px;
    }

    .hm-footer__newsletter-col {
        width: 100%;
    }

    .hm-footer__newsletter-form {
        flex-direction: row;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        border-radius: 999px;
        overflow: hidden;
    }

    .hm-footer__newsletter-form input {
        flex: 1;
        min-width: 0;
        padding: 12px 14px;
        font-size: 14px;
        border-bottom: none;
    }

    .hm-footer__newsletter-form button {
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        min-height: 46px;
        height: auto;
        flex-shrink: 0;
        border-radius: 0;
    }
}
