/* 吉安市井开区倪发商贸有限公司 - 门户网站 */
:root {
  --color-bg: #e6edf6;
  /* 主表面：略带蓝的纸色，避免大块 #fff */
  --color-surface: #eef4fa;
  --color-surface-strong: #e3edf7;
  --color-text: #1a2332;
  --color-muted: #5c6b7f;
  --color-accent: #0d5c8c;
  --color-accent-hover: #094a73;
  --color-border: #c9d8e8;
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13, 92, 140, 0.1), 0 1px 0 rgba(255, 255, 255, 0.35);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #c8d8e8;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
}

/* 全页底纹：点阵 + 光带 + 蓝→薄荷纵向色带，避免一片平涂 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #d4e4f2;
  background-image: radial-gradient(
      circle at 1px 1px,
      rgba(13, 92, 140, 0.11) 1px,
      transparent 0
    ),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 52px,
      rgba(255, 255, 255, 0.04) 52px,
      rgba(255, 255, 255, 0.04) 54px
    ),
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.35) 0%,
      transparent 38%,
      transparent 62%,
      rgba(167, 243, 208, 0.18) 100%
    ),
    radial-gradient(
      ellipse 95% 75% at 100% -8%,
      rgba(56, 189, 248, 0.35),
      transparent 58%
    ),
    radial-gradient(
      ellipse 85% 65% at -5% 102%,
      rgba(52, 211, 153, 0.32),
      transparent 54%
    ),
    radial-gradient(
      ellipse 55% 45% at 50% 100%,
      rgba(251, 191, 36, 0.12),
      transparent 52%
    ),
    linear-gradient(
      180deg,
      #f3f7ff 0%,
      #dfeaf8 18%,
      #d4e8f0 42%,
      #cde9e4 62%,
      #dceaf8 82%,
      #eef4fc 100%
    );
  background-size: 20px 20px, auto, auto, auto, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat,
    no-repeat;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: linear-gradient(
    180deg,
    #e8f1f9 0%,
    #dde9f4 55%,
    #d5e3ef 100%
  );
  border-bottom: 1px solid rgba(13, 92, 140, 0.14);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(13, 92, 140, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.nav-list a {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.35rem 0;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 2px solid var(--color-accent);
}

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 3rem 1.25rem;
  overflow: hidden;
  background: linear-gradient(
      125deg,
      rgba(11, 85, 118, 0.82) 0%,
      rgba(13, 92, 140, 0.78) 38%,
      rgba(30, 78, 95, 0.82) 72%,
      rgba(26, 45, 62, 0.88) 100%
    ),
    url("../images/optimized/hero-bg.webp")
      center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      ellipse 120% 80% at 50% -20%,
      rgba(255, 255, 255, 0.18),
      transparent 55%
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 36px,
      rgba(255, 255, 255, 0.03) 36px,
      rgba(255, 255, 255, 0.03) 37px
    );
  mix-blend-mode: overlay;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 80% 60%,
    rgba(56, 189, 248, 0.15),
    transparent 45%
  );
}

.hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.hero p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6fc 100%);
  color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(13, 92, 140, 0.12);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #eef6fc 0%, #e2eff8 100%);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.85rem auto 0;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--color-accent),
    #2dd4bf,
    rgba(13, 92, 140, 0.35)
  );
  box-shadow: 0 2px 8px rgba(13, 92, 140, 0.2);
}

.section--raised {
  position: relative;
  padding: 2.85rem 1.75rem 3rem;
  border-radius: 22px;
  background: linear-gradient(
    155deg,
    #e8f2fa 0%,
    #ddeaf5 38%,
    #e6f0f8 100%
  );
  border: 1px solid rgba(13, 92, 140, 0.14);
  box-shadow: 0 8px 40px rgba(13, 92, 140, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.section--raised::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 70%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(13, 92, 140, 0.25),
    transparent
  );
  pointer-events: none;
}

.section--contact-band {
  position: relative;
  margin-top: 1.75rem;
  padding-top: 2.75rem !important;
  padding-bottom: 3.25rem;
  border-radius: 0 0 22px 22px;
  background: radial-gradient(
      ellipse 90% 70% at 50% 0%,
      rgba(167, 243, 208, 0.35) 0%,
      transparent 55%
    ),
    linear-gradient(
      180deg,
      #dce8f4 0%,
      #d0e2f0 35%,
      #e0ecf8 100%
    );
  border: 1px solid rgba(13, 92, 140, 0.12);
  border-top: none;
  box-shadow: 0 12px 36px rgba(13, 92, 140, 0.09);
}

.section--contact-band .card {
  background: linear-gradient(165deg, #eef4fa 0%, #e3edf6 100%);
  border-color: rgba(13, 92, 140, 0.14);
}

.section-lead {
  text-align: center;
  color: var(--color-muted);
  margin: 0 auto 2rem;
  max-width: 640px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(
    165deg,
    #f2f7fc 0%,
    #e5eff8 38%,
    #edf4fb 100%
  );
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(13, 92, 140, 0.12);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card-img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(228, 238, 248, 0.5) 100%
  );
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #dff0fb 0%, #e8f4fc 100%);
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    185deg,
    #e2edf7 0%,
    #c9dcf0 28%,
    #bfe5dc 58%,
    #d2e2f5 100%
  );
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      circle at 15% 20%,
      rgba(56, 189, 248, 0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 88% 75%,
      rgba(52, 211, 153, 0.14),
      transparent 42%
    );
}

.page-hero h1,
.page-hero p {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-hero p {
  margin: 0;
  color: var(--color-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.prose p,
.prose li {
  color: var(--color-text);
}

.prose ul {
  padding-left: 1.35rem;
}

/* 联系页 · 在线留言表单 */
.contact-form-card {
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.35rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 92, 140, 0.12);
  background: linear-gradient(
    165deg,
    #eef4fa 0%,
    #e3edf6 45%,
    #eaf1f8 100%
  );
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.contact-form-card > h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.contact-form-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.contact-form .req {
  color: #c2410c;
  font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  color: var(--color-text);
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fa 100%);
  border: 1px solid rgba(13, 92, 140, 0.18);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(13, 92, 140, 0.15);
}

.contact-form select {
  cursor: pointer;
  appearance: auto;
}

.form-grid {
  display: grid;
  gap: 0 1rem;
}

.form-grid--2 {
  grid-template-columns: 1fr 1fr;
}

.form-privacy {
  margin: 0.5rem 0 1rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.form-actions {
  margin-top: 0.25rem;
}

.btn-form-submit {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  color: #fff;
  background: linear-gradient(
    180deg,
    var(--color-accent) 0%,
    var(--color-accent-hover) 100%
  );
  box-shadow: 0 4px 14px rgba(13, 92, 140, 0.25);
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-form-submit:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 92, 140, 0.3);
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
  min-height: 1.5em;
}

.contact-info-heading {
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .form-grid--2 {
    grid-template-columns: 1fr;
  }
}

.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-accent);
}

.breadcrumb span[aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

.product-subnav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
}

.product-subnav a {
  font-weight: 600;
  color: var(--color-muted);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
}

.product-subnav a:hover {
  background: linear-gradient(180deg, #e8f2fa 0%, #dff0f5 100%);
  color: var(--color-accent);
  text-decoration: none;
}

.product-subnav a[aria-current="page"] {
  background: var(--color-accent);
  color: #fff;
}

.product-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.product-intro {
  color: var(--color-muted);
  margin: 0 0 2rem;
  line-height: 1.7;
}

.product-category {
  background: linear-gradient(
    145deg,
    #eef4fa 0%,
    #e2ecf6 50%,
    #eaf1f8 100%
  );
  border: 1px solid rgba(13, 92, 140, 0.12);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.product-category h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-category .cat-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-category p.lead {
  margin: 0 0 0.85rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list li {
  font-size: 0.88rem;
  padding: 0.35rem 0.65rem;
  background: linear-gradient(180deg, #e4edf6 0%, #dbe6f2 100%);
  border: 1px solid rgba(13, 92, 140, 0.14);
  border-radius: 999px;
  color: var(--color-text);
}

.notice-box {
  background: linear-gradient(135deg, #e6f0f8 0%, #dde9f4 50%, #e8f2f6 100%);
  border: 1px solid rgba(13, 92, 140, 0.12);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 2rem 0 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.notice-box strong {
  color: var(--color-text);
}

.product-hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.product-hub-cards .card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-hub-cards .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(13, 92, 140, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.product-hub-cards a.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-hub-cards a.card-link:hover {
  text-decoration: none;
}

.card-cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent);
}

.section-cta {
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.license-window {
  max-width: 900px;
  margin: 2rem auto 3rem;
  padding: 0 1.25rem;
}

.license-frame {
  background: linear-gradient(180deg, #f4f8fc 0%, #e8f1f8 100%);
  border: 1px solid rgba(13, 92, 140, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.license-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #e2ebf5 0%, #d8e4f0 100%);
  border-bottom: 1px solid rgba(13, 92, 140, 0.1);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-muted);
}

.license-frame-header span:last-child {
  font-size: 0.8rem;
  font-weight: 500;
}

.license-img-wrap {
  position: relative;
  background: linear-gradient(180deg, #dde7f2 0%, #d0dbe8 100%);
  cursor: zoom-in;
}

.license-img-wrap img {
  width: 100%;
  vertical-align: middle;
}

.license-caption {
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

.info-table th,
.info-table td {
  border: 1px solid rgba(13, 92, 140, 0.12);
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.info-table td {
  background: rgba(242, 248, 252, 0.85);
}

.info-table th {
  background: linear-gradient(180deg, #e2ebf5 0%, #d8e4f0 100%);
  width: 38%;
  font-weight: 600;
  color: var(--color-muted);
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.case-item,
a.case-item-link {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 1.25rem;
  background: linear-gradient(
    135deg,
    #f0f6fb 0%,
    #e6f0f9 100%
  );
  border-radius: var(--radius);
  border: 1px solid rgba(13, 92, 140, 0.12);
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

a.case-item-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.case-item-link:hover {
  border-color: rgba(13, 92, 140, 0.35);
  box-shadow: 0 8px 28px rgba(13, 92, 140, 0.12);
}

.case-more {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

a.case-item-link:hover .case-more {
  text-decoration: underline;
}

.case-item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.case-item-body {
  padding: 1.25rem 1.35rem 1.5rem;
  background: linear-gradient(
    180deg,
    var(--color-surface-strong) 0%,
    rgba(227, 237, 247, 0.6) 100%
  );
}

.case-item-body h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.case-meta {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.product-category-row {
  display: grid;
  grid-template-columns: minmax(180px, 300px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.product-category-thumb {
  display: block;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(13, 92, 140, 0.06);
}

.product-category-thumb:hover {
  box-shadow: 0 4px 16px rgba(13, 92, 140, 0.12);
}

.product-category-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.product-category-main {
  min-width: 0;
}

.product-detail-cta {
  margin-top: 1rem;
  margin-bottom: 0;
  font-weight: 600;
}

.product-detail-cta a {
  color: var(--color-accent);
}

.detail-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.detail-article.prose {
  padding-top: 0;
}

.detail-hero {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(13, 92, 140, 0.12);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #e8f0f8 0%, #dfe9f4 100%);
}

.detail-hero img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.detail-lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-top: 0;
}

.detail-article .case-meta {
  margin-top: 0;
}

.detail-back {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .product-category-row {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: linear-gradient(165deg, #152535 0%, #1a2838 45%, #1e3044 100%);
  color: #b8c5d4;
  padding: 2.5rem 1.25rem;
  margin-top: auto;
  border-top: 1px solid rgba(100, 160, 200, 0.15);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.site-footer p,
.site-footer li {
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: #9ec9e8;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  text-align: center;
  color: #7a8a9c;
}

main {
  flex: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    flex: 1 1 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0 0;
    width: 100%;
  }

  .nav-list.is-open {
    display: flex;
    margin-top: 0.4rem;
    padding: 0.65rem 0.9rem 0.85rem;
    background: linear-gradient(180deg, #e2ebf5 0%, #d5e3ef 100%);
    border-radius: 14px;
    border: 1px solid rgba(13, 92, 140, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 4px 16px rgba(13, 92, 140, 0.08);
  }

  .nav-list.is-open a {
    padding: 0.5rem 0.35rem;
    border-radius: 8px;
  }

  .nav-list.is-open a:hover {
    background: rgba(255, 255, 255, 0.35);
  }

  .case-item,
  a.case-item-link {
    grid-template-columns: 1fr;
  }
}
