/**
 * Global site footer.
 *
 * Mobile-first implementation of Figma nodes 760:59179 and 603:17025.
 */
.c-site-footer {
  --site-footer-background: #1e393b;
  --site-footer-glow: #24484a;
  --site-footer-line: #008d97;
  --site-footer-divider: var(--color-primary-800);
  --site-footer-text: var(--color-primary-50);
  --site-footer-muted: var(--color-primary-100);
  --site-footer-accent: var(--color-secondary-500);
  --site-footer-control-background: rgb(255 255 255 / 10%);
  --site-footer-control-border: #314158;
  --site-footer-badge-background: rgb(255 255 255 / 5%);

  position: relative;
  overflow: hidden;
  background: var(--site-footer-background);
  color: var(--site-footer-text);
  direction: rtl;
}

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

.c-site-footer__glow {
  position: absolute;
  inset-block-start: 8.125rem;
  inset-inline-start: 50%;
  width: 37.5rem;
  height: 18.75rem;
  border-radius: var(--radius-circle);
  background: var(--site-footer-glow);
  filter: blur(6.25rem);
  transform: translateX(50%);
  pointer-events: none;
}

.c-site-footer__shell {
  position: relative;
  width: 100%;
  margin-inline: auto;
  padding: var(--space-6) var(--space-6) 0;
}

.c-site-footer__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: center;
}

.c-site-footer__brand {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.c-site-footer__logo {
  width: 6.25rem;
  height: 3.6875rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.c-site-footer__identity strong,
.c-site-footer__identity small {
  display: block;
  text-align: start;
}

.c-site-footer__identity strong {
  color: var(--color-text-inverse);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 2.25rem;
}

.c-site-footer__identity small {
  color: var(--site-footer-muted);
  font-size: 0.875rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.375rem;
}

.c-site-footer__slogan {
  margin: 0;
  color: var(--site-footer-muted);
  font-size: 1.25rem;
  font-weight: var(--font-weight-regular);
  line-height: 2rem;
  text-align: center;
}

.c-site-footer__slogan span {
  color: rgb(212 168 74 / 60%);
}

.c-site-footer__ornament {
  display: flex;
  width: calc(100% + (2 * var(--space-6)));
  height: 4.25rem;
  align-items: flex-end;
  gap: var(--space-4);
  margin-inline: calc(-1 * var(--space-6));
  padding-block-start: var(--space-8);
}

.c-site-footer__ornament i {
  height: 1px;
  flex: 1;
}

.c-site-footer__ornament i:first-child {
  background: linear-gradient(90deg, transparent, var(--site-footer-line));
}

.c-site-footer__ornament i:last-child {
  background: linear-gradient(90deg, var(--site-footer-line), transparent);
}

.c-site-footer__ornament img {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.c-site-footer__grid {
  display: grid;
  width: 100%;
  margin-block-start: var(--space-6);
  margin-inline: 0;
  column-gap: var(--space-4);
  row-gap: var(--space-12);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.c-site-footer__column {
  min-width: 0;
}

.c-site-footer__column--contact,
.c-site-footer__column--about {
  grid-column: 1 / -1;
}

.c-site-footer__title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  color: var(--color-text-inverse);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.75rem;
}

.c-site-footer__title span {
  color: var(--site-footer-accent);
  font-size: 1rem;
  line-height: 1;
}

.c-site-footer__link-list,
.c-site-footer__social-list,
.c-site-footer__badge-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-site-footer__link-list {
  display: grid;
  gap: 0.625rem;
  color: var(--site-footer-text);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.25rem;
}

.c-site-footer__link-list a,
.c-site-footer__contact a {
  transition: color var(--duration-normal) var(--ease-standard);
}

.c-site-footer__link-list a:hover,
.c-site-footer__contact a:hover {
  color: var(--site-footer-accent);
}

.c-site-footer__contact {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: var(--font-weight-medium);
  line-height: 1.25rem;
}

.c-site-footer__contact a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2);
  overflow-wrap: anywhere;
}

.c-site-footer__contact img {
  width: 0.8125rem;
  height: 0.8125rem;
  flex: 0 0 auto;
}

.c-site-footer__representative {
  width: 100%;
  margin-block-start: var(--space-5);
  padding: 1rem;
  border: var(--border-width-default) solid #2e5a38;
  border-radius: 1rem;
  background: var(--color-primary-600);
  font-size: 0.75rem;
}

.c-site-footer__representative strong {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--site-footer-accent);
  font-weight: var(--font-weight-medium);
  line-height: 1rem;
}

.c-site-footer__representative i {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: var(--radius-circle);
  background: currentcolor;
}

.c-site-footer__representative p {
  margin: var(--space-2) 0 0;
  color: var(--site-footer-text);
  line-height: 1.25rem;
}

.c-site-footer__about {
  max-width: 21rem;
  margin: 0 0 var(--space-4);
  color: var(--site-footer-text);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.75rem;
}

.c-site-footer__social-list {
  display: flex;
  direction: ltr;
  gap: var(--space-3);
  justify-content: flex-end;
}

.c-site-footer__social-list a {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: var(--border-width-default) solid var(--site-footer-control-border);
  border-radius: var(--radius-card);
  background: var(--site-footer-control-background);
  transition:
    border-color var(--duration-normal) var(--ease-standard),
    background-color var(--duration-normal) var(--ease-standard),
    transform var(--duration-normal) var(--ease-standard);
}

.c-site-footer__social-list a:hover {
  border-color: var(--site-footer-accent);
  background: rgb(255 255 255 / 14%);
  transform: translateY(-2px);
}

.c-site-footer__social-list img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.c-site-footer__bottom {
  display: flex;
  width: calc(100% + (2 * var(--space-6)));
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  margin-block-start: var(--space-20);
  margin-inline: calc(-1 * var(--space-6));
}

.c-site-footer__badge-list {
  display: grid;
  width: 100%;
  padding-inline: var(--space-5);
  direction: ltr;
  gap: 0.875rem;
  grid-template-columns: repeat(3, minmax(0, 7.125rem));
  justify-content: center;
}

.c-site-footer__badge-list a,
.c-site-footer__badge-list span {
  display: flex;
  width: 100%;
  height: 2.375rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding-inline: var(--space-2);
  border: var(--border-width-default) solid var(--site-footer-badge-background);
  border-radius: 0.5rem;
  background: var(--site-footer-badge-background);
  color: #e2e2e9;
  direction: rtl;
}

.c-site-footer__badge-list a {
  transition:
    border-color var(--duration-normal) var(--ease-standard),
    color var(--duration-normal) var(--ease-standard);
}

.c-site-footer__badge-list a:hover {
  border-color: var(--site-footer-accent);
  color: var(--color-text-inverse);
}

.c-site-footer__badge-icon {
  width: 1.5rem;
  height: 1.8125rem;
  flex: 0 0 auto;
  filter: grayscale(1) brightness(1.65);
  opacity: 0.9;
  object-fit: contain;
}

.c-site-footer__badge-item--system-195 .c-site-footer__badge-icon {
  width: 1.1875rem;
  height: 1.375rem;
}

.c-site-footer__badge-item--enamad .c-site-footer__badge-icon {
  width: 1.4375rem;
  height: 1.8125rem;
}

.c-site-footer__badge-label {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: clamp(0.5rem, 2.2vw, 0.625rem);
  font-weight: var(--font-weight-regular);
  line-height: 1rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c-site-footer__badge-item--license .c-site-footer__badge-label {
  overflow: visible;
  direction: rtl;
  font-size: 0.5625rem;
  text-overflow: clip;
  unicode-bidi: isolate;
}

.c-site-footer__copyright {
  direction: rtl;
  width: 100%;
  margin: 0;
  padding: 1.0625rem var(--space-6) var(--space-4);
  border-block-start: var(--border-width-default) solid var(--site-footer-divider);
  color: var(--site-footer-muted);
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: center;
}

.c-site-footer a:focus-visible {
  outline: 2px solid var(--site-footer-accent);
  outline-offset: 3px;
}

@media (min-width: 48rem) {
  .c-site-footer__grid {
    grid-template-areas:
      'products support'
      'contact about';
  }

  .c-site-footer__column--products {
    grid-area: products;
  }

  .c-site-footer__column--support {
    grid-area: support;
  }

  .c-site-footer__column--contact {
    grid-area: contact;
  }

  .c-site-footer__column--about {
    grid-area: about;
  }
}

@media (min-width: 64rem) {
  .c-site-footer__glow {
    inset-block-start: 12.6875rem;
  }

  .c-site-footer__shell {
    width: min(calc(100% - (2 * var(--spacing-container-inline))), 80rem);
    padding: 3.25rem 0 0;
  }

  .c-site-footer__intro {
    gap: var(--space-8);
  }

  .c-site-footer__logo {
    width: 7.9375rem;
    height: 4.75rem;
  }

  .c-site-footer__identity strong {
    font-size: 2rem;
    line-height: 2.75rem;
  }

  .c-site-footer__identity small {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .c-site-footer__slogan {
    font-size: 1.5rem;
    line-height: 2.25rem;
  }

  .c-site-footer__grid {
    width: 100%;
    margin-block-start: var(--space-4);
    direction: ltr;
    gap: clamp(2rem, 4.5vw, 5rem);
    grid-template-areas: 'contact support products about';
    grid-template-columns:
      minmax(0, 1.35fr)
      minmax(0, 0.7fr)
      minmax(0, 0.7fr)
      minmax(0, 1.35fr);
  }

  .c-site-footer__ornament {
    width: 100%;
    margin-inline: 0;
  }

  .c-site-footer__column {
    direction: rtl;
  }

  .c-site-footer__link-list {
    white-space: nowrap;
  }

  .c-site-footer__bottom {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-8);
    margin-block-start: var(--space-4);
    margin-inline: 0;
    padding: 1rem 0;
    border-block-start: var(--border-width-default) solid var(--site-footer-divider);
    direction: ltr;
  }

  .c-site-footer__badge-list {
    width: auto;
    padding: 0;
    order: 2;
  }

  .c-site-footer__copyright {
    width: auto;
    padding: 0;
    border: 0;
    order: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-site-footer__social-list a {
    transition: none;
  }

  .c-site-footer__social-list a:hover {
    transform: none;
  }
}
