@font-face{font-family:"Vazirmatn";src:url("fonts/Vazirmatn.woff2") format("woff2");font-weight:100 900;font-display:swap;}
/* Working copy. Order follows the reference page: header, hero (two photos, desktop and phone), about, services, products (5 categories in the brushed-metal frame), certificates, articles, contact, footer. Light page ground; dark brushed-metal tiles with glowing yellow edges are the icon language, taken from the supplied photos. Mobile gets a floating metal dock. */
:root {
  --bg: #f4f5f6;
  --surface: #ffffff;
  --ink: #16171a;
  --mute: #5b5f66;
  --line: #dcdfe3;
  --cat: #ffc20e;
  --cat-ink: #2a2200;
  --metal: #0c0c0d;
  --metal-2: #1c1d1f;
  --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { direction: rtl; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.9; overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.4; text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--cat); outline-offset: 3px; }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 72rem; margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 700; color: var(--mute); }
.eyebrow::before { content: ""; width: .6rem; height: .6rem; background: var(--cat); display: block; }
.sec { padding-block: clamp(3.5rem, 8vw, 6rem); }
.sec-head { display: grid; gap: .7rem; max-width: 38rem; margin-bottom: 2.5rem; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.sec-head p { color: var(--mute); }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* icon language: dark brushed-metal tile, chamfered corners, glowing yellow edge, yellow line glyph */
.ic { width: 3.4rem; height: 3.4rem; flex: none; display: block; color: var(--cat); overflow: visible; }
.ic.lg { width: 4.4rem; height: 4.4rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.5rem; font: 700 .9375rem var(--font); text-decoration: none; line-height: 1.5; border: 2px solid var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--cat); color: var(--ink); border-color: var(--cat); }
.btn-yellow { background: var(--cat); border-color: var(--cat); color: var(--ink); }
.btn-yellow:hover { background: #fff; border-color: #fff; }
.btn-line { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .55rem; }
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.logo img { height: 2.8rem; width: auto; display: block; }
.logo b { font-weight: 800; font-size: 1.1rem; display: block; line-height: 1.25; }
.logo small { font-size: .6rem; letter-spacing: .22em; color: var(--mute); display: block; direction: ltr; text-align: right; }
.bar nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.bar nav::-webkit-scrollbar { display: none; }
.bar ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.bar nav a { display: block; padding: .4rem .8rem; font-size: .9375rem; color: var(--mute); text-decoration: none; border-bottom: 2px solid transparent; }
.bar nav a:hover { color: var(--ink); border-color: var(--cat); }
.bar .btn { padding: .5rem 1.2rem; flex: none; }

/* hero: phone photo under 768px, desktop photo above. Sizes come from the hero's own width (container units) so type and photo scale together. */
.hero { position: relative; background: var(--metal); color: #fff; container-type: inline-size; }
.stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--metal); }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.copy { display: contents; }
.hero-top { position: absolute; z-index: 2; top: 25cqw; left: 4.5cqw; width: 55cqw; }
.hero-top .eyebrow { color: #d5d6da; font-size: 2.9cqw; line-height: 1.6; }
.hero-top .eyebrow::before { width: 2.2cqw; height: 2.2cqw; }
.hero h1 { font-size: 8.6cqw; line-height: 1.3; margin-top: 2cqw; color: #fff; }
.hero h1 .hl { color: var(--cat); }
.hero-rest { position: relative; z-index: 2; padding: 1.5rem max(16px, env(safe-area-inset-left, 0px)) 2rem max(16px, env(safe-area-inset-right, 0px)); }
.hero .lead { color: #d0d1d5; max-width: 34rem; }
.hero .btns { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.strip { background: var(--metal); border-top: 1px solid rgba(255, 194, 14, .5); box-shadow: 0 -1px 18px rgba(255, 194, 14, .18); color: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.1rem; }
.strip div { display: flex; align-items: baseline; gap: .6rem; }
.strip b { color: var(--cat); font-size: 1.25rem; font-weight: 800; }
.strip span { color: #b9bac0; font-size: .875rem; }
@media (min-width: 769px) {
  .hero { display: grid; }
  .stage { grid-area: 1 / 1; width: 100%; min-width: 0; aspect-ratio: 16 / 9; max-height: 50rem; min-height: 31rem; }
  .stage img { object-position: 72% 40%; }
  .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 9, .5), rgba(8, 8, 9, 0) 58%); pointer-events: none; }
  .copy { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; width: 46cqw; margin-left: 6cqw; margin-right: auto; padding-block: 2rem; }
  .hero-top { position: static; width: auto; }
  .hero-top .eyebrow { font-size: clamp(.75rem, 1.3cqw, .9rem); }
  .hero-top .eyebrow::before { width: .6rem; height: .6rem; }
  .hero h1 { font-size: clamp(2.3rem, 5.4cqw, 5rem); margin-top: .8rem; }
  .hero-rest { padding: 1.2rem 0 0; }
  .hero .lead { font-size: clamp(.9rem, 1.35cqw, 1.1rem); line-height: 1.9; }
}

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.about-grid p { color: var(--mute); }
.about-grid p + p { margin-top: 1rem; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feat { background: var(--bg); border: 1px solid var(--line); padding: 1.3rem 1.2rem; min-width: 0; }
.feat .ic { margin-bottom: .8rem; }
.feat h3 { font-size: 1.05rem; }
.feat p { font-size: .875rem; margin-top: .25rem; color: var(--mute); line-height: 1.7; }

/* services */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tile { position: relative; padding: 2rem; display: flex; flex-direction: column; gap: .8rem; min-height: 15rem; min-width: 0; overflow: hidden; }
.tile h3 { font-size: 1.6rem; }
.tile p { max-width: 24rem; }
.tile .more { margin-top: auto; font-weight: 700; font-size: .9rem; text-decoration: none; border-bottom: 2px solid currentColor; align-self: flex-start; padding-bottom: .1rem; }
.t-main { grid-column: span 3; grid-row: span 2; background: var(--cat); color: var(--cat-ink); min-height: 31rem; }
.t-main h3 { font-size: 2.4rem; }
.t-dark { grid-column: span 3; background: var(--ink); color: #fff; }
.t-dark p { color: #bfc2c8; }
.t-dark .more { color: var(--cat); }
.t-light { grid-column: span 3; background: var(--surface); border: 1px solid var(--line); }
.t-light p { color: var(--mute); }

/* products */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 768px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } }
@media (max-width: 340px) { .prod-grid { grid-template-columns: minmax(0, 1fr); } }
.prod { background: var(--surface); border: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; }
.pf { position: relative; aspect-ratio: 1 / 1; background: var(--metal); display: grid; place-items: center; overflow: hidden; }
.pf > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pf .gl { position: relative; width: 42%; height: 42%; color: var(--cat); filter: drop-shadow(0 0 6px rgba(255, 194, 14, .65)); }
.pf .soon { position: absolute; top: 6%; inset-inline-end: 8%; font-size: .6875rem; color: #c9cacf; letter-spacing: .04em; }
.pcap { padding: 1rem 1.1rem 1.2rem; }
.pcap h3 { font-size: 1.05rem; }
.pcap p { color: var(--mute); font-size: .8125rem; line-height: 1.7; margin-top: .15rem; }
.prod.more-card { border: 1px dashed #b9bdc3; background: transparent; justify-content: center; align-items: center; text-align: center; padding: 1.5rem 1rem; color: var(--mute); gap: .5rem; min-height: 12rem; }
.prod.more-card b { color: var(--ink); font-size: 1.05rem; }
.cta-box { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: var(--metal); color: #fff; padding: 1.6rem 2rem; border-inline-start: 4px solid var(--cat); }
.cta-box b { font-size: 1.2rem; display: block; }
.cta-box span { color: #bfc2c8; font-size: .9375rem; }

/* certs */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.cert { background: var(--bg); border: 1px solid var(--line); padding: 1.4rem; min-width: 0; display: flex; gap: 1rem; align-items: center; }
.cert .ic { width: 3rem; height: 3rem; }
.cert b { display: block; direction: ltr; text-align: right; font-size: 1.5rem; font-weight: 800; line-height: 1.4; }
.cert span { color: var(--mute); font-size: .85rem; line-height: 1.6; display: block; }

/* articles */
.empty { border: 1px dashed #b9bdc3; padding: 2.5rem 1.5rem; text-align: center; color: var(--mute); max-width: 40rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.info { list-style: none; margin: 0; padding: 0; }
.info li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.info li:last-child { border-bottom: 1px solid var(--line); }
.info .k { color: var(--mute); font-size: .9rem; }
.info .v { font-weight: 700; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; }
.info .ltr { direction: ltr; unicode-bidi: plaintext; text-align: right; }
.copy-btn { font: 700 .75rem var(--font); background: var(--cat); border: 0; padding: .15rem .7rem; cursor: pointer; color: var(--ink); }
.copy-btn:hover { background: var(--ink); color: #fff; }
.map { margin-top: 1.5rem; min-height: 13rem; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 2.5rem 2.5rem,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 2.5rem 2.5rem, var(--surface);
  border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--mute); font-size: .875rem; }
.pin { width: 2.4rem; height: 2.4rem; background: var(--cat); clip-path: polygon(50% 100%, 8% 45%, 8% 20%, 30% 0, 70% 0, 92% 20%, 92% 45%); display: block; margin: 0 auto .4rem; }
form.card { background: var(--surface); border: 1px solid var(--line); padding: 1.8rem; display: grid; gap: 1rem; }
form.card .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fld { display: grid; gap: .3rem; min-width: 0; }
.fld label { font-size: .875rem; font-weight: 700; }
.fld input, .fld select, .fld textarea { font: 400 1rem var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); padding: .6rem .8rem; width: 100%; border-radius: 0; }
.fld textarea { min-height: 7rem; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: #fff; }
.note { font-size: .8125rem; color: var(--mute); }
.status { font-size: .9375rem; font-weight: 700; }
.status[hidden] { display: none; }

footer { background: var(--metal); color: #b4b7bd; border-top: 3px solid var(--cat); }
footer .wrap { padding-block: 2.5rem 1.6rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
footer h4 { margin: 0 0 .6rem; color: #fff; font-size: 1rem; font-weight: 800; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; font-size: .9rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cat); }
footer p { font-size: .9rem; line-height: 1.8; }
footer .copy-line { grid-column: 1 / -1; border-top: 1px solid #2c2d31; padding-top: 1.2rem; font-size: .8125rem; }

/* floating dock, phones only */
.dock { display: none; }
@media (max-width: 768px) {
  .bar nav { display: none; }
  .bar .btn { padding: .4rem .95rem; font-size: .8125rem; }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-main, .t-dark, .t-light { grid-column: auto; grid-row: auto; min-height: 14rem; }
  .t-main { min-height: 18rem; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  form.card .row { grid-template-columns: minmax(0, 1fr); }
  .info li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .strip .wrap { justify-content: flex-start; }
  .dock { display: flex; position: fixed; z-index: 55; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 24rem; margin-inline: auto; gap: .2rem; padding: .35rem; background: linear-gradient(180deg, rgba(38, 39, 42, .95), rgba(14, 14, 15, .96)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 194, 14, .4); border-radius: 1.4rem; box-shadow: 0 14px 34px rgba(0, 0, 0, .55), 0 0 22px rgba(255, 194, 14, .14); }
  .dock a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .5rem .2rem .4rem; border-radius: 1.1rem; color: #b6b7bc; text-decoration: none; font-size: .6875rem; line-height: 1.5; transition: background .25s, color .25s; }
  .dock svg { width: 1.4rem; height: 1.4rem; color: inherit; overflow: visible; }
  .dock a.on { background: rgba(255, 194, 14, .13); color: var(--cat); font-weight: 800; }
  .dock a.on svg { filter: drop-shadow(0 0 4px rgba(255, 194, 14, .85)); }
  footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .dock a { transition: none; } }

/* ---------- shared additions ---------- */
.bar nav a[aria-current="page"] { color: var(--ink); border-color: var(--cat); font-weight: 700; }

/* ---------- products page ---------- */
.phero { position: relative; isolation: isolate; background: var(--metal); color: #fff; overflow: hidden; border-bottom: 1px solid rgba(255, 194, 14, .55); box-shadow: 0 6px 26px rgba(255, 194, 14, .12); }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(8, 8, 9, .78), rgba(8, 8, 9, .35) 70%, rgba(8, 8, 9, .15)); }
.phero .wrap { padding-block: clamp(2.2rem, 5vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .1rem .5rem; list-style: none; margin: 0 0 .9rem; padding: 0; font-size: .8125rem; color: #bfc0c6; }
.crumbs li + li::before { content: "/"; margin-inline-end: .5rem; color: #6d6e74; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cat); }
.crumbs [aria-current] { color: #fff; }
.phero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.35; }
.phero p { margin-top: .6rem; max-width: 34rem; color: #d0d1d5; }

.shop { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.side { position: sticky; top: 5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; min-width: 0; }
.box { background: var(--surface); border: 1px solid var(--line); padding: 1.1rem; min-width: 0; }
.box h2 { font-size: .9375rem; margin-bottom: .7rem; }
.search { position: relative; }
.search input { width: 100%; font: 400 .9375rem var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); padding: .6rem .8rem; padding-inline-end: 2.6rem; border-radius: 0; }
.search input:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: #fff; }
.search svg { position: absolute; inset-inline-end: .75rem; top: 50%; transform: translateY(-50%); width: 1.2rem; height: 1.2rem; color: var(--mute); pointer-events: none; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.cats button { width: 100%; display: flex; align-items: center; gap: .7rem; background: none; border: 0; border-inline-start: 3px solid transparent; padding: .4rem .55rem; font: 500 .9375rem var(--font); color: var(--ink); cursor: pointer; text-align: start; }
.cats button:hover { background: var(--bg); }
.cats button[aria-pressed="true"] { background: var(--bg); border-inline-start-color: var(--cat); font-weight: 800; }
.cats .ic { width: 2rem; height: 2rem; }
.cats .n { margin-inline-start: auto; font-size: .8rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.box-dark { background: var(--metal); color: #fff; border: 0; border-inline-start: 4px solid var(--cat); }
.box-dark p { color: #c3c4c9; font-size: .875rem; line-height: 1.8; }
.box-dark b { display: block; direction: ltr; text-align: right; font-size: 1.15rem; margin-top: .5rem; }
.box-dark .btn { margin-top: .8rem; width: 100%; justify-content: center; }

.bar-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.bar-top .count { font-size: .9375rem; color: var(--mute); }
.bar-top .count b { color: var(--ink); font-weight: 800; }
.bar-top .now { font-weight: 800; }

.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.prod { position: relative; transition: border-color .2s, box-shadow .2s; }
.prod:hover { border-color: var(--cat); box-shadow: 0 0 0 1px var(--cat), 0 14px 30px rgba(22, 23, 26, .12); }
.prod .gl { transition: transform .25s; }
.prod:hover .gl { transform: scale(1.07); }
.prod[hidden] { display: none; }
.chip { position: absolute; top: 6%; inset-inline-start: 6%; z-index: 2; background: var(--cat); color: var(--cat-ink); font-size: .6875rem; font-weight: 800; padding: .08rem .6rem; line-height: 1.7; }
.pcap .code { display: block; margin-top: .1rem; direction: ltr; text-align: right; font-size: .75rem; color: var(--mute); letter-spacing: .06em; }
.pcap h3 a { text-decoration: none; }
.pcap h3 a:hover { text-decoration: underline; text-decoration-color: var(--cat); text-underline-offset: .25em; text-decoration-thickness: 2px; }
.pact { display: flex; gap: .5rem; margin-top: .9rem; }
.pact a { flex: 1 1 0; min-width: 0; text-align: center; font-weight: 700; font-size: .8125rem; padding: .4rem .5rem; text-decoration: none; border: 1px solid var(--ink); line-height: 1.7; }
.pact .primary { background: var(--ink); color: #fff; }
.pact .primary:hover { background: var(--cat); border-color: var(--cat); color: var(--ink); }
.pact .ghost:hover { background: var(--ink); color: #fff; }
.pempty { border: 1px dashed #b9bdc3; padding: 3rem 1.5rem; text-align: center; color: var(--mute); display: grid; gap: .8rem; justify-items: center; }
.pempty[hidden] { display: none; }
.pempty b { color: var(--ink); font-size: 1.1rem; }
.pempty button { font: 700 .875rem var(--font); background: var(--ink); color: #fff; border: 0; padding: .5rem 1.2rem; cursor: pointer; }
.pempty button:hover { background: var(--cat); color: var(--ink); }

@media (max-width: 1000px) {
  .shop { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .side { position: static; }
  .side .box-dark, .side .box-more, .side .box-cat-title { display: none; }
  .box.cats-box { padding: 0; border: 0; background: none; }
  .cats { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 0 .5rem; scrollbar-width: none; scroll-snap-type: x proximity; }
  .cats::-webkit-scrollbar { display: none; }
  .cats li { flex: none; scroll-snap-align: start; }
  .cats button { width: auto; white-space: nowrap; border: 1px solid var(--line); background: var(--surface); padding: .3rem .8rem .3rem .5rem; gap: .5rem; }
  .cats button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
  .cats button[aria-pressed="true"] .n { color: #c9cacf; }
  .cats .ic { width: 1.7rem; height: 1.7rem; }
  .cats .n { margin-inline-start: .2rem; }
}
@media (max-width: 768px) {
  .pf .soon { display: none; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .pact { flex-direction: column; gap: .4rem; }
}
@media (max-width: 340px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .prod, .prod .gl { transition: none; } }

/* ---------- single product page ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gal { position: sticky; top: 5rem; min-width: 0; }
.gal .main { position: relative; aspect-ratio: 1 / 1; background: var(--metal); overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; }
.gal .main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal .main .gl { position: relative; width: 38%; height: 38%; color: var(--cat); filter: drop-shadow(0 0 8px rgba(255, 194, 14, .7)); }
.gal .main .soon { position: absolute; top: 5%; inset-inline-end: 6%; font-size: .75rem; color: #c9cacf; }
.gal .chip { top: 5%; inset-inline-start: 5%; font-size: .75rem; padding: .1rem .8rem; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-top: .6rem; }
.thumbs button { position: relative; aspect-ratio: 1 / 1; padding: 0; border: 2px solid var(--line); background: var(--metal); cursor: pointer; overflow: hidden; display: grid; place-items: center; }
.thumbs button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.thumbs button svg { position: relative; width: 40%; height: 40%; color: var(--cat); }
.thumbs button[aria-pressed="true"] { border-color: var(--cat); box-shadow: 0 0 0 1px var(--cat), 0 0 14px rgba(255, 194, 14, .35); }
.thumbs button:hover { border-color: var(--cat); }

.info { min-width: 0; }
.info .tag { display: inline-block; background: var(--cat); color: var(--cat-ink); font-size: .75rem; font-weight: 800; padding: .08rem .8rem; line-height: 1.8; }
.info h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.4; margin-top: .6rem; }
.info .code { display: block; margin-top: .3rem; direction: ltr; text-align: right; color: var(--mute); letter-spacing: .08em; font-size: .9rem; }
.info .lead { margin-top: 1rem; color: var(--mute); line-height: 2; }
.info .acts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.info .origin { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--cat); }
.info .origin svg { width: 2.4rem; height: 2.4rem; flex: none; }
.info .origin small { display: block; color: var(--mute); font-size: .75rem; }
.info .origin b { font-size: 1rem; }

.specs { margin-top: 2rem; background: var(--surface); border: 1px solid var(--line); }
.specs h2 { font-size: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--bg); }
.specs dl { margin: 0; }
.specs .r { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .7rem 1.2rem; border-bottom: 1px solid var(--line); }
.specs .r:last-child { border-bottom: 0; }
.specs dt { color: var(--mute); font-size: .9rem; }
.specs dd { margin: 0; font-weight: 700; font-size: .9375rem; }
.specs dd.ltr { direction: ltr; text-align: right; }

#product-page .feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
#product-page .feat, .ab-vals .feat { display: flex; gap: .9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); padding: 1.1rem; }
#product-page .feat .ic, .ab-vals .feat .ic { width: 3rem; height: 3rem; flex: none; margin-bottom: 0; }
#product-page .feat h3, .ab-vals .feat h3 { font-size: 1rem; }
#product-page .feat p, .ab-vals .feat p { color: var(--mute); font-size: .8125rem; line-height: 1.8; margin-top: .15rem; }

.rel-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: clamp(2.2rem, 5vw, 3.5rem) 0 1rem; }
.rel-h h2 { font-size: 1.3rem; }
.rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.buybar { display: none; }
@media (max-width: 1000px) { .rel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .pd { grid-template-columns: minmax(0, 1fr); }
  .gal { position: static; }
}
@media (max-width: 768px) {
  .specs .r { grid-template-columns: 7.5rem minmax(0, 1fr); gap: .6rem; padding: .65rem 1rem; }
  .rel { gap: .7rem; }
  .buybar { display: flex; gap: .5rem; position: fixed; z-index: 54; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(5.9rem + env(safe-area-inset-bottom, 0px)); max-width: 24rem; margin-inline: auto; }
  .buybar a { flex: 1 1 0; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); padding: .55rem .8rem; }
  .pd-page { padding-bottom: 5rem; }
}

/* ---------- contact page ---------- */
.ct { text-align: center; max-width: 44rem; margin-inline: auto; }
.ct .big-logo { width: clamp(7rem, 22vw, 10rem); height: auto; margin: 0 auto; display: block; }
.ct h1 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); line-height: 1.4; margin-top: 1rem; }
.ct .slogan { color: var(--mute); margin-top: .3rem; }
.ct .bar-y { display: block; width: 3.5rem; height: 4px; background: var(--cat); margin: 1.1rem auto 0; }
.cways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; text-align: start; }
.cway { display: flex; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--line); padding: 1rem 1.1rem; text-decoration: none; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.cway:hover { border-color: var(--cat); box-shadow: 0 0 0 1px var(--cat), 0 12px 26px rgba(22, 23, 26, .1); }
.cway .ic { width: 3.2rem; height: 3.2rem; flex: none; }
.cway small { display: block; color: var(--mute); font-size: .8rem; }
.cway b { display: block; direction: ltr; text-align: right; font-size: 1.05rem; overflow-wrap: anywhere; }
.cform-wrap { max-width: 44rem; margin: 1.5rem auto 0; text-align: start; }
.cform-wrap h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.mapbox { margin-top: clamp(2rem, 5vw, 3.5rem); }
.mapbox h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.mapfr { position: relative; height: clamp(18rem, 42vw, 26rem); background: #e4e6e9; border: 1px solid var(--line); border-bottom: 4px solid var(--cat); overflow: hidden; }
.mapfr iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapfr .fb { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); font-size: .9rem; padding: 1rem; text-align: center; }
.maplinks { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; margin-top: .9rem; }
.maplinks address { font-style: normal; font-weight: 700; }
.maplinks .acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.maplinks .btn { padding: .45rem 1.1rem; font-size: .8125rem; }
@media (max-width: 600px) { .cways { grid-template-columns: minmax(0, 1fr); } }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* ---------- clients marquee ---------- */
.clients { padding-block: clamp(2.2rem, 5vw, 3.2rem); }
.clients .sec-head { margin-bottom: 1.5rem; }
.mq { direction: ltr; overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.mq:hover .mq-track, .mq:focus-within .mq-track { animation-play-state: paused; }
.mq-set { display: flex; flex: none; }
.cl { direction: rtl; flex: none; width: 12.5rem; height: 5.5rem; margin: .9rem .6rem; display: grid; place-items: center; text-align: center; padding: .5rem 1rem; border: 1px solid var(--line); background: var(--bg); color: #7a7e86; font-weight: 800; font-size: 1.02rem; line-height: 1.5; filter: grayscale(1); opacity: .85; transition: filter .25s, opacity .25s, color .25s, border-color .25s; text-decoration: none; }
.cl img { max-width: 100%; max-height: 3.4rem; object-fit: contain; }
.cl:hover { filter: none; opacity: 1; color: var(--ink); border-color: var(--cat); }
.cl.ph { border-style: dashed; font-weight: 500; font-size: .8125rem; color: #9a9ea6; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .mq-set { flex-wrap: wrap; justify-content: center; }
  .mq-set[aria-hidden="true"] { display: none; }
  .mq { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- about page ---------- */
.ab-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ab-intro p { color: var(--mute); line-height: 2.05; }
.ab-intro p + p { margin-top: 1rem; }
.ab-img { position: relative; aspect-ratio: 1 / 1; background: var(--metal); overflow: hidden; border: 1px solid var(--line); border-bottom: 4px solid var(--cat); display: grid; place-items: center; }
.ab-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-img .gl { position: relative; width: 34%; height: 34%; color: var(--cat); filter: drop-shadow(0 0 8px rgba(255, 194, 14, .7)); }
.ab-img .soon { position: absolute; top: 5%; inset-inline-end: 6%; font-size: .75rem; color: #c9cacf; }
.ceo { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--cat); padding: .9rem 1.1rem; }
.ceo .ic { width: 3rem; height: 3rem; flex: none; }
.ceo small { display: block; color: var(--mute); font-size: .8rem; }
.ceo b { font-size: 1.05rem; }
.nums { background: var(--metal); color: #fff; border-block: 1px solid rgba(255, 194, 14, .5); box-shadow: 0 0 22px rgba(255, 194, 14, .14); }
.nums .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-block: 1.8rem; text-align: center; }
.nums b { display: block; color: var(--cat); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.3; }
.nums span { color: #c3c4c9; font-size: .875rem; }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mv .box { padding: 1.6rem; }
.mv .box .ic { width: 3.2rem; height: 3.2rem; }
.mv h3 { font-size: 1.2rem; margin-top: .9rem; }
.mv p { color: var(--mute); margin-top: .4rem; line-height: 2; }
.sample { display: inline-block; margin-inline-start: .6rem; font-size: .6875rem; font-weight: 700; color: #7a5a00; background: #fff3c4; border: 1px dashed #d9a800; padding: 0 .5rem; vertical-align: middle; }
.ab-vals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1000px) { .ab-vals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .ab-intro, .mv { grid-template-columns: minmax(0, 1fr); }
  .nums .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
}
@media (max-width: 480px) { .ab-vals { grid-template-columns: minmax(0, 1fr); } .cl { width: 10rem; height: 4.8rem; } }
