/* Production footer structure in the redesign's navy and antique gold. */
#gc-footer.kf-footer {
  --kf-bg: #091522;
  --kf-gold: #d5b464;
  --kf-text: #e7edf5;
  --kf-muted: #aab8c9;
  --kf-line: rgba(213,180,100,.22);
  display: block;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 48px 0 0 !important;
  padding: 0 !important;
  border: 0;
  border-top: 1px solid var(--kf-line);
  border-radius: 0;
  box-shadow: none;
  background: var(--kf-bg) !important;
  color: var(--kf-text);
  font-family: var(--font-body, Roboto, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.48;
}
#gc-footer.kf-footer::before,#gc-footer.kf-footer::after { display: none; content: none; }
#gc-footer.kf-footer *,#gc-footer.kf-footer *::before,#gc-footer.kf-footer *::after { box-sizing: border-box; }
#gc-footer.kf-footer a { color: inherit; text-decoration: none; }
#gc-footer.kf-footer a:hover { color: #f7d98e; }
#gc-footer.kf-footer a:focus-visible,#gc-footer.kf-footer summary:focus-visible { outline: 2px solid var(--kf-gold); outline-offset: 3px; }
#gc-footer.kf-footer h2,#gc-footer.kf-footer p { margin: 0; }
#gc-footer.kf-footer img { display: block; max-width: 100%; }
#gc-footer.kf-footer svg { display: block; width: 20px; height: 20px; }
#gc-footer .kf-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; }

#gc-footer .kf-top { display: grid; grid-template-columns: minmax(0,29.4%) minmax(0,1fr); gap: 48px; min-height: 300px; padding: 44px 0 36px; }
#gc-footer .kf-brand { min-width: 0; }
#gc-footer .kf-brand-link { display: inline-flex; width: min(280px,100%); }
#gc-footer .kf-brand-link img { width: 100%; height: 64px; object-fit: contain; object-position: left; }
#gc-footer .kf-brand p { margin: 16px 0 22px; max-width: 30ch; color: var(--kf-muted); font-size: 13px; line-height: 1.8; }
#gc-footer .kf-telegram { display: inline-flex; align-items: center; gap: 12px; color: var(--kf-gold); }
#gc-footer .kf-telegram svg { width: 28px; height: 28px; color: #4bcde8; }
#gc-footer .kf-telegram span { display: flex; flex-direction: column; line-height: 1.25; }
#gc-footer .kf-telegram strong { color: var(--kf-text); font-size: 13px; }
#gc-footer .kf-telegram small { margin-top: 2px; color: #4bcde8; font-size: 12px; }
#gc-footer .kf-nav { display: grid; grid-template-columns: 1fr .85fr 1fr; gap: 48px; }
#gc-footer .kf-menu { min-width: 0; }
#gc-footer .kf-menu summary { color: var(--kf-text); font-weight: 700; font-size: 14px; line-height: 24px; list-style: none; cursor: default; }
#gc-footer .kf-menu summary::-webkit-details-marker { display: none; }
#gc-footer .kf-menu summary span { display: none; }
#gc-footer .kf-menu ul { display: block !important; margin: 16px 0 0; padding: 0; list-style: none; }
#gc-footer .kf-menu li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--kf-muted); font-size: 13px; line-height: 1.5; }

#gc-footer .kf-support { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 0; border: 0; border-top: 1px solid var(--kf-line); border-bottom: 1px solid var(--kf-line); border-radius: 0; box-shadow: none; background: transparent; }
#gc-footer .kf-support-copy { display: flex; align-items: center; gap: 16px; }
#gc-footer .kf-support-copy > svg { flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--kf-line); border-radius: 50%; color: var(--kf-gold); }
#gc-footer .kf-support h2 { margin-bottom: 5px; color: var(--kf-text); font-size: 16px; font-weight: 600; }
#gc-footer .kf-support p { color: var(--kf-muted); font-size: 12px; line-height: 1.6; }
#gc-footer .kf-hats { display: flex; flex-wrap: wrap; gap: 10px; }
#gc-footer .kf-hat { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid rgba(170,187,211,.32); border-radius: 8px; background: #172a42; font-size: 13px; white-space: nowrap; }
#gc-footer .kf-hat svg { width: 18px; height: 18px; color: #4bcde8; }

#gc-footer .kf-section { padding: 28px 0; border-bottom: 1px solid var(--kf-line); }
#gc-footer .kf-section h2,#gc-footer .kf-trust h2 { margin-bottom: 24px; color: var(--kf-text); font-size: 13px; font-weight: 600; }
#gc-footer .kf-payments { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 30px; align-items: center; }
#gc-footer .kf-payment { display: flex; align-items: center; justify-content: center; width: auto; height: 64px; min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
#gc-footer .kf-payment img { width: 170px; height: 48px; object-fit: contain; }
#gc-footer .kf-logos { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 24px; align-items: center; }
#gc-footer .kf-logos > a,#gc-footer .kf-logos > span { display: flex; align-items: center; justify-content: center; width: auto; height: 46px; min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
#gc-footer .kf-logos img { width: 124px; height: 36px; object-fit: contain; }
#gc-footer .kf-logos > a:hover img { opacity: 1; }
#gc-footer .kf-trust { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,1fr); align-items: center; gap: 50px; padding: 30px 0; }
#gc-footer .kf-partners { grid-template-columns: repeat(4,minmax(0,1fr)); }
#gc-footer .kf-partners > a,#gc-footer .kf-partners > span { height: 82px; }
#gc-footer .kf-partners img { width: 170px; height: 76px; }
#gc-footer .kf-responsible { display: flex; align-items: flex-start; gap: 16px; }
#gc-footer .kf-age { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border: 1px solid var(--kf-gold); border-radius: 50%; color: var(--kf-gold); font-size: 15px; font-weight: 800; }
#gc-footer .kf-responsible h2 { margin: 0 0 8px; font-size: 13px; }
#gc-footer .kf-responsible p { color: var(--kf-muted); font-size: 11px; line-height: 1.8; }
#gc-footer .kf-responsible a { display: inline-block; margin-top: 8px; color: var(--kf-gold); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
#gc-footer .kf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; padding: 20px 0 26px; border-top: 1px solid var(--kf-line); color: var(--kf-muted); font-size: 11px; }
#gc-footer .kf-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }

@media (min-width: 920px) and (max-width: 1199px) {
  #gc-footer .kf-wrap { padding-inline: 28px; }
  #gc-footer .kf-top { grid-template-columns: minmax(0,29%) minmax(0,1fr); gap: 26px; }
  #gc-footer .kf-nav { gap: 26px; }
  #gc-footer .kf-payments { gap: 20px; }
  #gc-footer .kf-logos { gap: 18px; }
  #gc-footer .kf-trust { gap: 24px; }
}
@media (max-width: 919px) {
  #gc-footer.kf-footer { margin-top: 32px !important; padding-bottom: 0 !important; }
  #gc-footer .kf-wrap { padding: 0 24px; }
  #gc-footer .kf-top { display: block; min-height: 0; padding: 28px 0 0; }
  #gc-footer .kf-brand { padding-bottom: 24px; }
  #gc-footer .kf-brand-link { width: 248px; }
  #gc-footer .kf-brand-link img { height: 56px; }
  #gc-footer .kf-brand p { margin: 12px 0 14px; max-width: none; font-size: 12px; }
  #gc-footer .kf-telegram svg { width: 24px; height: 24px; }
  #gc-footer .kf-nav { display: block; }
  #gc-footer .kf-menu { border-top: 1px solid var(--kf-line); }
  #gc-footer .kf-menu summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; }
  #gc-footer .kf-menu summary span { display: block; width: 18px; height: 18px; font-size: 0; position: relative; }
  #gc-footer .kf-menu summary span::before { content: ''; position: absolute; top: 3px; left: 5px; width: 7px; height: 7px; border-right: 1.5px solid var(--kf-muted); border-bottom: 1.5px solid var(--kf-muted); transform: rotate(45deg); }
  #gc-footer .kf-menu[open] summary span::before { top: 7px; transform: rotate(225deg); }
  #gc-footer .kf-menu ul { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2px 18px; margin: 0 0 14px; }
  #gc-footer .kf-menu:not([open]) ul { display: none !important; }
  #gc-footer .kf-menu li a { min-height: 40px; font-size: 12px; }
  #gc-footer .kf-support { display: block; padding: 24px 0; }
  #gc-footer .kf-support-copy { gap: 12px; margin-bottom: 18px; }
  #gc-footer .kf-support h2 { font-size: 15px; }
  #gc-footer .kf-support p { font-size: 11px; }
  #gc-footer .kf-hats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  #gc-footer .kf-hat { min-width: 0; padding: 10px 6px; font-size: 12px; }
  #gc-footer .kf-section { padding: 24px 0; }
  #gc-footer .kf-section h2,#gc-footer .kf-trust h2 { margin-bottom: 20px; }
  #gc-footer .kf-payments { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 28px; }
  #gc-footer .kf-payment { height: 48px; }
  #gc-footer .kf-payment img { width: 150px; height: 42px; }
  #gc-footer .kf-logos { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px 16px; }
  #gc-footer .kf-logos > a,#gc-footer .kf-logos > span { height: 36px; }
  #gc-footer .kf-logos img { height: 30px; }
  #gc-footer .kf-trust { display: block; padding: 24px 0; }
  #gc-footer .kf-partners { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 28px; }
  #gc-footer .kf-partners > a,#gc-footer .kf-partners > span { height: 74px; }
  #gc-footer .kf-partners img { width: 160px; height: 68px; }
  #gc-footer .kf-responsible { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--kf-line); gap: 12px; }
  #gc-footer .kf-bottom { display: block; min-height: 0; padding: 20px 0 calc(104px + env(safe-area-inset-bottom)); }
  #gc-footer .kf-bottom nav { gap: 20px; margin-top: 12px; }
}
@media (max-width: 359px) {
  #gc-footer .kf-wrap { padding-inline: 18px; }
  #gc-footer .kf-payments { gap: 12px 20px; }
  #gc-footer .kf-logos { gap: 18px 10px; }
}
