/* =========================================================
   LAA SITE CHROME — header, footer, scroll-to-top
   Used on every public page via Views/Shared/_Layout.cshtml
   Brand: amber #fbb257 · charcoal #202020 · Raleway
   Rules: square corners, no shadows, hairline rules.
   Everything is prefixed "lx-" so it cannot clash with the
   older template styles in style.css.
   ========================================================= */

:root {
    --lx-accent: #fbb257;
    --lx-accent-deep: #a96300;
    --lx-dark: #202020;
    --lx-dark-2: #161616;
    --lx-ink: #2a2a2a;
    --lx-muted: #6b6b6b;
    --lx-soft: #f6f5f2;
    --lx-line: #e3e0d9;
    --lx-line-dark: #333;
    --lx-font: "Raleway", "Arimo", Arial, sans-serif;
    --lx-bar: 76px;
}

.lx-header,
.lx-footer {
    font-family: var(--lx-font);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.lx-header *,
.lx-header *::before,
.lx-header *::after,
.lx-footer *,
.lx-footer *::before,
.lx-footer *::after,
.lx-totop {
    box-sizing: border-box;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.lx-header ul,
.lx-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lx-header li,
.lx-footer li {
    margin: 0;
    padding: 0;
}

.lx-header a,
.lx-footer a,
.lx-header a:hover,
.lx-footer a:hover,
.lx-header a:focus,
.lx-footer a:focus {
    text-decoration: none;
}

.lx-header :where(h2, h3, h4, p),
.lx-footer :where(h2, h3, h4, p) {
    margin: 0;
    font-family: var(--lx-font);
    text-transform: none;
    letter-spacing: normal;
}

.lx-header :focus-visible,
.lx-footer :focus-visible,
.lx-totop:focus-visible {
    outline: 2px solid var(--lx-accent) !important;
    outline-offset: 2px;
}

.lx-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.lx-skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    background: var(--lx-dark);
    color: #fff !important;
    padding: 10px 16px;
    font-weight: 600;
    transition: top .2s;
}

.lx-skip:focus { top: 12px; }

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */
/* page-wrapper had overflow:hidden (responsive.css) which breaks position:sticky.
   overflow:clip still hides horizontal spill but does not create a scroll container. */
.page-wrapper {
    overflow: visible !important;
    overflow-x: clip !important;
}

.lx-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--lx-line);
}

/* utility strip */
.lx-strip {
    background: var(--lx-dark-2);
    color: #d6d6d6;
    font-size: 12.5px;
}

.lx-strip .lx-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 38px;
}

.lx-strip-info,
.lx-strip-end {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.lx-strip a,
.lx-strip a:hover,
.lx-strip a:focus,
.lx-strip a:visited {
    color: #d6d6d6;
    transition: color .2s;
}

.lx-strip a:hover { color: var(--lx-accent); }

.lx-strip i {
    color: var(--lx-accent);
    margin-right: 8px;
    width: 12px;
    text-align: center;
}

.lx-strip-addr {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lx-social {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lx-social a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
}

.lx-social i { margin: 0; width: auto; color: inherit; }

/* main bar */
.lx-bar {
    position: relative;
}

.lx-bar .lx-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: var(--lx-bar);
}

.lx-brand {
    display: block;
    flex: 0 0 auto;
}

.lx-brand img {
    display: block;
    height: 54px;
    width: auto;
}

.lx-nav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    margin-left: auto;
}

.lx-nav > ul {
    display: flex;
    align-items: stretch;
    gap: 2px;
}

.lx-nav > ul > li {
    position: relative;
    display: flex;
    align-items: stretch;
}

.lx-link,
.lx-nav a.lx-link,
.lx-nav a.lx-link:visited {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 11px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lx-ink);
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--lx-font);
    transition: color .2s;
}

/* active / hover rule sits on the bottom edge of the bar, like a ruled line */
.lx-link::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: -1px;
    height: 3px;
    background: var(--lx-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.lx-link:hover,
.lx-nav a.lx-link:hover,
.lx-nav li:hover > .lx-link,
.lx-nav li.is-open > .lx-link {
    color: var(--lx-dark);
}

.lx-link:hover::after,
.lx-nav li:hover > .lx-link::after,
.lx-nav li.is-open > .lx-link::after,
.lx-link.is-active::after {
    transform: scaleX(1);
}

.lx-link.is-active { color: var(--lx-dark); }

.lx-caret {
    font-size: 10px;
    color: var(--lx-muted);
    transition: transform .2s;
}

.lx-nav li.is-open > .lx-link .lx-caret { transform: rotate(180deg); }

/* dropdown panels */
.lx-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    min-width: 250px;
    background: #fff;
    border: 1px solid var(--lx-line);
    border-top: 3px solid var(--lx-accent);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.lx-nav li:hover > .lx-panel,
.lx-nav li:focus-within > .lx-panel,
.lx-nav li.is-open > .lx-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.lx-panel--end { left: auto; right: 0; }

.lx-panel a,
.lx-panel a:visited {
    display: block;
    padding: 9px 22px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--lx-ink);
    transition: background .15s, color .15s, padding-left .15s;
}

.lx-panel a:hover,
.lx-panel a:focus {
    background: var(--lx-soft);
    color: var(--lx-dark);
    padding-left: 26px;
}

/* team panel: two groups side by side */
.lx-panel--team {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-width: 640px;
    padding: 0;
}

.lx-panel--team .lx-group { padding: 18px 0 14px; }

.lx-panel--team .lx-group + .lx-group { border-left: 1px solid var(--lx-line); }

.lx-group-title {
    padding: 0 22px 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--lx-accent-deep);
}

.lx-group ul.is-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* header call-to-action */
.lx-cta,
.lx-cta:visited {
    flex: 0 0 auto;
    display: none;
    align-items: center;
    padding: 12px 22px;
    background: var(--lx-dark);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.lx-cta:hover,
.lx-cta:focus {
    background: var(--lx-accent);
    color: var(--lx-dark) !important;
}

@media (min-width: 1280px) {
    .lx-cta { display: inline-flex; align-items: center; }
}

/* menu button — mobile only */
.lx-burger {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 1px solid var(--lx-line);
    cursor: pointer;
    position: relative;
}

.lx-burger span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: var(--lx-dark);
    transition: transform .25s, opacity .2s, top .25s;
}

.lx-burger span:nth-child(1) { top: 14px; }
.lx-burger span:nth-child(2) { top: 21px; }
.lx-burger span:nth-child(3) { top: 28px; }

.lx-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.lx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lx-burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------------------------------------------------------
   HEADER — tablet & mobile
   --------------------------------------------------------- */
@media (max-width: 1279px) {
    .lx-strip-addr { display: none; }
}

@media (max-width: 1099px) {
    :root { --lx-bar: 64px; }

    .lx-strip-addr,
    .lx-strip-mail,
    .lx-strip .lx-social { display: none; }

    .lx-strip .lx-wrap { justify-content: center; min-height: 34px; }

    .lx-brand img { height: 42px; }

    .lx-burger { display: block; }

    .lx-cta { display: none; }

    .lx-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        margin: 0;
        background: #fff;
        border-top: 1px solid var(--lx-line);
        border-bottom: 3px solid var(--lx-accent);
        max-height: calc(100vh - var(--lx-bar) - 40px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lx-nav.is-open { display: block; }

    .lx-nav > ul {
        display: block;
        padding: 6px 0 10px;
    }

    .lx-nav > ul > li {
        display: block;
        border-bottom: 1px solid var(--lx-line);
    }

    .lx-nav > ul > li:last-child { border-bottom: 0; }

    .lx-link,
    .lx-nav a.lx-link,
    .lx-nav a.lx-link:visited {
        width: 100%;
        min-height: 50px;
        padding: 0 24px;
        justify-content: space-between;
        font-size: 15px;
    }

    .lx-link::after {
        left: 0;
        right: auto;
        top: 12px;
        bottom: 12px;
        width: 3px;
        height: auto;
        transform: scaleY(0);
        transform-origin: top;
    }

    .lx-link:hover::after,
    .lx-nav li:hover > .lx-link::after,
    .lx-link.is-active::after { transform: scaleY(1); }

    /* panels become accordions */
    .lx-panel,
    .lx-panel--end {
        position: static;
        display: none;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 0;
        border-top: 1px solid var(--lx-line);
        background: var(--lx-soft);
        padding: 6px 0 10px;
        transition: none;
    }

    .lx-nav li:hover > .lx-panel,
    .lx-nav li:focus-within > .lx-panel { display: none; }

    .lx-nav li.is-open > .lx-panel { display: block; }

    .lx-nav li:hover > .lx-link .lx-caret { transform: none; }
    .lx-nav li.is-open > .lx-link .lx-caret { transform: rotate(180deg); }

    .lx-panel--team { display: none; grid-template-columns: 1fr; }
    .lx-nav li.is-open > .lx-panel--team { display: block; }

    .lx-panel--team .lx-group { padding: 8px 0; }
    .lx-panel--team .lx-group + .lx-group { border-left: 0; border-top: 1px solid var(--lx-line); }

    .lx-group ul.is-cols { grid-template-columns: 1fr; }

    .lx-panel a { padding: 11px 24px 11px 36px; }
    .lx-panel a:hover, .lx-panel a:focus { padding-left: 40px; }
    .lx-group-title { padding: 6px 24px 4px 36px; }

    .lx-nav .lx-cta-mobile {
        display: block;
        margin: 8px 24px 16px;
        padding: 14px 20px;
        background: var(--lx-dark);
        color: #fff !important;
        font-weight: 700;
        text-align: center;
    }
}

@media (min-width: 1100px) {
    .lx-cta-mobile { display: none !important; }
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.lx-footer {
    background: var(--lx-dark-2);
    color: #b9b9b9;
}

.lx-footer-main {
    padding: 64px 0 48px;
}

.lx-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 30px 36px;
}

.lx-footer h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.lx-footer a,
.lx-footer a:visited {
    color: #b9b9b9;
    transition: color .2s;
}

.lx-footer a:hover,
.lx-footer a:focus { color: var(--lx-accent); }

.lx-foot-brand img {
    display: block;
    height: 90px;
    width: auto;
    margin-bottom: 10px;
}

.lx-foot-brand p {
    max-width: 300px;
    font-size: 13.5px;
    line-height: 1.75;
    color: #a3a3a3;
}

.lx-foot-brand .lx-social { margin: 10px 0 0 -4px; gap: 6px; }

.lx-foot-brand .lx-social a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--lx-line-dark);
    color: #d6d6d6;
    transition: background .2s, border-color .2s, color .2s;
}

.lx-foot-brand .lx-social a:hover {
    background: var(--lx-accent);
    border-color: var(--lx-accent);
    color: var(--lx-dark);
}

.lx-foot-links li + li { margin-top: 11px; }

.lx-foot-links a {
    font-size: 13.5px;
}

.lx-foot-contact li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.6;
}

.lx-foot-contact li + li { margin-top: 14px; }

.lx-foot-contact i {
    margin-top: 4px;
    color: var(--lx-accent);
    font-size: 13px;
}

.lx-foot-map {
    margin-top: 20px;
    border: 1px solid var(--lx-line-dark);
}

.lx-foot-map iframe {
    display: block;
    width: 100%;
    height: 150px;
    border: 0;
    filter: grayscale(1) contrast(1.05);
    opacity: .85;
}

.lx-footer-bottom {
    border-top: 1px solid var(--lx-line-dark);
    padding: 18px 0;
    font-size: 12.5px;
}

.lx-footer-bottom .lx-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 28px;
}

.lx-credit {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lx-credit img {
    display: block;
    height: 26px;
    width: auto;
}

.lx-credit .lx-admin {
    padding-left: 14px;
    border-left: 1px solid var(--lx-line-dark);
}

@media (max-width: 1099px) {
    .lx-footer-grid { grid-template-columns: 1fr 1fr 1.2fr; }
    .lx-foot-brand { grid-column: 1 / -1; }
    .lx-foot-brand p { max-width: 520px; }
    .lx-foot-find { grid-column: 1 / -1; }
}

@media (max-width: 679px) {
    .lx-footer-main { padding: 44px 0 32px; }
    .lx-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .lx-foot-find { grid-column: 1 / -1; }
    .lx-footer-bottom .lx-wrap { justify-content: center; text-align: center; }
}

@media (max-width: 479px) {
    .lx-footer-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   SCROLL TO TOP
   --------------------------------------------------------- */
.lx-totop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--lx-dark);
    border: 1px solid var(--lx-dark);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s, background .2s, color .2s;
}

.lx-totop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.lx-totop:hover {
    background: var(--lx-accent);
    border-color: var(--lx-accent);
    color: var(--lx-dark);
}

@media (prefers-reduced-motion: reduce) {
    .lx-header *,
    .lx-footer *,
    .lx-totop { transition: none !important; }
}
