/* QGA FINAL FOOTER V1 - native brand footer, no external icon/font dependency */
.qga-final-footer{--qff-bg:#073b3a;--qff-bg2:#052f2e;--qff-card:#0a4744;--qff-white:#fff;--qff-text:#c9d9d6;--qff-muted:#9fb8b4;--qff-line:rgba(255,255,255,.12);--qff-teal:#35c7c5;--qff-yellow:#f2c94c;background:var(--qff-bg);color:var(--qff-white);font:inherit;position:relative;isolation:isolate}
.qga-final-footer *{box-sizing:border-box}.qga-final-footer a{color:inherit}.qga-final-footer__wrap{width:min(1220px,calc(100% - 40px));margin-inline:auto}
.qga-final-footer__cta{background:linear-gradient(135deg,#0a4744 0%,#073b3a 62%,#052f2e 100%);border-bottom:1px solid var(--qff-line)}
.qga-final-footer__cta-inner{min-height:230px;padding:48px 0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:48px;align-items:center}
.qga-final-footer__kicker{display:inline-block;margin-bottom:10px;color:var(--qff-yellow);font-size:12px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.qga-final-footer[dir="rtl"] .qga-final-footer__kicker{letter-spacing:0;text-transform:none}
.qga-final-footer__cta h2{margin:0!important;max-width:720px;color:#fff!important;font-size:clamp(30px,4vw,50px);line-height:1.05;letter-spacing:-.035em}.qga-final-footer[dir="rtl"] .qga-final-footer__cta h2{letter-spacing:0}
.qga-final-footer__cta p{margin:16px 0 0;max-width:710px;color:var(--qff-text)!important;font-size:16px;line-height:1.75}
.qga-final-footer__cta-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.qga-final-footer[dir="rtl"] .qga-final-footer__cta-actions{justify-content:flex-start}
.qga-final-footer__btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:9px;text-decoration:none!important;font-weight:850;font-size:14px;transition:transform .15s ease,background-color .15s ease,border-color .15s ease}
.qga-final-footer__btn:hover{transform:translateY(-1px)}.qga-final-footer__btn--primary{background:var(--qff-yellow);color:#073b3a!important}.qga-final-footer__btn--secondary{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.045);color:#fff!important}
.qga-final-footer__main{display:grid;grid-template-columns:minmax(250px,1.38fr) repeat(4,minmax(140px,1fr));gap:38px;padding:58px 0 46px}
.qga-final-footer__brand{padding-inline-end:18px}.qga-final-footer__brand-lockup{display:inline-flex;align-items:center;gap:13px;text-decoration:none!important}.qga-final-footer__brand-lockup strong{color:#fff;font-size:21px;line-height:1.1}.qga-final-footer__logo{width:72px;height:72px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#fff}.qga-final-footer__logo img{display:block;width:100%;height:100%;object-fit:contain}
.qga-final-footer__brand>p{max-width:310px;margin:18px 0 0;color:var(--qff-text)!important;font-size:14px;line-height:1.8}.qga-final-footer__contact{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:800}.qga-final-footer[dir="rtl"] .qga-final-footer__contact span{transform:scaleX(-1)}
.qga-final-footer__nav h3{margin:4px 0 8px!important;color:#fff!important;font-size:15px;line-height:1.35;font-weight:850}.qga-final-footer__rule{width:38px;height:3px;margin-bottom:18px;border-radius:999px;background:linear-gradient(90deg,var(--qff-teal),var(--qff-yellow))}.qga-final-footer[dir="rtl"] .qga-final-footer__rule{background:linear-gradient(270deg,var(--qff-teal),var(--qff-yellow))}
.qga-final-footer__nav ul{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:10px}.qga-final-footer__nav li{padding:0!important;margin:0!important}.qga-final-footer__nav a{display:inline-block;color:var(--qff-text)!important;text-decoration:none!important;font-size:13.5px;line-height:1.55;transition:color .15s ease,transform .15s ease}.qga-final-footer__nav a:hover{color:#fff!important;transform:translateX(2px)}.qga-final-footer[dir="rtl"] .qga-final-footer__nav a:hover{transform:translateX(-2px)}
.qga-final-footer__languages{padding:20px 0;border-top:1px solid var(--qff-line);display:flex;align-items:center;gap:18px;justify-content:space-between}.qga-final-footer__languages>span{color:var(--qff-muted);font-size:12px;font-weight:800}.qga-final-footer__language-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.qga-final-footer[dir="rtl"] .qga-final-footer__language-links{justify-content:flex-start}.qga-final-footer__language-links a{padding:7px 10px;border:1px solid transparent;border-radius:7px;color:var(--qff-text)!important;text-decoration:none!important;font-size:12px}.qga-final-footer__language-links a:hover,.qga-final-footer__language-links a[aria-current="page"]{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff!important}
.qga-final-footer__bottom{background:var(--qff-bg2);border-top:1px solid rgba(255,255,255,.07)}.qga-final-footer__bottom-inner{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:20px}.qga-final-footer__bottom p{margin:0;color:var(--qff-muted)!important;font-size:12px;line-height:1.5}.qga-final-footer__top{color:var(--qff-text)!important;text-decoration:none!important;font-size:12px;font-weight:800;white-space:nowrap}
.qga-final-footer a:focus-visible{outline:2px solid var(--qff-yellow);outline-offset:3px;border-radius:5px}
html[data-theme="dark"] .qga-final-footer,html.qga-dark .qga-final-footer,body.dark-mode .qga-final-footer,body.qga-dark .qga-final-footer,body.qga-dark-mode .qga-final-footer{--qff-bg:#062f2e;--qff-bg2:#042725;--qff-card:#0a403d;--qff-line:rgba(255,255,255,.13)}
@media(max-width:1080px){.qga-final-footer__main{grid-template-columns:1.25fr repeat(2,1fr);gap:38px 30px}.qga-final-footer__brand{grid-row:span 2}.qga-final-footer__cta-inner{grid-template-columns:1fr}.qga-final-footer__cta-actions{justify-content:flex-start}}
@media(max-width:760px){.qga-final-footer__wrap{width:calc(100% - 28px)}.qga-final-footer__cta-inner{padding:38px 0;gap:24px}.qga-final-footer__cta h2{font-size:clamp(29px,9vw,40px)}.qga-final-footer__main{grid-template-columns:repeat(2,minmax(0,1fr));padding:44px 0 36px}.qga-final-footer__brand{grid-column:1/-1;grid-row:auto;padding:0 0 8px}.qga-final-footer__brand>p{max-width:540px}.qga-final-footer__languages{align-items:flex-start;flex-direction:column}.qga-final-footer__language-links{justify-content:flex-start}.qga-final-footer__bottom-inner{padding:18px 0;align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.qga-final-footer__main{grid-template-columns:1fr;gap:30px}.qga-final-footer__brand{grid-column:auto}.qga-final-footer__cta-actions{display:grid;grid-template-columns:1fr;width:100%}.qga-final-footer__btn{width:100%}.qga-final-footer__logo{width:64px;height:64px}}
@media(prefers-reduced-motion:reduce){.qga-final-footer *{transition:none!important;scroll-behavior:auto!important}}

/* QGA_HOME_FOOTER_GAP_FIX_V1_START */
/*
 * Home-only layout correction.
 * The homepage content is complete before the global explore strip/footer,
 * so the outer content wrappers must not reserve an extra viewport-height area.
 */
body.home main,
body.home .site-content,
body.home .qga-main,
body.home .qga-site-main,
body.home article.page,
body.home .hentry{
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  flex:0 0 auto!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}

/* If the theme leaves an empty main shell on the language-root homepage, remove it. */
body.home main:empty,
body.home .qga-main:empty,
body.home .qga-site-main:empty{
  display:none!important;
  min-height:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}

/* The global explore strip should follow the final home section naturally. */
body.home .qga-site-explore{
  margin-top:0!important;
  margin-bottom:0!important;
}
body.home .qga-site-explore + .qga-final-footer,
body.home .qga-final-footer{
  margin-top:0!important;
}

/* Do not allow generic spacer blocks to create a large blank tail on the home root. */
body.home main > .wp-block-spacer:last-child,
body.home .entry-content > .wp-block-spacer:last-child,
body.home .wp-block-post-content > .wp-block-spacer:last-child{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}
/* QGA_HOME_FOOTER_GAP_FIX_V1_END */


/* QGA_FOOTER_SOCIAL_V1 */

.qga-final-footer__social{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}

.qga-final-footer__social-link{
    width:40px !important;
    height:40px !important;
    flex:0 0 40px;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    padding:0 !important;
    margin:0 !important;

    border-radius:10px !important;
    border:1px solid rgba(255,255,255,.16) !important;

    background:#fff !important;
    text-decoration:none !important;

    overflow:hidden;

    transition:
        transform .18s ease,
        box-shadow .18s ease !important;
}

.qga-final-footer__social-link:hover,
.qga-final-footer__social-link:focus-visible{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.22);
}

.qga-final-footer__social-link svg{
    display:block !important;
    width:30px !important;
    height:30px !important;
    max-width:30px !important;
    max-height:30px !important;
}

.qga-final-footer__social-link.qga-social-gmail{
    width:40px !important;
    height:40px !important;
    border-radius:10px !important;
}

.qga-final-footer__social-link.qga-social-gmail svg{
    width:31px !important;
    height:31px !important;
}

@media(max-width:640px){
    .qga-final-footer__social{
        justify-content:center;
        gap:9px;
        margin-top:18px;
    }

    .qga-final-footer__social-link{
        width:38px !important;
        height:38px !important;
        flex-basis:38px;
    }
}
