@charset "utf-8";

/* ==========================================================================
   厨味膳食材网 - 官方网站样式
   主色调取自品牌视觉规范：主色 #d05534 / 品牌绿 #0f7a5f / 时尚黑 #4f4d50
   ========================================================================== */

:root {
  --brand: #d05534;
  --brand-dark: #b0401f;
  --brand-soft: #fdf2ee;
  --green: #0f7a5f;
  --green-soft: #eaf5f0;
  --ink: #4f4d50;
  --ink-2: #807d80;
  --gray: #b4b4b4;
  --line: #ece7e2;
  --warm: #fbf8f5;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 6px 24px rgba(79, 77, 80, 0.06);
  --shadow-lg: 0 20px 50px rgba(79, 77, 80, 0.12);
  --max: 1180px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section--warm {
  background: var(--warm);
}

.section--green {
  background: var(--green-soft);
}

/* ---------- 通用标题 ---------- */

.sec-head {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.sec-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--brand);
  text-transform: uppercase;
}

.sec-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 10px 0 14px;
}

.sec-head p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: 15.5px;
}

.sec-head .rule {
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), #e8855f);
  margin: 18px auto 0;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: all 0.28s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(208, 85, 52, 0.26);
}

.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(208, 85, 52, 0.32);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ==========================================================================
   顶部导航
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.brand-name em {
  font-style: normal;
  color: var(--brand);
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gray);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.site-nav a:hover {
  color: var(--brand);
}

.site-nav a:hover::after {
  width: 20px;
}

.site-nav a.is-active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.site-nav a.is-active::after {
  display: none;
}

/* ==========================================================================
   首页 Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(128deg, #fdf5f1 0%, #f9f5f0 42%, #eaf5f0 100%);
  padding: clamp(52px, 7vw, 100px) 0 clamp(56px, 7vw, 104px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 460px;
  height: 460px;
  top: -190px;
  right: -110px;
  background: radial-gradient(circle, rgba(208, 85, 52, 0.13), transparent 68%);
}

.hero::after {
  width: 380px;
  height: 380px;
  bottom: -170px;
  left: -120px;
  background: radial-gradient(circle, rgba(15, 122, 95, 0.13), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(208, 85, 52, 0.2);
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.hero-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 50px);
  margin: 22px 0 0;
  letter-spacing: 0.01em;
}

.hero h1 span {
  color: var(--brand);
}

.hero-desc {
  margin-top: 20px;
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(79, 77, 80, 0.08);
}

.hero-stats .item strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}

.hero-stats .item span {
  font-size: 13.5px;
  color: var(--ink-2);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-logo-card {
  width: min(370px, 88%);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.hero-logo-card img {
  width: 100%;
  border-radius: 14px;
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 14px 34px rgba(79, 77, 80, 0.14);
  font-size: 14px;
  font-weight: 600;
  animation: float 5s ease-in-out infinite;
}

.float-badge b {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.float-badge small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
}

.float-badge .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.badge-1 {
  top: 8%;
  left: -2%;
}

.badge-1 .ic {
  background: var(--brand-soft);
  color: var(--brand);
}

.badge-2 {
  bottom: 9%;
  right: -2%;
  animation-delay: 1.6s;
}

.badge-2 .ic {
  background: var(--green-soft);
  color: var(--green);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- 滚动条幅 ---------- */

.marquee {
  background: var(--ink);
  color: #f0edee;
  overflow: hidden;
  padding: 14px 0;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.marquee-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: scroll-x 30s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.marquee-track span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 品类卡片 ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow: hidden;
}

.cat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #e8855f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s ease;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.cat-card:hover::before {
  transform: scaleX(1);
}

.cat-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 20px;
  transition: transform 0.4s ease;
}

.cat-card:hover img {
  transform: scale(1.07);
}

.cat-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.cat-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  min-height: 52px;
}

.cat-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.cat-tags i {
  font-style: normal;
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--warm);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

/* ---------- 优势区 ---------- */

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: all 0.32s ease;
}

.adv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.adv-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--brand-soft);
  color: var(--brand);
}

.adv-card:nth-child(even) .adv-ic {
  background: var(--green-soft);
  color: var(--green);
}

.adv-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.adv-card p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- 关于区 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-panel {
  position: relative;
  background: linear-gradient(150deg, var(--brand) 0%, #ba4726 55%, var(--green) 190%);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  color: #fff;
  box-shadow: 0 24px 56px rgba(208, 85, 52, 0.24);
  overflow: hidden;
}

.about-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.about-panel h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 16px;
}

.about-panel p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.about-panel .facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.about-panel .facts strong {
  display: block;
  font-size: 24px;
  line-height: 1.3;
}

.about-panel .facts span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.about-body h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 18px;
}

.about-body p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}

.about-list .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
}

/* ---------- CTA ---------- */

.cta {
  background: linear-gradient(120deg, #4f4d50 0%, #3d3b3e 100%);
  border-radius: var(--radius-lg);
  padding: clamp(38px, 5vw, 58px) clamp(28px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 85, 52, 0.5), transparent 70%);
}

.cta-text {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.cta-text h3 {
  color: #fff;
  font-size: clamp(21px, 2.5vw, 28px);
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   内页 Banner
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 6vw, 76px) 0;
  background: linear-gradient(128deg, #fdf5f1 0%, #f9f5f0 48%, #eaf5f0 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -130px;
  top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 85, 52, 0.12), transparent 68%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.crumb {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.crumb a {
  color: var(--ink-2);
}

.crumb a:hover {
  color: var(--brand);
}

.crumb i {
  font-style: normal;
  margin: 0 8px;
  color: var(--gray);
}

.page-hero h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--ink-2);
  max-width: 680px;
  font-size: 15.5px;
}

/* ==========================================================================
   内容组件
   ========================================================================== */

.prose h3 {
  font-size: 19px;
  margin: 28px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  line-height: 1.4;
}

.prose p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-bottom: 14px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list .k {
  flex-shrink: 0;
  width: 108px;
  color: var(--gray);
}

.info-list .v {
  color: var(--ink);
  font-weight: 500;
  word-break: break-all;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: all 0.32s ease;
}

.gallery figure:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.gallery img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--warm);
}

.gallery figcaption {
  margin-top: 16px;
  font-weight: 600;
  font-size: 15.5px;
}

.gallery p {
  font-size: 13.8px;
  color: var(--ink-2);
  margin-top: 6px;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tag-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: all 0.3s ease;
}

.tag-box:hover {
  border-color: rgba(208, 85, 52, 0.4);
  box-shadow: var(--shadow);
}

.tag-box h4 {
  font-size: 16.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.tag-box h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--brand);
  flex-shrink: 0;
}

.tag-box:nth-child(even) h4::before {
  background: var(--green);
}

.tag-box .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-box .tags i {
  font-style: normal;
  font-size: 13px;
  padding: 5px 13px;
  border-radius: 8px;
  background: var(--warm);
  color: var(--ink-2);
}

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--brand-soft);
  border: 1px solid rgba(208, 85, 52, 0.18);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14.5px;
  color: #8d4a34;
}

.notice svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer {
  background: #3f3d40;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 38px;
  padding-bottom: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  padding: 3px;
  object-fit: contain;
}

.footer-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.footer-brand .n {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-brand .s {
  font-size: 11px;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
}

.footer-about {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  max-width: 320px;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  transition: color 0.24s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.65;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .copyright {
  line-height: 1.9;
}

.footer-bottom .copyright strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.icp-link {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.24s ease;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.28);
  padding-bottom: 1px;
}

.icp-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.72);
}

.footer-note {
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.34);
  padding: 0 0 22px;
  line-height: 1.8;
}

/* ---------- 入场动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .float-badge {
    display: none;
  }

  .adv-grid,
  .tag-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    height: 64px;
    gap: 12px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-sub {
    display: none;
  }

  .site-nav {
    gap: 2px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    padding: 7px 11px;
    font-size: 14px;
  }

  .cat-grid,
  .gallery,
  .qual-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .cat-card p {
    min-height: 0;
  }

  .hero-stats {
    gap: 26px;
    margin-top: 34px;
  }

  .hero-stats .item strong {
    font-size: 22px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-panel .facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .adv-grid,
  .tag-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 150px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
