/* =====================================================================
   PARADIGMA FOOTER 2026 — глобальный footer на всех страницах сайта
   Префикс: .pf-* (paradigma-footer) — изолирован от Bootstrap/template.
   ===================================================================== */

.pf-2026 {
  --pf-ink: #0c0c0c;
  --pf-cream: #f4ede1;
  --pf-bone: #e8dfcc;
  --pf-fire: #ff4524;
  --pf-pulse: #c4ff00;
  --pf-sky: #7dc4ff;
  --pf-muted: rgba(244, 237, 225, 0.5);
  --pf-faint: rgba(244, 237, 225, 0.08);

  background: var(--pf-ink);
  color: var(--pf-cream);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 0;
}
.pf-2026, .pf-2026 * { box-sizing: border-box; }
.pf-2026 ::selection { background: var(--pf-fire); color: var(--pf-cream); }

/* grain */
.pf-2026::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0 0.04 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  opacity: .35;
}
.pf-2026 > * { position: relative; z-index: 2; }

.pf-display {
  font-family: 'Russo One', 'Unbounded', Impact, sans-serif;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.pf-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.pf-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.pf-section-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pf-fire);
}

/* =================================
   CTA hero
   ================================= */
.pf-cta {
  padding: clamp(64px, 14vh, 160px) 0 clamp(48px, 10vh, 120px);
  border-bottom: 1px solid var(--pf-faint);
}
.pf-cta-title {
  font-size: clamp(56px, 14vw, 240px);
  line-height: 0.88;
  margin: clamp(24px, 4vh, 40px) 0 clamp(28px, 4vh, 48px);
  color: var(--pf-cream);
}
.pf-cta-title .pf-glitch { display: block; }
.pf-cta-title .pf-accent { color: var(--pf-fire); }

.pf-lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: rgba(244, 237, 225, .75);
  max-width: 620px;
  margin: 0 0 clamp(28px, 4vh, 44px);
}

.pf-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.pf-btn {
  display: inline-block;
  padding: clamp(16px, 2vw, 22px) clamp(20px, 2.4vw, 30px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.pf-btn-label { display: inline-block; will-change: transform; }
.pf-btn-primary {
  background: var(--pf-fire);
  color: var(--pf-cream);
}
.pf-btn-primary:hover {
  background: var(--pf-pulse);
  color: var(--pf-ink);
}
.pf-btn-secondary {
  background: transparent;
  border: 1px solid rgba(244, 237, 225, .2);
  color: var(--pf-cream);
}
.pf-btn-secondary:hover {
  border-color: var(--pf-fire);
  color: var(--pf-fire);
}

/* =================================
   STATUS panel
   ================================= */
.pf-status {
  border-bottom: 1px solid var(--pf-faint);
  background: rgba(0,0,0,0.4);
}
.pf-status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--pf-faint);
  padding: 1px 0;
}
@media (min-width: 768px) {
  .pf-status-grid { grid-template-columns: repeat(4, 1fr); }
}
.pf-status-cell {
  background: var(--pf-ink);
  padding: clamp(16px, 2.4vw, 22px) clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pf-status-label { color: rgba(244, 237, 225, .45); }
.pf-status-value { color: var(--pf-cream); margin-left: auto; }
.pf-status-value.pf-pulse-text { color: var(--pf-pulse); }

.pf-status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pf-status-ok {
  background: var(--pf-pulse);
  animation: pf-pulse-glow 2s ease-out infinite;
}
@keyframes pf-pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(196, 255, 0, .55); }
  100% { box-shadow: 0 0 0 18px rgba(196, 255, 0, 0); }
}

/* =================================
   INFO grid (4 cols)
   ================================= */
.pf-info {
  padding: clamp(48px, 8vh, 96px) 0 clamp(56px, 10vh, 120px);
  border-bottom: 1px solid var(--pf-faint);
}
.pf-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vh, 56px) clamp(24px, 4vw, 48px);
}
@media (min-width: 576px) { .pf-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .pf-info-grid { grid-template-columns: repeat(4, 1fr); } }

.pf-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pf-fire);
  margin-bottom: clamp(16px, 2vh, 24px);
  padding-bottom: clamp(12px, 2vh, 18px);
  border-bottom: 1px solid var(--pf-faint);
}

.pf-links { list-style: none; padding: 0; margin: 0; }
.pf-links li { margin: 0; padding: 0; }
.pf-links li + li { margin-top: 4px; }
.pf-links a {
  display: inline-block;
  padding: 6px 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--pf-cream);
  text-decoration: none;
  position: relative;
  transition: color .25s, transform .25s;
}
.pf-links a::before {
  content: "→ ";
  color: var(--pf-fire);
  opacity: 0;
  transform: translateX(-8px);
  display: inline-block;
  transition: opacity .25s, transform .25s;
}
.pf-links a:hover {
  color: var(--pf-fire);
}
.pf-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.pf-hours {
  margin-top: clamp(20px, 3vh, 28px);
  padding-top: clamp(16px, 2vh, 22px);
  border-top: 1px solid var(--pf-faint);
}
.pf-hours-time {
  font-family: 'Russo One', Impact, sans-serif;
  font-size: clamp(24px, 2.2vw, 30px);
  letter-spacing: -0.01em;
  color: var(--pf-cream);
}
.pf-hours-day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244, 237, 225, .5);
  margin-top: 6px;
}

.pf-locations { list-style: none; padding: 0; margin: 0; }
.pf-locations li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--pf-faint);
}
.pf-locations li:last-child { border-bottom: none; }
.pf-loc-flag {
  font-size: 22px;
  grid-row: span 2;
  display: flex;
  align-items: center;
}
.pf-loc-name {
  font-family: 'Russo One', Impact, sans-serif;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--pf-cream);
}
.pf-loc-city {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 237, 225, .5);
}

/* =================================
   BIG WORDMARK — marquee слева направо
   ================================= */
.pf-wordmark {
  padding: clamp(32px, 6vh, 64px) 0 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.pf-wordmark-track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  white-space: nowrap;
  font-size: clamp(96px, 18vw, 280px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--pf-cream);
  width: max-content;
  animation: pf-wordmark-slide 38s linear infinite;
  will-change: transform;
}
.pf-wordmark-word {
  flex: 0 0 auto;
}
.pf-wordmark-outline {
  -webkit-text-stroke: 1px var(--pf-cream);
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.pf-wordmark-sep {
  flex: 0 0 auto;
  color: var(--pf-fire);
  font-size: 0.4em;
  line-height: 1;
}
@keyframes pf-wordmark-slide {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0%); }
}
@media (max-width: 575.98px) {
  .pf-wordmark-track {
    font-size: clamp(72px, 22vw, 140px);
    animation-duration: 28s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-wordmark-track { animation: none; transform: translateX(-25%); }
}

/* =================================
   BOTTOM bar
   ================================= */
.pf-bottom {
  border-top: 1px solid var(--pf-faint);
  padding: clamp(20px, 3vh, 28px) 0;
}
.pf-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244, 237, 225, .5);
}
.pf-bottom-right {
  display: flex; align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pf-bottom-right .pf-status-dot { width: 7px; height: 7px; }
.pf-bottom-divider {
  width: 30px; height: 1px;
  background: rgba(244, 237, 225, .25);
  display: inline-block;
}

/* =================================
   MARQUEE
   ================================= */
.pf-marquee {
  border-top: 1px solid var(--pf-faint);
  padding: 14px 0;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
}
.pf-marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  animation: pf-scrollX 50s linear infinite;
  will-change: transform;
}
@keyframes pf-scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.pf-marquee-item {
  padding: 0 28px;
  color: rgba(244, 237, 225, .55);
}
.pf-marquee-fire { color: var(--pf-fire); }
.pf-marquee-pulse { color: var(--pf-pulse); }

/* =================================
   GLITCH text
   ================================= */
.pf-glitch { position: relative; display: inline-block; }
.pf-glitch::before, .pf-glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  will-change: transform, clip-path;
}
.pf-glitch::before {
  color: var(--pf-fire);
  transform: translate(-3px, 0);
  mix-blend-mode: screen;
}
.pf-glitch::after {
  color: var(--pf-sky);
  transform: translate(3px, 0);
  mix-blend-mode: screen;
}
.pf-glitch.active::before { animation: pf-gA .3s steps(1) 2; opacity: 1; }
.pf-glitch.active::after  { animation: pf-gB .3s steps(1) 2; opacity: 1; }
@keyframes pf-gA {
  0%   { transform: translate(-3px, 0);  clip-path: inset(10% 0 80% 0); }
  25%  { transform: translate(-2px, 1px);clip-path: inset(60% 0 25% 0); }
  50%  { transform: translate(-5px, -1px);clip-path: inset(85% 0 5% 0); }
  75%  { transform: translate(-1px, 2px);clip-path: inset(30% 0 50% 0); }
  100% { transform: translate(-3px, 0);  clip-path: inset(10% 0 80% 0); }
}
@keyframes pf-gB {
  0%   { transform: translate(3px, 0);   clip-path: inset(70% 0 10% 0); }
  25%  { transform: translate(4px, -1px);clip-path: inset(20% 0 60% 0); }
  50%  { transform: translate(2px, 2px); clip-path: inset(45% 0 30% 0); }
  75%  { transform: translate(5px, 0);   clip-path: inset(80% 0 5% 0); }
  100% { transform: translate(3px, 0);   clip-path: inset(70% 0 10% 0); }
}

/* =================================
   RESPONSIVE
   ================================= */
@media (max-width: 575.98px) {
  .pf-cta-title { font-size: clamp(48px, 14vw, 84px); }
  .pf-status-cell { padding: 14px 16px; font-size: 10px; }
  .pf-status-cell:nth-child(odd) { border-right: 1px solid var(--pf-faint); }
  .pf-bottom-row { font-size: 10px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pf-marquee-track,
  .pf-status-ok { animation: none; }
  .pf-glitch.active::before,
  .pf-glitch.active::after { animation: none; opacity: 0; }
}
