/* Home footer + trust bar — overrides legacy landing footer */
.home-trust-bar {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(69, 23, 69, 0.08);
    box-shadow: 0 8px 32px rgba(69, 23, 69, 0.06);
}

.home-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media (min-width: 768px) {
    .home-trust-bar__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.home-trust-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.1rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #451745;
    text-align: center;
    border-inline-end: 1px solid rgba(69, 23, 69, 0.06);
    border-bottom: 1px solid rgba(69, 23, 69, 0.06);
}

@media (min-width: 768px) {
    .home-trust-bar__item {
        border-bottom: none;
    }

    .home-trust-bar__item:last-child {
        border-inline-end: none;
    }
}

.home-trust-bar__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(69, 23, 69, 0.08), rgba(241, 180, 76, 0.12));
    color: #612861;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Footer */
.home-footer {
    position: relative;
    background: linear-gradient(165deg, #2e0d2e 0%, #451745 45%, #562056 100%);
    color: rgba(255, 255, 255, 0.88);
    padding: 0 0 0;
    margin-top: 0;
    overflow: hidden;
}

/* Kill legacy footer spacing/image */
.footer.home-footer,
.home-footer.footer {
    padding-top: 0 !important;
}

.home-footer .footer-image {
    display: none !important;
}

.home-footer__wave {
    height: 4px;
    background: linear-gradient(90deg, #f1b44c, #ffc50d, #f1b44c);
    opacity: 0.9;
}

.home-footer__inner {
    padding: 3.5rem 1rem 0;
}

.home-footer__brand {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.home-footer__tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
    max-width: 22rem;
    line-height: 1.6;
}

.home-footer__heading {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f1b44c;
    margin-bottom: 1.1rem;
}

.home-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.home-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.home-footer__contact ion-icon {
    font-size: 1.2rem;
    color: #f1b44c;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.home-footer__contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.15s;
}

.home-footer__contact a:hover {
    color: #fff;
}

.home-footer__social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.home-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.home-footer__social a:hover {
    background: rgba(241, 180, 76, 0.25);
    transform: translateY(-2px);
    color: #fff;
}

.home-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.home-footer__links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s;
}

.home-footer__links a:hover {
    color: #f1b44c;
}

.home-footer__subscribe-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.home-footer__subscribe-form {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.home-footer__subscribe-input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-inline-end: none;
    border-radius: 12px 0 0 12px;
}

[dir="rtl"] .home-footer__subscribe-input {
    border-radius: 0 12px 12px 0;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.15);
    border-inline-start: none;
}

.home-footer__subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.home-footer__subscribe-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.14);
}

.home-footer__subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    padding: 0 1.15rem;
    background: linear-gradient(135deg, #f1b44c, #ffc50d);
    color: #2e0d2e;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 0 12px 12px 0;
    transition: filter 0.15s;
}

[dir="rtl"] .home-footer__subscribe-btn {
    border-radius: 12px 0 0 12px;
}

.home-footer__subscribe-btn:hover {
    filter: brightness(1.06);
}

.home-footer__bottom {
    margin-top: 2.5rem;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-footer__copy {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.home-footer__partner {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.home-footer__partner:hover {
    opacity: 1;
}

.home-footer__partner img {
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

@media (max-width: 575.98px) {
    .home-trust-bar__item {
        font-size: 0.75rem;
        padding: 0.9rem 0.65rem;
    }

    .home-footer__inner {
        padding-top: 2.5rem;
    }

    .home-footer__subscribe-form {
        flex-direction: column;
        border-radius: 12px;
    }

    .home-footer__subscribe-input,
    .home-footer__subscribe-btn {
        border-radius: 0;
        width: 100%;
        border-inline-end: 1px solid rgba(255, 255, 255, 0.15);
    }

    .home-footer__subscribe-btn {
        justify-content: center;
        padding: 0.85rem;
        border-radius: 0 0 12px 12px;
    }

    .home-footer__subscribe-input {
        border-radius: 12px 12px 0 0;
    }
}
