:root {
  --design-width: 2480px;
  --form-offset-1: 360px;
  --design-height: calc(7386px + var(--form-offset-1));
  --content-width: 1400px;
  --content-scale: 0.564516;
  --brown: #482d1d;
  --orange: #d65415;
  --text-muted: rgba(0, 0, 0, 0.69);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f5f5;
  font-family: 'Narnoor', 'Noto Sans', sans-serif;
  overflow-x: hidden;
}

.page {
  position: relative;
  width: 100%;
  height: calc(var(--design-height) * var(--content-scale));
  background: #f5f5f5;
  border: 3px solid var(--brown);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-hero {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(1286px * var(--content-scale));
  background-image: url('assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.bg-menu {
  position: absolute;
  left: 0;
  top: calc(2170px * var(--content-scale));
  width: 100%;
  height: calc(1325px * var(--content-scale));
  background: rgba(123, 87, 77, 0.8);
}

.bg-bonus {
  position: absolute;
  left: 0;
  top: calc((5016px + var(--form-offset-1)) * var(--content-scale));
  width: 100%;
  height: calc(1253px * var(--content-scale));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-bonus-inner {
  width: calc(1253px * var(--content-scale));
  height: calc(2486px * var(--content-scale));
  transform: rotate(-90deg);
  transform-origin: center;
}

.bg-bonus-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.content-layer {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--design-width);
  height: var(--design-height);
  transform: translateX(-50%) scale(var(--content-scale));
  transform-origin: top center;
  z-index: 1;
}

img {
  display: block;
}

.hero-circle {
  position: absolute;
  left: 576px;
  top: 45px;
  width: 403px;
  height: 403px;
  border-radius: 305.5px;
  overflow: hidden;
}

.hero-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-subtitle {
  position: absolute;
  left: 572px;
  top: 455px;
  width: 421px;
  height: 150px;
  font-size: 48px;
  line-height: normal;
  text-align: center;
  color: #fff;
  font-weight: 500;
}

.hero-title {
  position: absolute;
  left: 135px;
  top: 715px;
  width: 1353px;
  height: 501px;
  text-align: center;
  color: #fff;
  line-height: normal;
}

.hero-title-main {
  font-size: 100px;
  font-weight: 500;
}

.hero-title-sub {
  font-size: 70px;
  font-weight: 500;
}

.about {
  position: relative;
}

.check {
  position: absolute;
  opacity: 0.6;
}

.check-1 {
  left: 176px;
  top: 1415px;
  width: 87px;
  height: 87px;
}

.check-2 {
  left: 167px;
  top: 1670px;
  width: 88px;
  height: 88px;
}

.check-3 {
  left: 167px;
  top: 1874px;
  width: 88px;
  height: 88px;
}

.about-text {
  position: absolute;
  font-size: 48px;
  color: var(--text-muted);
  line-height: 1.2;
  margin: 0;
}

.about-text strong {
  font-weight: 600;
}

.about-text-1 {
  left: 304px;
  top: 1394px;
  width: 2009px;
  height: 225px;
}

.about-text-2 {
  left: 304px;
  top: 1650px;
  width: 2009px;
  height: 150px;
}

.about-text-3 {
  left: 298px;
  top: 1850px;
  width: 2007px;
  height: 225px;
}

.menu-heading {
  position: absolute;
  left: 139px;
  top: 2238px;
  width: 1691px;
  height: 106px;
  font-size: 62px;
  color: #fff;
  font-weight: 500;
  line-height: normal;
}

.menu-img {
  position: absolute;
  object-fit: cover;
  z-index: 1;
}

.menu-img-45 {
  left: 101px;
  top: 2398px;
  width: 518px;
  height: 422px;
}

.menu-img-35 {
  left: 240px;
  top: 2973px;
  width: 537px;
  height: 438px;
}

.menu-img-5 {
  left: 1394px;
  top: 2321px;
  width: 561px;
  height: 457px;
}

.menu-img-22 {
  left: 759px;
  top: 2643px;
  width: 580px;
  height: 472px;
}

.menu-img-15 {
  left: 1430px;
  top: 3019px;
  width: 501px;
  height: 408px;
}

.badge {
  position: absolute;
  width: 113px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-size: 60px;
  font-weight: 400;
  z-index: 3;
}

.badge img {
  position: absolute;
  width: 113px;
  height: 116px;
  left: 0;
  top: 0;
  z-index: 0;
}

.badge span {
  position: relative;
  z-index: 1;
  margin-top: -25px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.badge-7 {
  left: 786px;
  top: 2542px;
}

.badge-9 {
  left: 975px;
  top: 3205px;
}

.badge-10 {
  left: 2118px;
  top: 2499px;
}

.badge-12 {
  left: 1502px;
  top: 2833px;
}

.badge-15 {
  left: 2121px;
  top: 3185px;
}

.line {
  position: absolute;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  z-index: 2;
}

.line-1 {
  left: 597px;
  top: 2601px;
  width: 189px;
}

.line-2 {
  left: 729px;
  top: 3264px;
  width: 246px;
}

.line-3 {
  left: 1903px;
  top: 3248px;
  width: 218px;
}

.line-4 {
  left: 1301px;
  top: 2892px;
  width: 201px;
}

.line-5 {
  left: 1929px;
  top: 2558px;
  width: 189px;
}

.ellipse-7 {
  position: absolute;
  left: 1631.86px;
  top: 3132.1px;
  width: 127.1px;
  height: 50.11px;
}

.menu-text {
  position: absolute;
  font-size: 40px;
  color: #fff;
  margin: 0;
  line-height: 50px;
  z-index: 3;
}

.menu-text-soups {
  left: 631px;
  top: 2542px;
  width: 197px;
}

.menu-text-soups-count {
  left: 918px;
  top: 2559px;
}

.menu-text-meat {
  left: 1942px;
  top: 2498px;
  width: 197px;
}

.menu-text-meat-count {
  left: 2251px;
  top: 2520px;
}

.menu-text-salads {
  left: 1316px;
  top: 2833px;
  width: 197px;
}

.menu-text-salads-count {
  left: 1632px;
  top: 2861px;
}

.menu-text-garnish {
  left: 766px;
  top: 3201px;
  width: 228px;
}

.menu-text-garnish-count {
  left: 1114px;
  top: 3233px;
}

.menu-text-desserts {
  left: 1925px;
  top: 3186px;
  width: 234px;
}

.menu-text-desserts-count {
  left: 2260px;
  top: 3206px;
}

.lead-form {
  position: absolute;
  left: 540px;
  width: 1400px;
  height: 320px;
  padding: 40px 56px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--brown);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(72, 45, 29, 0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--brown);
  z-index: 2;
}

.lead-form-title {
  font-size: 56px;
  font-weight: 600;
  color: var(--orange);
  text-align: center;
}

.lead-form-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 280px;
  gap: 24px;
  align-items: end;
}

.lead-form-status {
  grid-column: 1 / -1;
  min-height: 28px;
  font-size: 52px;
  text-align: center;
  color: #2e7d32;
}

.lead-form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 28px;
  color: var(--brown);
}

.lead-form-label {
  font-weight: 500;
}

.lead-form-field input {
  height: 64px;
  border: 1px solid rgba(72, 45, 29, 0.35);
  border-radius: 8px;
  padding: 0 18px;
  font-size: 28px;
  font-family: inherit;
  color: var(--brown);
  background: #fff;
}

.lead-form-field input::placeholder {
  color: rgba(72, 45, 29, 0.45);
}

.lead-form-field input:focus-visible,
.lead-form-submit:focus-visible {
  outline: 2px solid rgba(214, 84, 21, 0.4);
  outline-offset: 2px;
}

.lead-form-submit {
  height: 64px;
  border-radius: 8px;
  border: none;
  background: var(--orange);
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
}

.lead-form-calc {
  top: 3460px;
}

.lead-form-bonus {
  top: calc(5820px + var(--form-offset-1));
}

.conditions {
  position: relative;
}

.conditions-title {
  position: absolute;
  left: 766px;
  top: calc(3576px + var(--form-offset-1));
  width: 869px;
  height: 112px;
  font-size: 62px;
  color: var(--text-muted);
  font-weight: 600;
}

.cond-icon {
  position: absolute;
}

.cond-icon-contract {
  left: 162px;
  top: calc(3772px + var(--form-offset-1));
  width: 235px;
  height: 213px;
}

.cond-icon-pay {
  left: 580px;
  top: calc(3769px + var(--form-offset-1));
  width: 253px;
  height: 241px;
}

.cond-icon-van {
  left: 1031px;
  top: calc(3778px + var(--form-offset-1));
  width: 200px;
  height: 223px;
}

.cond-icon-food {
  left: 1394px;
  top: calc(3783px + var(--form-offset-1));
  width: 248px;
  height: 218px;
}

.cond-icon-where {
  left: 1991px;
  top: calc(3789px + var(--form-offset-1));
  width: 222px;
  height: 208px;
}

.cond-text {
  position: absolute;
  font-size: 48px;
  color: var(--text-muted);
  line-height: normal;
}

.cond-text-contract {
  left: 132px;
  top: calc(4000px + var(--form-offset-1));
}

.cond-text-pay {
  left: 550px;
  top: calc(4011px + var(--form-offset-1));
}

.cond-text-van {
  left: 1003px;
  top: calc(4011px + var(--form-offset-1));
}

.cond-text-food {
  left: 1377px;
  top: calc(4011px + var(--form-offset-1));
}

.cond-text-where {
  left: 1856px;
  top: calc(4011px + var(--form-offset-1));
  width: 545px;
}

.bonus-title {
  position: absolute;
  left: 612.54px;
  top: calc(4644px + var(--form-offset-1));
  width: 1546px;
  height: 287px;
  font-size: 62px;
  font-weight: 700;
  line-height: 1.1;
}

.bonus-muted {
  color: rgba(72, 45, 29, 0.69);
}

.bonus-accent {
  color: var(--orange);
}

.bonus-media {
  display: none;
}

.vector {
  position: absolute;
}

.vector-0 {
  left: 362.99px;
  top: calc(4687.07px + var(--form-offset-1));
  width: 166.29px;
  height: 180.72px;
}

.vector-1 {
  left: 383.41px;
  top: calc(4784.44px + var(--form-offset-1));
  width: 46.01px;
  height: 60.04px;
}

.vector-2 {
  left: 449.44px;
  top: calc(4828.51px + var(--form-offset-1));
  width: 36.2px;
  height: 18.96px;
}

.vector-3 {
  left: 432.52px;
  top: calc(4748.79px + var(--form-offset-1));
  width: 52.25px;
  height: 51.91px;
}

.vector-4 {
  left: 288px;
  top: calc(4787.27px + var(--form-offset-1));
  width: 54.89px;
  height: 7.51px;
}

.vector-5 {
  left: 295.84px;
  top: calc(4822.34px + var(--form-offset-1));
  width: 54.89px;
  height: 7.51px;
}

.vector-6 {
  left: 295.84px;
  top: calc(4749.69px + var(--form-offset-1));
  width: 54.89px;
  height: 7.51px;
}

.bonus-banner {
  position: absolute;
  left: 379px;
  top: calc(5573px + var(--form-offset-1));
  width: 1717px;
  height: 146px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  z-index: 0;
}

.bonus-banner-text {
  position: absolute;
  left: 379px;
  top: calc(5573px + var(--form-offset-1));
  width: 1717px;
  height: 146px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
  line-height: 1.2;
  font-size: 48px;
  font-weight: 600;
  color: var(--brown);
  z-index: 1;
}

.contact {
  position: relative;
}

.contact-title {
  position: absolute;
  left: 308px;
  top: calc(6361px + var(--form-offset-1));
  width: 1851px;
  height: 191px;
  font-size: 62px;
  font-weight: 600;
  color: var(--orange);
  text-align: center;
}

.contact-photo {
  position: absolute;
  left: 576px;
  top: calc(6602px + var(--form-offset-1));
  width: 468px;
  height: 679px;
  object-fit: cover;
}

.contact-address {
  position: absolute;
  left: 1167px;
  top: calc(6769px + var(--form-offset-1));
  width: 737px;
  font-size: 48px;
  color: var(--brown);
  line-height: normal;
}

.contact-phone {
  position: absolute;
  left: 1178px;
  top: calc(6991px + var(--form-offset-1));
  font-size: 60px;
  color: #884703;
}

.contact-vk {
  position: absolute;
  left: 1167px;
  top: calc(7134px + var(--form-offset-1));
  width: 112px;
  height: 72px;
}

.contact-vk-name {
  position: absolute;
  left: 1279px;
  top: calc(7107px + var(--form-offset-1));
  font-size: 64px;
  color: #884703;
}

@media (max-width: 1024px) {
  :root {
    --content-scale: 1;
  }

  .page {
    height: auto;
    border-width: 0;
    box-shadow: none;
  }

  .bg-layer {
    display: none;
  }

  .content-layer {
    position: relative;
    width: 100%;
    height: auto;
    left: 0;
    transform: none;
  }

  .hero {
    position: relative;
    padding: 40px 16px 32px;
    text-align: center;
    color: #fff;
    background-image: url('assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
  }

  .hero-circle {
    position: static;
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
  }

  .hero-subtitle {
    position: static;
    width: auto;
    height: auto;
    font-size: 24px;
    margin-bottom: 12px;
  }

  .hero-title {
    position: static;
    width: auto;
    height: auto;
  }

  .hero-title-main {
    font-size: 34px;
  }

  .hero-title-sub {
    font-size: 22px;
  }

  .about {
    position: relative;
    padding: 28px 16px 32px;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px 12px;
  }

  .check,
  .about-text {
    position: static;
    width: auto;
    height: auto;
  }

  .check {
    width: 24px;
    height: 24px;
    margin-top: 6px;
  }

  .about-text {
    font-size: 18px;
    line-height: 1.4;
  }

  .check-1 {
    grid-row: 1;
    grid-column: 1;
  }

  .about-text-1 {
    grid-row: 1;
    grid-column: 2;
  }

  .check-2 {
    grid-row: 2;
    grid-column: 1;
  }

  .about-text-2 {
    grid-row: 2;
    grid-column: 2;
  }

  .check-3 {
    grid-row: 3;
    grid-column: 1;
  }

  .about-text-3 {
    grid-row: 3;
    grid-column: 2;
  }

  .menu {
    position: relative;
    padding: 32px 16px 36px;
    background: rgba(123, 87, 77, 0.9);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .menu-heading {
    position: static;
    width: auto;
    height: auto;
    text-align: center;
    font-size: 28px;
    order: 1;
  }

  .menu-text {
    position: static;
    width: min(100%, 320px);
    height: auto;
    font-size: 0;
    line-height: 0;
    margin: 0;
    text-align: center;
    order: 2;
  }

  .menu-text::before {
    display: block;
    font-size: 18px;
    line-height: 1.3;
    color: inherit;
    text-align: center;
  }

  .menu-text-soups {
    order: 2;
  }

  .menu-img-45 {
    order: 3;
  }

  .menu-text-meat {
    order: 4;
  }

  .menu-img-5 {
    order: 5;
  }

  .menu-text-salads {
    order: 6;
  }

  .menu-img-22 {
    order: 7;
  }

  .menu-text-garnish {
    order: 8;
  }

  .menu-img-35 {
    order: 9;
  }

  .menu-text-desserts {
    order: 10;
  }

  .menu-img-15 {
    order: 11;
  }

  .menu-text-soups-count,
  .menu-text-meat-count,
  .menu-text-salads-count,
  .menu-text-garnish-count,
  .menu-text-desserts-count {
    display: none;
  }

  .menu-text::after {
    content: '';
  }

  .menu-text-soups::before {
    content: 'Более 7 видов супов';
  }

  .menu-text-meat::before {
    content: 'Более 10 видов мясных, рыбных';
  }

  .menu-text-salads::before {
    content: 'Более 12 видов салатов';
  }

  .menu-text-garnish::before {
    content: 'Более 9 видов гарниров';
  }

  .menu-text-desserts::before {
    content: 'Более 15 видов десертов';
  }

  .menu-img {
    position: static;
    width: min(100%, 320px);
    height: auto;
  }

  .lead-form {
    position: static;
    width: min(100%, 520px);
    height: auto;
    margin: 16px auto;
    padding: 24px;
    border-radius: 8px;
    gap: 16px;
  }

  .lead-form-title {
    font-size: 24px;
  }

  .lead-form-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lead-form-field {
    font-size: 16px;
    gap: 6px;
  }

  .lead-form-field input {
    height: 48px;
    font-size: 16px;
    border-radius: 8px;
  }

  .lead-form-submit {
    height: 48px;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
  }

  .lead-form-status {
    font-size: 52px;
  }

  .badge,
  .line,
  .ellipse-7 {
    display: none;
  }

  .conditions {
    position: relative;
    padding: 32px 16px;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px 12px;
  }

  .conditions-title {
    position: static;
    width: auto;
    height: auto;
    font-size: 26px;
    text-align: center;
    grid-column: 1 / -1;
  }

  .cond-icon,
  .cond-text {
    position: static;
    width: auto;
    height: auto;
  }

  .cond-icon {
    width: 48px;
    height: 48px;
  }

  .cond-text {
    font-size: 18px;
  }

  .bonus {
    position: relative;
    padding: 36px 16px;
    text-align: center;
    background: none;
    color: inherit;
  }

  .bonus-title {
    position: static;
    width: auto;
    height: auto;
    font-size: 26px;
    line-height: 1.3;
  }

  .vector {
    display: none;
  }

  .bonus-banner {
    display: none;
  }

  .bonus-banner-text {
    position: static;
    width: auto;
    height: auto;
    font-size: 16px;
    color: var(--brown);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 12px;
    margin-top: 16px;
  }

  .bonus-media {
    display: block;
    width: 100%;
    height: 240px;
    border-radius: 16px;
    background-image: url('assets/img/bonus-bg.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 16px;
  }

  .contact {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .contact-title {
    position: static;
    width: auto;
    height: auto;
    font-size: 22px;
  }

  .contact-photo {
    position: static;
    margin: -90px;
    width: 220px;
    height: auto;
  }

  .contact-address {
    position: static;
    width: auto;
    height: auto;
    font-size: 18px;
  }

  .contact-phone {
    position: static;
    font-size: 20px;
  }

  .contact-vk {
    position: static;
    width: 48px;
    height: auto;
  }

  .contact-vk-name {
    position: static;
    font-size: 18px;
  }
}
