html {
    scroll-behavior: smooth;
}

/* Текстовый логотип из домена */
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #fff;
    max-width: min(280px, 42vw);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-brand:hover {
    color: #fff;
    opacity: 1;
    transform: translateY(-1px);
}

.site-brand-mark {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ff6a1a 0%, #E04700 55%, #b83800 100%);
    box-shadow:
        0 8px 20px rgba(224, 71, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    color: #fff;
    font-family: "Red Hat Display", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
}

.site-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.site-brand-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
}

.site-brand-tag {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "DM Sans", sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.2;
}

@media only screen and (max-width: 767px) {
    .site-brand {
        gap: 9px;
        max-width: min(190px, 48vw);
    }

    .site-brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .site-brand-text {
        font-size: 1.02rem;
    }

    .site-brand-tag {
        display: none;
    }
}

/* Sticky header: бренд остаётся читаемым */
.header-transparent.header--sticky.sticky .site-brand-text {
    color: #fff;
}

.header-transparent.header--sticky.sticky .site-brand-tag {
    color: rgba(255, 255, 255, 0.58);
}

.site-brand--footer {
    color: #fff;
    margin-bottom: 18px;
    max-width: 100%;
}

.site-brand--footer .site-brand-mark {
    box-shadow: 0 6px 16px rgba(224, 71, 0, 0.28);
}

.site-brand--footer .site-brand-tag {
    display: none;
}

.site-brand--sidebar {
    color: #1c2539;
    margin-bottom: 22px;
    max-width: 100%;
}

.site-brand--sidebar .site-brand-text {
    color: #1c2539;
}

.site-brand--sidebar .site-brand-tag {
    color: #8b93a0;
}

.site-brand--sidebar .site-brand-mark {
    box-shadow: 0 6px 16px rgba(224, 71, 0, 0.25);
}

.header-transparent-main-wrapper .logo.site-brand img {
    display: none;
}

/* Czech Broker page — custom imagery */

/* Скрыть демо-элементы шаблона на white-странице */
.czech-broker-page .loader-wrapper,
.czech-broker-page .rtl-ltr-switcher-btn {
    display: none !important;
}

/* Экран загрузки (page gate) */
#page-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #151b1f 0%, #1c2429 45%, #263238 100%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

#page-gate.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-inner {
    text-align: center;
    color: #fff;
}

.gate-ring {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gate-spin 0.85s linear infinite;
}

@keyframes gate-spin {
    to { transform: rotate(360deg); }
}

.gate-label {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.gate-dots span {
    animation: gate-blink 1.2s infinite;
}

.gate-dots span:nth-child(2) { animation-delay: 0.2s; }
.gate-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes gate-blink {
    0%, 60%, 100% { opacity: 0.2; }
    30% { opacity: 1; }
}

/* Главный баннер: спокойный однотонный фон вместо яркого фото */.czech-broker-page .rts-technology-banner-area {
    background-color: #1c2429;
    background-image: linear-gradient(160deg, #151b1f 0%, #1c2429 45%, #263238 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.czech-broker-page .rts-technology-banner-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 55%);
    pointer-events: none;
}

.czech-broker-page .rts-technology-banner-area .container {
    position: relative;
    z-index: 1;
}

.czech-broker-page .inner-content-technology-banner .title,
.czech-broker-page .inner-content-technology-banner p.disc {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.czech-broker-page .appoinment-area-seven {    background-image: url(../images/czech-broker/appointment-bg.jpg);
}

.czech-broker-page .rts-testimonials-area-five.with-bg-shape-image {
    background-image: url(../images/czech-broker/testimonials-bg.jpg);
}

.czech-broker-page .bg_cts-10 {
    background-image: url(../images/czech-broker/cta-bg.jpg);
}
