/* /assets/css/index.css */

/* ===== HERO ===== */
.hero {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    border-radius: var(--radius2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
    overflow: hidden;
    position: relative;
}

.heroSlider {
    position: relative;
    height: 560px;
    background: #111;
}

.heroTrack {
    height: 100%;
    display: flex;
    transition: transform .85s var(--ease);
    will-change: transform;
}

.heroSlide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.heroSlide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.03);
    will-change: transform;
    transform: scale(1.06) translate3d(var(--px, 0px), var(--py, 0px), 0);
    transition: transform .35s var(--ease);
}

.heroOverlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 18% 80%, rgba(0, 0, 0, .55), transparent 62%),
        linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.heroContent {
    position: absolute;
    left: 44px;
    bottom: 44px;
    width: min(720px, calc(100% - 88px));
    color: #fff;
    pointer-events: auto;
}

.heroKicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 1000;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .95;
}

.heroKicker .kDot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--orange2);
    box-shadow: 0 0 18px rgba(255, 90, 90, .5);
}

.heroTitle {
    margin: 12px 0 0;
    font-size: clamp(30px, 3.3vw, 54px);
    line-height: 1.05;
    font-weight: 1000;
    letter-spacing: -.03em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.heroDesc {
    margin: 14px 0 0;
    font-size: 13.5px;
    line-height: 2.0;
    opacity: .92;
    max-width: 70ch;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.heroActions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.viewMore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 1000;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
    user-select: none;
    font-size: 13px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.viewMore:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .70);
}

.viewMore:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
}

.viewMore .dot {
    width: 13px;
    height: 13px;
    background: var(--orange2);
    box-shadow: 0 0 18px rgba(255, 90, 90, .45);
}

.heroArrows {
    position: absolute;
    right: 26px;
    bottom: 26px;
    display: flex;
    gap: 10px;
    z-index: 6;
}

.arrowBtn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
    user-select: none;
    position: relative;
    overflow: hidden;
}

.arrowBtn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .70);
}

.arrowBtn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .18);
}

.arrowBtn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95;
}

.heroDots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 6;
}

.heroDot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

.heroDot.active {
    background: var(--orange2);
    border-color: rgba(255, 90, 90, .75);
    box-shadow: 0 0 18px rgba(255, 90, 90, .45);
    transform: scale(1.15);
}

/* ===== Big Typo ===== */
.bigWord {
    width: min(1320px, calc(100% - 56px));
    margin: 26px auto 0;
    font-weight: 1000;
    letter-spacing: -.05em;
    font-size: clamp(64px, 8.6vw, 150px);
    line-height: .92;
    color: transparent;
    background: linear-gradient(90deg, rgba(255, 46, 46, 1), rgba(255, 90, 90, 1));
    -webkit-background-clip: text;
    background-clip: text;
    transform: skewX(-6deg);
    user-select: none;
    opacity: .95;
}

/* ===== Section blocks ===== */
section.block {
    margin-top: 58px;
    background: var(--panel);
    padding: 70px 0;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}

.blockHead {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
}

.blockHead h2 {
    margin: 0;
    font-size: 46px;
    letter-spacing: -.02em;
    font-weight: 1000;
}

.blockViewMore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font-weight: 1000;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    user-select: none;
    font-size: 13px;
    color: #111;
    position: relative;
    overflow: hidden;
}

.blockViewMore:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
}

.blockViewMore:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

.blockViewMore .dot {
    width: 13px;
    height: 13px;
}

/* ===== 2x2 cards ===== */
.newsGrid2x2 {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    align-items: stretch;
}

.newsCard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: var(--radius2);
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: var(--shadow2);
    overflow: hidden;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
    min-height: 260px;
    height: 100%;
}

.newsCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .12);
}

.newsCard::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .28s var(--ease);
    background:
        radial-gradient(520px 260px at 0% 0%, rgba(255, 46, 46, .18), transparent 60%),
        radial-gradient(520px 260px at 100% 0%, rgba(255, 90, 90, .16), transparent 60%);
}

.newsCard:hover::after {
    opacity: 1;
}

.ncThumb {
    width: 100%;
    height: 140px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #efefef;
    background: #f6f6f6;
    flex: none;
}

.ncThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .35s var(--ease), filter .35s var(--ease);
    filter: saturate(1.02) contrast(1.02);
}

.newsCard:hover .ncThumb img {
    transform: scale(1.06);
}

.ncThumb.noimg {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(255, 46, 46, .14), rgba(255, 90, 90, .10));
    border-color: rgba(255, 46, 46, .18);
    position: relative;
}

.ncThumb.noimg::after {
    content: "NO IMAGE";
    font-weight: 1000;
    font-size: 12px;
    letter-spacing: .10em;
    color: rgba(0, 0, 0, .55);
}

.ncTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    padding: 2px 4px 0;
}

.ncDate {
    font-weight: 900;
    font-size: 12px;
    color: #7b7b7b;
    letter-spacing: .06em;
    white-space: nowrap;
}

.ncTitle {
    margin: 4px 4px 0;
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: -.02em;
    line-height: 1.35;
    position: relative;
    z-index: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.ncDesc {
    margin: 0 4px;
    color: #444;
    font-size: 13px;
    line-height: 2.0;
    position: relative;
    z-index: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2.0em * 2);
}

.ncBottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding: 10px 4px 2px;
}

.ncLink {
    font-weight: 1000;
    letter-spacing: .06em;
    font-size: 12px;
    position: relative;
}

.ncLink::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange2));
    transform: scaleX(.35);
    transform-origin: left;
    transition: transform .28s var(--ease);
    border-radius: 999px;
}

.newsCard:hover .ncLink::after {
    transform: scaleX(1);
}

.ncIcon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(255, 46, 46, .22);
    font-weight: 1000;
    transition: transform .22s var(--ease), background .22s var(--ease);
    flex: none;
}

.newsCard:hover .ncIcon {
    transform: translateX(2px);
    background: linear-gradient(135deg, rgba(255, 46, 46, .10), rgba(255, 90, 90, .08));
}

.badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .08em;
    color: #111;
    background: linear-gradient(135deg, rgba(255, 46, 46, .14), rgba(255, 90, 90, .10));
    border: 1px solid rgba(255, 46, 46, .16);
    white-space: nowrap;
}

.badge.outline {
    background: #fff;
    border: 1px solid #e6e6e6;
    color: #111;
}

/* ===== About teaser cards ===== */
.aboutWrap {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    padding: 74px 0 28px;
}

.aboutTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.aboutTop h2 {
    margin: 0;
    font-size: 50px;
    font-weight: 1000;
    letter-spacing: -.02em;
}

.cards {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .10);
}

.cardInner {
    padding: 18px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.cardTitle {
    font-weight: 1000;
    letter-spacing: .02em;
    font-size: 18px;
    margin: 0;
    line-height: 1.1;
}

.cardSub {
    margin-top: 6px;
    font-weight: 900;
    color: #444;
    font-size: 12px;
}

.cardMedia {
    height: 150px;
    border-top: 1px solid #efefef;
    background: #f6f6f6;
}

.cardMedia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== CTA ===== */
.cta {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    border-radius: var(--radius2);
    border: 1px solid #e5e5e5;
    background:
        radial-gradient(900px 450px at 18% 0%, rgba(255, 46, 46, .10), transparent 60%),
        radial-gradient(900px 450px at 85% 10%, rgba(255, 90, 90, .10), transparent 60%),
        #fff;
    box-shadow: var(--shadow);
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.cta h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: -.01em;
}

.cta p {
    margin: 8px 0 0;
    color: #333;
    font-size: 13px;
    line-height: 1.9;
    max-width: 74ch;
}

.ctaRight {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ===== Responsive ===== */
@media (max-width:980px) {
    .heroSlider {
        height: 420px;
    }

    .heroContent {
        left: 18px;
        bottom: 18px;
        width: calc(100% - 36px);
    }

    .heroArrows {
        right: 14px;
        bottom: 14px;
    }

    .heroDots {
        bottom: 16px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .newsGrid2x2 {
        grid-template-columns: 1fr;
    }

    .bigWord {
        transform: skewX(-4deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .viewMore,
    .arrowBtn,
    .card,
    .newsCard,
    .blockViewMore {
        transition: none;
    }

    .heroTrack {
        transition: none;
    }
}