/* Shared frontend foundations, navigation, footer and reusable components. */

.back-to-top {
    position: fixed;
    z-index: 90;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #e95316;
    border-radius: 12px;
    background: #ff6b2c;
    color: #fff;
    box-shadow: 0 6px 24px #1112;
    cursor: pointer;
}
.back-to-top[hidden] { display: none; }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top { padding: 12px; }
.back-to-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 520px) {
    .back-to-top span { display: none; }
    .back-to-top { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .motion-ready .reveal { opacity: 1 !important; transform: none !important; }
}

:root {
    --color-primary: #ff6b2c;
    --color-primary-hover: #e95316;
    --color-primary-soft: #fff1ea;
    --color-black: #080808;
    --color-dark: #111111;
    --color-dark-2: #181818;
    --color-white: #ffffff;
    --color-off-white: #fafafa;
    --color-light: #f4f5f7;
    --color-text: #111111;
    --color-text-secondary: #5f6368;
    --color-text-muted: #7a7f87;
    --color-border: #e5e7eb;
    --color-border-dark: rgba(255,255,255,.12);
    --color-success: #16a34a;
    --container: 1240px;
    --header-height: 76px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-sm: 0 10px 28px rgba(17,24,39,.06);
    --shadow-md: 0 18px 46px rgba(17,24,39,.10);
    --shadow-lg: 0 28px 80px rgba(17,24,39,.13);
    --ease: cubic-bezier(.22,.8,.26,1);
}

* {
    box-sizing: border-box;
}

*::before {
    box-sizing: border-box;
}

*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--color-white);
    color: var(--color-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    position: fixed;
    top: var(--menu-scroll-offset, 0);
    left: 0;
    right: 0;
    overflow: hidden;
}

body.menu-open .site-header {
    position: fixed;
    inset: 0 0 auto;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    display: block;
}

button {
    font: inherit;
}

input {
    font: inherit;
}

textarea {
    font: inherit;
}

select {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin-top: 0;
}

h1 {
    margin-top: 0;
}

h2 {
    margin-top: 0;
}

h3 {
    margin-top: 0;
}

h4 {
    margin-top: 0;
}

:focus-visible {
    outline: 3px solid rgba(255,107,44,.42);
    outline-offset: 3px;
}

::selection {
    background: rgba(255,107,44,.2);
    color: var(--color-black);
}

h1 {
    letter-spacing: -.035em;
    text-wrap: balance;
}

h2 {
    letter-spacing: -.035em;
    text-wrap: balance;
}

h3 {
    letter-spacing: -.035em;
    text-wrap: balance;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.75rem, 6.4vw, 5.5rem);
    line-height: .98;
    font-weight: 600;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.1rem, 4.3vw, 3.55rem);
    line-height: 1.04;
    font-weight: 600;
}

h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    line-height: 1.2;
    font-weight: 600;
}

p {
    font-size: clamp(.98rem, 1.2vw, 1.08rem);
    line-height: 1.72;
    color: var(--color-text-secondary);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--color-primary);
    font-size: .78rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 24px;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    content: "";
}

.section-intro {
    max-width: 730px;
    margin-bottom: clamp(34px, 5vw, 64px);
}

.section-intro p {
    max-width: 660px;
    margin-bottom: 0;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    padding: clamp(76px, 9vw, 132px) 0;
}

.section--offwhite {
    background: var(--color-off-white);
}

.section--light {
    background: var(--color-light);
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    transform: translateY(-150%);
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-weight: 600;
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: .96rem;
    font-weight: 600;
    line-height: 1;
    transition: transform .25s var(--ease),
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn svg {
    width: 17px;
    height: 17px;
    transition: transform .25s var(--ease);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 12px 30px rgba(255,107,44,.2);
}

.btn--primary:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 16px 38px rgba(255,107,44,.27);
}

.btn--secondary {
    border-color: var(--color-border);
    background: #fff;
    color: var(--color-dark);
}

.btn--secondary:hover {
    border-color: #cdd1d7;
    background: var(--color-light);
}

.btn--ghost-dark {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.04);
    color: #fff;
}

.btn--ghost-dark:hover {
    background: rgba(255,255,255,.1);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-dark);
    font-size: .95rem;
    font-weight: 600;
}

.link-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform .25s var(--ease);
}

.link-arrow:hover {
    color: var(--color-primary);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

.motion-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s var(--ease);
}

.motion-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(8,8,8,.96);
    color: #fff;
    transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    background: rgba(8,8,8,.9);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: 1.04rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.brand-mark {
    width: 32px;
    height: 32px;
}

.header-logo,
.footer-logo {
    display: block;
    width: 148px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 768px) {
    .header-logo,
    .footer-logo {
        width: 125px;
    }
}

.desktop-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.78);
    cursor: pointer;
    font-size: .91rem;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-dropdown-toggle {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.78);
    cursor: pointer;
    font-size: .91rem;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-link::after {
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 2px;
    transform: scaleX(0);
    border-radius: 8px;
    background: var(--color-primary);
    content: "";
    transform-origin: left;
    transition: transform .22s var(--ease);
}

.nav-dropdown-toggle::after {
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 2px;
    transform: scaleX(0);
    border-radius: 8px;
    background: var(--color-primary);
    content: "";
    transform-origin: left;
    transition: transform .22s var(--ease);
}

.nav-link:hover {
    color: #fff;
}

.nav-dropdown-toggle:hover {
    color: #fff;
}

.nav-link[aria-current="page"] {
    color: #fff;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-dropdown-toggle:hover::after {
    transform: scaleX(1);
}

.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.services-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: min(680px, calc(100vw - 40px));
    padding: 12px;
    transform: translate(-50%, -8px);
    border: 1px solid #222;
    border-radius: var(--radius-md);
    background: #101010;
    box-shadow: 0 22px 50px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s var(--ease), visibility .2s ease;
}

.services-menu[aria-hidden="false"] {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.services-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

.services-menu a {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 12px;
    color: #fff;
    transition: background .2s ease;
}

.services-menu a:hover {
    background: rgba(255,255,255,.06);
}

.menu-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255,107,44,.23);
    border-radius: 10px;
    background: rgba(255,107,44,.1);
    color: var(--color-primary);
}

.menu-icon svg {
    width: 17px;
    height: 17px;
}

.services-menu strong {
    display: block;
    margin-bottom: 0;
    font-size: .91rem;
}

.services-menu small {
    color: rgba(255,255,255,.5);
    font-size: .76rem;
    line-height: 1.45;
}

.header-cta {
    margin-left: 10px;
    white-space: nowrap;
}

.mobile-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: #fff;
    cursor: pointer;
}

.mobile-menu-button svg {
    width: 22px;
    height: 22px;
}

.mobile-drawer {
    position: fixed;
    z-index: 990;
    inset: var(--header-height) 0 0;
    display: none;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: 24px 20px 36px;
    background: #090909;
    color: #fff;
}

.mobile-drawer[data-open="true"] {
    display: block;
}

.mobile-nav {
    display: grid;
    gap: 8px;
}

.mobile-nav > a:not(.btn) {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 4px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: transparent;
    color: #fff;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-services-toggle {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 4px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: transparent;
    color: #fff;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-services-toggle svg {
    width: 18px;
    height: 18px;
}

.mobile-services {
    display: none;
    padding: 8px 0 12px 14px;
}

.mobile-services[data-open="true"] {
    display: grid;
}

.mobile-services a {
    padding: 11px 0;
    color: rgba(255,255,255,.66);
    font-size: .96rem;
}

.mobile-drawer .btn {
    width: 100%;
    margin-top: 24px;
}

.site-footer {
    padding: 70px 0 28px;
    border-top: 1px solid #202020;
    background: #080808;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr repeat(4, 1fr);
    gap: 38px;
    padding-bottom: 48px;
}

.footer-brand p {
    max-width: 310px;
    margin: 22px 0 24px;
    color: rgba(255,255,255,.5);
    font-size: .88rem;
}

.footer-contact {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.68);
    font-size: .84rem;
}

.footer-contact a:hover {
    color: #fff;
}

.socials {
    display: flex;
    gap: 8px;
}

.social-link {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    color: rgba(255,255,255,.7);
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.social-link:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-col h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-col ul {
    display: grid;
    gap: 11px;
}

.footer-col a {
    color: rgba(255,255,255,.54);
    font-size: .84rem;
    line-height: 1.45;
    transition: color .2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.42);
    font-size: .78rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-unlinked {
    color: rgba(255,255,255,.32);
    cursor: default;
}

@media (max-width: 1180px) {
    .footer-grid {
        grid-template-columns: 1.35fr repeat(2, 1fr);
    }

    .footer-brand {
        grid-row: span 2;
    }
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-button {
        display: grid;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .section {
        padding: 76px 0;
    }

    .brand-mark {
        width: 29px;
        height: 29px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
    }

    .footer-brand {
        grid-row: auto;
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    h1 {
        font-size: clamp(2.55rem, 12vw, 3.65rem);
        line-height: .99;
    }

    h2 {
        font-size: clamp(2rem, 9vw, 2.65rem);
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 360px) {
    .brand span {
        font-size: .94rem;
    }
}

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

    * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    *::before {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .motion-ready .reveal {
        opacity: 1;
        transform: none;
    }
}

body {
    background: #ffffff;
    color: #111111;
}

.site-header {
    border-bottom: 1px solid #e8e9ed;
    background: rgba(255,255,255,.97);
    color: #111111;
}

.site-header.is-scrolled {
    background: rgba(255,255,255,.93);
    box-shadow: 0 10px 32px rgba(17,24,39,.07);
    backdrop-filter: blur(16px);
}

.site-header .brand {
    color: #111111;
}

.nav-link {
    color: #4f555d;
}

.nav-dropdown-toggle {
    color: #4f555d;
}

.nav-link:hover {
    color: #111111;
}

.nav-dropdown-toggle:hover {
    color: #111111;
}

.nav-link[aria-current="page"] {
    color: #111111;
}

.services-menu {
    border: 1px solid #e6e8ec;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 60px rgba(17,24,39,.13);
    backdrop-filter: blur(18px);
}

.services-menu a {
    color: #151515;
}

.services-menu a:hover {
    background: #f7f8fa;
}

.services-menu small {
    color: #747980;
}

.mobile-menu-button {
    border-color: #e3e5e9;
    background: #ffffff;
    color: #111111;
}

.mobile-menu-button:hover {
    border-color: #d5d8dd;
    background: #f7f8fa;
}

.mobile-drawer {
    border-top: 1px solid #eceef1;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 26px 60px rgba(17,24,39,.08);
}

.mobile-nav > a:not(.btn) {
    border-bottom-color: #eceef1;
    color: #111111;
}

.mobile-services-toggle {
    border-bottom-color: #eceef1;
    color: #111111;
}

.mobile-services a {
    color: #666c74;
}

.site-footer {
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111111;
}

.site-footer .brand {
    color: #111111;
}

.footer-brand p {
    color: #626870;
}

.footer-contact {
    color: #5f656d;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.site-footer .footer-contact { gap: 10px; }
.site-footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    color: #50565e;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.site-footer .footer-contact-item:hover {
    border-color: #ffb58b;
    background: #fff8f3;
    color: #111;
}
.site-footer .footer-contact-item:focus-visible {
    outline: 2px solid #ff6000;
    outline-offset: 3px;
}
.footer-contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #fff1e8;
    color: #d94e00;
}
.footer-contact-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-contact-copy {
    min-width: 0;
    line-height: 1.55;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.footer-contact-copy small {
    display: block;
    margin-bottom: 3px;
    color: #626971;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.social-link {
    border-color: #dfe2e6;
    background: #ffffff;
    color: #50565e;
}

.social-link:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
}

.footer-col h3 {
    color: #151515;
}

.footer-col a {
    color: #666c74;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top-color: #e7e9ed;
    color: #858a91;
}

.footer-legal a:hover {
    color: #111111;
}

.footer-unlinked {
    color: #a1a5ab;
}

@media (max-width: 1024px) {
    .mobile-drawer[data-open="true"] {
        background: rgba(255,255,255,.99);
    }
}

html {
    max-width: 100%;
    overflow-x: clip;
}

body {
    max-width: 100%;
    overflow-x: clip;
}

.motion-ready .reveal {
    opacity: 0;
    transform: translateY(10px) scale(.997);
    transition: opacity .48s ease,
        transform .48s var(--ease),
        border-color .25s ease,
        box-shadow .25s ease;
}

.motion-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
}

:root {
    --page-gutter: 32px;
    --section-space: clamp(54px, 5.2vw, 76px);
}

.container {
    width: min(calc(100% - (var(--page-gutter) * 2)), 1240px);
    margin-inline: auto;
}

.section {
    padding: var(--section-space) 0;
}

.section-intro {
    margin-bottom: clamp(28px, 3.8vw, 44px);
}

.site-footer {
    padding: clamp(50px, 5vw, 68px) 0 26px;
}

.header-inner {
    margin-inline: auto;
}

.footer-grid {
    gap: clamp(26px, 3.2vw, 40px);
    padding-bottom: 38px;
}

@media (max-width: 1100px) {
    :root {
        --page-gutter: 26px;
        --section-space: clamp(50px, 5vw, 68px);
    }
}

@media (max-width: 768px) {
    :root {
        --page-gutter: 18px;
        --section-space: 50px;
    }

    .section-intro {
        margin-bottom: 30px;
    }
}

@media (max-width: 520px) {
    :root {
        --page-gutter: 14px;
        --section-space: 44px;
    }
}

@media (max-width: 360px) {
    :root {
        --page-gutter: 12px;
    }
}

/* CMS navigation uses the existing navigation helpers. */
.cms-menu-toggle { min-height: 44px; gap: 6px; }
.cms-menu-toggle svg { width: 12px; height: 12px; flex-shrink: 0; }
.cms-menu-toggle[aria-expanded="true"] { color: var(--color-text); }
.cms-menu-toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-dropdown:has(.cms-menu-toggle) { display: flex; align-items: center; }
.nav-dropdown:has(.cms-menu-toggle) .services-menu {
    position: fixed;
    top: var(--header-height);
    left: var(--menu-center, 50%);
    width: min(680px, calc(100vw - 32px));
    max-height: calc(100dvh - var(--header-height) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px;
    border-radius: 16px;
}
.nav-dropdown:has(.cms-menu-toggle) .services-menu a { overflow-wrap: anywhere; }
.services-menu .cms-service-link { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px; }
.cms-service-link strong { font-size: 14px; line-height: 1.4; }
.cms-service-link small { margin-top: 6px; font-size: 12px; line-height: 1.5; }
.cms-service-link .menu-icon { width: 36px; height: 36px; border: 1px solid #ffc7ad; border-radius: 10px; background: #fff1ea; color: #ff6b2c; }
.services-menu .cms-menu-parent { display: flex; justify-content: space-between; margin: 6px 13px 0; padding: 12px 0 2px; border-top: 1px solid var(--color-border); border-radius: 0; font-size: 13px; }
.footer-bottom { padding-right: 48px; }
.cms-mobile-group { padding: 0; border-bottom: 1px solid var(--color-border); }
.cms-mobile-group summary { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; padding: 0 4px; list-style: none; font-size: 1.1rem; font-weight: 600; }
.cms-mobile-group summary::-webkit-details-marker { display: none; }
.cms-mobile-group summary svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s ease; }
.cms-mobile-group[open] summary svg { transform: rotate(180deg); }
.cms-mobile-group a { display: block; padding: 12px 16px; color: var(--color-text-secondary); }

/* Current page links in the shared navigation. */
.nav-link.active,
.nav-dropdown > a.active,
.nav-dropdown-toggle.active,
.mobile-nav a.active:not(.btn),
.site-footer a.active { color: var(--color-primary); }
.nav-link.active::after,
.nav-dropdown-toggle.active::after { transform: scaleX(1); }
.services-menu a.active { background: #fff3ec; }
.mobile-nav a.active:not(.btn),
.site-footer a.active { font-weight: 600; }

@media (max-width: 768px) {
    .site-footer { text-align: center; }
    .footer-brand { justify-self: center; width: 100%; }
    .footer-brand .brand { justify-content: center; }
    .footer-brand p { margin: 18px auto; }
    .footer-contact { justify-items: center; max-width: 340px; margin: 0 auto 20px; }
    .footer-brand .socials { justify-content: center; }
    .footer-col ul { gap: 8px; }
    .footer-col a { display: inline-block; padding: 4px 0; }
    .footer-bottom { align-items: center; justify-content: center; padding-right: 0; gap: 16px; }
    .footer-legal { justify-content: center; }
}
