:root {
  --bg: #f3efe7;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #fffdf9;
  --text: #1d2128;
  --muted: #5b616b;
  --line: rgba(29, 33, 40, 0.1);
  --accent: #b51f13;
  --accent-deep: #7d0c07;
  --steel-1: #d6d9de;
  --steel-2: #8a919c;
  --shadow: 0 24px 60px rgba(31, 39, 55, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(180deg, #efe9df 0%, #f7f3ec 45%, #ece7de 100%);
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar,
.strip,
.cta,
.footer,
.product-card,
.line-card,
.news-card,
.production,
.hero {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.86);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 34px;
  object-fit: contain;
}

.nav {
  display: inline-flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.nav a:hover,
.nav a.active,
.nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #de4a2b);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(181, 31, 19, 0.22);
}

.button--secondary {
  background: linear-gradient(135deg, #22262f, #48505d);
  box-shadow: 0 16px 28px rgba(34, 38, 47, 0.18);
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero,
.production,
.strip,
.catalog,
.lines,
.news,
.cta,
.footer {
  margin-bottom: 24px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 240, 233, 0.9)),
    linear-gradient(45deg, rgba(182, 31, 19, 0.05), transparent 35%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2,
.production h2,
.cta h2 {
  margin: 0;
  font-family: "Prata", serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(1.35rem, 3vw, 2.65rem);
}

.hero__lede,
.section-heading p,
.production__copy p,
.line-card p,
.news-card p,
.footer p,
.footer span {
  color: var(--muted);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__facts li {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(29, 33, 40, 0.06);
}

.hero__facts strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.hero__facts span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero__visual {
  position: relative;
  min-height: 540px;
  border-radius: calc(var(--radius-xl) - 4px);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.95), rgba(206, 210, 216, 0.6) 32%, rgba(43, 48, 58, 0.15) 68%, transparent 69%),
    linear-gradient(180deg, rgba(49, 57, 71, 0.06), rgba(255, 255, 255, 0.7));
  overflow: hidden;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(181, 31, 19, 0.16), transparent 72%);
}

.hero__wheel {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.94), rgba(195, 199, 206, 0.8) 42%, rgba(118, 126, 140, 0.34) 72%, transparent 73%);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.8), 0 22px 40px rgba(39, 46, 60, 0.14);
  animation: float 8s ease-in-out infinite;
}

.hero__wheel img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(21, 26, 35, 0.18));
}

.hero__wheel--xl {
  top: 52px;
  right: 24px;
  width: 340px;
  height: 340px;
}

.hero__wheel--md {
  bottom: 46px;
  left: 34px;
  width: 210px;
  height: 210px;
  animation-delay: -2s;
}

.hero__wheel--sm {
  top: 248px;
  left: 18px;
  width: 142px;
  height: 142px;
  animation-delay: -4s;
}

.hero__badge {
  position: absolute;
  right: 24px;
  bottom: 32px;
  max-width: 280px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.86);
  border: 1px solid rgba(29, 33, 40, 0.08);
  box-shadow: var(--shadow);
}

.hero__badge span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero__badge strong {
  font-size: 1rem;
  line-height: 1.45;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(29, 33, 40, 0.08);
  box-shadow: var(--shadow);
}

.strip__item {
  padding: 14px;
}

.strip__label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog,
.lines,
.news {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.84);
  border: 1px solid rgba(29, 33, 40, 0.08);
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 760px;
}

.section-heading h2,
.production h2,
.cta h2 {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(29, 33, 40, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #212630, #5f6877);
  color: #fff;
}

.product-grid,
.news-grid,
.line-grid {
  display: grid;
  gap: 18px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 236, 228, 0.92));
  border: 1px solid rgba(29, 33, 40, 0.08);
  box-shadow: 0 18px 30px rgba(41, 48, 61, 0.08);
  overflow: hidden;
  transition: transform 220ms ease, opacity 220ms ease;
}

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

.product-card:hover {
  transform: translateY(-6px);
}

.product-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(205, 210, 217, 0.82) 44%, rgba(126, 133, 147, 0.22) 72%, transparent 73%);
}

.product-card__media img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.product-card__body {
  display: grid;
  gap: 10px;
  padding: 20px 18px 22px;
}

.product-card__body h3,
.news-card h3,
.line-card h3 {
  margin: 0;
  font-size: 1.16rem;
}

.product-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-card__tag,
.news-card p:first-child {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__body span {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(181, 31, 19, 0.08);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.line-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.line-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 239, 243, 0.8)),
    linear-gradient(135deg, rgba(181, 31, 19, 0.06), transparent);
  border: 1px solid rgba(29, 33, 40, 0.08);
}

.production {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.84);
  border: 1px solid rgba(29, 33, 40, 0.08);
  box-shadow: var(--shadow);
}

.production__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(191, 197, 206, 0.7), rgba(255, 255, 255, 0.4)),
    linear-gradient(180deg, rgba(53, 60, 71, 0.06), transparent);
}

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

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

.checklist li {
  position: relative;
  padding-left: 24px;
  line-height: 1.6;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f07d40);
  box-shadow: 0 0 0 6px rgba(181, 31, 19, 0.1);
}

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

.news-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(29, 33, 40, 0.08);
}

.news-card img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  border-radius: 18px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(32, 37, 46, 0.95), rgba(94, 103, 116, 0.88)),
    linear-gradient(135deg, rgba(181, 31, 19, 0.22), transparent 55%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta .eyebrow,
.cta p {
  color: rgba(255, 255, 255, 0.74);
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.84);
  border: 1px solid rgba(29, 33, 40, 0.08);
  box-shadow: var(--shadow);
}

.footer__brand img {
  width: 72px;
  margin-bottom: 14px;
}

.footer__contacts {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer__contacts a {
  font-weight: 700;
}

.footer__credit {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer__credit a {
  font-weight: 800;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero,
.content-card,
.contact-card,
.article-card,
.catalog-controls,
.catalog-summary,
.catalog-layout {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 34px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.86);
  border: 1px solid rgba(29, 33, 40, 0.08);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-family: "Prata", serif;
  font-size: clamp(1.15rem, 2.5vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-hero p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.page-hero__aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.metric-card,
.content-card,
.contact-card,
.catalog-summary__card,
.catalog-group,
.catalog-item {
  border: 1px solid rgba(29, 33, 40, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 30px rgba(41, 48, 61, 0.08);
}

.metric-card {
  padding: 22px;
  border-radius: 24px;
}

.metric-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
}

.metric-card span {
  color: var(--muted);
  line-height: 1.6;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.content-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.content-card h2,
.article-card h2 {
  margin: 0 0 14px;
  font-family: "Prata", serif;
  font-size: clamp(0.85rem, 1.5vw, 1.25rem);
  line-height: 1.2;
}

.content-card--prose p {
  color: var(--muted);
  line-height: 1.8;
}

.content-card__image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 24px;
}

.content-card--list {
  display: grid;
  align-content: start;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.article-list {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.article-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.86);
  border: 1px solid rgba(29, 33, 40, 0.08);
  box-shadow: var(--shadow);
}

.article-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.article-card__date {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card__body p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
}

.contact-card a,
.contact-card span {
  font-size: 1.1rem;
  line-height: 1.6;
}

.catalog-controls,
.catalog-summary,
.catalog-layout {
  padding: 24px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.86);
  border: 1px solid rgba(29, 33, 40, 0.08);
  box-shadow: var(--shadow);
}

.content-card--footer-gap {
  margin-bottom: 24px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.catalog-search {
  min-width: min(100%, 320px);
}

.catalog-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(29, 33, 40, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
}

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

.catalog-summary__card {
  padding: 18px;
  border-radius: 20px;
}

.catalog-summary__card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.catalog-summary__card span {
  color: var(--muted);
  line-height: 1.6;
}

.catalog-layout {
  display: grid;
  gap: 18px;
}

.catalog-group {
  padding: 22px;
  border-radius: 26px;
}

.catalog-group__header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.catalog-group__header h2,
.catalog-group__header h3 {
  margin: 0;
}

.catalog-group__meta {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.catalog-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
}

.catalog-item__thumb {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(210, 214, 220, 0.82) 46%, rgba(130, 137, 149, 0.18) 72%, transparent 73%);
  overflow: hidden;
}

.catalog-item__thumb img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
}

.catalog-item__content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.catalog-item__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.catalog-item__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.catalog-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(181, 31, 19, 0.08);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.catalog-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-item__meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(34, 38, 47, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.catalog-empty {
  color: var(--muted);
  line-height: 1.7;
}

.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;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1080px) {
  .hero,
  .production,
  .footer,
  .page-hero {
    grid-template-columns: 1fr;
  }

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

  .line-grid,
  .strip,
  .catalog-summary,
  .content-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    min-height: 460px;
  }

  .catalog-items,
  .article-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 12px;
  }

  .topbar {
    position: static;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero,
  .catalog,
  .lines,
  .news,
  .production,
  .cta,
  .footer {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.125rem, 6vw, 2rem);
  }

  .hero__facts,
  .product-grid,
  .line-grid,
  .news-grid,
  .strip,
  .content-grid,
  .contact-grid,
  .catalog-summary,
  .catalog-items {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

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

  .hero__visual {
    min-height: 380px;
  }

  .hero__wheel--xl {
    width: 240px;
    height: 240px;
  }

  .hero__wheel--md {
    width: 160px;
    height: 160px;
  }

  .hero__wheel--sm {
    width: 120px;
    height: 120px;
    top: 210px;
  }

  .hero__badge {
    right: 16px;
    left: 16px;
    bottom: 16px;
    max-width: none;
  }

  .article-card,
  .catalog-toolbar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .catalog-item__thumb {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .catalog-item__thumb img {
    width: 62px;
    height: 62px;
  }
}
