﻿/* FAQ and footer finish the home page with one calm teal palette. */
#section-faq.home-faq-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background: radial-gradient(ellipse at 12% 20%, rgba(13, 169, 184, .11), transparent 34%), #081017 !important;
}
#section-faq .faq-intro .subtitle { color: #8bd6d8; }
#section-faq .faq-intro h2 { max-width: 12ch; }
#section-faq .faq-item { border-color: rgba(153, 195, 199, .15); border-radius: 16px; background: rgba(255,255,255,.035); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
#section-faq .faq-item:hover, #section-faq .faq-item:has(.accordion-section-title.active) { border-color: rgba(112, 207, 205, .4); background: rgba(112, 207, 205, .055); }
#section-faq .faq-item .accordion-section-title { padding-top: 1.25rem; padding-bottom: 1.25rem; color: #eff6f6; }
#section-faq .faq-item .accordion-section-title.active { color: #9ce2dc; }
#section-faq .faq-item .accordion-section-title.active::before { border-color: #77cfc8; background: #77cfc8; color: #102323; }
#section-faq .faq-item .accordion-section-content { color: #b3c1c5; }
body.light-mode #section-faq.home-faq-section { background: radial-gradient(ellipse at 12% 20%, rgba(88, 185, 180, .1), transparent 34%), #f5f8f7 !important; }
body.light-mode #section-faq .faq-intro .subtitle { color: #358c88; }
body.light-mode #section-faq .faq-intro h2 { color: #203638 !important; }
body.light-mode #section-faq .faq-item { border-color: rgba(51, 91, 94, .13); background: rgba(255,255,255,.82); }
body.light-mode #section-faq .faq-item .accordion-section-title.active { color: #368e88 !important; }
body.light-mode #section-faq .faq-item .accordion-section-title.active::before { border-color: #72bdb5; background: #72bdb5; color: #fff; }
body.light-mode #section-faq .faq-item .accordion-section-content { color: #607174 !important; }

.site-footer {
    --footer-ink: #eef4f4;
    --footer-muted: #a8b7ba;
    --footer-line: rgba(185, 215, 217, .13);
    position: relative;
    overflow: hidden;
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
    background: radial-gradient(ellipse at 50% 0%, rgba(25, 129, 135, .14), transparent 48%), #080e13 !important;
    color: var(--footer-muted);
}
.site-footer::before { position: absolute; inset: 0; background: linear-gradient(rgba(210,240,240,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(210,240,240,.018) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 90%); content: ""; pointer-events: none; }
.site-footer > .container, .site-footer .subfooter { position: relative; z-index: 1; }
.site-footer-main { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: clamp(2rem, 6vw, 6rem); padding-bottom: 3rem; }
.site-footer-logo { width: min(165px, 55vw); height: auto; object-fit: contain; }
.site-footer-brand p { max-width: 32ch; margin: 1.1rem 0 1.2rem; color: var(--footer-muted); font-size: .88rem; line-height: 1.7; }
.site-footer-socials { display: flex; gap: .55rem; }
.site-footer-socials a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--footer-line); border-radius: 50%; color: #b7d8d8; text-decoration: none; transition: color .2s, border-color .2s, background .2s, transform .2s; }
.site-footer-socials a:hover { transform: translateY(-2px); border-color: #72c7c2; background: rgba(114,199,194,.12); color: #a5e3dd; }
.site-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.site-footer-column h2 { margin: .2rem 0 .5rem; color: var(--footer-ink); font-size: .83rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.site-footer-column p, .site-footer-column a { max-width: 34ch; margin: 0; color: var(--footer-muted); font-size: .87rem; line-height: 1.75; text-decoration: none; overflow-wrap: anywhere; }
.site-footer-column a:hover, .site-footer-bottom a:hover { color: #a5e3dd; }
.site-footer .subfooter { border-top: 1px solid var(--footer-line); background: rgba(0,0,0,.14); }
.site-footer-bottom { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 1rem; color: #87999c; font-size: .76rem; }
.site-footer-bottom a { display: inline-flex; align-items: center; gap: .5rem; color: #aec5c6; text-decoration: none; }
body.light-mode .site-footer { --footer-ink: #263b3d; --footer-muted: #627578; --footer-line: rgba(51, 91, 94, .14); background: radial-gradient(ellipse at 50% 0%, rgba(95, 179, 172, .12), transparent 48%), #eef4f2 !important; }
body.light-mode .site-footer::before { opacity: .45; }
body.light-mode .site-footer-socials a { color: #437875; }
body.light-mode .site-footer-bottom { color: #708486; }
body.light-mode .site-footer-bottom a { color: #4d7774; }
@media (max-width: 767.98px) {
    .site-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
    .site-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .site-footer-main { grid-template-columns: 1fr; gap: 1.65rem; }
    .site-footer-brand { grid-column: auto; }
    .site-footer-bottom { min-height: 70px; align-items: flex-start; flex-direction: column; justify-content: center; gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) { .site-footer-socials a { transition: none; } }
/* Center the FAQ title above a comfortable, readable question list. */
#section-faq .faq-heading { position: static; max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
#section-faq .faq-heading .subtitle { margin-bottom: .75rem; }
#section-faq .faq-heading h2 { max-width: none; margin: 0 auto; }
#section-faq .faq-heading p { margin: 1rem 0 0; color: #aebfc2; font-size: .95rem; }
body.light-mode #section-faq .faq-heading p { color: #687b7d !important; }

/* The footer menu joins the brand, address, and direct contact details. */
.site-footer-main { grid-template-columns: 1.25fr .8fr .7fr .8fr; }
.site-footer-menu a { transition: color .18s ease, transform .18s ease; }
.site-footer-menu a:hover { transform: translateX(3px); }
@media (max-width: 767.98px) {
    .site-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .site-footer-main { grid-template-columns: 1fr; }
    .site-footer-menu a:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .site-footer-menu a { transition: none; } }
/* Four balanced footer columns on wider screens. */
@media (min-width: 768px) { .site-footer-main { grid-template-columns: 1.2fr .8fr .7fr .8fr; } }
/* White footer with fixed contrast in both site themes. */
.site-footer,
body.light-mode .site-footer,
body.dark-scheme .site-footer {
    --footer-ink: #1d3035;
    --footer-muted: #52666b;
    --footer-line: rgba(34, 67, 72, .16);
    background: #fff !important;
    color: #52666b !important;
}
.site-footer::before { opacity: .3; background-image: linear-gradient(rgba(35,90,96,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(35,90,96,.035) 1px, transparent 1px); }
.site-footer .site-footer-column h2 { color: #1d3035 !important; }
.site-footer .site-footer-column p,
.site-footer .site-footer-column a,
.site-footer .site-footer-brand p { color: #52666b !important; }
.site-footer .site-footer-column a:hover { color: #087f83 !important; }
.site-footer .site-footer-socials a { border-color: rgba(34,67,72,.18); background: #f6f9f9; color: #315b60 !important; }
.site-footer .site-footer-socials a:hover { border-color: #138c8a; background: #e9f6f4; color: #087f83 !important; }
/* Theme-aware footer contrast: light mode stays white; dark mode returns to charcoal. */
body.light-mode .site-footer {
    --footer-ink: #172c31;
    --footer-muted: #405b60;
    --footer-line: rgba(27, 67, 73, .18);
    background: #fff !important;
    color: #405b60 !important;
}
body.light-mode .site-footer .site-footer-column h2 { color: #172c31 !important; }
body.light-mode .site-footer .site-footer-column p,
body.light-mode .site-footer .site-footer-column a,
body.light-mode .site-footer .site-footer-brand p { color: #405b60 !important; }
body.light-mode .site-footer .site-footer-socials a { border-color: rgba(34,67,72,.2); background: #f4f8f8; color: #315b60 !important; }
body.light-mode .site-footer .site-footer-bottom a { color: #315b60 !important; }

body.dark-scheme .site-footer {
    --footer-ink: #f0f6f6;
    --footer-muted: #c0ced0;
    --footer-line: rgba(200, 225, 227, .18);
    background: #0b1318 !important;
    color: #c0ced0 !important;
}
body.dark-scheme .site-footer::before { opacity: .55; background-image: linear-gradient(rgba(210,240,240,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(210,240,240,.025) 1px, transparent 1px); }
body.dark-scheme .site-footer .site-footer-column h2 { color: #f0f6f6 !important; }
body.dark-scheme .site-footer .site-footer-column p,
body.dark-scheme .site-footer .site-footer-column a,
body.dark-scheme .site-footer .site-footer-brand p { color: #c0ced0 !important; }
body.dark-scheme .site-footer .site-footer-column a:hover,
body.dark-scheme .site-footer .site-footer-bottom a:hover { color: #8ce1db !important; }
body.dark-scheme .site-footer .site-footer-socials a { border-color: rgba(200,225,227,.2); background: rgba(255,255,255,.055); color: #d6e9e9 !important; }
body.dark-scheme .site-footer .site-footer-socials a:hover { border-color: #72c7c2; background: rgba(114,199,194,.15); color: #a5e3dd !important; }
body.dark-scheme .site-footer .site-footer-bottom { color: #aab9bb !important; }
body.dark-scheme .site-footer .site-footer-bottom a { color: #d0e0e1 !important; }
/* Keep footer column headings clear against the white footer in light mode. */
body.light-mode .site-footer .site-footer-column h2 {
    color: #10282d !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
/* Reference-inspired footer: brand/newsletter/socials left, useful link columns right. */
.site-footer,
body.light-mode .site-footer,
body.dark-scheme .site-footer {
    --footer-ink: #f7f8fa;
    --footer-muted: #aeb6bf;
    --footer-line: rgba(255,255,255,.12);
    padding-top: clamp(3.75rem, 7vw, 6rem);
    background: #050505 !important;
    color: #aeb6bf !important;
}
.site-footer::before { display: none; }
.site-footer-main { grid-template-columns: minmax(290px, 1.75fr) repeat(3, minmax(120px, .8fr)); gap: clamp(2rem, 5vw, 5rem); padding-bottom: 4rem; }
.site-footer-brand-link { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; }
.site-footer-brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 2px solid rgba(255,255,255,.56); border-radius: 50%; color: #fff; font-size: 1.25rem; font-weight: 500; }
.site-footer-logo { width: auto; max-width: 180px; max-height: 40px; }
.site-footer-brand p { max-width: 34ch; margin: .85rem 0 1.45rem; color: #aeb6bf !important; font-size: .87rem; line-height: 1.65; }
.site-footer-column { gap: .72rem; }
.site-footer-column h2, .site-footer-newsletter h2, .site-footer-follow h2 { margin: 0 0 .35rem; color: #fff !important; font-size: .95rem; font-weight: 650; letter-spacing: -.015em; text-transform: none; }
.site-footer .site-footer-column p, .site-footer .site-footer-column a { color: #aeb6bf !important; font-size: .89rem; line-height: 1.55; }
.site-footer .site-footer-column a:hover { color: #fff !important; }
.site-footer-menu a { transition: color .18s ease; }
.site-footer-menu a:hover { transform: none; }
.site-footer-newsletter { margin: 0 0 1.55rem; }
.site-footer-email-pill { display: flex; max-width: 410px; min-height: 52px; align-items: center; justify-content: space-between; gap: 1rem; padding: .28rem .35rem .28rem 1rem; border: 1px solid #fff; border-radius: 999px; background: #fff; color: #77818c !important; text-decoration: none; }
.site-footer-email-pill > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-footer .site-footer-email-pill:hover { background: #f2f4f5; color: #59636b !important; }
.site-footer-email-arrow { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; background: #050505; color: #fff; }
.site-footer-follow h2 { margin-bottom: .7rem; }
.site-footer-socials { gap: .45rem; }
.site-footer-socials a { width: 42px; height: 42px; border: 0; border-radius: 8px; background: #fff; color: #080808 !important; }
.site-footer-socials a:hover { transform: translateY(-2px); border: 0; background: #e8ecef; color: #080808 !important; }
.site-footer .subfooter { display: none; }
body.light-mode .site-footer .site-footer-column h2,
body.light-mode .site-footer .site-footer-newsletter h2,
body.light-mode .site-footer .site-footer-follow h2 { color: #fff !important; }
body.light-mode .site-footer .site-footer-column p,
body.light-mode .site-footer .site-footer-column a,
body.light-mode .site-footer .site-footer-brand p { color: #aeb6bf !important; }
@media (max-width: 900px) {
    .site-footer-main { grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(120px, .8fr)); }
    .site-footer-address { grid-column: 2 / 4; }
}
@media (max-width: 600px) {
    .site-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; padding-bottom: 3rem; }
    .site-footer-brand { grid-column: 1 / -1; }
    .site-footer-address { grid-column: auto; }
    .site-footer-email-pill { max-width: none; }
}
@media (max-width: 767.98px) {
    .site-footer-main { grid-template-columns: minmax(0, 1fr) !important; }
    .site-footer-brand,
    .site-footer-address,
    .site-footer-menu { grid-column: 1 / -1 !important; }
    .site-footer-menu { width: 100%; }
    .site-footer-menu + .site-footer-menu { margin-top: .9rem; }
}
@media (max-width: 380px) {
    .site-footer-main { grid-template-columns: 1fr; }
    .site-footer-brand, .site-footer-address { grid-column: auto; }
}
/* Homepage contact section: requested navy surface and clearer call to action. */
#section-contact {
    position: relative;
    isolation: isolate;
    background: #162f4b !important;
    background-image: none !important;
    color: #f4f7fb !important;
}
#section-contact > .jarallax-img,
#section-contact > .gradient-edge-top,
#section-contact > .gradient-edge-bottom { display: none !important; }
#section-contact > .sw-overlay { background: #162f4b !important; opacity: 1 !important; }
#section-contact .contact-title,
body.light-mode #section-contact .contact-title,
body.dark-scheme #section-contact .contact-title { color: #fff !important; -webkit-text-fill-color: #fff !important; }
#section-contact .lead,
#section-contact .contact-details-card h3,
#section-contact .contact-details-card p,
#section-contact .contact-details-card li { color: #e1eaf4 !important; }
#section-contact .contact-details-card { border: 1px solid rgba(255,255,255,.18) !important; border-radius: 18px; background: rgba(255,255,255,.07) !important; box-shadow: 0 18px 48px rgba(4,17,32,.2) !important; backdrop-filter: blur(10px); }
#section-contact .contact-detail-item + .contact-detail-item { border-color: rgba(255,255,255,.13) !important; }
#section-contact .contact-detail-item > i { color: #b9dcff !important; }
#section-contact a.btn-main {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .9rem 1.35rem;
    border: 1px solid #fff !important;
    border-radius: 12px;
    background: #fff !important;
    color: #162f4b !important;
    font-size: .9rem;
    font-weight: 750;
    letter-spacing: .01em;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(2,13,25,.2);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
#section-contact a.btn-main::after { content: "→"; font-size: 1.1rem; line-height: 1; }
#section-contact a.btn-main:hover { transform: translateY(-2px); background: #e7f1fb !important; box-shadow: 0 14px 30px rgba(2,13,25,.28); }
#section-contact a.btn-main:focus-visible { outline: 3px solid #b9dcff; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { #section-contact a.btn-main { transition: none; } #section-contact a.btn-main:hover { transform: none; } }

/* Keep the homepage contact area visually consistent in both color schemes. */
#section-contact,
body.light-mode #section-contact,
body.dark-scheme #section-contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #f4f7fb !important;
    background-color: #162f4b !important;
    background-image:
        radial-gradient(ellipse at 8% 8%, rgba(20, 119, 177, .30), transparent 36%),
        radial-gradient(ellipse at 92% 88%, rgba(238, 114, 42, .15), transparent 34%),
        linear-gradient(135deg, #162f4b 0%, #12283f 100%) !important;
}
#section-contact > .jarallax-img,
#section-contact > .gradient-edge-top,
#section-contact > .gradient-edge-bottom,
body.light-mode #section-contact > .jarallax-img,
body.light-mode #section-contact > .gradient-edge-top,
body.light-mode #section-contact > .gradient-edge-bottom,
body.dark-scheme #section-contact > .jarallax-img,
body.dark-scheme #section-contact > .gradient-edge-top,
body.dark-scheme #section-contact > .gradient-edge-bottom { display: none !important; }
#section-contact > .sw-overlay,
body.light-mode #section-contact > .sw-overlay,
body.dark-scheme #section-contact > .sw-overlay {
    display: block !important;
    background: linear-gradient(180deg, rgba(3,9,17,.48), rgba(3,9,17,.72)) !important;
    opacity: 1 !important;
}

/* Give the map a restrained frame that sits naturally on the navy section. */
#section-contact .contact-map-card {
    position: relative;
    min-height: 0;
    overflow: hidden;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.24) !important;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.07)) !important;
    box-shadow: 0 24px 62px rgba(3,15,29,.3), inset 0 1px 0 rgba(255,255,255,.18) !important;
    backdrop-filter: blur(12px);
}
#section-contact .contact-map-card iframe,
#section-contact #contact-live-map {
    display: block;
    width: 100%;
    height: clamp(340px, 42vw, 520px) !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 16px;
    filter: saturate(.9) contrast(1.02);
}
@media (max-width: 991px) {
    #section-contact .contact-map-card iframe,
    #section-contact #contact-live-map { height: clamp(320px, 58vw, 440px) !important; }
}
@media (max-width: 575px) {
    #section-contact .contact-map-card { padding: 5px; border-radius: 17px; }
    #section-contact .contact-map-card iframe,
    #section-contact #contact-live-map { height: 320px !important; border-radius: 12px; }
}

/* Clean floating navigation with matching light and dark surfaces. */
header.site-header,
header.site-header.smaller {
    width: min(1360px, calc(100% - 40px));
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    background: rgba(12, 27, 45, .72);
    box-shadow: 0 12px 36px rgba(3, 12, 23, .2);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
header.site-header .de-flex { min-height: 70px; gap: clamp(.5rem, 1.6vw, 1.4rem); }
header.site-header #logo img { max-width: 142px; max-height: 44px; }
header.site-header #mainmenu { gap: .12rem; }
header.site-header #mainmenu > li > a.menu-item {
    padding: .62rem .72rem;
    border: 1px solid transparent;
    border-radius: 10px;
    color: rgba(241,247,255,.78);
    font-size: .78rem;
    font-weight: 650;
}
header.site-header #mainmenu > li > a.menu-item:hover,
header.site-header #mainmenu > li > a.menu-item.active {
    border-color: rgba(255,255,255,.1);
    background: rgba(255,255,255,.09);
    color: #fff;
}
header.site-header .theme-toggle {
    min-height: 38px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #f1f6fc;
}
header.site-header .header-actions > a.btn-main {
    min-height: 40px;
    padding: .65rem 1rem;
    border-radius: 10px;
    background: #2878e8;
    box-shadow: 0 6px 18px rgba(40,120,232,.23);
}
header.site-header.smaller {
    top: 10px;
    padding-right: 16px;
    padding-left: 16px;
}
body.light-mode header.site-header,
body.light-mode header.site-header.smaller {
    border-color: rgba(30,48,72,.1);
    background: rgba(255,255,255,.76);
    box-shadow: 0 12px 36px rgba(30,48,72,.11);
}
body.light-mode header.site-header #mainmenu > li > a.menu-item { color: #43516a; }
body.light-mode header.site-header #mainmenu > li > a.menu-item:hover,
body.light-mode header.site-header #mainmenu > li > a.menu-item.active {
    border-color: rgba(40,120,232,.12);
    background: rgba(40,120,232,.08);
    color: #1765d1;
}
body.light-mode header.site-header .theme-toggle {
    border-color: rgba(30,48,72,.12);
    background: #f4f6f9;
    color: #29364b;
}
@media (min-width: 993px) {
    header.site-header .theme-toggle .theme-toggle-label { display: none; }
    header.site-header .theme-toggle {
        width: 40px;
        min-width: 40px;
        justify-content: center;
        padding-inline: 0;
    }
}
@media (max-width: 992px) {
    header.site-header,
    header.site-header.header-mobile,
    header.site-header.smaller {
        top: 10px;
        left: 12px;
        right: 12px;
        width: auto;
        padding: 0 14px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 16px;
        background: rgba(12,27,45,.78);
        box-shadow: 0 12px 32px rgba(3,12,23,.2);
    }
    body.light-mode header.site-header,
    body.light-mode header.site-header.header-mobile,
    body.light-mode header.site-header.smaller {
        border-color: rgba(30,48,72,.11);
        background: rgba(255,255,255,.82);
    }
    body.dark-scheme header.site-header #mainmenu,
    body.dark-scheme header.site-header.menu-open #mainmenu {
        border-color: rgba(255,255,255,.12);
        border-radius: 14px;
        background: rgba(16,34,57,.88);
        -webkit-backdrop-filter: blur(22px) saturate(145%);
        backdrop-filter: blur(22px) saturate(145%);
        box-shadow: 0 18px 44px rgba(3,12,23,.28);
    }
    body.light-mode header.site-header #mainmenu,
    body.light-mode header.site-header.menu-open #mainmenu {
        border-color: rgba(30,48,72,.1);
        border-radius: 14px;
        background: rgba(255,255,255,.9);
        -webkit-backdrop-filter: blur(22px) saturate(145%);
        backdrop-filter: blur(22px) saturate(145%);
        box-shadow: 0 18px 44px rgba(30,48,72,.14);
    }
    header.site-header #mainmenu,
    header.site-header.header-mobile #mainmenu {
        display: none !important;
        position: absolute !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        gap: 0;
        columns: 1 !important;
        column-count: 1 !important;
    }
    header.site-header.menu-open #mainmenu,
    header.site-header.header-mobile.menu-open #mainmenu {
        display: block !important;
    }
    header.site-header #mainmenu > li,
    header.site-header.header-mobile #mainmenu > li {
        position: relative !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        break-inside: avoid;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }
    header.site-header #mainmenu > li > a.menu-item,
    header.site-header.header-mobile #mainmenu > li > a.menu-item {
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 46px;
        align-items: center;
        float: none !important;
        margin: 0 !important;
        padding: .72rem 1rem !important;
        line-height: 1.4 !important;
        text-align: left;
        white-space: normal;
        transform: none !important;
    }
    header.site-header .de-flex { min-height: 64px; gap: .45rem; }
    header.site-header #logo img { max-width: 124px; max-height: 40px; }
    header.site-header .header-actions { gap: .45rem; }
    header.site-header .header-actions > a.btn-main { display: none !important; }
    header.site-header .theme-toggle {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        justify-content: center;
        padding: 0;
        border-radius: 13px;
    }
    header.site-header .theme-toggle .theme-toggle-label { display: none; }
    header.site-header #menu-btn {
        position: relative;
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        outline: 0;
        -webkit-appearance: none;
        appearance: none;
    }
    body.light-mode header.site-header #menu-btn {
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    header.site-header #menu-btn:hover,
    header.site-header #menu-btn:focus,
    header.site-header #menu-btn:active { border: 0; background: transparent; box-shadow: none; }
    header.site-header #menu-btn .menu-icon,
    header.site-header #menu-btn .menu-icon::before,
    header.site-header #menu-btn .menu-icon::after { background-color: #f4f7fb; }
    body.light-mode header.site-header #menu-btn .menu-icon,
    body.light-mode header.site-header #menu-btn .menu-icon::before,
    body.light-mode header.site-header #menu-btn .menu-icon::after { background-color: #29364b; }
    header.site-header #mainmenu {
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 9px !important;
        overflow: hidden auto;
        max-height: calc(100vh - 100px);
        box-shadow: 0 18px 44px rgba(3,12,23,.28);
    }
    header.site-header #mainmenu > li + li { border-top: 1px solid rgba(255,255,255,.07); }
    body.light-mode header.site-header #mainmenu > li + li { border-top-color: rgba(30,48,72,.07); }
    header.site-header #mainmenu > li > a.menu-item { min-height: 50px; border-radius: 10px; font-size: .94rem; }
}

/* Keep the footer compact and easy to scan on phone screens. */
@media (max-width: 767.98px) {
    .site-footer { padding-top: 3.25rem; }
    .site-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.25rem;
        padding-bottom: 2.75rem;
    }
    .site-footer-brand { grid-column: 1 / -1; }
    .site-footer-address { grid-column: 1 / -1; }
    .site-footer-brand-link { gap: .65rem; }
    .site-footer-brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
    .site-footer-logo { max-width: min(180px, calc(100vw - 100px)); }
    .site-footer-brand p { margin: .75rem 0 1.1rem; }
    .site-footer-email-pill { width: 100%; max-width: 430px; }
    .site-footer-menu a,
    .site-footer-address a { min-height: 34px; display: inline-flex; align-items: center; }
}
@media (max-width: 380px) {
    .site-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.65rem .9rem; }
    .site-footer-brand,
    .site-footer-address { grid-column: 1 / -1; }
    .site-footer-column h2,
    .site-footer-newsletter h2,
    .site-footer-follow h2 { font-size: .88rem; }
    .site-footer .site-footer-column p,
    .site-footer .site-footer-column a { font-size: .84rem; }
}

/* Stack footer sections and menu groups into one column on mobile. */
@media (min-width: 768px) {
    .site-footer-main { grid-template-columns: minmax(260px, 1.4fr) minmax(300px, 1.6fr) minmax(180px, .9fr); }
    .site-footer-menus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
}

/* Brand inspired full-screen site loader. */
#de-loader {
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 46%, rgba(20,91,137,.22), transparent 34%),
        radial-gradient(ellipse at 50% 100%, rgba(238,114,42,.08), transparent 40%),
        #091421 !important;
}
#de-loader > .lds-roller { display: none !important; }
#de-loader .site-loader { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 1.5rem; }
#de-loader .site-loader-symbol { position: relative; display: grid; width: 132px; height: 132px; place-items: center; }
#de-loader .site-loader-orbit,
#de-loader .site-loader-orbit::before,
#de-loader .site-loader-orbit::after { position: absolute; border-radius: 50%; content: ""; }
#de-loader .site-loader-orbit { inset: 5px; border: 1px solid rgba(190,214,236,.13); }
#de-loader .site-loader-orbit::before { inset: -1px; border: 2px solid transparent; border-top-color: #ee722a; border-right-color: #078ec7; animation: kic-loader-spin 2.1s linear infinite; }
#de-loader .site-loader-orbit::after { inset: 9px; border: 1px solid rgba(255,255,255,.07); }
#de-loader .site-loader-symbol img { position: relative; z-index: 1; display: block; width: 68px; height: 87px; object-fit: contain; filter: drop-shadow(0 5px 15px rgba(0,0,0,.3)); animation: kic-loader-breathe 1.8s ease-in-out infinite; }
body.light-mode #de-loader { background: radial-gradient(ellipse at 50% 46%, rgba(20,91,137,.11), transparent 36%), #f5f8fb !important; }
body.light-mode #de-loader .site-loader-orbit { border-color: rgba(30,57,82,.13); }
body.light-mode #de-loader .site-loader-orbit::after { border-color: rgba(30,57,82,.08); }
@keyframes kic-loader-spin { to { transform: rotate(360deg); } }
@keyframes kic-loader-breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.035); } }
@media (prefers-reduced-motion: reduce) {
    #de-loader .site-loader-orbit::before,
    #de-loader .site-loader-symbol img { animation: none; }
}

/* Use the requested navy FAQ background in both appearance modes. */
#section-faq.home-faq-section,
body.light-mode #section-faq.home-faq-section,
body.dark-scheme #section-faq.home-faq-section {
    background: #162f4b !important;
    color: #f4f7fb !important;
}
#section-faq .faq-heading h2,
body.light-mode #section-faq .faq-heading h2,
body.dark-scheme #section-faq .faq-heading h2,
#section-faq .faq-item .accordion-section-title,
body.light-mode #section-faq .faq-item .accordion-section-title,
body.dark-scheme #section-faq .faq-item .accordion-section-title { color: #f4f7fb !important; }
#section-faq .faq-heading p,
body.light-mode #section-faq .faq-heading p,
body.dark-scheme #section-faq .faq-heading p,
#section-faq .faq-item .accordion-section-content,
body.light-mode #section-faq .faq-item .accordion-section-content,
body.dark-scheme #section-faq .faq-item .accordion-section-content { color: #d0dce8 !important; }
#section-faq .faq-intro .subtitle,
body.light-mode #section-faq .faq-intro .subtitle,
body.dark-scheme #section-faq .faq-intro .subtitle { color: #f3a178 !important; }

/* Light mode FAQ: soft gray surface with crisp dark typography. */
body.light-mode #section-faq.home-faq-section {
    background: #e9edf1 !important;
    color: #171c22 !important;
}
body.light-mode #section-faq .faq-heading h2,
body.light-mode #section-faq .faq-item .accordion-section-title { color: #171c22 !important; }
body.light-mode #section-faq .faq-heading p,
body.light-mode #section-faq .faq-item .accordion-section-content { color: #48515c !important; }
body.light-mode #section-faq .faq-intro .subtitle { color: #465667 !important; }
body.light-mode #section-faq .faq-item { border-color: rgba(30,45,60,.13) !important; background: rgba(255,255,255,.68) !important; box-shadow: 0 10px 28px rgba(24,39,54,.06); }
body.light-mode #section-faq .faq-item:hover,
body.light-mode #section-faq .faq-item:has(.accordion-section-title.active) { border-color: rgba(22,47,75,.28) !important; background: #fff !important; }
body.light-mode #section-faq .faq-item .accordion-section-title.active { color: #162f4b !important; }

/* Low-contrast geometric backdrop details for both FAQ themes. */
#section-faq.home-faq-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #101d2b !important;
    background-image:
        radial-gradient(ellipse at 16% 12%, rgba(37,105,153,.18), transparent 36%),
        radial-gradient(ellipse at 88% 82%, rgba(238,114,42,.1), transparent 32%),
        linear-gradient(135deg, #101d2b 0%, #0b1520 100%) !important;
}
#section-faq.home-faq-section::before,
#section-faq.home-faq-section::after {
    position: absolute;
    z-index: -1;
    display: block;
    width: clamp(190px, 30vw, 390px);
    aspect-ratio: 1;
    border: 1px solid rgba(176,202,224,.08);
    border-radius: 34% 66% 56% 44% / 44% 40% 60% 56%;
    content: "";
    pointer-events: none;
}
#section-faq.home-faq-section::before {
    top: -34%;
    left: -10%;
    box-shadow: 0 0 0 26px rgba(176,202,224,.018), 0 0 0 54px rgba(176,202,224,.014);
    transform: rotate(28deg);
}
#section-faq.home-faq-section::after {
    right: -12%;
    bottom: -38%;
    border-color: rgba(238,142,91,.09);
    box-shadow: 0 0 0 24px rgba(238,142,91,.02), 0 0 0 52px rgba(238,142,91,.014);
    transform: rotate(-24deg);
}
#section-faq.home-faq-section > .container { position: relative; z-index: 1; }
body.light-mode #section-faq.home-faq-section {
    background-color: #fff !important;
    background-image: none !important;
}
body.light-mode #section-faq.home-faq-section::before { border-color: rgba(36,58,79,.075); box-shadow: 0 0 0 26px rgba(36,58,79,.016), 0 0 0 54px rgba(36,58,79,.012); }
body.light-mode #section-faq.home-faq-section::after { border-color: rgba(173,93,54,.085); box-shadow: 0 0 0 24px rgba(173,93,54,.017), 0 0 0 52px rgba(173,93,54,.012); }
body.dark-scheme #section-faq.home-faq-section,
body:not(.light-mode) #section-faq.home-faq-section {
    background-color: #050505 !important;
    background-image:
        radial-gradient(ellipse at 16% 12%, rgba(31,92,133,.13), transparent 36%),
        radial-gradient(ellipse at 88% 82%, rgba(195,91,42,.075), transparent 32%),
        #050505 !important;
}
body.dark-scheme #section-faq.home-faq-section::before,
body:not(.light-mode) #section-faq.home-faq-section::before,
body.dark-scheme #section-faq.home-faq-section::after,
body:not(.light-mode) #section-faq.home-faq-section::after { display: none; }
body.dark-scheme #section-faq.home-faq-section::before,
body:not(.light-mode) #section-faq.home-faq-section::before {
    display: block;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background-image: linear-gradient(rgba(210,226,242,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(210,226,242,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    box-shadow: none;
    transform: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
}
body.dark-scheme #section-faq.home-faq-section::after,
body:not(.light-mode) #section-faq.home-faq-section::after { display: none; }
@media (max-width: 767.98px) {
    .site-footer-main { grid-template-columns: minmax(0, 1fr) !important; }
    .site-footer-brand,
    .site-footer-address,
    .site-footer-menus { grid-column: 1 / -1 !important; }
    .site-footer-menus {
        display: flex !important;
        width: 100%;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
    }
    .site-footer-menu {
        display: flex !important;
        width: 100%;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .6rem !important;
        margin: 0 !important;
    }
    .site-footer-menu h2 { display: block; margin: 0 0 .5rem !important; }
    .site-footer-menu a {
        display: flex !important;
        width: 100%;
        min-height: 42px;
        align-items: center;
        margin: 0 !important;
        padding: .55rem 0 !important;
        line-height: 1.5 !important;
    }
}

/* FAQ and footer must remain visible if scroll animation JavaScript fails. */
/* The base theme clips the body; let the full home document scroll normally. */
body.home-page { overflow: visible !important; }

body.home-page .wow,
body.home-page #section-faq,
body.home-page .site-footer {
    visibility: visible !important;
}
body.home-page #section-faq,
body.home-page .site-footer {
    opacity: 1 !important;
    transform: none !important;
}

