/* BiliTech — monoxrom "pill" dizayn: och kulrang fon, qora atlas kartalar, oq pill tugmalar */
:root {
  --bg: #e9e9e9;
  --ink: #0c0c0c;
  --ink2: #3a3a3a;
  --muted: #6b6b6b;
  --line: #b9b9b9;
  --r-lg: 34px;
  --r-md: 24px;
  --sh: 0 8px 18px rgba(0, 0, 0, .22), 0 2px 4px rgba(0, 0, 0, .18);
  --sh-sm: 0 4px 10px rgba(0, 0, 0, .22);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --satin:
    radial-gradient(120% 70% at 85% 10%, rgba(255, 255, 255, .10), transparent 55%),
    radial-gradient(90% 60% at 10% 90%, rgba(255, 255, 255, .07), transparent 60%),
    linear-gradient(115deg, #070707 0%, #1c1c1c 22%, #0a0a0a 40%, #232323 58%, #090909 74%, #1a1a1a 90%, #0b0b0b 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.rule { height: 2px; background: var(--line); border: 0; margin: 22px 0; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #8a8a8a; outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- navigatsiya ---------- */
.top { padding-top: 20px; }
.nav { display: flex; gap: 14px; align-items: center; }
.nav-pill {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 4px;
  background: var(--ink); color: #fff;
  border-radius: 999px; padding: 6px 10px;
  box-shadow: var(--sh);
  overflow-x: auto; scrollbar-width: none;
}
.nav-pill::-webkit-scrollbar { display: none; }
.nav-pill a, .nav-pill button {
  flex: none; border: 0; background: none; cursor: pointer;
  color: #d9d9d9; text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-pill a:hover, .nav-pill button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-pill a[aria-current="page"] { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.brand-pill {
  flex: none; display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none;
  border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 14px;
  box-shadow: var(--sh);
}
.brand-pill svg { width: 18px; height: 18px; }

/* menyu (drawer) */
.drawer { position: fixed; inset: 0; z-index: 50; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); backdrop-filter: blur(3px); }
.drawer-panel {
  position: absolute; left: 12px; top: 12px; bottom: 12px; width: min(340px, calc(100% - 24px));
  background: var(--satin); color: #fff; border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--sh); display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(-20px); opacity: 0; } }
.drawer-panel .dh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-panel .dh b { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: .04em; }
.drawer-panel a.dl {
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; padding: 13px 18px; border-radius: 999px; background: rgba(255, 255, 255, .06);
}
.drawer-panel a.dl:hover { background: #fff; color: var(--ink); }
.drawer-panel a.dl svg { width: 16px; height: 16px; }
.drawer-panel .dsub { margin: 16px 6px 4px; font-size: 11px; letter-spacing: .25em; color: #9a9a9a; }

/* ---------- umumiy elementlar ---------- */
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--ink); border: 3px solid var(--ink);
  box-shadow: var(--sh-sm); transition: transform .15s;
  text-decoration: none; padding: 0;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.on { background: var(--ink); color: #fff; border-color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  border-radius: 999px; padding: 11px 26px; font-weight: 600; font-size: 13px; letter-spacing: .04em;
  background: var(--ink); color: #fff; box-shadow: var(--sh-sm); transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; box-shadow: none; border: 2px solid currentColor; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn svg { width: 18px; height: 18px; }

.dark-card { background: var(--satin); color: #fff; border-radius: var(--r-lg); box-shadow: var(--sh); }
.white-card { background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-sm); }

.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; flex-wrap: wrap; }
.sec-title {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: .02em; text-transform: uppercase;
}
.sec-title .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font: 700 15px var(--font);
}
.more-link {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 8px 7px 22px;
  font-weight: 500; box-shadow: var(--sh-sm); font-size: 15px;
}
.more-link i { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.more-link svg { width: 16px; height: 16px; }

/* ---------- HERO ---------- */
.hero { margin-top: 4px; position: relative; }
.hero-top { display: flex; align-items: flex-end; gap: 22px; }
.search {
  flex: 1 1 55%; display: flex; align-items: center; gap: 6px; min-width: 0;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 8px 6px 22px;
  box-shadow: var(--sh); margin-bottom: 14px; position: relative;
}
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; padding: 9px 0; font-size: 14px; }
.search input::placeholder { color: #bdbdbd; }
.search button { background: none; border: 0; color: #fff; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.search button:hover { background: rgba(255, 255, 255, .1); }
.search svg { width: 19px; height: 19px; }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  background: #fff; color: var(--ink); border-radius: 22px; box-shadow: var(--sh); padding: 8px; display: none;
  max-height: 340px; overflow-y: auto;
}
.search-results.open { display: block; }
.search-results a { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; text-decoration: none; }
.search-results a:hover, .search-results a.act { background: var(--bg); }
.search-results small { color: var(--muted); margin-left: auto; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; flex: none; }
.search-results .empty { padding: 12px 14px; color: var(--muted); }

.tab {
  flex: 0 1 40%; align-self: stretch; min-height: 70px;
  background: var(--satin); color: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 18px 20px 6px;
}
.tab span { font-size: 12px; letter-spacing: .55em; padding-left: .55em; white-space: nowrap; }
.tab i { display: block; width: 78%; height: 3px; background: #8f8f8f; border-radius: 3px; }

.hero-body {
  border-radius: var(--r-lg) 0 var(--r-lg) var(--r-lg);
  padding: 28px 30px 30px; position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start;
}
.kicker { display: flex; align-items: center; margin-bottom: 26px; min-width: 0; }
.kicker b {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); z-index: 1; flex: none;
  display: grid; place-items: center; font-size: 16px; font-weight: 800; box-shadow: var(--sh-sm);
}
.kicker span {
  margin-left: -16px; padding: 8px 22px 8px 30px; border: 2px solid #fff; border-left: 0;
  border-radius: 0 999px 999px 0; font-size: 11.5px; letter-spacing: .04em; min-width: 0;
}
.hero-title {
  position: relative; margin: 0; line-height: .92; white-space: nowrap;
  font-family: var(--display); font-weight: 400; font-size: clamp(56px, 9vw, 108px); letter-spacing: -.005em;
  display: inline-block;
}
.hero-title::after { content: ''; position: absolute; left: 0; right: 0; top: 54%; height: 3px; background: #fff; }
.sticker {
  position: absolute; left: 24%; top: 47%; z-index: 1;
  background: var(--ink); color: #fff; border: 2px solid #fff; border-radius: 4px;
  font: 700 clamp(13px, 1.8vw, 19px)/1 var(--font); letter-spacing: .04em; padding: 6px 14px;
  transform: rotate(-3deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .6);
}
.slider { margin: 30px 0 4px; height: 34px; border-radius: 999px; background: #fff; position: relative; max-width: 420px; box-shadow: var(--sh-sm); }
.slider i { position: absolute; left: 22px; right: 46px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--ink); border-radius: 3px; }
.slider b { position: absolute; right: -2px; top: -5px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: var(--sh-sm); }
.slider b::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }

.hero-card { background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 20px 24px 64px; position: relative; box-shadow: var(--sh-sm); }
.hero-card .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-card .btns .btn { flex: 1; min-width: 120px; padding: 10px 18px; font-size: 12px; font-weight: 500; }
.hero-card h2 { margin: 0 0 8px; font-size: 21px; font-weight: 700; }
.hero-card p { margin: 0; color: var(--ink2); font-size: 15px; }
.hero-card .arrow-tab {
  position: absolute; right: 22px; bottom: 0; width: 98px; height: 46px; border-radius: 20px 20px 0 0;
  background: var(--ink); color: #fff; display: grid; place-items: center;
}
.hero-card .arrow-tab svg { width: 44px; height: 18px; }
.hero-icons { display: flex; gap: 30px; margin-top: 30px; }
.hero-icons .icon-btn { margin-bottom: -54px; }
.viewmore { position: absolute; right: -6px; bottom: -26px; }
.hero-spacer { height: 40px; }

/* ---------- YO'LIMIZ (timeline) ---------- */
.timeline { padding: 30px 26px 26px; }
.tl-row { margin-bottom: 30px; }
.tl-pill { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 12px; box-shadow: var(--sh-sm); }
.tl-pill div { display: flex; align-items: center; gap: 12px; min-width: 0; padding-right: 8px; }
.tl-pill b { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.tl-pill span { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-text { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.tl-text p { margin: 0; padding: 4px 22px; font-size: 13.5px; line-height: 1.45; color: #e6e6e6; border-left: 3px solid #5d5d5d; }
.tl-text p:first-child { border-left: 0; padding-left: 14px; }
.tl-foot { display: flex; gap: 12px; flex-wrap: wrap; }
.tag-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 20px; font-size: 12px; font-weight: 600; text-decoration: none; }
.tl-mobile { display: none; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.tl-mobile .it { display: flex; flex-direction: column; gap: 10px; }
.tl-mobile .it > div { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 600; }
.tl-mobile .it b { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.tl-mobile .it p { margin: 0 10px; color: #e3e3e3; font-size: 14px; }

/* ---------- KARUSEL ---------- */
.carousel { display: flex; align-items: center; gap: 14px; }
.car-track { flex: 1; min-width: 0; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 18px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.prod-card {
  flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; text-decoration: none;
  border-radius: var(--r-md); overflow: hidden; position: relative; aspect-ratio: 16 / 10;
  background: var(--satin); color: #fff; box-shadow: var(--sh); transition: transform .2s;
}
.prod-card:hover { transform: translateY(-3px); }
.prod-card img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .mono, .post-card .cover .mono { position: absolute; inset: 0 0 44px; display: grid; place-items: center; padding: 14px 22px; text-align: center; color: #fff; }
.mono span { font: 400 clamp(26px, 3.2vw, 38px)/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; position: relative; padding: 0 4px; }
.mono span::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.75); }
.prod-card .cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 8px 6px 16px; box-shadow: var(--sh-sm);
}
.prod-card .cap b { flex: 1; min-width: 0; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.badge.beta { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.badge.soon { background: #7a7a7a; }

/* ---------- POSTLAR ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; transition: transform .2s; }
.post-card:hover { transform: translateY(-3px); }
.post-card .cover { aspect-ratio: 16 / 9; background: var(--satin); position: relative; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cover .mono { inset: 0; }
.post-card .pin { position: absolute; top: 12px; left: 12px; }
.post-card .pb { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.post-card p { margin: 0; color: var(--ink2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .meta { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.empty-box { padding: 40px 20px; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ---------- ALOQA ---------- */
.contact { padding: 30px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
.contact h2 { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; margin: 0 0 14px; letter-spacing: .01em; }
.contact > div > p { color: #d6d6d6; margin: 0; }
.contact .c-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.contact .c-list a, .contact .c-list span { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #e9e9e9; }
.contact .c-list i { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; flex: none; }
.contact .c-list svg { width: 17px; height: 17px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.field {
  width: 100%; border: 0; outline: 0; background: #fff; color: var(--ink);
  border-radius: 999px; padding: 13px 22px; font-size: 14px; box-shadow: var(--sh-sm);
}
textarea.field { border-radius: 24px; min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn.light { align-self: flex-end; }
.form-note { font-size: 13px; color: #cfcfcf; min-height: 1.2em; margin: 0; }

/* ---------- FOOTER ---------- */
.footer { margin: 70px 0 24px; position: relative; }
.foot-pill { background: var(--satin); border-radius: 999px; padding: 18px 20px; box-shadow: var(--sh); }
.foot-inner {
  border: 2px solid #fff; border-radius: 999px; padding: 14px 34px; color: #fff;
  display: flex; justify-content: space-between; gap: 20px; font-size: 12.5px; letter-spacing: .4em;
}
.foot-inner span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-btn { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); width: 62px; height: 62px; }
.home-btn:hover { transform: translateX(-50%) translateY(-2px); }
.home-btn svg { width: 28px; height: 28px; }
.copy { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 14px; }
.copy a { text-decoration: none; }

/* ---------- maqola (post / dastur) ---------- */
.article-head { padding: 30px; position: relative; }
.article-head .crumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.article-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; margin: 0 0 14px; letter-spacing: .005em; overflow-wrap: anywhere; }
.article-head .lead { color: #dadada; font-size: 16px; max-width: 720px; margin: 0; }
.article-head .acts { display: flex; gap: 16px; margin-top: 24px; align-items: center; flex-wrap: wrap; }
.article-head .acts .count { font-weight: 700; margin-left: -8px; }
.article-cover { margin-top: 22px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh); }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.prose { padding: 30px clamp(20px, 5vw, 56px); font-size: 16.5px; line-height: 1.75; margin-top: 22px; overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { line-height: 1.25; margin: 1.6em 0 .5em; }
.prose h2 { font-size: 26px; } .prose h3 { font-size: 21px; } .prose h4 { font-size: 18px; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose a { font-weight: 600; text-underline-offset: 3px; }
.prose img { border-radius: 18px; margin: 1em 0; box-shadow: var(--sh-sm); }
.prose blockquote { margin: 1em 0; padding: 12px 22px; border-left: 4px solid var(--ink); background: var(--bg); border-radius: 0 18px 18px 0; }
.prose code { background: var(--bg); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose hr { border: 0; height: 2px; background: var(--line); margin: 2em 0; }
.prod-chip { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-top: 22px; text-decoration: none; }
.prod-chip .pm { width: 54px; height: 54px; border-radius: 16px; background: var(--satin); color: #fff; display: grid; place-items: center; font: 400 24px var(--display); overflow: hidden; flex: none; }
.prod-chip .pm img { width: 100%; height: 100%; object-fit: cover; }
.prod-chip > div { flex: 1; min-width: 0; }
.prod-chip small { color: var(--muted); display: block; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod-tile { display: flex; flex-direction: column; gap: 12px; }
.prod-tile .prod-card { flex: none; }
.prod-tile p { margin: 0 8px; color: var(--ink2); font-size: 14px; }

.tabs { display: inline-flex; gap: 4px; background: var(--ink); border-radius: 999px; padding: 5px; box-shadow: var(--sh-sm); }
.tabs button { border: 0; background: none; color: #cfcfcf; border-radius: 999px; padding: 8px 18px; cursor: pointer; font-weight: 600; font-size: 13px; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); z-index: 99;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 24px; box-shadow: var(--sh);
  opacity: 0; transition: .25s; pointer-events: none; font-size: 14px; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%); }
.skel { background: linear-gradient(90deg, #ddd, #eee, #ddd); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-md); }
@keyframes sk { to { background-position: -200% 0; } }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 6px 0 22px; }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; text-transform: uppercase; }
.page-search { flex: 0 1 380px; margin: 0; }

/* ---------- moslashuvchan ---------- */
@media (max-width: 900px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-icons .icon-btn { margin-bottom: 0; }
  .viewmore { position: static; justify-self: end; margin-top: -6px; }
  .hero-spacer { height: 6px; }
  .posts-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card { flex-basis: calc((100% - 22px) / 2); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 12px; }
  .nav { gap: 8px; }
  .brand-pill span { display: none; }
  .brand-pill { padding: 13px; }
  .hero-top { gap: 10px; }
  .tab { flex-basis: 34%; min-height: 58px; padding: 12px 8px 4px; }
  .tab span { font-size: 9px; letter-spacing: .3em; }
  .hero-body { padding: 22px 18px; border-radius: var(--r-md) 0 var(--r-md) var(--r-md); }
  .hero-icons { gap: 18px; }
  .timeline { padding: 20px 14px; }
  .tl-pill, .tl-text { display: none; }
  .tl-mobile { display: flex; }
  .tl-row { margin-bottom: 0; }
  .posts-grid, .products-grid { grid-template-columns: 1fr; }
  .prod-card { flex-basis: 82%; }
  .car-btn { display: none !important; }
  .foot-inner { letter-spacing: .18em; font-size: 10.5px; padding: 12px 20px; }
  .foot-pill { padding: 12px; }
  .form .row { grid-template-columns: 1fr; }
  .contact { padding: 22px 18px; }
  .contact h2 { font-size: 36px; }
  .article-head { padding: 22px 18px; }
  .page-head h1 { font-size: 36px; }
  .page-search { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
