/* ------------------------------------------------*/
/* Futuro X - project overrides */
/* ------------------------------------------------*/

/* Language switcher (header) */
.mxd-lang-switcher {
  position: relative;
  display: inline-flex;
}
.mxd-lang-switcher__toggle {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  height: 4.6rem;
  padding: 0 1.2rem;
  border: none;
  border-radius: 10rem;
  outline: 0;
  cursor: pointer;
  background-color: transparent;
  color: var(--t-bright);
  font: normal var(--fw-medium) 1.4rem/1 var(--_font-default);
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  transition: background-color var(--_animspeed-medium) var(--_animbezier);
}
.mxd-lang-switcher__toggle i {
  font-size: 2rem;
}
.mxd-lang-switcher:hover .mxd-lang-switcher__toggle,
.mxd-lang-switcher:focus-within .mxd-lang-switcher__toggle {
  background-color: var(--base-tint);
}
.mxd-lang-switcher__menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  min-width: 16rem;
  margin: 0;
  padding: 0.8rem;
  list-style: none;
  border-radius: var(--_radius-s);
  background-color: var(--base-tint);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.6rem);
  transition: opacity var(--_animspeed-medium) var(--_animbezier), transform var(--_animspeed-medium) var(--_animbezier), visibility var(--_animspeed-medium);
}
/* invisible bridge so the menu stays open while the pointer moves down to it */
.mxd-lang-switcher__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 1rem;
}
.mxd-lang-switcher:hover .mxd-lang-switcher__menu,
.mxd-lang-switcher:focus-within .mxd-lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0.4rem);
}
.mxd-lang-switcher__menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  color: var(--t-medium);
  font: normal var(--fw-regular) 1.5rem/1.2 var(--_font-default);
  text-decoration: none;
  transition: background-color var(--_animspeed-medium), color var(--_animspeed-medium);
}
.mxd-lang-switcher__menu a span {
  min-width: 2.4rem;
  color: var(--t-muted);
  font-size: 1.2rem;
  font-weight: var(--fw-medium);
}
.mxd-lang-switcher__menu a:hover,
.mxd-lang-switcher__menu a:focus-visible,
.mxd-lang-switcher__menu a.is-active {
  background-color: var(--base);
  color: var(--t-bright);
}
@media only screen and (min-width: 768px) {
  .mxd-lang-switcher__toggle {
    height: 5.6rem;
    padding: 0 1.6rem;
    font-size: 1.6rem;
  }
  .mxd-lang-switcher__toggle i {
    font-size: 2.6rem;
  }
}

/* Who we serve: icons in place of avatars and company logos */
.mxd-testimonials-card__photo--icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.6rem;
  background-color: var(--base);
}
.mxd-testimonials-card__photo--icon img {
  object-fit: contain;
}
.mxd-testimonials-card__company i {
  font-size: 4.2rem;
  color: var(--t-bright);
}

/* Partner cards: text labels in place of third-party logos */
.mxd-partners-cards__label {
  margin: 0;
  text-align: center;
  color: var(--t-bright);
  opacity: 0.6;
  font: normal var(--fw-medium) 2rem/1.2 var(--_font-accent);
  transition: opacity var(--_animspeed-slow) ease;
}
.no-touch .mxd-partners-cards__inner:hover .mxd-partners-cards__label {
  opacity: 1;
}

/* Footer: tagline and legal notice stacked above the copyright */
.footer-blocks__links.footer-blocks__links--stacked {
  flex-direction: column;
  align-items: flex-start;
}
.footer-blocks__legal {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 36rem;
}
.footer-blocks__legal p {
  display: block;
}

/* Footer: legal documents, shown as clear full-width links */
.footer-legal {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--st-muted);
}
.footer-legal__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--st-muted);
  font: normal var(--fw-medium) 2rem/1.3 var(--_font-accent);
  color: var(--t-bright);
  transition: color var(--_animspeed-medium) var(--_animbezier);
}
@media only screen and (min-width: 768px) {
  .footer-legal__link {
    font-size: 2.2rem;
  }
}
.footer-legal__link i {
  flex-shrink: 0;
  font-size: 2.2rem;
  color: var(--accent);
  transition: transform var(--_animspeed-medium) var(--_animbezier);
}
.no-touch .footer-legal__link:hover {
  color: var(--accent);
}
.no-touch .footer-legal__link:hover i {
  transform: translate(0.3rem, -0.3rem);
}

/* Footer: commitments list */
.footer-commitments {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.footer-commitments__title {
  font: normal var(--fw-medium) 1.8rem/1.3 var(--_font-accent);
  color: var(--t-bright);
}
.footer-commitments__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}
.footer-commitments__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font: normal var(--fw-regular) 1.6rem/1.4 var(--_font-accent);
  color: var(--t-medium);
}
.footer-commitments__list i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1.8rem;
  color: var(--accent);
}

/* Header logo (horizontal wordmark) */
.mxd-logo__image {
  width: auto;
  height: 3.2rem;
}
@media only screen and (min-width: 768px) {
  .mxd-logo__image {
    width: auto;
    height: 4rem;
  }
}

/* Hero sized to its title, so the About block follows right after */
.mxd-hero-compact .mxd-hero-01__top {
  padding: 9rem 0 7rem;
}
@media only screen and (min-width: 768px) {
  .mxd-hero-compact .mxd-hero-01__top {
    padding: 11rem 0 8rem;
  }
}
@media only screen and (min-width: 1200px) {
  .mxd-hero-compact .mxd-hero-01 {
    padding-bottom: 0;
  }
  .mxd-hero-compact .mxd-hero-01__top {
    height: auto;
    padding: 13rem 0 9rem;
  }
}

/* Headings that replaced template paragraphs (SEO): keep the paragraph look */
h2.mxd-point-subtitle {
  letter-spacing: normal;
}
h2.mxd-promo__title {
  font: normal var(--fw-regular) 1.8rem/1.6 var(--_font-accent);
  letter-spacing: normal;
}

/* Local backgrounds instead of the template's dummyimage.com placeholders.
   Swap for a real image with background-image: url(../img/...). */
.divider-image-1 {
  background-color: var(--base-tint);
  background-image: radial-gradient(ellipse 60% 80% at 75% 30%, rgba(var(--accent-rgb), 0.28), transparent 70%),
    radial-gradient(ellipse 50% 70% at 20% 80%, rgba(var(--additional-rgb), 0.18), transparent 70%);
}
.mxd-promo__bg {
  background-image: radial-gradient(ellipse 70% 90% at 60% 40%, rgba(var(--accent-rgb), 0.35), transparent 70%);
}

/* How it works: numbered list and h3 step titles with the template's paragraph look */
ol.mxd-approach-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mxd-approach-list__title h3 {
  font: normal var(--fw-medium) 2.2rem/1.2 var(--_font-accent);
  color: var(--t-bright);
}

/* Floating WhatsApp button (bottom-right, stacked above the to-top button
   and center-aligned with it: right offset compensates the size difference) */
.btn-whatsapp {
  position: fixed;
  right: 2.6rem;
  bottom: 8.8rem;
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #29e07a 0%, #25d366 45%, #1faf55 100%);
  color: #fff;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.35), 0 0.2rem 2rem rgba(37, 211, 102, 0.35);
  opacity: 0;
  animation: btn-whatsapp-in 0.5s var(--_animbezier) 1.2s forwards;
  transition: transform var(--_animspeed-medium) var(--_animbezier), box-shadow var(--_animspeed-medium) var(--_animbezier);
}
.btn-whatsapp i {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  line-height: 1;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.4), 0 0.2rem 2.8rem rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:active {
  transform: scale(0.96);
}
@keyframes btn-whatsapp-in {
  from { opacity: 0; transform: translateY(1.6rem) scale(0.6); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* soft expanding ring behind the button */
.btn-whatsapp__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.45);
  animation: btn-whatsapp-pulse 2.6s ease-out 2s infinite;
}
@keyframes btn-whatsapp-pulse {
  0%   { opacity: 0.8; transform: scale(1); }
  60%  { opacity: 0; transform: scale(1.65); }
  100% { opacity: 0; transform: scale(1.65); }
}

/* label revealed on hover/focus (desktop), opens to the left of the button */
.btn-whatsapp__tooltip {
  position: absolute;
  right: calc(100% + 1.4rem);
  padding: 0.9rem 1.4rem;
  border-radius: 10rem;
  background-color: var(--base-tint);
  color: var(--t-bright);
  font: normal var(--fw-medium) 1.4rem/1 var(--_font-default);
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateX(0.6rem);
  transition: opacity var(--_animspeed-medium) var(--_animbezier), transform var(--_animspeed-medium) var(--_animbezier), visibility var(--_animspeed-medium);
  pointer-events: none;
}
.no-touch .btn-whatsapp:hover .btn-whatsapp__tooltip,
.btn-whatsapp:focus-visible .btn-whatsapp__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
@media only screen and (min-width: 768px) {
  .btn-whatsapp {
    right: 5.5rem;
    bottom: 11rem;
    width: 6.6rem;
    height: 6.6rem;
  }
  .btn-whatsapp i {
    font-size: 3.8rem;
  }
}
@media only screen and (min-width: 1600px) {
  .btn-whatsapp {
    right: 8.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-whatsapp {
    animation: none;
    opacity: 1;
  }
  .btn-whatsapp__pulse {
    animation: none;
    opacity: 0;
  }
}

/* Contact CTA supporting line */
.mxd-promo__text {
  max-width: 56rem;
  margin-top: 2.4rem;
  color: var(--t-opp-medium);
}
@media only screen and (min-width: 768px) {
  .mxd-promo__text {
    font-size: 2rem;
  }
}

/* Stats cards: second line under the description and word values ("Stablecoin-native") */
.mxd-counter__descr .mxd-counter__note {
  color: inherit;
  font-weight: var(--fw-medium);
}
.mxd-stats-number.mxd-stats-number--long {
  font-size: 4.6rem;
  line-height: 0.95;
}
@media only screen and (min-width: 768px) {
  .mxd-stats-number.mxd-stats-number--long {
    font-size: 6rem;
  }
}
@media only screen and (min-width: 1200px) {
  .mxd-stats-number.mxd-stats-number--long {
    font-size: 6.4rem;
  }
}
@media only screen and (min-width: 1600px) {
  .mxd-stats-number.mxd-stats-number--long {
    font-size: 7.4rem;
  }
}

/* OTC desk section */
.mxd-otc {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.mxd-otc__text {
  font: normal var(--fw-regular) 1.8rem/1.6 var(--_font-accent);
  color: var(--t-medium);
}
.mxd-otc__subtitle {
  margin-top: 1.6rem;
  font: normal var(--fw-medium) 2.2rem/1.2 var(--_font-accent);
  color: var(--t-bright);
}
.mxd-otc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--st-muted);
}
.mxd-otc__list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--st-muted);
  font: normal var(--fw-regular) 1.8rem/1.4 var(--_font-accent);
  color: var(--t-bright);
}
.mxd-otc__list i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 2.2rem;
  color: var(--accent);
}
.mxd-otc__controls {
  display: flex;
  margin-top: 0.8rem;
}
@media only screen and (min-width: 768px) {
  .mxd-otc__text {
    font-size: 2rem;
  }
  .mxd-otc__list li {
    font-size: 2rem;
  }
}

/* OTC desk inside the CTA card */
.mxd-promo__otc {
  position: relative;
  z-index: 1;
  padding: 6rem 0 7rem;
}
.mxd-promo__otc .mxd-otc__title {
  margin: 0 0 3rem;
  font: normal var(--fw-medium-opp) 3.6rem/1.1 var(--_font-accent);
  letter-spacing: -0.06rem;
  color: var(--t-opp-bright);
}
.mxd-promo__otc .mxd-otc__title span {
  color: var(--t-opp-bright);
}
.mxd-promo__otc .mxd-otc__text {
  color: var(--t-opp-medium);
}
.mxd-promo__otc .mxd-otc__subtitle,
.mxd-promo__otc .mxd-otc__list li {
  color: var(--t-opp-bright);
}
.mxd-promo__otc .mxd-otc__list,
.mxd-promo__otc .mxd-otc__list li {
  border-color: rgba(22, 22, 22, 0.14);
}
@media only screen and (min-width: 768px) {
  .mxd-promo__otc {
    padding: 8rem 0 9rem;
  }
  .mxd-promo__otc .mxd-otc__title {
    font-size: 4.8rem;
  }
}
@media only screen and (min-width: 1200px) {
  .mxd-promo__otc .mxd-otc__title {
    margin-bottom: 0;
    padding-right: 4rem;
  }
}
@media only screen and (min-width: 1400px) {
  .mxd-promo__otc .mxd-otc__title {
    font-size: 5.6rem;
  }
}
@media only screen and (min-width: 1600px) {
  .mxd-promo__otc {
    padding: 10rem 0 11rem;
  }
}
