@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');

@font-face {
    font-family: "bebas-neue-pro";
    src: url("../fonts/Bebas Neue Pro Book.ttf") format("truetype");
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "bebas-neue-pro";
    src: url("../fonts/Bebas Neue Pro Book.ttf") format("truetype");
    font-weight: 375;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "bebas-neue-pro";
    src: url("../fonts/Bebas Neue Pro Middle.ttf") format("truetype");
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "bebas-neue";
    src: url("../fonts/bebas/BebasNeue_Thin.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "bebas-neue";
    src: url("../fonts/bebas/BebasNeue_Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "bebas-neue";
    src: url("../fonts/bebas/BebasNeue_Book.otf") format("opentype");
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "bebas-neue";
    src: url("../fonts/bebas/BebasNeue_Regular__1178_aza_1179_sha__1241_ripter.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Pro салмақтарымен сәйкестендіру (қазақ әріптері бар Regular) */
@font-face {
    font-family: "bebas-neue";
    src: url("../fonts/bebas/BebasNeue_Regular__1178_aza_1179_sha__1241_ripter.otf") format("opentype");
    font-weight: 375;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "bebas-neue";
    src: url("../fonts/bebas/BebasNeue_Regular__1178_aza_1179_sha__1241_ripter.otf") format("opentype");
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "bebas-neue";
    src: url("../fonts/bebas/BebasNeue_Bold__1178_aza_1179_sha__1241_ripter.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-family: "proxima-soft", sans-serif;
    --second-family: "bebas-neue-pro", sans-serif;
    --third-family: "inter-18pt", sans-serif;
    --fourth-family: "bebas-neue", sans-serif;
    --fifth-family: "Ubuntu Sans", sans-serif;
    --content-max-width: 1240px;
    --page-inline: 16px;
    --header-height: 90.5px;
}

/* Қазақ әріптері үшін bebas-neue (Pro-да жоқ) */
html[lang="kz"],
html[lang="kk"] {
    --second-family: "bebas-neue", sans-serif;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    scrollbar-gutter: stable;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    padding-top: var(--header-height);
    background: var(--color-cream);
    color: var(--color-ink);
    font-family: var(--font-family);
    font-synthesis: none;
}

html.is-scroll-locked {
    overflow: hidden !important;
    scroll-behavior: auto !important;
    overscroll-behavior: none;
}

.main-content,
.main-content *,
.main-content *:before,
.main-content *:after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

.main-content p+p {
    margin-top: 8px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Centered content column. Side gutter is outside --content-max-width. */
.container {
    width: 100%;
    max-width: calc(var(--content-max-width) + 2 * var(--page-inline));
    margin-inline: auto;
    padding-inline: var(--page-inline);
    box-sizing: border-box;
}

/* MagicForms flash messages */
.foc-form__flash:empty,
.alert:empty {
    display: none;
}

.foc-form__flash .alert,
.foc-modal__flash .alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.foc-form__flash .alert .close,
.foc-modal__flash .alert .close {
    float: right;
    margin-left: 8px;
    border: 0;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
}

.foc-form__flash .alert-success,
.foc-modal__flash .alert-success {
    background: #e8f6ee;
    color: #1b5e36;
}

.foc-form__flash .alert-danger,
.foc-modal__flash .alert-danger {
    background: #fdecea;
    color: #8a1f11;
}

.foc-form__flash .alert ul,
.foc-modal__flash .alert ul {
    margin: 8px 0 0;
    padding-left: 18px;
}