:root {
  --bg: #f1ece2;
  --card: #fffaf0;
  --ink: #202020;
  --muted: #68706a;
  --green: #082f1a;
  --green-2: #0d4326;
  --line: rgba(8, 38, 21, 0.12);
  --shadow: 0 28px 70px rgba(21, 28, 23, 0.12);
  --radius-lg: 34px;
  --radius-md: 24px;
  --container: 1210px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.55), transparent 28%),
    radial-gradient(circle at 85% 26%, rgba(255, 255, 255, 0.42), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(8, 38, 21, 0.09);
  border-radius: 46% 54% 59% 41%;
}

body::before {
  width: 330px;
  height: 330px;
  right: -80px;
  top: 18vh;
  transform: rotate(-18deg);
}

body::after {
  width: 220px;
  height: 220px;
  left: -90px;
  bottom: 12vh;
  transform: rotate(24deg);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 236, 226, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-bar {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.logo,
.footer-logo,
.mobile-logo {
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 44px);
}

.desktop-nav a,
.footer-nav a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--green);
  opacity: 0.62;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  width: fit-content;
  max-width: 100%;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 22px 48px rgba(8, 47, 26, 0.18);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--green-2);
}

.btn-arrow {
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.menu-toggle,
.mobile-menu,
.menu-overlay {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(360px, 48vw, 610px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111;
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.75;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  color: #fff;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.hero p {
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(72px, 8vw, 118px);
}

.about-grid,
.city-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.city-grid {
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.15fr);
}

.media-card,
.text-card,
.feature-card,
.contact-card,
.form-card,
.stats-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow);
}

.media-card,
.text-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-card,
.city-card {
  padding: clamp(38px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about h2,
.city h2,
.section-head h2,
.contacts h2,
.apartments h2 {
  margin: 0;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.about-card > p:not(.eyebrow),
.city-card > p,
.section-head > p:not(.eyebrow),
.contact-card p,
.form-note {
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.45;
}

.location {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.location span {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 18px 0 -7px var(--ink);
}

.section-head {
  max-width: 880px;
  margin: 0 auto clamp(38px, 5vw, 68px);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(44px, 6.2vw, 78px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card div {
  padding: 26px 24px 30px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.3vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.city-media {
  align-self: center;
}

.city-media img {
  min-height: 330px;
  max-height: 470px;
}

.stats-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stats-grid article {
  border-radius: 22px;
  padding: 26px;
}

.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1;
}

.stats-grid span {
  color: var(--muted);
  font-size: 16px;
}

.apartments {
  background: #1f1f1f;
  color: #fff;
}

.section-head--dark p {
  color: rgba(255, 255, 255, 0.68);
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.apartment-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #242424;
  cursor: default;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.apartment-card img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  opacity: 0.9;
}

.apartment-card__top {
  position: absolute;
  inset: 22px 22px auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.apartment-card__top span {
  font-size: 24px;
  font-weight: 900;
}

.apartment-card__top strong {
  font-size: clamp(48px, 6vw, 74px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.apartment-card__body {
  padding: 28px;
}

.apartment-card__body h3 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.05;
}

.apartment-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contacts-grid {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.contact-card,
.form-card {
  min-height: 430px;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 58px);
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-style: normal;
}

.contact-card a {
  text-decoration: none;
}

.contact-phone {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.contact-email {
  margin-bottom: 42px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}

.form-card h3 {
  margin: 0 0 30px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.form-card label {
  display: block;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: 18px;
}

.form-card input {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.78);
  background: transparent;
  outline: none;
}

.form-card input:focus {
  border-color: var(--green);
}

.btn-wide {
  width: 100%;
}

.form-note {
  margin: 22px 0 0;
  font-size: 14px;
}

.site-footer {
  padding: clamp(70px, 8vw, 110px) 0 44px;
  background: #062414;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 54px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 26px;
  color: #fff;
  font-size: 54px;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.45;
}

.footer-nav {
  display: grid;
  gap: 14px;
}

.footer-nav a {
  color: #fff;
  font-weight: 700;
}

.footer-nav a:hover {
  color: #fff;
  opacity: 0.72;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.footer-socials img {
  width: 21px;
  height: 21px;
  filter: invert(1);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .city-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .city-card {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 32px, 560px);
  }

  .site-header {
    background: rgba(241, 236, 226, 0.98);
  }

  .header-bar {
    min-height: 74px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .logo {
    font-size: 29px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }

  .header-cta .btn-arrow {
    font-size: 22px;
  }

  .menu-toggle {
    position: relative;
    display: block;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 14px 30px rgba(8, 47, 26, 0.2);
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    left: 15px;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: top 0.22s ease, transform 0.22s ease;
  }

  .menu-toggle span:first-child {
    top: 21px;
  }

  .menu-toggle span:last-child {
    top: 31px;
  }

  body.menu-open .menu-toggle span:first-child {
    top: 26px;
    transform: rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    top: 26px;
    transform: rotate(-45deg);
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

  body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: min(88vw, 360px);
    height: 100dvh;
    padding: 24px;
    background: #062414;
    color: #fff;
    border-radius: 0 28px 28px 0;
    box-shadow: 26px 0 70px rgba(0, 0, 0, 0.34);
    transform: translateX(-104%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.34s ease;
  }

  body.menu-open .mobile-menu {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 44px;
  }

  .mobile-logo {
    color: #fff;
    font-size: 31px;
  }

  .mobile-close {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-links {
    display: grid;
    gap: 24px;
  }

  .mobile-links a {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-decoration: none;
  }

  .mobile-phone {
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
  }

  .hero {
    min-height: 300px;
  }

  .hero h1 {
    font-size: clamp(58px, 17vw, 86px);
  }

  .hero p {
    max-width: 330px;
    font-size: 16px;
  }

  .section {
    padding-block: 64px;
  }

  .about-grid,
  .city-grid,
  .contacts-grid {
    gap: 28px;
  }

  .about-grid {
    display: flex;
    flex-direction: column;
  }

  .about-media {
    order: 1;
  }

  .about-card {
    order: 2;
  }

  .media-card img {
    min-height: 250px;
    aspect-ratio: 1.35 / 1;
  }

  .about-card,
  .city-card,
  .contact-card,
  .form-card {
    padding: 30px;
    border-radius: 26px;
  }

  .about h2,
  .city h2,
  .section-head h2,
  .contacts h2,
  .apartments h2 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1;
  }

  .eyebrow {
    font-size: 14px;
    letter-spacing: 0.2em;
  }

  .about-card > p:not(.eyebrow),
  .city-card > p,
  .section-head > p:not(.eyebrow) {
    font-size: 17px;
  }

  .features-grid,
  .apartments-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .feature-card div {
    padding: 22px;
  }

  .city-media img {
    min-height: 240px;
  }

  .stats-grid {
    gap: 14px;
  }

  .apartment-card__top strong {
    font-size: 54px;
  }

  .contact-card,
  .form-card {
    min-height: auto;
  }

  .contact-phone {
    font-size: clamp(34px, 9vw, 42px);
  }

  .contact-email {
    font-size: clamp(27px, 7vw, 34px);
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    font-size: 46px;
  }
}

@media (max-width: 390px) {
  .header-bar {
    gap: 8px;
  }

  .logo {
    font-size: 26px;
  }

  .header-cta {
    max-width: 168px;
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
  }

  .mobile-menu {
    width: 100vw;
    border-radius: 0;
  }
}

/* Button hover contrast fix */
.btn,
.btn:visited,
.header-cta,
.header-cta:visited {
  color: #fff;
  opacity: 1;
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  color: #fff;
  background: #0b3a20;
  opacity: 1;
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(8, 47, 26, 0.26);
}

.btn:hover span,
.btn:focus-visible span,
.header-cta:hover span,
.header-cta:focus-visible span {
  color: #fff;
  opacity: 1;
}

.btn:active,
.header-cta:active {
  transform: translateY(0);
  background: #062414;
  color: #fff;
}

/* Biysk final tiny polish */

/* links and buttons */
a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.desktop-nav a:hover,
.site-header .logo:hover {
  color: #102719;
  opacity: 0.68;
}

.site-footer a:hover {
  color: #ffffff;
  opacity: 0.72;
}

.btn,
.btn:visited,
.header-cta,
.header-cta:visited {
  color: #fff;
  background: #07351e;
  opacity: 1;
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  color: #fff;
  background: #0b4326;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(7, 53, 30, 0.28);
}

.btn span,
.header-cta span,
.btn:hover span,
.header-cta:hover span {
  color: #fff;
  opacity: 1;
}

/* apartments are cards only */
.apartment-card,
.apartments article,
#apartments article,
#apartments .apartment-card {
  cursor: default;
  pointer-events: none;
}

.apartment-card::after,
.apartments article::after,
#apartments article::after,
#apartments .apartment-card::after {
  display: none;
  content: none;
}

/* desktop final balance */
.section-head h2 {
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 0.98;
}

.city-grid,
.about-grid,
.contacts-grid {
  align-items: center;
}

.city-card,
.about-card,
.contact-card,
.form-card {
  min-height: auto;
}

/* mobile menu final */
@media (max-width: 767px) {
  body.menu-open,
  body.no-scroll {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(241, 236, 226, 0.96);
    border-bottom: 1px solid rgba(8, 38, 21, 0.1);
    backdrop-filter: blur(14px);
  }

  .header-bar,
  .header-inner,
  .site-header .container {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto minmax(136px, 176px) 52px;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 18px;
  }

  .logo {
    font-size: 27px;
    line-height: 1;
    white-space: nowrap;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
    min-height: 50px;
    width: 100%;
    max-width: 176px;
    padding: 0 14px;
    gap: 8px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.08;
    text-align: left;
  }

  .header-cta .btn-arrow,
  .btn-arrow {
    flex: 0 0 24px;
    font-size: 24px;
  }

  .menu-toggle,
  .burger {
    position: static;
    justify-self: end;
    display: flex;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #050605;
    color: #fff;
    box-shadow: none;
  }

  .menu-toggle span,
  .burger span {
    width: 24px;
    height: 2px;
    background: #fff;
  }

  body.menu-open .menu-toggle,
  body.menu-open .burger {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .menu-overlay,
  .mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1900;
    background: rgba(0, 0, 0, 0.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  body.menu-open .menu-overlay,
  body.menu-open .mobile-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: max(14px, env(safe-area-inset-left));
    z-index: 2000;
    display: flex;
    flex-direction: column;
    width: min(358px, calc(100vw - 28px));
    height: calc(100dvh - 28px);
    padding: 30px 28px 28px;
    overflow-y: auto;
    border-radius: 28px;
    background: #022c16;
    color: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    transform: translateX(calc(-100% - 24px));
    opacity: 1;
    visibility: visible;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.menu-open .mobile-menu {
    transform: translateX(0);
  }

  .mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 42px;
  }

  .mobile-logo {
    color: #fff;
    font-size: 29px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
  }

  .mobile-close {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 32px;
    line-height: 1;
  }

  .mobile-links {
    display: grid;
    gap: 26px;
  }

  .mobile-links a,
  .mobile-menu > a:not(.mobile-phone) {
    color: #fff;
    font-size: clamp(26px, 7.2vw, 33px);
    font-weight: 850;
    line-height: 1.06;
    text-decoration: none;
  }

  .mobile-links a:hover,
  .mobile-menu a:hover {
    color: #fff;
    opacity: 0.78;
  }

  .mobile-phone {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 24px;
    font-weight: 850;
    line-height: 1.1;
    text-decoration: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-subtitle {
    max-width: 340px;
    margin-inline: auto;
    font-size: 17px;
    line-height: 1.2;
  }

  .section {
    padding-block: 72px;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2,
  .section-title,
  main section h2 {
    font-size: clamp(34px, 10.8vw, 48px);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .about-grid,
  .city-grid,
  .contacts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-card,
  .city-card,
  .contact-card,
  .form-card {
    padding: 30px 24px;
    border-radius: 28px;
  }

  .about-card h2,
  .city-card h2 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 0.98;
  }

  .about-media,
  .city-media {
    border-radius: 26px;
    overflow: hidden;
  }

  .about-media img,
  .city-media img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .stat-card strong {
    font-size: 34px;
  }

  .apartments-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .apartment-card {
    border-radius: 26px;
  }

  .contact-phone {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.05;
  }

  .site-footer {
    padding-block: 58px 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 380px) {
  .header-bar,
  .header-inner,
  .site-header .container {
    grid-template-columns: auto minmax(126px, 156px) 48px;
    gap: 8px;
    padding-inline: 14px;
  }

  .header-cta {
    max-width: 156px;
    min-height: 48px;
    font-size: 13px;
    padding-inline: 12px;
  }

  .menu-toggle,
  .burger {
    width: 48px;
    height: 48px;
  }

  .mobile-menu {
    left: 10px;
    top: 10px;
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
    padding: 26px 24px;
    border-radius: 24px;
  }
}

/* Biysk final desktop layout balance */
@media (min-width: 900px) {
  .section {
    padding-top: clamp(78px, 7vw, 118px);
    padding-bottom: clamp(78px, 7vw, 118px);
  }

  .container {
    width: min(100% - 72px, 1180px);
  }

  .section-head {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-head h2 {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(40px, 4.6vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .section-head > p:not(.eyebrow) {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(17px, 1.45vw, 22px);
    line-height: 1.45;
  }

  .text-card {
    border-radius: 30px;
  }

  .media-card {
    margin: 0;
  }

  .media-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* About: картинка + карточка должны быть одной композицией */
  #about .about-grid {
    display: grid;
    grid-template-columns: minmax(440px, 1.08fr) minmax(360px, 430px);
    align-items: center;
    gap: clamp(38px, 4.8vw, 68px);
  }

  #about .about-media {
    width: 100%;
    align-self: center;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(20, 20, 20, 0.08);
  }

  #about .about-media picture {
    display: block;
    aspect-ratio: 1.48 / 1;
  }

  #about .about-card {
    width: 100%;
    max-width: 430px;
    min-height: auto;
    padding: clamp(36px, 4vw, 52px);
    align-self: center;
  }

  #about .about-card .eyebrow {
    margin-bottom: 18px;
    font-size: clamp(14px, 1.15vw, 17px);
    letter-spacing: 0.23em;
  }

  #about .about-card h2 {
    max-width: 350px;
    margin: 0 0 24px;
    font-size: clamp(38px, 3.85vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  #about .about-card p {
    max-width: 350px;
    margin-bottom: 26px;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.46;
  }

  #about .location {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 28px;
  }

  #about .location span {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    background: #202020;
  }

  #about .location span::before,
  #about .location span::after,
  #about .location::before,
  #about .location::after {
    content: none;
    display: none;
  }

  #about .location p {
    margin: 0;
    color: #68716a;
    font-size: 16px;
    line-height: 1.35;
  }

  #about .btn {
    width: fit-content;
    min-width: 220px;
  }

  /* City: убираем ощущение, что текст и фото живут отдельно */
  #city .city-grid {
    display: grid;
    grid-template-columns: minmax(340px, 400px) minmax(560px, 1fr);
    align-items: center;
    gap: clamp(38px, 4.6vw, 64px);
  }

  #city .city-card {
    width: 100%;
    max-width: 400px;
    min-height: auto;
    padding: clamp(34px, 3.8vw, 50px);
    align-self: center;
  }

  #city .city-card .eyebrow {
    margin-bottom: 18px;
    font-size: clamp(14px, 1.15vw, 17px);
    letter-spacing: 0.23em;
  }

  #city .city-card h2 {
    max-width: 315px;
    margin: 0 0 24px;
    font-size: clamp(38px, 3.75vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  #city .city-card p {
    max-width: 330px;
    margin-bottom: 30px;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.46;
  }

  #city .city-card .btn {
    width: fit-content;
    min-width: 220px;
  }

  #city .city-media {
    width: 100%;
    align-self: center;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(20, 20, 20, 0.09);
  }

  #city .city-media picture {
    display: block;
    aspect-ratio: 1.82 / 1;
  }

  #city .city-media img {
    object-position: center;
  }

  #city .stats-grid,
  #city .stats,
  #city .city-stats,
  #city .digits,
  #city .digits-city {
    margin-top: clamp(42px, 4.8vw, 66px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  #city .stat-card,
  #city .stats > *,
  #city .city-stats > *,
  #city .digits > *,
  #city .digits-city > * {
    min-height: 112px;
    padding: 24px 26px;
    border-radius: 22px;
  }

  #city .stat-card strong,
  #city .stats strong,
  #city .city-stats strong,
  #city .digits strong,
  #city .digits-city strong {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1;
  }

  /* Кнопки: без огромных стрелок и без прозрачного hover */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    color: #fff;
    background: #07351e;
    box-shadow: 0 16px 38px rgba(7, 53, 30, 0.22);
  }

  .btn:hover,
  .btn:focus-visible {
    color: #fff;
    background: #0b4326;
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(7, 53, 30, 0.3);
  }

  .btn-arrow {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
  }
}

@media (min-width: 900px) and (max-width: 1150px) {
  #about .about-grid,
  #city .city-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  #about .about-card,
  #city .city-card {
    max-width: 560px;
  }

  #about .about-card h2,
  #city .city-card h2 {
    max-width: 440px;
  }

  #city .stats-grid,
  #city .stats,
  #city .city-stats,
  #city .digits,
  #city .digits-city {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Biysk final balance patch */

/* Links and buttons: stable hover, no fading into background */
.site-header a,
.desktop-nav a,
.site-footer a,
.mobile-menu a {
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #0a3a20;
  opacity: 1;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  opacity: 0.78;
}

.btn:hover,
.btn:focus-visible,
.header-btn:hover,
.header-btn:focus-visible {
  color: #ffffff;
  background: #0a3a20;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(6, 37, 19, 0.2);
}

.btn:hover img,
.btn:focus-visible img,
.header-btn:hover img,
.header-btn:focus-visible img {
  transform: translateX(3px);
}

/* Desktop balance only. Mobile stays as-is. */
@media (min-width: 768px) {
  :root {
    --section-y: clamp(76px, 7vw, 112px);
    --card-radius: 30px;
  }

  section {
    scroll-margin-top: 92px;
  }

  .section-head {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(34px, 4vw, 56px);
    text-align: center;
  }

  .section-head h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(38px, 4.1vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: balance;
  }

  .section-head p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(17px, 1.45vw, 22px);
    line-height: 1.45;
  }

  .eyebrow,
  .section-kicker,
  .about-card .eyebrow,
  .city-card .eyebrow {
    letter-spacing: 0.32em;
  }

  /* About: image + text card should feel balanced */
  #about {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
  }

  #about .container {
    max-width: 1180px;
  }

  #about .about-grid {
    display: grid;
    grid-template-columns: minmax(420px, 1.05fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: clamp(56px, 7vw, 92px);
  }

  #about .about-media,
  #about .about-image {
    align-self: center;
  }

  #about .about-media img,
  #about .about-image img {
    width: 100%;
    height: clamp(300px, 30vw, 410px);
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 26px 70px rgba(27, 32, 26, 0.12);
  }

  #about .about-card {
    width: 100%;
    max-width: 460px;
    min-height: auto;
    padding: clamp(42px, 4.2vw, 58px);
    border-radius: var(--card-radius);
  }

  #about .about-card h2 {
    max-width: 360px;
    margin-bottom: 22px;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: balance;
  }

  #about .about-card p {
    max-width: 410px;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.48;
  }

  #about .location,
  #about .about-location {
    margin-top: 26px;
    margin-bottom: 26px;
  }

  #about .location::before,
  #about .about-location::before {
    width: 14px;
    height: 14px;
  }

  /* City: make left card and right image proportional */
  #city {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
  }

  #city .container {
    max-width: 1180px;
  }

  #city .city-grid,
  #city .new-city-grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.78fr) minmax(520px, 1.22fr);
    align-items: center;
    gap: clamp(54px, 7vw, 92px);
  }

  #city .city-card,
  #city .new-city-card {
    max-width: 420px;
    min-height: auto;
    padding: clamp(42px, 4.3vw, 58px);
    border-radius: var(--card-radius);
  }

  #city .city-card h2,
  #city .new-city-card h2 {
    max-width: 320px;
    margin-bottom: 24px;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: balance;
  }

  #city .city-card p,
  #city .new-city-card p {
    max-width: 360px;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.48;
  }

  #city .city-media,
  #city .new-city-media,
  #city .city-image {
    align-self: center;
  }

  #city .city-media img,
  #city .new-city-media img,
  #city .city-image img {
    width: 100%;
    height: clamp(300px, 30vw, 410px);
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 26px 70px rgba(27, 32, 26, 0.12);
  }

  #city .stats,
  #city .city-stats,
  #city .digits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 2vw, 28px);
    margin-top: clamp(42px, 5vw, 66px);
  }

  #city .stat,
  #city .stats-card,
  #city .digits__item {
    min-height: 120px;
    padding: 24px 28px;
    border-radius: 20px;
  }

  #city .stat strong,
  #city .stats-card strong,
  #city .digits__item strong {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
  }

  /* Feature and apartment headings: strong, but not absurd */
  #features,
  #apartments,
  #contacts {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
  }

  #features .section-head h2,
  #apartments .section-head h2,
  #contacts .section-head h2 {
    font-size: clamp(40px, 4.4vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  #features .features-grid {
    align-items: stretch;
  }

  #features .feature-card {
    min-height: 100%;
  }

  #apartments .apartments-grid {
    align-items: stretch;
  }

  #apartments .apartment-card {
    cursor: default;
    pointer-events: none;
  }

  #apartments .apartment-card::after {
    display: none;
  }

  #apartments .apartment-card h3,
  #apartments .apartment-card .price {
    text-shadow: none;
  }

  /* Contacts: less empty space, more balanced */
  #contacts .contacts-grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
    align-items: stretch;
    gap: clamp(42px, 5vw, 72px);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  #contacts .contact-card,
  #contacts .contact-form,
  #contacts form {
    min-height: auto;
    border-radius: var(--card-radius);
  }

  #contacts .contact-card {
    padding: clamp(42px, 4vw, 58px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #contacts .contact-phone {
    font-size: clamp(34px, 3.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  #contacts .contact-email {
    font-size: clamp(25px, 2.5vw, 36px);
    line-height: 1.15;
  }

  #contacts .form-title,
  #contacts form h3 {
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  #contacts input {
    min-height: 54px;
  }

  /* Footer hover/contrast */
  .site-footer {
    color: rgba(255, 255, 255, 0.88);
  }

  .site-footer a {
    color: rgba(255, 255, 255, 0.92);
  }

  .site-footer .social a,
  .site-footer .social-link,
  .site-footer [class*="social"] a {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .site-footer .social a:hover,
  .site-footer .social-link:hover,
  .site-footer [class*="social"] a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
  }
}

/* Tablet: prevent squeezed two-column blocks */
@media (min-width: 768px) and (max-width: 1050px) {
  #about .about-grid,
  #city .city-grid,
  #city .new-city-grid,
  #contacts .contacts-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  #about .about-card,
  #city .city-card,
  #city .new-city-card,
  #contacts .contact-card,
  #contacts .contact-form,
  #contacts form {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  #about .about-card h2,
  #city .city-card h2,
  #city .new-city-card h2 {
    max-width: 520px;
  }

  #city .stats,
  #city .city-stats,
  #city .digits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Biysk sticky header and burger final */

/* Header: always visible, clean, stable */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
  background: rgba(241, 236, 226, 0.92);
  border-bottom: 1px solid rgba(20, 24, 20, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.site-header.is-scrolled {
  background: rgba(241, 236, 226, 0.96);
  border-color: rgba(20, 24, 20, 0.12);
  box-shadow: 0 14px 36px rgba(20, 24, 20, 0.08);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.logo {
  color: #202020;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
}

.desktop-nav a {
  color: rgba(32, 32, 32, 0.86);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #073619;
  opacity: 1;
}

.header-btn {
  min-height: 54px;
  padding: 0 30px;
  white-space: nowrap;
}

.header-btn:hover,
.header-btn:focus-visible {
  color: #ffffff;
  background: #073619;
  opacity: 1;
  transform: translateY(-1px);
}

/* Burger base */
.burger {
  display: none;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #050505;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(5, 5, 5, 0.16);
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  grid-area: 1 / 1;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.burger span:first-child {
  transform: translateY(-5px);
}

.burger span:last-child {
  transform: translateY(5px);
}

.burger:hover,
.burger:focus-visible {
  background: #073619;
}

/* Mobile menu: predictable drawer */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(8, 12, 10, 0.52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 960;
  width: min(390px, calc(100vw - 34px));
  height: 100dvh;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  overflow-y: auto;
  color: #ffffff;
  background: #052713;
  border-radius: 0 30px 30px 0;
  box-shadow: 26px 0 70px rgba(0, 0, 0, 0.28);
  transform: translateX(-104%);
  transition: transform 0.32s cubic-bezier(.22, .9, .22, 1);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mobile-logo {
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.mobile-close {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.mobile-close:hover,
.mobile-close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-links {
  display: grid;
  gap: 24px;
  margin-top: 12px;
}

.mobile-links a,
.mobile-menu > a:not(.mobile-logo):not(.mobile-phone) {
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.mobile-links a:hover,
.mobile-links a:focus-visible,
.mobile-menu > a:not(.mobile-logo):not(.mobile-phone):hover,
.mobile-menu > a:not(.mobile-logo):not(.mobile-phone):focus-visible {
  color: #ffffff;
  opacity: 0.72;
}

.mobile-phone {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 25px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open .mobile-menu {
  transform: translateX(0);
}

body.menu-open .burger {
  opacity: 0;
  pointer-events: none;
}

/* Mobile header layout */
@media (max-width: 767px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    min-height: 84px;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .desktop-nav {
    display: none;
  }

  .logo {
    font-size: 28px;
  }

  .header-btn {
    justify-self: end;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 16px;
  }

  .header-btn img {
    width: 23px;
    height: 23px;
  }

  .burger {
    display: grid;
  }
}

@media (max-width: 430px) {
  .header-inner {
    min-height: 80px;
  }

  .logo {
    font-size: 25px;
  }

  .header-btn {
    min-height: 50px;
    padding: 0 18px;
    font-size: 15px;
  }

  .burger {
    width: 54px;
    height: 54px;
  }

  .mobile-menu {
    width: min(370px, calc(100vw - 22px));
    padding: 30px 26px;
    border-radius: 0 26px 26px 0;
  }

  .mobile-links a,
  .mobile-menu > a:not(.mobile-logo):not(.mobile-phone) {
    font-size: 28px;
  }

  .mobile-phone {
    font-size: 23px;
  }
}

/* BIYSK REAL MOBILE FIXED HEADER */

/* safe anchor offset */
section,
[id] {
  scroll-margin-top: 96px;
}

/* stable desktop/header hover */
.site-header .btn:hover,
.site-header .btn:focus-visible,
.site-header .header-btn:hover,
.site-header .header-btn:focus-visible {
  color: #ffffff;
  background: #073619;
  opacity: 1;
  transform: translateY(-1px);
}

/* mobile: header must always stay visible */
@media (max-width: 767px) {
  body {
    padding-top: 84px;
  }

  body.menu-open {
    overflow: hidden;
  }

  main {
    padding-top: 0;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    width: 100%;
    background: rgba(241, 236, 226, 0.96);
    border-bottom: 1px solid rgba(8, 38, 21, 0.1);
    box-shadow: 0 12px 30px rgba(8, 22, 14, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .site-header.is-scrolled {
    background: rgba(241, 236, 226, 0.98);
    box-shadow: 0 16px 36px rgba(8, 22, 14, 0.12);
  }

  .site-header .container,
  .site-header .header-inner {
    width: min(100%, 430px);
    min-height: 84px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: auto minmax(142px, 1fr) 58px;
    align-items: center;
    gap: 10px;
  }

  .site-header .logo {
    font-size: 28px;
    color: #202020;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .site-header .desktop-nav {
    display: none;
  }

  .site-header .header-btn {
    justify-self: end;
    min-width: 0;
    width: auto;
    max-width: 178px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    color: #ffffff;
    background: #073619;
    font-size: 15px;
    line-height: 1.05;
    box-shadow: 0 14px 28px rgba(7, 54, 25, 0.18);
  }

  .site-header .header-btn img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }

  .site-header .burger {
    position: relative;
    display: block;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #050505;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  }

  .site-header .burger span {
    display: none;
  }

  .site-header .burger::before,
  .site-header .burger::after {
    content: "";
    position: absolute;
    left: 17px;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.22s ease, top 0.22s ease;
  }

  .site-header .burger::before {
    top: 22px;
  }

  .site-header .burger::after {
    top: 34px;
  }

  .site-header .burger:hover,
  .site-header .burger:focus-visible {
    background: #073619;
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3010;
    background: rgba(7, 12, 9, 0.54);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

  .mobile-menu {
    position: fixed;
    top: 12px;
    left: 12px;
    bottom: 12px;
    z-index: 3020;
    width: min(372px, calc(100vw - 24px));
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 34px 28px 28px;
    color: #ffffff;
    background: #052713;
    border-radius: 28px;
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.32);
    overflow-y: auto;
    transform: translateX(calc(-100% - 20px));
    transition: transform 0.3s cubic-bezier(.22, .9, .22, 1);
  }

  .mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 44px;
  }

  .mobile-logo {
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-decoration: none;
  }

  .mobile-close {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-links {
    display: grid;
    gap: 25px;
  }

  .mobile-links a {
    color: #ffffff;
    font-size: 29px;
    font-weight: 850;
    line-height: 1.08;
    text-decoration: none;
  }

  .mobile-links a:hover,
  .mobile-links a:focus-visible {
    color: #ffffff;
    opacity: 0.76;
  }

  .mobile-phone {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 24px;
    font-weight: 850;
    line-height: 1.15;
    text-decoration: none;
  }

  body.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.menu-open .mobile-menu {
    transform: translateX(0);
  }
}

@media (max-width: 380px) {
  body {
    padding-top: 80px;
  }

  .site-header .container,
  .site-header .header-inner {
    min-height: 80px;
    grid-template-columns: auto minmax(132px, 1fr) 52px;
    padding: 0 14px;
    gap: 8px;
  }

  .site-header .logo {
    font-size: 25px;
  }

  .site-header .header-btn {
    max-width: 164px;
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }

  .site-header .burger {
    width: 52px;
    height: 52px;
  }

  .site-header .burger::before,
  .site-header .burger::after {
    left: 15px;
    width: 22px;
  }

  .site-header .burger::before {
    top: 20px;
  }

  .site-header .burger::after {
    top: 31px;
  }

  .mobile-menu {
    top: 10px;
    left: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 30px 26px 26px;
    border-radius: 26px;
  }

  .mobile-links a {
    font-size: 27px;
  }

  .mobile-phone {
    font-size: 22px;
  }
}

/* BIYSK MENU OVERLAY TRUE FIX */

/* header button must never become pale/transparent on hover */
.site-header .btn,
.site-header .header-btn,
.site-header .btn:visited,
.site-header .header-btn:visited {
  color: #fff;
  background: #07351e;
  opacity: 1;
}

.site-header .btn:hover,
.site-header .btn:focus-visible,
.site-header .header-btn:hover,
.site-header .header-btn:focus-visible {
  color: #fff;
  background: #0a4326;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(7, 53, 30, 0.28);
}

.site-header .btn span,
.site-header .header-btn span,
.site-header .btn:hover span,
.site-header .header-btn:hover span {
  color: #fff;
  opacity: 1;
}

/* apartments are display cards only */
#apartments .apartment-card,
#apartments article {
  cursor: default;
  pointer-events: none;
}

#apartments .apartment-card::after,
#apartments article::after {
  display: none;
  content: none;
}

@media (min-width: 768px) {
  .burger,
  .mobile-menu,
  .menu-backdrop {
    display: none;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 86px;
  }

  body {
    padding-top: 82px;
  }

  body.menu-open,
  body.no-scroll {
    overflow: hidden;
  }

  .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 900;
    width: 100%;
    min-height: 82px;
    background: rgba(241, 236, 226, 0.97);
    border-bottom: 1px solid rgba(8, 38, 21, 0.1);
    box-shadow: 0 12px 30px rgba(8, 22, 14, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body.menu-open .site-header {
    z-index: 800;
  }

  .site-header .container,
  .site-header .header-inner,
  .site-header .header-grid {
    width: min(100% - 24px, 430px);
    height: 82px;
    min-height: 82px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 56px;
    align-items: center;
    gap: 10px;
  }

  .site-header .logo {
    color: #222;
    font-size: clamp(25px, 6.2vw, 30px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .desktop-nav {
    display: none;
  }

  .site-header .header-btn,
  .site-header .btn {
    justify-self: end;
    width: min(190px, 100%);
    height: 54px;
    min-height: 54px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.05;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    background: #07351e;
    color: #fff;
    opacity: 1;
    box-shadow: 0 14px 34px rgba(7, 53, 30, 0.2);
  }

  .site-header .header-btn img,
  .site-header .btn img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }

  .burger {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #050505;
    color: #fff;
    cursor: pointer;
    box-shadow: none;
  }

  .burger span {
    position: absolute;
    left: 15px;
    right: 15px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
  }

  .burger span:first-child {
    transform: translateY(-5px);
  }

  .burger span:last-child {
    transform: translateY(5px);
  }

  body.menu-open .burger {
    pointer-events: none;
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: block;
    background: rgba(4, 18, 12, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  body.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    z-index: 5100;
    top: 12px;
    left: 12px;
    bottom: 12px;
    width: min(360px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    display: flex;
    flex-direction: column;
    padding: 28px 28px 24px;
    overflow: hidden;
    border-radius: 28px;
    background: #062914;
    color: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
    transform: translate3d(calc(-100% - 24px), 0, 0);
    opacity: 0.98;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
  }

  body.menu-open .mobile-menu {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  .mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 52px;
    margin-bottom: 42px;
  }

  .mobile-logo {
    color: #fff;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-decoration: none;
  }

  .mobile-close {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .mobile-links a {
    color: #fff;
    font-size: clamp(27px, 7.3vw, 32px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.035em;
    text-decoration: none;
  }

  .mobile-phone {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: clamp(23px, 6vw, 28px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.035em;
    text-decoration: none;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible,
  .mobile-close:hover,
  .mobile-close:focus-visible {
    color: #fff;
    opacity: 0.78;
  }
}

@media (max-width: 380px) {
  .site-header .container,
  .site-header .header-inner,
  .site-header .header-grid {
    width: min(100% - 18px, 380px);
    grid-template-columns: auto minmax(138px, 1fr) 52px;
    gap: 8px;
  }

  .site-header .header-btn,
  .site-header .btn {
    height: 50px;
    min-height: 50px;
    padding: 0 12px;
    font-size: 13px;
  }

  .burger {
    width: 52px;
    height: 52px;
  }

  .mobile-menu {
    top: 10px;
    left: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    padding: 26px 24px 22px;
    border-radius: 26px;
  }
}

/* BIYSK ISOLATED HEADER FINAL */

.b-header,
.b-header *,
.b-mobile-menu,
.b-mobile-menu *,
.b-menu-backdrop {
  box-sizing: border-box;
}

.b-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  width: 100%;
  background: rgba(241, 236, 226, 0.97);
  border-bottom: 1px solid rgba(8, 38, 21, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.b-header__inner {
  width: min(100% - 48px, 1180px);
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.b-logo,
.b-mobile-logo {
  color: #222;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.b-logo {
  font-size: 34px;
}

.b-nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
}

.b-nav a,
.b-mobile-links a {
  text-decoration: none;
}

.b-nav a {
  color: #242424;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.b-nav a:hover,
.b-nav a:focus-visible {
  color: #0a4326;
  opacity: 0.78;
}

.b-cta {
  min-height: 54px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: #07351e;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(7, 53, 30, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.b-cta:hover,
.b-cta:focus-visible {
  color: #fff;
  background: #0a4326;
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(7, 53, 30, 0.28);
}

.b-cta__arrow {
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
}

.b-burger {
  display: none;
}

.b-menu-backdrop,
.b-mobile-menu {
  display: none;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-top: 78px;
  }

  body.b-menu-open {
    overflow: hidden;
  }

  .b-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 9000;
    box-shadow: 0 10px 26px rgba(8, 22, 14, 0.08);
  }

  body.b-menu-open .b-header {
    z-index: 8000;
  }

  .b-header__inner {
    width: min(100% - 22px, 430px);
    min-height: 78px;
    grid-template-columns: auto minmax(132px, 1fr) 56px;
    gap: 10px;
  }

  .b-logo {
    font-size: clamp(26px, 6.7vw, 31px);
  }

  .b-nav {
    display: none;
  }

  .b-cta {
    justify-self: end;
    min-height: 52px;
    width: min(176px, 100%);
    padding: 0 14px;
    gap: 8px;
    font-size: 14px;
    box-shadow: 0 13px 32px rgba(7, 53, 30, 0.18);
  }

  .b-cta__arrow {
    font-size: 23px;
  }

  .b-burger {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: 56px;
    height: 56px;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #050505;
    color: #fff;
    cursor: pointer;
  }

  .b-burger::before,
  .b-burger::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .b-burger::before {
    top: 22px;
  }

  .b-burger::after {
    top: 32px;
  }

  .b-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9100;
    display: block;
    background: rgba(4, 18, 12, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  body.b-menu-open .b-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .b-mobile-menu {
    position: fixed;
    z-index: 9200;
    top: 12px;
    left: 12px;
    bottom: 12px;
    width: min(370px, calc(100vw - 24px));
    display: flex;
    flex-direction: column;
    padding: 28px 28px 24px;
    overflow: hidden;
    border-radius: 28px;
    background: #062914;
    color: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
    transform: translateX(calc(-100% - 28px));
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.b-menu-open .b-mobile-menu {
    transform: translateX(0);
  }

  .b-mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 44px;
  }

  .b-mobile-logo {
    color: #fff;
    font-size: 30px;
  }

  .b-mobile-close {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }

  .b-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .b-mobile-links a {
    color: #fff;
    font-size: clamp(27px, 7.2vw, 32px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.035em;
  }

  .b-mobile-phone {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: clamp(23px, 6vw, 28px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.035em;
    text-decoration: none;
  }

  .b-mobile-menu a:hover,
  .b-mobile-menu a:focus-visible,
  .b-mobile-close:hover,
  .b-mobile-close:focus-visible {
    color: #fff;
    opacity: 0.76;
  }
}

@media (max-width: 380px) {
  .b-header__inner {
    width: min(100% - 18px, 380px);
    grid-template-columns: auto minmax(126px, 1fr) 52px;
    gap: 8px;
  }

  .b-cta {
    min-height: 50px;
    width: min(166px, 100%);
    padding: 0 12px;
    font-size: 13px;
  }

  .b-burger {
    width: 52px;
    height: 52px;
  }

  .b-burger::before {
    top: 20px;
  }

  .b-burger::after {
    top: 30px;
  }

  .b-mobile-menu {
    top: 10px;
    left: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 26px 24px 22px;
    border-radius: 26px;
  }
}

/* BIYSK BURGER MOTION FINAL */

@media (max-width: 767px) {
  .b-burger {
    isolation: isolate;
    overflow: hidden;
    transition:
      transform 0.26s ease,
      background 0.26s ease,
      box-shadow 0.26s ease;
  }

  .b-burger::before,
  .b-burger::after {
    content: none;
  }

  .b-burger:hover,
  .b-burger:focus-visible {
    background: #062914;
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 14px 34px rgba(6, 41, 20, 0.28);
  }

  .b-burger__line {
    position: absolute;
    left: 17px;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transform-origin: center;
    transition:
      top 0.26s ease,
      width 0.26s ease,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease;
  }

  .b-burger__line--top {
    top: 19px;
  }

  .b-burger__line--middle {
    top: 27px;
    width: 18px;
  }

  .b-burger__line--bottom {
    top: 35px;
  }

  body.b-menu-open .b-burger {
    background: #062914;
    transform: rotate(90deg) scale(0.92);
  }

  body.b-menu-open .b-burger__line--top {
    top: 27px;
    width: 24px;
    transform: rotate(45deg);
  }

  body.b-menu-open .b-burger__line--middle {
    opacity: 0;
    transform: translateX(14px);
  }

  body.b-menu-open .b-burger__line--bottom {
    top: 27px;
    width: 24px;
    transform: rotate(-45deg);
  }

  .b-mobile-menu {
    transform: translateX(calc(-100% - 28px)) scale(0.96);
    opacity: 0;
    transition:
      transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
      opacity 0.32s ease;
  }

  body.b-menu-open .b-mobile-menu {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  .b-mobile-close {
    position: relative;
    font-size: 0;
    overflow: hidden;
    transition:
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.24s ease,
      border-color 0.24s ease;
  }

  .b-mobile-close:hover,
  .b-mobile-close:focus-visible {
    transform: rotate(90deg) scale(1.04);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.38);
  }

  .b-mobile-close span {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 24px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transform-origin: center;
  }

  .b-mobile-close span:first-child {
    transform: rotate(45deg);
  }

  .b-mobile-close span:last-child {
    transform: rotate(-45deg);
  }

  .b-mobile-logo,
  .b-mobile-links a,
  .b-mobile-phone {
    opacity: 0;
    transform: translateX(-18px);
    transition:
      opacity 0.34s ease,
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.b-menu-open .b-mobile-logo,
  body.b-menu-open .b-mobile-links a,
  body.b-menu-open .b-mobile-phone {
    opacity: 1;
    transform: translateX(0);
  }

  body.b-menu-open .b-mobile-logo {
    transition-delay: 0.08s;
  }

  body.b-menu-open .b-mobile-links a:nth-child(1) {
    transition-delay: 0.13s;
  }

  body.b-menu-open .b-mobile-links a:nth-child(2) {
    transition-delay: 0.17s;
  }

  body.b-menu-open .b-mobile-links a:nth-child(3) {
    transition-delay: 0.21s;
  }

  body.b-menu-open .b-mobile-links a:nth-child(4) {
    transition-delay: 0.25s;
  }

  body.b-menu-open .b-mobile-links a:nth-child(5) {
    transition-delay: 0.29s;
  }

  body.b-menu-open .b-mobile-phone {
    transition-delay: 0.34s;
  }

  .b-menu-backdrop {
    transition:
      opacity 0.34s ease,
      visibility 0.34s ease,
      backdrop-filter 0.34s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b-burger,
  .b-burger__line,
  .b-mobile-menu,
  .b-mobile-close,
  .b-mobile-logo,
  .b-mobile-links a,
  .b-mobile-phone,
  .b-menu-backdrop {
    transition-duration: 0.01ms;
  }
}

/* BIYSK MOBILE MENU CTA FINAL */
@media (max-width: 767px) {
  .b-mobile-menu {
    display: flex;
    flex-direction: column;
  }

  .b-mobile-links {
    margin-bottom: 0;
  }

  .b-mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(292px, 100%);
    min-height: 56px;
    margin: 26px auto 0;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background:
      linear-gradient(135deg, #f3fff4 0%, #a9e7b6 42%, #1f8f4a 100%);
    color: #03130a;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    text-decoration: none;
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transform: translateZ(0);
    transition:
      transform 0.26s ease,
      box-shadow 0.26s ease,
      filter 0.26s ease;
  }

  .b-mobile-action:hover,
  .b-mobile-action:focus-visible {
    color: #03130a;
    filter: saturate(1.12) brightness(1.03);
    transform: translateY(-2px);
    box-shadow:
      0 22px 50px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.62);
  }

  .b-mobile-action__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #03130a;
    font-size: 25px;
    line-height: 1;
    transform: translateY(-1px);
  }

  .b-mobile-phone {
    margin-top: auto;
    color: #ffffff;
    opacity: 1;
  }

  body.b-menu-open .b-mobile-action {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.32s;
  }
}

/* BIYSK MOBILE CTA BLACK FINAL */
@media (max-width: 767px) {
  body .b-header .b-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
  }

  body .b-header .b-cta {
    display: none;
  }

  body .b-header .b-logo {
    min-width: 0;
  }

  body .b-header .b-burger {
    margin-left: 0;
  }

  body .b-mobile-menu .b-mobile-links {
    margin-bottom: 0;
  }

  body .b-mobile-menu .b-mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(292px, 100%);
    min-height: 54px;
    margin: 24px auto 0;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: #050806;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    text-decoration: none;
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: 1;
    transform: translateX(0);
    transition:
      transform 0.24s ease,
      background 0.24s ease,
      box-shadow 0.24s ease;
  }

  body .b-mobile-menu .b-mobile-action:hover,
  body .b-mobile-menu .b-mobile-action:focus-visible {
    color: #ffffff;
    background: #111111;
    transform: translateY(-2px);
    box-shadow:
      0 22px 54px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  body .b-mobile-menu .b-mobile-action__arrow {
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
    transform: translateY(-1px);
  }

  body .b-mobile-menu .b-mobile-phone {
    margin-top: auto;
  }
}
