/* /Layout/MainLayout.razor.rz.scp.css */
.shell[b-ml2c1iog2o] {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--color-bg-main) 0%, var(--color-bg-alt) 100%);
    overflow-x: clip;
}

.app-header[b-ml2c1iog2o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--app-header-height, 64px);
    padding: 0 16px;
    gap: 10px;
    min-width: 0;
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-right[b-ml2c1iog2o] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-left: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.header-route-title[b-ml2c1iog2o] {
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--color-text-primary) 86%, var(--color-text-secondary));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(38vw, 180px);
}

.layout-filter-button[b-ml2c1iog2o] {
    height: 30px;
    width: 30px;
    padding: 0;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    position: relative;
    z-index: 1;
}

.layout-action-button[b-ml2c1iog2o] {
    height: 30px;
    width: 30px;
    padding: 0;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    position: relative;
    z-index: 1;
}

.layout-filter-button svg[b-ml2c1iog2o] {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.layout-action-button svg[b-ml2c1iog2o] {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.layout-filter-button:hover svg[b-ml2c1iog2o] {
    transform: translateY(-1px) scale(1.05);
}

.layout-action-button:hover svg[b-ml2c1iog2o] {
    transform: translateY(-1px) scale(1.05);
}

.layout-filter-button[aria-expanded="true"] svg[b-ml2c1iog2o] {
    animation: filterIconPulse-b-ml2c1iog2o 1.2s ease-in-out infinite;
}

.services-filter-backdrop[b-ml2c1iog2o] {
    position: fixed;
    inset: 0;
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.services-filter-backdrop.show[b-ml2c1iog2o] {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.1);
}

.services-filter-panel[b-ml2c1iog2o] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: min(260px, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--color-border-soft) 78%, transparent);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
    background: var(--blur-panel);
    padding: 14px;
    display: grid;
    gap: 10px;
    transform: translateX(calc(100% + 14px));
    transition: transform var(--transition-normal);
}

.services-filter-header[b-ml2c1iog2o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.services-filter-header .caption[b-ml2c1iog2o] {
    margin: 0;
}

.services-filter-close-button[b-ml2c1iog2o] {
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.services-filter-close-button span[b-ml2c1iog2o] {
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 600;
}

.services-filter-content[b-ml2c1iog2o] {
    display: grid;
    gap: 10px;
}

.services-filter-backdrop.show .services-filter-panel[b-ml2c1iog2o] {
    transform: translateX(0);
}

.services-filter-panel .view-toggle[b-ml2c1iog2o] {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 12px;
}

.services-filter-panel .view-toggle-item[b-ml2c1iog2o] {
    width: 100%;
    border-radius: 10px;
    padding: 8px 10px;
    text-align: left;
}
 
.app-content[b-ml2c1iog2o] {
    margin: 0 var(--app-page-offset);
}

.app-content.services-content[b-ml2c1iog2o] {
    margin: 0 var(--app-page-offset);
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

.services-floating-contact-wrap[b-ml2c1iog2o] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 45;
    display: flex;
    justify-content: flex-end;
    padding-inline: 14px;
    pointer-events: none;
}

.services-floating-contact[b-ml2c1iog2o] {
    pointer-events: auto;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--color-border-soft) 78%, transparent);
    background: color-mix(in srgb, var(--color-surface) 88%, transparent);
    color: var(--color-text-primary);
    backdrop-filter: blur(10px) saturate(120%);
    box-shadow: 0 8px 18px color-mix(in srgb, #0f172a 14%, transparent), inset 0 1px 0 color-mix(in srgb, #ffffff 20%, transparent);
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.services-floating-contact:hover[b-ml2c1iog2o] {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--color-surface-muted) 92%, transparent);
    border-color: color-mix(in srgb, var(--color-accent) 26%, var(--color-border-soft));
    box-shadow: 0 10px 20px color-mix(in srgb, #0f172a 18%, transparent), inset 0 1px 0 color-mix(in srgb, #ffffff 24%, transparent);
}

.services-floating-contact:active[b-ml2c1iog2o] {
    transform: translateY(0);
}

.services-floating-contact:focus-visible[b-ml2c1iog2o] {
    outline: 2px solid color-mix(in srgb, var(--color-accent) 64%, transparent);
    outline-offset: 2px;
}

.services-floating-contact svg[b-ml2c1iog2o] {
    width: 17px;
    height: 17px;
    fill: currentColor;
    display: block;
}

.services-floating-contact svg *[b-ml2c1iog2o] {
    fill: currentColor;
}

@keyframes filterIconPulse-b-ml2c1iog2o {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 color-mix(in srgb, var(--color-accent) 0%, transparent));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 6px color-mix(in srgb, var(--color-accent) 44%, transparent));
    }
}

@media (max-width: 767px) {
    .app-content[b-ml2c1iog2o] {
        margin: 0;
    }

    .app-content.services-content[b-ml2c1iog2o] {
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    .app-header[b-ml2c1iog2o] {
        padding: 0 10px;
        gap: 6px;
    }

    .header-right[b-ml2c1iog2o] {
        gap: 6px;
        min-width: 0;
    }

    .header-route-title[b-ml2c1iog2o] {
        display: inline;
        font-size: 0.7rem;
        letter-spacing: 0.02em;
        max-width: min(26vw, 84px);
    }

    .header-right .view-toggle[b-ml2c1iog2o] {
        min-width: 0;
        max-width: 100%;
        gap: 2px;
        padding: 2px;
    }

    .header-right .view-toggle-item[b-ml2c1iog2o] {
        min-width: 0;
        padding: 5px 8px;
        font-size: 0.68rem;
    }

    .layout-filter-button[b-ml2c1iog2o] {
        height: 34px;
        width: 34px;
        flex-basis: 34px;
    }

    .layout-action-button[b-ml2c1iog2o] {
        height: 34px;
        width: 34px;
        flex-basis: 34px;
    }

    .services-filter-panel[b-ml2c1iog2o] {
        right: 8px;
        left: 8px;
        width: auto;
        max-width: none;
    }

    .services-filter-panel .view-toggle-item[b-ml2c1iog2o] {
        white-space: normal;
        word-break: break-word;
        font-size: 0.84rem;
        line-height: 1.35;
    }

    .services-floating-contact-wrap[b-ml2c1iog2o] {
        bottom: 10px;
        padding-inline: 10px;
    }

    .services-floating-contact[b-ml2c1iog2o] {
        width: 40px;
        min-width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .services-floating-contact svg[b-ml2c1iog2o] {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 420px) {
    .app-header[b-ml2c1iog2o] {
        padding-inline: 8px;
    }

    .header-route-title[b-ml2c1iog2o] {
        display: inline;
        max-width: min(32vw, 92px);
        font-size: 0.66rem;
    }

    .header-right .view-toggle-item[b-ml2c1iog2o] {
        padding: 5px 7px;
        font-size: 0.64rem;
    }
}
