/* Version 32: mobile spacing and typographic refinement for the Nosotros page. */

@media (max-width: 620px) {
  /* Hero: bring the first action closer to the header and use the dark panel efficiently. */
  .percival-inner-page .about-page-hero,
  .percival-inner-page .about-page-hero__inner {
    min-height: 382px !important;
  }

  .percival-inner-page .about-page-hero__inner {
    justify-content: flex-start !important;
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }

  .percival-inner-page .about-page-hero .detail-breadcrumb {
    min-height: 34px;
    margin: 0 0 18px !important;
    padding: 7px 11px;
  }

  .percival-inner-page .about-page-hero .detail-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  .percival-inner-page .about-page-hero h1 {
    max-width: 345px;
    margin: 0;
    font-size: clamp(36px, 9.7vw, 40px) !important;
    line-height: 1.01 !important;
    letter-spacing: -.012em;
    text-wrap: balance;
  }

  .percival-inner-page .about-page-hero__inner > p:last-child {
    max-width: 350px;
    margin: 14px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.46 !important;
  }

  /* White identity block: tighter hierarchy and less unused vertical space. */
  .percival-inner-page .identity-intro {
    padding: 34px 0 38px !important;
  }

  .percival-inner-page .identity-intro__grid {
    gap: 14px !important;
  }

  .percival-inner-page .identity-intro .detail-eyebrow {
    margin: 0 0 7px;
    font-size: 12px;
    line-height: 1.35;
  }

  .percival-inner-page .identity-intro h2 {
    max-width: 355px;
    font-size: clamp(32px, 8.4vw, 36px) !important;
    line-height: 1.03 !important;
    letter-spacing: -.012em;
    text-wrap: balance;
  }

  .percival-inner-page .identity-intro__grid > div:last-child {
    padding-top: 0 !important;
  }

  .percival-inner-page .identity-intro__grid > div:last-child p {
    margin: 0 0 12px !important;
    font-size: 14px !important;
    line-height: 1.52 !important;
  }

  .percival-inner-page .identity-intro__grid > div:last-child p:last-child {
    margin-bottom: 0 !important;
  }

  /* Keep the following institutional blocks visually connected to the new rhythm. */
  .percival-inner-page .purpose-band article {
    padding-top: 32px !important;
    padding-bottom: 34px !important;
  }

  .percival-inner-page .purpose-band article > span {
    margin-bottom: 16px !important;
  }

  .percival-inner-page .purpose-band h2 {
    font-size: 30px !important;
    line-height: 1.06 !important;
  }

  .percival-inner-page .values-section {
    padding-top: 40px !important;
  }
}

@media (max-width: 380px) {
  .percival-inner-page .about-page-hero,
  .percival-inner-page .about-page-hero__inner {
    min-height: 368px !important;
  }

  .percival-inner-page .about-page-hero h1 {
    font-size: 35px !important;
  }

  .percival-inner-page .identity-intro h2 {
    font-size: 31px !important;
  }
}
