.dr1065header,
.dr1065header *,
.dr1065header *::before,
.dr1065header *::after {
    box-sizing: border-box;
}

.dr1065header {
    --dr1065-navy: #081625;
    --dr1065-navy-light: #10283B;
    --dr1065-teal: #20B7B0;
    --dr1065-gold: #D7B777;
    --dr1065-white: #F3F5F7;
    --dr1065-muted: #B8C7D6;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;

    background:
        linear-gradient(
            115deg,
            rgba(8, 22, 37, 0.98),
            rgba(13, 34, 52, 0.97) 58%,
            rgba(8, 22, 37, 0.99)
        );

    border-bottom: 1px solid rgba(215, 183, 119, 0.30);

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    color: var(--dr1065-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.dr1065header a,
.dr1065header button {
    font-family: inherit;
}

.dr1065header a {
    text-decoration: none;
}

.dr1065header button {
    -webkit-tap-highlight-color: transparent;
}

.dr1065header button:focus-visible,
.dr1065header a:focus-visible {
    outline: 2px solid var(--dr1065-teal);
    outline-offset: 4px;
}

/* ==========================================================
   BRAND HEADER
========================================================== */

.dr1065header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    width: 100%;
    max-width: 1600px;
    min-height: 104px;

    margin: 0 auto;
    padding: 14px 5.5%;
}

.dr1065header-brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    color: inherit;
}

.dr1065header-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 72px;
    width: 72px;
    height: 72px;

    padding: 5px;
    border: 1px solid rgba(215, 183, 119, 0.62);
    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.dr1065header-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dr1065header-brand:hover .dr1065header-logo {
    transform: translateY(-2px);
    border-color: var(--dr1065-gold);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.24),
        0 0 18px rgba(215, 183, 119, 0.12);
}

.dr1065header-brandtext {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.dr1065header-eyebrow {
    margin-bottom: 3px;

    color: var(--dr1065-teal);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.5;
}

.dr1065header-title {
    display: block;
    color: var(--dr1065-gold);

    font-size: clamp(19px, 2vw, 27px);
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1.25;
}

.dr1065header-tagline {
    display: block;
    margin-top: 5px;

    color: var(--dr1065-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25px;
    line-height: 1.5;
}

.dr1065header-separator {
    display: inline-block;
    padding: 0 5px;
    color: var(--dr1065-gold);
}

/* ==========================================================
   MOBILE MENU BUTTON
========================================================== */

.dr1065header-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 10px;

    border: 1px solid rgba(215, 183, 119, 0.35);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.dr1065header-toggle:hover {
    background: rgba(32, 183, 176, 0.12);
    border-color: var(--dr1065-teal);
}

.dr1065header-toggle-line {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 5px;

    background: var(--dr1065-gold);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.dr1065header-toggle[aria-expanded="true"]
.dr1065header-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.dr1065header-toggle[aria-expanded="true"]
.dr1065header-toggle-line:nth-child(2) {
    opacity: 0;
}

.dr1065header-toggle[aria-expanded="true"]
.dr1065header-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   NAVIGATION BAR
========================================================== */

.dr1065header-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.dr1065header-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
    padding: 8px 4%;

    list-style: none;
}

.dr1065header-item {
    position: relative;
    min-width: 0;
    list-style: none;
}

.dr1065header-link,
.dr1065header-dropdown-toggle {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 43px;
    padding: 11px 13px;

    border: 1px solid transparent;
    border-radius: 9px;

    background: transparent;
    color: #E5EDF5;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15px;
    line-height: 1.4;
    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.dr1065header-link::after {
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;

    height: 1px;
    content: "";

    background: var(--dr1065-gold);
    transform: scaleX(0);
    transform-origin: left center;

    transition: transform 0.25s ease;
}

.dr1065header-link:hover,
.dr1065header-dropdown-toggle:hover,
.dr1065header-dropdown.dr1065header-open
.dr1065header-dropdown-toggle {
    color: var(--dr1065-gold);
    background: rgba(215, 183, 119, 0.055);
}

.dr1065header-link:hover::after {
    transform: scaleX(1);
}

/* Dropdown arrow */

.dr1065header-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s ease;
}

.dr1065header-dropdown:hover
.dr1065header-arrow,
.dr1065header-dropdown:focus-within
.dr1065header-arrow,
.dr1065header-dropdown.dr1065header-open
.dr1065header-arrow {
    transform: translateY(2px) rotate(225deg);
}

/* ==========================================================
   CONTACT ACTION
========================================================== */

.dr1065header-contact-item {
    margin-left: 9px;
}

.dr1065header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 10px 15px;

    border: 1px solid rgba(215, 183, 119, 0.85);
    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            rgba(215, 183, 119, 0.15),
            rgba(215, 183, 119, 0.055)
        );

    color: var(--dr1065-gold);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.dr1065header-contact:hover {
    color: var(--dr1065-navy);
    background: var(--dr1065-gold);
    transform: translateY(-1px);

    box-shadow: 0 5px 18px rgba(215, 183, 119, 0.16);
}

.dr1065header-contact-icon {
    font-size: 15px;
    line-height: 1;
}

/* ==========================================================
   DROPDOWN MENUS
========================================================== */

.dr1065header-submenu {
    display: none;

    position: absolute;
    top: calc(100% + 7px);
    left: 0;

    width: max-content;
    min-width: 255px;
    max-width: min(340px, 90vw);

    margin: 0;
    padding: 8px;

    list-style: none;

    background: #102438;
    border: 1px solid rgba(215, 183, 119, 0.24);
    border-radius: 13px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    animation: dr1065header-dropdown-in 0.18s ease both;
}

.dr1065header-submenu li {
    display: block;
    width: 100%;
    list-style: none;
}

.dr1065header-submenu a {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 42px;
    padding: 11px 13px;

    border-radius: 7px;

    color: #DCE6EF;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;

    white-space: normal;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        padding-left 0.2s ease;
}

.dr1065header-submenu a:hover {
    padding-left: 17px;
    color: var(--dr1065-gold);
    background: rgba(32, 183, 176, 0.09);
}

@keyframes dr1065header-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop dropdowns */

@media (min-width: 901px) {

    .dr1065header-dropdown:hover
    > .dr1065header-submenu,
    .dr1065header-dropdown:focus-within
    > .dr1065header-submenu {
        display: block;
    }

}

/* ==========================================================
   ACTIVE AND UTILITY STATES
========================================================== */

.dr1065header-hidden {
    display: none !important;
}

.dr1065header-link[aria-current="page"] {
    color: var(--dr1065-gold);
}

/* ==========================================================
   MEDIUM DESKTOP / TABLET
========================================================== */

@media (min-width: 901px) and (max-width: 1200px) {

    .dr1065header-top {
        min-height: 94px;
        padding-right: 3%;
        padding-left: 3%;
    }

    .dr1065header-logo {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
    }

    .dr1065header-brand {
        gap: 13px;
    }

    .dr1065header-title {
        font-size: 21px;
    }

    .dr1065header-tagline {
        font-size: 10px;
    }

    .dr1065header-menu {
        gap: 1px;
        padding-right: 2%;
        padding-left: 2%;
    }

    .dr1065header-link,
    .dr1065header-dropdown-toggle {
        gap: 6px;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 11px;
    }

    .dr1065header-contact {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 10px;
    }

    .dr1065header-contact-item {
        margin-left: 3px;
    }

}

/* ==========================================================
   MOBILE NAVIGATION
========================================================== */

@media (max-width: 900px) {

    .dr1065header-top {
        min-height: 82px;
        gap: 12px;
        padding: 10px 18px;
    }

    .dr1065header-brand {
        gap: 12px;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .dr1065header-logo {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        padding: 4px;
        border-radius: 12px;
    }

    .dr1065header-eyebrow {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .dr1065header-title {
        font-size: clamp(16px, 3.2vw, 21px);
        letter-spacing: 0.3px;
    }

    .dr1065header-tagline {
        max-width: 100%;
        margin-top: 3px;
        font-size: 10px;
    }

    .dr1065header-toggle {
        display: flex;
    }

    .dr1065header-nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        max-height: calc(100dvh - 82px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;

        background: rgba(8, 22, 37, 0.99);
        border-top: 1px solid rgba(215, 183, 119, 0.22);
        border-bottom: 1px solid rgba(215, 183, 119, 0.20);

        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
    }

    .dr1065header-nav.dr1065header-open {
        display: block;
    }

    .dr1065header-menu {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 3px;

        width: 100%;
        padding: 12px 16px 22px;
    }

    .dr1065header-item {
        width: 100%;
        flex: 0 0 auto;
    }

    .dr1065header-link,
    .dr1065header-dropdown-toggle {
        display: flex;
        justify-content: space-between;

        width: 100%;
        min-height: 46px;
        padding: 12px 14px;

        border-radius: 8px;
        text-align: left;

        font-size: 13px;
        white-space: normal;
    }

    .dr1065header-link::after {
        display: none;
    }

    .dr1065header-link:hover,
    .dr1065header-dropdown-toggle:hover {
        background: rgba(32, 183, 176, 0.08);
    }

    .dr1065header-submenu {
        display: none;

        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;

        margin: 2px 0 8px;
        padding: 5px;

        background: rgba(16, 40, 59, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.055);
        border-radius: 9px;

        box-shadow: none;
        animation: none;
    }

    .dr1065header-dropdown.dr1065header-open
    > .dr1065header-submenu {
        display: block;
    }

    .dr1065header-submenu a {
        min-height: 42px;
        padding: 11px 13px;
        font-size: 12px;
    }

    .dr1065header-submenu a:hover {
        padding-left: 17px;
    }

    .dr1065header-contact-item {
        margin: 8px 0 0;
        padding-top: 10px;
        border-top: 1px solid rgba(215, 183, 119, 0.14);
    }

    .dr1065header-contact {
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        font-size: 12px;
    }

}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

    .dr1065header-top {
        min-height: 74px;
        padding: 9px 12px;
    }

    .dr1065header-brand {
        gap: 9px;
    }

    .dr1065header-logo {
        flex-basis: 47px;
        width: 47px;
        height: 47px;
        border-radius: 10px;
    }

    .dr1065header-eyebrow {
        font-size: 7px;
        letter-spacing: 1.6px;
    }

    .dr1065header-title {
        font-size: 15px;
        line-height: 1.3;
    }

    .dr1065header-tagline {
        font-size: 9px;
        line-height: 1.4;
    }

    .dr1065header-separator {
        padding: 0 2px;
    }

    .dr1065header-toggle {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        padding: 8px;
    }

    .dr1065header-nav {
        max-height: calc(100dvh - 74px);
    }

    .dr1065header-menu {
        padding-right: 12px;
        padding-left: 12px;
    }

}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .dr1065header *,
    .dr1065header *::before,
    .dr1065header *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}