.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 9px max(20px, calc((100% - 1320px) / 2));
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.brand span {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  gap: clamp(14px, 1.5vw, 22px);
  margin-left: auto;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a:hover,
.header-contacts a:hover {
  color: var(--color-primary-dark);
}

.header-contacts {
  display: grid;
  gap: 3px;
}

.header-contacts a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.header-contacts a:last-child {
  display: none;
}

.header-phone,
.menu-toggle {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--color-text);
}

.hero {
  width: 100%;
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  background: linear-gradient(115deg, #fff 0%, #fbfcfa 58%, var(--color-surface) 100%);
  overflow: hidden;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 740px;
  margin: 22px 0 0;
}

.hero h1 em {
  color: var(--color-primary);
  font-style: normal;
}

.hero__lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
}

.hero__note {
  max-width: 650px;
  margin: var(--space-sm) 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.hero-trust > span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.hero-trust b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-trust small {
  display: none;
}

.hero-trust--mobile {
  display: none;
}

.hero__visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface-alt);
  overflow: hidden;
}

.hero__product-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.visual-ribbon {
  position: absolute;
  z-index: 1;
  width: 520px;
  height: 120px;
  border: 28px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.visual-ribbon--two {
  width: 300px;
  height: 500px;
  border-color: rgba(22, 35, 32, 0.06);
  transform: rotate(38deg);
}

.visual-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  line-height: 1.35;
}

.visual-caption b {
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1280px) {
  .brand span {
    display: none;
  }

  .header-contacts {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
    padding: 8px 24px;
  }

  .desktop-nav,
  .header-contacts {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    cursor: pointer;
  }

  .header-phone {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    text-decoration: none;
  }

  .site-header.is-menu-open .desktop-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: grid;
    gap: 0;
    padding: 8px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .site-header.is-menu-open .desktop-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
  }

  .site-header.is-menu-open .desktop-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__visual {
    min-height: 540px;
  }

  .hero__copy > .hero-trust {
    display: none;
  }

  .hero-trust--mobile {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .hero__lead {
    font-size: 17px;
    line-height: 1.55;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    gap: 8px;
    padding: 8px 18px;
  }

  .brand img {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 34px;
  }

  .site-header > .button {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .header-phone {
    width: 40px;
    height: 40px;
  }

  .site-header.is-menu-open .desktop-nav {
    right: 18px;
    left: 18px;
  }

  .hero {
    gap: 26px;
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .hero h1 {
    margin-top: 18px;
  }

  .hero__lead {
    margin-top: 18px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__visual {
    min-height: 420px;
    border-radius: var(--radius-lg);
  }

  .hero__product-image {
    object-position: center 55%;
  }

  .visual-caption {
    display: none;
  }

  .hero-trust--mobile {
    grid-template-columns: 1fr 1fr;
  }
}
