:root {
  --ink: #1d1a17;
  --muted: #6d655d;
  --line: #e7e1d8;
  --bg: #faf7f2;
  --card: #fff;
  --red: #c25400;
  --red-dark: #9e4400;
  --dark: #211d1a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 26, 23, .06), 0 8px 24px rgba(29, 26, 23, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Manrope, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3vw, 36px); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: background .15s, transform .1s; }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.light { background: #fff; color: var(--ink); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.topbar { background: var(--dark); color: #d9d1c7; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; gap: 12px; }
.topbar-r { display: flex; gap: 18px; }
.topbar a { color: #fff; font-weight: 600; }

.header { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: -.04em; }
.logo b { display: block; font-size: 18px; letter-spacing: -.02em; }
.logo small { display: block; color: var(--muted); font-size: 12px; margin-top: -2px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--red); }
.lang { display: flex; background: #efe9e0; border-radius: 8px; padding: 3px; }
.lang button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; padding: 5px 9px; border-radius: 6px; cursor: pointer; color: var(--muted); }
.lang button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.menu-toggle span { height: 2px; background: var(--ink); border-radius: 2px; }

.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.kicker { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; }
.lead-text { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 36px; }
.stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; }
.stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 14px; }
.hero-img { background: #fff; border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; padding: 30px; box-shadow: var(--shadow); }
.hero-img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.block { padding: 64px 0; }
.block.alt { background: #f2ece3; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.more { color: var(--red); font-weight: 700; white-space: nowrap; }
.more::after { content: " →"; }

.sections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.section-card { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s; }
.section-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(29, 26, 23, .12); }
.section-img { aspect-ratio: 4/3; display: grid; place-items: center; }
.section-img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.section-card h3 { font-size: 17px; margin: 0 0 2px; }
.section-card span { color: var(--muted); font-size: 14px; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 24px; }
.why-item .num { color: var(--red); font-weight: 800; font-size: 14px; }
.why-item h3 { font-size: 19px; margin: 10px 0 8px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(29, 26, 23, .12); }
.card-img { aspect-ratio: 1; padding: 16px; display: grid; place-items: center; background: #fff; }
.card-img img { max-height: 100%; object-fit: contain; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--line); font-weight: 800; font-size: 20px; background: var(--bg); border-radius: 10px; min-height: 200px; }
.card-body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.card-model { color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .03em; }
.card h3 { font-size: 16px; font-weight: 700; margin: 4px 0 10px; }
.card-specs { list-style: none; padding: 0; margin: 0 0 14px; font-size: 13px; }
.card-specs li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.card-specs span { color: var(--muted); }
.card-specs b { font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; }
.card-foot .arrow { color: var(--red); }

.turnkey { background: var(--dark); color: #fff; padding: 72px 0; }
.turnkey-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.turnkey p { color: #cfc6bb; font-size: 17px; max-width: 560px; margin-bottom: 28px; }
.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.services li { border: 1px solid #3a342f; border-radius: 12px; padding: 16px 18px; font-weight: 600; }
.services li::before { content: "✓"; color: #ff8a1f; margin-right: 10px; }

.about { max-width: 820px; }
.about p { font-size: 18px; color: var(--muted); }

.lead { padding: 64px 0; background: #f2ece3; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contacts { display: grid; grid-template-columns: 160px 1fr; gap: 12px; margin: 24px 0 0; }
.contacts dt { color: var(--muted); }
.contacts dd { margin: 0; font-weight: 600; }
.contacts a { color: var(--red); }
.lead-form { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.lead-form h3 { font-size: 22px; margin: 0; }
.lead-form p { margin: 0 0 6px; color: var(--muted); }
.lead-form input, .lead-form textarea, #search { font: inherit; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%; }
.lead-form .done { color: #1f7a3a; font-weight: 600; min-height: 1em; }

.footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; font-weight: 600; }
.footer small { color: var(--muted); }

.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 64px; align-items: start; }
.catalog aside { position: sticky; top: 90px; }
.side { list-style: none; padding: 0; margin: 16px 0 0; }
.side ul { list-style: none; padding: 0 0 6px 12px; margin: 0; }
.side button { width: 100%; text-align: left; border: 0; background: none; font: inherit; font-weight: 600; padding: 8px 10px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; color: var(--ink); }
.side ul button { font-weight: 500; font-size: 14px; padding: 6px 10px; }
.side button:hover { background: #efe9e0; }
.side button.on { background: var(--ink); color: #fff; }
.side i { font-style: normal; color: var(--muted); font-size: 13px; }
.side button.on i { color: #cfc6bb; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cat-head h1 { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.cat-head span { color: var(--muted); }
.empty { color: var(--muted); padding: 40px 0; }

#product { padding-top: 24px; padding-bottom: 40px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--red); }
.p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.main-img { background: #fff; border-radius: 20px; aspect-ratio: 1; display: grid; place-items: center; padding: 24px; box-shadow: var(--shadow); }
.main-img img { max-height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 76px; border-radius: 10px; border: 2px solid transparent; background: #fff; padding: 4px; cursor: pointer; }
.thumbs button.on { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.p-info h1 { font-size: clamp(28px, 3.2vw, 40px); margin-top: 6px; }
.en-name { color: var(--muted); font-size: 14px; margin-top: -4px; }
.price-box { background: #fff; border-radius: 16px; padding: 20px; margin: 20px 0 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.price-box small { color: var(--muted); display: block; }
.price-box strong { font-size: 20px; }
.p-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.p-info h2, .specs h2 { font-size: 22px; }
.features { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.features li { padding-left: 22px; position: relative; font-size: 15px; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.colors { color: var(--muted); }
.specs { margin-top: 48px; }
.specs table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.specs th, .specs td { text-align: left; padding: 13px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }
.specs td { font-weight: 600; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

@media (max-width: 1000px) {
  .sections, .why { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .turnkey-grid, .lead-grid, .p-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-img { max-width: 480px; }
  .catalog { grid-template-columns: 1fr; }
  .catalog aside { position: static; }
  .side { display: flex; flex-wrap: wrap; gap: 6px; }
  .side > li > button { background: #efe9e0; width: auto; }
  .side ul { width: 100%; display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; }
}
@media (max-width: 760px) {
  .topbar-r span, .hide-m { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .lang { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 16px 20px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .menu-open .nav { display: flex; }
  .stats { gap: 22px; }
  .sections { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why, .services, .features { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 12px; }
  .card-specs { display: none; }
  .contacts { grid-template-columns: 1fr; gap: 2px; }
  .contacts dd { margin-bottom: 10px; }
  .block, .lead, .turnkey { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.card-en { color: var(--muted); font-size: 12px; margin: -6px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.logo b, .topbar a, .stats b { white-space: nowrap; }
@media (max-width: 760px) {
  .topbar .wrap > span:first-child { font-size: 12px; }
  .hero { padding-top: 32px; }
  .stats b { font-size: 24px; }
}
