/* =================================
   GLOBAL STYLES
================================= */

:root {
    --site-text: #222222;
    --site-primary: #2563eb;
}

/* Base */
body {
    color: var(--site-text);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Keyboard Accessibility */
:where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--site-primary);
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* =================================
   TOP BAR
================================= */

.ast-mobile-header-wrap .ast-above-header-bar,
.ast-above-header-bar .site-above-header-wrap {
    min-height: 40px !important;
}


/* =================================
   HEADER CONTACT
================================= */

.header-contact {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-contact a:hover {
    color: #fff;
    opacity: 0.8;
}

.header-contact i {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.header-contact-email {
    justify-content: flex-start;
}

.header-contact-phone {
    justify-content: flex-end;
}


/* =================================
   MAIN HEADER
================================= */

.ast-main-header-wrap {
    position: relative;
    z-index: 999;
    transition: box-shadow 0.25s ease;
}

/* Sticky State */
.ast-main-header-wrap.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .ast-main-header-wrap.is-sticky {
    top: 32px;
}

header .custom-logo-link img {
    margin-top: -8px;
    margin-bottom: -8px;
}


/* =================================
   MAIN NAVIGATION
================================= */

.main-header-menu .menu-link,
.main-header-menu>a {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.ast-builder-menu-1 .menu-item>.menu-link {
    transition: transform 0.4s !important;
}

.ast-builder-menu-1 .menu-item>.menu-link:hover {
    transform: translateY(-5px);
}
.ast-builder-menu-1 .sub-menu .current-menu-item.menu-item>.menu-link,
.ast-builder-menu-1 .sub-menu .menu-item>.menu-link:hover {
transform: translateY(0px);
    background-color: #064237;
    color: #fff;
}

.ast-builder-menu-1 .sub-menu .menu-item>.menu-link:hover {
transform: translateY(0px);
}


/* Hide Last Menu Item on Desktop */
/*.main-header-menu .menu-item:last-child {
    display: none;
}*/


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 1199px) {

    .main-header-menu .menu-link,
    .main-header-menu>a {
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    header .custom-logo-link img {
        width: 98px;
    }
}

@media (max-width: 1023px) {
    .ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button {
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .ast-header-break-point .main-navigation ul .menu-item .menu-link {
        padding: 3px 20px !important;
    }

    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle {
        top: 3px !important;
        right: calc(0px - -4px) !important;
        background: transparent !important;
    }

}

@media (max-width: 923px) {
    .ast-builder-button-wrap.ast-builder-button-size- {
        margin-right: -20px;
    }
}


@media (max-width: 782px) {

    body.admin-bar .ast-main-header-wrap.is-sticky {
        top: 46px;
    }
}


@media (min-width: 920px) and (max-width: 950px) {
    .ast-builder-grid-row {
        grid-template-columns: auto auto !important;
        column-gap: 4px !important;
    }
}

@media (max-width: 767px) {

    .header-contact a {
        font-size: 14px;
        gap: 7px;
    }

    .header-contact i {
        font-size: 15px;
    }

    /* Show Last Menu Item on Mobile */
    .main-header-menu .menu-item:last-child {
        display: block;
    }
}

/* Header End */



/* Footer start */

/* =================================
   CAAPS FOOTER
================================= */

.caaps-footer {
    --footer-muted: rgba(255, 255, 255, 0.65);
    padding: 65px 0px 20px;
    color: #fff;
}

.caaps-footer *,
.caaps-footer *::before,
.caaps-footer *::after {
    box-sizing: border-box;
}

/* Main Footer Layout */

.caaps-footer-main {
    display: grid;
    grid-template-columns: 1.15fr 0.9fr 1fr;
    column-gap: 60px;
    padding: 0 25px 38px;
}

/* Logo */

.caaps-footer-brand {
    display: flex;
    align-items: flex-start;
    padding-top: 0px;
}

.caaps-footer-brand a {
    display: inline-block;
    color: #fff;
}

.caaps-footer-brand img {
    display: block;
    width: 205px;
    max-width: 100%;
    height: auto;
}

/* Section Headings */

.ast-builder-html-element .caaps-footer h3 {
    color: #fff;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 17px;
    position: relative;
}


.ast-builder-html-element .caaps-footer-line {
    display: block;
    width: 50px;
    height: 2px;
    background: var(--footer-muted);
    margin-bottom: 15px;
}

/* Footer Lists */

.ast-builder-html-element .caaps-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ast-builder-html-element .caaps-footer li {
    padding: 0;
    margin: 0;
}

/* Navigation Links */

.ast-builder-html-element .caaps-footer-links li {
    margin-bottom: 10px;
}

.ast-builder-html-element .caaps-footer a {
    color: var(--footer-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ast-builder-html-element .caaps-footer-links a {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.ast-builder-html-element .caaps-footer a:hover {
    color: var(--footer-text);
    opacity: 0.7;
}

/* Contact Information */

.ast-builder-html-element .caaps-footer-contact li {
    margin-bottom: 21px;
}

.ast-builder-html-element .caaps-footer-contact li:last-child {
    margin-bottom: 0;
}

.ast-builder-html-element .caaps-footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

.ast-builder-html-element .caaps-footer-contact i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 25px;
    font-size: 22px;
    line-height: 1;
}

.ast-builder-html-element .caaps-footer-contact li:nth-child(3) i,
.ast-builder-html-element .caaps-footer-contact li:nth-child(4) i,
.ast-builder-html-element .caaps-footer-contact li:nth-child(5) i {
    font-size: 27px;
}

/* Footer Bottom */

.ast-builder-html-element .caaps-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--footer-muted);
    padding-top: 36px;
}

.ast-builder-html-element .caaps-footer-copyright {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.ast-builder-html-element .caaps-footer-legal {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ast-builder-html-element .caaps-footer-legal a {
    font-size: 15px;
    font-weight: 500;
}


/* =================================
   TABLET RESPONSIVE
================================= */

@media (max-width: 1024px) {

    .caaps-footer {
        padding: 55px 25px 35px;
    }

    .caaps-footer-main {
        grid-template-columns: 0.8fr 0.8fr 1.2fr;
        column-gap: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .caaps-footer-brand img {
        width: 170px;
    }

    .caaps-footer-contact a {
        font-size: 14px;
        gap: 10px;
    }

    .caaps-footer-contact i {
        width: 23px;
        min-width: 23px;
        font-size: 22px;
    }
}


/* =================================
   MOBILE RESPONSIVE
================================= */

@media (max-width: 767px) {

    .caaps-footer {
        padding: 45px 22px 25px;
    }

    .caaps-footer-main {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 60px;
        padding: 0 0 40px 0;
    }

    .caaps-footer-brand {
        grid-column: 1;
        padding-top: 0;
        text-align: center;
        display: flex;
        /*justify-content: center;*/
        margin-bottom: 15px;
        margin-top: 0px;
    }

    .ast-builder-html-element .caaps-footer-contact li {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .caaps-footer-brand img {
        width: 165px;
    }

    .caaps-footer h3 {
        font-size: 19px;
    }

    .ast-builder-html-element .caaps-footer-line {
        margin: auto;
    }

    .caaps-footer-links a {
        font-size: 14px;
    }

    .caaps-footer-contact {
        grid-column: 1 / -1;
        margin-top: 65px;
    }

    .caaps-footer-contact li {
        margin-bottom: 16px;
    }

    .caaps-footer-contact a {
        font-size: 14px;
        gap: 12px;
    }

    .caaps-footer-contact i {
        width: 24px;
        min-width: 24px;
        font-size: 22px;
    }

    .caaps-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding-top: 25px;
    }

    .caaps-footer-copyright {
        font-size: 13px;
    }

    .caaps-footer-legal {
        gap: 25px;
    }

    .caaps-footer-legal a {
        font-size: 14px;
    }
}


/* Small Mobile */

@media (max-width: 380px) {

    .caaps-footer-main {
        grid-template-columns: 1fr;
    }

    .caaps-footer-brand,
    .caaps-footer-contact {
        grid-column: auto;
    }
}

/* End */



/* =========================================
   CAAPS TESTIMONIAL SLIDER
========================================= */

.caaps-testimonial-slider {
    position: relative;
    width: 100%;
    padding: 0 0px 45px;
    box-sizing: border-box;
}

.caaps-testimonial-slider *,
.caaps-testimonial-slider *::before,
.caaps-testimonial-slider *::after {
    box-sizing: border-box;
}

/* Viewport */

.caaps-testimonial-viewport {
    width: 100%;
    overflow: hidden;
}

/* Track */

.caaps-testimonial-track {
    display: flex;
    gap: 10px;
    transition: transform 0.45s ease;
    will-change: transform;
}

/* Slides */

.caaps-testimonial-slide {
    flex: 0 0 calc((100% - 20px) / 3);
    min-width: 0;
}

/* Testimonial Card */

.caaps-testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 470px;
    height: 100%;
    padding: 28px 25px;
    background: #bfd0d0;
    border-radius: 5px;
    text-align: center;
}

/* Testimonial Text */

.caaps-testimonial-text {
    width: 100%;
    color: #222;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.caaps-testimonial-text p {
    margin: 0 0 10px;
}

.caaps-testimonial-text p:last-child {
    margin-bottom: 0;
}

/* Author */

.caaps-testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding-top: 30px;
}

.caaps-testimonial-author img {
    display: block;
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
}

.caaps-testimonial-name {
    color: #4c4c4c;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

/* Navigation Arrows */

.caaps-testimonial-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 45px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: #fff !important;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 0.2s ease;
    box-shadow: none !important;
}

.caaps-testimonial-arrow:hover {
    color: #70b2bb !important;
    opacity: 0.8;
}

.caaps-testimonial-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.caaps-testimonial-prev {
    left: 0;
}

.caaps-testimonial-next {
    right: 0;
}

/* Pagination Dots */

.caaps-testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.caaps-testimonial-dot {
    display: block;
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50% !important;
    background: #466f74cf !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0 !important;
}

.caaps-testimonial-dot.active {
    background: #075663 !important;
    transform: scale(1.15);
}

.caaps-testimonial-dot:hover {
    background: #075663;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .caaps-testimonial-slide {
        flex-basis: calc((100% - 10px) / 2);
    }

    .caaps-testimonial-card {
        min-height: 430px;
        padding: 25px 20px;
    }

}


/* =========================================
   TESTIMONIAL DRAG & SWIPE
========================================= */

.caaps-testimonial-viewport {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.caaps-testimonial-viewport.is-dragging {
    cursor: grabbing;
}

.caaps-testimonial-viewport.is-dragging .caaps-testimonial-track {
    transition: none !important;
}

.caaps-testimonial-slide {
    user-select: none;
    -webkit-user-select: none;
}

.caaps-testimonial-slide img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Keep cloned slides consistent */
.caaps-testimonial-slide {
    flex-shrink: 0;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {


    .caaps-footer-menu {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        width: 100% !IMPORTANT;
        max-width: 100%;
    }

    .caaps-footer-menu li {
        width: calc(50% - 10px) !important;
        display: inline-block;
        max-width: 100%;
    }

    .caaps-testimonial-slider {
        padding: 0 0px 40px;
    }

    .caaps-testimonial-slide {
        flex-basis: 100%;
    }

    .caaps-testimonial-card {
        min-height: 380px;
        padding: 25px 20px;
    }

    .caaps-testimonial-text {
        font-size: 14px;
    }

    .caaps-testimonial-name {
        font-size: 15px;
    }

    .caaps-testimonial-arrow {
        width: 25px;
        font-size: 32px;
    }

    .caaps-testimonial-dots {
        gap: 10px;
        margin-top: 15px;
    }

}

/* =========================================
   CAAPS CUSTOM HEADER & FOOTER
========================================= */
:root {
    --caaps-teal: #07545d;
    --caaps-teal-dark: #07545d;
    --caaps-header-text: #064f59;
}
.caaps-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}
.caaps-site-header { position: relative; z-index: 99; width: 100%; }
.caaps-topbar {
    height: 40px;
    background: var(--caaps-teal);
    color: #fff;
    overflow: hidden;
    transition: height .28s ease, opacity .22s ease, transform .28s ease;
}
.caaps-topbar-inner {
    height: 40px; display:flex; align-items:center; justify-content:space-between;
}
.caaps-topbar a {
    color:#fff !important; text-decoration:none; font-size:14px; font-weight:600;
    display:inline-flex; align-items:center; gap:9px;
}
.caaps-top-icon { font-size:17px; line-height:1; }
.caaps-main-header {
    background:#fff; border-bottom:1px solid #e5e9e9;
    width:100%; transition: box-shadow .25s ease, transform .25s ease;
}
.caaps-header-inner {
    min-height:96px; display:flex; align-items:center; justify-content:space-between; gap:28px;
}
.caaps-header-brand { flex:0 0 auto; min-width:145px; padding-top: 5px}
.caaps-header-brand .custom-logo-link { display:inline-flex; align-items:center; }
.caaps-header-brand img.custom-logo {
    display: block;
    width: auto;
    max-width: 125px;
    margin-top: 2px;
}
.caaps-text-logo { color:var(--caaps-header-text); font-size:25px; font-weight:800; text-decoration:none; }
.caaps-primary-navigation { display:flex; align-items:center; justify-content:flex-end; gap:28px; }
.caaps-header-menu, .caaps-header-menu ul {
    list-style:none; margin:0; padding:0;
}
.caaps-header-menu { display:flex; align-items:center; gap:28px; }
.caaps-header-menu li { position:relative; margin:0; }
.caaps-header-menu a {
    color:var(--caaps-header-text); text-decoration:none; font-size:16px; font-weight:500;
    display:flex; align-items:center; gap:2px; padding:12px 0;
}
.caaps-header-menu a:hover, .caaps-header-menu .current-menu-item > a { color:#064f59; }
.caaps-header-menu .menu-item-has-children > a:after {
    content:""; width:7px; height:7px; border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin:-4px 0 0 3px;
}

.caaps-header-menu a:focus {
    outline: none;
    border: none;
}

.caaps-header-menu .sub-menu {
    position:absolute; top:100%; left:0; min-width:210px; padding:9px 0; background:#fff;
    box-shadow:0 12px 30px rgba(0,0,0,.12); border:1px solid #edf0f0; border-radius:4px;
    opacity:0; visibility:hidden; transform:translateY(8px); transition:.2s ease; z-index:20;
}
.caaps-header-menu li:hover > .sub-menu, .caaps-header-menu li:focus-within > .sub-menu {
    opacity:1; visibility:visible; transform:translateY(0);
}
.caaps-header-menu .sub-menu li a { padding:10px 16px; white-space:normal; }

.caaps-header-menu .sub-menu li.current-menu-item a,
.caaps-header-menu .sub-menu li a:hover {
    background: #064f59;
    color: #fff !important;
}
.caaps-header-menu .sub-menu .sub-menu { top:0; left:100%; }
.caaps-header-cta {
    display:inline-flex; align-items:center; justify-content:center; min-height:48px;
    padding:0 17px; border:1px solid var(--caaps-header-text); border-radius:5px;
    color:var(--caaps-header-text); text-decoration:none; font-size:15px; white-space:nowrap;
    transition:background .2s ease,color .2s ease;
}
.caaps-header-cta:hover { background:var(--caaps-teal); color:#fff; }
.caaps-menu-toggle { display:none; }
.caaps-site-header.is-sticky {
    position:sticky; top:0;
}
.caaps-site-header.is-sticky .caaps-topbar {
    height:0; opacity:0; transform:translateY(-100%); pointer-events:none;
}
.caaps-site-header.is-sticky .caaps-main-header {
    box-shadow:0 5px 18px rgba(0,0,0,.09);
}
.caaps-site-footer {
    background:var(--caaps-teal); color:#fff; padding:80px 0 0;
}
.caaps-footer-main {
    display:grid; grid-template-columns:1.15fr .9fr 1fr; column-gap:70px;
    padding:0 30px 48px; align-items:start;
}
.caaps-footer-brand { padding-top:0px; }
.caaps-footer-brand .custom-logo-link { display:inline-flex; }
.caaps-footer-brand img.custom-logo {
    display:block; width:auto; max-width:190px; max-height:130px; object-fit:contain;
    filter:brightness(0) invert(1);
}
.caaps-footer-brand .caaps-text-logo { color:#fff; font-size:38px; }
.caaps-footer-links h2, .caaps-footer-contact h2 {
    color:#fff !important; font-size:20px!important; line-height:1.3!important; font-weight:600!important; margin:0 0 18px;
}
.caaps-footer-heading-line { display:block; width:50px; height:1px; background:rgba(255,255,255,.8); margin-bottom:22px; }
.caaps-footer-menu { list-style:none; margin:0; padding:0; }
.caaps-footer-menu li { margin:0 0 13px; }
.caaps-footer-menu a { color:#fff !important; text-decoration:none; font-size:15px; font-weight:600; }
.caaps-footer-menu a:hover, .caaps-legal-menu a:hover { text-decoration:none; }
.caaps-footer-contact ul { list-style:none; margin:0; padding:0; }
.caaps-footer-contact li {
    display:flex; align-items:flex-start; gap:12px; margin:0 0 18px;
    color:#fff; font-size:14px; line-height:1.65; font-weight:600;
}
.caaps-footer-contact li > span:first-child { flex:0 0 20px; font-size:20px; line-height:1.25; }
.caaps-footer-contact a { color:#fff !important; text-decoration:none !important; }
.caaps-location-icon { font-size:17px !important; }
.caaps-footer-bottom {
    min-height:105px; border-top:1px solid rgba(255,255,255,.65);
    display:flex; align-items:center; justify-content:space-between; gap:24px;
    padding:20px 0;
}
.caaps-footer-bottom p { margin:0; color:#fff; font-size:14px; font-weight:600; }
.caaps-legal-menu { display:flex; list-style:none; gap:32px; margin:0; padding:0; }
.caaps-legal-menu a { color:#fff !important; text-decoration:none; font-size:14px; font-weight:600; }

@media (max-width: 1100px) {
    .caaps-primary-navigation { gap:16px; }
    .caaps-header-menu { gap:17px; }
    .caaps-header-menu a { font-size:14px; }
    .caaps-footer-main { column-gap:40px; }
}
@media (max-width: 900px) {
    .caaps-container { width:min(100% - 36px, 1280px); }
    .caaps-header-inner { min-height:82px; }
    .caaps-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 25px;
        height: 25px;
        padding: 0px !important;
        border: none;
        border-radius: 4px;
        background: #fff;
        background-color: #fff !IMPORTANT;
        cursor: pointer;
    }
    .caaps-menu-toggle span { display:block; width:100%; height:2px; background: #04535c; transition:.2s ease; }
    .caaps-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
    .caaps-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
    .caaps-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
    .caaps-primary-navigation {
        display:none; position:absolute; top:100%; left:0; right:0; padding:12px 24px 20px;
        background:#fff; box-shadow:0 12px 18px rgba(0,0,0,.1); align-items:stretch;
        flex-direction:column; gap:12px; max-height:calc(100vh - 82px); overflow:auto;
    }
    .caaps-site-header.menu-open .caaps-primary-navigation { display:flex; }
    .caaps-header-menu { display:block; }
    .caaps-header-menu li { border-bottom:1px solid #edf0f0; }
    .caaps-header-menu a { padding:13px 2px; justify-content:space-between; }
    .caaps-header-menu .sub-menu {
        display:none; position:static; opacity:1; visibility:visible; transform:none;
        box-shadow:none; border:0; border-radius:0; padding:0 0 5px 15px; min-width:0;
    }
    .caaps-header-menu li.submenu-open > .sub-menu { display:block; }
    .caaps-header-menu .sub-menu li a { padding:10px 4px; }
    .caaps-header-menu .sub-menu .sub-menu { left:auto; top:auto; }
    .caaps-header-cta { align-self:flex-start; }
    .caaps-footer-main { grid-template-columns:1fr 1fr; row-gap:42px; padding-inline:10px; }
    .caaps-footer-brand { grid-column:1 / -1; padding-top:0; }
    .caaps-footer-brand img.custom-logo { max-height:105px; }
}
@media (max-width: 600px) {
    .caaps-container { width:calc(100% - 32px); }
    .caaps-topbar, .caaps-topbar-inner { height:auto; min-height:38px; }
    .caaps-topbar-inner { gap:8px; }
    .caaps-topbar a { font-size:11px; gap:5px; }
    .caaps-top-icon { font-size:14px; }
    .caaps-header-inner { min-height:72px; }
    .caaps-header-brand img.custom-logo {
        max-width: 86px;
        max-height: 62px;
        margin-top: 2px;
    }
    .caaps-primary-navigation { max-height:calc(100vh - 72px); padding-inline:16px; }
    .caaps-footer-main { display:grid; grid-template-columns:1fr; row-gap:34px; padding:0 0 34px; }
    .caaps-footer-brand { grid-column:auto; }
    .caaps-footer-brand img.custom-logo { max-width:205px; max-height:105px; }
    .caaps-footer-links h2, .caaps-footer-contact h2 { font-size:19px; }
    .caaps-footer-bottom { align-items:center; flex-direction:column; min-height:0; gap:16px; padding:22px 0; }
    .caaps-footer-bottom p { font-size:12px; line-height:1.6; }
    .caaps-legal-menu { gap:22px; flex-wrap:wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .caaps-site-header *, .caaps-site-footer * { transition:none !important; scroll-behavior:auto !important; }
}

/* =========================================
   CAAPS FIXED HEADER: SMOOTH TOPBAR COLLAPSE
   ========================================= */

/* Keep the complete header fixed and reserve its height in the document flow. */
.caaps-site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99;
    transform: translateY(0);
    transition: transform .32s ease, box-shadow .32s ease;
    will-change: transform;
}

/* WordPress admin toolbar offsets. */
body.admin-bar .caaps-site-header { top: 32px; }

@media screen and (max-width: 782px) {
    body.admin-bar .caaps-site-header { top: 46px; }
}

/* Move the whole header upward by the measured topbar height in one motion. */
.caaps-site-header.is-sticky {
    position: fixed !important;
    top: 0;
    transform: translateY(calc(-1 * var(--caaps-topbar-height, 40px)));
    box-shadow: 0 5px 18px rgba(0, 0, 0, .09);
}

body.admin-bar .caaps-site-header.is-sticky { top: 32px; }

@media screen and (max-width: 782px) {
    body.admin-bar .caaps-site-header.is-sticky { top: 46px; }
}

/* The topbar is not collapsed independently; it travels with the whole header. */
.caaps-site-header.is-sticky .caaps-topbar {
    height: 40px;
    min-height: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .caaps-site-header { transition: none !important; }
}