:root {
    --nabornyy: #312c27;
    --zagolovochnyy: #1f1711;
    --fonovyy-svetlyy: #fff9f4;
    --akcentnyy: #ffa55c;
    --fonovyy: #ffe0cb;
    --transition: all .4s;
}
.body {
    font-family: "Montserrat", "Arial", sans-serif;
    line-height: 1.5;
    color: var(--nabornyy);
    background-color: var(--fonovyy-svetlyy);
}
.body--opened-menu{
    overflow: hidden;
}
.body--opened-modal {
    overflow: hidden;
}
.wrapper {
    min-height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.main{
    flex-grow: 1;
}
.main__about {
    padding:140px 0;
}
.container {
    max-width: 1310px;
    padding: 0 15px;
    margin: 0 auto;
    height: 100%;
}
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--akcentnyy);
    border-radius: 60px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    padding: 3px 15px;
    height: 62px;
    transition: var(--transition);
    width: 100%;
}
.button:hover {
    background: #ff9138;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 10;
    background: #0000005e;
    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: all 0.6s;
}
.body--opened-modal .modal{
    opacity: 1;
    visibility: visible;
    transition: var(--transition);
}
.modal__window {
    background: var(--fonovyy-svetlyy);
    border-radius: 20px;
    padding: 0 60px 60px;
    max-width: 428px;
    position: relative;
}
.modal__cancel {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
}
.modal__cancel path,
.modal__cancel rect {
    transition: var(--transition);
}
.modal__cancel:hover path, 
.modal__cancel:hover rect {
    stroke:  #ac907a ;
}
.modal__img {
    margin: -65px 0 15px 13px;
    max-width: 100%;
}
.modal__title {
    font-family: 'Gabriola';
    font-size: 42px;
    line-height: 0.9;
    color: var(--zagolovochnyy);
    margin-bottom: 10px;
}
.modal__text{
    margin-bottom: 30px;
}
.modal__form-label {
    margin-bottom: 10px;
}
.field {
    position: relative;
    display: block;
    margin-bottom: 10px;
}
.field span{
    position: absolute;
    top: 12px;
    left: 28px;
    font-size: 11px;
    color: #ac907a;

    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.field__input {
    display: block;
    background: transparent;
    width: 100%;
    border: 1px solid #ac907a;
    border-radius: 100px;
    padding: 19px 42px 19px 28px;
    font-size: 16px;

    transition: var(--transition);
}
.field__input:hover {
    border-color: var(--akcentnyy);
}
.field__input::placeholder {
    color: #ac907a;
    transition: var(--transition);
}
.field__input:hover::placeholder {
    color: var(--akcentnyy);
}

.field__input:focus {
    padding: 26px 42px 12px 28px;
}
.field__input:focus + span {
    opacity: 1;
    visibility: visible;
}


.button {
}
/* ============================================== */
.header {
    background: url("../img/decor/background.png") 50% 100% / cover no-repeat ;
}
.header__top {
    padding-top: 19px;
}
.header__top-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.header__logo {
    max-width: 174px;
    z-index: 11;
}
.header__logo img{
    width: 100%;
}
.nav__list {
    display: flex;
    gap: 4vh 40px;
}
.nav__link {
    display: block;
    padding: 5px 0;
    position: relative;
    z-index: 1;
}
.nav__link::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -8px;
    left: -13px;
    width: 34px;
    height: 34px;
    background: var(--akcentnyy);
    border-radius: 50%;

    opacity:0;
    transition: var(--transition);
}
.nav__link:hover::before{
    opacity: 1;
}
.burger-icon {
    display: none;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    z-index: 11;
}
.burger-icon span, 
.burger-icon span::before, 
.burger-icon span::after {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 100px;
    background: var(--nabornyy);

    transition: var(--transition);
}

.burger-icon span {
    position: relative;
}
.burger-icon span::before, 
.burger-icon span::after {
    content: '';
    position: absolute;
}
.burger-icon span::before {
    top:-8px;
}
.burger-icon span::after {
    bottom: -8px;
}
.body--opened-menu .burger-icon span {
    background: transparent;
}
.body--opened-menu .burger-icon span::before {
    top:-0px;
    transform: rotate(45deg);
}
.body--opened-menu .burger-icon span::after{
    bottom: -0px;
    transform: rotate(-45deg);
}
.header__hero {
    padding: 50px 0 140px;
}
/* ======================================= */

.hero__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}
.hero__content {
    max-width: 520px;
}
.hero__info {
    line-height: 1.6;
    text-transform: uppercase;
    color: #b197b2;
    margin-bottom: 20px;

    display: flex;
    flex-wrap: wrap;
}
.hero__info  span{
    display: flex;
    align-items: center;
} 
.hero__info  span::after{
    content: '';
    display:block;
    background: #b197b2;
    border-radius: 50%;
    width: 4px;
    height: 4px;
    margin: 0 10px;
}
.hero__info  span:last-child::after{
    content: none;
}

.hero__title {
    font-family: 'Gabriola';
    font-size: 74px;
    line-height: 0.82;
    color: var(--zagolovochnyy);
    margin-bottom: 30px;
}
.hero__text {
    max-width: 360px;
    margin-bottom: 40px;
}
.hero__button {
    max-width: 360px;
    width: 100%;
}
.hero__img {
    margin-right: 247px;
    position: relative;
}
.hero__img>img{
    width: 100%;
}
.hero__img-control {
    position: absolute;
    bottom: 11%;
    left: calc(100% - 39px);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
    text-align: left;
}
.hero__img-control--mobile{
    display: none;
}
.hero__img-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--fonovyy);
    box-shadow: 0 4px 20px 0 rgba(184, 148, 126, 0.3);

    position: relative;
}
.hero__img-button img {
    padding-left: 8.8%;
}
.hero__img-button::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px solid var(--akcentnyy);

    opacity:0;
    transition: var(--transition);
}
.hero__img-button:hover::before{
    opacity: 1;
}
/* ========================================================= */

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    grid-template-rows: repeat(2, auto);
    gap:40px 53px;
}
.about__img {
    border-radius: 20px;
    overflow: hidden;
    grid-row: 1/-1;
    position: relative;
}
.about__img>img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 50%;
}
.about__img-control {
    position: absolute;
    bottom: 4.7%;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    text-align: left;
    border-radius: 20px;
    background: #957b97e6;
    padding: 15px 20px;
    color: var(--fonovyy-svetlyy);
}
.about__img-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--fonovyy-svetlyy);

    position: relative;
}
.about__img-button::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px solid #ceaad0;

    opacity:0;
    transition: var(--transition);
}
.about__img-button:hover::before{
    opacity: 1;
}
.about__body {
}
.about__heading {
    margin-bottom: 30px;
}
.about__title {
    font-family: 'Gabriola';
    font-size: 74px;
    line-height: 0.82;
    color: var(--zagolovochnyy);
}
.about__title-text {
}
.about__text {
    /* margin-bottom: 40px; */
}
.about__grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2,1fr);
}
.about__grid-item {
    background: var(--fonovyy);
    border-radius: 20px;
    padding: 29px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.about__grid-img {
    border: 1px solid var(--nabornyy);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about__grid-text {
}








/* ======================================================== */
.footer {
    background: #ab8261;
    color: var(--fonovyy-svetlyy);
    padding: 60px 0 66px;
}

.footer__inner {
    display: grid;
    gap: 40px 15px;
    grid-template-columns: .9fr .9fr 1.1fr auto;
}
.footer__col:first-child {
    margin-top: -34px;
}
.footer__logo {
    display: block;
    max-width: 240px;
}
.footer__logo img{
    width: 100%;
}
.footer__logo-text {
    margin-bottom: 20px;
}
.footer__col-list {
    margin-top: -5px;
}
.footer__col-item {
    margin-bottom: 10px;
}
.footer__col-item:last-child {
    margin-bottom: 0px;
}
.footer__col-link {
    display: block;
    padding: 5px 0;
    position: relative;
    z-index: 1;
}
.footer__col-link::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -8px;
    left: -13px;
    width: 34px;
    height: 34px;
    background: var(--akcentnyy);
    border-radius: 50%;

    opacity:0;
    transition: var(--transition);
}
.footer__col-link:hover::before {
    opacity: 1;
}
.footer__contact-list {
}
.footer__contact-item {
    margin-bottom: 10px;
}
.footer__contact-item:last-child {
    margin-bottom: 0px;
}

.footer__col-tel {
    margin-bottom: 47px;
}
.footer__col-number {
    display: block;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.6;

    transition: var(--transition);
}
.footer__col-number:hover {
    color: var(--akcentnyy);
}
.footer__col-copy {
    color: #dec5b1;
}

.socials {
    line-height: 0;
}
.socials__list {
    display: flex;
    gap: 15px;
}
.socials__item {
}
.socials__link path{
    transition: var(--transition);
}
.socials__link:hover path{
    fill: var(--akcentnyy);
}
/* ========================================================= */
/* ========================================================= */
@media (max-width: 1200px) {
    .hero__img {
        margin: 0;
        max-width: 377px;
    }
    .hero__img-control {
    position: static;
    max-width: none;
    margin-top: 30px;
    }
    .burger-icon {
    display: none;
}
/* ============================================ */
.footer__inner {
    justify-content: space-between;
    grid-template: repeat(2, auto)/ repeat(3, auto);
}
.footer__col:last-child {
    grid-column: 1 / -1;
    text-align: center;
}
}
@media (max-width: 1100px) {
    .about__img {
        grid-row: auto;
    }
    .about__body {
        align-self: center;
    }
    .about__grid {
        grid-column: 1/-1;
    }
}
@media (max-width: 900px) {
    .nav {
        position: fixed;
        inset: 0;
        z-index: 10;
        background: var(--fonovyy-svetlyy);
        padding: 26vh 15px 30px;
        font-size: 24px;

        transform: translateY(-50%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav__list {
        flex-direction: column;
        align-items: center;
    }
    .body--opened-menu .nav{
        transform: translateY(0%);
        opacity: 1;
        visibility: visible;
    }
    .burger-icon {
        display: flex;
    }
    /* ============================================ */
.footer__inner {
    justify-content: center;
    grid-template: none;
    text-align: center;
    gap: 0;
}
.footer__col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}
.footer__col:nth-child(2) {
    margin-bottom: 40px;
}
.footer__col:nth-child(3) {
    margin-bottom: 10px;
}
}
@media (max-width: 800px) {
    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: none;
        width: 100%;
    }
    .hero__img{
        display: none;
    }
    .hero__img-control--mobile{
        display: flex;
        margin: 0 0 30px;
    } 
    /* ======== */
    .about__inner {
        grid-template: none;
    }
    .about__body {
        text-align: center;
    }
    .about__img {
        max-width: 500px;
        justify-self: center;
    }
    .about__grid {
        grid-template: none;
    }
}
@media (max-width: 600px) {
    
    .main__about {
        padding: 60px 0 80px;
    }
    /* ==== */
    .header__hero {
        padding-bottom: 80px;
    }
    .hero__title {
        font-size: 12vw;
    }
    /* ========= */
    .about__title {
        font-size: 12vw;
    }
    .about__img-control {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: none;
        border-radius: 0;
        padding: 10px 15px;
    }
    .about__grid {
        gap: 15px;
    }
    .about__grid-item {
        padding: 10px 15px;
    }
}
@media (max-width: 450px) {
    .modal__img {
        width: 50%;
        margin-top: -45px;
    }
    .modal__title {
        font-size: 38px;
    }
    .modal__window {
        padding: 0 15px 45px;
    }
}