/* ============================================================
   PainHunting — Footer
   ============================================================ */

.ph-footer {}

/* ---- Main footer area — white background ---- */
.ph-footer__main {
    background: var(--ph-white);
    padding: 64px 0 52px;
}

.ph-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    align-items: flex-start;
}

/* Brand column */
.ph-footer__logo img {
    height: 42px;
    width: auto;
    display: block;
    margin-bottom: 18px;
}

.ph-footer__tagline {
    font-size: 14px;
    color: var(--ph-gray);
    line-height: 1.65;
    margin: 0;
    max-width: 230px;
}

/* Column headings — Title Case, no uppercase */
.ph-footer__heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--ph-black);
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 18px;
}

/* Links */
.ph-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ph-footer__links a {
    font-size: 15px;
    color: var(--ph-gray);
    text-decoration: none;
    transition: color var(--ph-transition);
}

.ph-footer__links a:hover {
    color: var(--ph-green);
}

/* Contact list */
.ph-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ph-footer__contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--ph-gray);
    line-height: 1.4;
}

.ph-footer__contact svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--ph-green);
    width: 18px;
    height: 18px;
}

.ph-footer__contact a {
    color: var(--ph-gray);
    text-decoration: none;
    transition: color var(--ph-transition);
}

.ph-footer__contact a:hover {
    color: var(--ph-green);
}

/* Social icons — sit at bottom of contact column */
.ph-footer__social {
    display: flex;
    gap: 8px;
}

.ph-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ph-border);
    color: var(--ph-gray);
    text-decoration: none;
    transition: all var(--ph-transition);
}

.ph-footer__social-link:hover {
    border-color: var(--ph-green);
    color: var(--ph-green);
    background: var(--ph-green-bg);
}

/* ---- Bottom bar — light background with border-top ---- */
.ph-footer__bar {
    background: var(--ph-white);
}

.ph-footer__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--ph-border);
}

.ph-footer__bar p {
    font-size: 13px;
    color: var(--ph-gray);
    margin: 0;
}

.ph-footer__legal {
    display: flex;
    align-items: center;
}

.ph-footer__legal-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ph-footer__legal-menu li {
    margin: 0;
    padding: 0;
}
ul#menu-footer-bottom-bar {
    display: flex;
    gap: 20px;
}

.ph-footer__legal a {
    font-size: 11px;
    color: var(--ph-gray);
    text-decoration: none;
    transition: color var(--ph-transition);
}

.ph-footer__legal a:hover {
    color: var(--ph-black);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .ph-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .ph-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .ph-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ph-footer__bar-inner {
        flex-direction: column;
        text-align: center;
    }
}
