/* ============================================================
   光禾AI 官网全局样式 — guangheai.com
   设计定位：AI友好型信源样板 / GEO服务商专业官网
   零外部依赖，系统字体优先
   ============================================================ */

/* === 变量 === */
:root {
  --color-primary: #c9161d;
  --color-primary-light: #e2383f;
  --color-primary-dark: #8f1117;
  --color-primary-soft: #fff1f2;
  --color-accent: #d92d20;
  --color-accent-dark: #b42318;
  --color-accent-soft: #fff4f2;
  --color-gold: #f2a93b;
  --color-gold-soft: #fff6e8;
  --color-text: #132033;
  --color-text-light: #43536a;
  --color-text-muted: #718096;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f9fd;
  --color-bg-dark: #2a0b0d;
  --color-border: #eadfe1;
  --color-border-light: #f4eaeb;
  --color-warning: #ff9800;
  --color-danger: #e53935;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 8px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(143,17,23,0.06), 0 8px 24px rgba(143,17,23,0.05);
  --shadow: 0 10px 28px rgba(143,17,23,0.1);
  --shadow-lg: 0 18px 48px rgba(143,17,23,0.14);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi", "PingFang SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s, background 0.2s, border-color 0.2s; }
a:hover { color: var(--color-primary-light); }
ul, ol { list-style: none; }

/* === Typography === */
h1, h2, h3, h4 {
  color: var(--color-text);
  letter-spacing: 0;
}
h1 { font-size: 2.35rem; font-weight: 760; line-height: 1.22; }
h2 { font-size: 1.78rem; font-weight: 720; line-height: 1.32; }
h3 { font-size: 1.18rem; font-weight: 680; line-height: 1.45; }
h4 { font-size: 1.02rem; font-weight: 680; line-height: 1.5; }
p { margin-bottom: 1rem; color: var(--color-text-light); }
.lead { font-size: 1.05rem; line-height: 1.8; color: var(--color-text-muted); }

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.48rem; }
  h3 { font-size: 1.08rem; }
  .lead { font-size: 1rem; }
}

/* === Layout === */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; overflow: hidden; }
.section-alt { background: linear-gradient(180deg, #f8fbff 0%, var(--color-bg-alt) 100%); }
@media (max-width: 768px) { .section { padding: 48px 0; } }

/* === Header / Nav === */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  box-shadow: 0 1px 0 rgba(201,22,29,0.04);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: var(--color-primary); }
.logo img { width: 38px; height: 38px; filter: drop-shadow(0 6px 14px rgba(201,22,29,0.16)); }
.logo span { white-space: nowrap; }

.nav-list { display: flex; gap: 4px; }
.nav-list a {
  display: block; padding: 8px 16px; border-radius: var(--radius);
  color: var(--color-text-light); font-weight: 650; font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.nav-list a:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.nav-list a.active { background: var(--color-primary); color: #fff; box-shadow: 0 8px 18px rgba(201,22,29,0.18); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--color-text); transition: 0.3s; border-radius: 2px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none; position: absolute; top: var(--nav-height); left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 12px 24px; box-shadow: var(--shadow-lg);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 16px; border-radius: var(--radius); }
}

/* === Footer === */
.footer { background: radial-gradient(circle at 20% 0%, rgba(201,22,29,0.24), transparent 28%), linear-gradient(180deg, #4a1014 0%, var(--color-bg-dark) 100%); color: #f0d7da; padding: 60px 0 32px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 0.98rem; }
.footer a { color: #94a3b8; }
.footer a:hover { color: #fff; }
.footer ul li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: #64748b; font-size: 0.85rem; }
.footer-logo { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-desc { max-width: 320px; line-height: 1.8; margin-bottom: 16px; color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.28); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* === Breadcrumb === */
.breadcrumb { padding: 16px 0; font-size: 0.88rem; color: var(--color-text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin: 0 8px; color: #ccc; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }

/* === Hero === */
.hero {
  padding: 86px 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(201,22,29,0.12) 0%, rgba(226,56,63,0.08) 48%, rgba(255,255,255,0.96) 100%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);

}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-tag { display: inline-block; background: #fff; color: var(--color-primary); padding: 5px 16px; border-radius: 999px; border: 1px solid rgba(201,22,29,0.16); font-size: 0.85rem; font-weight: 800; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.hero h1 { margin-bottom: 20px; font-size: 2.72rem; font-weight: 800; line-height: 1.18; }
.hero .subtitle { font-size: 1.1rem; color: var(--color-text-light); margin-bottom: 32px; line-height: 1.85; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(201,22,29,0.10), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(67,83,106,0.09), transparent 24%),
    linear-gradient(90deg, rgba(201,22,29,0.036) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201,22,29,0.03) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  opacity: 0.78;
  animation: backgroundDrift 18s linear infinite;
}
.hero::after {
  inset: 12% -12% auto 48%;
  height: 320px;
  background: radial-gradient(circle, rgba(201,22,29,0.09), transparent 68%);
  filter: blur(4px);
  animation: ambientGlow 9s ease-in-out infinite;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 16%, rgba(201,22,29,0.035), transparent 22%),
    radial-gradient(circle at 92% 28%, rgba(67,83,106,0.035), transparent 24%);
  opacity: 0.75;
}
.section > .container {
  position: relative;
  z-index: 1;
}
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual > div {
  border: 1px solid rgba(201,22,29,0.12) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,255,255,0.64)),
    linear-gradient(135deg, var(--color-primary-soft), var(--color-accent-soft)) !important;
  box-shadow: var(--shadow-lg);
  color: var(--color-primary);
}
.ai-panel {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.ai-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -28% 22%;
  height: 58%;
  background: radial-gradient(circle, rgba(201,22,29,0.16), transparent 64%);
}
.ai-panel-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: rgba(143,17,23,0.92);
}
.ai-panel-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
}
.ai-panel-body {
  position: relative;
  padding: 26px;
}
.ai-answer-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(201,22,29,0.12);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.ai-line {
  height: 10px;
  width: 64%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201,22,29,0.16), rgba(226,56,63,0.12));
  margin-bottom: 12px;
}
.ai-line.wide { width: 84%; }
.ai-brand-rank {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.rank-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-dark));
  color: #fff;
  font-weight: 850;
  box-shadow: 0 10px 18px rgba(201,22,29,0.22);
}
.ai-brand-rank strong {
  display: block;
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.35;
}
.ai-brand-rank small {
  display: block;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.ai-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.ai-signal-grid div {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(201,22,29,0.1);
  border-radius: var(--radius);
  padding: 12px 10px;
}
.ai-signal-grid strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.18rem;
  line-height: 1.2;
}
.ai-signal-grid small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin-top: 3px;
}
.ai-orbit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ai-orbit span {
  border-radius: 999px;
  background: rgba(201,22,29,0.08);
  color: var(--color-primary);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 750;
}
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  .hero-visual {
    width: 100%;
    align-items: stretch;
  }
  .ai-panel {
    max-width: 420px;
    aspect-ratio: auto;
    min-height: 0;
    overflow: visible;
  }
  .ai-panel-body { padding: 18px; }
  .ai-answer-card { padding: 18px; }
  .ai-brand-rank { margin-top: 16px; }
  .ai-signal-grid div { padding: 10px 8px; }
}
@media (max-width: 480px) {
  .hero { padding: 40px 0 36px; }
  .hero .container { gap: 24px; }
  .hero-visual > div { box-shadow: 0 18px 42px rgba(143,17,23,0.12); }
  .ai-panel {
    width: 100%;
    max-width: none;
    border-radius: 10px;
  }
  .ai-panel::before { display: none; }
  .ai-panel-top {
    height: 38px;
    padding: 0 14px;
  }
  .ai-panel-body { padding: 14px; }
  .ai-answer-card {
    padding: 16px;
    border-radius: 8px;
  }
  .ai-line {
    height: 8px;
    margin-bottom: 10px;
  }
  .rank-badge {
    width: 38px;
    height: 38px;
  }
  .ai-brand-rank strong { font-size: 1rem; }
  .ai-brand-rank small { font-size: 0.82rem; }
  .ai-signal-grid {
    gap: 8px;
    margin-top: 12px;
  }
  .ai-signal-grid strong { font-size: 1.05rem; }
  .ai-signal-grid small { font-size: 0.68rem; }
  .ai-orbit { display: none; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: var(--radius); font-weight: 680; font-size: 0.98rem; cursor: pointer; transition: all 0.25s; border: 1px solid transparent; line-height: 1.25; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(201,22,29,0.24); }
.btn-outline { background: rgba(255,255,255,0.78); border: 1px solid rgba(201,22,29,0.28); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; box-shadow: 0 10px 24px rgba(201,22,29,0.16); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(180,35,24,0.24); }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* === Cards === */
.card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--color-border-light);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  font-size: 0;
  border: 1px solid currentColor;
  overflow: hidden;
}
.card-icon.blue { background: var(--color-primary-soft); color: var(--color-primary); }
.card-icon.green { background: var(--color-accent-soft); color: var(--color-accent-dark); }
.card-icon.amber { background: var(--color-gold-soft); color: #b66800; }
.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
  display: block;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; line-height: 1.75; }

.icon-data::before {
  width: 5px;
  height: 24px;
  background: currentColor;
  box-shadow: -10px 8px 0 currentColor, 10px -6px 0 currentColor;
  opacity: 0.9;
}
.icon-data::after {
  width: 30px;
  height: 1px;
  background: currentColor;
  transform: translateY(17px);
  opacity: 0.35;
}
.icon-source::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -15px -10px 0 currentColor, 15px -10px 0 currentColor, 0 14px 0 currentColor;
}
.icon-source::after {
  width: 34px;
  height: 34px;
  background:
    linear-gradient(32deg, transparent 48%, currentColor 49%, currentColor 51%, transparent 52%),
    linear-gradient(148deg, transparent 48%, currentColor 49%, currentColor 51%, transparent 52%),
    linear-gradient(90deg, transparent 48%, currentColor 49%, currentColor 51%, transparent 52%);
  opacity: 0.45;
}
.icon-graph::before {
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.72;
}
.icon-graph::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -13px -4px 0 currentColor, 11px -10px 0 currentColor, 8px 12px 0 currentColor;
}
.icon-doc::before {
  width: 24px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: rgba(255,255,255,0.34);
}
.icon-doc::after {
  width: 14px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
  opacity: 0.72;
}
.icon-rag::before {
  width: 28px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 999px;
}
.icon-rag::after {
  width: 11px;
  height: 2px;
  background: currentColor;
  transform: translate(12px, 11px) rotate(45deg);
  box-shadow: -20px -11px 0 currentColor;
}
.icon-monitor::before {
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-left-color: transparent;
}
.icon-monitor::after {
  width: 22px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(2px) skew(-18deg);
  opacity: 0.72;
}
.icon-ai::before {
  width: 28px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 6px;
}
.icon-ai::after {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: -8px 0 0 currentColor, 8px 0 0 currentColor, 0 -14px 0 currentColor, 0 14px 0 currentColor;
}
.icon-ops::before {
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.icon-ops::after {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: rotate(45deg);
  opacity: 0.68;
}
.icon-trust::before {
  width: 26px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 14px 14px 6px 6px;
}
.icon-trust::after {
  width: 14px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.ai-visibility-panel {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(201,22,29,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201,22,29,0.06) 1px, transparent 1px),
    linear-gradient(135deg,var(--color-primary-soft),#fff);
  background-size: 28px 28px, 28px 28px, auto;
  border: 1px solid rgba(201,22,29,0.12);
  box-shadow: var(--shadow-lg);
}
.ai-visibility-panel::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(201,22,29,0.12);
  border-radius: 50%;
  right: -54px;
  top: -62px;
}
.panel-topline {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  background: rgba(255,255,255,0.74);
  border-bottom: 1px solid rgba(201,22,29,0.1);
}
.panel-topline span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,22,29,0.42);
}
.panel-content {
  position: relative;
  height: calc(100% - 42px);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-rows: auto 1fr;
  gap: 14px;
}
.query-card,
.engine-card,
.answer-card,
.signal-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(201,22,29,0.13);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.query-card {
  padding: 16px 18px;
  grid-column: 1 / 3;
}
.query-card small,
.answer-card small,
.signal-card small {
  display: block;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--color-text-light);
  margin-bottom: 6px;
}
.query-card strong {
  display: block;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.45;
}
.engine-card {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.engine-core {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  position: relative;
  flex-shrink: 0;
}
.engine-core::before,
.engine-core::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(201,22,29,0.32);
  border-radius: 50%;
}
.engine-core::after {
  inset: 20px;
  background: var(--color-primary);
  border: none;
}
.engine-card strong {
  display: block;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.35;
}
.engine-card span {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.76rem;
  line-height: 1.45;
  margin-top: 4px;
}
.answer-card {
  padding: 14px;
  grid-row: span 2;
}
.answer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--color-text-muted);
}
.answer-row span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 720;
}
.answer-row strong,
.answer-row em {
  font-size: 0.86rem;
  font-style: normal;
}
.answer-row.active {
  background: linear-gradient(90deg, rgba(201,22,29,0.11), rgba(255,255,255,0.72));
  color: var(--color-text);
}
.signal-card {
  padding: 14px 16px;
}
.signal-bars {
  height: 48px;
  display: flex;
  align-items: end;
  gap: 8px;
}
.signal-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary));
  opacity: 0.82;
}
.signal-bars span:nth-child(1) { height: 34%; }
.signal-bars span:nth-child(2) { height: 48%; }
.signal-bars span:nth-child(3) { height: 68%; }
.signal-bars span:nth-child(4) { height: 92%; }

@media (max-width: 768px) {
  .ai-visibility-panel { max-width: 420px; }
  .panel-content { padding: 16px; gap: 10px; }
  .engine-card { padding: 14px; }
  .engine-core { width: 44px; height: 44px; }
  .answer-row { min-height: 30px; padding: 5px 6px; }
  .query-card strong,
  .engine-card strong { font-size: 0.92rem; }
}

/* === Grid layouts === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* === Section titles === */
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h1,
.section-title h2 { max-width: 820px; margin: 0 auto 12px; }
.section-title h1 { font-size: 2.15rem; }
.section-title h2 { font-size: 1.72rem; }
.section-title .lead { max-width: 760px; margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 680;
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .section-title { margin-bottom: 34px; }
  .section-title h1 { font-size: 1.76rem; }
  .section-title h2 { font-size: 1.42rem; }
  .section-label { font-size: 0.86rem; min-height: 28px; margin-bottom: 12px; }
}

/* === Stats / Numbers === */
.stats-row { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.stat-item { text-align: center; min-width: 150px; }
.stat-num { font-size: 2.5rem; font-weight: 850; color: var(--color-primary); line-height: 1.1; }
.stat-num span { font-size: 1.5rem; font-weight: 700; }
.stat-label { color: var(--color-text-muted); font-size: 0.9rem; margin-top: 4px; }
@media (max-width: 600px) { .stat-num { font-size: 2rem; } }

/* === Tables === */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
thead { background: var(--color-primary-soft); }
th { text-align: left; padding: 14px 20px; font-weight: 680; color: var(--color-text); border-bottom: 2px solid var(--color-border); white-space: nowrap; }
td { padding: 14px 20px; border-bottom: 1px solid var(--color-border); color: var(--color-text-light); }
tr:last-child td { border-bottom: none; }
.table-highlight td:first-child { font-weight: 600; color: var(--color-primary); }
tr:nth-child(even) { background: #f9fbfe; }

/* === Blockquote / Testimonial === */
blockquote {
  background: var(--color-bg-alt); border-left: 4px solid var(--color-accent);
  padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0;
  font-style: italic;
}
blockquote p { margin-bottom: 8px; }
blockquote cite { display: block; margin-top: 12px; font-size: 0.9rem; font-style: normal; font-weight: 600; color: var(--color-text); }

/* === Tags / Badges === */
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; }
.tag-blue { background: var(--color-primary-soft); color: var(--color-primary); }
.tag-green { background: var(--color-accent-soft); color: var(--color-accent-dark); }
.tag-amber { background: var(--color-gold-soft); color: #a85f00; }

/* === Timeline === */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--color-border); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; background: var(--color-primary); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--color-primary); }
.timeline-time { font-size: 0.85rem; color: var(--color-primary); font-weight: 600; margin-bottom: 4px; }
.timeline-content h4 { margin-bottom: 4px; }

/* === Accordion / FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 24px; background: #fff; border: none; cursor: pointer; font-size: 1rem; font-weight: 680; text-align: left; color: var(--color-text); transition: background 0.2s; }
.faq-q:hover { background: var(--color-bg-alt); }
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--color-primary); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 24px 20px; font-size: 0.95rem; color: var(--color-text-light); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* === Contact form === */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 1rem; font-family: inherit; transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(201,22,29,0.12); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* === Case card === */
.case-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border-light); background: #fff; transition: box-shadow 0.3s, transform 0.3s; box-shadow: var(--shadow-sm); }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.case-card-body { padding: 26px; }
.case-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 14px;
}
.brand-logo-box {
  width: 168px;
  height: 72px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  flex-shrink: 0;
}
.brand-logo-box.wide {
  width: 220px;
}
.brand-logo-box.logo-tall {
  width: 212px;
  height: 148px;
  padding: 10px 12px;
}
.brand-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.case-brand h3 {
  margin: 0;
}
.case-meta { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 12px; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-border-light); }
.case-result-num { font-size: 1.35rem; font-weight: 780; color: var(--color-accent-dark); }
.case-result-label { font-size: 0.8rem; color: var(--color-text-muted); }

/* === News card === */
.news-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border-light); background: #fff; transition: box-shadow 0.3s; box-shadow: var(--shadow-sm); }
.news-card:hover { box-shadow: var(--shadow); }
.news-card-body { padding: 24px; }
.news-date { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 8px; }

/* === Pagination === */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--color-border); font-weight: 500; }
.pagination a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination .active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* === 404 page === */
.error-page { text-align: center; padding: 120px 0; }
.error-code { font-size: 8rem; font-weight: 900; color: var(--color-primary); line-height: 1; opacity: 0.15; }
.error-page h2 { margin-top: -40px; margin-bottom: 16px; }

/* === Utility === */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent-dark); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.pt-0 { padding-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Alert / notice box === */
.notice {
  padding: 16px 20px; border-radius: var(--radius); margin: 24px 0; font-size: 0.95rem;
}
.notice-info { background: var(--color-primary-soft); color: #9f1218; border-left: 4px solid var(--color-primary); }
.notice-warning { background: var(--color-gold-soft); color: #a85f00; border-left: 4px solid var(--color-warning); }
.notice-success { background: var(--color-accent-soft); color: #08766e; border-left: 4px solid var(--color-accent); }

/* === Comparison highlight === */
.compare-win { color: var(--color-accent-dark); font-weight: 700; }
.compare-lose { color: var(--color-text-muted); }
.highlight-box { background: linear-gradient(135deg, var(--color-primary-soft), var(--color-accent-soft)); border-radius: var(--radius-lg); padding: 40px; margin: 32px 0; border: 1px solid var(--color-border-light); }
.highlight-box h3 { margin-bottom: 8px; }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.logo-card {
  min-height: 112px;
  padding: 18px;
  text-align: center;
}
.logo-card img {
  width: 96px;
  height: 36px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.logo-card img.logo-square {
  width: 44px;
  height: 44px;
}
.logo-card strong {
  display: block;
  line-height: 1.35;
}
.logo-card small {
  color: var(--color-text-muted);
}
.platform-carousel {
  position: relative;
  overflow: hidden;
}
.platform-kicker {
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 760;
}
.platform-track {
  padding-top: 2px;
}
.platform-carousel .platform-card {
  width: 252px;
  min-height: 150px;
  padding: 24px 22px 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,247,248,0.82)),
    #fff;
}
.platform-carousel .platform-card img {
  width: 132px;
  height: 48px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  margin-bottom: 18px;
}
.platform-carousel .platform-card img.logo-square {
  width: 54px;
  height: 54px;
}
.platform-carousel .platform-card div {
  display: block;
}
.platform-carousel .platform-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
  line-height: 1.35;
}
.platform-carousel .platform-card small {
  color: var(--color-text-muted);
}
.home-platform-section,
.home-client-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 16% 20%, rgba(201,22,29,0.07), transparent 28%),
    linear-gradient(180deg, #fff7f8 0%, #f8fbff 100%);
}
.home-platform-carousel {
  margin-top: 8px;
}
.home-platform-carousel .cert-track {
  gap: 16px;
  padding: 6px 2px 18px;
}
.home-platform-carousel .platform-card {
  width: 224px;
  min-height: 156px;
  padding: 24px 20px 20px;
  border-color: rgba(201,22,29,0.14);
  box-shadow: 0 12px 30px rgba(143,17,23,0.07);
}
.home-platform-carousel .platform-card img {
  width: 154px;
  height: 62px;
  margin-bottom: 16px;
  image-rendering: auto;
}
.home-platform-carousel .platform-card img.logo-square {
  width: 64px;
  height: 64px;
}
.home-platform-carousel .platform-card strong {
  font-size: 1.08rem;
}
.home-platform-carousel .platform-card small {
  font-size: 0.86rem;
}
.home-client-carousel {
  margin-top: 8px;
}
.home-client-carousel .cert-track {
  gap: 18px;
  padding: 6px 2px 18px;
}
.home-client-carousel .client-logo-card {
  width: 260px;
  min-height: 178px;
  padding: 24px 22px 20px;
  border-color: rgba(201,22,29,0.14);
  box-shadow: 0 12px 30px rgba(143,17,23,0.07);
}
.home-client-carousel .client-logo-card img {
  width: 178px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 14px;
}
.home-client-carousel .wide-client-logo img {
  width: 210px;
}
.home-client-carousel .client-logo-card strong {
  font-size: 1.08rem;
}
.home-client-carousel .client-logo-card small {
  font-size: 0.86rem;
}
.service-platform-carousel {
  margin-top: 8px;
}
.service-platform-carousel .cert-track {
  gap: 16px;
  padding: 6px 2px 18px;
}
.service-platform-carousel .platform-card {
  width: 230px;
  min-height: 158px;
  padding: 22px 20px 18px;
  border-color: rgba(201,22,29,0.14);
  box-shadow: 0 12px 30px rgba(143,17,23,0.07);
}
.service-platform-carousel .platform-card img {
  width: 142px;
  height: 54px;
  object-fit: contain;
  margin: 0 auto 14px;
}
.service-platform-carousel .platform-card img.logo-square {
  width: 58px;
  height: 58px;
}
.service-platform-carousel .platform-card strong {
  font-size: 1.04rem;
}
.service-platform-carousel .platform-card small {
  font-size: 0.84rem;
}
@media (max-width: 900px) { .logo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .logo-grid { grid-template-columns: 1fr; }
  .case-brand { align-items: flex-start; flex-direction: column; }
}




.plaque-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(320px, 1fr);
  align-items: center;
  gap: 24px;
  margin: -10px 0 30px;
  padding: 24px;
  border: 1px solid rgba(201,22,29,0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,255,255,0.76)),
    radial-gradient(circle at 80% 20%, rgba(201,22,29,0.10), transparent 34%);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.plaque-showcase:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--color-text);
}
.plaque-copy span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 760;
  margin-bottom: 12px;
}
.plaque-copy h3 {
  margin-bottom: 8px;
}
.plaque-copy p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.plaque-showcase img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-border-light);
}
@media (max-width: 760px) {
  .plaque-showcase {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}
/* === Certifications carousel === */
.certifications-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(201,22,29,0.055), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.cert-carousel {
  position: relative;
  overflow: hidden;
}
.cert-carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.cert-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cert-tab,
.cert-arrow {
  border: 1px solid rgba(201,22,29,0.18);
  background: rgba(255,255,255,0.9);
  color: var(--color-primary);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.cert-tab {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 0.9rem;
}
.cert-tab:hover,
.cert-tab.active,
.cert-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(201,22,29,0.16);
  transform: translateY(-1px);
}
.cert-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cert-arrow {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}
.cert-track {
  display: flex;
  gap: 18px;
  width: max-content;
  overflow: visible;
  padding: 4px 2px 18px;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.cert-track::-webkit-scrollbar { display: none; }
.cert-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: var(--color-text);
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--color-text);
}
.cert-card img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  background: linear-gradient(180deg, #fff, #f8fbff);
  padding: 14px;

}
.cert-card div { display: none; }
.platform-carousel .platform-card {
  flex-direction: column;
  min-height: 150px;
  padding: 24px 22px 20px;
}
.platform-carousel .platform-card img {
  width: 132px;
  height: 48px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  margin: 0 auto 18px;
}
.platform-carousel .platform-card img.logo-square {
  width: 54px;
  height: 54px;
}
.platform-carousel .platform-card div {
  display: block;
}
.cert-card.is-filtered {
  display: none;
}
.cert-status { display: none; }
@media (max-width: 900px) {
  .cert-carousel-head { align-items: flex-start; flex-direction: column; }
  .cert-track {
  display: flex;
  gap: 18px;
  width: max-content;
  overflow: visible;
  padding: 4px 2px 18px;
  will-change: transform;
  transform: translate3d(0,0,0);
}
}
@media (max-width: 600px) {
  .cert-track {
  display: flex;
  gap: 18px;
  width: max-content;
  overflow: visible;
  padding: 4px 2px 18px;
  will-change: transform;
  transform: translate3d(0,0,0);
}
  .cert-card { min-height: 340px; }
  .cert-card img { height: 250px; }
}

/* === Service platform carousel polish === */
.service-platform-carousel .platform-card {
  width: 258px !important;
  min-height: 178px !important;
  padding: 22px 22px 20px !important;
  border: 1px solid rgba(201,22,29,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,250,250,0.9)),
    #fff;
  box-shadow: 0 12px 30px rgba(143,17,23,0.07);
}
.service-platform-carousel .platform-card img {
  width: 150px !important;
  height: 64px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 4px auto 18px !important;
  transform: none;
}
.service-platform-carousel .platform-card img.logo-square {
  width: 68px !important;
  height: 68px !important;
}
.service-platform-carousel .platform-card div {
  display: block !important;
}
.service-platform-carousel .platform-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 1.08rem;
  line-height: 1.35;
}
.service-platform-carousel .platform-card small {
  color: var(--color-text-muted);
  font-size: 0.86rem;
}
.service-platform-carousel .platform-card:hover img {
  transform: translateY(-2px) scale(1.03);
}
/* === Motion layer === */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes softPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes scanLine {
  0% { transform: translateY(-120%); opacity: 0; }
  18%, 76% { opacity: 0.28; }
  100% { transform: translateY(420%); opacity: 0; }
}
.hero-tag,
.hero h1,
.hero .subtitle,
.hero .btn,
.hero-visual {
  animation: fadeUp 0.72s ease both;
}
.hero h1 { animation-delay: 0.08s; }
.hero .subtitle { animation-delay: 0.16s; }
.hero .btn { animation-delay: 0.24s; }
.hero-visual { animation-delay: 0.18s; }
.ai-panel,
.ai-visibility-panel {
  animation: heroFloat 6.5s ease-in-out infinite;
}
.ai-panel::after,
.ai-visibility-panel::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 42px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(201,22,29,0.16), rgba(255,255,255,0));
  pointer-events: none;
  animation: scanLine 5.8s ease-in-out infinite;
}
.rank-badge,
.engine-core {
  animation: softPulse 3.8s ease-in-out infinite;
}
.card,
.case-card,
.news-card,
.table-wrap,
.stats-row,
.timeline-item,
.logo-card,
.footer-grid > div {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s ease, box-shadow 0.3s ease;
}
.card.is-visible,
.case-card.is-visible,
.news-card.is-visible,
.table-wrap.is-visible,
.stats-row.is-visible,
.timeline-item.is-visible,
.logo-card.is-visible,
.footer-grid > div.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.card-icon,
.logo-card img,
.brand-logo-box img {
  transition: transform 0.28s ease, filter 0.28s ease;
}
.card:hover .card-icon,
.logo-card:hover img,
.case-card:hover .brand-logo-box img {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 8px 12px rgba(143,17,23,0.12));
}
.ai-orbit span {
  transition: transform 0.25s ease, background 0.25s ease;
}
.ai-orbit span:hover {
  transform: translateY(-2px);
  background: rgba(201,22,29,0.14);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .card,
  .case-card,
  .news-card,
  .table-wrap,
  .stats-row,
  .timeline-item,
  .logo-card,
  .footer-grid > div {
    opacity: 1;
    transform: none;
  }
}
/* === Print-friendly === */
@media print {
  .header, .footer, .breadcrumb, .nav-toggle { display: none; }
  body { font-size: 13px; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}














.cert-controls { display: none; }




.plaque-showcase {
  grid-template-columns: 1fr;
  justify-items: center;
}
.plaque-copy {
  display: none;
}
.plaque-showcase img {
  max-width: min(760px, 100%);
}

.plaque-showcase {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.plaque-showcase:hover {
  box-shadow: none;
}
.plaque-showcase img {
  display: block;
  max-width: min(760px, 100%);
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.plaque-showcase {
  width: min(760px, 100%);
}
.plaque-showcase img {
  width: 100%;
}




/* === Home case showcase === */
.case-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: stretch;
}
.case-showcase-grid .case-card {
  grid-column: span 2;
  min-height: 100%;
}
.case-showcase-grid .case-card:nth-child(-n+2) {
  grid-column: span 3;
}
.case-showcase-grid .case-card-body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.case-showcase-grid .case-brand {
  min-height: 92px;
  align-items: center;
}
.case-showcase-grid .case-card:nth-child(-n+2) .case-brand {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  min-height: auto;
}
.case-showcase-grid .case-card:nth-child(-n+2) .brand-logo-box.logo-tall {
  width: 240px;
  height: 168px;
}
.case-showcase-grid .case-brand h3 {
  min-height: 54px;
  display: flex;
  align-items: center;
}
.case-showcase-grid .case-card:nth-child(-n+2) .case-brand h3 {
  min-height: auto;
}
.case-showcase-grid .case-card-body > p:not(.case-meta) {
  min-height: 72px;
}
.case-showcase-grid .case-results {
  margin-top: auto;
}
@media (max-width: 1000px) {
  .case-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .case-showcase-grid .case-card,
  .case-showcase-grid .case-card:nth-child(-n+2) { grid-column: span 1; }
}
@media (max-width: 640px) {
  .case-showcase-grid { grid-template-columns: 1fr; }
}
