:root {
    --aa-orange: #f57c1f;
    --aa-dark: #080812;
    --aa-white: #ffffff;
}

.aa-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: height 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.aa-header.is-scrolled {
    height: 80px;
}

.header-bg {
    position: absolute;
    inset: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.45s ease;
    z-index: -1;
}

.aa-header.is-scrolled .header-bg {
    background: rgba(8, 8, 18, 0.86);
    border-bottom-color: rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(1280px, 92vw);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.aa-logo {
    display: inline-flex;
    align-items: center;
    height: 40px;
}

.aa-logo img {
    height: 100%;
    width: auto;
    display: block;
}

.aa-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.aa-nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--aa-white);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.25s ease;
}

.aa-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--aa-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.7, 0, 0.3, 1);
}

.aa-nav a:hover {
    color: var(--aa-orange);
}

.aa-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.aa-burger {
    display: none;
    width: 46px;
    height: 46px;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: var(--aa-white);
    transition: width 0.24s ease, background-color 0.24s ease;
}

.bar.short {
    width: 18px;
}

.aa-burger:hover .bar {
    background: var(--aa-orange);
}

.aa-burger:hover .bar.short {
    width: 28px;
}

.aa-mob-layer-orange,
.aa-mob-layer-content {
    position: fixed;
    inset: 0;
    pointer-events: none;
    clip-path: circle(0% at 100% 0%);
}

.aa-mob-layer-orange {
    background: var(--aa-orange);
    z-index: 149998;
}

.aa-mob-layer-content {
    background: var(--aa-dark);
    z-index: 149999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.aa-close-btn {
    position: fixed;
    top: 26px;
    right: 5vw;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    z-index: 150002;
    transition: transform 0.35s ease;
}

.aa-close-btn:hover {
    transform: rotate(90deg);
}

.x-wrapper {
    position: relative;
    width: 38px;
    height: 38px;
}

.x-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: var(--aa-white);
}

.x-bar:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.x-bar:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.aa-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    align-items: center;
}

.m-link-container {
    position: relative;
    overflow: hidden;
    height: clamp(46px, 8vh, 76px);
    text-decoration: none;
}

.m-link-text {
    display: block;
    color: var(--aa-white);
    font-family: inherit;
    font-size: clamp(38px, 8vh, 68px);
    font-weight: 700;
    line-height: 1;
    transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.m-link-text.hover-clone {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    color: var(--aa-orange);
}

.m-link-container:hover .m-link-text {
    transform: translateY(-100%);
}

body.aa-mobile-menu-open {
    overflow: hidden;
}

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

    .aa-burger {
        display: inline-flex;
    }
}

/* Keep Elementor page design clean without WP default title duplication */
body.page .entry-title,
body.page .page-title {
    display: none !important;
}

.aa-site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #0a0a16;
    color: #f5f2ea;
    margin-top: 90px;
}

.aa-footer-inner {
    width: min(1280px, 92vw);
    margin: 0 auto;
    padding: 28px 0 34px;
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
    gap: 20px;
}

.aa-footer-brand strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.aa-footer-brand p {
    margin: 6px 0 0;
    opacity: 0.72;
    font-size: 13px;
}

.aa-footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.aa-footer-nav a {
    color: #f5f2ea;
    text-decoration: none;
    opacity: 0.9;
    font-size: 14px;
}

.aa-footer-nav a:hover {
    color: #f57c1f;
    opacity: 1;
}

.aa-footer-copy {
    font-size: 13px;
    opacity: 0.72;
    text-align: right;
}

@media (max-width: 900px) {
    .aa-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .aa-footer-copy {
        text-align: center;
    }
}
