/*
 * scenarios.css — стили лендингов «Сценарии роста» (7 страниц по индустриям).
 * Источник: page mockups/for production/Сценарии/*.html (CSS идентичен во всех 7).
 * Все селекторы заскоуплены под .gfs. GitLab issue #41.
 * Порт-оверрайды (клиренс под фикс-хедер, static stage-bar под ScrollSmoother,
 * нейтрализация глобального *{font-size:1.6rem}) — в конце файла.
 */
.gfs *, .gfs *::before, .gfs *::after {box-sizing: border-box; margin: 0; padding: 0;
}
.gfs {--accent: #5b5ef4;
  --accent-dark: #4a4de0;
  --accent-light: #ededfe;
  --accent-2: #a78bfa;
  --bg-page: #ffffff;
  --bg-soft: #f7f8fc;
  --surface: #ffffff;
  --border: #e8eaed;
  --border-soft: #f0f1f4;
  --text-primary: #15171c;
  --text-secondary: #5b6472;
  --text-muted: #9ca3af;
  --green: #0f9d58;
  --green-dark: #0b6b3d;
  --radius: 4px;            
  --radius-pill: 100px;
  --header-h: 64px;
  --stage-h: 60px;
  
  --shadow-sm: 0 1px 3px rgba(20,23,40,0.05), 0 1px 2px rgba(20,23,40,0.03);
  --shadow-hover: 0 4px 20px rgba(91,94,244,0.09);
}
.gfs {scroll-behavior: smooth;
}
.gfs {font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.gfs {overflow-x: clip;
}
.gfs a {color: inherit;
}
.gfs .gf-header {background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex;
  align-items: center;
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 300;
}
.gfs .gf-logo {display: flex; align-items: center; text-decoration: none; flex-shrink: 0;
}
.gfs .gf-logo img {display: block; height: 28px;
}
.gfs .gf-nav {list-style: none; margin-left: 32px; display: flex; align-items: center; gap: 2px;
}
.gfs .gf-nav li a {font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  display: block;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.gfs .gf-nav li a:hover {background: var(--bg-soft); color: var(--text-primary);
}
.gfs .gf-nav li a.active {color: var(--accent);
}
.gfs .gf-header-right {margin-left: auto; display: flex; align-items: center; gap: 16px;
}
.gfs .gf-lang {display: flex; align-items: center; gap: 5px; font-size: 12.5px;
}
.gfs .gf-lang a {color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.15s;
}
.gfs .gf-lang a.active {color: var(--text-primary);
}
.gfs .gf-lang a:hover {color: var(--text-primary);
}
.gfs .gf-lang-sep {color: #d1d5db;
}
.gfs .gf-demo-btn {background: #0d0d1a;
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.gfs .gf-demo-btn:hover {background: var(--accent);
}
.gfs .hero {position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 50% -20%, rgba(91,94,244,0.09) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
  border-bottom: 1px solid var(--border-soft);
  padding: 44px 48px 40px;
  overflow: hidden;
}
.gfs .hero::before {content: '';
  position: absolute;
  top: -140px; right: -90px;
  width: 460px; height: 460px;
  background: radial-gradient(circle at center, rgba(167,139,250,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.gfs .hero-inner {position: relative; z-index: 1; max-width: 1300px; margin: 0 auto;
}
.gfs .hero-eyebrow {display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  border: 1px solid rgba(91,94,244,0.22);
}
.gfs .hero-eyebrow .dot {width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.65); }
}
.gfs .hero h1 {font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1.4px;
  line-height: 1.08;
  max-width: 860px;
  margin-bottom: 16px;
}
.gfs .hero h1 .accent {background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gfs .hero-desc {font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.6;
  font-weight: 400;
}
.gfs .hero-stats {display: grid;
  grid-template-columns: repeat(3, 1fr) 1.05fr;
  gap: 12px;
  margin-top: 28px;
}
.gfs .stat {background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.gfs .stat:hover {border-color: rgba(91,94,244,0.28); box-shadow: var(--shadow-sm);
}
.gfs .stat-eyebrow {font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.gfs .stat-eyebrow .pip {width: 6px; height: 6px; border-radius: 2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}
.gfs .stat-value {font-size: 29px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gfs .stat-desc {font-size: 12px; color: var(--text-secondary); line-height: 1.45;
}
.gfs .stat--control {background:
    repeating-linear-gradient(135deg, rgba(91,94,244,0.025) 0 10px, transparent 10px 20px),
    var(--bg-soft);
  border-style: dashed;
  border-color: #c9cce0;
}
.gfs .stat--control:hover {border-color: #b3b7d6; box-shadow: none;
}
.gfs .stat--control .stat-eyebrow {color: var(--text-muted);
}
.gfs .stat--control .stat-eyebrow .pip {background: var(--text-muted); border-radius: 50%;
}
.gfs .stat--control .stat-value {background: none;
  -webkit-text-fill-color: initial;
  color: var(--text-primary);
  font-weight: 700;
}
.gfs .stat--control .stat-tagline {font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid #cfd2e6;
  background: #fff;
  border-radius: var(--radius);
  padding: 2px 7px;
  align-self: flex-start;
  margin-top: 1px;
}
.gfs .stage-bar {background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}
.gfs .stage-bar-inner {max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--stage-h);
  overflow-x: auto;
  scrollbar-width: none;
}
.gfs .stage-bar-inner::-webkit-scrollbar {display: none;
}
.gfs .stage-bar-label {font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-right: 2px;
}
.gfs .stage-chip {padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.gfs .stage-chip .chip-count {font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}
.gfs .stage-chip:hover {color: var(--accent); border-color: rgba(91,94,244,0.4); background: var(--accent-light);
}
.gfs .stage-chip:hover .chip-count {color: var(--accent);
}
.gfs .stage-chip.active {background: var(--accent); color: #fff; border-color: var(--accent);
}
.gfs .stage-chip.active .chip-count {color: rgba(255,255,255,0.75);
}
.gfs .main-wrap {max-width: 1300px; margin: 0 auto; padding: 40px 40px 80px;
}
.gfs .table-intro {margin-bottom: 22px;
}
.gfs .table-intro h2 {font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.gfs .table-intro p {font-size: 15px; color: var(--text-secondary); max-width: 720px; line-height: 1.55;
}
.gfs .table-wrap {border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #cdd0e0 transparent;
}
.gfs .table-wrap::-webkit-scrollbar {height: 8px;
}
.gfs .table-wrap::-webkit-scrollbar-thumb {background: #cdd0e0; border-radius: 4px;
}
.gfs .scn-table {width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  table-layout: fixed;
}
.gfs .scn-table thead th {text-align: left;
  vertical-align: bottom;
  background: #fbfbff;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.gfs .scn-table tbody td {vertical-align: top;
  padding: 14px;
  border-bottom: 1px solid var(--border-soft);
  overflow-wrap: break-word;
}
.gfs .scn-table tbody tr:last-child td {border-bottom: 0;
}
.gfs .scn-table tbody tr {transition: background 0.12s;
}
.gfs .scn-table tbody tr:hover td {background: #fafbff;
}
.gfs .scn-table tr.is-hidden {display: none;
}
.gfs .col-scn {width: 21%;
}
.gfs .col-goal {width: 15%;
}
.gfs .col-target {width: 14%;
}
.gfs .col-type {width: 13%;
}
.gfs .col-where {width: 19%;
}
.gfs .col-result {width: 18%;
}
.gfs .scn-num {display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.gfs .scn-title {display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.2px;
  margin-bottom: 7px;
}
.gfs .scn-desc {font-size: 13px; color: #485061; line-height: 1.4;
}
.gfs .cell {font-size: 13.5px; color: #232a37; line-height: 1.4; font-weight: 500;
}
.gfs .cell.muted {color: #39414f; font-weight: 500;
}
@media (min-width: 861px) {
  .gfs .scn-table tbody td:nth-child(2)::before, .gfs .scn-table tbody td:nth-child(3)::before, .gfs .scn-table tbody td:nth-child(5)::before {content: attr(data-label);
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9097a6;
  }
}
.gfs .sc-type {display: inline-block;
  max-width: 100%;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius);     
  white-space: normal;
  overflow-wrap: break-word;
  letter-spacing: 0.1px;
  line-height: 1.35;
}
.gfs .type-widget {background: #fef3c7; color: #92400e;
}
.gfs .type-banner {background: #ede9fe; color: #6d28d9;
}
.gfs .type-search {background: #dbeafe; color: #1d4ed8;
}
.gfs .type-message {background: #e0f2fe; color: #075985;
}
.gfs .type-popup {background: #fee2e2; color: #991b1b;
}
.gfs .type-dynamic {background: #d1fae5; color: #065f46;
}
.gfs .type-info {background: #fce7f3; color: #9d174d;
}
.gfs .res-line {display: block; font-size: 13.5px; color: var(--green-dark); line-height: 1.35; font-weight: 600;
}
.gfs .res-line + .res-line {margin-top: 5px;
}
.gfs .res-line b {color: var(--green); font-weight: 800;
}
.gfs .cell-bench {display: block; margin-top: 9px; font-size: 12px; color: #707892; line-height: 1.4;
}
.gfs .list-empty {display: none; padding: 56px 20px; text-align: center; color: var(--text-muted); font-size: 15px;
}
.gfs .list-empty.visible {display: block;
}
.gfs .table-note {display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.gfs .note-card {display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(91,94,244,0.25);
  border-left: 3px solid var(--accent);
  background: linear-gradient(180deg, #f6f7ff 0%, #eef0ff 100%);
}
.gfs .note-card--metrics {border-color: rgba(15,157,88,0.25);
  border-left-color: var(--green);
  background: linear-gradient(180deg, #f1faf4 0%, #e6f6ec 100%);
}
.gfs .note-ico {flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: rgba(91,94,244,0.12);
  color: var(--accent);
}
.gfs .note-card--metrics .note-ico {background: rgba(15,157,88,0.12); color: var(--green);
}
.gfs .note-ico svg {width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.gfs .note-label {display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 5px;
}
.gfs .note-card--metrics .note-label {color: var(--green-dark);
}
.gfs .note-card p {font-size: 13px; color: #2b3240; line-height: 1.45; font-weight: 500;
}
.gfs .cases-section {background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 64px 48px;
}
.gfs .cases-inner {max-width: 1300px; margin: 0 auto;
}
.gfs .cases-head {margin-bottom: 24px;
}
.gfs .cases-head h2 {font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.gfs .cases-head p {font-size: 15px; color: var(--text-secondary); max-width: 620px;
}
.gfs .case-grid {display: grid;
  grid-template-columns: repeat(3, 1fr);   
  gap: 12px;
}
.gfs .case-card {background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.gfs .case-card::before {content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0;
  transition: opacity 0.18s;
}
.gfs .case-card:hover {box-shadow: var(--shadow-hover); transform: translateY(-1px); border-color: rgba(91,94,244,0.22);
}
.gfs .case-card:hover::before {opacity: 1;
}
.gfs .case-card.is-hidden {display: none;
}
.gfs .case-card-top {display: flex;
  align-items: center;
  height: 30px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.gfs .case-logo {height: 26px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) saturate(0);
  opacity: 0.68;
  transition: opacity 0.18s;
}
.gfs .case-card:hover .case-logo {opacity: 1;
}
.gfs .case-desc {font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px;
}
.gfs .case-metric {margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.gfs .case-metric-value {font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.6px;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.gfs .case-metric-sub {font-size: 12px; color: var(--text-muted);
}
.gfs .cases-empty {display: none; padding: 40px 20px; color: var(--text-muted); font-size: 14px;
}
.gfs .cases-empty.visible {display: block;
}
.gfs .cases-footer {margin-top: 24px;
}
.gfs .cases-all-link {display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.15s, color 0.15s;
}
.gfs .cases-all-link:hover {gap: 10px; color: var(--accent-dark);
}
.gfs .final-cta {padding: 76px 48px; background: #fff;
}
.gfs .final-cta-inner {max-width: 1000px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(91,94,244,0.10) 0%, transparent 60%),
    linear-gradient(180deg, #f7f8ff 0%, #eef0ff 100%);
  border: 1px solid rgba(91,94,244,0.18);
  border-radius: var(--radius);
  padding: 52px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gfs .final-cta-inner::before {content: '';
  position: absolute;
  top: -90px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle at center, rgba(167,139,250,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.gfs .final-cta h2 {position: relative;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.9px;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.gfs .final-cta p {position: relative;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.gfs .final-cta-btn {position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #7c75f7 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: transform 0.15s, box-shadow 0.15s;
}
.gfs .final-cta-btn:hover {transform: translateY(-2px); box-shadow: var(--shadow-hover);
}
.gfs .gf-footer {background: #0a0a14; color: #fff; padding: 56px 48px 32px;
}
.gfs .gf-footer-inner {max-width: 1300px; margin: 0 auto;
}
.gfs .gf-footer-top {display: grid; grid-template-columns: 200px 1fr; gap: 64px; margin-bottom: 48px;
}
.gfs .gf-footer-logo {display: block; margin-bottom: 14px;
}
.gfs .gf-footer-logo img {height: 26px; filter: brightness(0) invert(1); opacity: 0.85;
}
.gfs .gf-footer-tagline {font-size: 13px; color: #6b7280; line-height: 1.6; margin-bottom: 20px;
}
.gfs .gf-footer-demo {display: inline-block;
  background: rgba(91,94,244,0.85);
  color: #fff;
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.gfs .gf-footer-demo:hover {background: var(--accent);
}
.gfs .gf-footer-cols {display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.gfs .gf-footer-col h4 {font-size: 10.5px; font-weight: 600; color: #6b7280; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 14px;
}
.gfs .gf-footer-col ul {list-style: none;
}
.gfs .gf-footer-col ul li {margin-bottom: 9px;
}
.gfs .gf-footer-col ul a {font-size: 13px; color: #9ca3af; text-decoration: none; transition: color 0.15s;
}
.gfs .gf-footer-col ul a:hover {color: #fff;
}
.gfs .gf-footer-bottom {border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.gfs .gf-footer-copy {font-size: 12px; color: #4b5563;
}
.gfs .gf-footer-legal {display: flex; gap: 24px;
}
.gfs .gf-footer-legal a {font-size: 12px; color: #4b5563; text-decoration: none;
}
.gfs .gf-footer-legal a:hover {color: #9ca3af;
}
@media (max-width: 960px) {
  .gfs .hero-stats {grid-template-columns: repeat(2, 1fr);
  }
  .gfs .hero {padding: 36px 20px 32px;
  }
  .gfs .hero h1 {font-size: 30px; letter-spacing: -0.9px;
  }
  .gfs .hero-desc {font-size: 14.5px;
  }
  .gfs .main-wrap {padding: 32px 20px 56px;
  }
  .gfs .gf-header {padding: 0 20px;
  }
  .gfs .gf-nav {display: none;
  }
  .gfs .stage-bar-inner {padding: 0 20px;
  }
  .gfs .cases-section {padding: 48px 20px;
  }
  .gfs .cases-head h2 {font-size: 24px;
  }
  .gfs .case-grid {grid-template-columns: repeat(2, 1fr);
  }
  .gfs .final-cta {padding: 52px 20px;
  }
  .gfs .final-cta-inner {padding: 38px 24px;
  }
  .gfs .final-cta h2 {font-size: 25px;
  }
  .gfs .gf-footer {padding: 40px 20px 24px;
  }
  .gfs .gf-footer-top {grid-template-columns: 1fr; gap: 32px;
  }
  .gfs .gf-footer-cols {grid-template-columns: repeat(2, 1fr); gap: 24px;
  }
  .gfs .table-note {grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .gfs .table-wrap {overflow: visible; border: 0; background: transparent;
  }
  .gfs .scn-table {min-width: 0;
  }
  .gfs .scn-table thead {display: none;
  }
  .gfs .scn-table, .gfs .scn-table tbody, .gfs .scn-table tr, .gfs .scn-table td {display: block; width: 100%;
  }
  .gfs .scn-table tbody tr {margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
  }
  .gfs .scn-table tbody tr:hover td {background: transparent;
  }
  .gfs .scn-table tbody td {padding: 13px 16px; border-bottom: 1px solid var(--border-soft);
  }
  .gfs .scn-table tbody tr td:last-child {border-bottom: 0;
  }
  .gfs .scn-table tbody td::before {content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .gfs .col-scn::before {display: none;
  }
}
@media (max-width: 560px) {
  .gfs .hero-stats {grid-template-columns: 1fr;
  }
  .gfs .hero h1 {font-size: 26px;
  }
  .gfs .stat-value {font-size: 26px;
  }
  .gfs .case-grid {grid-template-columns: 1fr;
  }
  .gfs .gf-footer-cols {grid-template-columns: 1fr 1fr;
  }
}

/* ─────────────  ПОРТ-ОВЕРРАЙДЫ В ТЕМУ (issue #41)  ───────────── */
/* Тема: фикс-хедер body>header высотой 70px (7rem). Мокапный .gf-header не переносим. */
/* Клиренс первой секции: 7rem под хедер + воздух из мокапа (44px). */
.gfs .hero { padding-top: calc(7rem + 44px); }

/* stage-bar в мокапе sticky; тема прокручивает контент через GSAP ScrollSmoother
   (#smooth-content), где native position:sticky ломается → делаем static. */
.gfs .stage-bar { position: static; top: auto; }

/* Глобальный тем-ресет *{font-size:1.6rem} течёт внутрь .gfs и ломает наследование
   размера у inline-элементов без своего font-size (урок глоссария, CLAUDE.md). */
.gfs :is(span, a, strong, b, em, i, mark, small, sub, sup) {
  font-size: inherit; line-height: inherit; letter-spacing: inherit;
}

/* Шрифт. Тема задаёт Geometria на самих тегах (h1, h2, p, td…) — это бьёт
   унаследованный от .gfs Inter по специфичности. Мокап целиком на Inter,
   поэтому форсим его на всём поддереве .gfs через !important (внутри .gfs
   иконочных/mono-шрифтов нет, перебивать нечего). */
.gfs, .gfs * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Коллизия имени класса: у темы есть свой глобальный лендинг-.hero
   (height:100vh, min-height:calc(var(--vh)*100), padding-bottom:22rem и
   тёмный ::after — fade-to-#010102). Он течёт в наш .gfs .hero по имени
   класса и рисует чёрную заливку под первым экраном. Гасим тем-специфику,
   оставляя мокапный (авто-высота, светлый) герой. Issue #41. */
.gfs .hero { height: auto; min-height: 0; }
.gfs .hero::after { content: none; display: none; background: none; }
