#btt {
      position: fixed;
      bottom: 48px;
      right: 28px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 20px rgba(0,0,0,.2); 
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px);
      transition: opacity .25s, visibility .25s, transform .25s, background .2s, box-shadow .2s;
      z-index: 1200;
    }
    #btt .ico { font-size: 20px; }
    #btt.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    #btt:hover {
      background: var(--gold);
      color: #fff; 
      box-shadow: 0 8px 24px rgba(51, 133, 255, 0.35); 
      transform: translateY(-3px);
    }
    #btt:active { transform: translateY(0); }

    #btt::after {
      content: 'Top';
      position: absolute;
      right: calc(100% + 8px);
      top: 50%;
      transform: translateY(-50%);
      background: var(--primary-d);
      color: var(--text-inv);
      font-size: .65rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: 4px 9px;
      border-radius: 20px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s;
    }
    #btt:hover::after { opacity: 1; }

    @media (max-width: 480px) {
      #btt { bottom: 36px; right: 16px; width: 42px; height: 42px; }
    }

    .site-footer {
      background: var(--footer-bg); 
      color: rgba(255,255,255,.72);
      border-top: 3px solid var(--primary);
      position: relative;
      overflow: hidden;
      transition: background var(--t), border-color var(--t);
    }
    .site-footer::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 60% 40% at 5% 95%, rgba(51, 133, 255,.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 95% 10%, rgba(51, 133, 255, 0.1) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .footer-body {
      position: relative;
      z-index: 1;
      padding: 64px 0 56px;
    }

    .f-grid {
      display: grid;
      grid-template-columns: 1.5fr 1.2fr 2.3fr;
      gap: 52px 40px;
      align-items: start;
    }
    
    .f-col-links {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }
    
    @media (max-width: 1200px) { 
      .f-grid { grid-template-columns: 1.5fr 1.2fr; gap: 40px 32px; }
      .f-col-links { grid-column: span 2; margin-top: 10px; }
    }
    @media (max-width: 850px)  { 
      .f-grid { grid-template-columns: 1fr; }
      .f-col-links { grid-column: span 1; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
    }
    @media (max-width: 480px)  { 
      .f-col-links { grid-template-columns: 1fr; gap: 32px; }
    }

    .f-heading {
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(255,255,255,.32);
      margin-bottom: 18px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(255,255,255,.07);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .f-heading .ico { font-size: 13px; color: rgba(255,255,255,.22); }

    .f-brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      margin-bottom: 18px;
    }
    .f-logo-mark {
      width: 48px; height: 48px;
      border-radius: 11px;
      flex-shrink: 0;
      background: var(--sur);
      border: 1px solid rgba(255,255,255,.12);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .f-logo-mark svg { width: 28px; height: 28px; }
    
    .f-brand-name-wrap { line-height: 1.25; }
    .f-brand-name {
      font-family: 'Merriweather', serif;
      font-size: 1.15rem;
      color: #fff;
      font-weight: 700;
      display: block;
    }
    .f-brand-sub {
      font-size: .6rem;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: rgba(255,255,255,.38);
      margin-top: 2px;
      display: block;
    }

    .f-about {
      font-size: .85rem;
      line-height: 1.85;
      color: rgba(255,255,255,.48);
      margin-bottom: 22px;
    }

    .f-affil {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 8px;
      padding: 8px 12px;
      margin-bottom: 20px;
      text-decoration: none;
      transition: background .2s;
    }
    .f-affil:hover { background: rgba(255,255,255,.1); }
    .f-affil-mark {
      width: 28px; height: 28px;
      border-radius: 6px;
      background: white;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .f-affil-mark svg { width: 18px; height: 18px; }
    .f-affil-text { line-height: 1.2; }
    .f-affil-name { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.8); display: block; }
    .f-affil-sub  { font-size: .6rem; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .06em; }

    .f-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
    .f-soc {
      width: 36px; height: 36px;
      border-radius: 9px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.1);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,.5);
      text-decoration: none;
      transition: background .2s, color .2s, border-color .2s, transform .2s;
    }
    .f-soc .ico { font-size: 15px; }
    .f-soc:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }

    .f-admin-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(51, 133, 255, 0.15);
      border: 1px solid var(--gold);
      color: var(--gold);
      padding: 8px 18px;
      border-radius: 20px;
      font-size: .75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .05em;
      text-decoration: none;
      margin-top: 24px;
      transition: all .2s;
    }
    .f-admin-btn:hover {
      background: var(--gold);
      color: #fff;
      box-shadow: 0 4px 12px rgba(51, 133, 255, 0.3);
    }

    .f-contacts { list-style: none; padding: 0; margin: 0; }
    .f-ci { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
    .f-ci:last-child { margin-bottom: 0; }
    .f-ci-icon {
      width: 34px; height: 34px;
      border-radius: 9px;
      flex-shrink: 0;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.1);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 1px;
    }
    .f-ci-icon .ico { font-size: 15px; color: var(--gold); } 
    .f-ci-body { line-height: 1.6; }
    .f-ci-label {
      font-size: .65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .09em;
      color: rgba(255,255,255,.27);
      display: block;
      margin-bottom: 1px;
    }
    .f-ci-val { font-size: .84rem; color: rgba(255,255,255,.65); }
    .f-ci-val a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
    .f-ci-val a:hover { color: #fff; }

    .hours-chip {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(51, 133, 255, 0.12);
      border: 1px solid rgba(51, 133, 255, 0.3);
      border-radius: 20px;
      padding: 6px 14px;
      margin: 16px 0;
      font-size: .75rem;
      font-weight: 600;
      color: var(--gold); 
    }
    .hours-chip .ico { font-size: 13px; }

    .f-map {
      border-radius: 11px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.08);
      margin-top: 4px;
    }
    .f-map iframe { display: block; }

    .f-links { list-style: none; padding: 0; margin: 0; }
    .f-links li { margin-bottom: 9px; }
    .f-links a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: .84rem;
      font-weight: 400;
      color: rgba(255,255,255,.52);
      text-decoration: none;
      transition: color .2s, transform .2s;
    }
    .f-links a .ico { font-size: 13px; color: rgba(255,255,255,.22); flex-shrink: 0; transition: color .2s; }
    .f-links a:hover { color: #fff; transform: translateX(4px); }
    .f-links a:hover .ico { color: var(--gold); } 

    .footer-bottom {
      position: relative;
      z-index: 1;
      border-top: 1px solid rgba(255,255,255,.07);
      padding: 20px 0;
    }
    .footer-bottom-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
    }
    .footer-bottom p { margin: 0; font-size: .78rem; color: rgba(255,255,255,.28); }
    .footer-bottom strong { color: rgba(255,255,255,.48); font-weight: 600; }
    .footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
    .footer-bottom a:hover { color: #fff; }

    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: .72rem;
      font-weight: 600;
      color: rgba(255,255,255,.4);
    }
    .live-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--success); 
      box-shadow: 0 0 0 0 rgba(46,125,82,.4);
      animation: ping 1.8s ease-in-out infinite;
    }
    @keyframes ping {
      0%, 100% { box-shadow: 0 0 0 0 rgba(46,125,82,.4); }
      50%       { box-shadow: 0 0 0 5px rgba(46,125,82,0); }
    }

    .f-team-btn {
      display: inline-flex;
      align-items: center;
      background: var(--gold); 
      color: #fff !important;
      padding: 8px 18px; 
      border-radius: 20px;
      font-size: .75rem;
      font-weight: 800; 
      text-transform: uppercase;
      letter-spacing: .06em;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(51, 133, 255, 0.4);
      transition: all .3s cubic-bezier(.4,0,.2,1);
      animation: teamPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
    }
    .f-team-btn:hover {
      background: var(--gold-d);
      transform: translateY(-3px) scale(1.05); 
      box-shadow: 0 6px 16px rgba(51, 133, 255, 0.6);
      animation: none; 
    }

    @keyframes teamPulse {
      0% { box-shadow: 0 0 0 0 rgba(51, 133, 255, 0.7); transform: scale(1); }
      50% { transform: scale(1.02); }
      70% { box-shadow: 0 0 0 15px rgba(51, 133, 255, 0); transform: scale(1); }
      100% { box-shadow: 0 0 0 0 rgba(51, 133, 255, 0); transform: scale(1); }
    }

    @media (max-width: 640px) {
      .footer-bottom-inner { flex-direction: column; text-align: center; }
    }