.hero {
  min-height: auto;
  padding-bottom: 0;
  max-width: min(1400px, 100vw);
  overflow: visible;
  isolation: isolate;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  background:
    radial-gradient(1200px 780px at 72% 18%, rgba(75, 212, 255, .045), transparent 62%),
    radial-gradient(980px 680px at 47% 44%, rgba(52, 168, 83, .03), transparent 64%),
    linear-gradient(180deg, #08080a 0%, #050608 48%, #08080a 100%);
  overflow-wrap: break-word;
}

body * {
  min-width: 0;
}

.hero-left,
.hero-cta-group {
  position: relative;
  z-index: 8;
}

.hero-cta-group .btn-primary {
  background: linear-gradient(180deg, #62ddff 0%, #3cccf6 100%);
  color: #020507;
  border: 1px solid rgba(132, 231, 255, .82);
  box-shadow: 0 12px 34px rgba(75, 212, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .32);
  text-shadow: none;
}

.hero-cta-group .btn-primary:hover {
  opacity: 1;
  box-shadow: 0 16px 44px rgba(75, 212, 255, .30), inset 0 1px 0 rgba(255, 255, 255, .36);
}

.hero-cta-group .btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
  border-color: rgba(255, 255, 255, .24);
  color: #f4f7fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.hero-cta-group .btn-ghost:hover {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .34);
  color: #ffffff;
}

.hero-right {
  min-height: clamp(500px, 66vh, 690px);
}

.hero-img-wrap.tapfy-hero-3d {
  width: min(650px, 52vw);
  height: min(620px, 64vh);
  min-height: 480px;
  isolation: isolate;
  overflow: visible;
}

.hero-img-wrap.tapfy-hero-3d::before {
  content: "";
  display: block;
  position: absolute;
  inset: -16% -24% -28%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 42%, rgba(75, 212, 255, .18), transparent 34%),
    radial-gradient(circle at 56% 76%, rgba(52, 168, 83, .10), transparent 38%),
    linear-gradient(180deg, rgba(8, 8, 10, 0), rgba(8, 8, 10, .34));
  filter: blur(34px);
  opacity: .92;
}

.hero-img-wrap.tapfy-hero-3d::after {
  content: "";
  display: block;
  position: absolute;
  left: 13%;
  right: 8%;
  bottom: -10%;
  z-index: 0;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(75, 212, 255, .13), rgba(0, 0, 0, 0) 68%);
  filter: blur(24px);
  opacity: .78;
}

.tapfy-hero-card-canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 40px 90px rgba(0, 0, 0, .82));
}

.hero-img-wrap .tapfy-hero-3d-fallback {
  display: none;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .85));
}

.tapfy-hero-3d.is-fallback .tapfy-hero-card-canvas {
  display: none;
}

.hero-img-wrap.tapfy-hero-3d.is-fallback .tapfy-hero-3d-fallback {
  display: block;
}

.hero-stat.s1 {
  left: 6%;
  bottom: 25%;
}

.hero-stat.s2 {
  right: 5%;
  top: 22%;
}

.wa-float {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.88);
  pointer-events: none;
}

.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-float.is-visible:hover {
  transform: scale(1.08);
}

.tapfy-scroll-showcase {
  position: relative;
  z-index: 0;
  min-height: 430vh;
  overflow: visible;
  background:
    radial-gradient(circle at 70% 34%, rgba(75, 212, 255, .09), transparent 30%),
    radial-gradient(circle at 42% 78%, rgba(52, 168, 83, .05), transparent 28%),
    linear-gradient(180deg, #08080a 0%, #050608 42%, #08080a 100%);
  border-top: 0;
  border-bottom: 0;
}

.tapfy-scroll-showcase::before,
.tapfy-scroll-showcase::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
}

.tapfy-scroll-showcase::before {
  top: -220px;
  height: 360px;
  background:
    radial-gradient(ellipse at 62% 100%, rgba(75, 212, 255, .05), transparent 62%),
    linear-gradient(180deg, rgba(8, 8, 10, 0), #08080a 72%);
}

.tapfy-scroll-showcase::after {
  bottom: -210px;
  height: 420px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(75, 212, 255, .075), transparent 58%),
    linear-gradient(180deg, rgba(8, 8, 10, 0), #08080a 66%);
}

.ticker-wrap {
  position: relative;
  z-index: 6;
  border-top: 0;
}

#buscar {
  scroll-margin-top: 77px;
}

.search-hero {
  position: relative;
  z-index: 6;
}

.tapfy-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(52px, 7vh, 76px) 6%;
  display: block;
  overflow: visible;
  isolation: isolate;
}

.tapfy-scroll-copy {
  display: none;
}

.tapfy-scroll-copy h2 {
  margin: 1rem auto 1.1rem;
  max-width: 650px;
}

.tapfy-scroll-copy p {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted2);
  font-size: 1rem;
  line-height: 1.75;
}

.tapfy-scroll-points {
  display: none;
}

.tapfy-scroll-point {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-weight: 700;
  font-size: .92rem;
}

.tapfy-scroll-point span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(75, 212, 255, .1);
  color: var(--accent);
}

.tapfy-scroll-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  height: 100%;
  min-height: 0;
  isolation: isolate;
}

.tapfy-scroll-stage::before {
  content: "";
  position: absolute;
  inset: -10% -22% -22%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 35%, rgba(75, 212, 255, .22), transparent 30%),
    radial-gradient(circle at 52% 74%, rgba(52, 168, 83, .13), transparent 34%);
  filter: blur(54px);
  opacity: .9;
}

.tapfy-scroll-stage::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 12%;
  bottom: -12%;
  z-index: 0;
  height: 260px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(75, 212, 255, .14), transparent 68%);
  filter: blur(26px);
}

.tapfy-scroll-card-canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 46px 100px rgba(0, 0, 0, .86));
}

.tapfy-scroll-beat {
  position: absolute;
  z-index: 5;
  width: min(390px, calc(50vw - 70px));
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(12, 14, 16, .74), rgba(12, 14, 16, .38));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(20px) scale(.96);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}

.tapfy-scroll-beat.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tapfy-scroll-beat h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 2.1vw, 2.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.tapfy-scroll-beat p {
  margin: 14px 0 0;
  color: var(--muted2);
  font-size: .96rem;
  line-height: 1.55;
}

.tapfy-scroll-beat-left {
  left: clamp(24px, 7vw, 120px);
  text-align: left;
}

.tapfy-scroll-beat-right {
  right: clamp(24px, 7vw, 120px);
  text-align: right;
}

.tapfy-scroll-beat-a,
.tapfy-scroll-beat-b {
  top: 25vh;
}

.tapfy-scroll-beat-c,
.tapfy-scroll-beat-d {
  bottom: 13vh;
}

.tapfy-scroll-fallback {
  display: none;
  position: relative;
  z-index: 2;
  width: min(430px, 80%);
  margin: 0 auto;
  filter: drop-shadow(0 42px 90px rgba(0, 0, 0, .86));
}

.tapfy-scroll-stage.is-fallback .tapfy-scroll-card-canvas {
  display: none;
}

.tapfy-scroll-stage.is-fallback .tapfy-scroll-fallback {
  display: block;
}

@media (max-width: 1024px) {
  .hero-right {
    min-height: 470px;
  }

  .hero-img-wrap.tapfy-hero-3d {
    width: min(620px, 58vw);
    height: 520px;
    min-height: 450px;
  }

  .tapfy-scroll-sticky {
    padding-left: 4%;
    padding-right: 4%;
  }
}

@media (max-width: 768px) {
  .hero,
  .tapfy-scroll-showcase,
  .ticker-wrap,
  .search-hero,
  section,
  footer,
  nav {
    max-width: 100vw;
    overflow-x: clip;
  }

  .hero {
    min-height: 100svh;
    padding: 78px 5% 24px;
    align-content: start;
  }

  .hero h1,
  .hero-desc,
  .tapfy-scroll-copy h2,
  .tapfy-scroll-copy p,
  .sub,
  .search-hero p,
  .search-hero h2,
  .section-tag,
  .step p,
  .why-card p,
  .faq-a {
    max-width: calc(100vw - 40px);
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-right {
    min-height: 312px;
    margin-bottom: -8px;
  }

  .hero-img-wrap.tapfy-hero-3d {
    width: min(92vw, 360px);
    height: 312px;
    min-height: 300px;
    padding: 0;
  }

  .hero-img-wrap.tapfy-hero-3d::before {
    inset: 10% 0 2%;
    filter: blur(28px);
    opacity: .55;
  }

  .hero-img-wrap.tapfy-hero-3d::after {
    left: 10%;
    right: 10%;
    bottom: 8%;
    height: 84px;
    opacity: .35;
  }

  .hero-stat.s1 {
    left: 4%;
    bottom: 13%;
  }

  .hero-stat.s2 {
    right: 9%;
    top: 11%;
    padding: 8px 12px;
  }

  .hero-left {
    padding-top: 0;
    z-index: 20;
  }

  .hero-badge {
    margin-bottom: .85rem;
    font-size: .68rem;
    padding: 5px 12px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.8vw, 2.55rem);
    line-height: 1.02;
    margin-bottom: .8rem;
  }

  .hero-desc {
    font-size: .92rem;
    line-height: 1.5;
    margin-bottom: 1.05rem;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    width: calc(100vw - 40px);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
    isolation: isolate;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-ghost {
    width: 100%;
    justify-content: center;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
    white-space: nowrap;
  }

  .wa-float {
    width: 50px;
    height: 50px;
    right: 18px;
    bottom: 18px;
  }

  .tapfy-scroll-showcase {
    min-height: 235vh;
    overflow: visible;
  }

  .tapfy-scroll-sticky {
    height: 100vh;
    min-height: 100vh;
    padding: 20px 5% 24px;
    display: grid;
    grid-template-rows: minmax(340px, 50vh) auto;
    align-content: center;
    text-align: center;
    gap: 0;
  }

  .tapfy-scroll-copy {
    display: block;
    position: relative;
    grid-row: 2;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: min(350px, 100%);
    justify-self: center;
    align-self: start;
    pointer-events: auto;
  }

  .tapfy-scroll-copy h2,
  .tapfy-scroll-copy p {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .tapfy-scroll-copy h2 {
    font-size: clamp(2rem, 9.6vw, 3.05rem);
    line-height: 1.08;
  }

  .tapfy-scroll-copy p {
    font-size: .98rem;
    line-height: 1.62;
    margin-bottom: 0;
  }

  .tapfy-scroll-points,
  .tapfy-scroll-beat {
    display: none;
  }

  .tapfy-scroll-stage {
    position: relative;
    grid-row: 1;
    inset: auto;
    height: 100%;
    min-height: 340px;
    width: 100%;
    max-width: 360px;
    justify-self: center;
    margin-left: 0;
  }

  .tapfy-scroll-point {
    text-align: left;
  }

  .float-search-bar {
    top: 82px;
    width: calc(100vw - 32px);
    padding: 13px 14px;
  }

  .float-search-bar input {
    font-size: .9rem;
  }

  #floatResults {
    left: 0 !important;
    right: 0 !important;
  }
}
