.ds-shell {
  width: min(calc(100% - 2 * clamp(20px, 4vw, 40px)), 1200px);
  margin-inline: auto;
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer {
  display: block;
  padding: clamp(42px, 6vw, 68px) 0 28px;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 92% 8%, rgba(11, 100, 116, 0.2), transparent 30%),
    #102529;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .footer-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #fff url("./assets/iman-logo-icon-96.png") center/contain no-repeat;
}

.site-footer .footer-brand strong {
  display: block;
  color: #fff;
  font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer .footer-brand span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.45fr 0.9fr 0.9fr;
  gap: 14px;
  padding: 26px 0;
}

.site-footer .footer-cell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 12px;
  row-gap: 5px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.site-footer .footer-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: #0b6474;
}

.site-footer .footer-ico svg {
  width: 20px;
  height: 20px;
}

.site-footer .footer-cell h4 {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer .footer-cell p {
  margin: 0;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.site-footer .footer-cell a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.site-footer .footer-cell a:hover {
  text-decoration-color: #9bcc52;
}

.site-footer .footer-location {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  margin-bottom: 2px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.site-footer .footer-location-map {
  min-height: 116px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: #dce9e8;
}

.site-footer .footer-location-map iframe {
  display: block;
  width: 100%;
  height: 116px;
  border: 0;
}

.site-footer .footer-location-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 5px;
}

.site-footer .footer-location-copy h4 {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer .footer-location-copy address {
  margin: 0;
  color: #fff;
  font-size: 0.94rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.48;
}

.site-footer .footer-location-copy a {
  color: #b7dd73;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer .footer-location-copy a:hover {
  color: #d2eea1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.site-footer .footer-follow h4 {
  margin: 0;
  color: #fff;
  font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer .social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer .social-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 140ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 140ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-footer .social-ico:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.site-footer .social-ico.is-google {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.site-footer .social-ico svg {
  width: 22px;
  height: 22px;
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}

.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer .footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.site-footer .footer-legal a:hover {
  color: #b7dd73;
}

.site-footer a:focus-visible {
  outline: 3px solid #b7dd73;
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 780px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer .footer-follow {
    align-items: flex-start;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 38px;
  }

  .site-footer .footer-brand {
    align-items: flex-start;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .site-footer .footer-cell {
    padding: 16px;
  }

  .site-footer .footer-location {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 13px;
  }

  .site-footer .footer-location-map,
  .site-footer .footer-location-map iframe {
    min-height: 120px;
    height: 120px;
  }

  .site-footer .footer-follow {
    flex-direction: column;
    gap: 14px;
  }

  .site-footer .social-row {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .social-ico {
    transition: none;
  }
}
