/* JAM PEHAR d.o.o. — jam-pehar.com */
:root {
  --ink: #1d1f23;
  --ink-2: #2a2d33;
  --ink-3: #3a3e46;
  --kraft: #c59d6e;
  --kraft-2: #a97f50;
  --kraft-3: #e8dcc9;
  --gold: #d9a441;
  --gold-2: #e8b95a;
  --gold-text: #7f5711;
  --paper: #ffffff;
  --stone: #f4f2ee;
  --line: #e2ded6;
  --text: #1b1d20;
  --muted: #5a5d64;
  --on-ink: #ece9e3;
  --on-ink-muted: #b0ada6;
  --wa: #1f8f4e;
  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 48px);
  --slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-h: 84px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sec: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--slab); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
p, dl, dd, ol, ul, figure, address { margin: 0; }
address { font-style: normal; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr, .skip:not(:focus), .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 200; background: #fff; padding: 10px 14px; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 40px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 24px; border-radius: var(--r); border: 2px solid transparent;
  font: 700 16px/1.1 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: rgba(236, 233, 227, .45); color: var(--on-ink); }
.btn-ghost:hover { border-color: var(--on-ink); background: rgba(255, 255, 255, .07); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #187a41; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; font-size: inherit; }
.arrow-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.arrow-link::after, .more::after { content: " \2192"; }
.arrow-link:hover { color: var(--gold-text); }

/* ---------------------------------------------------------------- strip + header */
.strip { background: var(--ink); color: var(--on-ink-muted); font-size: 14px; }
.strip-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.strip-links { display: flex; gap: 24px; }
.strip a { text-decoration: none; color: var(--on-ink); }
.strip a:hover { color: var(--gold); }

.head { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.head-in { height: var(--head-h); display: flex; align-items: center; gap: 20px; }
.brand img { width: 148px; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.menu a { padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: 15.5px; border-radius: var(--r); position: relative; }
.menu a:hover { background: var(--stone); }
.menu a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold); }
.menu .menu-cta { margin-left: 10px; background: var(--gold); color: var(--ink); font-weight: 700; padding: 13px 16px; }
.menu .menu-cta:hover { background: var(--gold-2); }
.menu .menu-tel { display: none; }
.quote-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 7px 0 16px;
  background: var(--ink); color: #fff; border: 0; border-radius: var(--r); cursor: pointer; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.quote-btn b { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 3px; background: var(--gold); color: var(--ink); }
.quote-btn:hover { background: #000; }
.quote-btn.bump b { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; }

/* ---------------------------------------------------------------- home hero (full-bleed banner) */
.hero { position: relative; isolation: isolate; color: var(--on-ink); background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 21, 24, .96) 0%, rgba(20, 21, 24, .86) 42%, rgba(20, 21, 24, .35) 75%, rgba(20, 21, 24, .15) 100%); }
.hero::after, .phero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 16px; z-index: 2;
  background:
    linear-gradient(135deg, transparent 50%, var(--paper) 50%) 0 0 / 20px 16px repeat-x,
    linear-gradient(225deg, transparent 50%, var(--paper) 50%) 0 0 / 20px 16px repeat-x;
}
.hero-in { padding-top: clamp(64px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); min-height: min(82vh, 760px); display: flex; flex-direction: column; justify-content: center; }
.hero-kicker { color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 100px); line-height: .98; color: #fff; max-width: 12ch; }
.hero-lead { margin-top: 26px; max-width: 54ch; font-size: clamp(17px, 1.4vw, 20px); color: #d6d3cc; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 16px clamp(28px, 4vw, 56px); }
.hero-stats div { display: flex; flex-direction: column-reverse; border-left: 2px solid var(--gold); padding-left: 16px; }
.hero-stats dd { font: 700 clamp(30px, 3vw, 42px)/1 var(--slab); color: #fff; }
.hero-stats dt { margin-top: 6px; color: var(--on-ink-muted); font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: rise .9s var(--ease) both; }
  .hero-in > :nth-child(2) { animation-delay: .06s; }
  .hero-in > :nth-child(3) { animation-delay: .14s; }
  .hero-in > :nth-child(4) { animation-delay: .2s; }
  .hero-in > :nth-child(5) { animation-delay: .26s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* inner page hero */
.phero { position: relative; isolation: isolate; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 90% 0%, rgba(217, 164, 65, .16), transparent 60%); }
.phero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.phero-in { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(52px, 6vw, 84px); }
.phero h1 { font-size: clamp(38px, 5.4vw, 76px); color: #fff; max-width: 18ch; margin-top: 18px; }
.phero-lead { margin-top: 18px; max-width: 62ch; font-size: clamp(17px, 1.4vw, 19px); color: #d0cdc6; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-ink-muted); }
.crumbs a { color: var(--on-ink); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs-light { color: var(--muted); margin-bottom: 24px; }
.crumbs-light a { color: var(--text); }
.crumbs-light a:hover { color: var(--gold-text); }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--sec) 0; }
.section-tight { padding-top: 0; }
.section-stone { background: var(--stone); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 48px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(36px, 4.6vw, 64px); }
.sec-head p { color: var(--muted); max-width: 52ch; }

.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 28px; padding-bottom: 28px; gap: 24px; }
.facts li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--kraft); }
.facts b { font: 700 19px/1.2 var(--slab); }
.facts span { color: var(--muted); font-size: 15px; }

.programs-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.program { display: grid; grid-template-rows: 280px auto; background: var(--kraft-3); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.program:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(29, 31, 35, .45); }
.program img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.program div { padding: 28px 30px 32px; display: grid; gap: 10px; align-content: start; }
.program h3 { font-size: clamp(28px, 2.6vw, 36px); }
.program p { color: #4d4336; }
.program .more { font-weight: 700; margin-top: 6px; }
.program-dark { background: var(--ink); color: var(--on-ink); }
.program-dark img { mix-blend-mode: normal; opacity: .9; }
.program-dark h3 { color: #fff; }
.program-dark p { color: var(--on-ink-muted); }
.program-dark .more { color: var(--gold); }

.cats-sec { padding-top: 0; padding-bottom: 0; }
.cats-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cat {
  display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; align-items: center;
  padding: 14px; background: var(--stone); border: 1px solid transparent; border-radius: var(--r); text-decoration: none; transition: border-color .18s, background-color .18s;
}
.cat:hover { border-color: var(--kraft-2); background: #fff; }
.cat img { grid-row: span 2; width: 76px; height: 76px; object-fit: cover; border-radius: 3px; }
.cat-name { font: 700 21px/1.1 var(--slab); align-self: end; }
.cat-n { color: var(--muted); font-size: 14px; align-self: start; }

/* ---------------------------------------------------------------- products */
.catalog-in { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 20px; }
.search input {
  width: 100%; height: 50px; padding: 0 16px 0 44px; border: 1px solid var(--line); border-radius: var(--r); font: 16px var(--sans); background: var(--stone);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5d64' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 14px 50%; background-size: 18px;
}
.search input:focus { outline: none; border-color: var(--ink); background-color: #fff; }
.cat-list { display: grid; gap: 2px; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.cat-list a span { color: var(--muted); font-weight: 500; font-size: 14px; }
.cat-list a:hover { background: var(--stone); }
.cat-list a[aria-current="page"] { background: var(--ink); color: #fff; }
.cat-list a[aria-current="page"] span { color: var(--gold); }
.filters-card { background: var(--kraft-3); border-radius: var(--r); padding: 18px; display: grid; gap: 14px; font-size: 15px; }
.count { font-size: 14px; margin-bottom: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .18s, box-shadow .25s var(--ease); }
.card:hover { border-color: #cfc8bc; box-shadow: 0 18px 40px -24px rgba(29, 31, 35, .35); }
.card[hidden] { display: none; }
.card-img { position: relative; display: block; aspect-ratio: 1; background: var(--stone); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--gold); font-size: 13px; font-weight: 700; padding: 5px 9px; border-radius: 3px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.card-cat { color: var(--gold-text); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.card-cat a { text-decoration: none; }
.card h3 { font: 600 18px/1.3 var(--sans); letter-spacing: 0; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.card-det { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.card-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { display: grid; font-size: 15px; font-weight: 600; line-height: 1.1; }
.price > span { display: flex; align-items: baseline; gap: 5px; }
.price b { font: 700 28px/1 var(--slab); }
.price small { color: var(--muted); font-size: 13px; font-weight: 500; margin-top: 4px; }
.price .ask { color: var(--muted); font-weight: 600; }
.add { flex: none; height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color .15s, color .15s; }
.add:hover { background: var(--ink); color: #fff; }
.add.is-in { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.add { height: auto; font-size: 16px; padding: 13px 24px; border-color: var(--gold); background: var(--gold); }
.btn.add.is-in { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 48px 24px; background: var(--stone); border-radius: var(--r); text-align: center; color: var(--muted); }

/* product detail */
.pdp-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pdp-img { padding: 0; border: 0; background: var(--stone); border-radius: var(--r); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.pdp-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(32px, 3.6vw, 52px); margin-top: 6px; }
.pdp-lead { margin-top: 14px; font-size: 19px; color: var(--muted); }
.pdp-facts { margin: 28px 0 10px; display: grid; border-top: 1px solid var(--line); }
.pdp-facts div { display: grid; grid-template-columns: 140px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pdp-facts dt { color: var(--muted); font-weight: 600; font-size: 15px; }
.pdp-facts b { font: 700 34px/1 var(--slab); }
.pdp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pdp-desc { margin-top: 32px; }

/* ---------------------------------------------------------------- made to order + local */
.make { background: var(--ink); color: var(--on-ink); position: relative; }
.make::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 16px;
  background:
    linear-gradient(315deg, transparent 50%, #fff 50%) 0 0 / 20px 16px repeat-x,
    linear-gradient(45deg, transparent 50%, #fff 50%) 0 0 / 20px 16px repeat-x;
}
.make-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.make h2 { color: #fff; font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 22px; }
.make-copy > p { color: var(--on-ink-muted); max-width: 58ch; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink-3); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 700; font-size: 15px; color: var(--gold); margin-bottom: 12px; }
.steps h3 { font-size: 24px; color: #fff; margin-bottom: 6px; }
.steps p { color: var(--on-ink-muted); font-size: 15px; }
.make-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.make-img { background: var(--kraft-3); border-radius: var(--r); padding: 8%; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.make-img img { mix-blend-mode: multiply; max-height: 100%; width: auto; }

.local-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.local h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 20px; }
.local p + p { margin-top: 20px; }
.local p { max-width: 58ch; }
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; padding: clamp(28px, 4vw, 44px); background: var(--kraft-3); border-radius: var(--r); }
.section-tight .numbers { grid-template-columns: repeat(4, 1fr); }
.numbers div { display: flex; flex-direction: column; }
.numbers dd { font: 700 clamp(38px, 4.4vw, 64px)/1 var(--slab); }
.numbers dt { margin-top: 8px; color: #5b4a35; font-weight: 600; }

/* ---------------------------------------------------------------- articles (content pages + blog) */
.article-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.article-in.narrow { grid-template-columns: minmax(0, 760px); justify-content: center; }
.prose { font-size: 18px; line-height: 1.7; max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 2.8vw, 38px); margin-top: 1.6em; }
.prose h3 { font-size: 23px; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.prose ol { counter-reset: o; }
.prose ol li { counter-increment: o; padding-left: 32px; position: relative; }
.prose ol li::before { content: counter(o) "."; position: absolute; left: 0; font-weight: 700; color: var(--gold-text); }
.prose a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.prose a:hover { color: var(--gold-text); }
.prose strong { font-weight: 700; }
.aside { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 20px; }
.aside-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--kraft-3); }
.aside-card { background: var(--ink); color: var(--on-ink); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; }
.aside-card h2 { color: #fff; font-size: 28px; }
.aside-card p { color: var(--on-ink-muted); font-size: 15px; }
.post-meta { color: var(--muted); font-size: 15px; }
.post-img { border-radius: var(--r); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--kraft-3); }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card a { display: grid; gap: 10px; text-decoration: none; height: 100%; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: var(--kraft-3); margin-bottom: 6px; transition: opacity .2s; }
.post-card a:hover img { opacity: .88; }
.post-card time { color: var(--gold-text); font-size: 14px; font-weight: 600; }
.post-card h2, .post-card h3 { font-size: 24px; line-height: 1.15; }
.post-card a:hover h2, .post-card a:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.post-card p { color: var(--muted); font-size: 16px; }
.post-card .more { font-weight: 700; font-size: 15px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--kraft-3); position: relative; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 48px); max-width: 18ch; }
.cta-band p { margin-top: 10px; color: #5b4a35; max-width: 50ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { border-color: rgba(29, 31, 35, .3); color: var(--ink); }
.cta-band .btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .4); }

/* ---------------------------------------------------------------- contact */
.contact-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-side h2, .form-h { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.info dt { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.info a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.contact-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.form { background: var(--stone); padding: clamp(24px, 4vw, 44px); border-radius: var(--r); display: grid; gap: 18px; }
.form-h { margin-bottom: 4px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: grid; gap: 7px; }
.f > span { font-weight: 600; font-size: 15px; }
.f small { font-weight: 400; color: var(--muted); }
.f input, .f textarea {
  width: 100%; font: 17px/1.4 var(--sans); color: var(--text); background: #fff;
  border: 1px solid #d8d3c9; border-radius: var(--r); padding: 13px 14px; min-height: 52px;
}
.f textarea { resize: vertical; min-height: 150px; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(217, 164, 65, .35); }
.f [aria-invalid="true"] { border-color: #b42318; }
.btn-send { justify-self: start; min-width: 220px; }
.btn-send[disabled] { opacity: .6; cursor: progress; }
.fine { color: var(--muted); font-size: 13px; }
.fine a { color: inherit; }
.note { padding: 14px 16px; border-radius: var(--r); font-weight: 600; background: #fbe9e7; color: #9a1c12; }
.note.ok { background: #e3f1e8; color: #145a37; }
.form-items { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.form-items-h { font-weight: 700; margin-bottom: 8px; }
.form-items ul { display: grid; gap: 4px; margin-bottom: 10px; font-size: 15px; }
.form-items li { display: flex; justify-content: space-between; gap: 12px; }
.form-items li b { white-space: nowrap; }
.map-sec { line-height: 0; background: var(--line); }
.map-sec iframe { width: 100%; height: clamp(320px, 40vw, 460px); border: 0; filter: grayscale(.8) contrast(1.05); }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink); color: var(--on-ink-muted); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand img { width: 170px; margin-bottom: 18px; }
.foot-brand p { max-width: 28ch; }
.foot h2 { font: 700 13px/1 var(--sans); color: #fff; margin-bottom: 14px; }
.foot a { color: var(--on-ink); text-decoration: none; line-height: 1.9; }
.foot a:hover { color: var(--gold); }
.foot-hours { margin-top: 10px; }
.foot-bottom { margin-top: 56px; padding-top: 22px; padding-bottom: 72px; border-top: 1px solid var(--ink-3); display: flex; justify-content: flex-start; align-items: center; gap: 12px 32px; flex-wrap: wrap; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.foot .link { color: var(--on-ink); font-weight: 400; text-decoration: none; }
.foot .link:hover { color: var(--gold); }

/* social + share */
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink-2); color: var(--on-ink); line-height: 1; }
.social a:hover { background: var(--gold); color: var(--ink); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.share-label { font-weight: 700; font-size: 15px; margin-right: 6px; }
.share a, .share button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.prose .share a { text-decoration: none; }

/* ---------------------------------------------------------------- WhatsApp, drawer, toast, consent, zoom */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 28px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45);
}
.wa svg { width: 26px; height: 26px; }
.wa:hover { background: #187a41; }

.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(15, 16, 19, .55); animation: fade .2s ease-out; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; display: flex; flex-direction: column; animation: slide .28s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.x { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; border-radius: var(--r); }
.x:hover { background: var(--stone); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-empty { padding: 32px 0; color: var(--muted); }
.qlist li { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.q-name { font-weight: 600; line-height: 1.3; }
.q-unit { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); }
.qty button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 20px; }
.qty button:hover { background: var(--stone); }
.qty input { width: 56px; height: 38px; border: 0; text-align: center; font: 600 16px var(--sans); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.q-remove { grid-column: 1 / -1; justify-self: start; background: none; border: 0; color: var(--muted); font-size: 14px; text-decoration: underline; cursor: pointer; padding: 0; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.drawer-foot .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
body.lock { overflow: hidden; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: var(--r); font-weight: 600; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }
body.lock .toast { bottom: 104px; }

.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 110; width: min(440px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 14px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .35); font-size: 15px;
}
.consent[hidden] { display: none; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { flex: 1; min-height: 46px; }

.zoom { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 90vh; overflow: visible; }
.zoom::backdrop { background: rgba(15, 16, 19, .88); }
.zoom img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: var(--r); background: #fff; }
.zoom .x { position: absolute; top: -52px; right: 0; color: #fff; }
.zoom .x:hover { background: rgba(255, 255, 255, .1); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .menu a { padding: 10px 9px; font-size: 15px; }
  .quote-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .quote-btn { padding: 0 7px; }
  .foot-in { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 > :nth-child(n + 7) { display: none; }
}
@media (max-width: 1024px) {
  :root { --head-h: 68px; }
  .strip { display: none; }
  .brand img { width: 120px; }
  .burger { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; margin-right: -10px; }
  .burger > span:first-child, .burger > span:first-child::before, .burger > span:first-child::after { content: ""; display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .burger > span:first-child::before { position: absolute; top: -7px; }
  .burger > span:first-child::after { position: absolute; top: 7px; }
  .burger[aria-expanded="true"] > span:first-child { background: transparent; }
  .burger[aria-expanded="true"] > span:first-child::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] > span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
  .menu { position: fixed; top: var(--head-h); left: 0; right: 0; height: calc(100vh - var(--head-h)); height: calc(100dvh - var(--head-h)); z-index: 59; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px var(--gut) 28px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
  .menu:not(.is-open) { display: none; }
  .menu a { padding: 16px 0; font: 700 26px/1 var(--slab); border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu a[aria-current="page"]::after { left: 0; right: auto; width: 40px; bottom: -1px; }
  .menu a:hover { background: none; }
  .menu .menu-cta, .menu .menu-tel { display: block; margin: 20px 0 0; border: 0; text-align: center; font: 700 17px/1 var(--sans); padding: 18px; border-radius: var(--r); }
  .menu .menu-tel { margin-top: 10px; background: var(--ink); color: #fff; }
  .quote-btn { margin-left: auto; height: 44px; }
  .catalog-in, .article-in, .contact-in, .make-in, .local-in, .pdp-in { grid-template-columns: 1fr; }
  .filters, .aside { position: static; }
  .cat-list { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .cat-list a { flex: none; border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px; }
  .cat-list a[aria-current="page"] { border-color: var(--ink); }
  .filters-card { display: none; }
  .aside { grid-template-columns: 1fr 1fr; }
  .make-img { aspect-ratio: 16 / 10; }
  .make-img img { max-height: 340px; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .posts > :nth-child(3) { display: none; }
}
@media (max-width: 760px) {
  .programs-in { grid-template-columns: 1fr; }
  .program { grid-template-rows: 200px auto; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-4 > :nth-child(n + 5) { display: none; }
  .section-tight .numbers { grid-template-columns: 1fr 1fr; }
  .aside { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .posts > :nth-child(3) { display: grid; }
  .hero-in { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(20, 21, 24, .78) 0%, rgba(20, 21, 24, .92) 60%, rgba(20, 21, 24, .97) 100%); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-cta .btn, .cta-actions .btn, .contact-quick .btn, .pdp-cta .btn { flex: 1 1 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero-stats div { padding-left: 10px; }
  .hero-stats dt { font-size: 12px; }
  .facts-in { grid-template-columns: 1fr; gap: 14px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card h3 { font-size: 15px; }
  .card-det { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; }
  .price b { font-size: 23px; }
  .add { width: 100%; height: 40px; }
  .cat { grid-template-columns: 56px 1fr; }
  .cat img { width: 56px; height: 56px; }
  .info, .form .row { grid-template-columns: 1fr; }
  .btn-send { width: 100%; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 28px; }
  .prose { font-size: 17px; }
  .pdp-facts div { grid-template-columns: 110px 1fr; }
  .wa { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
  .wa span { display: none; }
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .strip, .head, .wa, .foot, .cta-band, .drawer, .consent { display: none !important; }
}
