:root {
  --bg: #f7f4ee;
  --paper: #fff;
  --ink: #141414;
  --muted: #625f59;
  --line: #ded8cc;
  --accent: #c44628;
  --dark: #22201d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Manrope, Arial, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
:focus-visible { outline: 3px solid #1b6aa8; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: #fff; color: var(--ink); font-weight: 800; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.topbar__inner { height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 128px; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand__name { font-size: 18px; font-weight: 800; line-height: 1; }
.nav { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 12px; font-weight: 800; }
.nav a { padding: 13px 0 10px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current=page] { color: var(--accent); border-color: var(--accent); }
.phone { font-size: 14px; font-weight: 800; white-space: nowrap; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 0; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::before { content: "☰"; font-size: 18px; line-height: 1; }
.mobile-menu[open] summary::before { content: "×"; font-size: 23px; }
.mobile-menu__links { position: absolute; top: calc(100% + 5px); right: 0; width: min(280px, calc(100vw - 32px)); display: grid; padding: 8px; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 38px rgba(0,0,0,.16); }
.mobile-menu__links a { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 800; }
.mobile-menu__links a:last-child { border-bottom: 0; }

.hero { padding: 75px 0 66px; background: linear-gradient(90deg, rgba(0,0,0,.79), rgba(0,0,0,.36)), var(--hero) center/cover; color: #fff; }
.hero--plain { background: var(--dark); }
.breadcrumbs { margin-bottom: 28px; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 700; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.hero__kicker { margin: 0 0 12px; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 880px; margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; }
.hero__lead { max-width: 690px; margin: 20px 0 0; font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border: 1px solid rgba(255,255,255,.72); color: #fff; font-weight: 800; }
.hero__button--primary { border-color: var(--accent); background: var(--accent); }
.hero__button:hover { border-color: #fff; background: #fff; color: var(--ink); }

main section { padding: 72px 0; }
.intro { background: #fff; }
.intro__grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(250px,.8fr); gap: 42px; align-items: start; }
.section-kicker { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h2 { margin: 0 0 18px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; }
h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.15; }
p { margin: 0 0 16px; }
.note { padding: 22px; border-left: 4px solid var(--accent); background: var(--bg); font-weight: 700; }
.description { max-width: 820px; }
.description ul { margin: 0; padding-left: 20px; }
.description li { margin: 0 0 8px; }

.catalog { background: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.product-card { display: grid; grid-template-rows: 230px 1fr; border: 1px solid var(--line); background: var(--paper); }
.product-card h2 { font-size: 22px; line-height: 1.15; }
.product-card__image { overflow: hidden; background: #eee8dc; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { display: flex; flex-direction: column; padding: 20px; }
.product-card__body p { color: var(--muted); font-size: 14px; }
.specs { display: grid; gap: 7px; margin-top: auto; }
.spec { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding-top: 7px; border-top: 1px solid #eee9df; font-size: 13px; }
.spec span { color: var(--muted); }
.price { margin-top: 18px; font-size: 23px; font-weight: 800; }
.price small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 700; }
.media-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.media-card { margin: 0; min-height: 280px; position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 17px; background: linear-gradient(transparent,rgba(0,0,0,.82)); font-weight: 800; }
.contact-box { display: grid; gap: 8px; padding: 22px; background: var(--dark); color: #fff; }
.contact-box a { font-size: clamp(22px,3vw,32px); font-weight: 800; }
.contact-box small { color: rgba(255,255,255,.76); font-size: 14px; font-weight: 700; }
.map { width: 100%; min-height: 360px; border: 0; }
.order-cta { background: var(--dark); color: #fff; }
.order-cta__inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center; }
.order-cta h2 { margin-bottom: 10px; font-size: clamp(28px,4vw,44px); }
.order-cta p { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); }
.order-cta__phone { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; background: var(--accent); color: #fff; font-size: 18px; font-weight: 800; white-space: nowrap; }
.order-cta__phone:hover { background: #a93b24; }

@media (max-width: 1050px) {
  .nav { display: none; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .intro__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar__inner { height: 44px; gap: 10px; }
  .brand { min-width: 0; }
  .brand img { width: 28px; height: 28px; }
  .brand__name { font-size: 17px; }
  .phone { font-size: 12px; }
  .mobile-menu { display: block; }
  .hero { padding: 55px 0; }
  .hero h1 { font-size: 36px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .order-cta__inner { grid-template-columns: 1fr; }
  .order-cta__phone { width: 100%; }
  .intro__grid, .product-grid, .media-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-rows: 210px 1fr; }
  main section { padding: 54px 0; }
  .map { min-height: 300px; }
}
