/* keller.css */

.keller {
    width: 100%;
    display: grid;
    width: auto;
    grid-template-columns: 1.4fr repeat(4, max-content);    gap: 30px;
    background: rgba(0, 0, 0, 0.425);
    padding: 20px 40px;
    /* padding-right: 150px; */
    align-items: start; /* 🔥 ВАЖНО */
    gap: 100px;
    /* border: solid 2px yellow; */
  }

/* БРЕНД */
.keller-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* border: solid 2px yellow; */
}

.footer-logo {
    margin: 0;
    font-size: 20px;
    letter-spacing: 1px;
    color: #D6BE72;
    /* border: solid 2px yellow; */
}

/* СОЦСЕТИ */
.footer-socials {
    display: flex;
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 50px;
    /* border: solid 2px yellow; */
}

.social {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #D6BE72;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.social svg {
    width: 20px;
    height: 20px;
    fill: #D6BE72;
}

.social:hover {
    background-color: #D6BE72;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214,190,114,.35);
}

.social:hover svg {
    fill: black;
}

/* КОЛОНКИ */
.keller-links {
    /* display: flex; */
    /* flex-direction: column; */
    display: grid;
    grid-template-rows: 28px auto;
    padding-top: 6px; 
    gap: 10px;
    text-align: left;
    /* border: solid 2px yellow; */
}

.keller-zag {
    font-size: 16px;
    font-weight: 600;
    color: #D6BE72;
    /* margin-bottom: 6px; */
    margin: 0 0 12px 0;
    line-height: 1.2;
    min-height: 22px;
}

.keller-text,
.keller-links a {
    font-size: 14px;
    color: #D6BE72;
    text-decoration: none;
}

.keller-links a:hover {
    text-decoration: underline;
}

.footer-copy,
.footer-mail a {
    font-size: 14px;
    color: #D6BE72;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 50px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transform: scale(0);
  transition: transform 0.2s ease;
  z-index: 999;
  background-color: #d6be72;
}


#scrollTopBtn:hover {
  box-shadow:
    0 0 20px rgba(244, 223, 155, 0.7),
    0 0 40px rgba(244, 223, 155, 0.4);
}


@media (max-width: 1300px) {

  .keller {
    grid-template-columns: repeat(4, max-content);
    align-items: start;
  }

  .keller-brand {
    grid-column: 1 / -1;
    /* бренд на всю ширину */
  }

  .footer-socials {
    padding-bottom: 30px;
  }
}

@media (max-width: 1000px) {

  .keller {
    grid-template-columns: repeat(2, max-content);
    align-items: start;
  }

  .keller-brand {
    grid-column: 1 / -1;
    /* бренд на всю ширину */
  }
}

@media (max-width: 768px) {

  .keller {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 20px;
  }

  .keller-links {
    grid-template-rows: auto auto;
    padding-top: 30px;
  }

  .keller-zag {
    font-size: 15px;
  }

  .keller-text,
  .keller-links a,
  .footer-copy {
    font-size: 14px;
  }

  .footer-socials {
    padding-top: 16px;
    padding-bottom: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {

  .keller {
    padding: 22px 20px;
    gap: 28px;
  }

  .footer-logo {
    font-size: 20px;
  }

  .social {
    width: 40px;
    height: 40px;
  }

  .social svg {
    width: 18px;
    height: 18px;
  }

  .keller-zag {
    font-size: 14px;
  }

  .keller-text,
  .keller-links a,
  .footer-copy {
    font-size: 13px;
    line-height: 1.35;
  }

  /* #scrollTopBtn {
    width: 48px;
    height: 48px;
    font-size: 22px;
    right: 14px;
    bottom: 14px;
  } */
}

@media (max-width: 360px) {

  .keller {
    padding: 18px 20px;
    gap: 22px;
  }

  .footer-socials {
    gap: 10px;
  }

  .social {
    width: 36px;
    height: 36px;
  }

  .social svg {
    width: 16px;
    height: 16px;
  }

  .footer-copy {
    font-size: 12px;
  }
}
