/* Componentes compartidos: respaldo Aliada y canales oficiales Joyn Villas. */
.aliada-trustbar {
  position: relative;
  z-index: 100;
  width: 100%;
  background: #011a33;
  border-bottom: 1px solid rgb(240 235 161 / 38%);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
}

.aliada-trustbar__inner {
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(100% - 32px, 1240px);
  min-height: 50px;
  margin-inline: auto;
}

.aliada-trustbar__symbol {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgb(240 235 161 / 54%);
  border-radius: 50%;
  color: #f0eba1;
}

.aliada-trustbar__symbol svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.aliada-trustbar p {
  display: flex;
  align-items: baseline;
  flex: 1;
  gap: 10px;
  margin: 0;
  color: inherit;
  font: 400 12px/1.35 Montserrat, Arial, sans-serif;
}

.aliada-trustbar strong {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
}

.aliada-trustbar p span { color: rgb(255 255 255 / 68%); }

.aliada-trustbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid #f0eba1;
  border-radius: 999px;
  color: #f0eba1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.aliada-trustbar a:hover {
  background: #f0eba1;
  color: #011a33;
  transform: translateY(-1px);
}

.joyn-social-hub {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(62px, 7vw, 92px) 24px;
  background:
    radial-gradient(circle at 8% 16%, rgb(194 164 2 / 13%), transparent 30%),
    linear-gradient(145deg, #f8f5ed 0%, #fff 54%, #f2eee4 100%);
  color: #011a33;
  font-family: Montserrat, Arial, sans-serif;
}

.joyn-social-hub::before {
  position: absolute;
  z-index: -1;
  top: -130px;
  right: -90px;
  width: 330px;
  height: 330px;
  border: 1px solid rgb(1 26 51 / 8%);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgb(1 26 51 / 2.5%), 0 0 0 110px rgb(1 26 51 / 1.5%);
  content: "";
}

.joyn-social-hub__inner {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.joyn-social-hub__header {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.joyn-social-hub__header .joyn-social-hub__eyebrow {
  margin: 0 0 9px;
  color: #9f8700;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.joyn-social-hub__header h2 {
  margin: 0;
  color: #011a33;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.joyn-social-hub__header > p:last-child {
  max-width: 610px;
  margin: 15px 0 0;
  color: #536172;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.65;
}

.joyn-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.joyn-social-card {
  --social-accent: #f0eba1;
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  min-height: 174px;
  padding: 25px 22px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 22px;
  background: linear-gradient(145deg, #062744, #011a33 72%);
  box-shadow: 0 18px 45px rgb(1 26 51 / 14%);
  color: #fff;
  text-decoration: none;
  transform: translateZ(0);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.joyn-social-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--social-accent);
  content: "";
}

.joyn-social-card::after {
  position: absolute;
  right: -62px;
  bottom: -82px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--social-accent);
  content: "";
  filter: blur(62px);
  opacity: .13;
  pointer-events: none;
}

.joyn-social-card--instagram { --social-accent: #ef4a92; }
.joyn-social-card--youtube { --social-accent: #ff2643; }
.joyn-social-card--tiktok { --social-accent: #25f4ee; }

.joyn-social-card:hover {
  border-color: var(--social-accent);
  box-shadow: 0 24px 55px rgb(1 26 51 / 22%);
  color: #fff;
  transform: translateY(-6px);
}

.joyn-social-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 17px;
  background: rgb(255 255 255 / 8%);
}

.joyn-social-card__icon svg { width: 29px; height: 29px; }
.joyn-social-card--instagram .joyn-social-card__icon { background: linear-gradient(145deg, #833ab4, #fd1d1d 58%, #fcb045); }
.joyn-social-card--instagram .joyn-social-card__icon svg { fill: none; stroke: #fff; stroke-width: 1.8; }
.joyn-social-card--instagram .joyn-social-card__dot { fill: #fff; stroke: none; }
.joyn-social-card--youtube .joyn-social-card__icon { border-color: rgb(255 38 67 / 42%); }
.joyn-social-card--youtube .joyn-social-card__icon rect { fill: #ff2643; }
.joyn-social-card--youtube .joyn-social-card__play { fill: #fff; }
.joyn-social-card--tiktok .joyn-social-card__icon { box-shadow: -3px -2px 0 rgb(37 244 238 / 35%), 3px 2px 0 rgb(254 44 85 / 35%); }
.joyn-social-card--tiktok .joyn-social-card__icon path { fill: #fff; }

.joyn-social-card__copy,
.joyn-social-card__copy > span,
.joyn-social-card__copy strong,
.joyn-social-card__copy small { display: block; }

.joyn-social-card__copy > span {
  margin-bottom: 6px;
  color: var(--social-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.joyn-social-card__copy strong {
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.joyn-social-card__copy small {
  margin-top: 7px;
  color: rgb(255 255 255 / 66%);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
}

.joyn-social-card__arrow,
.joyn-social-card:hover .joyn-social-card__arrow {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  color: #fff;
  font: 500 18px/1 Arial, sans-serif;
  transition: background-color .2s ease, border-color .2s ease;
}

.joyn-social-card:hover .joyn-social-card__arrow {
  border-color: var(--social-accent);
  background: var(--social-accent);
  color: #011a33;
}

@media (max-width: 900px) {
  .aliada-trustbar p span { display: none; }
  .joyn-social-grid { grid-template-columns: 1fr; }
  .joyn-social-card { min-height: 132px; }
}

@media (max-width: 560px) {
  .aliada-trustbar__inner { width: min(100% - 20px, 1240px); min-height: 48px; gap: 9px; }
  .aliada-trustbar__symbol { flex-basis: 27px; width: 27px; height: 27px; }
  .aliada-trustbar strong { font-size: 10px; letter-spacing: 0; }
  .aliada-trustbar a { padding: 7px 9px; font-size: 8px; letter-spacing: .05em; }
  .joyn-social-hub { padding: 52px 15px 58px; }
  .joyn-social-hub__header { margin-bottom: 24px; }
  .joyn-social-hub__header h2 { max-width: 340px; font-size: 31px; }
  .joyn-social-hub__header > p:last-child { margin-top: 12px; font-size: 14px; line-height: 1.55; }
  .joyn-social-grid { gap: 12px; }
  .joyn-social-card { grid-template-columns: 48px minmax(0, 1fr) 34px; gap: 13px; min-height: 0; padding: 17px 16px; border-radius: 17px; }
  .joyn-social-card__icon { width: 48px; height: 48px; border-radius: 14px; }
  .joyn-social-card__icon svg { width: 25px; height: 25px; }
  .joyn-social-card__copy > span { margin-bottom: 4px; font-size: 8px; }
  .joyn-social-card__copy strong { font-size: 21px; }
  .joyn-social-card__copy small { margin-top: 4px; font-size: 11px; }
  .joyn-social-card__arrow { width: 34px; height: 34px; }
}

@media (max-width: 370px) {
  .aliada-trustbar__symbol { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .aliada-trustbar a,
  .joyn-social-card,
  .joyn-social-card__arrow { transition: none; }
}

/*
 * Dirección editorial JOYN.
 * Hereda la geometría limpia, los divisores y la paleta del sitio principal.
 */
.joyn-social-hub {
  overflow: hidden;
  padding: clamp(72px, 7vw, 104px) 24px;
  background: #f5f5f5;
}

.joyn-social-hub::before { display: none; }

.joyn-social-hub__inner { width: min(100%, 1140px); }

.joyn-social-hub__header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  grid-template-rows: auto auto;
  column-gap: clamp(46px, 7vw, 96px);
  max-width: none;
  margin-bottom: clamp(42px, 5vw, 64px);
}

.joyn-social-hub__header .joyn-social-hub__eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 13px;
  color: #c2a402;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
}

.joyn-social-hub__header h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 680px;
  color: #011a33;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.joyn-social-hub__header > p:last-child {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  max-width: 390px;
  margin: 0;
  padding-left: clamp(22px, 3vw, 38px);
  border-left: 1px solid #d0ddd9;
  color: #3f444b;
  font-size: 14px;
  line-height: 1.75;
}

.joyn-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #b9c5c1;
  border-bottom: 1px solid #b9c5c1;
}

.joyn-social-card,
.joyn-social-card:hover {
  --social-accent: #c2a402;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 278px;
  padding: 34px 31px 29px;
  border: 0 !important;
  border-right: 1px solid #d0ddd9 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #011a33;
  text-decoration: none !important;
  transform: none;
  transition: background-color .28s ease, color .28s ease;
}

.joyn-social-card:last-child,
.joyn-social-card:last-child:hover { border-right: 0 !important; }

.joyn-social-card::before {
  top: 36px;
  right: auto;
  left: 31px;
  width: auto;
  height: auto;
  background: transparent;
  color: #c2a402;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1;
}

.joyn-social-card:nth-child(1)::before { content: "01"; }
.joyn-social-card:nth-child(2)::before { content: "02"; }
.joyn-social-card:nth-child(3)::before { content: "03"; }
.joyn-social-card::after { display: none; }

.joyn-social-card__icon {
  position: absolute;
  top: 24px;
  right: 27px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #011a33;
}

.joyn-social-card .joyn-social-card__icon svg {
  display: block;
  width: 38px;
  height: 38px;
  fill: currentColor;
  stroke: none;
}

.joyn-social-card .joyn-social-card__icon path {
  fill: currentColor;
  stroke: none;
}

/* La contraforma del play mantiene legible la marca oficial de YouTube. */
.joyn-social-card--youtube .joyn-social-card__icon .joyn-social-card__play {
  fill: #f5f5f5;
}

.joyn-social-card__copy {
  margin-top: auto;
  padding-top: 74px;
}

.joyn-social-card,
.joyn-social-card *,
.joyn-social-card:hover,
.joyn-social-card:hover * { text-decoration: none !important; }

.joyn-social-card__copy > span {
  margin-bottom: 10px;
  color: #7a7f81;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
}

.joyn-social-card__copy strong {
  color: #011a33;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}

.joyn-social-card__copy small {
  margin-top: 9px;
  color: #687177;
  font-size: 12px;
  font-weight: 400;
}

.joyn-social-card__arrow,
.joyn-social-card:hover .joyn-social-card__arrow,
.joyn-social-card--active .joyn-social-card__arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: auto;
  margin-top: 28px;
  padding-top: 15px;
  border: 0;
  border-top: 1px solid #d0ddd9;
  border-radius: 0;
  background: transparent;
  color: #011a33;
  font: 400 17px/1 Montserrat, sans-serif;
}

.joyn-social-card__arrow::before {
  margin-right: auto;
  color: #687177;
  content: "Visitar canal";
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (hover: hover) {
  .joyn-social-card:hover {
    background: #011a33;
    color: #fff;
  }

  .joyn-social-card:hover .joyn-social-card__icon,
  .joyn-social-card:hover .joyn-social-card__copy strong,
  .joyn-social-card:hover .joyn-social-card__arrow { color: #fff; }

  .joyn-social-card:hover .joyn-social-card__copy > span,
  .joyn-social-card:hover .joyn-social-card__copy small,
  .joyn-social-card:hover .joyn-social-card__arrow::before { color: #d0ddd9; }

  .joyn-social-card:hover .joyn-social-card__arrow {
    border-top-color: rgb(255 255 255 / 24%);
    background: transparent;
  }

  .joyn-social-card--youtube:hover .joyn-social-card__icon .joyn-social-card__play {
    fill: #011a33;
  }
}

@media (max-width: 900px) {
  .joyn-social-hub__header {
    display: block;
  }

  .joyn-social-hub__header > p:last-child {
    max-width: 590px;
    margin-top: 22px;
    padding: 18px 0 0;
    border-top: 1px solid #d0ddd9;
    border-left: 0;
  }

  .joyn-social-grid { grid-template-columns: 1fr; }

  .joyn-social-card,
  .joyn-social-card:hover {
    min-height: 176px;
    padding: 28px 20px 23px;
    border-right: 0 !important;
    border-bottom: 1px solid #d0ddd9 !important;
  }

  .joyn-social-card:last-child,
  .joyn-social-card:last-child:hover { border-bottom: 0 !important; }
  .joyn-social-card::before { top: 30px; left: 20px; }
  .joyn-social-card__icon { top: 21px; right: 20px; }
  .joyn-social-card__copy { padding-top: 53px; }
}

@media (max-width: 560px) {
  .joyn-social-hub { padding: 54px 20px 62px; }
  .joyn-social-hub__header { margin-bottom: 38px; }
  .joyn-social-hub__header h2 { max-width: 330px; font-size: 32px; font-weight: 500; }
  .joyn-social-hub__header > p:last-child { font-size: 13px; line-height: 1.65; }
  .joyn-social-card__copy strong { font-size: 27px; }
}

/* Instagram se presenta activo al cargar; el hover transfiere el foco visual. */
.joyn-social-card--active {
  background: #011a33;
  color: #fff;
}

.joyn-social-card--active .joyn-social-card__icon,
.joyn-social-card--active .joyn-social-card__copy strong,
.joyn-social-card--active .joyn-social-card__arrow {
  color: #fff;
}

.joyn-social-card--active .joyn-social-card__copy > span,
.joyn-social-card--active .joyn-social-card__copy small,
.joyn-social-card--active .joyn-social-card__arrow::before {
  color: #d0ddd9;
}

.joyn-social-card--active .joyn-social-card__arrow {
  border-top-color: rgb(255 255 255 / 24%);
  background: transparent;
}

@media (hover: hover) {
  .joyn-social-grid:has(.joyn-social-card:not(.joyn-social-card--active):hover) .joyn-social-card--active {
    background: transparent;
    color: #011a33;
  }

  .joyn-social-grid:has(.joyn-social-card:not(.joyn-social-card--active):hover) .joyn-social-card--active .joyn-social-card__icon,
  .joyn-social-grid:has(.joyn-social-card:not(.joyn-social-card--active):hover) .joyn-social-card--active .joyn-social-card__copy strong,
  .joyn-social-grid:has(.joyn-social-card:not(.joyn-social-card--active):hover) .joyn-social-card--active .joyn-social-card__arrow {
    color: #011a33;
  }

  .joyn-social-grid:has(.joyn-social-card:not(.joyn-social-card--active):hover) .joyn-social-card--active .joyn-social-card__copy > span,
  .joyn-social-grid:has(.joyn-social-card:not(.joyn-social-card--active):hover) .joyn-social-card--active .joyn-social-card__copy small,
  .joyn-social-grid:has(.joyn-social-card:not(.joyn-social-card--active):hover) .joyn-social-card--active .joyn-social-card__arrow::before {
    color: #687177;
  }

  .joyn-social-grid:has(.joyn-social-card:not(.joyn-social-card--active):hover) .joyn-social-card--active .joyn-social-card__arrow {
    border-top-color: #d0ddd9;
  }
}

/* Hero comercial: jerarquía, contraste y llamados a la acción compartidos. */
.elementor .elementor-element.joyn-hero {
  --overlay-opacity: .76;
  isolation: isolate;
}

.elementor .elementor-element.joyn-hero .joyn-hero__content {
  position: relative;
  z-index: 2;
}

.elementor .elementor-element.joyn-hero h1.elementor-heading-title,
.elementor .elementor-element.joyn-hero h3.elementor-heading-title,
.elementor .elementor-element.joyn-hero .elementor-widget-text-editor {
  text-shadow: 0 2px 8px rgb(0 10 24 / 74%), 0 12px 34px rgb(0 10 24 / 48%);
}

.elementor .elementor-element.joyn-hero .elementor-widget-text-editor {
  width: min(100%, 680px) !important;
  max-width: 680px !important;
  line-height: 1.6;
}

.elementor .elementor-element.joyn-hero .elementor-widget-text-editor strong {
  color: #f0eba1;
  font-weight: 700;
}

.elementor .elementor-element .elementor-button.joyn-primary-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  overflow: hidden;
  padding: 16px 27px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 2px;
  background: linear-gradient(120deg, #fbf6c8 0%, #d7b95f 48%, #9b7530 100%) !important;
  box-shadow: 0 0 0 1px rgb(240 235 161 / 22%), 0 16px 42px rgb(0 10 24 / 42%), 0 0 28px rgb(240 235 161 / 22%);
  color: #00162d !important;
  fill: #00162d !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .025em;
  text-decoration: none;
  transform: translateZ(0);
  transition: box-shadow .25s ease, transform .25s ease;
}

.elementor .elementor-element .elementor-button.joyn-primary-cta::before {
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 72%), transparent);
  content: "";
  transform: translateX(-180%) skewX(-18deg);
  animation: joyn-cta-sheen 3.4s ease-in-out infinite;
}

.elementor .elementor-element .joyn-primary-cta .elementor-button-content-wrapper {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 11px;
}

.elementor .elementor-element .joyn-primary-cta .elementor-button-icon {
  font-size: 20px;
}

.elementor .elementor-element .elementor-button.joyn-primary-cta:hover,
.elementor .elementor-element .elementor-button.joyn-primary-cta:focus-visible {
  background: linear-gradient(120deg, #fffbdc 0%, #e6cb75 48%, #b78e3d 100%) !important;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 55%), 0 20px 48px rgb(0 10 24 / 48%), 0 0 38px rgb(240 235 161 / 34%);
  color: #00162d !important;
  transform: translateY(-3px);
}

/* El rótulo se convierte en un marcador editorial visible de la comunidad. */
.joyn-social-hub__header .joyn-social-hub__eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 18px;
  padding: 13px 19px 12px;
  border-left: 3px solid #c2a402;
  background: #011a33;
  box-shadow: 0 9px 24px rgb(1 26 51 / 17%);
  color: #f0eba1;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
}

.joyn-mobile-cta {
  display: none;
}

@keyframes joyn-cta-sheen {
  0%, 60% { transform: translateX(-180%) skewX(-18deg); }
  82%, 100% { transform: translateX(540%) skewX(-18deg); }
}

@keyframes joyn-mobile-cta-glow {
  0%, 100% { box-shadow: 0 14px 36px rgb(0 10 24 / 42%), 0 0 0 1px rgb(240 235 161 / 32%); }
  50% { box-shadow: 0 17px 42px rgb(0 10 24 / 52%), 0 0 24px rgb(240 235 161 / 30%); }
}

@media (max-width: 767px) {
  .elementor .elementor-element.joyn-hero {
    --min-height: clamp(590px, 82svh, 720px);
    --justify-content: center;
    --overlay-opacity: .84;
    --padding-top: 30px;
    --padding-bottom: 30px;
  }

  .elementor .elementor-element.joyn-hero .joyn-hero__content {
    width: calc(100% - 24px);
    max-width: 520px;
    margin-inline: auto;
    padding: 28px 18px 24px;
    border-top: 1px solid rgb(240 235 161 / 42%);
    border-bottom: 1px solid rgb(240 235 161 / 30%);
    background: linear-gradient(180deg, rgb(0 22 45 / 26%), rgb(0 22 45 / 58%));
    box-shadow: 0 22px 55px rgb(0 10 24 / 24%);
    backdrop-filter: blur(2px);
  }

  .elementor .elementor-element.joyn-hero h1.elementor-heading-title {
    max-width: 430px;
    margin-inline: auto;
    font-size: clamp(31px, 8.5vw, 39px) !important;
    font-weight: 700 !important;
    letter-spacing: -.04em;
    line-height: 1.08 !important;
  }

  .elementor .elementor-element.joyn-hero h3.elementor-heading-title {
    font-size: clamp(18px, 4.8vw, 21px) !important;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.3 !important;
  }

  .elementor .elementor-element.joyn-hero .elementor-widget-text-editor {
    width: 100% !important;
    max-width: 430px !important;
    padding-inline: 0;
    font-size: 16px !important;
    line-height: 1.58;
  }

  .elementor .elementor-element.joyn-hero .elementor-widget-text-editor p {
    margin-bottom: 0;
  }

  .elementor .elementor-element .elementor-button.joyn-primary-cta {
    width: min(100%, 330px);
    min-height: 62px;
    justify-content: center;
    padding: 17px 20px;
    font-size: 15px;
  }

  .joyn-social-hub__header .joyn-social-hub__eyebrow {
    margin-bottom: 17px;
    padding: 12px 15px 11px;
    font-size: 15px;
    letter-spacing: .13em;
  }

  .joyn-mobile-cta {
    position: fixed;
    z-index: 8990;
    right: 14px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: min(calc(100% - 28px), 440px);
    min-height: 60px;
    margin-inline: auto;
    padding: 14px 20px;
    border: 1px solid rgb(255 255 255 / 76%);
    border-radius: 3px;
    background: linear-gradient(120deg, #fbf6c8 0%, #d7b95f 52%, #9b7530 100%);
    color: #00162d !important;
    font: 800 14px/1.1 Montserrat, Arial, sans-serif;
    letter-spacing: .09em;
    text-decoration: none !important;
    text-transform: uppercase;
    animation: joyn-mobile-cta-glow 2.5s ease-in-out infinite;
  }

  .joyn-mobile-cta__arrow {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid rgb(1 22 45 / 42%);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
  }

  .joyn-mobile-cta:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elementor .elementor-element .elementor-button.joyn-primary-cta::before,
  .joyn-mobile-cta {
    animation: none;
  }
}

/* Carruseles estables sin depender de la altura calculada por Swiper. */
.elementor-image-carousel-wrapper.swiper {
  height: auto !important;
  overflow: hidden !important;
}

.elementor-image-carousel.swiper-wrapper {
  align-items: flex-start !important;
  height: auto !important;
}

.elementor-image-carousel .swiper-slide,
.elementor-image-carousel .swiper-slide > a,
.elementor-image-carousel .swiper-slide-inner {
  height: auto !important;
  min-height: 0 !important;
}

.elementor-image-carousel .swiper-slide-inner {
  display: block;
  margin: 0;
  overflow: hidden;
}

.elementor-image-carousel img.swiper-slide-image {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 767px) {
  [data-id="dc26257"] .elementor-image-carousel > .swiper-slide,
  [data-id="101a05c"] .elementor-image-carousel > .swiper-slide,
  [data-id="9f65de5"] .elementor-image-carousel > .swiper-slide,
  [data-id="0205b3a"] .elementor-image-carousel > .swiper-slide {
    flex: 0 0 calc((100vw - 39px) / 2) !important;
    width: calc((100vw - 39px) / 2) !important;
    max-width: none !important;
  }

  [data-id="ae4c287"] .elementor-image-carousel > .swiper-slide,
  [data-id="d5b4451"] .elementor-image-carousel > .swiper-slide {
    flex: 0 0 calc(100vw - 32px) !important;
    width: calc(100vw - 32px) !important;
    max-width: none !important;
  }
}
