:root {
    --am-navy: #092754;
    --am-blue: #0b397b;
    --am-text: #102b50;
    --am-border: #e6ebf2;
}

.am-home {
    direction: rtl;
    color: var(--am-text);
    background: #fff;
    font-family: Vazirmatn, Tahoma, sans-serif;
}

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

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

.am-header {
    height: 76px;
    background: #fff;
    border-bottom: 1px solid var(--am-border);
    position: relative;
    z-index: 20;
}

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

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

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

.am-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

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

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

.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-menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 25px;
    color: var(--am-navy);
    cursor: pointer;
}

.am-hero {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    isolation: isolate;
    background: #dbeaf6;
}

.am-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    z-index: -3;
}

.am-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.93) 30%,
        rgba(255,255,255,.55) 49%,
        rgba(255,255,255,0) 72%
    );
}

.am-hero-inner {
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.am-hero-copy {
    width: min(100%, 560px);
    text-align: right;
    padding-block: 38px;
    margin-left: 0;
    margin-right: auto;
}

.am-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(32px, 3.1vw, 48px);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -1.2px;
    color: #08264f;
}

.am-hero p {
    max-width: 480px;
    margin: 0;
    font-size: 16px;
    line-height: 2.15;
    color: #203b5b;
}

.am-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.am-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.am-btn-primary {
    background: var(--am-navy);
    color: #fff;
}

.am-btn-outline {
    border: 1px solid #8da2bc;
    background: rgba(255,255,255,.85);
    color: var(--am-navy);
}

.am-placeholder {
    padding: 70px 0;
    text-align: center;
}

.am-placeholder h2 {
    margin: 0 0 10px;
    font-size: 27px;
    font-weight: 900;
}

.am-placeholder p {
    color: #6a7d92;
    font-size: 14px;
}

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

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

    .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-nav.is-open { display: flex; }

    .am-hero,
    .am-hero-inner { min-height: 500px; }

    .am-hero-shade {
        background: linear-gradient(
            90deg,
            rgba(255,255,255,.95),
            rgba(255,255,255,.7) 65%,
            rgba(255,255,255,.3)
        );
    }

    .am-hero-copy {
        padding-block: 55px;
        width: 100%;
    }

    .am-hero h1 { font-size: 38px; }
    .am-hero p { font-size: 14px; }
}

@media (max-width: 480px) {
    .am-container { width: min(100% - 32px, 1320px); }
    .am-logo img { width: 120px; }
    .am-book { font-size: 10px; padding: 11px; }
    .am-hero h1 { font-size: 32px; }
    .am-hero-buttons { flex-direction: column; align-items: stretch; }
}

/* =========================================
   HOME COUNTRIES
========================================= */

.am-countries {
    padding: 45px 0 30px;
    background: #fff;
}

.am-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 25px;
}

.am-section-heading h2 {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 7px;
    color: #0a2852;
}

.am-section-heading p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.am-section-heading > a {
    color: #0a2852;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.am-country-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 13px;
}

.am-country-card {
    height: 200px;
    position: relative;
    border-radius: 11px;
    overflow: hidden;
    background: #0a2852;
    isolation: isolate;
    text-decoration: none;
    color: #fff;
}

.am-country-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    z-index: -2;
    transition: transform .35s ease;
}

.am-country-card:hover img {
    transform: scale(1.05);
}

.am-country-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        transparent 30%,
        rgba(4, 22, 47, .45) 55%,
        rgba(3, 20, 45, .98) 100%
    );
}

.am-country-info {
    position: absolute;
    bottom: 14px;
    right: 13px;
    left: 13px;
}

.am-country-flag {
    display: block;
    font-size: 25px;
    margin-bottom: 7px;
}

.am-country-info h3 {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 5px;
}

.am-country-info p {
    color: rgba(255,255,255,.85);
    font-size: 10px;
    margin: 0 0 10px;
    line-height: 1.8;
}

.am-country-arrow {
    display: inline-flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0a2852;
    border-radius: 50%;
    font-size: 15px;
}

@media (max-width: 1050px) {
    .am-country-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 650px) {
    .am-country-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .am-section-heading {
        align-items: flex-start;
    }

    .am-section-heading h2 {
        font-size: 22px;
    }

    .am-country-card {
        height: 190px;
    }
}
