.intro {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 96px 0 64px;
    .title {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 64px;
    }
    h1 {
        font-family: 'Oswald';
        font-size: 96px;
        font-weight: 700;
        line-height: 104px;
        letter-spacing: -1.5px;
        text-transform: uppercase;
        overflow-wrap: anywhere;
    }
    p {
        max-width: 640px;
        font-size: 24px;
        line-height: 28px;
        font-weight: 300;
        letter-spacing: 0;
        color: var(--text-4);
    }
}
.featured, .news {
    .chip {
        width: max-content;
        max-width: 100%;
        padding: 8px 12px;
        border: 1px solid var(--bg-8);
        border-radius: 999px;
        background: var(--main-bg);
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0;
        color: var(--text-11);
    }
    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: max-content;
        height: 60px;
        padding: 0 32px;
        border-radius: 999px;
        background: var(--bg-8);
        font-size: 20px;
        line-height: 24px;
        font-weight: 500;
        letter-spacing: 0;
        color: var(--text-5);
        transition: box-shadow 0.35s ease, transform 0.35s ease;
    }
    h2 {
        font-family: 'Oswald';
        font-size: 48px;
        font-weight: 700;
        line-height: 52px;
        letter-spacing: 0;
        text-transform: uppercase;
    }
}
.featured {
    padding-bottom: 64px;
    .card {
        display: grid;
        grid-template-columns: 1040fr 718fr;
        border: 1px solid var(--border-2);
        background: var(--bg-13);
        img {
            height: 620px;
        }
    }
    .content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 64px;
        min-width: 0;
        padding: 48px;
    }
    .info {
        display: flex;
        flex-direction: column;
        gap: 40px;
        .chip {
            margin-bottom: 24px;
        }
        p {
            font-size: 24px;
            line-height: 28px;
            font-weight: 300;
            letter-spacing: 0;
            color: var(--text-4);
        }
    }
}
.news {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding-bottom: 140px;
    .items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        &:empty {
            display: none;
        }
    }
    .item {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        height: 560px;
        padding: 40px;
        overflow: hidden;
        border: 1px solid var(--border-2);
        background: var(--bg-4);
        &::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: -1;
            background: linear-gradient(color-mix(in srgb, var(--main-bg) 16%, transparent), transparent 40%, color-mix(in srgb, var(--main-bg) 90%, transparent));
        }
        img {
            position: absolute;
            inset: 0;
            z-index: -2;
            height: 100%;
            transition: scale 0.6s ease;
        }
        h3 {
            display: grid;
            grid-template-columns: 1fr 48px;
            align-items: flex-end;
            gap: 32px;
            margin-top: auto;
            margin-bottom: 20px;
            font-family: 'Oswald';
            font-size: 32px;
            font-weight: 600;
            line-height: 40px;
            letter-spacing: -0.5px;
            span {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 48px;
                border-radius: 50%;
                background: var(--bg-4);
                transition: background 0.3s;
                &::before {
                    content: '\e013';
                    font-family: 'icon';
                    font-size: 14px;
                    transition: transform 0.3s;
                }
            }
        }
        p {
            display: -webkit-box;
            overflow: hidden;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0;
            color: var(--text-4);
        }
        a {
            position: absolute;
            inset: 0;
        }
    }
    .banner {
        position: relative;
        display: flex;
        height: 560px;
        padding: 64px 0 64px 64px;
        overflow: hidden;
        border: 1px solid var(--border-2);
        background: var(--bg-13);
        .text {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 64px;
        }
        .info {
            display: flex;
            flex-direction: column;
            gap: 40px;
            p {
                max-width: 720px;
                font-size: 24px;
                line-height: 28px;
                font-weight: 300;
                letter-spacing: 0;
                color: var(--text-4);
            }
        }
    }
    .phone {
        position: absolute;
        top: 0;
        right: 0;
        width: 518px;
        img {
            object-fit: contain;
        }
    }
    .ring {
        position: absolute;
        top: 165px;
        left: 53px;
        width: 170px;
        height: 52px;
        border: 3px solid var(--bg-8);
        border-radius: 50%;
        rotate: -4deg;
    }
    .note {
        position: absolute;
        top: 69px;
        left: 698px;
        p {
            font-family: 'Caveat', cursive;
            font-size: 44px;
            font-weight: 700;
            line-height: 1;
            letter-spacing: 0;
            white-space: nowrap;
            color: var(--text-11);
            rotate: -6deg;
        }
    }
    .arrow {
        position: absolute;
        top: -31px;
        left: 335px;
        width: 263px;
        height: 133px;
        background: var(--bg-8);
        mask: url(../images/news-arrow.svg) center / contain no-repeat;
    }
    .more {
        align-self: center;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        padding: 0 32px;
        border: 1.5px solid var(--border-4);
        border-radius: 999px;
        background: none;
        font-size: 20px;
        line-height: 24px;
        font-weight: 500;
        letter-spacing: 0;
        transition: border-color 0.3s, color 0.3s;
        &:disabled {
            opacity: 0.5;
            cursor: default;
        }
    }
}
body.reveal {
    .intro .title, .featured .card, .news .item, .news .banner {
        opacity: 0;
        translate: 0 40px;
        transition: opacity 0.8s ease var(--delay, 0s), translate 0.8s ease var(--delay, 0s);
        &.in {
            opacity: 1;
            translate: 0 0;
        }
    }
}
@media screen and (max-width: 1759px) {
    .intro {
        gap: 40px;
        padding: 80px 0 48px;
        p {
            font-size: 18px;
        }
    }
    .featured, .news {
        .chip {
            font-size: 14px;
        }
        .button {
            height: 56px;
            padding: 0 24px;
            font-size: 16px;
            line-height: 20px;
        }
    }
    .featured {
        padding-bottom: 48px;
        .card {
            grid-template-columns: 622fr 702fr;
        }
        .content {
            gap: 48px;
            padding: 40px;
        }
        .info {
            gap: 32px;
            .chip {
                margin-bottom: 16px;
            }
            p {
                font-size: 18px;
            }
        }
    }
    .news {
        gap: 48px;
        padding-bottom: 120px;
        .items {
            gap: 16px;
        }
        .item h3 {
            font-size: 28px;
            line-height: 36px;
        }
        .banner {
            padding: 48px 0 48px 48px;
            .text {
                gap: 48px;
                max-width: calc(100% - 560px);
            }
            .info p {
                font-size: 18px;
            }
        }
        .note {
            top: 366px;
            left: 329px;
        }
        .arrow {
            top: -131px;
            left: 261px;
            width: 271px;
            height: 147px;
        }
        .more {
            height: 56px;
            padding: 0 24px;
            font-size: 16px;
            line-height: 20px;
        }
    }
}
@media screen and (max-width: 1279px) {
    .intro {
        padding: 64px 0 40px;
        .title {
            flex-direction: column;
            align-items: flex-start;
            gap: 24px;
        }
        h1 {
            font-size: 64px;
            line-height: 68px;
        }
    }
    .featured, .news {
        h2 {
            font-size: 40px;
            line-height: 44px;
        }
    }
    .featured {
        .card {
            grid-template-columns: 1fr 1fr;
            img {
                height: 100%;
                min-height: 480px;
            }
        }
    }
    .news {
        .items {
            grid-template-columns: repeat(2, 1fr);
        }
        .item {
            height: 480px;
            padding: 32px;
        }
        .banner .text {
            max-width: calc(100% - 400px);
        }
        .phone {
            width: 360px;
        }
        .ring, .note {
            display: none;
        }
    }
}
@media screen and (max-width: 767px) {
    .intro {
        gap: 24px;
        padding: 40px 0 32px;
        h1 {
            font-size: 40px;
            line-height: 48px;
            letter-spacing: -0.5px;
        }
        p {
            font-size: 16px;
            line-height: 24px;
        }
    }
    .featured, .news {
        h2 {
            font-size: 32px;
            line-height: 36px;
        }
        .chip {
            font-size: 12px;
            line-height: 16px;
        }
        .button {
            width: 100%;
            height: 48px;
            padding: 0 20px;
        }
    }
    .featured {
        padding-bottom: 32px;
        .card {
            grid-template-columns: 1fr;
            img {
                height: 342px;
                min-height: 0;
            }
        }
        .content {
            gap: 32px;
            padding: 24px;
        }
        .info {
            gap: 20px;
            .chip {
                margin-bottom: 12px;
            }
            p {
                font-size: 16px;
                line-height: 20px;
            }
        }
    }
    .news {
        gap: 32px;
        padding-bottom: 56px;
        .items {
            grid-template-columns: 1fr;
            gap: 12px;
        }
        .item {
            height: 560px;
            padding: 24px;
            h3 {
                gap: 20px;
                font-size: 24px;
                line-height: 32px;
            }
            p {
                font-size: 14px;
                line-height: 24px;
            }
        }
        .banner {
            flex-direction: column;
            gap: 32px;
            padding: 32px;
            .text {
                gap: 32px;
                align-items: stretch;
                max-width: none;
            }
            .info {
                gap: 20px;
                p {
                    font-size: 16px;
                    line-height: 20px;
                }
            }
        }
        .phone {
            position: static;
            flex-shrink: 0;
            align-self: center;
            width: 272px;
        }
        .more {
            align-self: stretch;
            height: 48px;
        }
    }
}
@media (hover: hover) {
    .featured .button:hover, .news .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 34px rgba(255, 107, 0, 0.35);
    }
    .news {
        .item:hover {
            img {
                scale: 1.05;
            }
            h3 span {
                background: var(--bg-8);
                &::before {
                    transform: rotate(45deg);
                }
            }
        }
        .more:hover:not(:disabled) {
            border-color: var(--bg-2);
            color: var(--text-2);
        }
    }
}
