/* Ajustes específicos derivados de la auditoría visual móvil de producción. */

@media (max-width: 640px) {
  /* Transparencia: reducir scroll innecesario sin alterar escritorio. */
  .transparency-page .transparency-intro.section-space,
  .transparency-page .transparency-principles.section-space,
  .transparency-page .transparency-use.section-space,
  .transparency-page .transparency-campaigns.section-space,
  .transparency-page .transparency-docs.section-space,
  .transparency-page .transparency-collaboration.section-space,
  .transparency-page .transparency-faq.section-space,
  .transparency-page .transparency-closing.section-space {
    padding: 48px 0;
  }

  .transparency-page .transparency-two-column,
  .transparency-page .transparency-docs-grid,
  .transparency-page .transparency-faq-grid {
    gap: 28px;
  }

  .transparency-page .section-heading {
    margin-bottom: 30px;
  }

  .transparency-page .section-heading h2 {
    font-size: clamp(2.15rem, 9.2vw, 2.55rem);
    line-height: 1;
  }

  .transparency-page .transparency-two-column h2,
  .transparency-page .transparency-docs h2,
  .transparency-page .transparency-faq h2,
  .transparency-page .transparency-closing h2 {
    font-size: clamp(2.2rem, 9.5vw, 2.65rem);
    line-height: 1;
  }

  .transparency-page .transparency-two-column > div:last-child,
  .transparency-page .transparency-docs-grid > div:first-child > p:not(.eyebrow),
  .transparency-page .transparency-closing p:not(.eyebrow) {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  /* La sección oscura heredaba color blanco en el h3 de una tarjeta clara. */
  .transparency-page .transparency-campaigns .archive-grid article {
    grid-template-rows: 210px auto;
    color: #0b3d32;
  }

  .transparency-page .transparency-campaigns .archive-grid article > div {
    padding: 24px;
  }

  .transparency-page .transparency-campaigns .archive-grid h3 {
    margin: 0 0 12px;
    color: #0b3d32;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    line-height: 1.05;
  }

  .transparency-page .transparency-docs-grid {
    align-items: start;
  }

  .transparency-page .transparency-empty-docs {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .transparency-page .transparency-empty-docs strong {
    margin: 1rem 0 .55rem;
    font-size: 1.5rem;
  }

  .transparency-page .transparency-link-grid {
    gap: 14px;
    margin-top: 26px;
  }

  .transparency-page .transparency-link-grid a {
    min-height: 0;
    padding: 1.2rem;
    border-radius: 20px;
  }

  .transparency-page .transparency-link-grid strong {
    font-size: 1.55rem;
  }

  .transparency-page .transparency-faq-grid {
    gap: 28px;
  }

  .transparency-page .transparency-faq-list {
    gap: 12px;
  }

  .transparency-page .transparency-faq details {
    padding: .9rem 1rem;
    border-radius: 16px;
  }

  .transparency-page .transparency-faq summary {
    font-size: 1rem;
    line-height: 1.4;
  }

  .transparency-page .transparency-closing > .shell {
    gap: 24px;
  }

  .transparency-page .transparency-closing .button {
    width: 100%;
  }

  /* Blog: el diseño base reservaba demasiado alto para el hero y las tarjetas. */
  .content-index-hero {
    padding: 40px 0 32px;
  }

  .content-index-hero h1 {
    font-size: clamp(2.05rem, 8.5vw, 2.4rem);
    line-height: 1.02;
    margin: .35rem 0 .8rem;
  }

  .content-index-hero p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .content-index {
    padding: 28px 0 44px;
    gap: 18px;
  }

  .content-card > div {
    padding: 1.1rem;
  }

  .content-card h2 {
    font-size: 1.35rem;
    line-height: 1.18;
    margin: .3rem 0 .55rem;
  }

  .content-card p {
    line-height: 1.55;
  }

  .content-readmore {
    margin-top: .6rem;
  }

  /* Footer: conserva toda la información pero evita cuatro bloques apilados. */
  .site-footer .footer-cta {
    gap: 18px;
    padding-block: 34px 28px;
  }

  .site-footer .footer-cta h2 {
    font-size: clamp(2rem, 8.4vw, 2.35rem);
    line-height: 1;
  }

  .site-footer .footer-cta .button-row {
    gap: 10px;
  }

  .site-footer .footer-cta .button {
    min-height: 46px;
    padding-block: 11px;
  }

  .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    padding-block: 30px;
  }

  .site-footer .footer-brand,
  .site-footer .footer-contact {
    grid-column: 1 / -1;
  }

  .site-footer .footer-brand img {
    width: 120px;
  }

  .site-footer .footer-brand h3 {
    margin: 10px 0 6px;
    font-size: 1.5rem;
  }

  .site-footer .footer-brand p {
    margin-bottom: 10px;
    font-size: .9rem;
    line-height: 1.45;
  }

  .site-footer .footer-bottom {
    gap: 8px;
    padding-block: 14px;
    font-size: .72rem;
  }

  /* Los controles siguen accesibles, pero no cubren una franja tan grande. */
  body .winston-chat-root {
    right: 58px;
    bottom: 10px;
  }

  .winston-chat-launcher {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .winston-chat-launcher img {
    width: 38px;
    height: 38px;
  }

  body .floating-actions {
    right: 10px;
    bottom: 10px;
  }

  .floating-actions a {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  /* Apadrina: compacta el recorrido móvil y deja el formulario libre de solapes. */
  body:has([data-sponsorship-hub]) .page-hero {
    min-height: 600px;
  }

  body:has([data-sponsorship-hub]) .page-hero-content {
    padding: 58px 0 48px;
  }

  body:has([data-sponsorship-hub]) .page-hero-content h1 {
    max-width: 9ch;
    margin: .35rem 0 1rem;
    font-size: clamp(2.8rem, 12vw, 3.35rem);
    line-height: .96;
  }

  body:has([data-sponsorship-hub]) .page-hero-content > p:not(.eyebrow) {
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  body:has([data-sponsorship-hub]) .page-hero-content .button-row {
    gap: 9px;
    margin-top: 20px;
  }

  body:has([data-sponsorship-hub]) .page-hero-content .button {
    min-height: 46px;
    padding: 11px 16px;
  }

  body:has([data-sponsorship-hub]) .winston-guide-section {
    padding: 34px 0;
  }

  body:has([data-sponsorship-hub]) .winston-guide {
    gap: 16px;
    padding: 22px 18px;
    border-radius: 24px;
  }

  body:has([data-sponsorship-hub]) .winston-guide-media {
    min-height: 0;
  }

  body:has([data-sponsorship-hub]) .winston-guide-image {
    width: min(38vw, 132px);
    height: auto;
  }

  body:has([data-sponsorship-hub]) .winston-guide-copy h2 {
    margin: .15rem 0 .7rem;
    font-size: clamp(2.05rem, 9.2vw, 2.4rem);
    line-height: .98;
  }

  body:has([data-sponsorship-hub]) .winston-guide-copy > p:not(.eyebrow) {
    margin-bottom: .9rem;
    font-size: .96rem;
    line-height: 1.5;
  }

  body:has([data-sponsorship-hub]) .winston-guide-copy .button-row {
    gap: 9px;
    margin-top: 16px;
  }

  body:has([data-sponsorship-hub]) .winston-guide-copy .button {
    min-height: 44px;
    padding: 10px 14px;
  }

  body:has([data-sponsorship-hub]) .sponsor-story.section-space,
  body:has([data-sponsorship-hub]) .sponsorship-checkout-section.section-space,
  body:has([data-sponsorship-hub]) .steps-section.section-space {
    padding: 48px 0;
  }

  body:has([data-sponsorship-hub]) .sponsorship-checkout-section.section-space {
    padding-bottom: 28px;
  }

  body:has([data-sponsorship-hub]) .steps-section.section-space {
    padding-top: 28px;
  }

  body:has([data-sponsorship-hub]) .section-heading {
    margin-bottom: 24px;
  }

  body:has([data-sponsorship-hub]) .section-heading h2 {
    font-size: clamp(2.3rem, 10vw, 2.75rem);
    line-height: .99;
  }

  body:has([data-sponsorship-hub]) .sponsor-story-grid {
    gap: 24px;
  }

  body:has([data-sponsorship-hub]) .sponsor-story p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.6;
  }

  body:has([data-sponsorship-hub]) .story-quote {
    min-height: 0;
    padding: 28px 24px;
    border-radius: 0 58px 0 0;
  }

  body:has([data-sponsorship-hub]) .story-quote blockquote {
    margin: 24px 0;
    font-size: 1.7rem;
    line-height: 1.08;
  }

  body:has([data-sponsorship-hub]) .story-quote figcaption {
    font-size: .72rem;
  }

  body:has([data-sponsorship-hub]) .sponsorship-checkout-grid {
    gap: 18px;
  }

  body:has([data-sponsorship-hub]) .sponsorship-checkout-form,
  body:has([data-sponsorship-hub]) .sponsorship-checkout-help,
  body:has([data-sponsorship-hub]) .sponsorship-system-note {
    padding: 22px 18px;
  }

  body:has([data-sponsorship-hub]) .sponsorship-checkout-form {
    gap: 14px;
  }

  body:has([data-sponsorship-hub]) .sponsorship-checkout-form label {
    gap: 5px;
  }

  body:has([data-sponsorship-hub]) .sponsorship-checkout-form input,
  body:has([data-sponsorship-hub]) .sponsorship-checkout-form select {
    min-height: 44px;
  }

  body:has([data-sponsorship-hub]) .sponsorship-method-grid {
    gap: 8px;
  }

  body:has([data-sponsorship-hub]) .sponsorship-method {
    min-height: 44px;
    padding: 10px 12px;
  }

  body:has([data-sponsorship-hub]) .sponsorship-method small {
    font-size: .78rem;
    line-height: 1.3;
  }

  body:has([data-sponsorship-hub]) .sponsorship-method-help {
    font-size: .84rem;
    line-height: 1.45;
  }

  body:has([data-sponsorship-hub]) .sponsorship-checkout-help {
    min-height: 0;
  }

  body:has([data-sponsorship-hub]) .sponsorship-system-note {
    margin-bottom: 22px;
  }

  body:has([data-sponsorship-hub]) .steps-grid {
    gap: 12px;
  }

  body:has([data-sponsorship-hub]) .steps-grid article {
    min-height: 0;
    padding: 22px;
  }

  body:has([data-sponsorship-hub]) .steps-grid h3 {
    margin: 24px 0 8px;
    font-size: 1.5rem;
  }

  body:has([data-sponsorship-hub]) .steps-grid p {
    line-height: 1.5;
  }

  body:has([data-sponsorship-hub]) .section-action {
    gap: 9px;
    margin-top: 22px;
  }

  body:has([data-sponsorship-hub]) .winston-chat-root {
    display: none !important;
  }
}
