/* FaPremium shared UI — header and footer used across PHP pages */
@font-face {
  font-family: "Yekan Bakh";
  src: url("../font/yekan-bakh/YekanBakhFaNum-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Yekan Bakh";
  src: url("../font/yekan-bakh/YekanBakhFaNum-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Yekan Bakh";
  src: url("../font/yekan-bakh/YekanBakhFaNum-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --pf-brand: #eb5600;
  --pf-brand-strong: #cf4300;
  --pf-brand-soft: #fff2e9;
  --pf-ink: #121722;
  --pf-muted: #697386;
  --pf-line: #e7e9ee;
  --pf-surface-soft: #f7f8fa;
}

.pf-shell {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 42px);
}

.pf-site-header,
.pf-site-header * {
  box-sizing: border-box;
}

.pf-site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  border-bottom: 1px solid rgba(231, 233, 238, 0.94);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.pf-site-header a {
  text-decoration: none;
}

.pf-header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.pf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.pf-brand img {
  width: 124px;
  height: auto;
  object-fit: contain;
}

.pf-brand-copy {
  position: relative;
  display: grid;
  gap: 2px;
  padding-right: 14px;
}

.pf-brand-copy::before {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: var(--pf-line);
}

.pf-brand-copy strong {
  color: var(--pf-ink);
  font-family: "Yekan Bakh", Tahoma, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.pf-brand-copy small {
  color: var(--pf-muted);
  font-family: "Yekan Bakh", Tahoma, sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
}

.pf-desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  background: #f8f9fb;
}

.pf-desktop-nav a {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #5e6878;
  font-family: "Yekan Bakh", Tahoma, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  transition: 0.18s ease;
}

.pf-desktop-nav a:hover,
.pf-desktop-nav a.active {
  background: #fff;
  color: var(--pf-ink);
  box-shadow: 0 4px 14px rgba(18, 23, 34, 0.055);
}

.pf-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.pf-header-track,
.pf-header-store,
.pf-menu-toggle {
  min-height: 43px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Yekan Bakh", Tahoma, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
}

.pf-header-track {
  padding: 0 14px;
  border: 1px solid var(--pf-line);
  background: #fff;
  color: #4e5969 !important;
}

.pf-header-store {
  padding: 0 17px;
  background: var(--pf-brand);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(235, 86, 0, 0.18);
  transition: 0.18s ease;
}

.pf-header-store:hover {
  background: var(--pf-brand-strong);
  transform: translateY(-1px);
}

.pf-menu-toggle {
  display: none;
  width: 43px;
  padding: 0;
  border: 1px solid var(--pf-line);
  background: #fff;
  color: var(--pf-ink);
  font-size: 1.3rem;
}

.pf-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  width: min(88vw, 360px);
  max-width: calc(100vw - 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 28px 0 0 28px;
  background: #fff;
  box-shadow: -24px 0 70px rgba(10, 16, 26, 0.2);
  font-family: "Yekan Bakh", Tahoma, sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.985);
  transform-origin: right center;
  transition: transform 0.24s cubic-bezier(0.22, 0.72, 0.22, 1), opacity 0.2s ease, visibility 0.24s ease;
}

.pf-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.pf-mobile-menu-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 13px;
  border-bottom: 1px solid #e8ecf2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.pf-mobile-menu-head h2 {
  margin: 0;
  color: var(--pf-ink);
  font-size: 1rem;
  font-weight: 850;
}

.pf-mobile-menu-head p {
  margin: 3px 0 0;
  color: var(--pf-muted);
  font-size: 0.68rem;
}

.pf-menu-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #e7ebf1;
  border-radius: 13px;
  background: #f7f8fa;
  color: #283242;
  font-size: 1rem;
}

.pf-mobile-menu-body {
  padding: 14px 16px 22px;
}

.pf-mobile-brand {
  width: 100%;
  min-height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid var(--pf-line);
  border-radius: 17px;
  background: var(--pf-surface-soft);
}

.pf-mobile-brand img {
  width: 132px;
}

.pf-mobile-links {
  display: grid;
  gap: 5px;
}

.pf-mobile-links a {
  min-height: 47px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #465063;
  font-size: 0.75rem;
  font-weight: 760;
}

.pf-mobile-links a:hover,
.pf-mobile-links a.active {
  border-color: #ffd9c3;
  background: var(--pf-brand-soft);
  color: var(--pf-brand);
}

.pf-mobile-links i {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f4f6f9;
  color: #7a8597;
}

.pf-mobile-contact {
  margin-top: 12px;
  padding: 12px 13px;
  border-radius: 14px;
  background: #151c28;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pf-mobile-contact span {
  color: #cbd5e1;
  font-size: 0.67rem;
}

.pf-mobile-contact a {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

/* Shared footer refinement */
.footer {
  margin-top: clamp(34px, 5vw, 70px);
  padding: clamp(34px, 5vw, 62px) 0 !important;
  border-top: 1px solid #252d3b;
  background: #141a24 !important;
  color: #fff;
  font-family: "Yekan Bakh", Tahoma, sans-serif;
}

.footer > .container-fluid {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 42px);
}

.footer-logo {
  min-height: auto !important;
  padding: 0 !important;
  background: transparent !important;
}

.footer-logo img {
  width: 170px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-reutrned,
.footer-contact {
  border: 0 !important;
  background: transparent !important;
}

.footer-reutrned {
  padding-inline: 0 !important;
}

.footer-reutrned h4,
.footer-reutrned .footer-tagline,
.footer-reutrned i,
.footer-contact-desc h5,
.footer-contact-desc-call h4,
.footer-contact-desc-call span {
  color: #fff !important;
}

.footer-reutrned .footer-tagline {
  color: #fbb37f !important;
}

.footer-main-desc p,
.footer-main-address p,
.footer-copy-right p {
  color: #b7c0cf !important;
  line-height: 2.05;
}

.footer-main-address a,
.footer-main-links a,
.footer-copy-right a {
  color: #fff !important;
}

.footer-main-links .nav-link {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  color: #c8d0dd !important;
  font-size: 0.72rem;
}

.footer-main-links .nav-link:hover {
  color: #ff9a5f !important;
}

.footer-main-links-enamad img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  padding: 7px;
  border-radius: 15px;
  background: #fff;
}

.footer-contact {
  min-height: 190px !important;
}

.footer-contact::before {
  display: none !important;
}

.footer-contact-link a {
  background: var(--pf-brand) !important;
  color: #fff !important;
}

.footer-social i {
  color: #8994a7 !important;
}

.pf-site-header a:focus-visible,
.pf-site-header button:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(235, 86, 0, 0.24);
  outline-offset: 3px;
}

@media (max-width: 1240px) {
  .pf-brand-copy {
    display: none;
  }

  .pf-desktop-nav a {
    padding-inline: 11px;
    font-size: 0.71rem;
  }
}

@media (max-width: 1024px) {
  .pf-header-inner {
    min-height: 70px;
    grid-template-columns: auto 1fr;
  }

  .pf-desktop-nav {
    display: none;
  }

  .pf-header-actions {
    justify-self: end;
  }

  .pf-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .pf-shell {
    padding-inline: 12px;
  }

  .pf-header-inner {
    min-height: 65px;
    gap: 8px;
  }

  .pf-brand img {
    width: 107px;
  }

  .pf-header-track {
    display: none !important;
  }

  .pf-header-store {
    min-height: 40px;
    padding-inline: 13px;
    border-radius: 12px;
    font-size: 0.68rem;
  }

  .pf-menu-toggle {
    width: 40px;
    min-height: 40px;
    border-radius: 12px;
  }

  .footer {
    margin-top: 34px;
    padding: 24px 0 22px !important;
  }

  .footer > .container-fluid {
    padding-inline: 14px;
  }

  .footer > .container-fluid > .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
  }

  .footer > .container-fluid > .row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }

  .footer > .container-fluid > .row > .col-lg-2:first-child {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1d2430;
  }

  .footer-logo {
    display: grid;
    place-items: center;
  }

  .footer-logo img {
    width: 116px;
  }

  .footer-reutrned {
    min-height: 0 !important;
    height: auto !important;
    display: grid !important;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-reutrned .footer-tagline {
    margin: 0 0 3px;
    font-size: 0.61rem;
  }

  .footer-reutrned h4 {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.75;
  }

  .footer-reutrned i {
    display: none;
  }

  .footer-main {
    padding: 14px 0 11px;
  }

  .footer-main-desc p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 0.67rem !important;
    line-height: 1.9 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .footer-main-address {
    padding: 11px 0 !important;
  }

  .footer-main-address .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 8px;
  }

  .footer-main-address .col-sm-6 {
    padding-inline: 0;
  }

  .footer-main-address-address {
    margin-top: 0 !important;
  }

  .footer-main-address-address .mb-2 {
    margin-bottom: 5px !important;
  }

  .footer-main-address-address .badge {
    padding: 5px 9px !important;
    font-size: 0.58rem !important;
  }

  .footer-main-address-address p {
    display: -webkit-box;
    margin-bottom: 5px !important;
    overflow: hidden;
    font-size: 0.64rem !important;
    line-height: 1.85 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .footer-main-address-address > div > a {
    font-size: 0.64rem;
  }

  .footer-main-address-email {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #101621;
  }

  .footer-main-address-email > div {
    text-align: start !important;
  }

  .footer-main-address-email .badge {
    margin: 0 !important;
    padding: 5px 8px;
    font-size: 0.58rem !important;
  }

  .footer-main-address-email a {
    font-size: 0.68rem !important;
  }

  .footer-main-links {
    padding: 12px 0;
  }

  .footer-main-links > .row {
    --bs-gutter-x: 8px;
    --bs-gutter-y: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 118px;
    align-items: start;
  }

  .footer-main-links .col-md-4.col-6,
  .footer-main-links .col-md-4.col-12 {
    width: auto;
    max-width: none;
    padding-inline: 4px;
  }

  .footer-main-links .nav-link {
    min-height: 29px;
    padding-block: 2px;
    font-size: 0.61rem;
    line-height: 1.55;
  }

  .footer-main-links-enamad .row {
    --bs-gutter-x: 6px;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .footer-main-links-enamad .col-6 {
    flex: 0 0 56px;
    width: 56px;
    max-width: 56px;
    padding-inline: 2px;
  }

  .footer-main-links-enamad img {
    width: 52px;
    height: 52px;
    padding: 4px;
    border-radius: 10px;
  }

  .footer-copy-right p {
    margin: 11px 0 0 !important;
    font-size: 0.61rem !important;
    line-height: 1.8 !important;
    text-align: center;
  }

  .footer > .container-fluid > .row > .col-lg-2:last-child {
    padding-top: 13px;
  }

  .footer-contact {
    min-height: 0 !important;
    height: auto !important;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    margin: 0 !important;
    padding: 10px;
    border-radius: 14px;
    background: #101621 !important;
  }

  .footer-contact-link {
    position: static !important;
    inset: auto !important;
    width: 38px;
    height: 38px;
  }

  .footer-contact-link a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
  }

  .footer-contact-desc {
    width: auto !important;
    min-width: 0;
    height: auto !important;
    text-align: start !important;
  }

  .footer-contact-desc h5 {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    font-size: 0.63rem;
    line-height: 1.7;
  }

  .footer-contact-desc-call {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-contact-desc-call::before {
    display: none;
  }

  .footer-contact-desc-call h4 {
    margin: 0;
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .footer-social {
    display: none;
  }
}


/* Subtle footer separators */
.footer .footer-main,
.footer .footer-main-address,
.footer .footer-main-links {
  border-bottom-color: #1b2029;
}
.footer .footer-main-links li::before {
  border-color: #252b35;
}

/* Standalone mobile drawer controller */
.pf-menu-lock {
  overflow: hidden;
  touch-action: none;
}

.pf-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  border: 0;
  background: rgba(8, 13, 21, 0.54);
  backdrop-filter: blur(3px);
}

/* Footer V2 — independent responsive structure */
.footer.footer-v2 {
  position: relative;
  margin-top: clamp(34px, 5vw, 70px);
  padding: clamp(34px, 5vw, 58px) 0 26px !important;
  border-top: 1px solid #252d3b;
  background: #141a24 !important;
  color: #fff;
}

.footer-v2-shell {
  position: relative;
  width: min(100% - 32px, 1380px);
  margin-inline: auto;
}

.footer-v2-top {
  position: absolute;
  top: -18px;
  left: 0;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: #eb5600;
  color: #fff;
  box-shadow: 0 12px 24px rgba(235,86,0,.22);
  cursor: pointer;
}

.footer-v2-grid {
  display: grid;
  grid-template-columns: 210px minmax(0,1fr) 230px;
  gap: 34px;
  align-items: start;
}

.footer-v2-brand {
  display: grid;
  gap: 24px;
}

.footer-v2-logo {
  display: block;
}

.footer-v2-logo img {
  display: block;
  width: min(100%, 190px);
  aspect-ratio: 340 / 113;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-v2-guarantee {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #252d38;
  border-radius: 18px;
  background: #101620;
}

.footer-v2-guarantee-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(235,86,0,.14);
  color: #ff914f;
  font-size: 1.1rem;
}

.footer-v2-guarantee-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.footer-v2-guarantee-copy small {
  color: #f3a978;
  font-size: .67rem;
}

.footer-v2-guarantee-copy strong {
  color: #fff;
  font-size: .75rem;
  line-height: 1.8;
}

.footer-v2-main {
  min-width: 0;
}

.footer-v2-description {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #1d2430;
  color: #b7c0cf;
  font-size: .76rem;
  line-height: 2.05;
}

.footer-v2-info-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(220px,.65fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #1d2430;
}

.footer-v2-warning {
  min-width: 0;
}

.footer-v2-warning-badge {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
}

.footer-v2-warning p {
  margin: 0 0 7px;
  color: #b7c0cf;
  font-size: .7rem;
  line-height: 1.95;
}

.footer-v2 a {
  color: #fff;
}

.footer-v2-warning p a {
  color: #7ddf9b;
  font-weight: 800;
}

.footer-v2-official-link {
  color: #89a8ff !important;
  font-size: .68rem;
  font-weight: 800;
}

.footer-v2-telegram-support {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid #252d38;
  border-radius: 16px;
  background: #101620;
}

.footer-v2-telegram-support > span:first-child {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #229ed9;
  color: #fff;
  font-size: 1rem;
}

.footer-v2-telegram-support > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.footer-v2-telegram-support small {
  color: #9da8b8;
  font-size: .61rem;
}

.footer-v2-telegram-support strong {
  color: #fff;
  font-size: .74rem;
}

.footer-v2-links-trust {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid #1d2430;
}

.footer-v2-links {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.footer-v2-links ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-v2-links a {
  color: #c4ccda;
  font-size: .69rem;
  line-height: 1.8;
}

.footer-v2-links a:hover {
  color: #ff9a5f;
}

.footer-v2-trust {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-v2-trust a,
.footer-v2-trust span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
}

.footer-v2-trust img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.footer-v2-copyright {
  margin: 15px 0 0;
  color: #8e99aa;
  font-size: .66rem;
  line-height: 1.8;
  text-align: center;
}

.footer-v2-copyright a {
  color: #fff;
  font-weight: 800;
}

.footer-v2-support {
  display: grid;
  justify-items: center;
  gap: 11px;
  padding: 22px 16px;
  border: 1px solid #252d38;
  border-radius: 20px;
  background: #101620;
  text-align: center;
}

.footer-v2-support-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(235,86,0,.14);
  color: #ff914f;
  font-size: 1.2rem;
}

.footer-v2-support-copy {
  display: grid;
  gap: 4px;
}

.footer-v2-support-copy small {
  color: #9da8b8;
  font-size: .66rem;
}

.footer-v2-support-copy strong {
  color: #fff;
  font-size: .77rem;
}

.footer-v2-support > a {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .02em;
}

@media (max-width: 1024px) {
  .footer-v2-grid {
    grid-template-columns: 180px minmax(0,1fr);
  }

  .footer-v2-support {
    grid-column: 1 / -1;
    grid-template-columns: 46px minmax(0,1fr) auto;
    justify-items: start;
    text-align: start;
  }
}

@media (max-width: 767px) {
  .footer.footer-v2 {
    margin-top: 30px;
    padding: 46px 0 18px !important;
  }

  .footer-v2-shell {
    width: min(100% - 28px, 560px);
  }

  .footer-v2-top {
    top: -40px;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .footer-v2-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-v2-brand {
    overflow: hidden;
    gap: 0;
    padding: 0;
    border: 1px solid #252d38;
    border-radius: 20px;
    background: linear-gradient(180deg, #111823 0%, #0f151e 100%);
  }

  .footer-v2-logo {
    width: 100%;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 22px 15px;
    border-bottom: 1px solid #202834;
  }

  .footer-v2-logo img {
    width: min(100%, 244px);
    aspect-ratio: 340 / 113;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .footer-v2-guarantee {
    width: 100%;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 11px;
    padding: 13px 15px;
    border: 0;
    border-radius: 0;
    background: #0c121b;
  }

  .footer-v2-guarantee-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .footer-v2-guarantee-copy {
    gap: 3px;
    text-align: right;
  }

  .footer-v2-guarantee-copy small {
    color: #f3a978;
    font-size: .62rem;
    line-height: 1.65;
  }

  .footer-v2-guarantee-copy strong {
    color: #fff;
    font-size: .72rem;
    line-height: 1.75;
  }

  .footer-v2-description {
    display: -webkit-box;
    overflow: hidden;
    padding-bottom: 12px;
    font-size: .64rem;
    line-height: 1.85;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .footer-v2-info-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px 0;
  }

  .footer-v2-warning-badge {
    margin-bottom: 5px;
    padding: 4px 8px;
    font-size: .55rem;
  }

  .footer-v2-warning p {
    display: -webkit-box;
    margin-bottom: 5px;
    overflow: hidden;
    font-size: .61rem;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .footer-v2-official-link {
    font-size: .61rem;
  }

  .footer-v2-telegram-support {
    grid-template-columns: 36px minmax(0,1fr) auto;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .footer-v2-telegram-support > span:first-child {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .footer-v2-telegram-support small {
    font-size: .56rem;
  }

  .footer-v2-telegram-support strong {
    font-size: .68rem;
  }

  .footer-v2-links-trust {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .footer-v2-links {
    gap: 14px;
  }

  .footer-v2-links ul {
    gap: 5px;
  }

  .footer-v2-links a {
    font-size: .61rem;
    line-height: 1.7;
  }

  .footer-v2-trust {
    justify-content: center;
    gap: 10px;
  }

  .footer-v2-trust a,
  .footer-v2-trust span {
    width: 66px;
    height: 66px;
    border-radius: 12px;
  }

  .footer-v2-trust img {
    width: 58px;
    height: 58px;
  }

  .footer-v2-copyright {
    margin-top: 10px;
    font-size: .58rem;
  }

  .footer-v2-support {
    grid-column: auto;
    grid-template-columns: 38px minmax(0,1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border-radius: 14px;
    text-align: start;
  }

  .footer-v2-support-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .footer-v2-support-copy small {
    font-size: .56rem;
  }

  .footer-v2-support-copy strong {
    font-size: .65rem;
  }

  .footer-v2-support > a {
    white-space: nowrap;
    font-size: .8rem;
  }
}

@media (max-width: 380px) {
  .footer-v2-logo {
    min-height: 94px;
    padding: 16px 18px 13px;
  }

  .footer-v2-logo img {
    width: min(100%, 218px);
  }

  .footer-v2-guarantee {
    grid-template-columns: 38px minmax(0,1fr);
    padding: 12px 13px;
  }

  .footer-v2-guarantee-icon {
    width: 38px;
    height: 38px;
  }

  .footer-v2-guarantee-copy strong {
    font-size: .68rem;
  }

  .footer-v2-support {
    grid-template-columns: 34px minmax(0,1fr);
  }

  .footer-v2-support > a {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: .86rem;
  }
}
.footer-v2-logo img { filter: none; }
