/* Header + footer styles extracted from the prod2 design (public/home/css/style.css, theme.css)
   so inner pages get the same chrome without Bootstrap or the homepage section styles. */

/* ---- from css/style.css ---- */
@font-face {
    font-family: 'Freight Big Light';
    src: url('../fonts/FreightBigLight.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root {
    
    --blue-primary: #0a2540;
    
    --blue-dark: #0a2540;
    
    --blue-gradient:#0a2540;
    
    --yellow: #c5a55a;
    --dark: #141414;
    --gray: #454545;
    --light-blue: #CFE4F1;
    --red: #D3201B;
    --white: #FFFFFF;
    --white-80: rgba(255, 255, 255, 0.8);
    --teal: #075483;
    --sky: #51C8E8;
    --font-family: 'Lato', sans-serif;
    --font-body: 'Lato', sans-serif;
    --font-heading: 'Freight Big Light', 'Playfair Display', serif;
    --font-button: 'Roboto', sans-serif;
}
.footer-btn {
    font-family: var(--font-button);
}
.top-thin-nav {
    width: 100%;
    height: 48px;
    background: #c5a55a;
    position: relative;
    z-index: 100;
}
.top-thin-nav .top-nav-link {
    color: var(--blue-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1em;
}
.top-thin-nav .top-nav-link:hover, .top-thin-nav .top-nav-link:focus-visible {
    color: var(--blue-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.main-nav {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    padding: 15px 30px;
    transition: all 0.4s ease;
    height: 80px;
    z-index: 999;
    background-color: #fff;
}
.main-nav.scrolled {
    
    top: 0;
    
    background: var(--blue-primary);
    backdrop-filter: blur(10px);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 30px;
    border-bottom: solid 2px var(--yellow);
}
.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-left {
    justify-content: flex-end;
}
@media (min-width: 1200px) {
.main-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
    }
.nav-left, .nav-right {
        gap: clamp(12px, 2vw, 32px);
        white-space: nowrap;
    }
}
.nav-link-item {
    
     color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.21em;
    padding: 8px;
    position: relative;
    transition: color 0.3s ease;
    
}
.main-nav.scrolled .nav-link-item {
    color: var(--white);
}
.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s ease;
}
.nav-link-item:hover {
    color: var(--blue-primary);
}
.main-nav.scrolled .nav-link-item:hover {
    color: var(--yellow);
}
.nav-link-item:hover::after {
    width: 80%;
}
.nav-dropdown {
    position: relative;
}
.nav-dropdown .nav-link-item .fa-chevron-down {
    font-size: 11px;
    margin-left: 4px;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    padding: 8px 0;
    flex-direction: column;
    z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
}
.nav-dropdown-menu a {
    display: block;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 18px;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.nav-dropdown-menu a:hover {
    background: #f4f6fb;
    color: var(--blue-primary);
}
.nav-link-item:focus-visible, .nav-dropdown-menu a:focus-visible, .mnav-toggle:focus-visible, .mnav-submenu a:focus-visible, .mnav-link:focus-visible, .mobile-toggle:focus-visible, .mobile-close:focus-visible, .mobile-menu-logo:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}
.nav-dropdown-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
}
.footer-contact-list {
    display: grid;
    gap: 8px;
}
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    justify-content: center;
    color: var(--white);
    font-size: 13px;
    text-align: center;
}
.footer-contact i {
    margin-right: 6px;
    color: var(--yellow);
}
.footer-contact a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nav-logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transition: all 0.4s ease;
    overflow: hidden;
}
.main-nav.scrolled .nav-logo {
    width: 60px;
    height: 60px;
    margin: 0 20px;
}
.nav-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.nav-logo img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--blue-primary);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.main-nav.scrolled .mobile-toggle {
    color: var(--white);
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.32s ease, visibility 0s linear 0.32s;
    z-index: 2000;
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.18);
}
.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.32s ease;
}
.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--blue-primary);
    border-bottom: 2px solid var(--yellow);
    flex-shrink: 0;
}
.mobile-menu-logo img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
    padding: 3px;
}
.mobile-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.mnav-item {
    border-bottom: 1px solid #eee;
}
.mnav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 22px;
    cursor: pointer;
    text-align: left;
}
.mnav-toggle .fa-chevron-down {
    font-size: 13px;
    color: var(--blue-primary);
    transition: transform 0.3s ease;
}
.mnav-item.open .mnav-toggle .fa-chevron-down {
    transform: rotate(180deg);
}
.mnav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #f8f9fc;
}
.mnav-item.open .mnav-submenu {
    max-height: 700px;
}
.mnav-submenu a {
    display: block;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 22px 12px 30px;
    border-top: 1px solid #eef1f6;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.mnav-submenu a:hover {
    background: #eef1f8;
    color: var(--blue-primary);
    padding-left: 34px;
}
.mnav-link {
    display: block;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 22px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease, color 0.2s ease;
}
.mnav-link:hover {
    background: #f4f6fb;
    color: var(--blue-primary);
}
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
    z-index: 1500;
}
.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-action, .mobile-toggle, .mobile-close {
    min-width: 44px;
    min-height: 44px;
}
.site-footer {
    background: var(--blue-gradient);
    color: var(--white);
}
.footer-top-links {
    padding: 40px 150px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.footer-link-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-btn {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43em;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
}
.footer-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--yellow);
    border-color: var(--yellow);
}
.footer-columns {
    display: flex;
    gap: 32px;
    padding: 72px 150px;
    flex-wrap: wrap;
}
.footer-col {
    flex: 1;
    min-width: 180px;
}
.footer-col h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5em;
    color: var(--white);
    margin-bottom: 24px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li a {
    font-size: 14px;
    font-weight: 400;
    line-height: 2.29em;
    color: var(--white-80);
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--yellow);
}
.footer-bottom {
    padding: 40px 150px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.footer-bottom-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 32px;
    height: 32px;
    border: 1px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--dark);
}
.footer-legal-links {
    display: flex;
    gap: 20px;
}
.footer-legal-links a {
    font-size: 11px;
    font-weight: 300;
    line-height: 1.5em;
    letter-spacing: 0.006em;
    color: var(--white);
    transition: color 0.3s ease;
}
.footer-legal-links a:hover {
    color: var(--yellow);
}
.footer-copyright {
    text-align: center;
}
.footer-copyright p {
    font-size: 11px;
    font-weight: 300;
    line-height: 1.5em;
    letter-spacing: 0.006em;
    color: var(--white);
}
@media (max-width: 1400px) {
.footer-top-links, .footer-columns, .footer-bottom {
        padding-left: 60px;
        padding-right: 60px;
    }
}
@media (max-width: 1199.98px) {
.nav-left, .nav-right {
        display: none;
    }
.mobile-toggle {
        display: block;
        position: static;
        margin-right: 4px;
    }
.main-nav {
        justify-content: space-between;
        gap: 14px;
    }
.nav-logo {
        margin: 0;
        width: 60px;
        height: 60px;
    }
.footer-columns {
        flex-wrap: wrap;
        gap: 24px;
    }
.footer-col {
        min-width: 160px;
    }
}
@media (max-width: 768px) {
.top-thin-nav {
        display: none;
    }
.main-nav {
        top: 0;
        padding: 10px 20px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
.main-nav.scrolled {
        border-radius: 0;
    }
.main-nav.scrolled .nav-logo {
        margin: 0;
    }
.main-nav .nav-link-item {
        color: var(--dark);
        text-shadow: none;
    }
.mobile-toggle {
        color: var(--dark);
        text-shadow: none;
    }
.nav-logo {
        width: 60px;
        height: 60px;
    }
.footer-top-links, .footer-columns, .footer-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }
.footer-link-buttons {
        flex-wrap: wrap;
    }
.footer-columns {
        flex-direction: column;
    }
.footer-bottom-top {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
.footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media (max-width: 480px) {
.footer-link-buttons {
        gap: 8px;
    }
.footer-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* ---- from css/theme.css ---- */
.mobile-actions {
    display: none;
}
@media (max-width: 1199.98px) {
.main-nav .mobile-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }
.mobile-action {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--blue-primary);
        color: var(--white);
        font-size: 15px;
        line-height: 1;
        box-shadow: 0 4px 12px rgba(10, 37, 64, 0.18);
        transition: transform 0.2s ease, background 0.2s ease;
    }
.mobile-action i {
        line-height: 1;
    }
.mobile-action:active {
        transform: scale(0.94);
    }
.mobile-action-wa {
        background: #25d366;
        color: var(--white);
    }
.main-nav .mobile-toggle {
        margin-left: 2px;
    }
.main-nav.scrolled .mobile-action {
        background: var(--yellow);
        color: var(--blue-primary);
    }
.main-nav.scrolled .mobile-action-wa {
        background: #25d366;
        color: var(--white);
    }
}
@media (max-width: 400px) {
.mobile-action {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
.nav-logo {
        width: 52px;
        height: 52px;
    }
}
@media (max-width: 360px) {
.main-nav, .main-nav.scrolled {
        padding-left: 14px;
        padding-right: 14px;
    }
.nav-logo, .main-nav.scrolled .nav-logo {
        width: 46px;
        height: 46px;
        margin: 0;
    }
.mobile-actions {
        gap: 6px;
    }
.mobile-action {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
.mobile-action .fas.fa-phone-alt {
        rotate: 90deg;
    }
.main-nav .mobile-toggle {
        font-size: 20px;
    }
}
.footer-legal-links a, .footer-copyright p {
    font-size: 13px;
    font-weight: 400;
}
.footer-col ul li a {
    display: block;
    padding: 6px 0;
    line-height: 1.4;
}

/* Bootstrap utilities used inside the header/footer markup (inner pages do not load Bootstrap). */
.top-thin-nav .d-flex { display: flex; }
.top-thin-nav .justify-content-end { justify-content: flex-end; }
.top-thin-nav .align-items-center { align-items: center; }
.top-thin-nav .h-100 { height: 100%; }
.top-thin-nav .px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.top-thin-nav .gap-4 { gap: 1.5rem; }
.top-thin-nav .fw-semibold { font-weight: 600; }
.site-footer .mt-4 { margin-top: 1.5rem; }
@media (min-width: 1200px) { .main-nav .d-xl-none { display: none !important; } }
/* Base styles the chrome relies on (Bootstrap reboot + prod2 globals), at zero specificity
   via :where() so every rule extracted from prod2 above still wins. */
:where(.top-thin-nav, .main-nav, .mobile-menu, .site-footer) { font-family: var(--font-body, 'Lato', sans-serif); line-height: 1.5; color: #141414; }
:where(.top-thin-nav, .main-nav, .mobile-menu, .site-footer) a { color: #0d6efd; text-decoration: none; }
:where(.top-thin-nav, .main-nav, .mobile-menu, .site-footer) button { font-family: var(--font-button, 'Roboto', sans-serif); }
:where(.site-footer) ul { list-style: none; padding-left: 0; margin: 0; }
:where(.site-footer, .mobile-menu) :is(h1, h2, h3, h4, h5, h6) { font-family: var(--font-heading); margin-top: 0; }
:where(.site-footer) p { margin: 0 0 1rem; }
:where(.top-thin-nav, .main-nav, .mobile-menu, .site-footer) img { display: inline; vertical-align: middle; }
:where(.mobile-overlay) { font-family: var(--font-body); color: #141414; }

/* Inner pages: the main bar is absolutely positioned (it floats over the homepage hero),
   so reserve its height above the page content. */
body.has-site-chrome > main { padding-top: 80px; }

/* Sticky header: once scrolled past the top (main.js adds .scrolled), the bar pins to the
   top of the screen in prod2's compact navy style and slides down into view. */
.main-nav.scrolled { position: fixed; top: 0; left: 0; right: 0; width: auto; transform: none; box-sizing: border-box; animation: ibs-nav-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes ibs-nav-in { from { translate: 0 -100%; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .main-nav.scrolled { animation: none; } }
