/* Agency header: Rebuilder colours and header width are kept as CSS variables. */
#header.agency-header,
.agency-mobile-menu {
    --agency-header-ink: #171820;
    --agency-header-muted: #6f7080;
    --agency-header-line: #ecebf2;
    --agency-header-iris: var(--rb-main-color, #2167ff);
    --agency-header-lilac: #f3f7ff;
    --agency-header-surface: var(--rb-header-color, #ffffff);
}

#header.agency-header {
    position: fixed;
    z-index: 110;
    width: 100%;
    padding: 0;
    overflow: visible;
    border: 0;
    background: var(--agency-header-surface) !important;
    box-shadow: none;
    color: var(--agency-header-ink);
    transition: box-shadow .24s ease, border-color .24s ease;
}

#header.agency-header.is-scrolled,
#header.agency-header.has-mega-open {
    box-shadow: 0 12px 30px rgba(31, 28, 60, .07);
}

#header.agency-header.has-mobile-open {
    z-index: 113;
    width: calc(100% - var(--agency-menu-scrollbar-width, 0px));
    border-bottom-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
}

#header.agency-header.has-mobile-open .agency-header__brand,
#header.agency-header.has-mobile-open .agency-header__contact {
    opacity: 0;
    visibility: hidden;
}

#header.agency-header.has-mobile-open .agency-header__menu-button {
    pointer-events: auto;
}

#header.agency-header.agency-header--dark {
    --agency-header-ink: #fff;
    --agency-header-muted: rgba(255, 255, 255, .74);
    --agency-header-line: rgba(255, 255, 255, .16);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

#header.agency-header.agency-header--dark.is-scrolled,
#header.agency-header.agency-header--dark.has-mega-open {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.agency-header *,
.agency-mobile-menu * {
    box-sizing: border-box;
}

.agency-header__inner {
    display: flex;
    align-items: center;
    width: calc(100% - clamp(48px, 7.3vw, 140px));
    max-width: var(--rb-header-width, 1600px);
    min-height: 102px;
    margin: 0 auto;
}

.agency-header--fluid .agency-header__inner,
.agency-header--fluid .agency-mega-panel__inner,
.agency-header--fluid .agency-mega-panel__footer-inner {
    width: 100%;
    max-width: none;
    padding-right: clamp(24px, 3.4vw, 68px);
    padding-left: clamp(24px, 3.4vw, 68px);
}

.agency-header__brand {
    display: block;
    flex: 0 0 auto;
    width: 144px;
    margin-right: auto;
}

.agency-header__brand img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 32px;
    object-fit: contain;
    object-position: left center;
}

.agency-header__nav {
    flex: 0 1 auto;
    min-width: 0;
    align-self: stretch;
}

.agency-header__nav > ul {
    display: flex;
    align-items: stretch;
    gap: clamp(24px, 2.35vw, 45px);
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.agency-header__nav-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 102px;
}

.agency-header__nav-item.has-mega {
    position: static;
}

.agency-header__nav-item > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 102px;
    color: #3f4652;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.035em;
    white-space: nowrap;
    transition: color .18s ease, opacity .18s ease;
}

.agency-header__nav-item > a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--agency-header-iris);
    content: '';
    opacity: 0;
    transform: scaleX(.42);
    transform-origin: center;
    transition: opacity .18s ease, transform .18s ease;
}

.agency-header__nav-item:hover > a,
.agency-header__nav-item > a:focus-visible,
.agency-header__nav-item.is-open > a {
    color: var(--agency-header-iris);
}

.agency-header__nav-item:hover > a::after,
.agency-header__nav-item.is-open > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.agency-header a:focus-visible,
.agency-header button:focus-visible,
.agency-mobile-menu a:focus-visible,
.agency-mobile-menu button:focus-visible {
    outline: 2px solid var(--agency-header-iris);
    outline-offset: 4px;
}

.agency-header__actions {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-left: clamp(28px, 3.1vw, 56px);
}

.agency-header__contact {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--agency-header-iris);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.03em;
    white-space: nowrap;
    transition: box-shadow .18s ease, filter .18s ease;
}

.agency-header__contact .ti {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: transparent;
    color: currentColor;
    font-size: 20px;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease;
}

.agency-header__beta {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    padding: 6px 12px;
    border: 1px solid #dbe6ff;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(33, 103, 255, .14);
    color: var(--agency-header-iris);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, 0);
    animation: agency-header-beta-float 3s ease-in-out infinite;
}

.agency-header__beta::before {
    position: absolute;
    top: -5px;
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-top: 1px solid #dbe6ff;
    border-left: 1px solid #dbe6ff;
    background: #fff;
    content: '';
    transform: rotate(45deg);
}

@keyframes agency-header-beta-float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 5px); }
}

.agency-header__menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    appearance: none;
    color: var(--agency-header-iris);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.agency-header__menu-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 18px;
}

.agency-header__menu-icon > span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform .48s cubic-bezier(.65, 0, .35, 1), opacity .2s ease;
}

.agency-header__menu-icon > span:nth-child(1) { top: 0; }
.agency-header__menu-icon > span:nth-child(2) { top: 8px; }
.agency-header__menu-icon > span:nth-child(3) { top: 16px; }

.agency-header__menu-button[aria-expanded="true"] .agency-header__menu-icon > span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.agency-header__menu-button[aria-expanded="true"] .agency-header__menu-icon > span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.agency-header__menu-button[aria-expanded="true"] .agency-header__menu-icon > span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* One panel exposes every visible Rebuilder first-level menu at once. */
.agency-mega-panel {
    --agency-header-ink: #171820;
    --agency-header-muted: #666674;
    --agency-header-line: #ecebf2;
    --agency-header-iris: var(--rb-main-color, #2167ff);
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 102px);
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--agency-header-line);
    background: #fff;
    box-shadow: 0 20px 42px rgba(31, 28, 60, .12);
    color: var(--agency-header-ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity .2s ease, transform .26s cubic-bezier(.22, .8, .28, 1), visibility 0s linear .26s;
}

.agency-mega-panel[hidden] {
    display: none;
}

.agency-mega-panel.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
}

.agency-mega-panel.is-closing {
    pointer-events: none;
    visibility: visible;
}

.agency-mega-panel__inner,
.agency-mega-panel__footer-inner {
    width: calc(100% - clamp(48px, 7.3vw, 140px));
    max-width: var(--rb-header-width, 1600px);
    margin: 0 auto;
}

.agency-mega-panel__groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 172px), 1fr));
    align-items: start;
    padding: 48px 0 46px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .24s ease;
}

.agency-mega-panel.is-visible .agency-mega-panel__groups {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .045s;
}

.agency-mega-panel__group {
    min-width: 0;
    min-height: 188px;
    padding: 10px clamp(17px, 1.45vw, 30px) 12px;
    border-left: 1px solid var(--agency-header-line);
}

.agency-mega-panel__group:first-child {
    padding-left: 0;
    border-left: 0;
}

.agency-mega-panel__group h2 {
    margin: 0;
}

.agency-mega-panel__group h2 a {
    display: inline-flex;
    align-items: center;
    color: var(--agency-header-ink);
    font-size: clamp(18px, 1.15vw, 20px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.35;
    transition: color .16s ease;
}

.agency-mega-panel__group > ul {
    display: grid;
    gap: 14px;
    margin: 31px 0 0;
    padding: 0;
    list-style: none;
}

.agency-mega-panel__group > ul > li {
    margin: 0;
    padding: 0;
}

.agency-mega-panel__link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: var(--agency-header-muted);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.45;
    transition: color .16s ease;
}

.agency-mega-panel__link .ti {
    flex: 0 0 auto;
    color: var(--agency-header-iris);
    font-size: 20px;
    line-height: 1;
}

.agency-mega-panel__link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agency-mega-panel__detail {
    display: grid;
    gap: 6px;
    margin: 8px 0 0 28px;
    padding: 0;
    list-style: none;
}

.agency-mega-panel__detail a {
    display: inline-flex;
    color: #9695a1;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.4;
    transition: color .16s ease;
}

.agency-mega-panel__empty {
    margin: 27px 0 0;
    color: #a2a1ab;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.55;
    word-break: keep-all;
}

.agency-mega-panel__footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-top: 1px solid #e4eeff;
    background: linear-gradient(112deg, #fbfdff 0%, #f1f6ff 54%, #f9fbff 100%);
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity .18s ease, transform .24s ease;
}

.agency-mega-panel.is-visible .agency-mega-panel__footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .09s;
}

.agency-mega-panel__footer::before,
.agency-mega-panel__footer::after {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.agency-mega-panel__footer::before {
    top: -152px;
    right: 8%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(33, 103, 255, .11) 0%, rgba(33, 103, 255, 0) 70%);
}

.agency-mega-panel__footer::after {
    bottom: -170px;
    left: 24%;
    width: 310px;
    height: 310px;
    background: radial-gradient(circle, rgba(112, 168, 255, .11) 0%, rgba(112, 168, 255, 0) 69%);
}

.agency-mega-panel__footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(270px, 1.1fr) minmax(0, 2.25fr);
    gap: clamp(36px, 5vw, 94px);
    padding-top: 33px;
    padding-bottom: 32px;
}

.agency-mega-panel__footer-intro > p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0;
    color: var(--agency-header-iris);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.agency-mega-panel__footer-intro > p::after {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 8px;
    border: 1px solid rgba(33, 103, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .68);
    color: #2167ff;
    content: 'HYBRID · NATIVE';
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
}

.agency-mega-panel__footer-intro h2 {
    margin: 10px 0 0;
    color: var(--agency-header-ink);
    font-size: clamp(21px, 1.62vw, 28px);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: 1.28;
    word-break: keep-all;
}

.agency-mega-panel__footer-intro > span {
    display: block;
    margin-top: 10px;
    color: var(--agency-header-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -.028em;
    line-height: 1.55;
    word-break: keep-all;
}

.agency-mega-panel__footer-intro > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    margin-top: 18px;
    padding: 0 15px 0 17px;
    border-radius: 999px;
    background: var(--agency-header-iris);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.025em;
    transition: transform .18s ease, box-shadow .18s ease;
}

.agency-mega-panel__footer-intro > a .ti {
    font-size: 16px;
    line-height: 1;
}

.agency-mega-panel__benefits {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.25vw, 20px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.agency-mega-panel__benefits::before {
    position: absolute;
    z-index: 0;
    top: 44px;
    right: 11%;
    left: 11%;
    height: 1px;
    background: linear-gradient(90deg, rgba(33, 103, 255, .1), rgba(33, 103, 255, .48), rgba(33, 103, 255, .1));
    content: '';
}

.agency-mega-panel__benefits li {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 164px;
    margin: 0;
    padding: 16px 16px 17px;
    overflow: hidden;
    border: 1px solid rgba(33, 103, 255, .15);
    border-radius: 19px;
    background: rgba(255, 255, 255, .83);
    box-shadow: 0 10px 24px rgba(23, 78, 178, .055);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.agency-mega-panel__benefits li::before {
    position: absolute;
    top: 0;
    left: 17px;
    width: 38px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: var(--agency-header-iris);
    content: '';
}

.agency-mega-panel__benefits li::after {
    position: absolute;
    right: -35px;
    bottom: -46px;
    width: 122px;
    height: 122px;
    border: 1px solid rgba(33, 103, 255, .08);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(33, 103, 255, .12), rgba(33, 103, 255, 0) 70%);
    content: '';
    pointer-events: none;
}

.agency-mega-panel__benefit-number {
    position: absolute;
    top: 18px;
    right: 17px;
    color: var(--agency-header-iris);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    opacity: .58;
}

.agency-mega-panel__benefit-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(33, 103, 255, .17);
    border-radius: 17px;
    background: linear-gradient(145deg, #fff 0%, #edf4ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 6px 13px rgba(33, 103, 255, .07);
    color: var(--agency-header-iris);
    transition: transform .2s ease, background .2s ease;
}

.agency-mega-panel__benefit-icon .ti {
    font-size: 25px;
    line-height: 1;
}

.agency-mega-panel__benefits strong,
.agency-mega-panel__benefits small {
    display: block;
    word-break: keep-all;
}

.agency-mega-panel__benefits strong {
    position: relative;
    z-index: 1;
    margin-top: 13px;
    color: var(--agency-header-ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.35;
}

.agency-mega-panel__benefits small {
    position: relative;
    z-index: 1;
    margin-top: 5px;
    color: #8a8995;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.45;
}

.agency-mobile-menu {
    --agency-menu-duration: 600ms;
    position: fixed;
    z-index: 112;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.agency-mobile-menu.is-visible {
    pointer-events: auto;
}

.agency-mobile-menu[hidden] {
    display: none;
}

.agency-mobile-menu__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: max(calc(var(--agency-menu-header-height, 72px) + 24px), env(safe-area-inset-top), env(safe-area-inset-bottom)) clamp(24px, 5vw, 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    color: var(--agency-header-ink);
    transform: translateX(-100%);
    transition: transform var(--agency-menu-duration) cubic-bezier(.65, 0, .35, 1);
}

.agency-mobile-menu.is-visible .agency-mobile-menu__panel {
    transform: translateX(0);
}

.agency-mobile-menu__top,
.agency-mobile-menu__panel > nav,
.agency-mobile-menu__contact {
    flex: 0 0 auto;
    width: min(100%, 480px);
    margin-right: auto;
    margin-left: 0;
}

.agency-mobile-menu__panel > nav {
    width: 100%;
}

.agency-mobile-menu__top {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-top: auto;
    margin-bottom: clamp(32px, 6vh, 64px);
    color: var(--agency-header-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.agency-mobile-menu nav > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.agency-mobile-menu nav > ul > li {
    border: 0;
}

.agency-mobile-menu__top,
.agency-mobile-menu nav > ul > li,
.agency-mobile-menu__contact {
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility 0s linear .18s;
}

.agency-mobile-menu.is-visible:not(.is-content-visible) .agency-mobile-menu__top,
.agency-mobile-menu.is-visible:not(.is-content-visible) nav > ul > li,
.agency-mobile-menu.is-visible:not(.is-content-visible) .agency-mobile-menu__contact {
    transition: none;
}

.agency-mobile-menu.is-content-visible .agency-mobile-menu__top,
.agency-mobile-menu.is-content-visible nav > ul > li,
.agency-mobile-menu.is-content-visible .agency-mobile-menu__contact {
    opacity: 1;
    visibility: visible;
    transition-duration: .5s, 0s;
    transition-delay: var(--agency-menu-item-delay, 0ms);
}

.agency-mobile-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(48px, 6vh, 60px);
    gap: 16px;
}

.agency-mobile-menu__item a {
    color: var(--agency-header-ink);
    font-size: clamp(26px, 3.6vw, 34px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.35;
    word-break: keep-all;
    transition: color .22s ease;
}

.agency-mobile-menu__item button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--agency-header-iris);
    cursor: pointer;
}

.agency-mobile-menu__sub-icon {
    position: relative;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 1;
}

.agency-mobile-menu__sub-icon .ti {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity .3s ease;
}

.agency-mobile-menu__sub-icon .ti-minus,
.agency-mobile-menu__item button[aria-expanded="true"] .agency-mobile-menu__sub-icon .ti-plus {
    opacity: 0;
}

.agency-mobile-menu__item button[aria-expanded="true"] .agency-mobile-menu__sub-icon .ti-minus {
    opacity: 1;
}

.agency-mobile-menu__sub-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows .36s cubic-bezier(.22, .8, .28, 1), opacity .24s ease, visibility 0s linear .36s;
}

.agency-mobile-menu__sub-panel.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: inherit;
    transition-delay: 0s;
}

.agency-mobile-menu__sub-inner {
    min-height: 0;
    overflow: hidden;
}

.agency-mobile-menu__sub {
    margin: 0;
    padding: 8px 0 20px 12px;
    list-style: none;
}

.agency-mobile-menu__sub li + li {
    margin-top: 10px;
}

.agency-mobile-menu__sub a {
    display: inline-block;
    padding: 3px 0;
    color: var(--agency-header-muted);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.agency-mobile-menu__detail {
    display: grid;
    gap: 7px;
    margin: 9px 0 13px;
    padding: 0 0 0 13px;
    list-style: none;
}

.agency-mobile-menu__detail li + li {
    margin-top: 0;
}

.agency-mobile-menu__detail a {
    color: #9c9ba6;
    font-size: 16px;
}

.agency-mobile-menu__contact {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    flex: 0 0 auto;
    gap: 12px;
    min-height: 44px;
    margin-top: clamp(32px, 5vh, 56px);
    margin-bottom: auto;
    padding: 0;
    color: var(--agency-header-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.015em;
}

.agency-mobile-menu__contact .ti {
    font-size: 20px;
    line-height: 1;
}

.agency-menu-open {
    overflow: hidden;
    scrollbar-gutter: stable;
}

@media (hover: hover) and (pointer: fine) {
    .agency-mobile-menu nav > ul:hover > li .agency-mobile-menu__item > a {
        color: #b6b6bd;
    }

    .agency-mobile-menu nav > ul > li:hover .agency-mobile-menu__item > a {
        color: var(--agency-header-ink);
    }

    .agency-header__contact:hover {
        color: #fff;
        opacity: 1;
        box-shadow: 0 5px 14px rgba(33, 103, 255, .2);
        filter: brightness(.96);
    }

    .agency-header__contact:hover .ti {
        box-shadow: none;
        transform: translate(2px, -2px);
    }

    .agency-mega-panel__footer-intro > a:hover {
        box-shadow: 0 9px 18px rgba(33, 103, 255, .27);
        transform: translateY(-2px);
    }

    .agency-mega-panel__benefits li:hover {
        border-color: rgba(33, 103, 255, .36);
        box-shadow: 0 16px 30px rgba(23, 78, 178, .11);
        transform: translateY(-4px);
    }

    .agency-mega-panel__benefits li:hover .agency-mega-panel__benefit-icon {
        background: linear-gradient(145deg, #fff 0%, #e1edff 100%);
        transform: rotate(-4deg) scale(1.05);
    }

    .agency-mega-panel__group h2 a:hover,
    .agency-mega-panel__link:hover,
    .agency-mega-panel__detail a:hover {
        color: var(--agency-header-iris);
    }
}

@media (max-width: 1280px) {
    .agency-header__inner,
    .agency-mega-panel__inner,
    .agency-mega-panel__footer-inner {
        width: calc(100% - 64px);
    }

    .agency-header__nav > ul {
        gap: clamp(19px, 2.15vw, 29px);
    }

    .agency-header__actions {
        gap: 9px;
        margin-left: 25px;
    }

    .agency-header__contact {
        font-size: 13px;
    }

    .agency-mega-panel__group {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 1100px) {
    #header.agency-header {
        --agency-header-height: 72px;
    }

    .agency-header__inner {
        width: min(100% - 40px, 900px);
        max-width: none;
        min-height: var(--agency-header-height);
    }

    .agency-header--fluid .agency-header__inner {
        width: calc(100% - 40px);
        padding-right: 0;
        padding-left: 0;
    }

    .agency-header__brand {
        width: 122px;
        margin-right: auto;
    }

    .agency-header__brand img {
        height: 27px;
    }

    .agency-header__nav,
    .agency-mega-panel {
        display: none !important;
    }

    .agency-header__actions {
        gap: 12px;
        margin-left: 0;
    }

    .agency-header__contact {
        min-height: 38px;
        gap: 7px;
        padding: 0 14px;
        font-size: 12px;
    }

    .agency-header__contact .ti {
        width: 18px;
        height: 18px;
        font-size: 16px;
    }

    .agency-header__menu-button {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .agency-header__inner {
        width: calc(100% - 32px);
    }

    .agency-header--fluid .agency-header__inner {
        width: calc(100% - 32px);
    }

    .agency-header__brand {
        width: 108px;
    }

    .agency-header__contact {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .agency-header__beta {
        animation: none;
    }

    .agency-header *,
    .agency-header *::before,
    .agency-header *::after,
    .agency-mobile-menu *,
    .agency-mobile-menu *::before,
    .agency-mobile-menu *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
