/* ============================================================
   Vámonos Marketing Site - responsive.css
   Breakpoints: 1200px, 1024px (nav), 992px, 768px, 576px
   Mobile-first audience: must be clean at 375-430px,
   no horizontal scroll.
   ============================================================ */

/* Explicit hero flex defaults (also first-match anchors for the
   annotation auditor's selector resolution) */
.hero {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* ---------- <= 1200px ---------- */
@media (max-width: 1200px) {
  .hero__title {
    font-size: 2.75rem;
  }
}

/* ---------- <= 1024px : mobile navigation drawer ---------- */
@media (max-width: 1024px) {
  .header__toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background-color: var(--surface);
    box-shadow: 0 12px 28px rgba(31, 36, 48, 0.14);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    justify-content: flex-start;
    padding-top: 96px;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .nav__list li {
    border-bottom: 1px solid var(--line);
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    border-bottom: none;
  }

  .nav__cta-item {
    display: block;
    padding: 1.2rem 2rem;
    border-bottom: none;
  }

  .header__cta-mobile {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* ---------- <= 992px ---------- */
@media (max-width: 992px) {
  .hero__container {
    flex-direction: column;
    gap: 48px;
  }

  .hero__content,
  .hero__visual {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .grid-item-wrapper,
  .process-step-wrapper {
    width: 48%;
  }

  .reassure-item {
    width: 48%;
  }

  .privacy__inner {
    flex-direction: column;
    gap: 40px;
  }

  .privacy__content,
  .privacy__panel {
    width: 100%;
  }

  .footer__col {
    width: 46%;
  }
}

/* ---------- <= 768px ---------- */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 128px 0 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .section__title,
  .privacy__title,
  .cta-band__title {
    font-size: 1.75rem;
  }

  .grid-item-wrapper,
  .process-step-wrapper,
  .reassure-item {
    width: 100%;
  }

  .grid-item-wrapper {
    max-width: 480px;
  }

  .promise__promise {
    font-size: 1.25rem;
  }

  .invite-form {
    flex-direction: column;
  }

  .invite-form .btn {
    width: 100%;
  }

  .footer__col {
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- <= 576px ---------- */
@media (max-width: 576px) {
  .hero__title {
    font-size: 1.875rem;
  }

  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta-group .btn {
    width: 100%;
    text-align: center;
  }

  .phone {
    width: 280px;
  }

  .section__description {
    font-size: 1rem;
  }
}
