/* Astana-only quality pass: navigation, conversion clarity and editorial density. */
body.astana-signal-home > .alteman-contact-dock { display: none; }

.astana-nav { display: block; }
.astana-nav__menu { margin: 0; }
.astana-nav__menu > summary { display: none; }
.astana-nav__links { display: flex; align-items: center; justify-content: flex-end; gap: 10px 22px; }

.astana-editorial-statements { margin-top: clamp(48px, 5vw, 64px); }

.astana-growth-layout__signal {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 402px;
    padding: 20px;
    overflow: hidden;
}

.astana-growth-layout__signal img {
    width: 100%;
    max-height: none;
    height: 324px;
    margin: 0;
    object-fit: cover;
    filter: none;
    opacity: 1;
}

.astana-growth-layout__signal > span {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    margin-top: 18px;
    padding: 0 8px;
}

.astana-growth-layout__line {
    top: 18px;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 1;
    pointer-events: none;
}

.astana-brief {
    border-top: 1px solid var(--astana-line);
    background: var(--astana-paper);
    color: var(--astana-graphite);
}

.astana-brief__inner { padding: clamp(52px, 6vw, 76px) 0; }
.astana-brief__inner::before { background: var(--astana-line); }
.astana-brief p { color: var(--astana-graphite); }
.astana-brief .astana-section-label { color: var(--astana-orange); }
.astana-brief__note { color: var(--astana-graphite); opacity: .68; }
.astana-brief .astana-button--quiet {
    border-color: var(--astana-graphite);
    background: transparent;
    color: var(--astana-graphite);
}
.astana-brief .astana-button--quiet:hover,
.astana-brief .astana-button--quiet:focus-visible {
    border-color: var(--astana-orange);
    background: var(--astana-orange);
    color: var(--astana-white);
}

.astana-mobile-contact { display: none; }

@media (max-width: 760px) {
    .astana-site-header__inner {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 14px 0;
    }

    .astana-nav { margin-left: auto; }
    .astana-nav__menu { position: relative; }
    .astana-nav__menu > summary {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 90px;
        min-height: 44px;
        padding: 0 14px;
        border: 1px solid rgba(255, 253, 248, .44);
        color: var(--astana-white);
        cursor: pointer;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .08em;
        line-height: 1;
        list-style: none;
        text-transform: uppercase;
    }

    .astana-nav__menu > summary::-webkit-details-marker { display: none; }
    .astana-nav__menu > summary:focus-visible { outline: 2px solid var(--astana-orange); outline-offset: 3px; }
    .astana-nav__links {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        z-index: 20;
        display: none;
        width: min(290px, calc(100vw - 32px));
        padding: 10px;
        border: 1px solid rgba(255, 253, 248, .3);
        background: var(--astana-graphite);
        box-shadow: 0 18px 44px rgba(72, 70, 64, .22);
    }

    .astana-nav__menu[open] .astana-nav__links { display: grid; gap: 0; }
    .astana-nav__links a,
    .astana-nav__links .astana-nav__brief {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 0 12px;
        border: 0;
        border-bottom: 1px solid rgba(255, 253, 248, .16);
        background: transparent;
        color: var(--astana-white);
        font-size: 15px;
        line-height: 1.25;
    }

    .astana-nav__links .astana-nav__brief {
        margin-top: 7px;
        border: 1px solid var(--astana-orange);
        background: var(--astana-orange);
        color: var(--astana-white);
    }

    .astana-proof-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .astana-proof-strip__item { min-height: 118px; }

    .astana-growth-layout__signal { min-height: 320px; padding: 16px; }
    .astana-growth-layout__signal img { height: 248px; }
    .astana-growth-layout__signal > span { margin-top: 13px; padding: 0 4px; font-size: 15px; }
    .astana-growth-layout__line { top: 14px; right: 14px; bottom: 14px; left: 14px; }

    .astana-brief__inner { padding: 52px 0 56px; }

    .astana-mobile-contact {
        position: fixed;
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
        z-index: 45;
        display: block;
    }

    .astana-mobile-contact > summary {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 126px;
        min-height: 48px;
        padding: 0 16px;
        background: var(--astana-orange);
        color: var(--astana-white);
        cursor: pointer;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .04em;
        line-height: 1;
        list-style: none;
        text-transform: uppercase;
        box-shadow: 0 12px 28px rgba(72, 70, 64, .2);
    }

    .astana-mobile-contact > summary::-webkit-details-marker { display: none; }
    .astana-mobile-contact > summary:focus-visible { outline: 2px solid var(--astana-graphite); outline-offset: 3px; }
    .astana-mobile-contact > nav {
        position: absolute;
        right: 0;
        bottom: calc(100% + 8px);
        display: grid;
        min-width: 178px;
        border: 1px solid var(--astana-line);
        background: var(--astana-white);
        box-shadow: 0 16px 34px rgba(72, 70, 64, .2);
    }

    .astana-mobile-contact > nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 0 15px;
        border-bottom: 1px solid var(--astana-line);
        color: var(--astana-graphite);
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
    }

    .astana-mobile-contact > nav a:last-child { border-bottom: 0; }
    body.astana-signal-home { padding-bottom: 80px; }
}

@media (max-width: 420px) {
    .astana-proof-strip__item { min-height: 128px; padding: 16px 14px; }
}

/* The homepage already keeps an explicit conversion action in the mobile menu.
   Do not cover recovered editorial text with a second fixed control. */
body.astana-signal-home .astana-mobile-contact { display: none !important; }

@media (max-width: 760px) {
    body.astana-signal-home { padding-bottom: 0; }
}
