/* =======================================================
   Totoland Toys Footer - Complete Phase 6C CSS
======================================================= */

.totoland-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", Arial, sans-serif;
    background: #111827;
    color: #ffffff;
    overflow: hidden;
}

.totoland-footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Newsletter */
.totoland-footer-newsletter {
    background:
        radial-gradient(circle at top left, rgba(255,200,61,.35), transparent 28%),
        linear-gradient(135deg, #00AEEF 0%, #FF5AA5 55%, #58C63A 100%);
    padding: 55px 0;
}

.totoland-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.totoland-newsletter-content {
    max-width: 620px;
}

.totoland-newsletter-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.18);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 14px;
}

.totoland-newsletter-content h2 {
    color: #ffffff;
    font-size: 36px;
    line-height: 1.15;
    margin: 0 0 12px;
    font-weight: 800;
}

.totoland-newsletter-content p {
    color: rgba(255,255,255,.92);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.totoland-newsletter-form {
    display: flex;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 16px 35px rgba(0,0,0,.16);
}

.totoland-newsletter-form input {
    flex: 1;
    height: 52px;
    border: 0;
    outline: none;
    padding: 0 18px;
    font-size: 15px;
    color: #111827;
    border-radius: 12px;
}

.totoland-newsletter-form button {
    height: 52px;
    border: 0;
    border-radius: 12px;
    padding: 0 24px;
    background: #FFC83D;
    color: #111827;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.totoland-newsletter-form button:hover {
    background: #111827;
    color: #ffffff;
    transform: translateY(-1px);
}

.totoland-newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(0,174,239,.18);
}

.totoland-newsletter-form button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.totoland-newsletter-form.is-submitted {
    box-shadow: 0 0 0 4px rgba(88,198,58,.28), 0 16px 35px rgba(0,0,0,.16);
}

/* Trust Badges */
.totoland-footer-trust {
    background: #ffffff;
    padding: 35px 0;
    border-bottom: 1px solid rgba(17,24,39,.08);
}

.totoland-trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.totoland-trust-card {
    flex: 1 1 calc(25% - 22px);
    min-width: 230px;
    height: 100%;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.totoland-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,.09);
}

.totoland-trust-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    background: #EAF9FE;
    color: #00AEEF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.totoland-trust-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #111827;
}

.totoland-trust-card p {
    margin: 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}

/* Main Footer */
.totoland-footer-main {
    width: 100%;
    background: #111827;
    padding: 80px 0;
}

.totoland-footer-columns,
.totoland-footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.totoland-footer-column,
.totoland-footer-col {
    flex: 1 1 calc(25% - 40px);
    min-width: 230px;
}

.totoland-footer-brand {
    flex-basis: 310px;
}

.totoland-footer-logo {
    display: inline-flex;
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 18px;
}

.totoland-footer-logo img {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.totoland-footer-brand h2,
.totoland-footer-col h2,
.totoland-footer-column h2 {
    color: #ffffff;
    font-size: 24px;
    margin: 0 0 6px;
    font-weight: 800;
}

.totoland-footer-column h3,
.totoland-footer-col h3 {
    color: #ffffff;
    font-size: 18px;
    margin: 0 0 20px;
    font-weight: 800;
}

.totoland-footer-tagline {
    color: #FFC83D !important;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 14px !important;
}

.totoland-footer-column p,
.totoland-footer-col p,
.totoland-footer-column address,
.totoland-footer-col address {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.75;
    font-style: normal;
}

.totoland-footer-links,
.totoland-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.totoland-footer-links li,
.totoland-footer-col li {
    margin-bottom: 11px;
}

.totoland-footer-links a,
.totoland-footer-contact a,
.totoland-footer-contact span,
.totoland-footer-col a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: color .25s ease, transform .25s ease;
}

.totoland-footer-links a:hover,
.totoland-footer-contact a:hover,
.totoland-footer-col a:hover {
    color: #00AEEF;
    transform: translateX(3px);
}

.totoland-footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #FFC83D;
    transition: width .25s ease;
}

.totoland-footer-links a:hover::after {
    width: 100%;
}

/* Buttons */
.totoland-footer-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.totoland-footer-btn,
.totoland-footer-whatsapp {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.totoland-footer-btn-whatsapp,
.totoland-footer-whatsapp {
    background: #58C63A;
    color: #ffffff !important;
}

.totoland-footer-btn-contact {
    background: #00AEEF;
    color: #ffffff !important;
}

.totoland-footer-btn:hover,
.totoland-footer-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0,0,0,.24);
    color: #ffffff !important;
}

.totoland-footer-whatsapp:hover {
    background: #00AEEF;
}

/* Contact */
.totoland-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-style: normal;
}

.totoland-footer-contact a,
.totoland-footer-contact span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.totoland-footer-contact i {
    width: 20px;
    flex: 0 0 20px;
    margin-top: 3px;
    color: #00AEEF;
}

/* Social Links */
.totoland-footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.totoland-footer-social a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1F2937;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 12px 26px rgba(0,0,0,.22);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.totoland-footer-social a:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.totoland-footer-social .totoland-social-facebook:hover {
    background: #1877F2;
}

.totoland-footer-social .totoland-social-instagram:hover {
    background: #E1306C;
}

.totoland-footer-social .totoland-social-tiktok:hover {
    background: #000000;
}

.totoland-footer-social .totoland-social-youtube:hover {
    background: #FF0000;
}

/* Bottom Bar */
.totoland-footer-bottom {
    width: 100%;
    background: #0B1220;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
}

.totoland-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.totoland-footer-copy,
.totoland-payment-icons,
.totoland-footer-payments,
.totoland-footer-legal {
    flex: 1 1 0;
}

.totoland-footer-copy p {
    margin: 0;
    color: #9CA3AF;
    font-size: 13px;
    line-height: 1.6;
}

.totoland-payment-icons,
.totoland-footer-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.totoland-payment-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.totoland-payment,
.totoland-payment-pill {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.totoland-payment i,
.totoland-payment-pill i {
    font-size: 14px;
    color: #FFC83D;
}

.totoland-payment:hover,
.totoland-payment-pill:hover {
    background: #00AEEF;
    color: #ffffff;
    transform: translateY(-2px);
}

.totoland-footer-legal ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.totoland-footer-legal a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    transition: color .25s ease;
}

.totoland-footer-legal a:hover {
    color: #FFC83D;
}

.totoland-footer-legal a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #00AEEF;
    transition: width .25s ease;
}

.totoland-footer-legal a:hover::after {
    width: 100%;
}

/* Accessibility */
.totoland-footer a:focus,
.totoland-footer button:focus,
.totoland-footer input:focus {
    outline: 2px solid #FFC83D;
    outline-offset: 3px;
}

/* Screen Reader */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Future Hooks */
.totoland-footer-payment-icons-ready {}
.totoland-footer-instagram-ready {}
.totoland-footer-reviews-ready {}
.totoland-footer-live-chat-ready {}
.totoland-footer-store-locator-ready {}
.totoland-mpesa-ready {}
.totoland-payment-icons-ready {}
.totoland-paybill-placeholder {
    display: none;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
    .totoland-newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .totoland-newsletter-content h2 {
        font-size: 32px;
    }

    .totoland-trust-card,
    .totoland-footer-column,
    .totoland-footer-col {
        flex: 1 1 calc(50% - 22px);
    }

    .totoland-footer-brand {
        flex-basis: calc(50% - 22px);
    }

    .totoland-footer-main {
        padding: 64px 0;
    }

    .totoland-footer-bottom-inner {
        text-align: center;
        justify-content: center;
    }

    .totoland-footer-copy,
    .totoland-payment-icons,
    .totoland-footer-payments,
    .totoland-footer-legal {
        flex: 1 1 100%;
    }

    .totoland-footer-legal ul {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .totoland-footer-newsletter {
        padding: 42px 0;
    }

    .totoland-newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .totoland-newsletter-content h2 {
        font-size: 27px;
    }

    .totoland-newsletter-form {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
    }

    .totoland-newsletter-form input,
    .totoland-newsletter-form button {
        width: 100%;
    }

    .totoland-footer-trust {
        padding: 28px 0;
    }

    .totoland-trust-card {
        flex: 1 1 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .totoland-footer-main {
        padding: 48px 0;
        text-align: center;
    }

    .totoland-footer-column,
    .totoland-footer-col,
    .totoland-footer-brand {
        flex: 1 1 100%;
        text-align: center;
    }

    .totoland-footer-logo,
    .totoland-footer-logo img {
        max-width: 190px;
        margin-left: auto;
        margin-right: auto;
    }

    .totoland-footer-buttons,
    .totoland-footer-social,
    .totoland-payment-icons,
    .totoland-footer-payments,
    .totoland-footer-legal ul {
        justify-content: center;
    }

    .totoland-footer-contact {
        align-items: center;
    }

    .totoland-footer-contact a,
    .totoland-footer-contact span {
        justify-content: center;
        text-align: center;
    }

    .totoland-footer-bottom {
        padding: 24px 0;
    }

    .totoland-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .totoland-footer-copy,
    .totoland-payment-icons,
    .totoland-footer-payments,
    .totoland-footer-legal {
        flex: 1 1 100%;
    }

    .totoland-payment,
    .totoland-payment-pill {
        min-height: 38px;
    }
}
