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

.footer {
  border-top: 1px solid #E8E1D6;
  background: var(--ivory);
  color: #1E1E1E;
  font-size: 14px;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

/* CONTAINER */
.footer__container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 64px 24px;

  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* COLUMNS */

.footer__col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100px;
}

.footer__col--links {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer__col--links {
    justify-content: flex-start;
  }
}

.footer__col--newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__col--newsletter {
    align-items: flex-start;
    text-align: left;
  }
}

/* LOGO */
.footer__logo {
  height: 64px;
  width: 64px;
  margin-bottom: 16px;
}

.footer__brand {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* LINKS */

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #555;

  align-items: center;
  text-align: center;

  list-style: none;
  padding: 0;
  margin: 0;
}

/* DESKTOP */
@media (min-width: 768px) {
  .footer__links {
    align-items: flex-start;
    text-align: left;
  }
}

.footer-link {
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--matcha);
}

/* NEWSLETTER */

.footer__newsletter {
  width: 100%;
  max-width: 320px;
  margin-bottom: 32px;
}

.footer__input-group {
  display: flex;
  align-items: center;
}

.footer__input {
  flex: 1;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #4F7A5E;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  outline: none;
  transition: 0.3s;
}

.footer__input:focus {
  border-color: var(--matcha);
}

.footer__btn {
  margin-left: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #4F7A5E;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.footer__btn:hover {
  transform: translateY(-2px);
}

/* MESSAGE */
.footer__message {
  font-size: 14px;
  margin-top: 8px;
  min-height: 20px;
}

/* SOCIALS */

.footer__socials {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.footer__socials a {
  font-size: 22px; /* було ~16 → замало */
  color: #1E1E1E;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer__socials a:hover {
  color: var(--matcha);
  opacity: 1;
  transform: translateY(-2px);
}

/* BOTTOM */

.footer__bottom {
  text-align: center;
  font-size: 12px;
  padding: 16px 0;
}

.footer__vat {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: -8px;
}

/* PAYMENTS */

.footer__payments {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-bottom: 32px;
  opacity: 0.8;
}

.footer__payments img {
  height: 24px;
}

/* ================= MOBILE NAV ================= */

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  height: 64px;
  display: flex;
  align-items: center;

  background: var(--ivory);
  border-top: 1px solid #E8E1D6;

  padding-bottom: env(safe-area-inset-bottom);

  z-index: 40;
}

/* hide on desktop */
@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

/* ITEM */
.mobile-nav__item {
  flex: 1;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--matcha);
  transition: all 0.2s ease;
}

/* ACTIVE */
.mobile-nav__item.is-active {
  color: var(--bronze);
}

/* HOVER */
.mobile-nav__item:hover {
  color: var(--matcha);
}

/* TAP EFFECT */
.mobile-nav__item:active {
  transform: scale(0.95);
}

/* SVG ICON */
.mobile-nav svg {
  width: 24px;
  height: 24px;

  stroke: currentColor;
  fill: none;
  stroke-width: 2;

  display: block;
}