.hestya-footer {
  background:
    radial-gradient(circle at top right, rgba(255, 124, 35, 0.14) 0, rgba(255, 124, 35, 0) 32%),
    linear-gradient(180deg, var(--hestya-footer-bg, #0f141a) 0%, #121a22 100%);
  color: rgba(255, 255, 255, 0.78);
}

.hestya-footer .hestya-shell {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.hestya-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding-bottom: 2rem;
}

.hestya-footer__column {
  min-width: 0;
}

.hestya-footer__logo-wrap {
  display: inline-flex;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border-radius: 20px;
}

.hestya-footer__description {
  max-width: 28rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.hestya-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hestya-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.hestya-footer__social-link:hover,
.hestya-footer__social-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.hestya-footer__social-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}

.hestya-footer__social-icon {
  display: inline-flex;
  line-height: 0;
}

.hestya-footer__social-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.hestya-footer__heading {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.hestya-footer__menu li + li,
.hestya-footer__contact-list li + li {
  margin-top: 0.75rem;
}

.hestya-footer__menu .is-child a {
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.66);
}

.hestya-footer__menu .is-child a::before {
  content: "—";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

.hestya-footer__menu a,
.hestya-footer-bottom__menu a,
.hestya-footer__contact-list a,
.hestya-footer__contact-item {
  color: rgba(255, 255, 255, 0.78);
}

.hestya-footer__contact-list {
  margin-bottom: 1.25rem;
}

.hestya-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.hestya-footer__company {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.hestya-footer__company-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hestya-footer__company-name {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.45;
}

.hestya-footer__company-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.hestya-footer__company-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
}

.hestya-footer__company-row dt {
  color: rgba(255, 255, 255, 0.62);
}

.hestya-footer__company-row dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.hestya-footer__cta {
  width: fit-content;
}

.hestya-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hestya-footer-bottom__copyright {
  font-size: 0.95rem;
}

.hestya-footer-bottom__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.hestya-footer-bottom__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.hestya-footer-bottom__anpc {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.hestya-footer-bottom__anpc:hover,
.hestya-footer-bottom__anpc:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.hestya-footer-bottom__anpc:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.42);
  outline-offset: 3px;
}

.hestya-footer-bottom__anpc--image {
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.hestya-footer-bottom__anpc--image:hover,
.hestya-footer-bottom__anpc--image:focus-visible {
  background: transparent;
  border-color: transparent;
  transform: none;
}

.hestya-footer-bottom__anpc-image {
  display: block;
  width: auto;
  height: 2.35rem;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hestya-footer-bottom__anpc--image:hover .hestya-footer-bottom__anpc-image,
.hestya-footer-bottom__anpc--image:focus-visible .hestya-footer-bottom__anpc-image {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.hestya-footer-bottom__anpc-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.38rem 0.6rem;
  background: linear-gradient(135deg, #0847a6 0%, #2b7cff 100%);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.hestya-footer-bottom__anpc-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hestya-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .hestya-footer__main {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .hestya-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}
