:root {
  --bg: #090909;
  --panel: #1d1d1d;
  --panel-soft: #292929;
  --text: #f7f7f7;
  --muted: #a7a7a7;
  --yellow: #ffd73f;
  --yellow-strong: #ffe15f;
  --red: #d94347;
  --red-dark: #b9282d;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Avenir Next", Verdana, sans-serif;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 215, 63, 0.09), transparent 28%),
    linear-gradient(180deg, #101010 0%, var(--bg) 48%, #101010 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding: 22px max(22px, calc((100vw - 1240px) / 2));
  background: #070707;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 21px;
  font-weight: 900;
}

.brand strong {
  color: var(--yellow);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 42px;
  color: #090909;
  background: var(--yellow);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

.nav {
  flex: 1;
  gap: clamp(18px, 3vw, 38px);
  margin-left: 22px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  color: #090909;
  background: var(--yellow);
  border-radius: 12px;
  font-weight: 900;
}

.stock-alert {
  position: sticky;
  top: 86px;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 11px 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  font-size: 16px;
}

.stock-alert span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.9fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
  width: min(1240px, calc(100% - 44px));
  min-height: calc(100vh - 136px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 94px) 0 64px;
}

.banner-hero {
  display: block;
  width: min(1440px, 100%);
  min-height: 0;
  padding: 0 0 64px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hero-banner {
  display: block;
  width: 100%;
  background: #070707;
}

.hero-banner img {
  width: 100%;
  height: auto;
}

.hero-order-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1040px, calc(100% - 44px));
  margin: -22px auto 0;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-order-bar div {
  display: grid;
  gap: 4px;
}

.hero-order-bar strong {
  color: var(--yellow);
  font-size: 32px;
  line-height: 1;
  white-space: nowrap;
}

.hero-order-bar span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.promo-pill {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 12px 20px;
  color: #ff696d;
  border: 1px solid var(--red);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(217, 67, 71, 0.22);
  font-weight: 900;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 900;
}

.price-line strong {
  color: var(--yellow);
  font-size: clamp(46px, 6vw, 66px);
  line-height: 1;
}

.price-line span:last-child {
  color: var(--yellow);
  font-size: 24px;
}

.old-price {
  color: #6f6f6f;
  font-size: 20px;
  text-decoration: line-through;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(48px, 6.8vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.18;
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-text strong,
.order-heading strong,
.section-heading strong {
  color: var(--yellow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 34px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.primary {
  color: #090909;
  background: var(--yellow);
}

.primary:hover {
  background: var(--yellow-strong);
}

.ghost,
.muted-button {
  color: var(--text);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.muted-button {
  width: 100%;
  background: #292929;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 720px;
}

.hero-metrics div {
  display: grid;
  gap: 7px;
}

.hero-metrics strong {
  color: var(--yellow);
  font-size: 31px;
  line-height: 1.1;
}

.hero-metrics span,
.delivery-note {
  color: #747474;
  font-size: 16px;
  line-height: 1.45;
}

.delivery-note {
  margin: 36px 0 0;
}

.product-stage {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.product-card {
  width: min(520px, 100%);
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.origin-badge {
  display: inline-flex;
  padding: 10px 24px;
  color: #aaa;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  font-weight: 900;
}

.section {
  width: min(1040px, calc(100% - 44px));
  margin: 0 auto;
  padding: 56px 0;
}

.section-heading,
.order-heading,
.delivery-section {
  text-align: center;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading p:not(.section-kicker),
.delivery-section > p:not(.section-kicker),
.order-heading p {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 44px;
}

.offer-grid.single-offer {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

.offer-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 0;
  padding: 38px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.offer-card > span {
  display: inline-flex;
  justify-self: start;
  margin-bottom: 28px;
  padding: 12px 18px;
  color: #090909;
  background: var(--yellow);
  border-radius: 10px;
  font-size: 20px;
  font-weight: 900;
}

.offer-card > strong {
  display: block;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 42px;
}

.offer-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.offer-card ul {
  display: grid;
  gap: 18px;
  margin: 30px 0 34px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.offer-card li {
  position: relative;
  padding-left: 28px;
}

.offer-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 900;
}

.gallery-section {
  width: min(1180px, calc(100% - 44px));
}

.gallery {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.gallery-main {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(460px, 56vw, 660px);
  padding: clamp(14px, 2.5vw, 24px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 215, 63, 0.08), transparent 36%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #090909;
  background: var(--yellow);
  font: inherit;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

.gallery-counter {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 8px 14px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 900;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
}

.gallery-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: var(--panel);
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.58;
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-panel {
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.spec-panel h2 {
  margin-bottom: 34px;
  text-align: center;
  font-size: 28px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.spec-grid div {
  padding: 22px;
  background: var(--panel-soft);
  border-radius: 10px;
}

.spec-grid span {
  display: block;
  margin-bottom: 12px;
  color: #777;
  text-transform: uppercase;
}

.spec-grid strong {
  font-size: 18px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
  text-align: left;
}

.benefit-grid article {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.benefit-grid strong {
  display: block;
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: 26px;
}

.benefit-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.order-section {
  padding-top: 48px;
}

.order-form {
  display: grid;
  gap: 18px;
  width: min(560px, 100%);
  margin: 30px auto 0;
  padding: 32px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 18px 20px;
  color: var(--text);
  background: #2a2a2a;
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow);
}

textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 14px;
}

.submit-button {
  width: 100%;
  margin-top: 2px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  color: var(--text);
  background: #2a2a2a;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-weight: 900;
  transition: border-color 180ms ease, transform 180ms ease;
}

.telegram-link:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 900;
  text-align: center;
}

.form-status.success {
  color: #72d88d;
}

.form-status.error {
  color: #ff7b7f;
}

.legal-note {
  margin-bottom: 0;
  color: #747474;
  font-size: 14px;
  text-align: center;
}

.mobile-sticky {
  display: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px max(22px, calc((100vw - 1240px) / 2));
  color: #777;
  background: #050505;
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-header {
    padding: 16px;
  }

  .nav {
    display: none;
  }

  .stock-alert {
    top: 75px;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .banner-hero {
    width: min(100%, 848px);
    padding-top: 0;
    padding-bottom: 52px;
  }

  .hero-order-bar {
    width: min(720px, calc(100% - 32px));
    margin-top: -14px;
    padding: 18px;
    border-radius: 14px;
  }

  .hero-order-bar strong {
    font-size: 30px;
  }

  .product-stage {
    order: -1;
  }

  .hero-metrics,
  .offer-grid,
  .spec-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: auto;
  }

  .gallery-main {
    height: clamp(360px, 66vw, 520px);
  }

  .section {
    padding: 44px 0;
  }

  .order-section {
    padding-top: 36px;
  }

  .gallery-thumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .gallery-thumb {
    flex: 0 0 88px;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 40px;
    height: 36px;
  }

  .header-cta {
    display: none;
  }

  .stock-alert {
    top: 69px;
    align-items: flex-start;
    font-size: 14px;
  }

  .hero {
    width: min(100% - 28px, 1240px);
    padding-bottom: 72px;
  }

  .banner-hero {
    width: 100%;
    padding-bottom: 44px;
  }

  .hero-order-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: calc(100% - 28px);
    margin-top: -12px;
    padding: 18px;
    text-align: left;
  }

  .hero-order-bar div {
    gap: 7px;
  }

  .hero-order-bar strong {
    font-size: clamp(32px, 11vw, 46px);
  }

  .hero-order-bar span {
    max-width: 260px;
    font-size: 17px;
  }

  .hero-order-bar .button {
    width: 100%;
    min-height: 58px;
    padding-inline: 18px;
  }

  .product-card {
    padding: 12px;
  }

  .hero-actions .button,
  .price-line,
  .primary,
  .ghost {
    width: 100%;
  }

  .price-line {
    flex-wrap: wrap;
  }

  .section {
    width: min(100% - 28px, 1040px);
    padding: 36px 0;
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .section-kicker {
    margin-bottom: 12px;
  }

  .section-heading p:not(.section-kicker),
  .delivery-section > p:not(.section-kicker),
  .order-heading p {
    font-size: 17px;
  }

  .gallery-section {
    width: min(100% - 28px, 1180px);
  }

  .gallery-main {
    height: clamp(280px, 72vw, 420px);
    border-radius: 14px;
  }

  .gallery-arrow {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-counter {
    right: 10px;
    bottom: 10px;
  }

  .gallery-thumb {
    flex-basis: 76px;
    border-radius: 10px;
  }

  .offer-card,
  .spec-panel,
  .order-form {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    padding-bottom: 92px;
  }

  .mobile-sticky {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    color: #090909;
    background: var(--yellow);
    border-radius: 12px;
    font-weight: 900;
  }
}
