:root { --ape-red: #75140c; --ape-burgundy: #4e0000; --BRANDTASTIC-RED: var(--ape-red); --brandtastic-red: var(--ape-red); --brandtastic-red-dark: var(--ape-burgundy); --brandtastic-heading: "nexa-rust-sans-black-2", sans-serif; }
.site-header { height: 176px; background: var(--ape-burgundy); box-shadow: 0 4px 4px #0004; }
.site-header::before { content: ""; position: absolute; inset: 0; background: url("img/ape/header-tracks.png") right -50px center / 460px no-repeat; opacity: .25; pointer-events: none; }
.site-header__inner { width: min(100%, 2000px); justify-content: space-between; gap: 70px; padding: 0 85px 0 99px; }
.site-header__brand { width: 252px; height: 176px; align-self: flex-start; }
.site-header__brand::before { display: none; }
.site-header__brand img { position: absolute; top: 0; width: 252px; height: 252px; object-fit: contain; filter: drop-shadow(0 4px 4px #0004); }
.site-navigation { gap: 35px; }
.site-navigation__menu { gap: 35px; }
.site-navigation__menu a { color: #fff; font-family: var(--brandtastic-body); font-size: 18px; font-weight: 600; line-height: 28px; letter-spacing: .54px; }
.site-navigation__menu > li > a::after { background: #fff; }
@media (min-width: 993px) {
 .site-navigation__menu .sub-menu { width: 250px; min-width: 250px; padding: 5px 15px 5px 5px; background: #fff; border: 0; border-radius: 10px; box-shadow: 0 3px 9px rgb(0 0 0 / .25); }
 .site-navigation__menu > li > .sub-menu { top: 100%; right: auto; left: -5px; }
 .site-navigation__menu .sub-menu li { position: relative; width: 240px; border-radius: 5px; background: #fff; }
 .site-navigation__menu .sub-menu a { box-sizing: border-box; width: 100%; padding: 12px 30px 12px 10px; color: #212427; font-family: var(--brandtastic-body); font-size: 15px; font-weight: 400; line-height: 20px; letter-spacing: 0; white-space: normal; border-radius: 5px; }
 .site-navigation__menu .sub-menu li:hover > a, .site-navigation__menu .sub-menu li:focus-within > a { color: #212427; background: #f4f4f4; }
 .site-navigation__menu .sub-menu .menu-item-has-children > a::after { position: absolute; top: 50%; right: 10px; width: 9.913px; height: 9.293px; background: url("img/ape/dropdown-arrow.svg") center / contain no-repeat; transform: translateY(-50%) rotate(-90deg); content: ""; }
 .site-navigation__menu .sub-menu .sub-menu { top: 0; right: auto; left: calc(100% - 6px); }
}

.ape-header-phone { display: flex; flex-shrink: 0; align-items: center; gap: 11px; color: #fff; text-decoration: none; white-space: nowrap; }
.ape-header-phone:hover, .ape-header-phone:focus-visible { color: #fff; }
.ape-header-phone > img { width: 29px; height: 29px; }
.ape-header-phone > span { display: flex; flex-direction: column; align-items: center; }
.ape-header-phone span span { font-size: 20.37px; line-height: 28px; letter-spacing: 2.85px; }
.ape-header-phone strong { font-size: 22.45px; font-weight: 600; line-height: 27px; letter-spacing: .67px; }
.site-header__member-button, .ape-estimate, .site-header__mobile-member, .mobile-menu-member { border: 0; border-radius: 45px; color: #212427; background: #e9e9e9; font-family: var(--brandtastic-body); font-size: 18px; font-weight: 600; line-height: 28px; letter-spacing: .54px; padding: 12px 15px; text-transform: none; }
.site-header__member-button:hover, .site-header__member-button:focus-visible, .ape-estimate:hover, .ape-estimate:focus-visible, .site-header__mobile-member:hover { color: #212427; background: #fff; }
.sliding-navbar, #menu-responsive .sub-menu { background: var(--ape-burgundy); }
.ape-mobile-phone { display: block; margin-top: 20px; color: #fff; text-align: center; text-decoration: none;
font-family: "nexa-rust-sans-black-2", sans-serif;
font-size: 30px;
font-style: normal;
font-weight: 900;
line-height: normal;
letter-spacing: 1.08px; }
.ape-footer { position: relative; isolation: isolate; overflow: hidden; padding: 0 30px 20px; color: #fff; background: var(--ape-red); }
.ape-footer__tracks { position: absolute; z-index: -1; width: 100%; height: 100%; top: 0; left: 0; background: url("img/ape/footer-track.webp") center left / contain no-repeat; pointer-events: none; }
.ape-footer__gorilla { position: absolute; z-index: -1; width: 847px; height: 846px; left: calc(50% + 193px); top: calc(50% - 416px); background: url("img/ape/gorilla.png") left 58% top / 174.43% 167.94% no-repeat; opacity: .1; pointer-events: none; }
.ape-footer__content { display: grid; grid-template-columns: 282px 519px 273px; align-items: center; column-gap: 35px; max-width: 1280px; margin-inline: auto; padding: 90px 0; }
.ape-footer__logo { display: block; }
.ape-footer__logo img { width: 282px; height: 282px; object-fit: contain; }
.ape-footer__copy h2 { margin: 0 0 12px; color: #fff; font-family: "nexa-rust-sans-black-2", sans-serif; font-weight: 900; line-height: 1.2; font-size: 29.675px; letter-spacing: .89px; }
.ape-footer__copy p { margin: 0 0 34.62px; font-size: 19px; line-height: 31px; letter-spacing: .57px; }
.ape-footer__contact { display: flex; flex-direction: column; gap: 30px; width: 273px; margin-left: 138px; font-size: 21.66px; line-height: 1.4; }
.ape-contact-row { display: flex; align-items: center; gap: 11.4px; color: #fff; text-decoration: none; }
.ape-contact-row:hover, .ape-contact-row:focus-visible { color: #fff; text-decoration: none; }
.ape-contact-row img { flex-shrink: 0; object-fit: contain; }
.ape-footer__phone { font-size: 22.8px; letter-spacing: .684px; }
.ape-footer__phone strong { font-weight: 600; }
.ape-footer__licenses { gap: 19px; }
.ape-footer .site-footer__socials { justify-content: flex-start; gap: 19.9px; }
.ape-footer .site-footer__socials a { display: flex; align-items: center; min-height: 30px; }
.ape-footer__legal { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px 0; margin-top: 21px; font-size: 15px; font-weight: 600; line-height: 21px; letter-spacing: .45px; }
.ape-footer__legal > *, .ape-footer__links li { padding: 0 10px; }
.ape-footer__legal a { color: #fff; text-decoration: none; }
.ape-footer__legal a:hover, .ape-footer__legal a:focus-visible { text-decoration: none; }
.ape-footer__links { display: flex; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.ape-footer__legal nav { padding: 0; }
.ape-footer__legal a svg { display: inline-block; width: 104.409px; height: 16px; margin-top: -1px; vertical-align: middle; }
.ape-footer__legal a svg path.logo-brand,
.ape-footer__legal a svg path.logo-tastic { transition: fill .3s ease; }
.ape-footer__legal a:hover svg path.logo-brand,
.ape-footer__legal a:focus-visible svg path.logo-brand { fill: #007bc3; }
.ape-footer__legal a:hover svg path.logo-tastic,
.ape-footer__legal a:focus-visible svg path.logo-tastic { fill: #ed0b70; }
@media (max-width: 1750px) and (min-width: 1181px) {
 .site-header__inner { padding-inline: 45px; gap: 30px; }
 .site-header__brand { width: 200px; }
 .site-header__brand img { width: 220px; height: 220px; }
 .site-navigation, .site-navigation__menu { gap: clamp(14px, 1.5vw, 25px); }
 .site-navigation__menu a, .site-header__member-button { font-size: 16px; }
 .ape-header-phone span span { font-size: 16px; letter-spacing: 1.8px; }
 .ape-header-phone strong { font-size: 19px; }
}
@media (max-width: 1500px) {
 .ape-footer__content { grid-template-columns: minmax(180px, 282px) minmax(300px, 519px) minmax(250px, 320px); gap: 35px; max-width: 1250px; }
 .ape-footer__contact { width: auto; margin-left: 0; }
}
@media (max-width: 1400px) and (min-width: 991px) {
 .site-header__inner { padding-inline: 25px; gap: 20px; }
 .site-header__brand { width: 155px; }
 .site-header__brand img { width: 175px; height: 175px; }
 .site-navigation, .site-navigation__menu { gap: 14px; }
 .site-navigation__menu a, .site-header__member-button { font-size: 14px; letter-spacing: .2px; }
 .ape-header-phone { gap: 7px; }
 .ape-header-phone > img { width: 24px; height: 24px; }
}
@media (max-width: 1180px) {
    .ape-header-phone span{
        display: none;
    }
}
@media (max-width: 992px) {
 .site-header { height: 112px;background: #4E0000; }
 .site-header::before{
    display: none;
 }
 .site-header__inner { padding: 0 24px; gap: 20px; }
 .site-header__brand { width: 150px; height: 112px; }
 .site-header__brand img { width: 150px; height: 150px; }
 .site-navigation { display: none; }
 .site-header__mobile-controls { display: flex; flex-shrink: 0; gap: 24px; }
 .site-header__mobile-controls .ape-header-phone { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
 .site-header__mobile-controls .ape-header-phone > img { width: 34px; height: 34px; }
 .site-header .openmainnav { display: flex; flex-shrink: 0; width: 48px; height: 48px; align-items: center; justify-content: center; padding: 4px; color: #fff; background: transparent; }
 .site-header .openmainnav svg { width: 38px; height: 32px; }
 .site-header .openmainnav:hover, .site-header .openmainnav:focus-visible, .site-header .openmainnav.menu-opened { color: #fff; }
 .ape-footer__content { grid-template-columns: 210px minmax(0, 1fr); gap: 30px; max-width: 850px; padding: 70px 0 45px; }
 .ape-footer__logo img { width: 210px; height: 210px; }
 .ape-footer__contact { grid-column: 2; font-size: 19px; gap: 22px; }
}
@media (max-width: 640px) {
    .site-header__mobile-member{
        display: none;
    }
}
@media (max-width: 600px) {
 .site-header__inner { padding: 0 15px; gap: 8px; }
 .site-header__mobile-member { max-width: 180px; font-size: 12px; line-height: 18px; padding: 10px 12px; white-space: normal; text-align: center; }
 .ape-footer { padding: 0 25px 20px; }
 .ape-footer__content { display: flex; width: 100%; flex-direction: column; align-items: flex-start; padding: 50px 0; gap: 34.62px; }
 .ape-footer__logo { align-self: center; }
 .ape-footer__logo img { width: 281.909px; height: 281.909px; }
 .ape-footer__copy { width: 100%; text-align: left; }
 .ape-footer__copy h2 { font-size: 29.675px; line-height: 1.2; letter-spacing: .8902px; }
 .ape-footer__copy p { margin-bottom: 34.62px; font-size: 19px; line-height: 31px; letter-spacing: .57px; }
 .ape-estimate { font-size: 18px; }
 .ape-footer__contact { align-self: center; width: 273px; max-width: none; margin-top: 7px; gap: 30px; font-size: 21.66px; line-height: 1.4; }
 .ape-footer__phone { font-size: 22.8px; line-height: 27.338px; }
 .ape-footer__licenses > div > div:first-child { line-height: 29px; }
 .ape-footer__licenses > div > div:last-child { line-height: 31.92px; }
 .ape-footer__contact > .ape-contact-row:not(.ape-footer__phone):not(.ape-footer__licenses) { line-height: 29px; letter-spacing: 0; }
 .ape-footer .site-footer__socials { gap: 19.918px; }
 .ape-footer .site-footer__socials a { min-height: 22px; }
 .ape-footer__legal { margin-top: 21px; font-size: 15px; line-height: 20px; gap: 5px 6px; }
 .ape-footer__legal > * { padding-inline: 0; }
 .ape-footer .current-year { display: none; }
 .ape-footer__tracks { left: -1107px; }
 .ape-footer__gorilla { top: calc(50% - 416px); bottom: auto; left: calc(50% + 193px); width: 847px; height: 846px; }
}

.ape-footer .site-footer__socials { flex-wrap: nowrap; gap: 19.918px; }
/* Make the opening panel focusable immediately, before its slide animation. */
.sliding-navbar--open { visibility: visible; transition: transform .3s ease; }
