/* =========================================================
   TEKO FOOTER
   Desktop
   Uses global tokens from variables.css
   ========================================================= */

.teko-footer {
  background: var(--teko-neutral-0);
  color: var(--teko-neutral-1000);
  font-family: var(--teko-font-primary);
  font-weight: var(--teko-weight-regular);
}

.teko-footer *,
.teko-footer *::before,
.teko-footer *::after {
  box-sizing: border-box;
}

.teko-footer__container {
  min-height: 720px;
  padding-top: var(--teko-section-gap-96px);
  padding-bottom: 60px;
}

/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.teko-footer__main {
  display: grid;
  grid-template-columns: 536px minmax(0, 1fr);
  column-gap: var(--teko-section-gap-48px);
  min-height: 584px;
}

.teko-footer__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.teko-footer__right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* =========================================================
   LOGO
   ========================================================= */

.teko-footer__logo {
  display: block;
  width: 200px;
  height: 75px;
  margin-bottom: var(--teko-section-gap-48px);
}

.teko-footer__logo img {
  display: block;
  width: 200px;
  height: 75px;
  object-fit: contain;
  object-position: left center;
}

/* =========================================================
   SOCIALS
   ========================================================= */

.teko-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--teko-section-gap-32px);
}

.teko-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 8px;
  border: 1px solid var(--teko-neutral-1000);
  border-radius: var(--teko-radius-6px, 6px);
  background: var(--teko-neutral-0);
  color: var(--teko-neutral-1000);
  text-decoration: none;
  transition:
    background-color var(--teko-transition-base) var(--teko-ease-premium),
    border-color var(--teko-transition-base) var(--teko-ease-premium),
    color var(--teko-transition-base) var(--teko-ease-premium),
    transform var(--teko-transition-base) var(--teko-ease-premium);
}

.teko-footer__social img {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.teko-footer__social:hover {
  background: var(--teko-neutral-100);
  transform: translateY(var(--teko-hover-lift));
}

.teko-footer__social:active {
  transform: translateY(var(--teko-active-press));
}

.teko-footer__social:focus-visible {
  outline: var(--teko-focus-ring) solid var(--teko-neutral-1000);
  outline-offset: var(--teko-focus-offset);
}

/* =========================================================
   CONTACTS
   ========================================================= */

.teko-footer__contacts {
  width: 100%;
}

.teko-footer__company {
  margin-bottom: 14px;
  color: var(--teko-neutral-1000);
  font-family: var(--teko-label-1-font-family);
  font-size: var(--teko-label-1-font-size-16px);
  font-weight: var(--teko-weight-semibold);
  line-height: var(--teko-label-1-line-height-22px);
  letter-spacing: var(--teko-label-1-letter-spacing-minus-018px);
}

.teko-footer__contact,
.teko-footer__phones a,
.teko-footer__email {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teko-neutral-700);
  font-family: var(--teko-label-2-font-family);
  font-size: var(--teko-label-2-font-size-14px);
  font-weight: var(--teko-weight-medium);
  line-height: var(--teko-label-2-line-height-20px);
  letter-spacing: var(--teko-label-2-letter-spacing-minus-016px);
}

.teko-footer__address {
  margin-bottom: 28px;
}

.teko-footer__contact-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.teko-footer__phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.teko-footer__phones a {
  width: fit-content;
  color: var(--teko-neutral-1000);
  text-decoration: none;
  transition:
    color var(--teko-transition-base) var(--teko-ease-premium),
    transform var(--teko-transition-base) var(--teko-ease-premium);
}

.teko-footer__phones img,
.teko-footer__email img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.teko-footer__email {
  width: fit-content;
  color: var(--teko-neutral-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--teko-transition-base) var(--teko-ease-premium);
}

.teko-footer__phones a:hover,
.teko-footer__email:hover {
  color: var(--teko-neutral-1000);
}

.teko-footer__phones a:focus-visible,
.teko-footer__email:focus-visible {
  outline: var(--teko-focus-ring) solid var(--teko-neutral-1000);
  outline-offset: var(--teko-focus-offset);
}

/* =========================================================
   NEWSLETTER
   ========================================================= */

.teko-footer__newsletter {
  width: 416px;
  max-width: 100%;
  margin-top: auto;
}

.teko-footer__newsletter-title {
  margin-bottom: 8px;
  color: var(--teko-neutral-1000);
  font-family: var(--teko-body-2-font-family);
  font-size: var(--teko-body-2-font-size-16px);
  font-weight: var(--teko-weight-regular);
  line-height: var(--teko-body-2-line-height-24px);
  letter-spacing: var(--teko-body-2-letter-spacing-0px);
}

.teko-footer__newsletter-form {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 416px;
  max-width: 100%;
  height: 52px;
  padding: 8px 8px 8px 24px;
  border-radius: var(--teko-radius-4px);
  background: var(--teko-neutral-100);
}

.teko-footer__newsletter-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--teko-neutral-1000);
  font-family: var(--teko-body-2-font-family);
  font-size: var(--teko-body-2-font-size-16px);
  font-weight: var(--teko-weight-regular);
  line-height: var(--teko-body-2-line-height-24px);
  letter-spacing: var(--teko-body-2-letter-spacing-0px);
}

.teko-footer__newsletter-form input::placeholder {
  color: var(--teko-neutral-500);
  opacity: 1;
}

.teko-footer__newsletter-form input:focus-visible {
  outline: none;
}

.teko-footer .teko-footer__newsletter-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 10px;
  border: 0;
  border-radius: var(--teko-radius-6px, 6px);
  background: var(--teko-neutral-500) !important;
  color: var(--teko-neutral-0);
  cursor: pointer;
  transition:
    background-color var(--teko-transition-base) var(--teko-ease-premium),
    transform var(--teko-transition-base) var(--teko-ease-premium);
}

.teko-footer__newsletter-form button img {
  display: block;
  width: 16px;
  height: 16px;
}

.teko-footer .teko-footer__newsletter-form button:hover {
  background: var(--teko-neutral-700);
  transform: translateY(var(--teko-hover-lift));
}

.teko-footer .teko-footer__newsletter-form button:active {
  transform: translateY(var(--teko-active-press));
}

.teko-footer .teko-footer__newsletter-form button:focus-visible {
  outline: var(--teko-focus-ring) solid var(--teko-neutral-1000);
  outline-offset: var(--teko-focus-offset);
}

/* =========================================================
   FOOTER NAV
   ========================================================= */

.teko-footer__nav {
  display: grid;
  grid-template-columns: 200px 200px 240px;
  justify-content: space-between;
  column-gap: 32px;
}

.teko-footer__nav-column {
  width: 200px;
}

.teko-footer__nav-title {
  margin-bottom: 8px;
  color: var(--teko-neutral-1000);
  font-family: var(--teko-label-1-font-family);
  font-size: var(--teko-label-1-font-size-16px);
  font-weight: var(--teko-weight-semibold);
  line-height: var(--teko-label-1-line-height-22px);
  letter-spacing: var(--teko-label-1-letter-spacing-minus-018px);
}

.teko-footer__nav-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.teko-footer__nav-column li {
  margin: 0;
  padding: 0;
}

.teko-footer__nav-column a {
  display: block;
  color: var(--teko-neutral-500);
  font-family: var(--teko-label-2-font-family);
  font-size: var(--teko-label-2-font-size-14px);
  font-weight: var(--teko-weight-regular);
  line-height: var(--teko-label-2-line-height-20px);
  letter-spacing: var(--teko-label-2-letter-spacing-minus-016px);
  text-decoration: none;
  transition:
    color var(--teko-transition-base) var(--teko-ease-premium),
    transform var(--teko-transition-base) var(--teko-ease-premium);
}

.teko-footer__nav-column li + li {
  margin-top: 4px;
}

.teko-footer__nav-column a:hover {
  color: var(--teko-neutral-1000);
  transform: translateX(2px);
}

.teko-footer__nav-column a:active {
  transform: translateX(0);
}

.teko-footer__nav-column a:focus-visible {
  outline: var(--teko-focus-ring) solid var(--teko-neutral-1000);
  outline-offset: var(--teko-focus-offset);
}

/* =========================================================
   RIGHT BOTTOM
   ========================================================= */

.teko-footer__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.teko-footer__payments {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.teko-footer__payments img {
  display: block;
  height: 36px;
  width: auto;
}

.teko-footer__liqpay-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 36px;
  border: 1px solid var(--teko-neutral-300);
  border-radius: var(--teko-radius-4px);
  background: var(--teko-neutral-0);
  color: var(--teko-neutral-1000);
  font-family: var(--teko-font-primary);
  font-size: 15px;
  font-weight: var(--teko-weight-semibold);
}

.teko-footer__copyright {
  color: var(--teko-neutral-500);
  text-align: right;
  font-family: var(--teko-label-2-font-family);
  font-size: var(--teko-label-2-font-size-14px);
  font-weight: var(--teko-weight-regular);
  line-height: var(--teko-label-2-line-height-20px);
  letter-spacing: var(--teko-label-2-letter-spacing-minus-016px);
}
.teko-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.teko-footer__creatory {
  display: block;
  flex: 0 0 auto;
}

.teko-footer__creatory img {
  display: block;
  width: 140px;
  height: auto;
}

.teko-footer__copyright {
  margin-left: auto;
  text-align: right;
}
/* =========================================================
   DESKTOP SAFETY
   ========================================================= */

@media (max-width: 1280px) {
  .teko-footer__main {
    grid-template-columns: 440px minmax(0, 1fr);
    column-gap: var(--teko-section-gap-64px);
  }

  .teko-footer__nav {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 28px;
  }

  .teko-footer__nav-column {
    width: auto;
  }
}

/* =========================================================
   TABLET
   <= 911px
   ========================================================= */

@media (max-width: 911px) {
  .teko-footer__container {
    min-height: auto;
    padding-top: var(--teko-section-gap-64px);
    padding-bottom: var(--teko-section-gap-48px);
  }

  /* MAIN */
  .teko-footer__main {
    display: block;
    min-height: 0;
  }

  /* LEFT */
  .teko-footer__left {
    width: 100%;
  }

  .teko-footer__logo {
    margin-bottom: var(--teko-section-gap-32px);
  }

  .teko-footer__socials {
    margin-bottom: var(--teko-section-gap-32px);
  }

  .teko-footer__contacts {
    max-width: 536px;
  }

  .teko-footer__newsletter {
    width: 416px;
    max-width: 100%;
    margin-top: var(--teko-section-gap-48px);
  }

  .teko-footer__newsletter-form {
    width: 100%;
  }

  /* RIGHT */
  .teko-footer__right {
    width: 100%;
    margin-top: var(--teko-section-gap-64px);
  }

  /* NAV */
  .teko-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--teko-section-gap-32px);
  }

  .teko-footer__nav-column {
    width: auto;
    min-width: 0;
  }

  /* BOTTOM */
  .teko-footer__bottom {
    width: 100%;
    margin-top: var(--teko-section-gap-64px);
  }

  .teko-footer__payments {
    justify-content: flex-end;
  }

  .teko-footer__meta {
    width: 100%;
  }

  .teko-footer__creatory img {
    width: 120px;
  }

  .teko-footer__copyright {
    margin-left: var(--teko-section-gap-32px);
  }
}
