 /* =========================================================
   ADA ACCESSIBILITY CSS
   Add this after the current site CSS so it can override safely.
   Brand color used: #4C0345
========================================================= */

/* Existing CSS was pasted into the tool.
   Recommended: keep original CSS as-is, then add these ADA overrides below it.
   Do not directly replace the full stylesheet without testing. */
/* =========================================================
   PREMIUM ADA TOOLBAR
========================================================= */
/* =========================================================
   ADA TOOLBAR - ARGUS BRAND STYLE
   Brand Color: #4C0345
========================================================= */

.boxCtrl {
    position: fixed;
    width:100%;
    
    z-index: 9999;
    background: #fff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(76, 3, 69, 0.12);
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    padding: 10px 0;
}

.boxCtrl .columns.large-12 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

/* groups */
.boxCtrl-text {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(76, 3, 69, 0.12);
    border-radius: 100px;
    padding: 6px 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

/* labels */
.Contrast-text {
    font-size: 13px;
    font-weight: 700;
    color: #4C0345;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* all buttons */
.boxCtrl-text a,
#rvfs-controllers a.btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#4C0345,#6b0d63);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
        padding: initial !important;
}

/* glow overlay */
.boxCtrl-text a::before,
#rvfs-controllers a.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.35),
        rgba(255,255,255,0)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* hover */
.boxCtrl-text a:hover,
#rvfs-controllers a.btn:hover {
   
    box-shadow: 0 8px 20px rgba(76,3,69,0.28);
}

.boxCtrl-text a:hover::before,
#rvfs-controllers a.btn:hover::before {
    opacity: 1;
}

/* active */
.boxCtrl-text a[aria-pressed="true"] {
    background: linear-gradient(135deg,#111111,#000000);
    box-shadow: 0 0 0 2px rgba(76,3,69,0.15);
}

/* skip button */
.boxCtrl .skipto {
    width: auto !important;
    height: auto !important;
    padding: 10px 16px !important;
    border-radius: 100px !important;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ADA toolbar SVG icons */
.boxCtrl svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 2.2;
    overflow: visible;
}

/* keep visible on hover */
.boxCtrl a:hover svg,
.boxCtrl a:focus svg {
    stroke: #ffffff !important;
}

/* night mode */
body.ada-night-mode .boxCtrl svg {
    stroke: #ffffff !important;
}

/* focus */
.boxCtrl a:focus,
#rvfs-controllers a.btn:focus {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

/* spacing between font controls */
#rvfs-controllers .btn-group {
    display: flex;
    gap: 6px;
}

/* night mode */
body.ada-night-mode .boxCtrl {
    background: rgba(10,10,10,0.94);
    border-color: rgba(255,255,255,0.08);
}

body.ada-night-mode .boxCtrl-text {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

body.ada-night-mode .Contrast-text {
    color: #ffffff;
}

/* mobile */
@media (max-width: 767px) {

    .boxCtrl {
        padding: 8px 0;
    }

    .boxCtrl .columns.large-12 {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .boxCtrl .columns.large-12::-webkit-scrollbar {
        height: 4px;
    }

    .boxCtrl .columns.large-12::-webkit-scrollbar-thumb {
        background: rgba(76,3,69,0.3);
        border-radius: 10px;
    }

    .boxCtrl-text {
        flex-shrink: 0;
    }

    .Contrast-text {
        display: none;
    }
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
summary:focus,
[tabindex]:focus {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 3px !important;
}

/* =========================================================
   ADA FONT TOOLBAR SUPPORT
========================================================= */

/* Optional body level classes for debugging / styling */
body.rvfs-1 { --ada-font-scale: 0.90; }
body.rvfs-2 { --ada-font-scale: 0.95; }
body.rvfs-3 { --ada-font-scale: 1; }
body.rvfs-4 { --ada-font-scale: 1.08; }
body.rvfs-5 { --ada-font-scale: 1.15; }
body.rvfs-6 { --ada-font-scale: 1.22; }
body.rvfs-7 { --ada-font-scale: 1.30; }

/* Do not let toolbar resize */
.boxCtrl,
.boxCtrl * {
    font-size: 16px !important;
    line-height: normal !important;
}

/* Keep SVG icons visible */
.boxCtrl svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 2.2;
    overflow: visible;
}

/* Prevent text clipping when font grows */
body[class*="rvfs-"] {
    overflow-wrap: break-word;
}

body[class*="rvfs-"] p,
body[class*="rvfs-"] li,
body[class*="rvfs-"] a,
body[class*="rvfs-"] span,
body[class*="rvfs-"] label,
body[class*="rvfs-"] button,
body[class*="rvfs-"] input,
body[class*="rvfs-"] textarea,
body[class*="rvfs-"] select,
body[class*="rvfs-"] td,
body[class*="rvfs-"] th {
    max-width: 100%;
}

/* Focus for ADA */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
    outline: 3px solid #ffbf47 !important;
    outline-offset: 3px !important;
}
body.ada-night-mode {
  background: #111111 !important;
  color: #f5f5f5 !important;
}

body.ada-night-mode section,
body.ada-night-mode header,
body.ada-night-mode footer,
body.ada-night-mode main,
body.ada-night-mode .is-section,
body.ada-night-mode .is-box,
body.ada-night-mode .is-container {
  background-color: #111111 !important;
  color: #f5f5f5 !important;
}

body.ada-night-mode a { color: #8fd3ff !important; }
body.ada-night-mode .boxCtrl { background: #000000 !important; border-color: #444444 !important; }
body.ada-night-mode .boxCtrl .Contrast-text { color: #ffffff !important; }
body.ada-night-mode .boxCtrl a { background: #222222 !important; color: #ffffff !important; border-color: #ffffff !important; }
body.ada-night-mode .boxCtrl .img-w { display: none !important; }
body.ada-night-mode .boxCtrl .img-b { display: block !important; }

body.ada-underline-links a {
  text-decoration: underline !important;
}

body.ada-stop-motion *,
body.ada-stop-motion *::before,
body.ada-stop-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
/* =========================================================
   ADA NIGHT MODE
========================================================= */

body.ada-night-mode {
  background: #111111 !important;
  color: #f5f5f5 !important;
}

/* Main layout containers */
body.ada-night-mode section,
body.ada-night-mode header,
body.ada-night-mode footer,
body.ada-night-mode main,
body.ada-night-mode article,
body.ada-night-mode aside,
body.ada-night-mode nav,
body.ada-night-mode div,
body.ada-night-mode .is-section,
body.ada-night-mode .is-box,
body.ada-night-mode .is-container,
body.ada-night-mode .container {
  background-color: #111111 !important;
  color: #f5f5f5 !important;
}

/* Text */
body.ada-night-mode p,
body.ada-night-mode li,
body.ada-night-mode span,
body.ada-night-mode label,
body.ada-night-mode td,
body.ada-night-mode th,
body.ada-night-mode strong,
body.ada-night-mode em {
  color: #f5f5f5 !important;
}

/* Headings */
body.ada-night-mode h1,
body.ada-night-mode h2,
body.ada-night-mode h3,
body.ada-night-mode h4,
body.ada-night-mode h5,
body.ada-night-mode h6 {
  color: #ffffff !important;
}

/* Links */
body.ada-night-mode a {
  color: #8fd3ff !important;
}

body.ada-night-mode a:hover,
body.ada-night-mode a:focus {
  color: #ffffff !important;
}

/* Buttons */
body.ada-night-mode button,
body.ada-night-mode .button,
body.ada-night-mode input[type="submit"],
body.ada-night-mode input[type="button"] {
  background: #222222 !important;
  color: #ffffff !important;
  border-color: #666666 !important;
}

/* Forms */
body.ada-night-mode input,
body.ada-night-mode textarea,
body.ada-night-mode select {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border: 1px solid #666666 !important;
}

body.ada-night-mode input::placeholder,
body.ada-night-mode textarea::placeholder {
  color: #cccccc !important;
}

/* Tables */
body.ada-night-mode table {
  background: #111111 !important;
  color: #ffffff !important;
}

body.ada-night-mode table td,
body.ada-night-mode table th {
  border-color: #444444 !important;
}

/* Cards / boxes */
body.ada-night-mode .card,
body.ada-night-mode .box,
body.ada-night-mode .service-card,
body.ada-night-mode .mortgage-card,
body.ada-night-mode .solution-card {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-color: #444444 !important;
}

/* Accessibility toolbar */
body.ada-night-mode .boxCtrl {
  background: #000000 !important;
  border-bottom: 1px solid #444444 !important;
}

body.ada-night-mode .boxCtrl .Contrast-text,
body.ada-night-mode .boxCtrl .skipto {
  color: #ffffff !important;
}

body.ada-night-mode .boxCtrl a,
body.ada-night-mode #rvfs-controllers a.btn {
  background: #222222 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Switch white/black icons */
body.ada-night-mode .boxCtrl .img-w {
  display: none !important;
}

body.ada-night-mode .boxCtrl .img-b {
  display: block !important;
}

/* Focus styles */
body.ada-night-mode a:focus,
body.ada-night-mode button:focus,
body.ada-night-mode input:focus,
body.ada-night-mode textarea:focus,
body.ada-night-mode select:focus,
body.ada-night-mode [tabindex]:focus {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 3px !important;
}

/* Images */
body.ada-night-mode img {
  opacity: 0.95;
}

/* Optional: slightly dim very bright images */
body.ada-night-mode .darken-img img {
  filter: brightness(0.85);
}

/* Slick slider */
body.ada-night-mode .slick-prev,
body.ada-night-mode .slick-next {
  background: #222222 !important;
  border-color: #ffffff !important;
}

/* Mobile menu */
body.ada-night-mode .menu,
body.ada-night-mode .off-canvas,
body.ada-night-mode .dropdown-pane {
  background: #111111 !important;
}

/* Borders */
body.ada-night-mode * {
  border-color: rgba(255,255,255,0.15);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

nav li.ada-menu-open > ul,
.menu li.ada-menu-open > ul,
.main-menu li.ada-menu-open > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 1023.5px) {
 /* =========================================================
   MOBILE ADA TOOLBAR
========================================================= */

@media (max-width: 767px) {

    .boxCtrl .columns.large-12 {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0;
    }

    /* =====================================================
       FIRST ROW - SKIP BUTTON
    ===================================================== */

    .boxCtrl .columns.large-12 > .boxCtrl-text:first-child {
        width: 100%;
        flex: 0 0 100%;
        justify-content: center;
        padding-bottom: 14px;
        margin-bottom: 14px;

        border-radius: 0;
        border-bottom: 1px solid rgba(76, 3, 69, 0.15);

        background: transparent;
        box-shadow: none;
    }

    .boxCtrl .skipto {
        width: 100% !important;
        justify-content: center;
        text-align: center;
    }

    /* =====================================================
       SECOND ROW - CONTRAST + FONT
    ===================================================== */

    .boxCtrl .columns.large-12 > .boxCtrl-text:nth-child(2),
    .boxCtrl .columns.large-12 > .boxCtrl-text:nth-child(3) {
        width: 50%;
        flex: 0 0 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }

    /* separator line */
    .boxCtrl .columns.large-12 > .boxCtrl-text:nth-child(2) {
        border-right: 1px solid rgba(76, 3, 69, 0.15);
    }

    /* optional remove outer borders */
    .boxCtrl .columns.large-12 > .boxCtrl-text:nth-child(2),
    .boxCtrl .columns.large-12 > .boxCtrl-text:nth-child(3) {
        border-top: 0;
        border-left: 0;
        border-bottom: 0;
    }

    /* smaller mobile buttons */
    .boxCtrl-text a,
    #rvfs-controllers a.btn {
        width: 36px;
        height: 36px;
    }

    /* show labels on mobile */
    .Contrast-text {
        display: inline-block;
    }
}
}