.premium-mobile-footer {
  display: none;
}

@media (max-width: 768px) {
  body > footer.site-footer:not(.premium-mobile-footer) {
    display: none !important;
  }

  .premium-mobile-footer {
    display: block;
    background: #050505;
    color: #ffffff;
    padding: 18px 14px 28px;
    font-family: "Inter", sans-serif;
  }

  .premium-mobile-footer__card {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 34px 24px 26px;
    background: #090909;
    border: 1px solid rgba(181, 138, 74, 0.34);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.52);
  }

  .premium-mobile-footer__brand {
    text-align: center;
  }

  .premium-mobile-footer__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
  }

  .premium-mobile-footer__logo img {
    width: min(100%, 260px);
    height: auto;
    object-fit: contain;
  }

  .premium-mobile-footer__brand p {
    max-width: 330px;
    margin: 0 auto;
    color: #9ca3ad;
    font-size: 0.98rem;
    line-height: 1.82;
  }

  .premium-mobile-footer__divider,
  .premium-mobile-footer__bottom {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .premium-mobile-footer__divider {
    margin: 34px 0 0;
  }

  .mobile-footer-accordion__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-footer-accordion__toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-footer-accordion__header {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #b58a4a;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    line-height: 1.4;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }

  .mobile-footer-accordion__header svg {
    width: 28px;
    min-width: 28px;
    height: 28px;
    stroke: #b8b8b8;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: transform 0.3s ease, stroke 0.3s ease;
  }

  .mobile-footer-accordion__header:hover {
    color: #c8a468;
  }

  .mobile-footer-accordion__header:hover svg {
    stroke: #b58a4a;
  }

  .mobile-footer-accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-6px);
    transition: grid-template-rows 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  }

  .mobile-footer-accordion__panel > * {
    min-height: 0;
    overflow: hidden;
  }

  .mobile-footer-accordion__toggle:checked + .mobile-footer-accordion__header svg {
    transform: rotate(180deg);
    stroke: #b58a4a;
  }

  .mobile-footer-accordion__toggle:checked ~ .mobile-footer-accordion__panel {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 0 0 24px;
  }

  .mobile-footer-link-list a {
    color: #aab0b8;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .mobile-footer-link-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
  }

  .mobile-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 4px 0 28px;
    font-style: normal;
  }

  .mobile-footer-contact__item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #b6bcc5;
    font-size: 0.94rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .mobile-footer-contact__item strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .mobile-footer-contact__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(181, 138, 74, 0.82);
    border-radius: 50%;
    color: #b58a4a;
  }

  .mobile-footer-contact__icon svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }

  .premium-mobile-footer__socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .premium-mobile-footer__socials a {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(181, 138, 74, 0.9);
    border-radius: 50%;
    color: #b58a4a;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  }

  .premium-mobile-footer__socials a:hover {
    background: #b58a4a;
    border-color: #b58a4a;
    color: #090909;
    transform: translateY(-3px);
  }

  .premium-mobile-footer__socials svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }

  .premium-mobile-footer__bottom {
    padding-top: 24px;
    text-align: center;
  }

  .premium-mobile-footer__bottom p {
    max-width: 270px;
    margin: 0 auto;
    color: #9399a3;
    font-size: 0.76rem;
    line-height: 1.9;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 380px) {
  .premium-mobile-footer__card {
    padding: 30px 20px 24px;
  }

  .mobile-footer-accordion__header {
    min-height: 86px;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
  }

  .premium-mobile-footer__socials {
    gap: 14px;
  }
}
