.site-home {
    --hero-shell-width: min(calc(100vw - 72px), 1080px);
    --hero-frame-width: var(--hero-shell-width);
    --hero-frame-border: 9px;
    --hero-frame-radius: 40px;
}

.site-home .header {
    position: sticky;
    top: 0;
    z-index: 220;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    box-shadow: none;
    margin-bottom: -118px;
}

.site-home .header.scrolled {
    background: transparent;
    box-shadow: none;
}

.site-home .header-content,
.site-home .header.scrolled .header-content {
    width: var(--hero-shell-width);
    max-width: none;
    min-height: 102px;
    margin: 0 auto;
    padding: 16px 28px 18px;
    position: relative;
    z-index: 221;
    background: rgba(255, 251, 245, 0.98);
    border: 0;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 18px 40px rgba(12, 17, 24, 0.14);
}

.site-home .brand-logo {
    width: 112px;
}

.site-home .brand-company {
    font-size: 1.08rem;
    letter-spacing: 0.02em;
}

.site-home .nav {
    gap: 18px;
}

.site-home .nav a {
    color: #1d2128;
    font-size: 1rem;
    font-weight: 700;
}

.site-home .nav a:hover {
    color: #111111;
}

.site-home .nav a.nav-btn {
    min-height: 56px;
    padding: 0 26px;
    background: var(--accent) !important;
    color: #ffffff !important;
    border-radius: 999px;
    box-shadow: none;
}

.site-home .hero-home {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    padding: 0 !important;
}

.site-home .hero-home > .container {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.site-home .hero-stage {
    position: relative;
    min-height: 760px;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background: #091018;
    box-shadow: none;
}

.site-home .hero-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 10, 16, 0.22) 0%, rgba(6, 10, 16, 0.08) 38%, rgba(6, 10, 16, 0.02) 100%);
    z-index: 1;
    pointer-events: none;
}

.site-home .hero-stage::after {
    content: none;
}

.site-home .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.site-home .hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 71% 38%;
    transform: scale(1);
    transform-origin: center center;
}

.site-home .hero-frame {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    width: var(--hero-frame-width);
    min-height: 382px;
    margin: 147px auto 19px;
    padding: 18px 18px 18px;
    border: var(--hero-frame-border) solid rgba(217, 43, 43, 0.98);
    border-radius: var(--hero-frame-radius);
    overflow: hidden;
    isolation: isolate;
}

.site-home .hero-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 8, 14, 0.94) 0%,
        rgba(5, 8, 14, 0.9) 26%,
        rgba(5, 8, 14, 0.64) 46%,
        rgba(5, 8, 14, 0.18) 70%,
        rgba(5, 8, 14, 0.04) 100%
    );
    z-index: -1;
}

.site-home .hero-copy-home {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 304px;
    min-height: 286px;
    margin: 0;
    padding: 16px 0 12px 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.site-home .hero-title {
    max-width: 5.05ch;
    margin: 0;
    font-size: clamp(2.52rem, 4.18vw, 4.18rem);
    line-height: 0.9;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.site-home .hero-income {
    max-width: 11.6ch;
    margin-top: 16px;
    font-size: clamp(1.42rem, 1.72vw, 1.88rem);
    line-height: 1.06;
    color: #ffffff;
    font-weight: 800;
    text-wrap: balance;
}

.site-home .hero-lead {
    max-width: 12.8ch;
    margin-top: 12px;
    font-size: 0.84rem;
    line-height: 1.42;
    color: rgba(255, 255, 255, 0.92);
}

.site-home .hero-copy-home .hero-actions,
.site-home .hero-actions {
    margin-top: 22px;
}

.site-home .hero-copy-home .btn-primary,
.site-home .hero-cta {
    min-width: 218px;
    min-height: 50px;
    background: var(--accent) !important;
    color: #ffffff !important;
    border-radius: 999px;
    box-shadow: none;
}

.site-home .hero-copy-home .btn-primary:hover,
.site-home .hero-cta:hover {
    background: var(--accent-strong) !important;
}

.site-home .home-content-shell {
    position: relative;
    z-index: 3;
    margin-top: -86px;
    padding-top: 54px;
    background: #fffdf8;
    border-radius: 38px 38px 0 0;
    box-shadow: 0 -14px 38px rgba(12, 17, 24, 0.08);
}

.site-home .city-ticker-section {
    padding: 28px 0 18px;
}

.site-home .city-ticker-marquee {
    padding: 8px 0 14px;
}

.site-home .city-ticker-track {
    animation-duration: 41.8s;
}

.site-home .city-ticker-sequence {
    gap: 34px;
    padding-right: 34px;
}

.site-home .city-ticker-sequence span {
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.055em;
    color: #d92b2b;
}

.site-home .city-ticker-sequence img {
    width: clamp(74px, 8vw, 114px);
    filter: drop-shadow(0 10px 18px rgba(17, 17, 17, 0.1));
}

@media (max-width: 1180px) {
    .site-home {
        --hero-shell-width: calc(100vw - 40px);
        --hero-frame-width: var(--hero-shell-width);
        --hero-frame-border: 8px;
        --hero-frame-radius: 32px;
    }

    .site-home .header {
        margin-bottom: -108px;
    }

    .site-home .header-content,
    .site-home .header.scrolled .header-content {
        min-height: 96px;
        padding: 14px 24px 16px;
        border-radius: 0 0 28px 28px;
    }

    .site-home .hero-stage {
        min-height: 710px;
    }

    .site-home .hero-media img {
        object-position: 72% 38%;
        transform: scale(1.01);
    }

    .site-home .hero-frame {
        min-height: 368px;
        margin-top: 116px;
        margin-bottom: 34px;
        padding: 18px 18px 16px;
    }

    .site-home .hero-copy-home {
        max-width: 284px;
        min-height: 266px;
        padding-top: 14px;
    }

    .site-home .hero-title {
        max-width: 4.98ch;
        font-size: clamp(2.26rem, 4.08vw, 3.56rem);
    }

    .site-home .hero-income {
        max-width: 11ch;
        margin-top: 14px;
        font-size: clamp(1.22rem, 1.44vw, 1.52rem);
    }

    .site-home .hero-lead {
        max-width: 12.3ch;
        margin-top: 12px;
        font-size: 0.82rem;
    }

    .site-home .hero-copy-home .hero-actions,
    .site-home .hero-actions {
        margin-top: 20px;
    }

    .site-home .hero-copy-home .btn-primary,
    .site-home .hero-cta {
        min-width: 206px;
        min-height: 48px;
    }

    .site-home .city-ticker-sequence {
        gap: 28px;
        padding-right: 28px;
    }

    .site-home .city-ticker-sequence span {
        font-size: clamp(2.36rem, 6.2vw, 4.8rem);
    }
}

@media (max-width: 760px) {
    .site-home {
        --hero-shell-width: calc(100vw - 22px);
        --hero-frame-width: var(--hero-shell-width);
        --hero-frame-border: 7px;
        --hero-frame-radius: 26px;
    }

    .site-home .header {
        margin-bottom: -92px;
    }

    .site-home .header-content,
    .site-home .header.scrolled .header-content {
        min-height: 86px;
        padding: 12px 18px 14px;
        border-radius: 0 0 24px 24px;
    }

    .site-home .brand-logo {
        width: 86px;
    }

    .site-home .brand-company {
        font-size: 0.94rem;
    }

    .site-home .nav {
        gap: 12px;
    }

    .site-home .nav a {
        font-size: 0.94rem;
    }

    .site-home .nav a.nav-btn {
        min-height: 48px;
        padding: 0 18px;
    }

    .site-home .hero-stage {
        min-height: 620px;
    }

    .site-home .hero-media img {
        object-position: 74% 39%;
        transform: scale(1.02);
    }

    .site-home .hero-frame {
        min-height: 346px;
        margin-top: 106px;
        margin-bottom: 28px;
        padding: 14px 14px 14px;
    }

    .site-home .hero-copy-home {
        max-width: 246px;
        min-height: 244px;
        padding: 10px 0 8px 0;
    }

    .site-home .hero-title {
        max-width: 4.9ch;
        font-size: clamp(2.06rem, 7vw, 2.82rem);
    }

    .site-home .hero-income {
        max-width: 10.4ch;
        margin-top: 14px;
        font-size: clamp(1.12rem, 4.1vw, 1.34rem);
    }

    .site-home .hero-lead {
        max-width: 12ch;
        margin-top: 10px;
        font-size: 0.8rem;
        line-height: 1.38;
    }

    .site-home .hero-copy-home .btn-primary,
    .site-home .hero-cta {
        min-width: 186px;
        min-height: 44px;
    }

    .site-home .home-content-shell {
        margin-top: -72px;
        padding-top: 44px;
        border-radius: 30px 30px 0 0;
    }

    .site-home .city-ticker-section {
        padding: 22px 0 14px;
    }

    .site-home .city-ticker-track {
        animation-duration: 36.1s;
    }

    .site-home .city-ticker-sequence {
        gap: 22px;
        padding-right: 22px;
    }

    .site-home .city-ticker-sequence span {
        font-size: clamp(1.92rem, 8vw, 3.18rem);
    }

    .site-home .city-ticker-sequence img {
        width: clamp(58px, 12vw, 90px);
    }
}

@media (max-width: 560px) {
    .site-home {
        --hero-shell-width: calc(100vw - 12px);
        --hero-frame-width: var(--hero-shell-width);
        --hero-frame-border: 6px;
        --hero-frame-radius: 22px;
    }

    .site-home .header {
        margin-bottom: -86px;
    }

    .site-home .header-content,
    .site-home .header.scrolled .header-content {
        min-height: 78px;
        padding: 10px 14px 12px;
        border-radius: 0 0 20px 20px;
    }

    .site-home .brand-logo {
        width: 72px;
    }

    .site-home .brand-company {
        font-size: 0.86rem;
    }

    .site-home .nav a {
        font-size: 0.86rem;
    }

    .site-home .nav a.nav-btn {
        min-height: 42px;
        padding: 0 14px;
    }

    .site-home .hero-stage {
        min-height: 560px;
    }

    .site-home .hero-media img {
        object-position: 75% 40%;
        transform: scale(1.01);
    }

    .site-home .hero-frame {
        min-height: 322px;
        margin-top: 98px;
        margin-bottom: 24px;
        padding: 12px 12px 12px;
    }

    .site-home .hero-copy-home {
        max-width: 212px;
        min-height: 228px;
        padding-top: 2px;
    }

    .site-home .hero-title {
        max-width: 4.7ch;
        font-size: clamp(1.82rem, 7.6vw, 2.34rem);
    }

    .site-home .hero-income {
        max-width: 9.6ch;
        margin-top: 12px;
        font-size: 1.08rem;
    }

    .site-home .hero-lead {
        max-width: 11.2ch;
        margin-top: 10px;
        font-size: 0.76rem;
        line-height: 1.34;
    }

    .site-home .hero-copy-home .hero-actions,
    .site-home .hero-actions {
        margin-top: 16px;
    }

    .site-home .hero-copy-home .btn-primary,
    .site-home .hero-cta {
        min-width: 100%;
        min-height: 46px;
    }

    .site-home .home-content-shell {
        margin-top: -58px;
        padding-top: 36px;
        border-radius: 26px 26px 0 0;
    }

    .site-home .city-ticker-section {
        padding: 18px 0 10px;
    }

    .site-home .city-ticker-track {
        animation-duration: 32.3s;
    }

    .site-home .city-ticker-sequence {
        gap: 16px;
        padding-right: 16px;
    }

    .site-home .city-ticker-sequence span {
        font-size: clamp(1.56rem, 8.2vw, 2.42rem);
    }

    .site-home .city-ticker-sequence img {
        width: clamp(46px, 13vw, 70px);
    }
}
