/* Site footer (partials/site-footer.blade.php) and the floating buttons
   (back to top, chat). Plain CSS so it works without a front-end build. */

.aq-footer {
    --f-bg: #2B1E12;
    --f-gold: #D4A857;
    --f-gold-light: #E6C27A;
    --f-text: rgba(255, 255, 255, .72);
    --f-line: rgba(255, 255, 255, .1);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(212, 168, 87, .16), transparent 60%),
        radial-gradient(700px 380px at -5% 110%, rgba(212, 168, 87, .08), transparent 60%),
        var(--f-bg);
    color: #fff;
    font-family: "Poppins", system-ui, sans-serif;
}
.aq-footer a { color: inherit; text-decoration: none; }
.aq-footer__inner {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Call to action */
.aq-footer__cta {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 3.25rem 0 2.75rem;
    border-bottom: 1px solid var(--f-line);
}
.aq-footer__kicker {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 .9rem;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--f-gold-light);
}
.aq-footer__kicker::before {
    content: "";
    width: 2.25rem;
    height: 1px;
    background: var(--f-gold);
}
.aq-footer__cta-title {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.85rem, 4.2vw, 3rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.01em;
}
.aq-footer__cta-text {
    max-width: 34rem;
    margin: .9rem 0 0;
    font-size: .975rem;
    line-height: 1.7;
    color: var(--f-text);
}
.aq-footer__cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.aq-footer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 3.1rem;
    padding: 0 1.6rem;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .02em;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.aq-footer__btn svg { width: 1.05rem; height: 1.05rem; transition: transform .25s ease; }
.aq-footer__btn:hover { transform: translateY(-2px); }
.aq-footer__btn:hover svg { transform: translateX(3px); }
.aq-footer__btn--gold {
    background: var(--f-gold);
    color: var(--f-bg) !important;
    box-shadow: 0 10px 30px -12px rgba(212, 168, 87, .65);
}
.aq-footer__btn--gold:hover { background: var(--f-gold-light); }
.aq-footer__btn--ghost {
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
}
.aq-footer__btn--ghost:hover { border-color: var(--f-gold); color: var(--f-gold-light); }

/* Columns */
.aq-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    padding: 2.75rem 0 1.5rem;
}
.aq-footer__brand { padding-bottom: 1.75rem; }
.aq-footer__logo img { display: block; height: 4rem; width: auto; object-fit: contain; }
.aq-footer__tagline {
    margin: 1.1rem 0 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--f-gold);
}
.aq-footer__about {
    max-width: 24rem;
    margin: .8rem 0 0;
    font-size: .9rem;
    line-height: 1.75;
    color: var(--f-text);
}
.aq-footer__rating {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1.4rem;
    padding: .55rem 1rem;
    border: 1px solid var(--f-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font-size: .8rem;
    color: var(--f-text);
    transition: border-color .25s ease, background-color .25s ease;
}
.aq-footer__rating:hover { border-color: rgba(212, 168, 87, .55); background: rgba(212, 168, 87, .08); }
.aq-footer__rating strong { color: #fff; font-weight: 700; }
.aq-footer__stars { color: var(--f-gold); letter-spacing: .12em; font-size: .85rem; }

.aq-fcol { border-top: 1px solid var(--f-line); }
.aq-fcol__head {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    width: 100%;
    padding: 1.15rem 0;
    background: none;
    border: 0;
    color: #fff;
    text-align: left;
    cursor: pointer;
}
.aq-fcol__num {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--f-gold);
}
.aq-fcol__title {
    flex: 1;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .005em;
}
.aq-fcol__head .accordion-icon {
    align-self: center;
    width: 1.1rem;
    height: 1.1rem;
    color: rgba(255, 255, 255, .6);
    transition: transform .3s ease;
}
.aq-fcol__links, .aq-fcol__contact { list-style: none; margin: 0; padding: 0 0 1.25rem; }
.aq-fcol__links li + li { margin-top: .7rem; }
.aq-fcol__links a {
    position: relative;
    display: inline-block;
    font-size: .925rem;
    color: var(--f-text);
    transition: color .2s ease, transform .2s ease;
}
.aq-fcol__links a::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 50%;
    width: .5rem;
    height: 1px;
    background: var(--f-gold);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity .2s ease, transform .2s ease;
}
.aq-fcol__links a:hover { color: var(--f-gold-light); transform: translateX(.6rem); }
.aq-fcol__links a:hover::before { opacity: 1; transform: scaleX(1); }
.aq-fcol__more { color: var(--f-gold) !important; font-weight: 600; }

.aq-fcol__contact li { display: flex; gap: .85rem; align-items: flex-start; font-size: .9rem; color: #fff; }
.aq-fcol__contact li + li { margin-top: 1rem; }
.aq-fcol__contact small {
    display: block;
    margin-bottom: .15rem;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}
.aq-fcol__contact a { white-space: nowrap; font-size: .86rem; transition: color .2s ease; }
.aq-fcol__contact a:hover { color: var(--f-gold-light); }
.aq-fcol__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .75rem;
    background: rgba(212, 168, 87, .12);
    color: var(--f-gold);
}
.aq-fcol__icon svg { width: 1.05rem; height: 1.05rem; }
.aq-fcol__contact-link {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--f-gold) !important;
    transition: color .2s ease;
}
.aq-fcol__contact-link:hover { color: var(--f-gold-light) !important; }
.aq-fcol__follow {
    margin: 1.4rem 0 .7rem;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}
.aq-footer__social { display: flex; gap: .6rem; padding-bottom: 1.25rem; }
.aq-footer__social a {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid var(--f-line);
    color: rgba(255, 255, 255, .75);
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.aq-footer__social a:hover { background: var(--f-gold); border-color: var(--f-gold); color: var(--f-bg); transform: translateY(-2px); }
.aq-footer__social svg { width: 1.05rem; height: 1.05rem; }
.aq-footer__social-set { display: contents; }

/* Bottom bar */
.aq-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: 1.5rem 0 6rem;
    border-top: 1px solid var(--f-line);
    font-size: .8rem;
    text-align: center;
}
.aq-footer__bottom p { margin: 0; }
.aq-footer__copy { color: rgba(255, 255, 255, .72); letter-spacing: .01em; }
.aq-footer__credit { color: rgba(255, 255, 255, .6); }
.aq-footer__legal { display: inline-flex; flex-wrap: wrap; gap: .9rem; margin-left: .9rem; }
.aq-footer__legal a { color: rgba(255, 255, 255, .6); text-decoration: underline; text-decoration-color: rgba(212, 168, 87, .5); text-underline-offset: 3px; transition: color .2s ease; }
.aq-footer__legal a:hover { color: var(--f-gold-light); }
@media (max-width: 639px) { .aq-footer__legal { display: flex; justify-content: center; margin: .45rem 0 0; } }
.aq-footer__credit a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-left: .35rem;
    padding: .28rem .75rem;
    border: 1px solid rgba(212, 168, 87, .45);
    border-radius: 999px;
    color: var(--f-gold-light);
    font-weight: 600;
    letter-spacing: .02em;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.aq-footer__credit a svg { width: .8rem; height: .8rem; transition: transform .25s ease; }
.aq-footer__credit a:hover { background: var(--f-gold); border-color: var(--f-gold); color: var(--f-bg); }
.aq-footer__credit a:hover svg { transform: translate(2px, -2px); }

/* "African Queen" watermark: upright letters that slide in from the right */
.aq-footer__watermark {
    position: absolute;
    left: 50%;
    bottom: -0.16em;
    z-index: 0;
    margin: 0;
    transform: translateX(-50%);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(4.5rem, 15vw, 14rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
    color: rgba(255, 255, 255, .05) !important;
    pointer-events: none;
    user-select: none;
}
.aq-footer__watermark span {
    display: inline-block;
    opacity: 0;
    transform: translateX(45vw);
    transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), opacity .9s ease;
    transition-delay: calc(var(--i) * 45ms);
}
.aq-footer__watermark.is-revealed span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .aq-footer__watermark span { opacity: 1; transform: none; transition: none; }
}

@media (min-width: 640px) {
    .aq-footer__bottom { flex-direction: row; justify-content: space-between; padding: 1.5rem 4.75rem 2rem; text-align: left; }
}

@media (min-width: 768px) {
    .aq-footer__inner { padding: 0 2rem; }
    .aq-footer__cta { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 3rem; padding: 4.5rem 0 3.5rem; }
    .aq-footer__cta-actions { flex: none; }
    .aq-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; padding: 3.5rem 0 3rem; }
    .aq-footer__brand { grid-column: 1 / -1; padding-bottom: 0; }

    /* Columns are always open on larger screens */
    .aq-fcol { border-top: 0; }
    .aq-fcol__head { cursor: default; pointer-events: none; padding: 0 0 1.4rem; position: relative; }
    .aq-fcol__head::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: .55rem;
        width: 2.5rem;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--f-gold), transparent);
    }
    .aq-fcol__head .accordion-icon { display: none; }
    .aq-fcol__panel.accordion-panel { max-height: none !important; opacity: 1; overflow: visible; }
    .aq-fcol__links, .aq-fcol__contact { padding-bottom: 0; }
}

@media (min-width: 1024px) {
    .aq-footer__grid { grid-template-columns: 1.35fr 1fr 1fr 1.25fr; }
    .aq-footer__brand { grid-column: auto; }
}

/* ===== Our partners (partials/partners.blade.php), just above the footer ===== */
.aq-partners {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 3.25rem;
    background: linear-gradient(180deg, #FBF6EE 0%, #F4E9D6 100%);
    border-top: 1px solid rgba(43, 30, 18, .06);
    font-family: "Poppins", system-ui, sans-serif;
    color: #2B1E12;
}
.aq-partners__head { max-width: 46rem; margin: 0 auto 2.25rem; padding: 0 1.5rem; text-align: center; }
.aq-partners__kicker {
    display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 .7rem;
    font-size: .6875rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: #9A6B1E !important;
}
.aq-partners__kicker::before, .aq-partners__kicker::after { content: ""; width: 1.75rem; height: 1px; background: #D4A857; }
.aq-partners__title { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; line-height: 1.15; color: #2B1E12; }
.aq-partners__text { margin: .8rem auto 0; max-width: 40rem; font-size: .92rem; line-height: 1.7; color: rgba(43, 30, 18, .68) !important; }

/* Endless row: two identical lists side by side, moved left by one list's width. */
.aq-partners__viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.aq-partners__track { display: flex; width: max-content; animation: aq-partners-scroll 55s linear infinite; }
.aq-partners__viewport:hover .aq-partners__track, .aq-partners__viewport:focus-within .aq-partners__track { animation-play-state: paused; }
@keyframes aq-partners-scroll { to { transform: translateX(-50%); } }
.aq-partners__list { display: flex; gap: 1.1rem; margin: 0; padding: .6rem 0 .6rem 1.1rem; list-style: none; }
.aq-partners__tile {
    display: flex; align-items: center; justify-content: center;
    width: 10.5rem; height: 7rem; padding: .9rem 1.1rem;
    border: 1px solid rgba(43, 30, 18, .07); border-radius: 16px; background: #fff;
    box-shadow: 0 10px 26px -20px rgba(43, 30, 18, .5);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.aq-partners__tile.is-wide { width: 14rem; padding: 1rem 1.4rem; }
.aq-partners__tile img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s ease, opacity .3s ease; }
.aq-partners__tile:hover, .aq-partners__tile:focus-visible { transform: translateY(-4px); border-color: rgba(212, 168, 87, .6); box-shadow: 0 18px 34px -22px rgba(43, 30, 18, .55); }
.aq-partners__tile:hover img, .aq-partners__tile:focus-visible img { filter: none; opacity: 1; }
.aq-partners__tile:focus-visible { outline: 2px solid #D4A857; outline-offset: 3px; }
@media (max-width: 640px) {
    .aq-partners { padding: 2.75rem 0 2.5rem; }
    .aq-partners__tile { width: 8.5rem; height: 5.75rem; }
    .aq-partners__tile.is-wide { width: 11rem; }
    .aq-partners__track { animation-duration: 40s; }
}
/* Less motion: every logo in a centred grid, no scrolling. */
@media (prefers-reduced-motion: reduce) {
    .aq-partners__viewport { -webkit-mask-image: none; mask-image: none; }
    .aq-partners__track { width: auto; animation: none; justify-content: center; }
    .aq-partners__list { flex-wrap: wrap; justify-content: center; padding: 0 1.5rem; }
    .aq-partners__list[aria-hidden="true"] { display: none; }
}

/* ===== Floating buttons: back to top (left) and chat (right) =====
   Same size, shape and colours. data-tone is set by the script in
   layouts/app.blade.php from what is behind the button. */
.aq-fab {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 0;
    border-radius: 999px;
    background: #2B1E12;
    color: #fff;
    box-shadow: 0 12px 28px -10px rgba(43, 30, 18, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset;
    cursor: pointer;
    transition: background-color .4s ease, color .4s ease, box-shadow .4s ease, transform .25s ease, opacity .3s ease;
}
.aq-fab svg.aq-fab__icon { width: 1.4rem; height: 1.4rem; }
.aq-fab:hover { transform: translateY(-3px) scale(1.04); }
.aq-fab:focus-visible { outline: 2px solid #D4A857; outline-offset: 3px; }
.aq-fab[data-tone="dark"] {
    background: #D4A857;
    color: #2B1E12;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .25) inset;
}
.aq-fab[data-tone="dark"]:hover { background: #E6C27A; }
.aq-fab:not([data-tone="dark"]):hover { background: #3a2a1a; }

/* Back to top: a gold ring fills as the page scrolls */
#back-to-top { position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 9998; opacity: 0; transform: translateY(1rem); pointer-events: none; }
#back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top.is-visible:hover { transform: translateY(-3px) scale(1.04); }
.aq-fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.aq-fab__ring circle { fill: none; stroke-width: 2.5; }
.aq-fab__ring .track { stroke: rgba(255, 255, 255, .14); }
.aq-fab__ring .bar { stroke: #D4A857; stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; transition: stroke-dashoffset .15s linear; }
.aq-fab[data-tone="dark"] .aq-fab__ring .track { stroke: rgba(43, 30, 18, .18); }
.aq-fab[data-tone="dark"] .aq-fab__ring .bar { stroke: #2B1E12; }

@media (prefers-reduced-motion: reduce) {
    .aq-fab, .aq-footer__btn, .aq-fcol__links a { transition: none; }
}
