:root {
  --bg: #fffaf4;
  --surface: #ffffff;
  --surface-soft: #f8eadb;
  --surface-green: #edf3e6;
  --ink: #33231d;
  --muted: #75655e;
  --line: #e8d9cb;
  --berry: #a64258;
  --berry-dark: #763046;
  --honey: #d58b37;
  --sage: #718a62;
  --cocoa: #5a3628;
  --shadow: 0 24px 70px rgba(91, 59, 42, 0.12);
  --container: min(1160px, calc(100vw - 40px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.is-header-scrolled .site-header {
  top: 10px;
  background: rgba(255, 250, 244, 0.94);
  box-shadow: 0 14px 42px rgba(91, 59, 42, 0.16);
  transform: translateX(-50%) scale(0.985);
}

body.is-locked {
  overflow: hidden;
}

body.is-locked::before {
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(51, 35, 29, 0.16);
  backdrop-filter: blur(4px);
  content: "";
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: var(--container);
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(232, 217, 203, 0.84);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 18px 50px rgba(91, 59, 42, 0.12);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition:
    top 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--berry);
  color: #fff;
  font-weight: 800;
}

.brand__name,
.brand__caption {
  display: block;
}

.brand__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__caption {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a,
.header-phone {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  padding: 10px 14px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.main-nav a:hover,
.header-phone:hover {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.header-phone {
  justify-self: end;
  background: #fff;
  color: var(--berry-dark);
  box-shadow: 0 10px 26px rgba(91, 59, 42, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

body.is-locked .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.is-locked .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.is-locked .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.96) 0%, rgba(255, 250, 244, 0.78) 42%, rgba(255, 250, 244, 0.18) 76%),
    linear-gradient(0deg, rgba(255, 250, 244, 0.9), rgba(255, 250, 244, 0.1) 44%);
}

.hero__content {
  width: var(--container);
  margin: 0 auto;
  padding: 180px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: 0;
}

.hero__lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 20px;
}

.hero__actions,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.hero__quick button {
  min-height: 34px;
  border: 1px solid rgba(166, 66, 88, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--berry-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  padding: 7px 12px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.hero__quick button:hover {
  border-color: rgba(166, 66, 88, 0.38);
  background: #fff;
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 13px 20px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button--primary {
  background: var(--berry);
  color: #fff;
  box-shadow: 0 14px 34px rgba(166, 66, 88, 0.22);
}

.button--ghost {
  border-color: rgba(166, 66, 88, 0.24);
  background: rgba(255, 255, 255, 0.78);
  color: var(--berry-dark);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 12px;
  margin: 52px 0 0;
}

.hero__facts div {
  padding: 18px;
  border: 1px solid rgba(232, 217, 203, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 44px rgba(91, 59, 42, 0.08);
}

.hero__facts dt {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero__facts dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 92px 0;
}

.page-main {
  width: var(--container);
  margin: 0 auto;
  padding: 146px 0 92px;
}

.section__head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section__head--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.section__note,
.text-link {
  color: var(--muted);
}

.text-link {
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

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

.feature {
  min-height: 248px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature,
.product-card,
.offer-item,
.partner-strip a,
.seo-card,
.landing-cta {
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.feature:hover,
.product-card:hover,
.offer-item:hover,
.partner-strip a:hover,
.seo-card:hover {
  border-color: rgba(166, 66, 88, 0.28);
  box-shadow: 0 24px 64px rgba(91, 59, 42, 0.13);
  transform: translateY(-3px);
}

.feature__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--berry-dark);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature p,
.product-card p,
.offer-item p,
.production p,
.contacts p {
  color: var(--muted);
}

.catalog {
  border-top: 1px solid var(--line);
}

.breadcrumbs {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.breadcrumbs li + li::before {
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  opacity: 0.55;
  transform: rotate(45deg);
}

.breadcrumbs a {
  color: var(--berry-dark);
  font-weight: 750;
}

.breadcrumbs [aria-current="page"] {
  overflow: hidden;
  max-width: 320px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.catalog-tabs__button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 9px 16px;
}

.catalog-tabs__button.is-active {
  border-color: var(--berry);
  background: var(--berry);
  color: #fff;
}

.category-hero,
.product-hero {
  display: grid;
  gap: 26px;
  margin-bottom: 46px;
}

.category-hero {
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.55fr);
  align-items: end;
}

.category-hero--catalog {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  margin-bottom: 30px;
  padding: 14px 0 4px;
}

.catalog-page {
  padding-top: 132px;
}

.catalog-page .breadcrumbs {
  margin-bottom: 22px;
}

.catalog-results {
  scroll-margin-top: 124px;
}

.catalog-results__head {
  margin-bottom: 20px;
}

.catalog-results__head h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.category-hero h1,
.product-hero h1 {
  margin-bottom: 18px;
}

.product-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 5.2vw, 72px);
}

.category-hero__lead,
.product-hero__lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
}

.category-side {
  display: grid;
  gap: 14px;
}

.category-side img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(91, 59, 42, 0.08);
}

.category-summary {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.category-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.category-summary div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.category-summary dt {
  color: var(--muted);
  font-size: 14px;
}

.category-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.catalog-panel {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.catalog-panel strong {
  color: var(--berry);
  font-size: 48px;
  line-height: 1;
}

.catalog-panel span {
  color: var(--muted);
}

.catalog-panel a {
  width: fit-content;
  margin-top: 8px;
  color: var(--berry-dark);
  font-weight: 900;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(91, 59, 42, 0.08);
}

.product-card.is-hidden {
  display: none;
}

.product-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--surface-soft);
  overflow: hidden;
}

.product-card__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(51, 35, 29, 0) 42%, rgba(51, 35, 29, 0.1));
  opacity: 0.7;
  pointer-events: none;
}

.product-card__image,
.product-detail__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.product-card:nth-child(3n + 1) .product-card__image {
  object-position: 42% center;
}

.product-card:nth-child(3n + 2) .product-card__image {
  object-position: 58% center;
}

.product-card:nth-child(4n) .product-card__image {
  object-position: 72% center;
}

.product-card:hover .product-card__image {
  transform: scale(1.045);
}

.product-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 268px;
  align-content: start;
  padding: 22px;
}

.product-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.product-card__pills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--berry-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.product-card__body h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.product-card__body h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card__summary {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card__title-link {
  transition: color 0.2s ease;
}

.product-card__title-link:hover {
  color: var(--berry);
}

.product-card__action {
  display: inline-flex;
  align-self: end;
  margin-top: 24px;
  color: var(--berry-dark);
  font-weight: 900;
}

.product-card__action::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 9px 0 0 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.product-card:hover .product-card__action::after {
  transform: translateX(3px) rotate(45deg);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 40px;
  align-items: start;
}

.product-detail__visual {
  min-height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.product-detail__panel {
  position: sticky;
  top: 126px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-detail__panel h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.spec-list strong {
  color: var(--ink);
  overflow-wrap: anywhere;
  text-align: right;
}

.purchase-note {
  margin: -2px 0 22px;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.purchase-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--berry-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.purchase-note p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.product-copy {
  display: grid;
  gap: 26px;
}

.product-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.offers {
  width: 100%;
  padding-right: max(20px, calc((100vw - 1160px) / 2));
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  background: #f5eee5;
}

.offer-list {
  display: grid;
  gap: 12px;
}

.offer-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.offer-item > span {
  color: var(--berry);
  font-size: 24px;
  font-weight: 900;
}

.offer-item h3,
.offer-item p {
  margin-bottom: 0;
}

.offer-item a {
  color: var(--berry-dark);
  font-weight: 900;
}

.production {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: center;
}

.production__text {
  max-width: 520px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-green);
  color: var(--sage);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.production__gallery {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  align-items: stretch;
}

.production__gallery img,
.production__tile {
  min-height: 420px;
  border-radius: 8px;
}

.production__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.production__tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--berry);
  color: #fff;
  padding: 24px;
}

.production__tile strong {
  font-size: 42px;
  line-height: 1;
}

.production__tile span {
  margin-top: 12px;
}

.partners {
  border-top: 1px solid var(--line);
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.partner-strip a {
  display: grid;
  min-height: 154px;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.partner-strip span {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.partner-strip small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 44px;
}

.seo-hero h1 {
  max-width: 920px;
  font-size: clamp(42px, 5.4vw, 76px);
}

.seo-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
}

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

.seo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(91, 59, 42, 0.08);
}

.seo-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-soft);
}

.seo-card__media img,
.landing-detail__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-card__body {
  padding: 24px;
}

.seo-card__body h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.seo-card__body p:not(.eyebrow) {
  color: var(--muted);
}

.landing-detail {
  display: grid;
  gap: 42px;
}

.landing-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: center;
}

.landing-detail__hero h1 {
  max-width: 920px;
  font-size: clamp(42px, 5.3vw, 74px);
}

.landing-detail__hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.landing-detail__hero img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.landing-detail__content {
  display: grid;
  max-width: 860px;
  gap: 18px;
}

.landing-detail__content h2 {
  margin-top: 18px;
  font-size: 34px;
}

.landing-detail__content p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  overflow-wrap: anywhere;
}

.landing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.landing-cta h2 {
  margin-bottom: 10px;
  font-size: 34px;
}

.landing-cta p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 54px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a,
.contact-methods span {
  display: inline-flex;
  width: fit-content;
  color: var(--berry-dark);
  font-weight: 850;
}

.requisites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
}

.requisites div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.requisites dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.requisites dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.lead-form .consent-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
}

.lead-form .consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--berry);
}

.lead-form .consent-field span {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(166, 66, 88, 0.12);
}

.lead-form__status {
  min-height: 20px;
  margin: 0;
  color: var(--sage);
  font-weight: 800;
}

.js-ready .section,
.js-ready .offer-item {
  opacity: 0;
  transform: translateY(16px);
}

.js-ready .section.is-visible,
.js-ready .offer-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.js-ready .feature.is-visible:hover,
.js-ready .offer-item.is-visible:hover {
  transform: translateY(-3px);
}

.site-footer {
  display: flex;
  width: var(--container);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 14px;
    border-radius: 28px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-phone {
    display: none;
  }

  .main-nav.is-open {
    position: fixed;
    top: 92px;
    left: 50%;
    z-index: 19;
    display: grid;
    grid-template-columns: 1fr;
    width: min(420px, calc(100vw - 28px));
    gap: 0;
    align-items: stretch;
    justify-content: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 80px rgba(91, 59, 42, 0.22);
    transform: translateX(-50%);
  }

  .main-nav.is-open a {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    justify-self: stretch;
    border-bottom: 1px solid rgba(232, 217, 203, 0.74);
    border-radius: 0;
    color: var(--ink);
    font-size: 18px;
    padding: 0 22px;
    text-align: left;
  }

  .main-nav.is-open a:last-child {
    border-bottom: 0;
  }

  .main-nav.is-open a::after {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-left: 18px;
    border-top: 2px solid var(--line);
    border-right: 2px solid var(--line);
    content: "";
    transform: rotate(45deg);
  }

  .intro__grid,
  .product-grid,
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-hero,
  .product-detail,
  .landing-detail__hero,
  .seo-hero {
    grid-template-columns: 1fr;
  }

  .product-detail__panel {
    position: static;
  }

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

  .production__text {
    max-width: none;
  }

  .partner-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seo-hero .button {
    width: fit-content;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .site-header {
    top: 10px;
    width: min(100vw - 20px, 1160px);
    padding: 10px 12px;
  }

  body.is-header-scrolled .site-header {
    transform: translateX(-50%);
  }

  .brand__caption {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 250, 244, 0.94) 0%, rgba(255, 250, 244, 0.92) 55%, rgba(255, 250, 244, 0.82) 100%),
      rgba(255, 250, 244, 0.76);
  }

  .hero__media img {
    object-position: 62% top;
  }

  .hero__content {
    padding: 124px 0 58px;
  }

  h1 {
    font-size: 37px;
  }

  .product-hero h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 54px;
    padding: 13px 18px;
  }

  .hero__quick {
    display: none;
  }

  .hero__facts,
  .intro__grid,
  .product-grid,
  .partner-strip,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .hero__facts {
    margin-top: 34px;
  }

  .section {
    padding: 64px 0;
  }

  .offers {
    padding-right: 14px;
    padding-left: 14px;
  }

  .page-main {
    padding: 116px 0 64px;
  }

  .breadcrumbs {
    width: calc(100% + 28px);
    margin: 0 -14px 22px;
    overflow-x: auto;
    color: var(--muted);
    font-size: 13px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .breadcrumbs ol {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 14px 4px;
  }

  .breadcrumbs li {
    flex: 0 0 auto;
    gap: 10px;
  }

  .breadcrumbs [aria-current="page"] {
    max-width: 260px;
  }

  .category-summary {
    padding: 18px;
  }

  .category-hero--catalog {
    gap: 18px;
    margin-bottom: 24px;
  }

  .catalog-page {
    padding-top: 116px;
  }

  .catalog-panel {
    padding: 18px;
  }

  .catalog-page .catalog-panel {
    display: none;
  }

  .catalog-panel strong {
    font-size: 40px;
  }

  .product-card__body {
    min-height: auto;
  }

  .product-copy p,
  .spec-list strong {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .requisites {
    grid-template-columns: 1fr;
  }

  .section__head--row {
    display: block;
  }

  .section__head--row .text-link,
  .section__head--row .section__note {
    display: inline-block;
    margin-top: 14px;
  }

  .feature {
    min-height: auto;
  }

  .offer-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
  }

  .offer-item > span {
    font-size: 34px;
  }

  .offer-item h3 {
    font-size: 28px;
  }

  .offer-item p {
    font-size: 17px;
  }

  .seo-hero h1,
  .landing-detail__hero h1 {
    font-size: 36px;
  }

  .seo-hero p,
  .landing-detail__hero p,
  .landing-detail__content p {
    font-size: 17px;
  }

  .landing-cta {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .landing-cta .button {
    width: 100%;
  }

  .landing-detail {
    gap: 30px;
  }

  .landing-detail__hero {
    gap: 20px;
  }

  .landing-detail__hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .landing-detail__content {
    gap: 16px;
    padding-top: 0;
  }

  .landing-detail__content h2 {
    margin-top: 6px;
    font-size: 34px;
  }

  .seo-hero {
    gap: 22px;
    margin-bottom: 30px;
  }

  .seo-hero .button {
    width: 100%;
  }

  .seo-card__body {
    padding: 22px;
  }

  .seo-card__body h2 {
    font-size: 27px;
  }

  .production__gallery {
    grid-template-columns: 1fr;
  }

  .production__gallery img,
  .production__tile {
    min-height: 260px;
  }

  .contacts {
    gap: 28px;
  }

  .lead-form {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
