@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght,CRSV@100..900,0&display=swap');

.landing-section-1 {
  background: rgb(145, 158, 148);
}

.landing-section-2 {
  background: rgb(233 233 231);
}

.container {
  width: 1320px;
}

.first-banner {
  position: relative;
  color: white;
  display: flex;
  justify-content: space-between;
  background-image: url(/upload/landing-max/first_screen_crop.png);
  min-height: 850px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}

.first-banner__glass {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  overflow: hidden;
  border-radius: 0 60px 60px 0;
  background: rgb(255 255 255 / 8%);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
}

.first-banner__glass::before,
.first-banner__glass::after {
  content: "";
  position: absolute;
  border-radius: 60px;
  pointer-events: none;
  filter: blur(200px);
}

.first-banner__glass::before {
  width: 993px;
  height: 1037px;
  left: -383px;
  top: -429px;
  background: rgb(66 66 66 / 40%);
}

.first-banner__glass::after {
  width: 778px;
  height: 813px;
  left: 416px;
  top: 381px;
  background: rgb(54 54 54 / 30%);
}

.first-banner__body {
  z-index: 1;
  flex: 0 1 100%;
  padding-top: 80px;
  padding-left: 128px;
}

.first-banner-copy {
  margin-top: 70px;
  z-index: 4;
  left: max(40px, calc((100vw - 1200px) / 2));
  width: min(914px, calc(100% - 80px));
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.first-banner-copy__lead {
  margin: 0 0 24px;
  font-size: clamp(24px, 2.78vw, 40px);
  font-weight: 400;
  line-height: 1;
}

.first-banner-copy__title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  font-weight: 600;
  line-height: 0.9;
  white-space: nowrap;
  font-family: "Montserrat", sans-serif;
  padding: 0;
  color: white;
}

.first-banner-copy__accent {
  font-size: clamp(60px, 7.64vw, 110px);
  letter-spacing: -0.025em;
}

.first-banner-copy__product {
  font-size: clamp(40px, 4.17vw, 60px);
  letter-spacing: 0.03em;
}

.first-banner-copy__description {
    margin: 16px 0 0;
  padding-right: 25px;
  font-size: clamp(20px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: right;
  font-family: "Montserrat", sans-serif;
}

.first-banner__list {
    font-size: 22px;
    font-weight: 400;
    width: min(1070px, calc(100% - 80px));
    margin-top: 50px;
    display: flex;
    justify-content: center;
    position: relative;
}

.first-banner__list.wyswig ul {
    width: 410px;
    position: relative;
    margin: 0;
}

.first-banner__list-separator {
    width: 5px;
    background: #2C3A33;
    border-radius: 10px;
    position: absolute;
    height: 380px;
    left: 28%;
    right: 0;
}

.first-banner__list.wyswig ul li {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    line-height: 1.3;
    letter-spacing: 2%;
}

.first-banner__list.wyswig ul li::before {
    content: "+";
    color: white;
    background: #2C3A33;
    border-radius: 4px;
    font-weight: 700;
    padding: 0px;
    margin-left: 0px;
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    position: relative;
    top: 0px;
    text-align: center;
    left: 0px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA */
.cta-banner {
  display: flex;
  justify-content: space-between;
  padding: 55px 0 100px;
  padding-left: 70px;
  flex-direction: column;
  align-items: baseline;
}

.cta-banner__title {
    font-size: 37px;
    color: #2C3A33;
    text-transform: uppercase;
    font-family: "Geologica", sans-serif;
    font-weight: 500;
    margin: 0;
}

.cta-banner__body {
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
}

.cta-banner__content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.cta-banner__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-banner__list.wyswig li {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 500;
    padding-left: 30px;
}

.cta-banner__list.wyswig li::before {
    color: #2C3A33;
}

.cta-banner__link {
    font-size: 24px;
    color: white;
    padding: 24px 55px;
    font-weight: 600;
    text-transform: uppercase;
    background: #2C3A33;
    border-radius: 50px;
    transition: 0.3s all ease-in-out;
    font-family: "Montserrat", sans-serif;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 536px;
    white-space: nowrap;
}

.cta-banner__link:hover {
    color: white;
    background: #1b2520;
}

.cta-banner__link::after {
    content: '';
    display: inline-block;
    line-height: 0;
    background: url(/upload/landing-max/arrow.svg);
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75%;
}

.landing-footer {
    padding-left: 70px;
    color: #48514C;
    font-family: "Montserrat", sans-serif;
}

.landing-footer .container::before, .landing-footer .container::after {
    content: none;
} 

.landing-footer__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 15px;
    font-size: 16px;
    font-weight: 500;
}

.landing-footer__copy {
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 376px;
    white-space: nowrap;
    padding: 0 3px;
    & .copy {
        color: #48514C;
    }
}

.landing-footer__politics {
    display: flex;
    gap: 60px;
    max-width: 604px;
    white-space: nowrap;
    padding: 0 4px;
    & a {
        color: #48514C;
    }

    & a:hover {
        text-decoration: underline !important;
    }
}

.mobile-br {
    display: none;
}

@media (max-width: 1440px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .mobile-br {
        display: block;
    }

    .desktop-br {
        display: none;
    }

    .landing-section-1 {
        background: linear-gradient(180deg, #6E7E76 25%, #8F9F95);
        overflow: hidden;
    }

    .landing-section-1::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        background: radial-gradient(#919d93, transparent);
        bottom: 778px;
        top: 460px;
    }

    .wrapper_landing {
        overflow: hidden;
    }

    .first-banner {
        background-position: bottom 0px right 0px;
        min-height: 1088px;
        background-size: auto 498px;
        background-image: url("/upload/landing-max/background-first-screen-no-bg-preview.png");
    }

    .first-banner__image {
        max-width: 200px;
    }

    .first-banner__glass {
        width: 100%;
        border-radius: 0 0 60px 60px;
        height: 60%;
        max-height: 631px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .first-banner__glass::before {
        height: 1230px;
        left: -405px;
        width: 1230px;
        top: -410px;
        background: radial-gradient(rgb(66 66 66 / 30%) 75%, transparent);
        backdrop-filter: blur(300px);
    }

    .first-banner__glass::after {
        content: none;
    }

    .first-banner__body {
        padding-left: 0;
        padding-top: 35px;
    }

    .first-banner-copy__description {
        text-align: start;
        margin-top: 16px;
    }

    .first-banner-copy__lead {
        margin-bottom: 16px;
    }

    .first-banner-copy {
        margin-top: 40px;
        width: 100%;
    }

    .first-banner-copy__title {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 4px;
        gap: 4px;
    }

    .first-banner__list {
        margin-top: 40px;
        font-size: 16px;
        width: 100%;
        padding-left: 20px;
        justify-content: flex-start;
    }

    .first-banner__list-separator {
        left: 0;
    }

    .first-banner__list.wyswig ul {
        width: unset;
    }

    .first-banner__list.wyswig ul li {
        margin-bottom: 16px;
    }

    .first-banner__list.wyswig ul li::before {
        width: 16px;
        height: 16px;
    }

    .cta-banner {
        flex-direction: column;
        padding: 64px 0 50px;
        align-items: center;
        gap: 30px;
        
        & .cta-banner__photo {
            transform: scale(1.1);
        }
    }

    .cta-banner__title {
        font-size: 24px;
        margin: 0;
    }

    .cta-banner__list {
        gap: 16px;
    }

    .cta-banner__body {
        gap: 30px;
    }

    .cta-banner__link {
        width: max-content;
        gap: 16px;
        font-size: 16px;
        padding: 18px 28px;
        max-width: 336px;

        & img {
            width: 24px;
            height: 24px;
        }
    }

    .cta-banner__list.wyswig li {
        font-size: 16px;
        margin: 0;
    }

    .cta-banner__list.wyswig li::before {
        font-size: 28px;
        top: 45%;
        transform: translateY(-55%);
    }

    .cta-banner__content {
        position: relative;
        padding-left: 0;
        gap: 0;
        flex-direction: column;
    }

    .cta-banner__link::after {
        width: 24px;
        height: 24px;
    }

    .landing-footer {
        padding: 30px 0;
        max-height: 168px;
    }

    .landing-footer__copy {
        line-height: 1.2;
    }

    .landing-footer__politics {
        line-height: 1.2;
    }

    .landing-footer__copy img {
        display: none;
    }
    .landing-footer__body {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .landing-footer__politics {
        flex-direction: column;
        gap: 24px;
    }
}

.landing-redstar .red-star {
    color: #48514C;
    margin-top: 8px;
}

.landing-redstar .red-star__logo {
    background-image: url('/upload/landing-max/redstar.svg');
}

@media(max-width: 768px) {
    .landing-redstar .red-star {
        margin-top: 16px;
    }
}


/* Второй лендинг */
.antiage-section {
    & p {
        color: #fff;
        margin: revert-rule;
        line-height: 100%;
        text-align: center;
        font-family: "Montserrat", sans-serif;
    }

    & h1 {
        font-family: "Montserrat", sans-serif;
        color: #fff;
        margin: 0;
        padding: 0;
        line-height: 100%;
    }
}
.antiage-body {
    display: grid;
    grid-template-columns: 0.3fr 0.4fr 0.3fr;
    height: 100vh;
    width: 100vw;
}

.antiage-picture {
    min-width: 0;
    aspect-ratio: auto;
    width: 100%;
}

.antiage-picture img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.antiage-picture--first {
    background: url('/upload/antiage-landing/first_screen_desktop_hands_2.jpg') center / cover no-repeat;
}

.antiage-picture--second {
    background: url('/upload/antiage-landing/first_screen_desktop_woman_2.jpg') center / cover no-repeat;
}

.antiage-picture--bg {
    background: url('/upload/antiage-landing/first_screen_desktop_green.jpg') center / cover no-repeat;
}

.antiage-info__logo {
    margin-bottom: 52px;
}

.antiage-info__text {
    margin-bottom: 76px;
}

.antiage-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px 94px;
}

.antiage-text__subheading {
    font-size: 35px;
    font-weight: 300;
    margin-bottom: 8px;
}

.antiage-text__accent {
    font-size: 90px;
    font-weight: 600;
    text-transform: uppercase;
}

.antiage-text__subtitle {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 3%;
}

.antiage-text__copy {
    font-size: 24px;
    letter-spacing: 2%;
    font-weight: 300;
}

.antiage-info__link {
        background: #fff;
    border-radius: 36px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    line-height: 100%;
    padding: 26px 40px;
    transition: background 0.3s ease-in;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 384px;
    width: 100%;
    justify-content: space-evenly;
}

.antiage-info__link::after {
    content: '';
    width: 25px;
    height: 20px;
    background: url('/upload/antiage-landing/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.antiage-info__link:hover, .antiage-info__link:focus {
    background: #EAEAEA;
}

.antiage-info__link a {
    color: #000;
}

@media (max-width: 540px) {
    .antiage-section {
        width: 100vw;
        margin-inline: calc(50% - 50vw);
    }

    .antiage-section .antiage-body {
        /* Figma reference heights: 640px and 844px. */
        --height-difference: max(0px, min(204px, calc(844px - 100svh)));
        --photo-bottom: calc(441px - var(--height-difference) * 193 / 204);
        --photo-top: calc(var(--height-difference) * -73 / 204);
        --gradient-top: calc(156px - var(--height-difference) * 48 / 204);
        --content-offset: calc(var(--height-difference) / 204);
        position: relative;
        display: block;
        height: 100dvh;
        min-height: max(100dvh, calc(832px - var(--height-difference) * 192 / 204));
        overflow: hidden;
        background: #6c6c44;
        font-family: "Montserrat", sans-serif;
    }

    .antiage-section .antiage-picture--first {
        display: none;
    }

    .antiage-section .antiage-picture--second {
        position: absolute;
        inset: 0 0 auto;
        height: var(--photo-bottom);
        background: url('/upload/antiage-landing/first_screen_mobile_woman_2.jpg')
            center var(--photo-top) / 100% auto no-repeat;
    }

    .antiage-section .antiage-body::after {
        content: "";
        position: absolute;
        z-index: 1;
        inset: var(--gradient-top) 0 auto;
        height: calc(var(--photo-bottom) - var(--gradient-top));
        background: linear-gradient(to bottom, transparent, rgb(15 18 3 / 42%));
        pointer-events: none;
    }

    .antiage-section .antiage-info {
        position: absolute;
        inset: var(--photo-bottom) 0 0;
        display: block;
        padding: 0;
        background: url('/upload/antiage-landing/first_screen_mobile_green.jpg')
            center top / cover no-repeat #6c6c44;
        background-size: 165%;
    }

    .antiage-section .antiage-info__logo {
        position: absolute;
        z-index: 2;
        top: calc(-57px + var(--content-offset));
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 100px;
        margin: 0;
        background: url('/upload/antiage-landing/mobile-logo.svg') center no-repeat;
    }

    .antiage-section .antiage-info__logo img,
    .antiage-section .antiage-info__text .desktop-br {
        display: none;
    }

    .antiage-section .antiage-info__text {
        position: absolute;
        top: calc(71px + var(--content-offset));
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: calc(100% - 40px);
        height: 200px;
        margin: 0;
        text-align: center;
    }

    .antiage-section .antiage-info__text :is(p, h1) {
        margin: 0;
        color: #fff;
        font-family: inherit;
    }

    .antiage-section .antiage-info__text .antiage-text__subheading {
        font-size: 24px;
        font-weight: 400;
        line-height: 28px;
    }

    .antiage-section .antiage-info__text .antiage-text__accent {
        font-size: 64px;
        font-weight: 600;
        line-height: 72px;
        letter-spacing: 0;
    }

    .antiage-section .antiage-info__text .antiage-text__subtitle {
        font-size: 36px;
        font-weight: 600;
        line-height: 48px;
        letter-spacing: 1.44px;
    }

    .antiage-section .antiage-info__text .antiage-text__copy {
        margin-top: 4px;
        font-size: 20px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: 0.4px;
    }

    .antiage-section .antiage-info__link {
        position: absolute;
        top: calc(303px + var(--content-offset));
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        box-sizing: border-box;
        width: calc(100% - 40px);
        max-width: 308px;
        height: 60px;
        margin: 0 auto;
        padding: 0 12px;
        font-size: 16px;
        text-align: center;
        text-decoration: none;
        color: #000;
    }

    .antiage-section .antiage-info__link::after {
        flex: 0 0 18px;
        height: 15px;
        background-size: contain;
    }
}

@media (max-width: 389px) {
    .antiage-section .antiage-info__text .antiage-text__subheading {
        font-size: 19px;
    }

    .antiage-section .antiage-info__text .antiage-text__accent {
        font-size: 50px;
    }

    .antiage-section .antiage-info__text .antiage-text__subtitle {
        font-size: 30px;
    }

    .antiage-section .antiage-info__text .antiage-text__copy {
        font-size: 16px;
    }

    .antiage-section .antiage-info__link {
        font-size: 14px;
    }
}

@media(max-width: 1340px) {
    .antiage-text__accent {
        font-size: 68px;
    }
}

@media (min-width: 541px) and (max-width: 1024px) {
    .antiage-section {
        width: 100vw;
        margin-inline: calc(50% - 50vw);
    }

    .antiage-section .antiage-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(310px, 37.22%) minmax(0, 1fr);
        height: 100svh;
        min-height: 600px;
    }

    .antiage-section .antiage-picture--first {
        background-position: bottom center;
    }

    .antiage-section .antiage-picture--second {
        background-position: bottom center;
    }

    .antiage-section .antiage-info {
        padding: 36px 16px 44px;
        text-align: center;
    }

    .antiage-section .antiage-info__logo {
        width: 128px;
        height: 128px;
        margin-bottom: 28px;
        background: url('/upload/antiage-landing/tablet-logo.svg') center no-repeat;
    }

    .antiage-section .antiage-info__logo img {
        display: none;
    }

    .antiage-section .antiage-info__text {
        margin-bottom: 36px;
    }

    .antiage-section .antiage-text__subheading {
        margin: 0 0 8px;
        font-size: 24px;
        font-weight: 400;
        line-height: 30px;
    }

    .antiage-section .antiage-text__accent {
        font-size: 52px;
    }

    .antiage-section .antiage-text__subtitle {
        margin: 8px 0;
        font-size: 26px;
        letter-spacing: 0.78px;
    }

    .antiage-section .antiage-text__copy {
        margin: 0;
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0.32px;
    }

    .antiage-section .antiage-info__link {
        box-sizing: border-box;
        justify-content: center;
        gap: 12px;
        max-width: 280px;
        min-height: 56px;
        padding: 0 12px;
        color: #000;
        font-size: 15px;
        text-decoration: none;
    }

    .antiage-section .antiage-info__link::after {
        flex: 0 0 19px;
        height: 15px;
        background-position: center;
        background-size: contain;
    }
}

@media (min-width: 900px) and (max-width: 1024px) {
    .antiage-section .antiage-text__accent {
        font-size: 64px;
    }

    .antiage-section .antiage-text__copy {
        font-size: 18px;
    }
}

body.antiage-landing {
    background: url('/upload/antiage-landing/first_screen_mobile_green.jpg') center top / contain no-repeat #6c6c44;
}