/* Rus-Sila catalog — PDF 2026 print style */
:root {
  --rs-bg: #f5f0e8;
  --rs-bg-dark: #ebe4d8;
  --rs-red: #b91c1c;
  --rs-red-dark: #991b1b;
  --rs-brown: #3d3229;
  --rs-brown-light: #5c4a3d;
  --rs-ink: #1c1917;
  --rs-muted: #78716c;
  --rs-line: #d6cfc4;
  --rs-white: #fff;
  --rs-font: "Segoe UI", system-ui, sans-serif;
  --rs-stencil: "Arial Black", Impact, sans-serif;
  --container: min(1120px, 92vw);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rs-font);
  background: var(--rs-bg);
  color: var(--rs-ink);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rs-red); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip {
  position: absolute; left: -9999px; top: auto;
}
.skip:focus {
  left: 1rem; top: 1rem; z-index: 999;
  background: var(--rs-white); padding: .5rem 1rem; border-radius: 6px;
}

.container { width: var(--container); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 232, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rs-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0; flex-wrap: wrap;
}
.logo {
  font-family: var(--rs-stencil);
  font-size: 1.35rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rs-red);
  text-decoration: none;
}
.logo:hover { text-decoration: none; opacity: .9; }
.site-nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; }
.site-nav a {
  color: var(--rs-brown);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--rs-red); }
.nav-cta {
  background: var(--rs-red);
  color: var(--rs-white) !important;
  padding: .45rem .85rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--rs-red-dark); text-decoration: none; }
.nav-toggle { display: none; }

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex; border: 1px solid var(--rs-line);
    background: var(--rs-white); padding: .4rem .75rem; border-radius: 8px;
  }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; }
  .site-nav.is-open { display: flex; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--rs-white) 0%, var(--rs-bg) 60%);
  border-bottom: 3px solid var(--rs-red);
  padding: 2.5rem 0 2rem;
}
.hero__grid { display: grid; gap: 2rem; }
@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 1.2fr .8fr; align-items: center; }
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: .35rem 0 .75rem;
  color: var(--rs-brown);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--rs-red);
}
.lead { font-size: 1.05rem; color: var(--rs-muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
}
.hero__stats div {
  background: var(--rs-white);
  border: 1px solid var(--rs-line);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.hero__stats strong {
  display: block;
  font-size: 1.75rem;
  color: var(--rs-red);
  line-height: 1.1;
}
.hero__stats span { font-size: .78rem; color: var(--rs-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .65rem 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: .9rem; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
}
.btn--primary { background: var(--rs-red); color: var(--rs-white); }
.btn--primary:hover { background: var(--rs-red-dark); text-decoration: none; }
.btn--ghost { border-color: var(--rs-line); color: var(--rs-brown); background: var(--rs-white); }
.btn--ghost:hover { border-color: var(--rs-red); color: var(--rs-red); text-decoration: none; }

/* Sections */
.section { padding: 2.5rem 0; }
.section--muted { background: var(--rs-bg-dark); }
.section-head { margin-bottom: 1.5rem; }
.section-head h2 {
  font-size: 1.5rem;
  color: var(--rs-brown);
  position: relative;
  padding-left: 1rem;
}
.section-head h2::before {
  content: "";
  position: absolute; left: 0; top: .15em; bottom: .15em;
  width: 4px; background: var(--rs-red);
  border-radius: 2px;
}

/* Category bar (PDF red section) */
.cat-bar {
  background: var(--rs-red);
  color: var(--rs-white);
  padding: .85rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
  margin-bottom: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.cat-bar::after {
  content: "";
  position: absolute; right: -1px; top: 0;
  width: 24px; height: 100%;
  background: linear-gradient(135deg, transparent 50%, var(--rs-bg) 50%);
}

/* Grid */
.grid { display: grid; gap: 1rem; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }

.tile {
  background: var(--rs-white);
  border: 1px solid var(--rs-line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, border-color .2s;
}
.tile:hover { border-color: var(--rs-red); box-shadow: 0 8px 24px rgba(61,50,41,.08); text-decoration: none; }
.tile span { color: var(--rs-red); font-weight: 800; font-size: .85rem; }
.tile h3 { margin: .35rem 0 0; font-size: 1rem; color: var(--rs-brown); }

/* Product cards */
.card {
  background: var(--rs-white);
  border: 1px solid var(--rs-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 10px 28px rgba(61,50,41,.1); transform: translateY(-2px); }
.card__link { color: inherit; text-decoration: none; display: block; }
.card__media { aspect-ratio: 4/3; background: var(--rs-bg-dark); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1rem; }
.card__meta { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rs-muted); margin: 0 0 .35rem; }
.card__title { font-size: 1rem; margin: 0 0 .5rem; color: var(--rs-brown); line-height: 1.3; }
.card__price { font-weight: 800; color: var(--rs-red); margin: 0; }

/* Product page */
.product-page { padding-bottom: 3rem; }
.product-hero { padding: 2rem 0; background: var(--rs-white); border-bottom: 1px solid var(--rs-line); }
.product-hero__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .product-hero__grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
}
.product-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
}
.product-gallery__item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rs-line); }
.product-gallery__item.is-primary { grid-column: span 2; }
.product-gallery__item img { width: 100%; height: auto; object-fit: cover; }
.product-hero__placeholder {
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: var(--rs-bg-dark); color: var(--rs-muted); border-radius: var(--radius);
}
.product-price {
  font-size: 1.75rem; font-weight: 800; color: var(--rs-red);
  position: absolute; bottom: 0; right: 0;
}
.product-hero__copy { position: relative; }
.product-hero__copy .product-price { position: static; margin: 1rem 0; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

.specs-table {
  width: 100%; border-collapse: collapse;
  background: var(--rs-white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--rs-line);
}
.specs-table th, .specs-table td {
  padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--rs-line);
}
.specs-table th { width: 38%; background: var(--rs-bg-dark); color: var(--rs-brown); font-weight: 600; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: 0; }

.prose { max-width: 68ch; }
.prose p { margin: 0 0 1rem; }

.utp-card {
  background: var(--rs-white); border: 1px solid var(--rs-line);
  border-left: 4px solid var(--rs-red);
  border-radius: var(--radius); padding: 1.25rem;
}
.utp-card h3 { margin: 0 0 .5rem; color: var(--rs-brown); }

.faq details {
  background: var(--rs-white); border: 1px solid var(--rs-line);
  border-radius: var(--radius); padding: .85rem 1rem; margin-bottom: .5rem;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--rs-brown); }

.video-block {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--rs-brown); aspect-ratio: 16/9; cursor: pointer;
}
.video-block img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-block::after {
  content: "▶"; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 3rem; color: var(--rs-white);
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.lead-form {
  background: var(--rs-white); border: 1px solid var(--rs-line);
  border-radius: var(--radius); padding: 1.5rem;
}
.lead-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--rs-brown); }
.lead-form input, .lead-form textarea {
  width: 100%; padding: .65rem .85rem; border: 1px solid var(--rs-line);
  border-radius: 8px; margin-bottom: 1rem; font: inherit;
}
.lead-form input:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--rs-red); box-shadow: 0 0 0 3px rgba(185,28,28,.15);
}
.lead-form .checkbox-row { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; }
.lead-form .checkbox-row input { width: auto; margin: .2rem 0 0; }

/* Footer */
.site-footer {
  background: var(--rs-brown);
  color: rgba(255,255,255,.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #f5d0d0; }
.site-footer h3 { color: var(--rs-white); font-size: .95rem; margin: 0 0 .75rem; }
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { color: rgba(255,255,255,.75); font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; font-size: .82rem; text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
