.apm-app-promo {
  --apm-green: #063d28;
  --apm-green-2: #0b5537;
  --apm-mint: #72d8a0;
  --apm-gold: #c9a23f;
  --apm-ink: #0a3827;
  --apm-muted: #6d7772;
  --apm-line: #e5eae7;
  width: 100%;
  margin: 30px auto;
  overflow: hidden;
  border: 1px solid var(--apm-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(3, 45, 29, 0.1);
  color: var(--apm-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.apm-app-promo *,
.apm-app-promo *::before,
.apm-app-promo *::after {
  box-sizing: border-box;
}

/* Limpia los envoltorios de WPBakery del UX Block. */
.apm-app-promo .vc_row,
.apm-app-promo .wpb_content_element {
  margin: 0;
}

.apm-app-promo__main > .wpb_column,
.apm-app-promo__stats > .wpb_column {
  width: auto;
}

.apm-app-promo__main::before,
.apm-app-promo__main::after,
.apm-app-promo__stats::before,
.apm-app-promo__stats::after {
  display: none !important;
  content: none !important;
}

.apm-app-promo > .wpb_column,
.apm-app-promo > .wpb_column > .vc_column-inner,
.apm-app-promo > .wpb_column > .vc_column-inner > .wpb_wrapper {
  padding: 0;
}

.apm-app-promo__copy.wpb_column {
  padding: 0;
}

.apm-app-promo__copy.wpb_column > .vc_column-inner {
  min-height: 100%;
  padding: clamp(42px, 5vw, 78px);
}

.apm-app-promo__copy.wpb_column > .vc_column-inner > .wpb_wrapper {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
}

.apm-app-promo__visual.wpb_column > .vc_column-inner,
.apm-app-promo__visual.wpb_column > .vc_column-inner > .wpb_wrapper,
.apm-app-promo__visual .wpb_text_column,
.apm-app-promo__visual .wpb_wrapper,
.apm-app-promo__visual-frame {
  height: 100%;
  min-height: inherit;
}

.apm-app-promo__visual.wpb_column > .vc_column-inner {
  padding: 0;
}

.apm-app-promo__visual-frame {
  position: relative;
}

.apm-app-promo__main {
  display: grid !important;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  min-height: 590px;
}

.apm-app-promo__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 5vw, 78px);
  background: #fff;
}

.apm-app-promo__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 28px;
  color: #14754e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.2;
}

.apm-app-promo__eyebrow span {
  display: block;
  width: 42px;
  height: 2px;
  background: var(--apm-gold);
}

.apm-app-promo h2 {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--apm-ink);
  font-size: clamp(42px, 4.45vw, 78px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.apm-app-promo__lead {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--apm-muted);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 400;
  line-height: 1.55;
}

.apm-app-promo__benefits {
  display: grid;
  gap: 13px;
  margin: 0 0 31px;
  padding: 0;
  list-style: none;
}

.apm-app-promo__benefits li {
  position: relative;
  margin: 0;
  padding-left: 34px;
  color: #23513f;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.apm-app-promo__benefits li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #168355;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.apm-app-promo__store {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 210px;
  padding: 10px 19px 11px;
  border: 1px solid #000;
  border-radius: 9px;
  background: #050505;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.apm-app-promo__store:hover,
.apm-app-promo__store:focus-visible {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.apm-app-promo__store:focus-visible {
  outline: 3px solid var(--apm-mint);
  outline-offset: 3px;
}

.apm-app-promo__store svg {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
}

.apm-app-promo__store span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.apm-app-promo__store small {
  margin-bottom: 4px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.apm-app-promo__store strong {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

.apm-app-promo__access {
  max-width: 540px;
  margin: 17px 0 0;
  color: #74807a;
  font-size: 13px;
  line-height: 1.45;
}

.apm-app-promo__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 89% 0%, rgba(196, 163, 77, 0.22) 0 17%, transparent 17.2%),
    linear-gradient(145deg, #084d33 0%, #063521 100%);
}

.apm-app-promo__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(182, 158, 73, 0.23);
}

.apm-app-promo__orb--one {
  right: -110px;
  top: -120px;
  width: 330px;
  height: 330px;
}

.apm-app-promo__orb--two {
  bottom: -145px;
  left: -100px;
  width: 320px;
  height: 320px;
}

.apm-app-promo__phone {
  position: absolute;
  top: 50%;
  width: clamp(175px, 14vw, 248px);
  aspect-ratio: 0.493;
  overflow: hidden;
  border: clamp(8px, 0.8vw, 13px) solid #080b0a;
  border-radius: clamp(28px, 2.7vw, 45px);
  background: #080b0a;
  box-shadow: 0 32px 55px rgba(0, 0, 0, 0.42);
  transform-origin: center center;
}

.apm-app-promo__phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.apm-app-promo__phone--left {
  z-index: 1;
  left: 12%;
  transform: translateY(-45%) rotate(-7deg);
}

.apm-app-promo__phone--center {
  z-index: 3;
  left: 50%;
  width: clamp(200px, 16vw, 276px);
  transform: translate(-50%, -50%);
}

.apm-app-promo__phone--right {
  z-index: 2;
  right: 10%;
  transform: translateY(-44%) rotate(7deg);
}

.apm-app-promo__real {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 4;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apm-app-promo__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--apm-line);
  background: #fff;
}

.apm-app-promo__stats > div {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.apm-app-promo__stats .wpb_column > .vc_column-inner,
.apm-app-promo__stats .wpb_column > .vc_column-inner > .wpb_wrapper,
.apm-app-promo__stats .wpb_text_column,
.apm-app-promo__stats .wpb_text_column > .wpb_wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

.apm-app-promo__stats .wpb_text_column > .wpb_wrapper {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.apm-app-promo__stats > div + div {
  border-left: 1px solid var(--apm-line);
}

.apm-app-promo__stats strong {
  color: #174833;
  font-size: 17px;
  line-height: 1.25;
}

.apm-app-promo__stats span {
  margin-top: 7px;
  color: #8a928e;
  font-size: 13px;
  line-height: 1.3;
}

@media (max-width: 980px) {
  .apm-app-promo__main {
    grid-template-columns: 1fr;
  }

  .apm-app-promo__copy {
    padding: 52px clamp(28px, 7vw, 66px);
  }

  .apm-app-promo h2 {
    max-width: 760px;
    font-size: clamp(42px, 9vw, 68px);
  }

  .apm-app-promo__visual {
    min-height: 590px;
  }

  .apm-app-promo__phone {
    width: clamp(170px, 28vw, 235px);
  }

  .apm-app-promo__phone--center {
    width: clamp(195px, 32vw, 265px);
  }
}

@media (max-width: 680px) {
  .apm-app-promo {
    margin: 22px auto;
    border-radius: 20px;
  }

  .apm-app-promo__copy {
    padding: 38px 24px 42px;
  }

  .apm-app-promo__eyebrow {
    margin-bottom: 20px;
  }

  .apm-app-promo h2 {
    margin-bottom: 20px;
    font-size: clamp(40px, 13vw, 56px);
  }

  .apm-app-promo__lead {
    font-size: 17px;
  }

  .apm-app-promo__benefits li {
    font-size: 15px;
  }

  .apm-app-promo__visual {
    min-height: 430px;
  }

  .apm-app-promo__phone {
    top: 49%;
    width: 142px;
    border-width: 7px;
    border-radius: 25px;
  }

  .apm-app-promo__phone--left {
    left: 2%;
  }

  .apm-app-promo__phone--center {
    width: 164px;
  }

  .apm-app-promo__phone--right {
    right: 1%;
  }

  .apm-app-promo__real {
    right: 16px;
    bottom: 12px;
    font-size: 9px;
  }

  .apm-app-promo__stats {
    grid-template-columns: 1fr;
  }

  .apm-app-promo__stats > div {
    min-height: 88px;
  }

  .apm-app-promo__stats > div + div {
    border-top: 1px solid var(--apm-line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apm-app-promo__store {
    transition: none;
  }
}

/* Banner emergente reutilizando el mismo diseño. */
.apm-app-promo-popup[hidden] {
  display: none !important;
}

.apm-app-promo-popup {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
}

.apm-app-promo-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 24, 16, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.apm-app-promo-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 94vw);
  max-height: calc(100vh - 24px);
  overflow: auto;
  border-radius: 24px;
  outline: none;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
  animation: apm-promo-in 320ms ease-out both;
}

.apm-app-promo-popup__close {
  position: absolute;
  z-index: 20;
  top: 10px;
  right: 10px;
  display: grid !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  aspect-ratio: 1 / 1;
  place-items: center;
  padding: 0 !important;
  margin: 0 !important;
  border: 2px solid #063d28 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #063d28;
  cursor: pointer;
  font: 400 27px/36px "Helvetica Neue", Arial, sans-serif !important;
  text-align: center;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.24);
}

.apm-app-promo-popup__close:hover,
.apm-app-promo-popup__close:focus-visible {
  background: #063d28 !important;
  color: #fff !important;
}

.apm-app-promo-popup__close:focus-visible {
  outline: 3px solid #72d8a0;
  outline-offset: 2px;
}

body.apm-app-promo-popup-open {
  overflow: hidden;
}

.apm-app-promo--popup,
.apm-app-promo-popup .apm-app-promo {
  margin: 0;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
}

.apm-app-promo--popup .apm-app-promo__main,
.apm-app-promo-popup .apm-app-promo__main {
  min-height: min(450px, calc(100vh - 24px));
}

.apm-app-promo--popup .apm-app-promo__copy,
.apm-app-promo-popup .apm-app-promo__copy {
  padding: clamp(25px, 2.8vw, 38px);
}

.apm-app-promo-popup .apm-app-promo__copy.wpb_column > .vc_column-inner {
  padding: clamp(25px, 2.8vw, 38px);
}

.apm-app-promo--popup h2,
.apm-app-promo-popup .apm-app-promo h2 {
  margin-bottom: 17px;
  font-size: clamp(32px, 3.5vw, 47px);
}

.apm-app-promo--popup .apm-app-promo__eyebrow,
.apm-app-promo-popup .apm-app-promo__eyebrow {
  margin-bottom: 14px;
}

.apm-app-promo--popup .apm-app-promo__lead,
.apm-app-promo-popup .apm-app-promo__lead {
  margin-bottom: 16px;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.42;
}

.apm-app-promo--popup .apm-app-promo__benefits,
.apm-app-promo-popup .apm-app-promo__benefits {
  gap: 7px;
  margin-bottom: 17px;
}

.apm-app-promo--popup .apm-app-promo__benefits li,
.apm-app-promo-popup .apm-app-promo__benefits li {
  padding-left: 29px;
  font-size: 14px;
}

.apm-app-promo-popup .apm-app-promo__benefits li::before {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.apm-app-promo--popup .apm-app-promo__store,
.apm-app-promo-popup .apm-app-promo__store {
  min-width: 174px;
  padding: 8px 15px 9px;
}

.apm-app-promo-popup .apm-app-promo__store svg {
  width: 27px;
  height: 27px;
}

.apm-app-promo--popup .apm-app-promo__store strong,
.apm-app-promo-popup .apm-app-promo__store strong {
  font-size: 18px;
}

.apm-app-promo-popup .apm-app-promo__access {
  margin-top: 11px;
  font-size: 12px;
}

.apm-app-promo-popup .apm-app-promo__phone {
  width: clamp(145px, 13vw, 195px);
}

.apm-app-promo-popup .apm-app-promo__phone--center {
  width: clamp(168px, 15vw, 220px);
}

.apm-app-promo-popup .apm-app-promo__stats {
  display: none;
}

@keyframes apm-promo-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .apm-app-promo-popup {
    padding: 10px;
  }

  .apm-app-promo-popup__dialog {
    width: min(860px, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
  }

  .apm-app-promo--popup .apm-app-promo__main,
  .apm-app-promo-popup .apm-app-promo__main {
    grid-template-columns: minmax(0, 47%) minmax(0, 53%) !important;
    min-height: 420px;
  }

  .apm-app-promo--popup .apm-app-promo__visual,
  .apm-app-promo-popup .apm-app-promo__visual {
    min-height: 420px;
  }

  .apm-app-promo-popup .apm-app-promo__phone {
    width: clamp(125px, 20vw, 175px);
  }

  .apm-app-promo-popup .apm-app-promo__phone--center {
    width: clamp(145px, 23vw, 198px);
  }
}

@media (max-width: 680px) {
  .apm-app-promo-popup {
    padding: 8px;
  }

  .apm-app-promo-popup__dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 16px;
  }

  .apm-app-promo-popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    font-size: 24px !important;
    line-height: 32px !important;
  }

  .apm-app-promo--popup,
  .apm-app-promo-popup .apm-app-promo {
    border-radius: 16px;
  }

  .apm-app-promo--popup .apm-app-promo__main,
  .apm-app-promo-popup .apm-app-promo__main {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .apm-app-promo--popup .apm-app-promo__copy,
  .apm-app-promo-popup .apm-app-promo__copy,
  .apm-app-promo-popup .apm-app-promo__copy.wpb_column > .vc_column-inner {
    padding: 36px 20px 20px;
  }

  .apm-app-promo-popup .apm-app-promo__eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .apm-app-promo-popup .apm-app-promo h2 {
    margin-bottom: 12px;
    font-size: clamp(29px, 9.5vw, 38px);
  }

  .apm-app-promo-popup .apm-app-promo__lead {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.38;
  }

  .apm-app-promo-popup .apm-app-promo__benefits {
    gap: 5px;
    margin-bottom: 13px;
  }

  .apm-app-promo-popup .apm-app-promo__benefits li {
    padding-left: 25px;
    font-size: 12px;
  }

  .apm-app-promo-popup .apm-app-promo__benefits li::before {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .apm-app-promo-popup .apm-app-promo__store {
    min-width: 158px;
    padding: 7px 12px 8px;
  }

  .apm-app-promo-popup .apm-app-promo__store svg {
    width: 24px;
    height: 24px;
  }

  .apm-app-promo-popup .apm-app-promo__store strong {
    font-size: 16px;
  }

  .apm-app-promo-popup .apm-app-promo__store small {
    font-size: 9px;
  }

  .apm-app-promo-popup .apm-app-promo__access {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.3;
  }

  .apm-app-promo--popup .apm-app-promo__visual,
  .apm-app-promo-popup .apm-app-promo__visual {
    min-height: 220px;
  }

  .apm-app-promo-popup .apm-app-promo__phone {
    width: 86px;
    border-width: 5px;
    border-radius: 17px;
  }

  .apm-app-promo-popup .apm-app-promo__phone--center {
    width: 101px;
  }

  .apm-app-promo-popup .apm-app-promo__real {
    right: 9px;
    bottom: 7px;
    font-size: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apm-app-promo-popup__dialog {
    animation: none;
  }
}
