/* =====================================================
   UDUGORE — PREMIUM FOOTER (COMPACT HEIGHT)
   Ivory canvas · Emerald base · Gold accents
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --u-emerald: #004D3A;
    --u-emerald-2: #0A6B52;
    --u-emerald-3: #063D2E;
    --u-gold: #D99A2B;
    --u-gold-2: #F0C566;
    --u-ivory: #FAF8F2;
    --u-ivory-2: #F3EFE4;
    --u-ink: #14201C;
    --u-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =====================================================
   FOOTER SHELL
   ===================================================== */
.site-footer {
    position: relative;
    background:
        radial-gradient(900px 500px at 0% 0%, rgba(217,154,43,0.12), transparent 60%),
        radial-gradient(900px 500px at 100% 100%, rgba(0,77,58,0.14), transparent 60%),
        linear-gradient(180deg, #FAF8F2 0%, #F3EFE4 100%);
    color: var(--u-ink);
    font-family: 'Poppins', sans-serif;
    margin-top: 60px;
    overflow: hidden;
    isolation: isolate;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(217,154,43,0.55) 20%,
        rgba(240,197,102,0.95) 50%,
        rgba(217,154,43,0.55) 80%,
        transparent 100%);
    z-index: 2;
}

.site-footer::after {
    content: "";
    position: absolute;
    top: 30px;
    right: 30px;
    width: 160px;
    height: 160px;
    background-image: radial-gradient(circle, rgba(217,154,43,0.28) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(circle at top right, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at top right, #000 30%, transparent 75%);
}

/* =====================================================
   LAYOUT — tighter vertical rhythm
   ===================================================== */
.footer-main {
    padding: 44px 0 36px;
    position: relative;
    z-index: 1;
}

.footer-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 42px;
    align-items: start;
}

/* =====================================================
   BRAND COLUMN
   ===================================================== */
.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    transition: transform .4s var(--u-ease);
}
.footer-logo:hover {
    transform: scale(1.04);
}

.footer-logo img {
    height: 90px;
    width: auto;
    display: block;
    filter: drop-shadow(0 3px 10px rgba(0,77,58,0.18));
}

.footer-brand-description {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(20,32,28,0.72);
    margin: 0 0 18px;
    font-weight: 400;
    letter-spacing: 0.005em;
}

/* ---------- SOCIAL ---------- */
.footer-social {
    margin-top: 2px;
}

.footer-eyebrow {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--u-emerald);
    margin-bottom: 10px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--u-emerald);
    background: #FFFFFF;
    border: 1px solid rgba(0,77,58,0.10);
    font-size: 15px;
    text-decoration: none;
    transition: all .35s var(--u-ease);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 2px 8px rgba(0,77,58,0.08);
}
.social-links a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--u-emerald), var(--u-emerald-2));
    opacity: 0;
    transform: scale(0.6);
    border-radius: 12px;
    transition: all .35s var(--u-ease);
    z-index: -1;
}
.social-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}
.social-links a:hover {
    color: var(--u-gold-2);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,77,58,0.26);
}
.social-links a:hover i {
    transform: scale(1.15) rotate(-8deg);
}
.social-links a i {
    transition: transform .35s var(--u-ease);
}

/* =====================================================
   COLUMN HEADINGS
   ===================================================== */
.footer-column h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--u-emerald);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.footer-heading-line {
    display: block;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--u-gold), var(--u-gold-2), transparent);
    border-radius: 999px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.footer-heading-line::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent);
    animation: lineShimmer 3.4s ease-in-out infinite;
}
@keyframes lineShimmer {
    0%, 60%, 100% { left: -100%; }
    80%           { left: 100%; }
}

/* =====================================================
   LINK LISTS
   ===================================================== */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column ul li a {
    display: inline-flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: rgba(20,32,28,0.72);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-left: 0;
    letter-spacing: 0.005em;
    transition: all .3s var(--u-ease);
}
.footer-column ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--u-gold);
    border-radius: 999px;
    transform: translateY(-50%);
    transition: width .3s var(--u-ease);
}
.footer-column ul li a:hover {
    color: var(--u-emerald);
    font-weight: 600;
    padding-left: 18px;
}
.footer-column ul li a:hover::before {
    width: 12px;
}

/* =====================================================
   CONTACT COLUMN
   ===================================================== */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 11px 14px;
    background: #FFFFFF;
    border: 1px solid rgba(0,77,58,0.08);
    border-radius: 14px;
    transition: all .35s var(--u-ease);
    box-shadow: 0 3px 10px rgba(0,77,58,0.06);
    position: relative;
    overflow: hidden;
}
.footer-contact-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--u-gold), var(--u-gold-2));
    opacity: 0;
    transition: opacity .35s var(--u-ease);
}
.footer-contact-item:hover {
    border-color: rgba(217,154,43,0.32);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,77,58,0.11);
}
.footer-contact-item:hover::before {
    opacity: 1;
}

.footer-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(0,77,58,0.08), rgba(217,154,43,0.12));
    border: 1px solid rgba(0,77,58,0.08);
    color: var(--u-emerald);
    font-size: 14px;
    flex-shrink: 0;
    transition: all .35s var(--u-ease);
}
.footer-contact-item:hover .footer-contact-icon {
    background: linear-gradient(135deg, var(--u-emerald), var(--u-emerald-2));
    color: var(--u-gold-2);
    transform: scale(1.06) rotate(-6deg);
    box-shadow: 0 8px 20px rgba(0,77,58,0.26);
}

.footer-contact-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
    padding-top: 0;
    font-family: 'Poppins', sans-serif;
}
.footer-contact-copy small {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--u-gold);
    margin-bottom: 3px;
}
.footer-contact-copy strong {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--u-ink);
    line-height: 1.5;
}
.footer-contact-copy strong a {
    font-family: 'Poppins', sans-serif;
    color: var(--u-emerald);
    text-decoration: none;
    font-weight: 600;
    transition: color .3s var(--u-ease);
    position: relative;
}
.footer-contact-copy strong a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--u-gold);
    transition: width .3s var(--u-ease);
}
.footer-contact-copy strong a:hover {
    color: var(--u-gold);
}
.footer-contact-copy strong a:hover::after {
    width: 100%;
}

/* ---------- WHATSAPP CTA ---------- */
.footer-whatsapp {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 6px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--u-emerald) 0%, var(--u-emerald-2) 100%);
    color: #FAF8F2 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,77,58,0.26);
    transition: all .35s var(--u-ease);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    letter-spacing: 0.005em;
}
.footer-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s var(--u-ease);
    z-index: -1;
}
.footer-whatsapp:hover::before {
    transform: translateX(120%);
}
.footer-whatsapp:hover {
    background: linear-gradient(135deg, var(--u-gold) 0%, var(--u-gold-2) 100%);
    color: var(--u-emerald) !important;
    transform: translateY(-3px);
    box-shadow:
        0 14px 30px rgba(217,154,43,0.46),
        0 0 0 4px rgba(217,154,43,0.18);
}
.footer-whatsapp > i:first-child {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.16);
    font-size: 15px;
    flex-shrink: 0;
    transition: transform .35s var(--u-ease);
}
.footer-whatsapp:hover > i:first-child {
    transform: rotate(-8deg) scale(1.05);
}
.footer-whatsapp span {
    flex: 1;
}
.footer-whatsapp-arrow {
    font-size: 13px;
    transition: transform .35s var(--u-ease);
}
.footer-whatsapp:hover .footer-whatsapp-arrow {
    transform: translateX(5px);
}

/* =====================================================
   FOOTER BOTTOM
   ===================================================== */
.footer-bottom {
    background: linear-gradient(135deg, #004D3A 0%, #063D2E 100%);
    color: #FAF8F2;
    position: relative;
    overflow: hidden;
}
.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(217,154,43,0.55),
        transparent);
}
.footer-bottom::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 200px at 100% 0%, rgba(217,154,43,0.12), transparent 60%),
        radial-gradient(600px 200px at 0% 100%, rgba(10,107,82,0.38), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.footer-bottom-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-copyright,
.footer-credit {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: rgba(250,248,242,0.75);
    letter-spacing: 0.005em;
}
.footer-credit a {
    font-family: 'Poppins', sans-serif;
    color: var(--u-gold-2);
    text-decoration: none;
    font-weight: 700;
    transition: color .3s var(--u-ease);
    position: relative;
}
.footer-credit a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--u-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--u-ease);
}
.footer-credit a:hover {
    color: #FAF8F2;
}
.footer-credit a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
}
.footer-legal-links a {
    font-family: 'Poppins', sans-serif;
    color: rgba(250,248,242,0.75);
    text-decoration: none;
    transition: color .3s var(--u-ease);
    font-weight: 500;
}
.footer-legal-links a:hover {
    color: var(--u-gold-2);
}
.footer-legal-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--u-gold);
    opacity: 0.7;
}

/* ---------- PAYMENT ---------- */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: rgba(250,248,242,0.75);
}
.payment-methods > span {
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--u-gold);
    margin-right: 4px;
}
.payment-methods i {
    font-size: 26px;
    color: #FAF8F2;
    opacity: 0.82;
    transition: all .35s var(--u-ease);
}
.payment-methods i:hover {
    opacity: 1;
    color: var(--u-gold-2);
    transform: translateY(-3px) scale(1.08);
}

/* =====================================================
   RIGHT-SIDE STACK (WhatsApp + Scroll Top)
   Both fixed on the right, stacked vertically
   ===================================================== */
.floating-whatsapp,
.scroll-top-btn {
    position: fixed;
    right: 20px;
    z-index: 999;
}

/* ---------- FLOATING WHATSAPP — small, unique ---------- */
.floating-whatsapp {
    bottom: 84px;
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    gap: 0;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0;
    text-decoration: none;
    border-radius: 16px;
    box-shadow:
        0 10px 24px rgba(37, 211, 102, 0.42),
        0 0 0 0 rgba(37, 211, 102, 0.5);
    transition: all .35s var(--u-ease);
    animation: waPulse 2.4s ease-in-out infinite;
    overflow: visible;
    isolation: isolate;
}
.floating-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    opacity: 0;
    transform: scale(0.7);
    transition: all .35s var(--u-ease);
    z-index: -1;
}
.floating-whatsapp:hover::before {
    opacity: 1;
    transform: scale(1);
}
.floating-whatsapp i {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: transparent;
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform .35s var(--u-ease);
}
.floating-whatsapp span {
    display: none;
}
.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.06);
    border-radius: 20px;
    box-shadow:
        0 16px 34px rgba(37, 211, 102, 0.55),
        0 0 0 5px rgba(37, 211, 102, 0.18);
}
.floating-whatsapp:hover i {
    transform: scale(1.12) rotate(-10deg);
}

@keyframes waPulse {
    0%, 100% {
        box-shadow:
            0 10px 24px rgba(37, 211, 102, 0.42),
            0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow:
            0 10px 24px rgba(37, 211, 102, 0.55),
            0 0 0 12px rgba(37, 211, 102, 0);
    }
}

/* ---------- SCROLL TO TOP — small, unique ---------- */
.scroll-top-btn {
    bottom: 20px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 0;
    cursor: pointer;
    background: linear-gradient(135deg, var(--u-emerald) 0%, var(--u-emerald-2) 100%);
    color: var(--u-gold-2);
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    display: grid;
    place-items: center;
    box-shadow:
        0 10px 24px rgba(0,77,58,0.36),
        0 0 0 3px rgba(0,77,58,0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all .4s var(--u-ease);
    overflow: hidden;
    isolation: isolate;
}
.scroll-top-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--u-gold), var(--u-gold-2));
    opacity: 0;
    transform: scale(0.6);
    border-radius: 16px;
    transition: all .35s var(--u-ease);
    z-index: -1;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.scroll-top-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}
.scroll-top-btn:hover {
    color: var(--u-emerald);
    transform: translateY(-4px) scale(1.06);
    border-radius: 20px;
    box-shadow:
        0 16px 32px rgba(217,154,43,0.48),
        0 0 0 5px rgba(217,154,43,0.18);
}
.scroll-top-btn:hover i {
    transform: translateY(-3px) scale(1.12);
}
.scroll-top-btn i {
    transition: transform .35s var(--u-ease);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .footer-main {
        padding: 40px 0 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 26px;
    }
    .footer-brand {
        max-width: 100%;
        grid-column: 1 / -1;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    .payment-methods {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-column h3 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .footer-main {
        padding: 32px 0 26px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-logo img {
        height: 58px;
    }
    .footer-brand-description {
        font-size: 14.5px;
    }
    .footer-column h3 {
        font-size: 17.5px;
    }
    .footer-column ul li a {
        font-size: 14px;
    }
    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .floating-whatsapp,
    .scroll-top-btn {
        right: 16px;
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
    .floating-whatsapp {
        bottom: 76px;
    }
    .scroll-top-btn {
        bottom: 18px;
    }
    .floating-whatsapp i {
        font-size: 20px;
    }
    .scroll-top-btn {
        font-size: 16px;
    }
}

/* =====================================================
   A11Y
   ===================================================== */
.site-footer a:focus-visible,
.site-footer button:focus-visible,
.floating-whatsapp:focus-visible,
.scroll-top-btn:focus-visible {
    outline: 2px solid var(--u-gold);
    outline-offset: 3px;
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .site-footer *,
    .floating-whatsapp,
    .scroll-top-btn,
    .footer-heading-line::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Udugore correction: responsive footer layout */
.site-footer, .site-footer * { box-sizing: border-box; }
.site-footer { width: 100%; max-width: 100%; overflow-x: clip; }
.site-footer .footer-container { width: min(100% - 32px, 1240px); margin-inline: auto; }
.site-footer .footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 42px); }
.site-footer .footer-column { min-width: 0; overflow-wrap: anywhere; }
.site-footer img { max-width: 100%; height: auto; }
.site-footer .social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-footer .footer-container { width: min(100% - 28px, 100%); }
  .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .site-footer .footer-column { width: 100%; }
  .site-footer .footer-brand-description { max-width: 100%; }
  .site-footer .social-links { gap: 12px; }
}
