@font-face {
    font-family: "Salena";
    src: url("SALENA MEDIUM.TTF") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --olive: #4e5234;
    --cream: #f4efe7;
    --pink: #ead0c5;
    --text: #4f5535;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Salena", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--cream);
}

img {
    display: block;
    max-width: 100%;
}

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

.hero {
    position: relative;
    min-height: 997px;
    overflow: visible;
    background: var(--olive);
    color: var(--cream);
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: min(100% - 80px, 1120px);
    margin: 0 auto;
    min-height: 997px;
}

.nav {
    display: flex;
    justify-content: flex-end;
    gap: 68px;
    padding-top: 50px;
    font-family: "Salena", Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    text-transform: uppercase;
}

.nav a {
    transition: opacity .2s ease;
}

.nav a:hover {
    opacity: .65;
}

.hero__flowers {
    position: absolute;
    z-index: 3;
    left: 0;
    top: -40px;
    width: 700px;
    max-width: none;
    pointer-events: none;
}

.hero__brand {
    position: relative;
    width: 1000px;
    margin: 112px 0 0 250px;
}

.hero__logo {
    width: 700px;
    position: relative;
    top: 120px;
    left: 150px;
}

.hero__bird {
    position: absolute;
    z-index: 2;
    width: 150px;
    right: 260px;
    top: 15px;
}

.hero__bottom {
    position: absolute;
    top: 530px;
    left: 485px;
    display: flex;
    align-items: flex-start;
    gap: 110px;
    margin: 0;
}

.hero__intro {
    width: 436px;
}

.hero__intro p,
.hero__countries p {
    margin: 0;
    color: #FFDACF;
}

.hero__intro p {
    min-height: 72px;
    color: var(--cream);
    font-family: "Salena", Arial, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
}

.hero__countries {
    margin-top: 3px;
    font-family: "Salena", Arial, sans-serif;
    font-size: 20px;
    line-height: 24px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 250px;
    max-width: 100%;
    height: 75px;
    margin-top: 14px;
    padding: 0 25px 0 32px;
    background: transparent;
    border: 2px solid #e7c7bb;
    color: #efd0c5;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.contact-btn img {
    width: 22px;
    height: 22px;
}

.contact-btn:hover {
    background: rgba(255,255,255,.08);
}

.contact-btn:focus-visible,
.contact-modal__close:focus-visible,
.contact-form__submit:focus-visible,
.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
    outline: 2px solid #d9a99a;
    outline-offset: 3px;
}

.about {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    background: var(--cream);
}

.anchor {
    position: absolute;
    top: 0;
}

.about__inner {
    position: relative;
    z-index: 2;
    width: min(100% - 80px, 1120px);
    min-height: 820px;
    margin: 0 auto;
}

.about h2 {
    margin: 0;
    padding-top: 132px;
    padding-left: 233px;
    font-size: 60px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: .01em;
}

.about__description {
    position: absolute;
    top: 235px;
    left: 454px;
    margin: 0;
    width: 350px;
    font-size: 20px;
    line-height: 24px;
}

.about__description p {
    margin: 0 0 16px;
}

.about__description p:last-child {
    margin-bottom: 0;
}

.about__vector {
    position: absolute;
    z-index: 1;
    bottom: 10px;
    width: 800px;
}

.about__photo {
    position: absolute;
    top: 360px;
    right: -75px;
    width: 360px;
    height: 453px;
    object-fit: cover;
}

.about__steps {
    position: absolute;
    inset: 0;
    font-size: 16px;
    line-height: 1.06;
    text-align: center;
}

.step {
    position: absolute;
}

.step i {
    display: block;
    width: 6px;
    height: 6px;
    margin: 20px auto 0;
    border-radius: 50%;
    background: var(--text);
}

.step--one {
    top: 384px;
    left: 80px;
}

.step--two {
    top: 540px;
    left: 270px;
}

.step--two i,
.step--three i {
    margin: 0 auto 20px;
}

.step--three {
    top: 660px;
    left: 90px;
}

.about__contacts {
    position: absolute;
    left: 455px;
    bottom: 110px;
    display: grid;
    grid-template-columns: 36px max-content;
    align-items: center;
    column-gap: 16px;
    row-gap: 14px;
}

.about__contacts img {
    width: 36px;
    height: 36px;
}

.phone {
    font-size: 24px;
}

.email {
    font-size: 16px;
}

.partners {
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.partners__inner {
    width: min(100% - 80px, 1120px);
    margin: 0 auto;
    padding: 132px 0 140px;
}

.partners h2 {
    margin: 0;
    padding-left: 233px;
    font-size: 60px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: .01em;
}

.partners__logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: center;
    margin-top: 92px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(78, 82, 52, .35);
}

.partner-logo img {
    width: 100%;
    max-width: 175px;
    height: 105px;
    object-fit: contain;
}

.partners__more {
    margin: 48px 0 0;
    font-size: 30px;
    line-height: 1;
    text-align: center;
}

.contacts {
    min-height: 230px;
    background: var(--cream);
}

.contacts__inner {
    position: relative;
    width: min(100% - 80px, 1120px);
    min-height: 230px;
    margin: 0 auto;
    border-top: 1px solid rgba(78, 82, 52, .35);
}

.contacts .about__contacts {
    position: absolute;
    top: 55px;
    bottom: auto;
}

.modal-open {
    overflow: hidden;
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 27, 17, .72);
    backdrop-filter: blur(3px);
}

.contact-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px 42px 32px;
    background: var(--cream);
    color: var(--text);
    box-shadow: 0 24px 80px rgba(20, 22, 13, .34);
}

.contact-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: 400 32px/1 Arial, sans-serif;
    cursor: pointer;
}

.contact-modal__heading > p:first-child {
    margin: 0 0 6px;
    color: #9a6f64;
    font-size: 13px;
    letter-spacing: .14em;
}

.contact-modal__heading h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
}

.contact-modal__heading > p:last-child {
    margin: 9px 0 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 26px;
}

.contact-field {
    display: grid;
    gap: 5px;
}

.contact-field--wide {
    grid-column: 1 / -1;
}

.contact-field span {
    font-size: 15px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(78, 82, 52, .55);
    border-radius: 0;
    padding: 7px 2px;
    background: transparent;
    color: var(--text);
    font: 16px/1.35 Arial, Helvetica, sans-serif;
}

.contact-field select {
    cursor: pointer;
}

.contact-field textarea {
    min-height: 74px;
    resize: vertical;
}

.contact-form__website {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 20px;
}

.contact-form__status {
    flex: 1;
    margin: 0;
    font: 14px/1.4 Arial, Helvetica, sans-serif;
}

.contact-form__status.is-success {
    color: #47713d;
}

.contact-form__status.is-error {
    color: #a03e35;
}

.contact-form__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 230px;
    height: 52px;
    padding: 0 22px 0 26px;
    border: 0;
    background: var(--olive);
    color: var(--cream);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.contact-form__submit img {
    width: 20px;
    filter: brightness(0) invert(1);
}

.contact-form__submit:disabled {
    cursor: wait;
    opacity: .65;
}

.contact-toast[hidden] {
    display: none;
}

.contact-toast {
    position: fixed;
    z-index: 110;
    right: 24px;
    bottom: 24px;
    padding: 16px 22px;
    background: var(--olive);
    color: var(--cream);
    box-shadow: 0 12px 35px rgba(20, 22, 13, .25);
    font: 15px/1.3 Arial, Helvetica, sans-serif;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
}

.contact-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero,
    .hero__inner {
        min-height: 820px;
    }

    .hero__flowers {
        left: -220px;
        width: 560px;
    }

    .hero__brand {
        width: 620px;
        margin-left: 280px;
    }

    .hero__logo {
        width: 620px;
    }

    .hero__bottom {
        top: 620px;
        left: 395px;
        gap: 80px;
    }

    .hero__intro {
        width: 330px;
    }

    .hero__intro p {
        min-height: auto;
        font-size: 16px;
        line-height: 1.08;
    }

    .about__description {
        left: 42%;
    }

    .about__photo {
        width: 300px;
        height: 377px;
    }

    .partners h2 {
        padding-left: 0;
    }
}

@media (max-width: 800px) {
    .hero {
        min-height: 780px;
    }

    .hero__inner,
    .about__inner {
        width: min(100% - 36px, 680px);
    }

    .nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 28px;
        padding-top: 30px;
        font-size: 12px;
    }

    .hero__flowers {
        left: -250px;
        top: 90px;
        width: 520px;
        opacity: .9;
    }

    .hero__brand {
        width: 86%;
        margin: 205px 0 0 auto;
    }

    .hero__logo {
        width: 100%;
        left: 0;
    }

    .hero__bird {
        width: 92px;
        right: 7%;
        top: -55px;
    }

    .hero__bottom {
        position: static;
        margin: 85px 0 0 31%;
        gap: 35px;
    }

    .hero__intro,
    .hero__countries {
        font-size: 13px;
    }

    .hero__intro {
        width: auto;
        min-width: 0;
    }

    .hero__intro p {
        min-height: auto;
        font-size: 13px;
        line-height: 1.15;
    }

    .contact-btn {
        width: 230px;
        height: 58px;
        margin-top: 26px;
        padding: 0 20px;
    }

    .about {
        min-height: 1200px;
    }

    .about__inner {
        min-height: 1200px;
    }

    .about h2 {
        padding: 70px 0 0;
        font-size: 40px;
        text-align: center;
    }

    .about__description {
        position: static;
        margin: 36px auto 0;
        width: min(100%, 600px);
        font-size: 14px;
        text-align: center;
    }

    .about__photo {
        top: 380px;
        right: 50%;
        transform: translateX(50%);
        width: 280px;
        height: 352px;
    }

    .about__steps {
        position: absolute;
        top: 760px;
        bottom: auto;
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        height: auto;
    }

    .step,
    .step--one,
    .step--two,
    .step--three {
        position: static;
        font-size: 13px;
    }

    .step i,
    .step--two i,
    .step--three i {
        margin: 16px auto 0;
    }

    .step--two,
    .step--three {
        display: flex;
        flex-direction: column-reverse;
    }

    .about__contacts {
        left: 50%;
        bottom: 95px;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    .about__vector {
        bottom: 100px;
    }

    .partners__inner {
        width: min(100% - 36px, 680px);
        padding: 70px 0 90px;
    }

    .partners h2 {
        padding: 0;
        font-size: 40px;
        text-align: center;
    }

    .partners__logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-top: 48px;
    }

    .partner-logo {
        min-height: 130px;
        padding: 15px;
    }

    .partners__more {
        margin-top: 36px;
        font-size: 26px;
    }

    .contacts,
    .contacts__inner {
        min-height: 190px;
    }

    .contacts__inner {
        width: min(100% - 36px, 680px);
    }

    .contacts .about__contacts {
        top: 42px;
    }
}

@media (max-width: 520px) {
    .hero,
    .hero__inner {
        min-height: 820px;
    }

    .hero__flowers {
        z-index: 1;
        left: -200px;
        top: 210px;
        width: 400px;
        opacity: 1;
    }

    .hero__brand {
        width: 93%;
        margin-top: 60px;
        margin-left: 0;
    }

    .hero__logo {
        position: static;
    }

    .hero__bird {
        width: 72px;
        top: -43px;
    }

    .hero__bottom {
        position: absolute;
        top: auto;
        right: 0;
        bottom: 120px;
        left: 34%;
        display: block;
        margin: 0;
    }

    .hero__intro {
        width: 100%;
    }

    .hero__countries {
        margin-top: 24px;
        line-height: 15px;
    }

    .contact-btn {
        width: 100%;
    }

    .about h2 {
        font-size: 34px;
    }

    .about__description {
        font-size: 12px;
        line-height: 1.2;
    }

    .about__photo {
        top: 440px;
        width: 250px;
        height: 315px;
    }

    .about__steps {
        top: 790px;
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .step--two,
    .step--three {
        flex-direction: column;
    }

    .step--two i,
    .step--three i {
        margin: 16px auto 0;
    }

    .about__contacts {
        bottom: 42px;
        column-gap: 10px;
        row-gap: 10px;
    }

    .phone {
        font-size: 15px;
    }

    .email {
        font-size: 12px;
    }

    .partners__inner {
        padding: 62px 0 70px;
    }

    .partners h2 {
        font-size: 34px;
    }

    .partners__logos {
        gap: 12px;
        margin-top: 36px;
    }

    .partner-logo {
        min-height: 105px;
        padding: 10px;
    }

    .partner-logo img {
        height: 80px;
    }

    .partners__more {
        margin-top: 28px;
        font-size: 22px;
    }

    .contacts,
    .contacts__inner {
        min-height: 150px;
    }

    .contacts .about__contacts {
        top: 30px;
        bottom: auto;
    }

    .contact-modal {
        align-items: end;
        padding: 0;
    }

    .contact-modal__dialog {
        width: 100%;
        max-height: 94vh;
        padding: 42px 22px 28px;
    }

    .contact-modal__heading h2 {
        font-size: 36px;
    }

    .contact-modal__heading > p:last-child {
        margin-bottom: 26px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-field--wide {
        grid-column: auto;
    }

    .contact-form__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin-top: 24px;
    }

    .contact-form__submit {
        flex-basis: auto;
        width: 100%;
    }

    .contact-toast {
        right: 16px;
        bottom: 16px;
        left: 16px;
        text-align: center;
    }
}
