* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: #ffffff;
  color: #66615d;
  overflow-x: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 95px;
  isolation: isolate;
}

.ornament {
  position: fixed;
  pointer-events: none;
  user-select: none;
  z-index: -1;
  opacity: 0.95;
}

.ornament-top {
  width: min(760px, 55vw);
  top: -175px;
  right: -270px;
}

.ornament-bottom {
  width: min(690px, 55vw);
      left: -276px;
    bottom: -107px;
}

.content {
  width: min(1000px, 100%);
  text-align: center;
  margin-top: 60px;
}

.loader {
  width: 108px;
  height: 108px;
  margin: 0 auto 22px;
  border: 17px solid transparent;
  border-top-color: #84959a;
  border-bottom-color: #84959a;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.loader::before,
.loader::after {
  content: "";
  position: absolute;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

h1 {
  margin: 0;
  font-size: clamp(56px, 7.8vw, 128px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -4px;
  color: #615e5a;
}

.subtitle {
  margin: 28px 0 28px;
  font-size: clamp(20px, 2.1vw, 35px);
  line-height: 1.08;
  color: #9b9996;
}

.flags {
  width: min(445px, 74vw);
  display: block;
  margin: 0 auto 74px;
}

.contact-title {
  margin-bottom: 22px;
  font-size: clamp(31px, 3.8vw, 50px);
  line-height: 1;
  letter-spacing: 16px;
  color: #a19d99;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #879ba0;
  text-decoration: none;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: 2px;
}

.phone-icon {
  width: 47px;
  height: 47px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #3da6b9;
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

.socials {
  display: flex;
  align-items: center;
  gap: 17px;
}

.socials a {
  width: 43px;
  height: 43px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}



.tm-logo {
  position: fixed;
  right: 55px;
  bottom: 28px;
  width: min(198px, 14vw);
  min-width: 110px;
}

@media (max-width: 900px) {
  .page {
    padding: 45px 18px 170px;
  }

  .content {
    margin-top: 10px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .flags {
    margin-bottom: 50px;
  }

  .contact-row {
    gap: 24px;
  }

  .contact-title {
    letter-spacing: 9px;
  }

  .tm-logo {
    right: 50%;
    transform: translateX(50%);
    width: 130px;
  }
}

@media (max-width: 520px) {
  .ornament-top {
    width: 560px;
    top: -205px;
    right: -350px;
  }

  .ornament-bottom {
    width: 500px;
    left: -330px;
    bottom: -210px;
  }

  .loader {
    width: 72px;
    height: 72px;
    border-width: 11px;
  }

  .subtitle br {
    display: none;
  }

  .contact-title {
    letter-spacing: 5px;
  }

  .socials {
    gap: 11px;
  }

  .socials a {
    width: 36px;
    height: 36px;
  }
}
