/* Zhekar Company — public website
   Brand red is sampled from the logo (#A62D31). Layout uses logical
   properties so the same rules serve LTR (en) and RTL (ar, ckb). */

:root {
  --red: #A62D31;
  --red-700: #8C2429;
  --red-50: #FBF0F0;
  --red-100: #F4DADB;
  --ink: #111111;
  --ink-700: #2B2B2B;
  --ink-500: #5F5F5F;
  --ink-300: #9A9A9A;
  --line: #E6E6E6;
  --bg: #FFFFFF;
  --bg-2: #F7F7F8;
  --dark: #141414;
  --dark-2: #1F1F1F;
  --on-dark: #F4F4F4;
  --on-dark-muted: #A9A9A9;
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .06), 0 1px 1px rgba(17, 17, 17, .04);
  --shadow: 0 14px 36px rgba(17, 17, 17, .10);
  --shadow-red: 0 10px 28px rgba(166, 45, 49, .28);
  --container: 1200px;
  --gutter: 20px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Inter', 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ls-tight: -0.02em;
  --ls-caps: 0.12em;
}

html[dir="rtl"] {
  --font: 'Vazirmatn', 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --ls-tight: 0;
  --ls-caps: 0;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: var(--ls-tight); font-weight: 800; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { line-height: 1.4; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 1000; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); }
.h3 { font-size: 1.25rem; }
.lead { font-size: 1.125rem; color: var(--ink-500); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red); font-weight: 700; font-size: .82rem;
  letter-spacing: var(--ls-caps); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.muted { color: var(--ink-500); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .h2 { margin-bottom: 14px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-700); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .9rem; border-radius: 10px; }
.btn .icon { width: 18px; height: 18px; }
.link { color: var(--red); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover .icon { transform: translateX(3px); }
html[dir="rtl"] .link:hover .icon { transform: translateX(-3px); }

/* ---------- icons ---------- */
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .icon--flip { transform: scaleX(-1); }
.icon-box {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--red-50); color: var(--red); margin-bottom: 20px;
}
.icon-box--dark { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(17, 17, 17, .05); }
.header__row { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--ink-700); font-size: .95rem; transition: background .2s, color .2s; }
.nav__links a:hover { background: var(--bg-2); color: var(--ink); }
.nav__links a.is-active { color: var(--red); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang a { padding: 6px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--ink-500); line-height: 1; transition: background .2s, color .2s; }
.lang a:hover { color: var(--ink); }
.lang a.is-active { background: var(--ink); color: #fff; }
.nav__toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; place-items: center; cursor: pointer; }
.nav__toggle .icon--close { display: none; }
.header.is-open .nav__toggle .icon--menu { display: none; }
.header.is-open .nav__toggle .icon--close { display: block; }

@media (max-width: 980px) {
  .nav__toggle { display: grid; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: var(--nav-h); background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(17, 17, 17, .10);
    flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--gutter) 20px; margin: 0;
  }
  .header.is-open .nav { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { padding: 12px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--bg-2); border-radius: 0; }
  .nav__actions { justify-content: space-between; padding-top: 8px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset-inline-end: -18vw; top: -30vh; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(166, 45, 49, .14), rgba(166, 45, 49, 0)); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(17, 17, 17, .08) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 70%); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 70%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__copy .h1 { margin: 0 0 20px; max-width: 12ch; }
html[dir="rtl"] .hero__copy .h1 { max-width: 16ch; }
.hero__copy .h1 em { font-style: normal; color: var(--red); }
.hero__copy .lead { max-width: 52ch; margin-bottom: 30px; font-size: 1.2rem; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-500); font-size: .92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 18px; height: 18px; color: var(--red); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 14px; aspect-ratio: 1; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--big { grid-column: span 2; grid-row: span 2; }

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 16px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat__n { font-size: 2.4rem; font-weight: 800; color: var(--red); letter-spacing: var(--ls-tight); line-height: 1; }
.stat__l { margin-top: 8px; color: var(--ink-500); font-size: .95rem; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .h2, .section--dark .h3 { color: #fff; }
.section--dark .muted, .section--dark .lead { color: var(--on-dark-muted); }
.section--dark .eyebrow { color: #F0A3A6; }
.section--dark .eyebrow::before { background: #F0A3A6; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); aspect-ratio: 5 / 6; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; inset-inline-end: -14px; bottom: 32px; background: var(--red); color: #fff; border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow-red); line-height: 1.1;
}
.about__badge b { display: block; font-size: 2rem; font-weight: 800; }
.about__badge span { font-size: .85rem; opacity: .9; }
.about__copy .h2 { margin-bottom: 20px; }
.about__copy p { color: var(--ink-500); font-size: 1.05rem; }
.quote { margin: 26px 0 0; padding-inline-start: 20px; border-inline-start: 3px solid var(--red); font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.quote footer { margin-top: 8px; font-size: .9rem; color: var(--ink-500); font-weight: 500; }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .h3 { margin-bottom: 10px; }
.card p { color: var(--ink-500); }
.card__step { font-size: .8rem; font-weight: 700; color: var(--ink-300); letter-spacing: var(--ls-caps); text-transform: uppercase; margin-bottom: 12px; }
.card--dark { background: var(--dark-2); border-color: rgba(255, 255, 255, .08); }
.card--dark p { color: var(--on-dark-muted); }
.card--dark:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, .4); border-color: rgba(255, 255, 255, .16); }

/* sectors */
.sector { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.sector + .sector { border-top: 1px solid var(--line); }
.sector:nth-child(even) .sector__media { order: 2; }
.sector__media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.sector__copy .h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.sector__copy p { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 20px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; color: var(--ink-700); }
.checks .icon { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.sector__num { display: inline-block; font-weight: 800; color: var(--red); font-size: .9rem; margin-bottom: 10px; letter-spacing: var(--ls-caps); }

/* products */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard__media { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--bg-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; }
.pcard__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { font-size: .78rem; color: var(--ink-300); font-weight: 600; text-transform: uppercase; letter-spacing: var(--ls-caps); }
.pcard__name { font-size: .98rem; font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__price { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--red); font-size: 1.05rem; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pcard__price small { font-size: .78rem; color: var(--ink-500); font-weight: 600; }
.badge { display: inline-block; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 72px 20px; color: var(--ink-500); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* locations */
.loc-group { margin-bottom: 40px; }
.loc-group:last-child { margin-bottom: 0; }
.loc-group__title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.loc-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc { display: grid; grid-template-columns: 220px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.loc:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.loc__media { background: var(--bg-2); }
.loc__media img { width: 100%; height: 100%; object-fit: cover; }
.loc__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.loc__kind { font-size: .78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: var(--ls-caps); }
.loc__name { font-size: 1.1rem; }
.loc__addr { color: var(--ink-500); font-size: .95rem; }
.loc__body .link { margin-top: auto; padding-top: 8px; font-size: .92rem; }

/* contact */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact__list { display: grid; gap: 14px; margin-top: 30px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
a.contact__item:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.contact__item .icon-box { width: 44px; height: 44px; border-radius: 12px; margin: 0; }
.contact__item .icon { width: 20px; height: 20px; }
.contact__item b { display: block; color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: var(--ls-caps); margin-bottom: 2px; }
.contact__item span { color: var(--ink-700); font-size: 1.02rem; direction: ltr; unicode-bidi: isolate; }
.app-card { background: var(--dark); color: var(--on-dark); border-radius: var(--radius-lg); padding: 40px 36px; position: relative; overflow: hidden; }
.app-card::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; inset-inline-end: -140px; top: -160px; background: radial-gradient(closest-side, rgba(166, 45, 49, .55), rgba(166, 45, 49, 0)); }
.app-card > * { position: relative; }
.app-card .h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.app-card p { color: var(--on-dark-muted); margin-bottom: 24px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: #fff; color: var(--ink); border: 1px solid #fff; transition: transform .25s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store .icon { width: 22px; height: 22px; }
.store small { display: block; font-size: .68rem; line-height: 1; color: var(--ink-500); font-weight: 600; }
.store b { display: block; font-size: .98rem; line-height: 1.2; }
.app-card__hours { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--on-dark-muted); font-size: .92rem; }
.app-card__hours b { color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 36ch; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: var(--ls-caps); margin-bottom: 16px; font-weight: 700; }
.footer ul li { margin-bottom: 10px; font-size: .95rem; }
.footer ul a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: #F0A3A6; }
.footer__contact span { direction: ltr; unicode-bidi: isolate; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; }
.footer__bottom a:hover { color: #fff; }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- inner pages ---------- */
.page-head { padding: 48px 0 28px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-500); margin-bottom: 14px; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-hidden] { color: var(--ink-300); }
.page-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head .h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.page-head .lead { max-width: 56ch; }
.search { display: flex; gap: 8px; width: min(100%, 440px); }
.search input {
  flex: 1; min-width: 0; height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; font: inherit; background: #fff; color: var(--ink);
}
.search input:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 600; color: var(--ink-700); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { color: inherit; opacity: .6; font-weight: 600; }
.results { color: var(--ink-500); font-size: .92rem; margin-bottom: 18px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; font-size: .92rem; border: 1px solid var(--line); background: #fff; color: var(--ink-700); }
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .is-disabled { color: var(--ink-300); }
.pagination .ellipsis { border: 0; }

/* product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd__main { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: grid; place-items: center; padding: 18px; }
.pd__main img { width: 100%; height: 100%; object-fit: contain; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pd__thumbs button { width: 76px; height: 76px; flex: none; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; padding: 4px; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.pd__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.pd__thumbs button:hover, .pd__thumbs button.is-active { opacity: 1; border-color: var(--red); }
.pd__cat { display: inline-block; background: var(--red-50); color: var(--red); padding: 5px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; margin-bottom: 16px; }
.pd__title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 16px; }
.pd__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.pd__price b { font-size: 2rem; color: var(--red); font-weight: 800; }
.pd__price small { color: var(--ink-500); font-weight: 600; }
.pd__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.pd__meta div { background: var(--bg-2); border-radius: 12px; padding: 14px 16px; }
.pd__meta .label { font-size: .75rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: var(--ls-caps); font-weight: 700; }
.pd__meta .value { font-weight: 700; color: var(--ink); margin-top: 4px; }
.in-stock { color: #1A7F37; }
.out-stock { color: var(--red); }
.pd__label { font-size: .78rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: var(--ls-caps); font-weight: 700; margin-bottom: 8px; }
.pd__desc { color: var(--ink-700); margin-bottom: 24px; white-space: pre-line; }
.swatches { display: flex; gap: 10px; margin-bottom: 22px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.pd__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* prose (privacy policy) */
.prose { max-width: 780px; }
.prose h1 { font-size: 2.2rem; margin-bottom: 8px; }
.prose .updated { color: var(--ink-500); margin-bottom: 32px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.prose p, .prose li { margin-bottom: 10px; color: var(--ink-700); }
.prose ul { padding-inline-start: 22px; list-style: disc; }
.prose a { color: var(--red); text-decoration: underline; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .pcard, .tile, .loc { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pgrid, .grid-4, .why { grid-template-columns: repeat(3, 1fr); }
  .loc { grid-template-columns: 180px 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy .h1 { max-width: none; }
  .mosaic { max-width: 560px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__media img { aspect-ratio: 4 / 3; }
  .about__badge { inset-inline-end: 16px; bottom: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 1fr; gap: 28px; }
  .sector:nth-child(even) .sector__media { order: 0; }
  .contact { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .brand img { height: 38px; }
  .section { padding: 56px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 12px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat__n { font-size: 2rem; }
  .pgrid, .grid-4, .why { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pcard__body { padding: 12px 12px 14px; }
  .pcard__name { font-size: .9rem; }
  .card { padding: 26px 22px; }
  .loc { grid-template-columns: 1fr; }
  .loc__media { aspect-ratio: 16 / 9; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .search { width: 100%; }
  .page-head__row { margin-bottom: 14px; }
  .hero__cta .btn { flex: 1; }
  .pd__meta { grid-template-columns: 1fr; }
}

/* ---------- error pages ---------- */
.error-page { max-width: 640px; margin-inline: auto; text-align: center; padding: 40px 0; }
.error-page .eyebrow::before { display: none; }
.error-page .h1 { margin-bottom: 16px; }
.error-page__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
