/* ===== Lunaray Brand Tokens & Shared Components ===== */
:root {
    --lunaray-navy: #1c2b45;
    --lunaray-salmon: #d98d80;
    --lunaray-salmon-dark: #c97768;
    --lunaray-text: #4a5568;
    --lunaray-glass-glow-a: #ff8fd6;
    --lunaray-glass-glow-b: #6fb8ff;
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 50px;
    /* Some mobile browsers don't clip backdrop-filter blur to the border-radius,
       letting it bleed into a rectangular halo behind the pill shape. */
    overflow: hidden;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.glass-btn-primary {
    color: var(--lunaray-navy);
    background:
        linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,.7)) padding-box,
        linear-gradient(100deg, var(--lunaray-glass-glow-a), var(--lunaray-glass-glow-b)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 6px 16px rgba(217,141,128,.22), inset 0 1px 1px rgba(255,255,255,.8);
}

.glass-btn-primary:hover {
    box-shadow: 0 8px 20px rgba(217,141,128,.3), inset 0 1px 1px rgba(255,255,255,.8);
    color: var(--lunaray-navy);
}

.glass-btn-outline {
    color: var(--lunaray-navy);
    background: rgba(255,255,255,.35);
    border: 1px solid rgba(28,43,69,.25);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.6);
}

.glass-btn-outline:hover {
    background: rgba(255,255,255,.55);
    color: var(--lunaray-navy);
}

.glass-btn-outline svg {
    background: var(--lunaray-navy);
    color: #fff;
    border-radius: 50%;
    padding: 6px;
    width: 26px;
    height: 26px;
    box-sizing: content-box;
}

/* Compact variant — used in the fixed header where a big glow looks heavy */
.glass-btn-sm {
    padding: 11px 22px;
    font-size: 13.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 3px 10px rgba(217,141,128,.2), inset 0 1px 1px rgba(255,255,255,.8);
}

.glass-btn-sm:hover {
    box-shadow: 0 5px 14px rgba(217,141,128,.28), inset 0 1px 1px rgba(255,255,255,.8);
}

/* ===== Lunaray Footer ===== */
.lunaray-footer {
    position: relative;
    background-color: #05070d;
    background-image: url('/assets/img/lunaray/content/footer.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 88px 0 32px;
}

.lunaray-footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5vw;
}

.lunaray-footer-top {
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(140px, 1fr)) minmax(260px, 1.3fr);
    gap: 40px;
    padding-bottom: 48px;
}

.lunaray-footer-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.lunaray-footer-logo img {
    height: 30px;
    width: auto;
    display: block;
}

.lunaray-footer-tagline {
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin: 0 0 18px;
}

.lunaray-footer-brand p {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 20px;
    max-width: 300px;
}

.lunaray-footer-divider {
    width: 44px;
    height: 1px;
    background: rgba(255, 255, 255, .2);
    margin-bottom: 18px;
}

.lunaray-footer-micro-lines {
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    line-height: 1.9;
    color: rgba(255, 255, 255, .6);
}

.lunaray-footer-title {
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--lunaray-salmon);
    margin: 0 0 20px;
}

.lunaray-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lunaray-footer-links li {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .55);
}

.lunaray-footer-links a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: color .2s ease;
}

.lunaray-footer-links a:hover {
    color: var(--lunaray-salmon);
    text-decoration: none;
}

/* --- Contact Lunaray column --- */
.lunaray-footer-contact {
    display: flex;
    flex-direction: column;
}

.lunaray-footer-contact-desc {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .6);
    margin: 0 0 18px;
}

.lunaray-footer-contact-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.footer-contact-btn span:nth-child(2) {
    flex: 1;
}

.footer-contact-btn svg:last-child {
    flex-shrink: 0;
    opacity: .7;
}

.footer-contact-btn:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.lunaray-footer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color .2s ease;
}

.lunaray-footer-address:hover {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.lunaray-footer-address svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--lunaray-salmon);
}

.lunaray-footer-maplink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color .2s ease;
}

.lunaray-footer-maplink:hover {
    color: var(--lunaray-salmon);
    text-decoration: none;
}

.lunaray-footer-map {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
}

.lunaray-footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- Follow + Intelligence row --- */
.lunaray-footer-mid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.lunaray-follow {
    flex: 0 0 300px;
}

.lunaray-follow-desc {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .55);
    margin: 0 0 20px;
    max-width: 260px;
}

.lunaray-follow-list {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lunaray-follow-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.lunaray-follow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .75);
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.lunaray-follow-list a:hover .lunaray-follow-icon {
    background: rgba(217, 141, 128, .18);
    border-color: rgba(217, 141, 128, .45);
    color: #fff;
    transform: translateY(-2px);
}

.lunaray-follow-label {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 11.5px;
    color: rgba(255, 255, 255, .55);
}

.lunaray-footer-mid-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, .1);
}

.lunaray-intelligence {
    flex: 1;
    min-width: 0;
}

.lunaray-intelligence-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lunaray-intel-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.lunaray-intel-card:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .28);
    text-decoration: none;
    transform: translateY(-2px);
}

.lunaray-intel-card img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.lunaray-intel-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.lunaray-intel-card-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
}

.lunaray-intel-card-title svg {
    opacity: .7;
}

.lunaray-intel-card-sub {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

/* --- Trust badges row --- */
.lunaray-footer-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.lunaray-footer-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 32px;
    border-left: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .8);
}

.lunaray-footer-trust-item:first-child {
    padding-left: 0;
    border-left: none;
}

.lunaray-footer-trust-item svg {
    flex-shrink: 0;
    color: var(--lunaray-salmon);
}

.lunaray-footer-trust-item span {
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- Bottom bar --- */
.lunaray-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.lunaray-footer-bottom-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.lunaray-footer-copyright {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.lunaray-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lunaray-footer-legal a {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    text-decoration: none;
    transition: color .2s ease;
}

.lunaray-footer-legal a:hover {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

.lunaray-footer-keywords {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: rgba(255, 255, 255, .35);
}

@media (max-width: 1140px) {
    .lunaray-footer-top {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .lunaray-footer-contact {
        grid-column: 1 / -1;
        max-width: 420px;
    }

    .lunaray-footer-mid {
        flex-direction: column;
    }

    .lunaray-footer-mid-divider {
        display: none;
    }

    .lunaray-follow {
        flex-basis: auto;
    }
}

@media (max-width: 992px) {
    .lunaray-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
    }

    .lunaray-footer-brand {
        grid-column: 1 / -1;
    }

    .lunaray-footer-brand p {
        max-width: 420px;
    }

    .lunaray-footer-contact {
        grid-column: 1 / -1;
        max-width: 460px;
    }

    .lunaray-intelligence-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lunaray-footer-trust-item {
        flex: 0 0 50%;
        padding: 10px 0;
        border-left: none;
    }

    .lunaray-footer-trust {
        flex-wrap: wrap;
        row-gap: 4px;
    }
}

@media (max-width: 576px) {
    .lunaray-footer {
        padding: 56px 0 24px;
    }

    .lunaray-footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .lunaray-footer-brand p {
        max-width: 100%;
    }

    .lunaray-footer-contact {
        max-width: 100%;
    }

    .lunaray-footer-mid {
        padding: 32px 0;
    }

    .lunaray-follow-list {
        gap: 16px;
    }

    .lunaray-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .lunaray-footer-trust-item {
        flex: 0 0 100%;
    }
}
