* {
  box-sizing: border-box;
}

.kamatchi-footer {
  --footer-text: #f7f7f8;
  --footer-muted: #c6c6c8;
  --footer-accent: #ffc400;
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  padding: clamp(48px, 6.5vw, 88px) 24px 24px;
  color: var(--footer-text);
  background: #252729;
  font-family: "DM Sans", sans-serif;
}

.kamatchi-footer::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image: url("../assets/footer/footer-background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.kamatchi-footer::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(13, 15, 17, 0.10);
}

.kamatchi-footer__inner {
  width: min(100%, 1720px);
  margin: 0 auto;
}

.kamatchi-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr) minmax(180px, .72fr);
  align-items: start;
  gap: clamp(34px, 4.2vw, 78px);
}

.kamatchi-footer__brand {
  min-width: 0;
}

.kamatchi-footer__brand-title {
  display: flex;
  align-items: center;
  gap: 17px;
  width: fit-content;
  color: #fff;
  text-decoration: none;
  font: 800 clamp(20px, 1.8vw, 31px)/1.2 "Manrope", sans-serif;
  letter-spacing: -.5px;
}

.kamatchi-footer__brand-title img {
  display: block;
  width: 62px;
  height: 62px;
  /* object-fit: cover; */
}

.kamatchi-footer__brand h2 {
  margin: 36px 0 18px;
  color: #fff;
  font: 700 clamp(19px, 1.55vw, 27px)/1.35 "Manrope", sans-serif;
  letter-spacing: -.35px;
}

.kamatchi-footer__address {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.kamatchi-footer__address svg {
  flex: 0 0 20px;
  width: 20px;
  height: 23px;
  margin-top: 3px;
  fill: none;
  stroke: #ff552c;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kamatchi-footer__address p {
  margin: 0;
  color: #e3e3e4;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.55;
}

.kamatchi-footer__column {
  min-height: 245px;
  padding-left: clamp(28px, 3.2vw, 64px);
  border-left: 1px solid rgba(255,255,255,.22);
}

.kamatchi-footer__column-title {
  position: relative;
  width: fit-content;
  margin: 0 0 28px;
  padding-bottom: 11px;
  color: #fff;
  font: 700 clamp(18px, 1.25vw, 23px)/1.25 "Manrope", sans-serif;
}

.kamatchi-footer__column-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--footer-accent);
}

.kamatchi-footer__person {
  margin: 0 0 19px 8px;
}

.kamatchi-footer__person h4 {
  margin: 0 0 3px;
  color: #fff;
  font: 700 clamp(17px, 1.2vw, 22px)/1.3 "Manrope", sans-serif;
}

.kamatchi-footer__person p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 14px;
}

.kamatchi-footer__contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 13px 8px;
  color: #f5f5f6;
  font-size: clamp(15px, 1.15vw, 20px);
  text-decoration: none;
  transition: color .2s ease;
}

.kamatchi-footer__contact-link:hover {
  color: var(--footer-accent);
}

.kamatchi-footer__round-icon {
  display: grid;
  flex: 0 0 27px;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
}

.kamatchi-footer__round-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kamatchi-footer__quick ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kamatchi-footer__quick a {
  color: #f4f4f5;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.kamatchi-footer__quick a:hover {
  color: var(--footer-accent);
}

.kamatchi-footer__mobile-contact {
  margin-top: 36px;
}

.kamatchi-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 34px;
}

.kamatchi-footer__rule {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.28);
}

.kamatchi-footer__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kamatchi-footer__social {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: #fff;
  transition: transform .2s ease, filter .2s ease;
}

.kamatchi-footer__social:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
}

.kamatchi-footer__social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.kamatchi-footer__social--linkedin { background: #0878ad; }
.kamatchi-footer__social--twitter { background: #11a9e8; }
.kamatchi-footer__social--facebook { background: #2468c9; }

.kamatchi-footer__copyright {
  padding-top: 22px;
  text-align: center;
}

.kamatchi-footer__copyright p {
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 12px;
}

/* Tablet layout */
@media (max-width: 980px) {
  .kamatchi-footer__top {
    grid-template-columns: 1.2fr 1fr;
    gap: 42px 32px;
  }

  .kamatchi-footer__brand {
    grid-column: 1 / -1;
  }

  .kamatchi-footer__column {
    min-height: 210px;
  }

  .kamatchi-footer__brand h2 {
    margin-top: 25px;
  }
}

/* Mobile layout */
@media (max-width: 620px) {
  .kamatchi-footer {
    padding: 48px 22px 22px;
  }

  .kamatchi-footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .kamatchi-footer__brand {
    grid-column: auto;
  }

  .kamatchi-footer__brand-title {
    gap: 12px;
    font-size: 19px;
  }

  .kamatchi-footer__brand-title img {
    width: 45px;
    height: 58px;
  }

  .kamatchi-footer__brand h2 {
    margin: 24px 0 14px;
    font-size: 20px;
  }

  .kamatchi-footer__address p {
    font-size: 14px;
  }

  .kamatchi-footer__column {
    min-height: 0;
    padding: 0;
    border-left: 0;
  }

  .kamatchi-footer__column-title {
    margin-bottom: 21px;
    font-size: 19px;
  }

  .kamatchi-footer__person {
    margin-left: 0;
  }

  .kamatchi-footer__contact-link {
    margin-left: 0;
    font-size: 16px;
  }

  .kamatchi-footer__quick ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
  }

  .kamatchi-footer__mobile-contact {
    margin-top: 0;
  }

  .kamatchi-footer__bottom {
    gap: 14px;
    margin-top: 35px;
  }

  .kamatchi-footer__socials {
    gap: 10px;
  }

  .kamatchi-footer__social {
    width: 29px;
    height: 29px;
  }

  .kamatchi-footer__copyright {
    padding-top: 18px;
  }

  .kamatchi-footer__copyright p {
    font-size: 11px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kamatchi-footer *,
  .kamatchi-footer *::before,
  .kamatchi-footer *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
