/* ==========================================================================
   TezVelo — TezVelo.uz
   两屏极简版：第一屏品牌色背景，第二屏色块
   品牌色 #FF5A00 (Pantone 165 C)
   ========================================================================== */

:root {
    --brand: #ff5a00;
    --brand-600: #e64f00;
    --brand-700: #c74400;
    --grad: linear-gradient(135deg, #ff7a29 0%, #ff5a00 48%, #e34800 100%);

    /* 品牌色的淡色阶：色号不变，只把浓度降下来 */
    --brand-05: #fffaf6;
    --brand-10: #fff2ea;
    --brand-18: #ffe7d9;
    --brand-28: #ffd8c3;
    --grad-soft: linear-gradient(135deg, #fff8f4 0%, #ffe8d9 42%, #ffc9a8 100%);

    --ink: #0e1116;
    --ink-soft: rgba(14, 17, 22, .72);
    --ink-line: rgba(14, 17, 22, .12);
    --muted: #6a7382;
    --line: #e9ecf1;

    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", "PingFang SC",
        "Microsoft YaHei", "Noto Sans", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 700;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: #fff;
    color: var(--brand-700);
}

.wrap {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 第一屏 ---------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    /* 底部留出一段固定高度的白色渐变带，与下一屏的白色无缝接上；
     渐变带只占留白，内容不会压到变浅的区域 */
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .55) 52%,
            #ffffff 100%) bottom / 100% clamp(96px, 15vh, 170px) no-repeat,
        var(--grad-soft);
    padding-bottom: clamp(96px, 15vh, 170px);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 90, 0, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 90, 0, .14) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(72% 62% at 50% 42%, #000 30%, transparent 88%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(46% 42% at 84% 12%, rgba(255, 255, 255, .8), transparent 72%);
    pointer-events: none;
}

.top {
    position: relative;
    z-index: 2;
    padding: 22px 0;
}

.top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: clamp(1.35rem, 2.4vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    /* 斜体字标，带一点速度感 */
    font-style: italic;
    color: var(--brand);
}

.wordmark {
    font-style: italic;
    font-weight: 600;
    letter-spacing: -.01em;
}

/* 语言切换 */
.lang {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px 7px 9px;
    border: 1px solid rgba(14, 17, 22, .1);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(14, 17, 22, .05);
    transition: border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.lang-btn:hover {
    border-color: rgba(255, 90, 0, .5);
    color: var(--brand-700);
    box-shadow: 0 2px 8px rgba(14, 17, 22, .08);
}

.lang-code {
    letter-spacing: .04em;
}

.chev {
    width: 11px;
    height: 8px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    transition: transform .2s ease;
}

.lang.open .chev {
    transform: rotate(180deg);
}

.flag {
    width: 22px;
    height: 15px;
    border-radius: 3px;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(14, 17, 22, .14);
}

.flag-uz {
    background-image:
        radial-gradient(circle at 6.2px 3.1px, #fff 0 2.3px, transparent 2.4px),
        linear-gradient(180deg,
            #0099b5 0 32%, #ce1126 32% 37%, #ffffff 37% 63%,
            #ce1126 63% 68%, #1eb53a 68% 100%);
}

.flag-ru {
    background-image: linear-gradient(180deg,
            #ffffff 0 33.3%, #0039a6 33.3% 66.6%, #d52b1e 66.6% 100%);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 172px;
    padding: 6px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(14, 17, 22, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 5;
}

.lang.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: .93rem;
    text-align: left;
    cursor: pointer;
}

.lang-menu button:hover {
    background: #f5f6f8;
}

.lang-menu button[aria-selected="true"] {
    background: #fff2ea;
    color: var(--brand-700);
    font-weight: 600;
}

/* 首屏内容：单栏居中 */
.hero-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 840px;
    padding-top: clamp(16px, 4vh, 40px);
    padding-bottom: clamp(8px, 2vh, 24px);
    animation: rise .7s ease both;
}

.eyebrow {
    margin-bottom: 16px;
    max-width: 30em;
    font-size: .92rem;
    font-weight: 600;
    /* 这是一整句描述，字距放小，换行时匀分两行 */
    letter-spacing: .02em;
    color: var(--brand-700);
    text-wrap: balance;
}

.hero h1 {
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    /* 长句子换行时尽量均分两行 */
    text-wrap: balance;
}

.lead {
    margin-top: 18px;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    color: var(--ink-soft);
}

.facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 34px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--ink-line);
}

.facts li {
    display: flex;
    flex-direction: column;
}

.facts li+li {
    padding-left: 34px;
    border-left: 1px solid var(--ink-line);
}

.facts strong {
    font-size: 1.12rem;
    font-weight: 700;
}

.facts span {
    font-size: .86rem;
    color: rgba(14, 17, 22, .6);
}

/* ---------- 第二屏 ---------- */
.screen2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(16px, 4vh, 48px) 0 clamp(8px, 2vh, 24px);
    background: #fff;
}

.block {
    padding: clamp(30px, 4.4vw, 56px);
    border-radius: 34px;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 22px 56px rgba(255, 90, 0, .2);
    animation: rise .7s ease both;
}

.block h2 {
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
}

.points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 34px);
    margin-top: clamp(24px, 3.2vw, 36px);
}

.points li {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-left: clamp(18px, 2.2vw, 30px);
    border-left: 1px solid rgba(255, 255, 255, .38);
}

.points li:first-child {
    padding-left: 0;
    border-left: 0;
}

.points strong {
    font-size: 1.1rem;
}

.points span {
    font-size: .94rem;
    color: rgba(255, 255, 255, .88);
}

/* ---------- 合作伙伴 ---------- */
.partners {
    padding: clamp(40px, 7vh, 76px) 0 0;
}

.partners-title {
    margin-bottom: clamp(20px, 3vh, 30px);
    text-align: center;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

/* 两个标识等高、居中，视觉上一样重 */
.partners-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 7vw, 84px);
}

.partners-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(38px, 4.4vw, 48px);
}

.partners-list img {
    height: 100%;
    width: auto;
    max-width: min(64vw, 220px);
    object-fit: contain;
}

.foot {
    margin-top: clamp(44px, 9vh, 96px);
    padding: 30px 0 26px;
}

.foot-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .86rem;
    letter-spacing: .01em;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-inner,
    .block {
        animation: none;
    }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .hero-inner {
        padding-top: 8px;
    }

    .facts {
        margin-top: 30px;
    }

    .points {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .points li {
        padding-left: 0;
        padding-top: 14px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .38);
    }

    .points li:first-child {
        padding-top: 0;
        border-top: 0;
    }
}

@media (max-width: 560px) {
    .wrap {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .facts {
        gap: 12px 18px;
    }

    .facts li+li {
        padding-left: 18px;
    }

    .block {
        border-radius: 26px;
    }
}