/* Crypto12 approved global footer. */
footer.footer.c12-footer {
  --c12-footer-bg: #030a0f;
  --c12-footer-surface: #0d1922;
  --c12-footer-text: #f1f4f6;
  --c12-footer-muted: #a7b2bc;
  --c12-footer-accent: #36addd;
  position: relative;
  overflow: hidden;
  background-color: var(--c12-footer-bg);
  background-image: none;
  background-position: right top;
  background-size: auto;
  background-repeat: no-repeat;
  color: var(--c12-footer-muted);
  font-family: Montserrat, Arial, sans-serif;
}

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

.c12-footer__sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.c12-footer__inner {
  position: relative;
  z-index: 1;
  margin-inline: auto;
}

.c12-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.04fr) minmax(0, 1.06fr) minmax(0, 1.1fr);
  gap: clamp(2.25rem, 3vw, 4rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 1.5vw, 2rem);
}

.c12-footer__column {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.c12-footer h2 {
  margin: 0 0 clamp(1.35rem, 2vw, 2.25rem);
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-transform: none;
}

.c12-footer p,
.c12-footer address,
.c12-footer li,
.c12-footer__licence,
.c12-footer dt,
.c12-footer dd {
  color: inherit;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.55;
}

.c12-footer p,
.c12-footer address,
.c12-footer ul,
.c12-footer dl,
.c12-footer dd {
  margin: 0;
}

.c12-footer ul {
  padding: 0;
  list-style: none;
}

footer.c12-footer a,
footer.c12-footer a:visited {
  color: inherit;
  border: 0;
  text-decoration: none !important;
  transition: color 180ms ease;
}

.c12-footer .c12-footer__column a:hover,
.c12-footer .c12-footer__column a:focus-visible {
  color: var(--c12-footer-accent);
  border: 0;
  text-decoration: none !important;
}

.c12-footer a:focus-visible {
  outline: 3px solid var(--c12-footer-accent);
  outline-offset: 4px;
  border-radius: 2px;
  text-decoration: none !important;
}

.c12-footer .c12-footer__register:hover,
.c12-footer .c12-footer__register:focus-visible {
  color: var(--c12-footer-accent) !important;
}

.c12-footer__company p {
  max-width: 29rem;
  color: var(--c12-footer-muted);
}

.c12-footer__socials {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  max-width: 17.5rem;
  gap: 0;
  margin-top: clamp(1.1rem, 1.5vw, 1.5rem);
}

.c12-footer__contact .c12-footer__socials {
  margin-left: 0;
}

.c12-footer__socials a,
.c12-footer__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #e8edf1;
}

.c12-footer__socials a {
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  border-radius: 0;
}

.c12-footer__icon {
  width: clamp(2.15rem, 2.2vw, 2.75rem);
  height: clamp(2.15rem, 2.2vw, 2.75rem);
  background: var(--c12-footer-surface);
  border-radius: .55rem;
}

.c12-footer__socials a:hover {
  color: var(--c12-footer-accent);
  background: transparent;
}

.c12-footer__socials svg,
.c12-footer__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c12-footer__socials svg {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  overflow: visible;
}

.c12-footer__icon svg {
  width: 58%;
  height: 58%;
}

.c12-footer svg .is-filled {
  fill: currentColor;
  stroke: none;
}

.c12-footer__contact address {
  display: grid;
  gap: .7rem;
  font-style: normal;
}

.c12-footer__contact address > a,
.c12-footer__contact-row,
.c12-footer__licence {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(.85rem, 1.1vw, 1.25rem);
  align-items: center;
}

.c12-footer__contact address > a:not(.c12-footer__contact-row) > :last-child,
.c12-footer__company-data dd {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.c12-footer__contact-row,
.c12-footer__licence {
  align-items: start;
}

.c12-footer__contact-row > :last-child,
.c12-footer__licence > :last-child {
  max-width: 17rem;
  padding-top: .25rem;
}

.c12-footer__contact-row:focus-visible {
  border-radius: .2rem;
}

.c12-footer__useful li + li {
  margin-top: clamp(.55rem, .85vw, .95rem);
}

.c12-footer__useful a {
  display: inline-block;
  padding-block: .08rem;
}

.c12-footer__licence-list {
  display: grid;
  gap: clamp(1.2rem, 1.55vw, 1.85rem);
}

.c12-footer__licence > :last-child {
  display: grid;
  gap: .15rem;
}

.c12-footer__licence > :last-child > a {
  margin: 0;
  padding: 0;
}

.c12-footer__licence > span > a:first-child {
  color: var(--c12-footer-muted);
  font-weight: 600;
}

.c12-footer__register {
  color: var(--c12-footer-muted) !important;
  font-size: clamp(.9375rem, 1.5vw, 1.05rem);
}

.c12-footer__company-data {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin-top: clamp(.8rem, 1vw, 1.1rem) !important;
}

.c12-footer__company-data > div {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.c12-footer__company-data dt {
  color: var(--c12-footer-muted);
  font-weight: 400;
}

.c12-footer__company-data dt,
.c12-footer__company-data dd {
  font-size: clamp(.875rem, 1.4vw, .95rem);
  line-height: 1.45;
}

.c12-footer__company-data dd {
  color: var(--c12-footer-muted);
  font-weight: 600;
}

.c12-footer__signature {
  position: relative;
}

.c12-footer__copyright {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1.5rem, 2vw, 2.5rem);
  color: #4d8298 !important;
  font-size: clamp(.8rem, .9vw, 1.1rem) !important;
  line-height: 1.45 !important;
}

.c12-footer__copyright p {
  margin: 0;
  color: inherit !important;
  font: inherit;
}

.c12-footer__wordmark {
  width: 100vw;
  height: .57em;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  font-size: calc((min(100vw, 90rem) - (2 * clamp(.5rem, 2vw, 2rem))) / 6.235);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.c12-footer__wordmark span {
  display: block;
  width: 100%;
  padding-top: .025em;
  color: transparent;
  background: linear-gradient(180deg, #1880a6 0%, #0f5e7d 42%, #062c3c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 1em;
  font-weight: 800;
  line-height: .73;
  letter-spacing: -.075em;
  transform: translateY(.04em);
}

/* Existing opt-in CTA remains functional but visually aligned with the footer. */
.footer-cta-section-wrapper {
  background-color: #0b2633 !important;
  background-image: none !important;
}

@media (max-width: 87.499rem) {
  .c12-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.75rem 5rem;
  }

  .c12-footer__company p {
    max-width: 31rem;
  }

}

@media (max-width: 47.999rem) {
  .c12-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.9rem;
    padding-block: 2rem 3.25rem;
  }

  .c12-footer h2 {
    margin-bottom: 1.25rem;
  }

  .c12-footer p,
  .c12-footer address,
  .c12-footer li,
  .c12-footer dt,
  .c12-footer dd {
    font-size: 1rem;
  }

  .c12-footer__icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .c12-footer__contact-row > :last-child,
  .c12-footer__licence > :last-child {
    max-width: 20rem;
  }

  .c12-footer__copyright {
    max-width: 29rem;
    padding-bottom: 1.75rem;
  }

  .footer-cta-section-wrapper .btn {
    width: 100%;
    margin-right: 0 !important;
    text-align: center;
  }
}

@media (max-width: 30rem) {
  .c12-footer__company-data {
    display: grid;
    gap: .2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c12-footer a {
    transition: none;
  }
}

@media (max-width: 767px) {
  .c12-footer__grid {
    padding-top: 2.8rem;
  }
}

@media (min-width: 767px) {
  .c12-footer__grid {
    padding-top: 4rem;
  }
}


  .c12-footer__contact .c12-footer__socials {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    gap: 0.25rem;
  }

  .c12-footer__contact .c12-footer__socials a {
    display: flex;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: transparent;
  }

  .c12-footer__contact .c12-footer__socials svg {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    overflow: visible;
  }


  .c12-footer__social-icon {
    transform-origin: center;
  }

  .c12-footer__social-icon--x {
    transform: scale(0.88);
  }

  .c12-footer__social-icon--instagram {
    transform: scale(1.08);
  }

  .c12-footer__social-icon--facebook {
    transform: scale(1.21);
  }

  .c12-footer__social-icon--linkedin {
    transform: scale(1.29);
  }

  .c12-footer__social-icon--telegram {
    transform: scale(1.23);
  }

  .c12-footer__social-icon--tiktok {
    transform: scale(0.94);
  }

  /* Compact socials on tablet and mobile */
@media (max-width: 1399px) {
  .c12-footer__contact .c12-footer__socials {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    width: fit-content;
    max-width: 100%;
    gap: 0.75rem;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .c12-footer__contact .c12-footer__socials {
    gap: 0.35rem;
  }

  .c12-footer__contact .c12-footer__socials a {
    width: 2.5rem;
    height: 2.75rem;
    flex-basis: 2.5rem;
  }
}