.download-app {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  background: #fffaf4;
  color: #1a1208;
}

.download-app__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fff8ef 0%, #ffffff 48%, #f1fdf5 100%);
}

.download-app__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 112px 24px 88px;
}

.download-app__badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 104, 51, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #ff6833;
  font-size: 0.88rem;
  font-weight: 800;
}

.download-app h1 {
  max-width: 720px;
  margin: 22px 0 18px;
  font-size: 5.4rem;
  line-height: 0.94;
  letter-spacing: 0;
}

.download-app__desc {
  max-width: 620px;
  margin: 0;
  color: #6f5d4d;
  font-size: 1.12rem;
  line-height: 1.75;
}

.download-app__download-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 700px;
  margin-top: 34px;
}

.download-app__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 62px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.76;
}

.store-btn__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.store-btn__icon svg {
  width: 30px;
  height: 30px;
}

.store-btn--google {
  background: #101010;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(16, 16, 16, 0.18);
}

.store-btn--apple {
  background: #ffffff;
  color: #101010;
  border: 1px solid rgba(26, 18, 8, 0.12);
  box-shadow: 0 18px 36px rgba(26, 18, 8, 0.08);
}

.download-app__qr {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(26, 18, 8, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 38px rgba(26, 18, 8, 0.08);
  flex: 0 0 auto;
}

.download-app__qr-frame {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  padding: 8px;
  border-radius: 8px;
  background: #ffffff;
}

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

.download-app__qr-copy strong,
.download-app__qr-copy span {
  display: block;
}

.download-app__qr-copy strong {
  color: #1a1208;
  font-size: 1rem;
  line-height: 1.35;
}

.download-app__qr-copy span {
  max-width: 190px;
  margin-top: 6px;
  color: #705f4e;
  font-size: 0.9rem;
  line-height: 1.5;
}

.download-app__visual {
  display: flex;
  justify-content: center;
  padding-top: 28px;
}

.download-app__phone {
  position: relative;
  width: 350px;
  height: 540px;
  padding: 14px;
  border-radius: 44px;
  background: #121212;
  box-shadow: 0 34px 80px rgba(26, 18, 8, 0.22);
}

.download-app__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #121212;
}

.download-app__screen {
  height: 100%;
  padding: 44px 18px 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 56%, #f5fff8 100%);
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.app-top span,
.app-card span {
  display: block;
  color: #ff6833;
  font-size: 0.75rem;
  font-weight: 800;
}

.app-top strong {
  display: block;
  margin-top: 5px;
  font-size: 1.2rem;
}

.app-top img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.app-search {
  margin-bottom: 14px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #8b7866;
  font-size: 0.85rem;
  box-shadow: 0 12px 28px rgba(26, 18, 8, 0.06);
}

.app-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(26, 18, 8, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(26, 18, 8, 0.07);
}

.app-card strong {
  display: block;
  margin: 8px 0;
  font-size: 1rem;
}

.app-card small {
  color: #705f4e;
  line-height: 1.45;
}

.app-card--accent {
  border-color: rgba(34, 197, 94, 0.22);
  background: #f6fff8;
}

.app-nav {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(26, 18, 8, 0.09);
}

.app-nav i {
  width: 18px;
  height: 18px;
  margin: auto;
  border-radius: 6px;
  background: #e7dfd6;
}

.app-nav i:first-child {
  background: #ff6833;
}

@media (max-width: 900px) {
  .download-app__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
    text-align: center;
  }

  .download-app__desc {
    margin: 0 auto;
  }

  .download-app h1 {
    margin-right: auto;
    margin-left: auto;
    font-size: 3.8rem;
  }

  .download-app__actions {
    justify-content: center;
  }

  .download-app__download-row {
    flex-direction: column;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .download-app__qr {
    text-align: left;
  }

  .download-app__phone {
    width: min(350px, 88vw);
    height: 520px;
  }

  .download-app__visual {
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .download-app__inner {
    padding: 34px 18px 56px;
  }

  .download-app h1 {
    font-size: 2.5rem;
  }

  .download-app__actions {
    flex-direction: column;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .download-app__qr {
    width: 100%;
    justify-content: center;
  }

  .download-app__qr-frame {
    width: 104px;
    height: 104px;
  }
}
