@import "/css/reset.css";
@import "/css/text.css";
html {
  font-size: 62.5%;
  background: white;
  scroll-behavior: smooth !important;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(148deg, rgba(37, 37, 70, 0.49) 0%, rgba(37, 37, 70, 0) 70.59%), url("/photos/body-bkg.png");
  background-position: left;
  min-height: 100vh;
  padding: 0px 5px;
}

body > * {
  max-width: 1300px;
  margin: 0 auto;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: var(--size1);
  line-height: 111.3%;
}

h2 {
  font-size: var(--size3);
  line-height: auto;
}

a {
  color: var(--black);
  text-decoration: none;
}

nav {
  display: flex;
  justify-content: space-between;
  font-family: "Playfair Display", serif;
  height: 55px;
  align-items: center;
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 25px;
    padding-top: 25px;
}

.logo {
  font-weight: 500;
}

nav ul {
  display: flex;
  gap: 27px;
      align-items: center;
}
.number img{
    width:20px;
}
.number,
.mob-number {
  display: flex;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  padding: 1em 1.2em;
  background: var(--red);
  border-radius: 5px;
}
.mob-number{
    font-size: 1.5rem;
}
.number a,
.mob-number a {
  color: white;
}

@media only screen and (max-width: 700px) {
  .mob-menu-icon {
    display: grid !important;
    gap: 3px;
    justify-content: center;
    align-content: center;
    width: 39px;
    height: 39px;
    border-radius: 100px;
    background-color: var(--black);
    border: 1px solid var(--yellow);
    z-index: 1000;
  }
  .mob-menu-icon div {
    background-color: white;
    width: 12.75px;
    height: 1px;
  }
  nav ul,
nav .number {
    display: none;
  }
  .mob-nav {
    position: fixed;
    top: 0;
    display: grid !important;
    justify-content: center;
    align-content: center;
    gap: 49px;
    width: 100vw;
    height: 100vh;
    background-color: var(--black);
    color: var(--yellow);
    transform: translateX(100vw);
    opacity: 0;
    transition: .5s ease-in-out;
    z-index: 10;
  }
  .mob-nav ul {
    text-align: center;
    font-size: var(--size4);
  }
  .mob-nav ul li {
    margin-bottom: 24px;
  }
  .mob-nav a {
    color: var(--yellow);
  }
  .mob-nav-open {
    opacity: 1;
    transform: translateX(-5px);
  }
}
.card-animation-right {
  transform: translateX(39px);
  transition: transform 0.5s linear;
}

.card-animation-left {
  transform: translateX(-39px);
  transition: transform 0.5s linear;
}

.card {
  position: relative;
  display: flex;
  gap: 20px;
  max-width: 1300px;
  max-height: 715px;
  padding: 86px 39px;
  background: var(--black);
  color: white;
  border-radius: 19px;
}
.card::before {
  position: absolute;
  content: "";
  border-radius: 19px;
  width: 99%;
  height: 99%;
  top: calc(0.5% - 1px);
  left: calc(0.5% - 1px);
  border: 1px solid var(--yellow);
  pointer-events: none !important;
}
.card span {
  color: var(--yellow);
}
.card img {
  height: 486px;
  margin: auto;
  opacity: 0.7;
  border-radius: 19px;
}
.card .left-header {
  max-width: 792px;
}
.card p {
  margin-top: 22px;
  margin-bottom: 40px;
  line-height: 1.3em;
  font-size: var(--size6);
}
.card a {
  background-color: var(--red);
  font-size: var(--size7);
  font-weight: 600;
  border-radius: 5px;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 1.2em;
}

@media only screen and (max-width: 1456px) {
  .card {
    transform: translateX(0);
  }
}
@media only screen and (max-width: 1100px) {
  .card img {
    height: 436px;
  }
}
@media only screen and (max-width: 800px) {
  .card {
    flex-direction: column;
    padding: 49px 19px 0;
    max-height: -webkit-max-content;
    max-height: -moz-max-content;
    max-height: max-content;
  }
  .card img {
    height: 60vw;
    margin: 20px auto;
  }
}
@media only screen and (max-width: 390px) {
  .card {
    padding: 24px 11px 0;
  }
}
.quotation {
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: var(--size6);
  font-style: italic;
  margin-top: var(--sub-margin);
  margin-bottom: var(--main-margin);
  text-align: center;
}
.quotation q {
  font-family: "Playfair Display";
  font-weight: 600;
  font-style: normal;
  font-size: var(--size2);
}

.aboutMe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-bottom: var(--main-margin);
}
.aboutMe h2 {
  grid-column: 1/3;
}
.aboutMe p {
  font-size: var(--size5);
  line-height: 1.5em;
}
.aboutMe img {
  justify-self: end;
  max-height: 542px;
  border-radius: 19px;
  border: 1px solid var(--yellow);
}

@media only screen and (max-width: 800px) {
  .aboutMe img {
    max-height: 469px;
  }
}
@media only screen and (max-width: 650px) {
  .aboutMe p {
    grid-column: 1/3;
  }
  .aboutMe img {
    grid-column: 1/3;
    justify-self: center;
    max-height: 397px;
  }
}
.card-left {
  transform: translateX(-39px);
}

@media only screen and (max-width: 1456px) {
  .card-left {
    transform: translateX(0);
  }
}
.reviews {
  position: relative;
  display: flex;
  gap: 35px;
  background-color: transparent;
  margin-bottom: var(--main-margin);
  margin-top: var(--main-margin);
}
.reviews > img {
  z-index: 100;
}
.reviews .review {
  display: flex;
  padding: 0 0 0 29px;
  min-height: 340px;
  max-width: 622px;
  transform: translateX(0);
}
.reviews .review div {
  display: grid;
  gap: 24px;
}
.reviews .review h3 {
  padding-top: 18px;
  font-family: "Playfair Display";
  font-size: var(--size4);
  color: var(--yellow);
}
.reviews .review p {
  font-size: var(--size6);
}
.reviews .review .name {
  font-size: var(--size5);
  color: var(--yellow);
  align-self: flex-end;
  margin-top: 0;
  margin-bottom: 16px;
}
.reviews .review img {
  height: 324px;
  border-radius: 19px;
}

@media only screen and (max-width: 1000px) {
  .reviews {
    max-height: 464px;
  }
  .reviews .review {
    flex-direction: column;
    justify-items: end;
    padding-left: 20px;
    padding-right: 20px;
  }
  .reviews .review img {
    display: none;
  }
}
@media only screen and (max-width: 600px) {
  .reviews .review:nth-child(2) {
    display: none;
  }
  .reviews .review {
    flex-direction: row;
    padding-right: 0;
  }
  .reviews .review img {
    display: block;
  }
}
@media only screen and (max-width: 500px) {
  .reviews .review:nth-child(2) {
    display: none;
  }
  .reviews .review {
    flex-direction: row;
    min-height: auto;
    max-height: 300px !important;
    padding-left: 14px;
    padding-right: 14px;
  }
  .reviews .review div {
    gap: 0;
  }
  .reviews .review img {
    display: none;
  }
}
.contacts {
  margin-bottom: var(--sub-margin);
}
.contacts h2 {
  margin-bottom: 34px;
}

.contacts-block {
  position: relative;
  display: grid;
  justify-content: space-between;
  justify-items: stretch;
  grid-template-columns: -webkit-max-content 1fr;
  grid-template-columns: max-content 1fr;
  gap: 10px;
  max-width: 622px;
  max-height: 274px;
  padding: 0;
  background: var(--black);
  color: white;
  border-radius: 19px;
  margin-bottom: var(--sub-margin);
}
.contacts-block::before {
  position: absolute;
  content: "";
  border-radius: 19px;
  width: 99%;
  height: 99%;
  top: calc(0.5% - 1px);
  left: calc(0.5% - 1px);
  border: 1px solid var(--yellow);
  pointer-events: none;
}
.contacts-block img {
  border-radius: 0 19px 19px 0;
  max-height: 274px;
}

.contacts-left {
  display: grid;
  padding: 31px 0 27px 31px;
  max-width: 375px;
}
.contacts-left .contacts-number {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 35px;
}
.contacts-left .contacts-number a {
  font-size: var(--size4);
  color: var(--yellow);
  margin-right: 11px;
  line-height: 1em;
}
.contacts-left .contacts-number img {
  width: 25px;
}
.contacts-left p {
  font-size: var(--size6);
  margin-bottom: 58px;
  line-height: 1.3em;
}
.contacts-left .price {
  align-self: flex-end;
  font-size: var(--size5);
  color: var(--yellow);
}

@media only screen and (max-width: 800px) {
  .contacts-block {
    max-height: 216px;
  }
  .contacts-block img {
    max-height: 216px;
  }
  .contacts-left {
    padding: 24px 0 13px 24px;
  }
  .contacts-left .contacts-number {
    gap: 17px;
    margin-bottom: 13px;
  }
  .contacts-left .contacts-number a {
    margin-right: 6px;
  }
  .contacts-left .contacts-number img {
    width: 18px;
  }
  .contacts-left p {
    margin-bottom: 44px;
  }
}
@media only screen and (max-width: 600px) {
  .contacts-block img {
    width: 100%;
    height: 100%;
  }
  .contacts-left {
    max-width: 290px;
  }
}
@media only screen and (max-width: 500px) {
  .contacts-left {
    display: grid;
    padding: 24px 0 12px 14px;
    max-width: 235px;
  }
  .contacts-left .contacts-number {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
  }
  .contacts-left .contacts-number a {
    grid-column: 1/3;
    margin-right: 0;
  }
  .contacts-left .contacts-number img {
    grid-row: 2;
    grid-column: 1/2;
  }
  .contacts-left .contacts-number img:nth-child(3) {
    transform: translateX(29px);
  }
  .contacts-left p {
    margin-bottom: 37px;
  }
}
@media only screen and (max-width: 400px) {
  .contacts-block {
    gap: 5px;
  }
}
.alert {
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--red);
  color: white;
  font-size: var(--size6);
  height: 100px;
  line-height: 1.3em;
  max-width: 100vw;
}

@media only screen and (max-width: 390px) {
  .alert {
    font-size: var(--size7);
    height: 60px;
  }
}
/* ===== ПК ===== */
.lang-switch{
    display:flex;
    align-items:center;
    border:2px solid #e0c25a;
    border-radius:999px;
    overflow:hidden;
    width:fit-content;
    box-shadow:0 0 18px rgba(224,194,90,.25);
    justify-self: center;
}

.lang-btn{
    padding:7px 16px;      /* было 8px 20px */
    min-width:62px;        /* было 74px */
    font-size:15px;        /* было 20px */
    font-weight:600;
    text-align:center;
    text-decoration:none;
    color:#f0df9b;
    text-shadow:0 0 6px rgba(240,223,155,.45);
    transition:.25s;
}

.lang-btn:hover{
    background:rgba(224,194,90,.18);
}

.lang-btn.active{
    background:#e0c25a;
    color:#111;
    text-shadow:none;
}
.arrow {
  cursor: pointer;
}/*# sourceMappingURL=main.css.map */