.am-header {
    --am-navy: #092754;
    --am-blue: #0b397b;
    --am-text: #102b50;
    --am-border: #e6ebf2;
    direction: rtl;
    font-family: Vazirmatn, Tahoma, sans-serif;
    line-height: 1.9;
    height: 76px;
    background: #fff;
    border-bottom: 1px solid var(--am-border);
    position: relative;
    z-index: 100;
}

.am-header *,
.am-header *::before,
.am-header *::after {
    box-sizing: border-box;
}

.am-header .am-container {
    width: min(100% - 48px, 1320px);
    margin-inline: auto;
    padding: 0;
}

.am-header .am-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

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

.am-header .am-logo img {
    width: 170px;
    max-height: 62px;
    object-fit: contain;
}

.am-header .am-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
}

.am-header .am-nav a {
    color: #263d5d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.am-header .am-nav a:hover,
.am-header .am-nav a.active {
    color: var(--am-blue);
}

.am-header .am-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.am-header .am-book {
    background: var(--am-navy);
    color: #fff;
    padding: 13px 19px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.am-header .am-menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 25px;
    color: var(--am-navy);
    cursor: pointer;
}

@media (max-width: 1050px) {
    .am-header .am-nav { gap: 15px; }
    .am-header .am-nav a { font-size: 11px; }
    .am-header .am-logo img { width: 135px; }
}

@media (max-width: 800px) {
    .am-header { height: 70px; }
    .am-header .am-menu-toggle { display: block; }

    .am-header .am-nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        background: white;
        padding: 20px 24px;
        box-shadow: 0 15px 25px rgba(0,0,0,.1);
        flex-direction: column;
        align-items: stretch;
    }

    .am-header .am-nav.is-open {
        display: flex;
    }
}

@media (max-width: 480px) {
    .am-header .am-container {
        width: min(100% - 32px, 1320px);
    }

    .am-header .am-logo img { width: 120px; }
    .am-header .am-book { font-size: 10px; padding: 11px; }
    .am-header .am-header-inner { gap: 10px; }
}
