@font-face {
  font-family: "Greta Display Pro";
  src: url("assets/fonts/GretaDisplayPro-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Fedra Sans Pro";
  src: url("assets/fonts/FedraSansPro-Book.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Fedra Sans Pro";
  src: url("assets/fonts/FedraSansPro-Normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Armenian";
  src: url("assets/fonts/NotoSansArmenian-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0530-058F, U+FB13-FB17;
}
:root {
  color-scheme: light;
  font-family: "Fedra Sans Pro", "Noto Sans Armenian", Arial, sans-serif;
  font-weight: 400;
  color: #302b27;
  background: #f5f0ea;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
:lang(hy) { font-family: "Noto Sans Armenian", "Fedra Sans Pro", sans-serif; }
html, body { width: 100%; height: 100%; margin: 0; }
.page {
  position: relative;
  height: 100vh;
  height: 100dvh;
  background: #f5f0ea url("assets/images/niche-desktop.webp") center / cover no-repeat;
}
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 66%;
  height: 100%;
  margin: 0 auto;
  padding-block: 10dvh 8dvh;
  gap: 3dvh;
  text-align: center;
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5dvh;
}
.brand-logo { display: block; width: auto; height: 14dvh; max-height: 170px; }
h1, p { margin: 0; }
.intro h1 {
  font-family: "Greta Display Pro", "Noto Sans Armenian", Georgia, serif;
  font-size: clamp(28px, 4.9dvh, 56px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 2dvh;
}
.intro h1 span { font-family: inherit; }
.intro p { font-size: clamp(16px, 3dvh, 34px); line-height: 1.4; }
.prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 3%;
  width: 100%;
  max-width: 1180px;
}
.price-card { min-width: 0; }
.price-card__cover {
  display: block;
  width: min(27dvh, 300px);
  height: auto;
  aspect-ratio: 240 / 301;
  max-width: 100%;
  max-height: 380px;
  margin-inline: auto;
  margin-block-end: 2dvh;
  border-radius: 12px;
  object-fit: cover;
}
.price-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  height: 5.8dvh;
  max-height: 64px;
  padding-inline: 10px;
  border-radius: 999px;
  background: #786047;
  color: #fff;
  font-size: clamp(16px, 2.2dvh, 22px);
  font-weight: 300;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}
.price-card__button:hover,
.price-card__button:focus-visible { background: #624b37; }
.price-card__button:active { transform: translateY(1px); }
.price-card__button:focus-visible,
.contact__link:focus-visible { outline: 2px solid #302b27; outline-offset: 4px; }
.contact {
  position: absolute;
  top: 4.5dvh;
  right: 4%;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.contact__link {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  transition: transform 160ms ease;
}
.contact__link img { display: block; }
.contact__facebook-icon { border-radius: 50%; background: #fff; }
.contact__link:hover { transform: translateY(-2px); }
@media (max-width: 1100px) and (min-height: 501px) {
  .content { width: 84%; margin-left: 12%; padding-block: 9dvh 8dvh; }
  .hero { gap: 5dvh; }
  .intro h1 { font-size: clamp(26px, min(4vw, 4.9dvh), 42px); }
  .intro p { font-size: clamp(16px, min(2.4vw, 2.8dvh), 24px); }
  .price-card__cover { width: min(22vw, 24dvh, 230px); }
  .price-card__button { font-size: clamp(14px, 1.8vw, 18px); }
}
@media (max-width: 700px) and (min-height: 501px) {
  .page { background-image: url("assets/images/niche-mobile.webp"); }
  .content {
    width: 100%;
    margin: 0;
    padding: max(12dvh, env(safe-area-inset-top)) 24px max(3dvh, env(safe-area-inset-bottom));
    gap: 2dvh;
  }
  .hero { gap: 7dvh; }
  .brand-logo { height: 12dvh; max-height: 104px; }
  .intro { max-width: 350px; }
  .intro__brand { display: block; }
  .intro h1 { font-size: clamp(22px, 3.15dvh, 28px); margin-bottom: 2dvh; }
  .intro p { font-size: 14px; line-height: 1.5; }
  .intro__invitation { margin-top: 1.5dvh; }
  .prices { display: flex; flex-direction: column; align-items: center; gap: 2.5dvh; }
  .price-card { width: min(100%, 260px); }
  .price-card__cover { display: none; }
  .price-card__button { height: 44px; font-size: 16px; }
  .contact { position: static; flex-shrink: 0; }
  .contact__instagram-icon { width: 32px; height: 32px; }
}
@media (max-width: 700px) and (min-height: 651px) and (max-height: 740px) {
  .content { padding-top: max(8dvh, env(safe-area-inset-top)); }
  .hero { gap: 4.5dvh; }
}
@media (max-width: 700px) and (min-height: 501px) and (max-height: 650px) {
  .content { padding-block: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-bottom)); gap: 12px; }
  .hero { gap: 14px; }
  .brand-logo { height: 64px; }
  .intro h1 { font-size: 22px; margin-bottom: 10px; }
  .intro__invitation { margin-top: 0; }
  .prices { gap: 14px; }
}
@media (max-height: 500px), (max-height: 550px) and (min-width: 501px) {
  .content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: center;
    gap: 12px 5%;
    width: 100%;
    margin: 0;
    padding: max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }
  .hero { grid-column: 1; grid-row: 1; gap: 12px; }
  .brand-logo { height: 18dvh; max-height: 84px; }
  .intro h1 { font-size: clamp(20px, 3vw, 28px); margin-bottom: 10px; }
  .intro p { font-size: 14px; line-height: 1.4; }
  .prices { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .price-card { width: min(100%, 260px); }
  .price-card__cover { display: none; }
  .price-card__button { height: 44px; font-size: 16px; }
  .contact { position: static; grid-column: 1; grid-row: 2; gap: 5px; }
  .contact__instagram-icon { width: 34px; height: 34px; }
}
@media (max-width: 400px) and (max-height: 500px) {
  .page { background-image: url("assets/images/niche-mobile.webp"); }
  .content { display: flex; padding: 12px 20px; gap: 8px; }
  .hero { gap: 8px; }
  .brand-logo { height: 48px; }
  .intro h1 { font-size: 20px; margin-bottom: 8px; }
  .intro p { font-size: 13px; }
  .prices { gap: 10px; }
  .price-card { width: 230px; }
  .price-card__button { min-height: 40px; height: 40px; font-size: 15px; }
  .contact__link { height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .price-card__button, .contact__link { transition: none; }
}

.language-switch {
  position: absolute;
  top: 3dvh;
  left: 4%;
  z-index: 1;
}
.language-trigger {
  width: 48px;
  height: 32px;
  padding-inline: 8px;
  border: 1px solid #786047;
  border-radius: 6px;
  background-color: #ede4d9;
  color: #624b37;
  font: inherit;
  font-size: 12px;
  line-height: 30px;
  list-style-position: inside;
  white-space: nowrap;
  cursor: pointer;
}
.language-trigger::marker { color: #786047; font-size: 9px; }
.language-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  display: grid;
  width: 48px;
  padding: 3px;
  border: 1px solid #786047;
  border-radius: 0 0 6px 6px;
  background: #f5f0ea;
}
.language-switch:not([open]) .language-options { display: none; }
.language-options button {
  width: 100%;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #624b37;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.language-options button:hover { background: #e9dfd2; }
.language-options button[aria-pressed="true"] { background: #786047; color: #fff; }
.language-trigger:focus-visible,
.language-options button:focus-visible { outline: 2px solid #302b27; outline-offset: 2px; }
@media (max-height: 550px) {
  .language-switch {
    left: max(8px, env(safe-area-inset-left));
  }
}
