/* Ajuste automático entre celular, tablet y escritorio */

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.hero-video,
.hero-media img {
  max-width: none;
}

p,
li,
dd,
label {
  overflow-wrap: break-word;
}

.hero h1 {
  font-size: clamp(2rem, 1.15rem + 3.4vw, 3.4rem);
}

.section-header h2,
.section-head h2,
.panel h2,
.how h2,
.activate h2,
.profile-body h1 {
  font-size: clamp(1.65rem, 1rem + 2.2vw, 2.5rem);
}

.lead,
.hero-lead {
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.125rem);
}

.container,
.site-header-inner,
.header .container {
  width: min(1180px, calc(100% - clamp(20px, 4vw, 40px)));
}

.logo,
.site-logo {
  min-width: 0;
}

.header-actions,
.site-header-actions {
  flex: none;
}

.btn,
.site-buy,
.hero-actions .btn {
  max-width: 100%;
  white-space: normal;
}

input,
textarea,
select {
  max-width: 100%;
}

.section,
.panel,
.how,
.card,
.product-card,
.faq-item {
  min-width: 0;
}

@media (max-width: 1040px) {
  .hero-media {
    left: 0;
    width: 100%;
  }

  .section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
  }

  .about-image-accent {
    right: 0;
    top: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 0;
  }

  .hero-actions,
  .form-actions,
  .found-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .cta-box .btn,
  .btn-block {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero .container {
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
  }

  .hero-image-badge {
    left: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .footer-grid,
  .footer-grid--hub {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-video-wrap,
  .hero-image-wrap,
  .about-image-wrap {
    max-width: 100%;
  }

  .steps {
    padding-inline: 2px;
  }
}

@media (max-width: 420px) {
  .logo,
  .site-logo {
    font-size: 13px;
    gap: 6px;
    letter-spacing: -0.04em;
  }

  .logo-mark,
  .site-logo-mark {
    width: 28px;
    height: 28px;
  }

  .site-buy,
  .comprar {
    padding-inline: 10px;
    font-size: 12.5px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
  }

  .panel,
  .card,
  .how,
  .cta-box {
    padding: 1.1rem;
  }
}
