:root {
  --bg: #ffffff;
  --bg2: #f6f8fa;
  --bg3: #eef2f6;
  --text: #07111f;
  --text2: #455267;
  --text3: #7a8798;
  --border: rgba(7, 17, 31, 0.1);
  --line: rgba(221, 226, 232, 0.92);
  --accent: #ff7900;
  --accent-light: #fff1e5;
  --orange: #ff7900;
  --orange-dark: #e86600;
  --muted: #657184;
  --radius: 8px;
  --radius-sm: 6px;
}

/* ============================================================
   SHARED CASE-PAGE CONTENT SYSTEM
   Base rules for the generic content components reused across
   detailed case pages (upolix.html, karkas-komplekt.html, ...):
   stats grid, problem cards, table, steps, images, chart boxes,
   system grid, review cards, notes. Page-specific look (colors,
   spacing tweaks) lives in the ".upolix-case-page X" rules further
   down this file, or in a page's own <style> block placed AFTER
   this stylesheet's <link> if it needs to win the cascade.
   Do not re-paste these rules into a case page's own <style>.
   ============================================================ */

.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.hero-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
}
.stat-card { background: var(--bg); padding: 20px 24px; }
.stat-label { font-size: 12px; color: var(--text3); margin-bottom: 6px; }
.stat-was { font-size: 12px; color: var(--text3); margin-bottom: 2px; }
.stat-val { font-size: 22px; font-weight: 600; color: var(--text); line-height: 1.2; }
.stat-val.green { color: var(--accent); }

section { padding: 64px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: none; }

h2 { font-size: 24px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.section-tag { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .8px; color: var(--text3); margin-bottom: 12px; }
h3 { font-size: 18px; font-weight: 500; color: var(--text); margin: 40px 0 12px; }
h3:first-child { margin-top: 0; }
p { color: var(--text2); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 500; }

blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  background: var(--accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 15px;
  color: var(--text);
  font-style: italic;
}
blockquote cite { display: block; font-size: 12px; color: var(--text3); font-style: normal; margin-top: 8px; }

.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 24px 0; }
.problem-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.problem-card .label { font-size: 11px; font-weight: 500; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.problem-card p { font-size: 13px; color: var(--text2); margin: 0; }

.table-wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 10px 14px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; color: var(--text3); border-bottom: 1px solid var(--border); background: var(--bg2); }
td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text2); vertical-align: top; }
td strong { color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg2); }

.steps { position: relative; padding-left: 32px; }
.steps::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.step { position: relative; margin-bottom: 40px; }
.step:last-child { margin-bottom: 0; }
.step-dot {
  position: absolute; left: -28px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent); border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.step-num { font-size: 11px; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.step h3 { margin-top: 0; margin-bottom: 12px; }

.img-block { margin: 24px 0; }
.img-block img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.img-block figcaption { font-size: 12px; color: var(--text3); margin-top: 8px; padding: 0 4px; line-height: 1.5; }
.img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.img-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin: 24px 0; }
.img-grid figure, .img-grid-3 figure { margin: 0; }
.img-grid img, .img-grid-3 img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.img-grid figcaption, .img-grid-3 figcaption { font-size: 11px; color: var(--text3); margin-top: 6px; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.ba-card { position: relative; }
.ba-label {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11px; font-weight: 500; padding: 4px 10px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .5px;
}
.ba-label.before { background: #fff3cd; color: #856404; }
.ba-label.after { background: #d1e7dd; color: #0a3622; }
.ba-card img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
.ba-card figcaption { font-size: 11px; color: var(--text3); margin-top: 6px; }

.metrics-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.metric-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; text-align: center; }
.metric-card .val { font-size: 28px; font-weight: 600; color: var(--text); }
.metric-card .val.accent { color: var(--accent); }
.metric-card .lbl { font-size: 12px; color: var(--text3); margin-top: 4px; }
.metric-card .delta { font-size: 11px; color: var(--accent); margin-top: 2px; font-weight: 500; }

.ads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.ads-grid img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.ads-grid figcaption { font-size: 11px; color: var(--text3); margin-top: 6px; }

.rsya-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.rsya-grid figure { margin: 0; }
.rsya-grid img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.rsya-grid figcaption { font-size: 11px; color: var(--text3); margin-top: 6px; }
.rsya-slide { min-width: 280px; max-width: 280px; flex-shrink: 0; }
.rsya-slide img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }

.chart-wrap { position: relative; width: 100%; height: 280px; margin: 24px 0; }

.system-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 24px 0; }
.system-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.system-card .icon { font-size: 20px; margin-bottom: 8px; }
.system-card .title { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.system-card .desc { font-size: 12px; color: var(--text3); line-height: 1.5; }

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.review-card .stars { color: #F59E0B; font-size: 13px; margin-bottom: 8px; }
.review-card p { font-size: 14px; color: var(--text2); margin-bottom: 8px; }
.review-card .src { font-size: 12px; color: var(--text3); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag { font-size: 12px; color: var(--text2); background: var(--bg3); border-radius: 20px; padding: 4px 12px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
ul.check-list { list-style: none; padding: 0; margin: 16px 0; }
ul.check-list li { padding: 6px 0; padding-left: 20px; position: relative; color: var(--text2); font-size: 15px; }
ul.check-list li::before { content: '—'; position: absolute; left: 0; color: var(--text3); }
.note { font-size: 13px; color: var(--text3); background: var(--bg2); border-radius: var(--radius-sm); padding: 12px 16px; margin: 16px 0; border-left: 3px solid var(--border); }

/* MINI-CTA: lightweight lead-magnet callout dropped after a case's
   diagnostics section. Same markup/copy reused on every case page —
   lighter than the full-width .cta block at the bottom of the page. */
.mini-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 32px 0; padding: 24px 28px; background: var(--accent-light); border: 1px solid var(--border); border-radius: var(--radius); }
.mini-cta__copy { flex: 1 1 380px; }
.mini-cta .mini-cta__hook { font-size: 16px; font-weight: 600; color: var(--text); margin: 0 0 6px; line-height: 1.35; }
.mini-cta .mini-cta__copy p { font-size: 13px; color: var(--text2); line-height: 1.5; margin: 0; }
.mini-cta .btn { flex-shrink: 0; }

/* MINI-CTA-DARK: punchier dark-card CTA, same visual language as the
   homepage's .pain-cta bar. Unlike .mini-cta it's dark and contained (not
   full-bleed), so it can drop inline anywhere in the flow — e.g. right
   before a specific step in a .steps timeline — without breaking the
   surrounding layout. */
.mini-cta-dark { display: block; margin: 8px 0 40px; padding: 28px 32px; border-radius: var(--radius); background: radial-gradient(circle at 76% 50%, rgba(255, 121, 0, 0.16), transparent 38%), linear-gradient(135deg, #07111f 0%, #111d2e 100%); }
.mini-cta-dark__inner { display: grid; grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.mini-cta-dark__icon { display: grid; place-items: center; width: 60px; height: 60px; border: 3px solid var(--accent); border-radius: 50%; color: var(--accent); }
.mini-cta-dark strong { display: block; color: #fff; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.mini-cta-dark .mini-cta-dark__copy { margin: 0; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.82); font-size: 14px; line-height: 1.5; }
.mini-cta-dark .btn { white-space: nowrap; }

@media (max-width: 640px) {
  .mini-cta { flex-direction: column; align-items: stretch; text-align: left; padding: 20px; }
  .mini-cta__copy { flex: 0 1 auto; }
  .mini-cta-dark { padding: 24px 20px; }
  .mini-cta-dark__inner { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .mini-cta-dark .mini-cta-dark__copy, .mini-cta-dark .btn { grid-column: 1 / -1; }
  .mini-cta-dark .mini-cta-dark__copy { padding: 12px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .mini-cta-dark .btn { width: 100%; }
  .before-after { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .ads-grid { grid-template-columns: 1fr; }
  .rsya-grid { grid-template-columns: 1fr; }
  .img-grid { grid-template-columns: 1fr; }
  .img-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .system-grid { grid-template-columns: 1fr 1fr; }
  h2 { font-size: 20px; }
  .hero h1 { font-size: 22px; }

  /* Comparison tables become stacked cards instead of scrolling sideways */
  .table-wrap { overflow-x: visible; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .upolix-case-page .table-wrap table { min-width: 0; }
  .table-wrap thead { display: none; }
  .table-wrap tr { padding: 10px 14px; border-bottom: 1px solid var(--border); }
  .table-wrap tr:last-child { border-bottom: none; }
  .table-wrap td { padding: 6px 0; border-bottom: none; }
  .table-wrap td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--text3);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
  }
}
/* ============================================================
   END SHARED CASE-PAGE CONTENT SYSTEM
   ============================================================ */

html {
  scroll-behavior: smooth;
}

#situation,
#work,
#results,
#reviews,
#cta {
  scroll-margin-top: 88px;
}

body.upolix-case-page {
  background: #fff;
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.52;
  overflow-x: hidden;
}

.upolix-case-page nav {
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-color: rgba(7, 17, 31, 0.08);
  box-shadow: 0 10px 32px rgba(7, 17, 31, 0.04);
}

.upolix-case-page .nav-inner {
  max-width: 1180px;
  height: 76px;
}

.upolix-case-page .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.upolix-case-page .nav-logo {
  padding-right: 12px;
  border-right: 2px solid var(--accent);
  color: var(--text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.upolix-case-page .nav-subtitle {
  color: #334155;
  font-size: 11px;
  line-height: 1.25;
}

.upolix-case-page .nav-links {
  margin-left: auto;
}

.upolix-case-page .nav-links a {
  color: #334155;
  font-weight: 600;
}

.upolix-case-page .nav-phone {
  display: grid;
  margin-left: auto;
  line-height: 1.2;
}

.upolix-case-page .nav-phone strong {
  color: var(--text);
  font-size: 13px;
}

.upolix-case-page .nav-phone span {
  margin-top: 4px;
  color: var(--text3);
  font-size: 10px;
}

.upolix-case-page .nav-cta {
  border-radius: 7px;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(255, 121, 0, 0.22);
  font-weight: 700;
}

.upolix-case-page .hero,
.upolix-case-page .container {
  max-width: 1180px;
}

.upolix-case-page .hero {
  padding-top: 92px;
  padding-bottom: 76px;
}

.upolix-case-page .hero-tag {
  border: 1px solid rgba(255, 121, 0, 0.16);
  border-radius: 999px;
  font-weight: 700;
}

.upolix-case-page .hero h1 {
  max-width: 1060px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.upolix-case-page .hero-meta {
  gap: 10px 24px;
  margin-bottom: 50px;
  color: #64748b;
  font-size: 14px;
}

.upolix-case-page .stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
  border-radius: 8px;
  background: var(--border);
  box-shadow: 0 28px 70px rgba(7, 17, 31, 0.08);
}

.upolix-case-page .stat-card {
  min-height: 142px;
  padding: 25px 28px;
}

.upolix-case-page .stat-label,
.upolix-case-page .stat-was {
  font-size: 12px;
}

.upolix-case-page .stat-val {
  margin-top: 4px;
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
}

.upolix-case-page section {
  padding: 88px 0;
}

.upolix-case-page section:nth-of-type(even):not(#results):not(#cta) {
  background: #f8fafc;
}

.upolix-case-page .section-tag {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.upolix-case-page h2 {
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.upolix-case-page h3 {
  margin-top: 48px;
  color: var(--text);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}

.upolix-case-page p {
  max-width: 900px;
  color: var(--text2);
  font-size: 16px;
}

.upolix-case-page blockquote {
  max-width: 900px;
  padding: 22px 26px;
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--text);
  font-style: normal;
  line-height: 1.55;
}

.upolix-case-page .problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.upolix-case-page .problem-card,
.upolix-case-page .metric-card,
.upolix-case-page .system-card,
.upolix-case-page .review-card {
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 18px 45px rgba(7, 17, 31, 0.055);
}

.upolix-case-page .problem-card {
  min-height: 170px;
  padding: 22px;
}

.upolix-case-page .problem-card .label {
  color: var(--accent);
  font-weight: 700;
}

.upolix-case-page .table-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.upolix-case-page table {
  min-width: 680px;
}

.upolix-case-page th {
  background: #eef2f6;
  color: #526074;
  font-weight: 700;
}

.upolix-case-page td,
.upolix-case-page th {
  padding: 14px 16px;
}

.upolix-case-page .note {
  border-color: rgba(255, 121, 0, 0.3);
  background: var(--accent-light);
}

.upolix-case-page .steps {
  padding-left: 0;
}

.upolix-case-page .steps::before,
.upolix-case-page .step-dot {
  display: none;
}

.upolix-case-page .step {
  margin-bottom: 78px;
  padding-top: 0;
}

.upolix-case-page .step-num {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(255, 121, 0, 0.22);
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
}

.upolix-case-page .img-block,
.upolix-case-page .img-grid,
.upolix-case-page .img-grid-3,
.upolix-case-page .before-after,
.upolix-case-page .ads-grid {
  margin-top: 28px;
  margin-bottom: 34px;
}

.upolix-case-page .img-block img,
.upolix-case-page .img-grid img,
.upolix-case-page .img-grid-3 img,
.upolix-case-page .before-after img,
.upolix-case-page .ads-grid img,
.upolix-case-page figure > img {
  border-radius: 8px !important;
  box-shadow: 0 20px 56px rgba(7, 17, 31, 0.08);
}

.upolix-case-page figcaption {
  color: #718096 !important;
  font-size: 12px !important;
  line-height: 1.5;
}

.upolix-case-page .case-process-split {
  display: grid;
  gap: 20px;
  margin: 26px 0 38px;
}

.upolix-case-page .case-flow-group {
  padding: 18px;
  border: 1px solid rgba(7, 17, 31, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.06);
}

.upolix-case-page .case-flow-group--after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,240,0.42)),
    #fff;
}

.upolix-case-page .case-flow-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.upolix-case-page .case-flow-grid {
  margin: 0;
  gap: 16px;
}

.upolix-case-page .case-flow-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upolix-case-page .case-flow-grid .ba-card {
  overflow: hidden;
  border: 1px solid rgba(7, 17, 31, 0.08);
  border-radius: 12px;
  background: #fff;
}

.upolix-case-page .case-flow-grid .ba-card img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: top center;
  border-radius: 0 !important;
  background: #f8fafc;
  box-shadow: none;
}

.upolix-case-page .case-flow-grid--three .ba-card img {
  height: 300px;
}

.upolix-case-page .case-flow-grid .ba-card figcaption {
  padding: 12px 14px 14px;
}

.upolix-case-page .metrics-row {
  gap: 12px;
  margin: 28px 0 40px;
}

.upolix-case-page .metric-card {
  padding: 24px;
}

.upolix-case-page .metric-card .val,
.upolix-case-page .metric-card .accent {
  color: var(--accent);
  font-size: 32px;
  font-weight: 700;
}

.upolix-case-page .chart-wrap {
  height: 300px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(7, 17, 31, 0.045);
}

.upolix-case-page #results {
  background: #f3f6f9 !important;
}

.upolix-case-page .system-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.upolix-case-page .system-card {
  min-height: 160px;
  padding: 24px;
}

.upolix-case-page .system-card .icon {
  display: none;
}

.upolix-case-page .system-card .title {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
}

.upolix-case-page .system-card .desc {
  color: var(--text2);
  line-height: 1.5;
}

.upolix-case-page .cta-section {
  max-width: 1180px;
  padding: 80px 24px;
}

.upolix-case-page .cta-inner {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.upolix-case-page .cta-inner h2 {
  color: #07111f;
}

.upolix-case-page .cta-inner p {
  margin-inline: auto;
}

.upolix-case-page .cta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  max-width: 760px;
  margin: 26px auto 34px;
  text-align: left;
}

.upolix-case-page .cta-btn {
  border-radius: 7px;
  background: var(--accent);
  box-shadow: 0 16px 38px rgba(255, 121, 0, 0.25);
}

.upolix-case-page .case-diagnostic-cta {
  border-top: 0;
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 121, 0, 0.13), rgba(255, 121, 0, 0) 34%),
    linear-gradient(180deg, #07111f 0%, #050d19 100%);
}

.upolix-case-page .case-diagnostic-cta .cta-section {
  max-width: none;
  padding: 120px 24px 86px;
}

.upolix-case-page .case-diagnostic-cta .cta-inner {
  max-width: 1060px;
}

.upolix-case-page .case-diagnostic-cta__lead {
  max-width: 980px;
  color: rgba(226, 232, 240, 0.46);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.45;
}

.upolix-case-page .case-diagnostic-cta .cta-list {
  max-width: 960px;
  gap: 28px 72px;
  margin: 70px auto 60px;
}

.upolix-case-page .case-diagnostic-cta .cta-list li {
  position: relative;
  padding: 0 0 0 30px;
  color: rgba(248, 250, 252, 0.82);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.55;
}

.upolix-case-page .case-diagnostic-cta .cta-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #6ee7a0;
  content: "→";
}

.upolix-case-page .case-diagnostic-cta .cta-btn {
  min-width: min(100%, 390px);
  padding: 18px 30px;
  border-radius: 7px;
  color: #07111f;
  font-size: 20px;
  font-weight: 500;
  box-shadow: 0 26px 62px rgba(255, 121, 0, 0.34);
}

.upolix-case-page .case-diagnostic-cta .cta-author {
  margin-top: 54px;
  color: rgba(226, 232, 240, 0.42);
  font-size: 18px;
  line-height: 1.5;
}

.upolix-case-page .case-diagnostic-cta--form .cta-section {
  padding: 92px 24px;
}

.upolix-case-page .case-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1fr);
  align-items: center;
  gap: 54px;
  max-width: 1180px;
  text-align: left;
}

.upolix-case-page .case-form-copy .case-diagnostic-cta__lead {
  margin: 0;
}

.upolix-case-page .case-form-copy .cta-list {
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 42px 0 0;
}

.upolix-case-page .case-form-copy .cta-author {
  margin-top: 44px;
}

.upolix-case-page .case-contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.upolix-case-page .case-contact-form .contact-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.upolix-case-page .case-contact-form .contact-methods > span {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.upolix-case-page .case-contact-form .contact-methods label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(7, 17, 31, 0.14);
  border-radius: 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.upolix-case-page .case-contact-form .contact-methods label:has(input:checked) {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  color: #1d4ed8;
}

.upolix-case-page .case-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.upolix-case-page .case-contact-form input:not([type="radio"]),
.upolix-case-page .case-contact-form select {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(7, 17, 31, 0.12);
  border-radius: 10px;
  background: #f8fafc;
  color: #07111f;
  font: inherit;
  outline: none;
}

.upolix-case-page .case-contact-form input:focus,
.upolix-case-page .case-contact-form select:focus {
  border-color: rgba(255, 121, 0, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 121, 0, 0.12);
}

.upolix-case-page .case-contact-form .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.upolix-case-page .case-contact-form small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 980px) {
  .upolix-case-page .case-form-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .upolix-case-page .case-contact-form {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .upolix-case-page .case-diagnostic-cta--form .cta-section {
    padding: 56px 14px;
  }

  .upolix-case-page .case-contact-form {
    gap: 12px;
    padding: 18px;
    border-radius: 14px;
  }

  .upolix-case-page .case-contact-form .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upolix-case-page .case-contact-form .contact-methods label {
    min-height: 44px;
    font-size: 12px;
  }

  .upolix-case-page .case-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .upolix-case-page .case-contact-form input:not([type="radio"]),
  .upolix-case-page .case-contact-form select,
  .upolix-case-page .case-contact-form .cta-btn {
    min-height: 52px;
  }
}

@media (max-width: 980px) {
  .upolix-case-page .nav-links,
  .upolix-case-page .nav-phone {
    display: none;
  }

  .upolix-case-page .nav-cta {
    margin-left: auto;
  }

  .upolix-case-page .problem-grid,
  .upolix-case-page .stats-grid,
  .upolix-case-page .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .upolix-case-page nav {
    padding: 0 14px;
  }

  .upolix-case-page .nav-inner {
    height: 64px;
    gap: 10px;
  }

  .upolix-case-page .nav-logo {
    padding-right: 0;
    border-right: 0;
    font-size: 28px;
  }

  .upolix-case-page .nav-subtitle {
    display: none;
  }

  .upolix-case-page .nav-cta {
    padding: 8px 12px;
    font-size: 11px;
  }

  .upolix-case-page .hero,
  .upolix-case-page .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .upolix-case-page .hero {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .upolix-case-page .hero h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  .upolix-case-page .hero-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 32px;
  }

  .upolix-case-page .stats-grid,
  .upolix-case-page .problem-grid,
  .upolix-case-page .system-grid,
  .upolix-case-page .cta-list {
    grid-template-columns: 1fr;
  }

  .upolix-case-page .stat-card {
    min-height: 0;
    padding: 20px;
  }

  .upolix-case-page section {
    padding: 58px 0;
  }

  .upolix-case-page h2 {
    font-size: 34px;
  }

  .upolix-case-page h3 {
    font-size: 21px;
  }

  .upolix-case-page .problem-card {
    min-height: 0;
  }

  .upolix-case-page .img-grid,
  .upolix-case-page .img-grid-3,
  .upolix-case-page .before-after,
  .upolix-case-page .ads-grid {
    grid-template-columns: 1fr;
  }

  .upolix-case-page .case-flow-grid--three {
    grid-template-columns: 1fr;
  }

  .upolix-case-page .case-flow-group {
    padding: 12px;
    border-radius: 12px;
  }

  .upolix-case-page .case-flow-grid .ba-card img {
    height: 250px;
  }

  .upolix-case-page .metrics-row {
    grid-template-columns: 1fr !important;
  }

  .upolix-case-page .chart-wrap,
  .upolix-case-page .chart-wrap[style] {
    height: 240px !important;
    padding: 14px;
  }

  .upolix-case-page .cta-section {
    padding: 58px 14px;
  }
}

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

/* Header from the main AKM site. */













/* First screen follows the approved panoramic product direction. */
.upolix-case-page .hero {
  position: relative;
  max-width: none;
  min-height: calc(100vh - 76px);
  padding: 38px max(24px, calc((100vw - 1180px) / 2)) 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 22%, rgba(68, 193, 111, 0.18), rgba(68, 193, 111, 0) 34%),
    radial-gradient(circle at 88% 52%, rgba(255, 121, 0, 0.12), rgba(255, 121, 0, 0) 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #ffffff 100%);
}

.upolix-case-page .hero::before {
  content: "";
  position: absolute;
  top: 118px;
  right: max(0px, calc((100vw - 1180px) / 2 - 64px));
  width: min(650px, 47vw);
  height: 500px;
  z-index: 0;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.32)),
    rgba(255, 255, 255, 0.48);
  box-shadow: 0 48px 120px rgba(7, 17, 31, 0.12);
  transform: rotate(-2deg);
  pointer-events: none;
}

.upolix-case-page .hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 210px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.8) 46%, #ffffff 100%);
  pointer-events: none;
}

.upolix-case-page .hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.74fr);
  align-items: center;
  gap: 46px;
  width: 100%;
  max-width: 1180px;
  min-height: 500px;
  margin: 0 auto 26px;
}

.upolix-case-page .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.upolix-case-page .hero-copy::before {
  content: none;
}

.upolix-case-page .hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 121, 0, 0.18);
  border-radius: 999px;
  background: rgba(255, 241, 229, 0.68);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.upolix-case-page .hero h1 {
  max-width: 720px;
  margin: 22px 0 22px;
  font-size: clamp(40px, 3.72vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #07111f;
}

.upolix-case-page .hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 640px;
  padding: 7px;
  margin-bottom: 0;
  border: 1px solid rgba(7, 17, 31, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  color: #425168;
  line-height: 1.4;
  box-shadow: 0 22px 70px rgba(7, 17, 31, 0.08);
  backdrop-filter: blur(16px);
}

.upolix-case-page .hero-meta span {
  position: relative;
  min-height: 48px;
  padding: 8px 18px 8px 34px;
  align-items: center;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
}

.upolix-case-page .hero-meta span::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 121, 0, 0.12);
}

.upolix-case-page .hero-meta span:nth-child(2n) {
  border-left: 0;
}

.upolix-case-page .hero-meta span:nth-child(n + 3) {
  border-top: 1px solid rgba(7, 17, 31, 0.06);
}

.upolix-case-page .hero-visual {
  position: relative;
  display: block;
  align-self: center;
  height: min(500px, 60vh);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 31, 0.1);
  border-radius: 28px;
  background: #ffffff;
  box-shadow:
    0 34px 90px rgba(7, 17, 31, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: perspective(1100px) rotateY(-7deg) rotateX(2deg);
  transform-origin: center left;
}

.upolix-case-page .hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.78) 54%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.upolix-case-page .hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88));
  pointer-events: none;
}

.upolix-case-page .hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 17%;
  filter: saturate(1.05) contrast(1.03);
}

.upolix-case-page .hero .stats-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(7, 17, 31, 0.1);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(7, 17, 31, 0.1);
  box-shadow: 0 26px 80px rgba(7, 17, 31, 0.12);
  backdrop-filter: blur(18px);
}

.upolix-case-page .hero .stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 116px;
  padding: 16px 17px 15px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    #07111f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.upolix-case-page .hero .stat-val {
  order: 1;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: clamp(21px, 1.52vw, 27px);
  font-weight: 700;
  line-height: 1.04;
}

.upolix-case-page .hero .stat-val.green {
  color: var(--accent);
}

.upolix-case-page .hero .stat-card:nth-child(1) .stat-val.green,
.upolix-case-page .hero .stat-card:nth-child(6) .stat-val.green {
  color: #ffffff;
}

.upolix-case-page .hero .stat-label {
  order: 2;
  margin-bottom: 3px;
  color: #e8edf4;
  line-height: 1.35;
  font-weight: 600;
  font-size: 12px;
}

.upolix-case-page .hero .stat-was {
  order: 3;
  margin: 0;
  color: #8996aa;
  font-size: 12px;
}

@media (max-width: 1120px) {


  .upolix-case-page .hero .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .upolix-case-page .hero-main {
    grid-template-columns: 1fr;
  }

  .upolix-case-page .hero-visual {
    min-height: 360px;
    transform: none;
  }

  .upolix-case-page .hero h1 {
    font-size: clamp(38px, 4.8vw, 48px);
  }
}

@media (max-width: 900px) {
  .upolix-case-page .hero {
    background:
      radial-gradient(circle at 76% 20%, rgba(68, 193, 111, 0.16), rgba(68, 193, 111, 0) 34%),
      linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #ffffff 100%);
  }
}

@media (max-width: 720px) {









  .upolix-case-page .hero {
    min-height: 0;
    padding: 30px 14px 28px;
  }

  .upolix-case-page .hero::before {
    content: none;
  }

  .upolix-case-page .hero-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    margin-bottom: 20px;
  }

  .upolix-case-page .hero-tag {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .upolix-case-page .hero h1 {
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #07111f;
  }

  .upolix-case-page .hero-meta {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 12px;
    border-radius: 14px;
    font-size: 12px;
  }

  .upolix-case-page .hero-meta span {
    min-height: 0;
    padding: 8px 10px 8px 24px;
    border-left: 0 !important;
    border-top: 1px solid rgba(7, 17, 31, 0.08);
  }

  .upolix-case-page .hero-meta span:first-child {
    border-top: 0;
  }

  .upolix-case-page .hero-meta span::before {
    top: 17px;
    left: 8px;
    box-shadow: 0 0 0 4px rgba(255, 121, 0, 0.12);
  }

  .upolix-case-page .hero-visual {
    aspect-ratio: 4 / 3;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: 18px;
    background: #f7f8f6;
    box-shadow: 0 18px 42px rgba(7, 17, 31, 0.1);
    transform: none;
  }

  .upolix-case-page .hero .stats-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    border-radius: 18px;
    backdrop-filter: none;
  }

  .upolix-case-page .hero .stat-card {
    min-height: 118px;
    padding: 15px 12px 14px;
  }

  .upolix-case-page .hero .stat-val {
    font-size: 22px;
  }
}

/* Final approved light case-page overrides. Keep this block last. */
.upolix-case-page .hero {
  min-height: auto;
  padding: 64px max(24px, calc((100vw - 1180px) / 2)) 56px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.97) 43%, rgba(255,255,255,0.62) 66%, rgba(255,255,255,0.18) 100%),
    url("../assets/hero-upolix-factory-bg.png") right center / auto 112% no-repeat,
    radial-gradient(circle at 86% 22%, rgba(68,193,111,0.12), rgba(68,193,111,0) 36%),
    #ffffff;
}

.upolix-case-page .hero::before,
.upolix-case-page .hero::after {
  content: none;
}

.upolix-case-page .hero-main {
  display: block;
  max-width: 1180px;
  min-height: 0;
  margin: 0 auto 34px;
}

.upolix-case-page .hero-copy {
  max-width: 900px;
}

.upolix-case-page .hero-visual {
  display: none !important;
}

.upolix-case-page .hero-tag {
  margin-bottom: 24px;
  padding: 0 16px;
  border: 1px solid rgba(255,121,0,0.2);
  border-radius: 999px;
  background: rgba(255,241,229,0.7);
}

.upolix-case-page .hero h1 {
  max-width: 720px;
  margin: 0 0 26px;
  font-weight: 700;
  font-size: clamp(40px, 4.25vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.upolix-case-page .hero h1 span {
  color: var(--accent);
  white-space: nowrap;
}

.upolix-case-page .hero-meta {
  max-width: 860px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 18px 54px rgba(7,17,31,0.08);
}

.upolix-case-page .hero .stats-grid {
  max-width: 1180px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.upolix-case-page .hero .stat-card {
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(7,17,31,0.09);
  border-radius: 12px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 44px rgba(7,17,31,0.07);
}

.upolix-case-page .hero .stat-val,
.upolix-case-page .hero .stat-val.green,
.upolix-case-page .hero .stat-card:nth-child(1) .stat-val.green,
.upolix-case-page .hero .stat-card:nth-child(5) .stat-val.green {
  color: var(--accent);
}

.upolix-case-page .hero .stat-label {
  color: #334155;
}

.upolix-case-page .hero .stat-was {
  color: #8a96a8;
}

.upolix-case-page .table-wrap {
  border: 1px solid rgba(7,17,31,0.1);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(7,17,31,0.06);
}

.upolix-case-page .table-wrap table {
  background: #ffffff;
}

.upolix-case-page .table-wrap th {
  background: #f3f6f9;
  color: #64748b;
}

.upolix-case-page .table-wrap td {
  background: #ffffff;
  color: #455267;
}

.upolix-case-page .table-wrap tr:nth-child(even) td {
  background: #f8fafc;
}

.upolix-case-page .table-wrap tr:hover td {
  background: #fff7ed;
}

.upolix-case-page .case-footer {
  padding: 0 max(24px, calc((100vw - 1180px) / 2)) 44px;
  background: #ffffff;
}

.upolix-case-page .case-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr) minmax(220px, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(7, 17, 31, 0.1);
  color: #455267;
}

.upolix-case-page .case-footer .main-brand {
  display: inline-flex;
  margin-bottom: 14px;
  color: #07111f;
  text-decoration: none;
}

.upolix-case-page .case-footer h2 {
  margin: 0 0 12px;
  color: #07111f;
  font-size: 16px;
  line-height: 1.2;
}

.upolix-case-page .case-footer p {
  max-width: 430px;
  margin: 0 0 8px;
  color: #455267;
  font-size: 14px;
  line-height: 1.5;
}

.upolix-case-page .case-footer a {
  color: #07111f;
  font-weight: 700;
  text-decoration: none;
}

.upolix-case-page .case-footer a:hover {
  color: var(--accent);
}

.upolix-case-page .cta {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.upolix-case-page .cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 570px;
  gap: 48px;
  margin-top: 0;
  margin-bottom: 42px;
  padding: 44px;
  border: 1px solid rgba(221, 226, 232, 0.78);
  border-radius: 20px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 62%, rgba(255, 255, 255, 0.74) 100%),
    url("../assets/hero-construction.png") right center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(10, 24, 40, 0.09);
}

.upolix-case-page .cta h2 {
  max-width: 600px;
  margin: 0 0 18px;
  color: #07111f;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.upolix-case-page .cta h2 span {
  color: var(--accent);
}

.upolix-case-page .cta p {
  max-width: 600px;
  margin: 0 0 24px;
  color: #4b5668;
  font-size: 17px;
  line-height: 1.55;
}

.upolix-case-page .benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 12px;
  max-width: 780px;
}

.upolix-case-page .benefits--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upolix-case-page .benefits div {
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(10, 24, 40, 0.05);
  backdrop-filter: blur(10px);
}

.upolix-case-page .benefits b,
.upolix-case-page .benefits span {
  display: block;
}

.upolix-case-page .benefits b {
  color: #07111f;
  font-size: 13px;
}

.upolix-case-page .benefits span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}














.upolix-case-page .is-invalid {
  border-color: rgba(220, 38, 38, 0.72) !important;
  background: #fff7f7 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08) !important;
}

.upolix-case-page button:disabled {
  cursor: wait;
  opacity: 0.72;
}



































.upolix-case-page.modal-open {
  overflow: hidden;
}

@media (max-width: 1120px) {
  .upolix-case-page .hero .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .upolix-case-page .cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .upolix-case-page .hero {
    padding: 34px 14px 32px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 100%),
      url("../assets/hero-upolix-factory-bg.png") right top / auto 76% no-repeat,
      #ffffff;
  }

  .upolix-case-page .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .upolix-case-page .hero h1 span {
    white-space: normal;
  }

  .upolix-case-page .hero-meta {
    grid-template-columns: 1fr;
  }

  .upolix-case-page .hero .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .upolix-case-page .hero .stat-card {
    min-height: 118px;
    padding: 16px 12px;
  }

  .upolix-case-page .case-footer {
    padding: 0 16px 34px;
  }

  .upolix-case-page .case-footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
  }

.upolix-case-page .cta {
    width: calc(100% - 32px);
  }

  .upolix-case-page .cta {
    gap: 22px;
    padding: 28px 16px;
  }

  .upolix-case-page .cta h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

.upolix-case-page .benefits,
.upolix-case-page .benefits--compact {
    grid-template-columns: 1fr;
  }















}
