/* ==========================================================================
   广州矢古信息科技有限责任公司 · htsstudio.top
   纯 CSS 视觉系统：无图片、无外部字体、无框架
   ========================================================================== */

:root {
  --bg: #120f14;
  --bg-soft: #1a1520;
  --plum: #45334a;
  --plum-lift: #5c4563;
  --paper: #fffefe;
  --text: #f1ecf3;
  --muted: #a89eb0;
  --accent: #d8c3ac;
  --line: rgba(255, 254, 254, 0.1);
  --line-strong: rgba(255, 254, 254, 0.18);

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC",
    "SimSun", Georgia, serif;

  --wrap: 1080px;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: transparent;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.78;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 氛围层：径向光晕 + 细网格，全部由 CSS 绘制 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 12% -12%, rgba(92, 69, 99, 0.55), transparent 62%),
    radial-gradient(900px 520px at 100% 4%, rgba(128, 96, 138, 0.2), transparent 58%),
    radial-gradient(800px 700px at 50% 120%, rgba(69, 51, 74, 0.45), transparent 60%),
    linear-gradient(180deg, #171220 0%, var(--bg) 58%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 254, 254, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 254, 254, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 78%);
}

::selection {
  background: rgba(216, 195, 172, 0.28);
  color: var(--paper);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

img,
svg {
  max-width: 100%;
}

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--paper);
  color: #2a2130;
  border-radius: 0 0 10px 0;
  font-size: 0.9rem;
  text-decoration: none;
}

.skip:focus {
  left: 0;
}

/* ---------- 页头 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 15, 20, 0.74);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, var(--plum-lift), #2c2133);
  box-shadow: inset 0 1px 0 rgba(255, 254, 254, 0.16);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.32;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: 100%;
}


.brand-wordmark {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.brand-en {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.nav a {
  padding: 0.4rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: var(--paper);
  background: rgba(255, 254, 254, 0.06);
}

.nav a[aria-current="page"] {
  color: var(--paper);
  border-color: var(--line-strong);
  background: rgba(255, 254, 254, 0.07);
}

.head-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* 语言菜单：原生 details，无需 JavaScript */
.lang-menu {
  position: relative;
}

.lang-menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.62rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lang-menu > summary::-webkit-details-marker {
  display: none;
}

.lang-menu > summary::after {
  content: "▾";
  font-size: 0.7em;
  color: var(--muted);
}

.lang-menu > summary:hover,
.lang-menu[open] > summary {
  border-color: rgba(255, 254, 254, 0.34);
  background: rgba(255, 254, 254, 0.06);
}

.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 60;
  min-width: 12rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #201a26;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.95);
}

.lang-menu li a,
.lang-menu li span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.65rem;
  border-radius: 9px;
  font-size: 0.86rem;
  color: var(--muted);
  text-decoration: none;
}

.lang-menu li a:hover {
  color: var(--paper);
  background: rgba(255, 254, 254, 0.07);
}

.lang-menu li span[aria-current="true"] {
  color: var(--paper);
  background: rgba(255, 254, 254, 0.09);
}

.lang-menu .code {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 254, 254, 0.32);
}

/* 拉丁字母语言：副标题不需要中文字距 */
:lang(en) .coming .display span,
:lang(fr) .coming .display span,
:lang(de) .coming .display span,
:lang(pt) .coming .display span {
  letter-spacing: 0.06em;
}

/* 英文版标题使用西文衬线，避免中文字体的拉丁字形 */
:lang(en) h1,
:lang(en) blockquote,
:lang(en) .display,
:lang(en) .foot-brand,
:lang(en) .code {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

/* ---------- 主体 ---------- */

main {
  flex: 1 0 auto;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.2;
  color: var(--paper);
}

:lang(en) body {
  letter-spacing: 0;
}

.lead {
  margin: 1.15rem 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 0.35vw + 0.9rem, 1.08rem);
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn .arrow {
  transition: transform 0.18s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-primary {
  color: #2a2130;
  background: linear-gradient(180deg, var(--paper), #ece5ef);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 254, 254, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 254, 254, 0.32);
  background: rgba(255, 254, 254, 0.07);
  transform: translateY(-1px);
}

/* 首页右侧信息面板 */
.panel {
  padding: 1.4rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 254, 254, 0.055), rgba(255, 254, 254, 0.018));
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.85);
}

.panel-title {
  margin: 0 0 1.05rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed rgba(255, 254, 254, 0.08);
  font-size: 0.86rem;
}

.fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact dt {
  color: var(--muted);
  flex: 0 0 auto;
}

.fact dd {
  margin: 0;
  color: var(--paper);
  text-align: right;
  word-break: break-word;
}

.fact a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 254, 254, 0.2);
}

.fact a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- 区块 ---------- */

.section {
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--paper);
}

.section-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 254, 254, 0.045), rgba(255, 254, 254, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, transparent, rgba(216, 195, 172, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 254, 254, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card .num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.card h3 {
  margin: 0.5rem 0 0.45rem;
  font-size: 1.04rem;
  color: var(--paper);
}

.card p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.75;
  color: var(--muted);
}

.card a,
.contact a:not(.btn) {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 195, 172, 0.4);
}

.card a:hover,
.contact a:not(.btn):hover {
  border-bottom-color: var(--accent);
}

/* 引文 / 关于摘要 */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-title {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--paper);
}

.split p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.split p:last-child {
  margin-bottom: 0;
}

blockquote {
  margin: 0;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(216, 195, 172, 0.7);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.6;
  color: var(--paper);
}

blockquote cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 联系条 */
/* 产品卡片 */
.grid-products {
  display: grid;
  gap: 1rem;
}

.grid-products.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-products.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-products.cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.product {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
  overflow: hidden;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 254, 254, 0.045), rgba(255, 254, 254, 0.012));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.product:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 254, 254, 0.2);
}

.product-cover {
  display: block;
  flex: 0 0 clamp(124px, 31%, 190px);
  align-self: flex-start;
  aspect-ratio: 1 / 1.75;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(92, 69, 99, 0.7), rgba(20, 16, 24, 0.9));
}

.product-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-cover-empty {
  display: grid;
  place-items: center;
  height: 100%;
  width: 100%;
  font-family: var(--display);
  font-size: 2.6rem;
  color: rgba(255, 254, 254, 0.22);
}

.product-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.product-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, var(--plum-lift), #2c2133);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--paper);
}

.product-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.1rem 0 0;
}

.product-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--paper);
}

.product-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.products-status {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-more {
  margin-top: 1.4rem;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(69, 51, 74, 0.5), rgba(255, 254, 254, 0.02));
}

.contact h2 {
  font-size: 1.12rem;
  color: var(--paper);
}

.contact p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- 内页 ---------- */

.page-head {
  max-width: 68ch;
  padding-block: clamp(0.5rem, 2vw, 1.5rem) clamp(0.5rem, 1.5vw, 0.9rem);
}

.page-head .lead {
  margin-top: 0.9rem;
}

.meta {
  margin: 1.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.prose {
  max-width: 74ch;
  color: #ded6e2;
}

.prose h2 {
  margin: 2.2rem 0 0.75rem;
  font-size: 1.08rem;
  color: var(--paper);
}

.prose p {
  margin: 0 0 1rem;
}

.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 195, 172, 0.4);
}

.prose a:hover {
  border-color: var(--accent);
}

.policy {
  max-width: 76ch;
}

.policy section {
  padding-block: 0.7rem 0.4rem;
  border-top: 1px solid var(--line);
}

.policy section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.policy h2 {
  margin: 0.6rem 0 0.8rem;
  font-size: 1.12rem;
  color: var(--paper);
}

.policy p {
  margin: 0 0 1rem;
  color: #ded6e2;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 254, 254, 0.028);
  font-size: 0.86rem;
}

.toc a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}

.toc a:hover {
  color: var(--paper);
  border-bottom-color: var(--accent);
}

.hint {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.email-copy {
  color: var(--text);
  border-bottom: 1px dashed rgba(255, 254, 254, 0.28);
  cursor: text;
  -webkit-user-select: all;
  user-select: all;
  word-break: break-all;
}

.notice {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 254, 254, 0.03);
  font-size: 0.88rem;
  color: var(--muted);
}

.notice strong {
  color: var(--text);
}

.notice p {
  margin: 0.4rem 0 0;
}

.notice--spaced {
  margin-bottom: 1.6rem;
}

/* 产品页 */
.coming {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem);
}

.coming .display {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.18;
  color: var(--paper);
}

.coming .display span {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-top: 0.9rem;
}

/* 404 */
.center-page {
  min-height: 46vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.4rem;
}

.code {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 1;
  color: rgba(255, 254, 254, 0.14);
  letter-spacing: 0.06em;
}

/* ---------- 页脚 ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 1.8rem 2.4rem;
  margin-top: auto;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}

.foot-brand {
  margin: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--paper);
}

.foot-meta {
  margin: 0;
}

.foot-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 254, 254, 0.16);
}

.foot-meta a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- 响应式 ---------- */

@media (max-width: 920px) {
  .hero,
  .coming {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-products.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(var(--wrap), 100% - 1.75rem);
  }

  body {
    line-height: 1.72;
  }

  .head-inner {
    gap: 0.6rem;
  }

  .head-tools {
    width: 100%;
    justify-content: space-between;
  }

  /* 手机上语言按钮靠左，菜单改为左对齐展开，避免向右溢出 */
  .lang-menu ul {
    left: 0;
    right: auto;
  }


  .nav {
    width: auto;
    flex: 1 1 auto;
    gap: 0.15rem;
  }

  .nav a {
    padding: 0.35rem 0.6rem;
    font-size: 0.82rem;
  }

  .grid-3,
  .grid-2,
  .grid-products.cols-2,
  .grid-products.cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .fact {
    flex-direction: column;
    gap: 0.15rem;
  }

  .fact dd {
    text-align: left;
  }

  .contact {
    align-items: flex-start;
  }

  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
