/* Mobile and contact refinements maintained outside the generated landing bundle. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

#contact {
  scroll-margin-top: 90px;
}

/* Keep the hero underline clear of the following line of text. */
.hero h1 .hl > svg {
  bottom: -0.18em;
}

#contact .contact-actions a {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #071e0f;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  transform: translateY(-2px);
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

@media (max-width: 620px) {
  .container {
    padding-inline: 18px;
  }

  .section,
  .section-tight {
    padding-block: 48px;
  }

  .nav-inner {
    height: 64px;
  }

  .nav-links.open {
    top: 64px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .nav-actions > .btn {
    display: none;
  }

  .hero {
    padding: 42px 0 52px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero-grid > *,
  .hero-content,
  .hero-badge {
    min-width: 0;
  }

  .hero-visual {
    order: initial;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.15rem);
  }

  .hero .lead {
    margin: 18px 0 24px;
    font-size: 1.04rem;
    overflow-wrap: anywhere;
  }

  .hero-cta,
  .hero-cta .btn {
    width: 100%;
  }

  .hero-cta .btn {
    justify-content: center;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 28px;
  }

  .hero-badge {
    align-items: center;
    justify-content: flex-start;
    padding: 0 8px;
    text-align: center;
  }

  .hero-badge + .hero-badge {
    border-left: 1px solid var(--line);
  }

  .hero-badge:last-child {
    grid-column: auto;
  }

  .hero-badge b,
  .hero-badge span {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .hero-badge b {
    font-size: clamp(0.95rem, 4.2vw, 1.1rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  .hero-badge span {
    margin-top: 5px;
    font-size: clamp(0.62rem, 2.65vw, 0.74rem);
    line-height: 1.25;
  }

  .hero-photo {
    height: 310px;
    border-width: 4px;
  }

  .hero-chip {
    padding: 9px 11px;
    font-size: 0.85rem;
  }

  .hero-chip .ico {
    width: 32px;
    height: 32px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .card,
  .gap-col,
  .step,
  .price-card,
  .vm-card {
    padding: 22px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rewards-photo,
  .schools-photo {
    height: 300px;
  }

  .price-card .big {
    font-size: 2.75rem;
  }

  .cta-band {
    border-radius: 22px;
    padding: 42px 20px;
  }

  .cta-band .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 0.94rem;
  }

  .contact-actions,
  .contact-actions .btn {
    width: 100%;
  }

  .contact-actions .btn {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .footer {
    padding-top: 48px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    height: 260px;
  }
}
