/* footer section styles (shared, externalised) */
/* ═══════════════════════════════════════════════════════════════
       Haritha Ayurveda — redesigned footer
       (card columns + quick-link pills + bottom bar, green brand)
       ═══════════════════════════════════════════════════════════════ */
    .haf {
        background: #FBF7EC;
        border-top: 3px solid #97BC17;
        padding: 56px 0 0;
        color: #2b2b2b;
        font-family: 'Roboto', sans-serif;
    }

    .haf-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 16px;
    }

    /* Intro */
    .haf-logo {
        display: block;
        margin: 0 auto 22px;
        height: auto;
        width: 250px;
    }

    .haf-heading {
        text-align: center;
        font-size: 2rem !important;
        font-weight: 800;
        color: #1a2e10;
        line-height: 1.25;
        margin: 0 0 14px;
    }

    .haf-heading span {
        color: #97BC17;
    }

    .haf-sub {
        margin: 0 auto;
        text-align: center;
        font-size: 1rem;
        line-height: 1.7;
        color: #5a5a5a;
    }

    /* Card columns */
    .haf-cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin: 40px 0 8px;
    }

    .haf-card {
        background: #fff;
        border: 1px solid #eee3cf;
        border-radius: 14px;
        padding: 22px 22px 14px;
        box-shadow: 0 4px 18px rgba(80, 124, 36, .06);
    }

    .haf-card h4 {
        font-size: 1.05rem !important;
        font-weight: 700;
        color: #1a2e10;
        margin: 0 0 14px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ece3cd;
    }

    .haf-links {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .haf-links li {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        padding: 0 0 11px 0;
    }

    .haf-links li::before {
        content: "";
        flex: 0 0 15px;
        width: 15px;
        height: 15px;
        margin-top: 3px;
        background-image: url("/img/ha-list-icon.avif");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .haf-links a {
        color: #444;
        font-size: .92rem;
        line-height: 1.4;
        text-decoration: none;
        transition: color .2s;
    }

    .haf-links a:hover {
        color: #507C24;
        text-decoration: none;
    }

    /* Quick Links */
    .haf-quick {
        margin: 40px 0 8px;
    }

    .haf-quick-title {
        text-align: center;
        font-size: 1.5rem !important;
        font-weight: 800;
        color: #1a2e10;
        margin: 0;
    }

    .haf-quick-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 10px 0 24px;
    }

    .haf-quick-divider span {
        height: 2px;
        width: 70px;
        background: linear-gradient(90deg, transparent, #97BC17);
    }

    .haf-quick-divider span:last-child {
        background: linear-gradient(90deg, #97BC17, transparent);
    }

    .haf-quick-divider i {
        color: #97BC17;
        font-size: .7rem;
    }

    .haf-pills {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .haf-pills a {
        display: inline-block;
        background: #fff;
        border: 1px solid #e6dcc4;
        border-radius: 50px;
        padding: 10px 20px;
        font-size: .9rem;
        font-weight: 600;
        color: #2b4318;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
        transition: all .2s;
    }

    .haf-pills a:hover {
        background: linear-gradient(135deg, #97BC17, #507C24);
        color: #fff;
        border-color: transparent;
        text-decoration: none;
    }

    /* Contact strip */
    .haf-contact {
        margin-top: 40px;
        padding: 22px 0;
        border-top: 1px solid #ece3cd;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px 26px;
        text-align: center;
        font-size: .92rem;
        color: #555;
    }

    .haf-contact a {
        color: #507C24;
        text-decoration: none;
    }

    .haf-contact .haf-reviews img {
        height: 30px;
        width: auto;
        vertical-align: middle;
    }

    .haf-translate {
        text-align: center;
        padding-bottom: 18px;
    }

    .haf-translate .btn {
        background: linear-gradient(135deg, #97BC17, #507C24);
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 8px 22px;
        font-weight: 600;
        font-size: .85rem;
        cursor: pointer;
    }

    /* Bottom bar */
    .haf-bottom {
        background: var(--ha-green);
        color: #e9efe1;
        padding: 18px 0;
    }

    .haf-bottom-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 16px;
        text-align: center;
    }

    .haf-social {
        margin-bottom: 10px;
    }

    .haf-social a {
        color: #cfe0bd;
        font-size: 18px;
        margin: 0 9px;
        text-decoration: none;
        transition: color .2s;
    }

    .haf-social a:hover {
        color: #fff;
    }

    .haf-copy {
        font-size: .85rem;
        margin: 0;
        color: #d6e2c8;
        line-height: 1.6;
    }

    .haf-copy strong {
        color: #fff;
    }

    .haf-copy .haf-tagline {
        color: #aebf9b;
    }

    @media (max-width: 991px) {
        .haf-cards {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 767px) {
        .haf {
            padding-top: 40px;
        }

        .haf-heading {
            font-size: 1.5rem !important;
        }

        .haf-cards {
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
        }

        .haf-quick-title {
            font-size: 1.25rem !important;
        }

        .haf-pills a {
            font-size: .82rem;
            padding: 8px 16px;
        }

        /* Bigger tap targets for footer links on mobile (>=~34px hit area) */
        .haf-links li {
            padding-bottom: 2px;
            align-items: center;
        }
        .haf-links li::before {
            margin-top: 0;
        }
        .haf-links a {
            display: inline-block;
            padding: 8px 0;
        }
    }

    @media (max-width: 479px) {
        .haf-cards {
            grid-template-columns: 1fr;
        }
    }
