/* Yeasten — Guangxi Huishengyuan Trading Co., Ltd. */
:root {
  --ink: #10201C;
  --ink-2: #46574F;
  --ink-3: #7A8A83;
  --line: #E2EAE6;
  --bg: #FFFFFF;
  --bg-2: #F4F8F6;
  --brand: #0F5F4B;
  --brand-2: #17846A;
  --brand-soft: #E8F3EF;
  --accent: #C79A2E;
  --danger: #B3261E;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 32, 28, .06), 0 8px 24px rgba(16, 32, 28, .06);
  --wrap: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.28; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding-left: 1.15em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section--alt { background: var(--bg-2); }
.section--tight {
  padding: 24px 0; background: var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cert-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; }
.cert-strip__title { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.cert-strip__badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cert-strip__badges .cert-pill { background: #fff; }
.cert-strip__more { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-2); margin-bottom: 12px;
}
.lead { font-size: 17px; color: var(--ink-2); }
.muted { color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: .18s;
  font-family: inherit; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #0B4B3B; }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--accent { background: var(--accent); color: #23180A; }
.btn--sm { padding: 8px 14px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- topbar + nav ---------- */
.topbar {
  background: #0B4B3B; color: #CFE3DC; font-size: 13px;
}
.topbar__in {
  max-width: var(--wrap); margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #CFE3DC; }
.topbar__links { display: flex; gap: 18px; flex-wrap: wrap; }

.header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.header__in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px;
}
.brand__txt { line-height: 1.2; min-width: 0; }
.brand__name {
  display: block; font-weight: 800; color: var(--ink); font-size: 16px; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand__sub { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2); font-weight: 600; font-size: 14.5px; padding: 8px 13px;
  border-radius: 7px; text-decoration: none;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.nav a.is-active { color: var(--brand); background: var(--brand-soft); }

.lang { display: flex; gap: 2px; background: var(--bg-2); padding: 3px; border-radius: 8px; }
.lang button {
  border: 0; background: transparent; font: inherit; font-size: 12.5px; font-weight: 700;
  color: var(--ink-3); padding: 5px 10px; border-radius: 6px; cursor: pointer;
}
.lang button.is-active { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

.burger { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 10px; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: #062A21;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slides::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(5, 34, 27, .90) 0%, rgba(7, 46, 36, .58) 38%, rgba(10, 74, 57, .14) 100%);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.1s ease;
  transform-origin: center;
}
.hero__img.is-on { opacity: 1; animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.055); } }
.hero__dots {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 4;
  display: flex; justify-content: center; gap: 10px;
}
.hero__dot {
  width: 26px; height: 4px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .32); cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.hero__dot:hover { background: rgba(255, 255, 255, .6); }
.hero__dot.is-on { width: 40px; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero__img { transition: none; }
  .hero__img.is-on { animation: none; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .07; z-index: 2; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero__in {
  position: relative; z-index: 3; max-width: var(--wrap); margin: 0 auto;
  padding: 96px 24px 104px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.hero h1 { color: #fff; font-size: 44px; margin-bottom: 18px; }
.hero p { color: #CCE2DA; font-size: 17px; max-width: 560px; }
.hero__tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; background: rgba(5, 36, 28, .40);
  border: 1px solid rgba(255, 255, 255, .26); color: #EAF5F1; margin-bottom: 22px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.hero__stat {
  background: rgba(5, 36, 28, .48); border: 1px solid rgba(255, 255, 255, .20);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  border-radius: var(--radius); padding: 20px;
}
.hero__stat b { display: block; font-size: 27px; color: #fff; line-height: 1.2; }
.hero__stat span { font-size: 13px; color: #B9D6CC; }

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: .2s;
}
.card:hover { border-color: #C9DAD3; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px;
}

/* ---------- certification cards (about) ---------- */
.cert-card { display: flex; flex-direction: column; }
.cert-card__label {
  display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; color: var(--brand); background: var(--brand-soft);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 12px;
}
.cert-card__name { font-size: 18px; margin: 0 0 6px; line-height: 1.4; }
.cert-card__role { font-size: 13.5px; font-weight: 600; color: var(--brand-2); margin: 0 0 8px; }
.cert-card__meta { font-size: 13px; color: var(--ink-3); margin: 0 0 20px; line-height: 1.65; }
.cert-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.cert-pill {
  display: inline-block; padding: 5px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line);
}
.cert-note { font-size: 13px; color: var(--ink-3); margin: 22px 0 0; line-height: 1.7; }
.cert-wall__card { padding: 30px; }
.cert-wall { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-wall .cert-pill { font-size: 13.5px; padding: 8px 15px; }

/* ---------- category card with photo ---------- */
.cat-card { display: block; text-decoration: none; color: inherit; padding: 0; overflow: hidden; position: relative; }
.cat-card:hover { text-decoration: none; }
.cat-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}
.cat-card__body { padding: 20px 22px 24px; }
.cat-card__n { font-size: 12px; font-weight: 700; color: var(--brand-2); letter-spacing: .1em; }

/* ---------- sub page banner ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(5, 34, 27, .94) 0%, rgba(8, 52, 41, .80) 46%, rgba(10, 74, 57, .55) 100%),
    url('../img/site/hero.jpg') center / cover no-repeat;
}
.page-hero__in { max-width: var(--wrap); margin: 0 auto; padding: 58px 24px 62px; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero .lead { color: #C9E0D8; max-width: 720px; margin: 0; }
.page-hero .eyebrow { color: #8FD3BE; }

/* ---------- image cards band ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.shot__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot__body { padding: 18px 20px 22px; }
.shot__body h3 { font-size: 16.5px; margin-bottom: 6px; }
.shot__body p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

/* ---------- split / collage ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); display: block; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.collage img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.collage img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* ---------- product ---------- */
.toolbar {
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 30px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: .16s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.search {
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px;
  font: inherit; font-size: 14.5px; min-width: 240px; outline: none;
}
.search:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft); }

.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.p-card:hover { border-color: #C9DAD3; box-shadow: var(--shadow); transform: translateY(-2px); }
/* fixed ratio keeps every thumbnail identical no matter the source image */
.p-card__thumb {
  aspect-ratio: 4 / 3; display: grid; place-items: center; color: #fff;
  font-size: 34px; font-weight: 800; letter-spacing: .04em; position: relative; overflow: hidden;
}
.p-card__thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.p-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; min-height: 0; }
/* every text block is flex:none — nothing may be squeezed away by a short container */
.p-card__cat { flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); }
.p-card__name {
  flex: none; font-size: 16.5px; font-weight: 700; margin: 6px 0 8px; line-height: 1.4;
  min-height: 2.8em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.p-card__spec {
  flex: none; font-size: 13px; color: var(--ink-3); margin-bottom: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.p-card__desc {
  flex: none; font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.p-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.p-card__more { font-size: 13.5px; font-weight: 700; color: var(--brand); }

.detail { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.detail--form { grid-template-columns: 1fr 360px; }
.detail__hero {
  aspect-ratio: 1 / 1; width: 100%; max-width: 520px;
  border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; color: #fff; font-size: 56px; font-weight: 800; margin-bottom: 32px;
}
.detail__hero img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.detail h1 { font-size: 32px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 34%; color: var(--ink-3); font-weight: 600; background: var(--bg-2); }
.aside {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: sticky; top: 92px;
}
.aside h3 { font-size: 17px; }
.aside__row { display: flex; gap: 10px; font-size: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.aside__row:last-of-type { border-bottom: 0; }
.aside__row b { flex: none; width: 62px; color: var(--ink-3); font-weight: 600; }

.breadcrumb { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-3); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px;
  font: inherit; font-size: 14.5px; outline: none; background: #fff; width: 100%;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft);
}
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; display: none; }
.alert.is-on { display: block; }
.alert--ok { background: var(--brand-soft); color: #0A4234; border: 1px solid #BFDFD4; }
.alert--err { background: #FDECEA; color: var(--danger); border: 1px solid #F5C6C2; }

/* ---------- misc blocks ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: 0; left: 0; font-size: 22px; font-weight: 800; color: var(--brand-2);
  opacity: .45;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-2); margin: 0; }

.prose { max-width: 800px; }
.prose h2 { margin-top: 40px; }
.prose p { color: var(--ink-2); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat-strip b { display: block; font-size: 30px; color: var(--brand); }
.stat-strip span { font-size: 13.5px; color: var(--ink-3); }

/* ---------- footer ---------- */
.footer { background: #0B2B23; color: #A9C6BC; font-size: 14px; padding: 56px 0 26px; }
.footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; letter-spacing: .04em; }
.footer a { color: #A9C6BC; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #7FA79A; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 42px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7FA79A;
}

/* ---------- admin ---------- */
.admin-body { background: var(--bg-2); min-height: 100vh; }
.admin-shell { max-width: 1160px; margin: 0 auto; padding: 28px 24px 60px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.admin-tabs button {
  border: 0; background: transparent; font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--ink-3); padding: 11px 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.admin-tabs button.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 20px; }
.panel__title { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.login-box { max-width: 420px; margin: 8vh auto 0; }
.login-box .panel { padding: 30px; }

table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 660px; }
table.data th, table.data td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
table.data tr:hover td { background: #FAFCFB; }
table.data td.actions { white-space: nowrap; }
.link-btn { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--brand); cursor: pointer; padding: 0 8px 0 0; }
.link-btn.danger { color: var(--danger); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--brand-soft); color: var(--brand); }
.badge--new { background: #FFF3D6; color: #8A6209; }
.badge--done { background: #EDEFF1; color: #5A6663; }
.empty { text-align: center; color: var(--ink-3); padding: 44px 0; font-size: 14px; }
.spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shots .shot:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; padding: 68px 24px 76px; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .detail, .detail--form { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { padding: 22px 18px 48px; }
}
@media (max-width: 820px) {
  /* narrow screens: hero copy spans full width, so swap the left-to-right scrim for a vertical one */
  .hero__slides::after {
    background: linear-gradient(180deg, rgba(5, 34, 27, .70) 0%, rgba(6, 40, 31, .78) 52%, rgba(8, 52, 41, .62) 100%);
  }
  .header__in { gap: 12px; }
  .header__in > .btn { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 15px; }
  .burger { display: block; }
  .toolbar { gap: 12px; }
  .chips { gap: 7px; width: 100%; overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .chip { flex: none; }
  .search { min-width: 0; width: 100%; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll table.data { min-width: 720px; }
  .admin-tabs { overflow-x: auto; }
  .admin-tabs button { flex: none; white-space: nowrap; }
  .panel { padding: 18px; }
  .shots { grid-template-columns: 1fr; }
  .shots .shot:last-child { grid-column: auto; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  h1 { font-size: 27px; }
  h2 { font-size: 22px; }
  h3 { font-size: 17.5px; }
  .section { padding: 50px 0; }
  .section__head { margin-bottom: 30px; }
  .lead { font-size: 15.5px; }
  .grid { gap: 18px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__stat { padding: 16px; }
  .hero__stat b { font-size: 23px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .page-hero__in { padding: 40px 18px 44px; }
  .topbar__in { padding: 7px 18px; }
  .topbar__links { gap: 12px; font-size: 12.5px; }
  .card { padding: 20px; }
  .cat-card { padding: 0; }
  .aside, .panel { padding: 20px; }
  .spec-table th { width: 40%; }
  .collage { gap: 14px; }
  .wrap { padding: 0 18px; }
}
@media (max-width: 620px) {
  /* compact horizontal product cards so long catalogues stay scannable on phones */
  .grid--4 .p-card, .grid--3 .p-card { flex-direction: row; }
  .grid--4 .p-card__thumb, .grid--3 .p-card__thumb { width: 36%; aspect-ratio: auto; flex: none; }
  .grid--4 .p-card__body, .grid--3 .p-card__body { flex: 1; min-width: 0; padding: 15px 16px; }
  .grid--4 .p-card__name, .grid--3 .p-card__name { font-size: 15.5px; margin: 4px 0 6px; min-height: 0; -webkit-line-clamp: 2; }
  .grid--4 .p-card__spec, .grid--3 .p-card__spec { font-size: 12.5px; margin-bottom: 8px; }
  .grid--4 .p-card__desc, .grid--3 .p-card__desc { font-size: 13px; margin-bottom: 12px; -webkit-line-clamp: 2; }
}
@media (max-width: 520px) {
  .topbar__links span:nth-child(2) { display: none; }   /* hide landline, keep email + WhatsApp */
  .brand__mark { width: 34px; height: 34px; font-size: 15px; border-radius: 9px; }
  .brand__name { font-size: 14.5px; }
  .brand__sub, .footer__brand .brand__sub { display: none; }
  .hero__in { padding: 46px 18px 54px; }
  .hero h1 { font-size: 28px; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat { display: flex; align-items: baseline; gap: 10px; }
  .hero__stat b { font-size: 21px; }
  .collage { grid-template-columns: 1fr; }
  .collage img:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .detail__hero { aspect-ratio: 1 / 1; }
  .btn { padding: 11px 18px; }
}
@media (hover: none) {
  .p-card:hover, .card:hover, .cat-card:hover .cat-card__media img { transform: none; }
}
