.fdv-header-wrap,
.fdv-header-wrap * {
    box-sizing: border-box;
}

.fdv-header-wrap {
    width: 100%;
    position: relative;
    z-index: 999;
}

.fdv-header-wrap.fdv-is-sticky {
    position: sticky;
    top: 0;
}

.admin-bar .fdv-header-wrap.fdv-is-sticky {
    top: 32px;
}

.fdv-header {
    width: 100%;
    background: #f7fffc;
    border-bottom: 1px solid rgba(16, 177, 164, 0.18);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fdv-shell {
    width: 100%;
    max-width: 1180px;
    min-height: 86px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.fdv-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: 0;
    text-decoration: none !important;
    outline: none;
}

.fdv-logo img {
    width: 168px;
    max-width: 100%;
    height: auto;
    display: block;
}

.fdv-logo-text {
    color: #12afa4;
    font-family: Urbanist, Inter, Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
}

.fdv-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-width: 0;
}

.fdv-menu-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.fdv-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #173f3b;
    text-decoration: none !important;
    font-family: Urbanist, Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
    padding: 34px 0;
    transition: color 0.2s ease;
}

.fdv-nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 25px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background-color: #12afa4;
    transition: width 0.2s ease;
}

.fdv-nav-link:hover,
.fdv-has-mega:hover > .fdv-nav-link,
.fdv-has-mega:focus-within > .fdv-nav-link {
    color: #12afa4;
}

.fdv-nav-link:hover::after,
.fdv-has-mega:hover > .fdv-nav-link::after,
.fdv-has-mega:focus-within > .fdv-nav-link::after {
    width: 100%;
}

.fdv-service-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: #12afa4;
    opacity: 0.85;
}

.fdv-service-arrow {
    width: 7px;
    height: 7px;
    border: solid #12afa4;
    border-width: 0 1.5px 1.5px 0;
    display: inline-block;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.fdv-has-mega:hover .fdv-service-arrow,
.fdv-has-mega:focus-within .fdv-service-arrow {
    transform: rotate(225deg) translateY(-1px);
}

.fdv-mega {
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    width: min(760px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    background: #0e6964;
    box-shadow: 0 24px 70px rgba(8, 55, 52, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 9999;
}

.fdv-mega::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.fdv-has-mega:hover .fdv-mega,
.fdv-has-mega:focus-within .fdv-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.fdv-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fdv-mega-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 13px;
    color: #ffffff;
    text-decoration: none !important;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.10);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.fdv-mega-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.fdv-mega-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    font-size: 18px;
    line-height: 1;
    flex: 0 0 auto;
}

.fdv-mega-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.fdv-mega-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fdv-mega-title {
    display: block;
    color: #ffffff;
    font-family: Urbanist, Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.fdv-mega-desc {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-family: Urbanist, Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
}

.fdv-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.fdv-cta,
.fdv-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 12px 18px;
    border-radius: 999px;
    color: #ffffff;
    background: #12afa4;
    text-decoration: none !important;
    font-family: Urbanist, Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.fdv-cta:hover,
.fdv-mobile-cta:hover {
    color: #ffffff;
    background: #0e6964;
    transform: translateY(-1px);
}

.fdv-mobile-toggle {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 15px;
    background: rgba(18, 175, 164, 0.12);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.fdv-mobile-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: #0e6964;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fdv-menu-open .fdv-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.fdv-menu-open .fdv-mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.fdv-menu-open .fdv-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.fdv-mobile-panel {
    display: none;
    border-top: 1px solid rgba(14, 105, 100, 0.12);
    background: #ffffff;
    overflow: hidden;
}

.fdv-mobile-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 18px 20px;
}

.fdv-mobile-link,
.fdv-mobile-service-toggle {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid rgba(14, 105, 100, 0.12);
    padding: 0;
    color: #173f3b;
    background: transparent;
    text-decoration: none !important;
    font-family: Urbanist, Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-align: left;
}

.fdv-mobile-services {
    width: 100%;
}

.fdv-mobile-service-plus {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.fdv-mobile-service-plus::before,
.fdv-mobile-service-plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.fdv-mobile-service-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fdv-mobile-services.is-open .fdv-mobile-service-plus::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}

.fdv-mobile-services-list {
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    margin: 0;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: #0e6964;
    transition: max-height 0.28s ease, padding 0.28s ease, margin 0.28s ease, opacity 0.2s ease;
}

.fdv-mobile-services.is-open .fdv-mobile-services-list {
    max-height: 980px;
    padding: 12px;
    margin: 10px 0 14px;
    opacity: 1;
}

.fdv-mobile-service-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 11px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.fdv-mobile-service-card + .fdv-mobile-service-card {
    margin-top: 8px;
}

.fdv-mobile-service-card:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.fdv-mobile-service-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    font-size: 18px;
    line-height: 1;
}

.fdv-mobile-service-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.fdv-mobile-service-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fdv-mobile-service-title {
    color: #ffffff;
    font-family: Urbanist, Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.fdv-mobile-service-desc {
    color: rgba(255, 255, 255, 0.72);
    font-family: Urbanist, Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
}

.fdv-mobile-all-services {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: #0e6964;
    font-family: Urbanist, Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.fdv-mobile-cta {
    width: 100%;
    margin-top: 16px;
}

@media (max-width: 1120px) {
    .fdv-nav {
        gap: 20px;
    }

    .fdv-nav-link {
        font-size: 14px;
    }

    .fdv-logo img {
        width: 150px;
    }
}

@media (max-width: 1024px) {
    .admin-bar .fdv-header-wrap.fdv-is-sticky {
        top: 32px;
    }

    .fdv-shell {
        min-height: 76px;
        padding: 0 18px;
    }

    .fdv-nav,
    .fdv-cta {
        display: none;
    }

    .fdv-mobile-toggle {
        display: inline-flex;
    }

    .fdv-mobile-panel {
        display: block;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.28s ease, opacity 0.2s ease;
    }

    .fdv-menu-open .fdv-mobile-panel {
        max-height: calc(100vh - 76px);
        opacity: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .fdv-logo img {
        width: 132px;
    }
}

@media (max-width: 767px) {
    .admin-bar .fdv-header-wrap.fdv-is-sticky {
        top: 46px;
    }

    .fdv-shell {
        min-height: 70px;
        gap: 14px;
        padding: 0 14px;
    }

    .fdv-mobile-toggle {
        width: 43px;
        height: 43px;
        border-radius: 14px;
    }

    .fdv-mobile-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .fdv-logo-text {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .admin-bar .fdv-header-wrap.fdv-is-sticky {
        top: 0;
    }
}
