/* =========================================
   ROYAL OAK HEADER
========================================= */

.ro-header {
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
}

.ro-header-inner {
    width: min(1190px, 100%);
    min-height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 24px 10px 20px;

    background: rgb(255 255 255 / 73%);
    border-radius: 10px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
}

/* Logo */

.ro-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ro-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ro-logo .custom-logo,
.ro-logo .ro-logo-img {
    display: block;
    width: auto;
    max-width: 175px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

/* Navigation */

.ro-main-nav {
    margin-left: auto;
    margin-right: 24px;
}

.ro-menu {
    display: flex;
    align-items: center;
    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.ro-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.ro-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 0;

    color: #1e293b;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;

    text-decoration: none;
    transition: color 0.2s ease;
}

.ro-menu > li > a:hover,
.ro-menu > li.current-menu-item > a {
    color: #073863;
}

/* Services dropdown caret */

.ro-menu > .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #64748b;
    transition: transform 0.2s ease;
}

.ro-menu > .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown */

.ro-menu .sub-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: -15px;
    min-width: 210px;
    margin: 0;
    padding: 8px 0;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    list-style: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 100;
}

.ro-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ro-menu .sub-menu li {
    margin: 0;
}

.ro-menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    color: #334155;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ro-menu .sub-menu a:hover {
    background: #f1f5f9;
    color: #073863;
}

/* Hamburger toggle */

.ro-menu-toggle {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.ro-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #111827;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.ro-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}

.ro-menu-toggle.is-active span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
}