/* lyag.com — размеры в vw, как в Webflow-оригинале (lyagwelcomepage.webflow.shared.css).
   Компьютер: три города в одну строку на весь экран. ≤991px: города друг под другом,
   подпись — стеклянная плашка со стрелкой внизу кадра, все три помещаются в один экран. */
@font-face {
  font-family: Coil;
  src: url(/fonts/coil-medium.woff2) format("woff2"), url(/fonts/coil-medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: #000; }
body { font-family: Coil, sans-serif; font-weight: 500; color: #fff; }

h1 {
  margin: 0;
  text-align: center;
  font-size: 2.8vw;
  line-height: 2.675vw;
  letter-spacing: -.064vw;
  font-weight: 500;
}
p {
  margin: 0;
  font-size: 1.406vw;
  line-height: 1.406vw;
  letter-spacing: -.04vw;
}

.cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 100vh;
  height: 100svh;
}
.city {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.city-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.city-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .781vw;
}
.city:hover h1 { text-decoration: underline; }
.city-arrow { display: none; }

.info {
  position: absolute;
  left: 1.563vw;
  right: 1.563vw;
  bottom: 1.172vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}

@media screen and (max-width: 991px) {
  h1 { text-align: left; font-size: 3.8vw; line-height: 3.65vw; }
  p { font-size: 1.816vw; line-height: 1.816vw; }

  .cities { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
  .city { align-items: flex-end; padding: 2.018vw; }
  .city-label {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 1.211vw 2.523vw 1.514vw;
    border-radius: 1.6vw;
    background-color: #8686864d;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .city:hover h1 { text-decoration: none; }
  .city-arrow { display: block; width: 2.1vw; height: 2.012vw; margin-top: .202vw; }
  .info { top: 1.172vw; bottom: auto; }
}

@media screen and (max-width: 767px) {
  h1 { font-size: 6.4vw; line-height: 6vw; }
  p { font-size: 4.8vw; line-height: 4.8vw; }
  .city { padding: 5.333vw; }
  .city-label { padding: 3.2vw 5.333vw 4vw; border-radius: 4vw; }
  .city-arrow { width: 4.2vw; height: 3.967vw; margin-top: .6vw; }
  .info { top: 4vw; left: 5.333vw; right: 5.333vw; }
}
