/* ==========================================================================
   Ajustes responsive (de menor a mayor ancho) e impresión
   ========================================================================== */

/* ---------- ≥ 600px ---------- */
@media (min-width: 37.5em) {
  :root {
    --gutter: 2rem;
  }

  .bento,
  .values,
  .form__row,
  .scope {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--feature,
  .value--wide {
    grid-column: 1 / -1;
  }

  .photo-frame--wide {
    aspect-ratio: 21 / 9;
  }

  .scope-hero__text {
    max-width: 38rem;
    padding: 2.5rem;
  }

  .contact__inner,
  .form {
    padding: 2.75rem;
  }

  .wa-float {
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 0.8rem 1.2rem;
  }

  .wa-float__label {
    display: inline;
  }

  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .partner {
    grid-template-columns: minmax(14rem, 0.7fr) 2fr;
    align-items: start;
  }

  .partner__body {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }

  .site-footer__bottom {
    grid-template-columns: auto 1fr;
    gap: 2rem;
  }

  .site-footer__legal {
    text-align: right;
  }
}

/* ---------- ≥ 900px ---------- */
@media (min-width: 56.25em) {
  .hero {
    padding-top: calc(var(--header-h) + 4.5rem);
  }

  .hero__layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4.5rem;
    padding-bottom: 5rem;
  }

  .hero__visual {
    width: 100%;
    margin-inline: 0;
    justify-self: end;
  }

  .hud {
    left: -3rem;
  }

  .chip--b {
    left: -2.5rem;
  }

  .process,
  .faq-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
  }

  .process__head,
  .faq-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    margin-bottom: 0;
  }

  .contact {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .contact__inner,
  .form {
    padding: 3.5rem;
  }
}

/* ---------- ≥ 1024px: navegación horizontal ---------- */
@media (min-width: 64em) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    animation: none;
  }

  .site-nav__list {
    display: flex;
    gap: 1.75rem;
  }

  .site-nav__link {
    position: relative;
    padding: 0.35rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    border: 0;
    opacity: 0.78;
    transition: opacity var(--dur) var(--ease);
  }

  .site-nav__link::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--grad);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--dur) var(--ease);
  }

  .site-nav__link:hover,
  .site-nav__link.is-active {
    opacity: 1;
  }

  .site-nav__link:hover::after,
  .site-nav__link.is-active::after {
    transform: scaleX(1);
  }

  .site-nav__cta {
    align-self: auto;
  }

  body.nav-open {
    overflow: visible;
  }

  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .card--feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  .card--feature .card__media {
    flex: 1;
    min-height: 16rem;
    aspect-ratio: auto;
  }


  .card--feature .card__body {
    flex: 0 0 auto;
    padding: 2rem;
  }

  .card--feature .card__title {
    font-size: 1.75rem;
  }

  .card--dark {
    grid-column: span 2;
  }

  .values {
    grid-template-columns: repeat(4, 1fr);
  }

  .value--wide {
    grid-column: span 2;
  }
}

/* ---------- Pantallas muy angostas ---------- */
@media (max-width: 22.5em) {
  .hero__actions .btn {
    width: 100%;
  }

  .chip {
    display: none;
  }
}

/* ---------- Impresión ---------- */
@media print {
  .site-header,
  .scroll-progress,
  .hero__actions,
  .hero__visual,
  .ticker,
  .form,
  .wa-float,
  .site-footer__cta,
  .section__bg,
  .contact__bg {
    display: none !important;
  }

  .hero,
  .section--dark,
  .contact__aside,
  .site-footer {
    color: #000;
    background: none;
  }

  .hero__title,
  .section-head__title,
  .value__title,
  .contact__title,
  .gradient-text {
    color: #000;
    -webkit-text-fill-color: #000;
  }
}
