/* ─── HealthiiPeople Footer v1.0.0 ─── */

.hpf-footer {
    background: #0A1628;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #E8ECF0;
    padding: 64px 0 0;
    position: relative;
    overflow: hidden;
    /* Break out of Elementor container constraints */
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    box-sizing: border-box !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle ambient glow at top of footer */
.hpf-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0, 166, 160, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hpf-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

/* ─── Top Row: Brand + Link Columns side by side ─── */
.hpf-top-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* ─── Brand Column ─── */
.hpf-brand {
    flex: 0 0 240px;
    min-width: 200px;
}

.hpf-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #E8ECF0;
    transition: opacity 0.2s ease;
}

.hpf-logo-link:hover {
    opacity: 0.85;
}

.hpf-logo-text {
    font-family: 'Satoshi', 'General Sans', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #E8ECF0;
    letter-spacing: -0.01em;
}

.hpf-logo-text strong {
    font-weight: 800;
    color: #00A6A0;
}

.hpf-tagline {
    font-size: 13px;
    color: rgba(232, 236, 240, 0.6);
    margin-top: 14px;
    line-height: 1.6;
}

.hpf-email {
    display: inline-block;
    font-size: 13px;
    color: #00A6A0 !important;
    text-decoration: none;
    margin-top: 10px;
    transition: opacity 0.15s ease;
}

.hpf-email:hover {
    opacity: 0.8;
}

/* ─── Link Columns ─── */
.hpf-columns {
    flex: 1 1 auto;
    display: flex;
    gap: 44px;
}

.hpf-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hpf-col-heading {
    font-size: 11px;
    font-weight: 700;
    color: rgba(232, 236, 240, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.hpf-link {
    font-size: 14px;
    color: rgba(232, 236, 240, 0.6) !important;
    text-decoration: none;
    transition: color 0.12s ease;
    line-height: 1.8;
}

.hpf-link:hover {
    color: #00A6A0 !important;
}

/* ─── Divider ─── */
.hpf-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 40px 0 0;
}

/* ─── Bottom Bar ─── */
.hpf-bottom {
    padding: 20px 0 32px;
    text-align: center;
}

.hpf-copyright {
    font-size: 12px;
    color: rgba(232, 236, 240, 0.4);
    margin: 0 0 4px;
}

.hpf-ico {
    font-size: 11px;
    color: rgba(232, 236, 240, 0.3);
    margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hpf-footer {
        padding: 48px 0 0;
    }

    .hpf-inner {
        padding: 0 20px;
    }

    .hpf-top-row {
        flex-direction: column;
        gap: 36px;
    }

    .hpf-brand {
        flex: none;
    }

    .hpf-columns {
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .hpf-columns {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hpf-col {
        flex: 1 1 40%;
    }
}

@media (max-width: 360px) {
    .hpf-col {
        flex: 1 1 100%;
    }
}
