/* ===== ШРИФТЫ ===== */

@font-face {
    font-family: "Cormorant";
    src: url("../assets/fonts/CormorantGaramond-Regular.ttf");
}

@font-face {
    font-family: "Cormorant SemiBold";
    src: url("../assets/fonts/CormorantGaramond-SemiBold.ttf");
}

@font-face {
    font-family: "Cinzel";
    src: url("../assets/fonts/Cinzel-Regular.ttf");
}

@font-face {
    font-family: "Trajan";
    src: url("../assets/fonts/TrajanPro-Regular.otf");
}


/* ===== СБРОС ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    

    background:
        radial-gradient(circle at top left,
            rgba(255,255,255,.8) 0%,
            rgba(255,255,255,0) 40%),
        radial-gradient(circle at bottom right,
            rgba(212, 196, 169, .18) 0%,
            rgba(212,196,169,0) 45%),
        #f7f4ee;

    color: #f7f4ee;

    font-family: "Cormorant", serif;
}

body::before {
    content: "";

    position: fixed;

    top: 0;
    right: 0;

    width: 72vw;
    height: 58vh;

    background:
        url("../assets/images/master-render.jpg")
        center center / cover
        no-repeat;

    z-index: -2;

    pointer-events: none;
}

body::after {
    content: "";

    position: fixed;

    top: 0;
    right: 0;

    width: 72vw;
    height: 58vh;

    background:
        linear-gradient(
            90deg,
            #f7f4ee 0%,
            rgba(247,244,238,.92) 6%,
            rgba(247,244,238,.72) 11%,
            rgba(247,244,238,.42) 15%,
            rgba(247,244,238,.16) 18%,
            rgba(247,244,238,.05) 20%,
            transparent 22%
        ),

        linear-gradient(
            to bottom,
            transparent 0%,
            transparent 78%,
            rgba(247,244,238,.55) 90%,
            #f7f4ee 100%
        );

    z-index: -1;

    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */

.page {
    max-width: 1440px;

    margin: 0 auto;

    padding-left: 36px;
    padding-bottom: 24px;

    padding-top: 0;
    padding-right: 0;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* ===== HERO ===== */

.hero {
    display: grid;

    grid-template-columns: 420px 1fr;

    gap: 32px;

    align-items: center;
}

.hero-left {
    padding-top: 0;
    transform: translateY(-25px);
}

.logo {
    width: 180px;

    background: transparent;

    mix-blend-mode: multiply;

    display: block;

    margin-bottom: 28px;

    margin-left: 55px;

    transform: translateY(25px);
}

.hero-left h1 {
    font-family: "Bodoni Moda", serif;

    font-size: clamp(54px, 4.2vw, 66px);

    line-height: 0.88;

    font-weight: 500;

    letter-spacing: 0.5px;

    color: #0F4F46;

    margin-bottom: 18px;
}

.welcome h2 {
    font-family: "Montserrat", sans-serif;

    font-size: 18px;

    font-weight: 600;

    letter-spacing: 0.8px;

    color: #B88A2E;

    margin-bottom: 12px;
}

.welcome p {
    font-family: "Inter", sans-serif;

    font-size: 15px;

    line-height: 1.45;

    max-width: 340px;

    color: #4B4B4B;
}


/* ===== ПОДДЕРЖКА ===== */


.hero-right {
    position: relative;
    min-height: 58vh;
}

.partner-support {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;

    background:
        linear-gradient(
            135deg,
            #23453d,
            #183730
        );
    color: white;

    box-shadow:
        0 18px 40px rgba(0,0,0,.12);

    border-radius: 22px;

    padding: 14px 22px;

    z-index: 5;
}

.support-title {
    font-family: "Montserrat", sans-serif;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.8px;

    color: #B88A2E;

    text-transform: uppercase;

    margin-bottom: 4px;
}

.support-phone {
    display: block;

    font-family: "Montserrat", sans-serif;

    font-size: 18px;

    font-weight: 600;

    letter-spacing: 0.3px;

    margin: 4px 0 3px;
}

.support-time {
    font-family: "Inter", sans-serif;

    font-size: 12px;

    font-weight: 400;

    opacity: .9;
}


/* ===== РЕНДЕР ===== */

.render {
    width: 100%;
    display: block;

    border-radius: 30px;

    box-shadow:
            0 25px 50px rgba(0,0,0,.12);
}


/* ===== КАРТОЧКИ ===== */

.cards {
    margin-top: -20px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    position: relative;
    z-index: 2;
}

.card {
    background: white;

    border: 1px solid rgba(255,255,255,.65);

    backdrop-filter: blur(10px);

    border-radius: 24px;

    padding: 20px 24px;

    display: flex;
    align-items: center;
    gap: 20px;

    min-height: 105px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.04),
        0 1px 3px rgba(0,0,0,.03);

    transition:
            transform .25s ease,
            box-shadow .25s ease;
}

.card img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.card div {
    flex: 1;
}

.card h3 {
    font-family: "Montserrat", sans-serif;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 0.3px;

    color: #0F4F46;

    margin-bottom: 8px;
}

.card p {
    font-family: "Inter", sans-serif;

    font-size: 15px;

    line-height: 1.45;

    color: #55645d;
}

.card span {
    font-size: 36px;

    color: #b38d46;

    margin-left: auto;
}


/* ===== ПРЕИМУЩЕСТВА ===== */

.advantages {
    margin-top: 35px;

    background: #1f4b42;

    border-radius: 24px;

    padding: 18px 24px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.advantage {
    display: flex;
    align-items: center;
    gap: 16px;

    color: white;
}

.advantage img {
    width: 32px;
    height: 32px;
}

.advantage h4 {
    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 0.5px;

    color: #B88A2E;

    margin-bottom: 4px;
}

.advantage p {
    font-family: "Inter", sans-serif;

    font-size: 14px;

    line-height: 1.4;

    opacity: .9;
}

/* ===== DOCK ЭФФЕКТ ===== */

.card.active {
    transform: translateY(-4px) scale(1.02);

    box-shadow:
        0 18px 40px rgba(0,0,0,.10),
        0 4px 12px rgba(0,0,0,.06);
}


/* ===== СТРЕЛКА ===== */

.card span {
    transition:
        transform .25s ease,
        color .25s ease;
}

.card:hover span {
    transform: translateX(4px);
    color: #c79d4b;
}


/* ===== РЕНДЕР ===== */

.render {
    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.render:hover {
    transform: scale(1.01);

    box-shadow:
        0 35px 60px rgba(0,0,0,.16);
}


/* ===== ТЕЛЕФОН ===== */

.support-phone {
    transition: opacity .2s ease;
}

.support-phone:hover {
    opacity: .8;
}

.page {
    animation: fadeIn .8s ease;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}