/* Shared heading scale: H2 is the site's standard second-level heading size. */
/* Shared desktop footer copy; smaller viewports retain their existing scale. */
@media (min-width: 1025px) {
  #Footer .bottom .address .content,
  #Footer .bottom .contact .content,
  #Footer .bottom .legal .content,
  #Footer .bottom .address .content a,
  #Footer .bottom .address .content a span,
  #Footer .bottom .contact .content a,
  #Footer .bottom .contact .content a span,
  #Footer .bottom .legal .content a,
  #Footer .bottom .legal .content a span {
    font-size: 14px !important;
    line-height: 1.26 !important;
  }

  /* Preserve the first address break, joining city and country on line two. */
  #Footer .address .content > a:first-child br:last-of-type {
    display: none;
  }
  #Footer .address .content > a:first-child span:nth-of-type(2)::after {
    content: ", ";
  }
  #Footer .address .content > .map-link {
    width: 105px;
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
  }
}

html body h2 {
  font-size: 68px !important;
}

/* These sections have intentionally independent display scales; their H2s still
   follow the global typographic standard requested for the site. */
.widget-services .intro h2,
.widget-services .intro h2.__title,
.mosaic-gallery__title,
.block-text-steps-title-image h2 {
  font-size: 68px !important;
}

/* Ensure page-specific slider typography follows the shared H2 standard too. */
#opiniones .as-changing-widget h2,
.as-slider .as-changing-widget h2,
.widget-services .intro h2,
.widget-services .intro h2.__title {
  font-size: 68px !important;
}

@media (max-width: 480px) {
  #opiniones .as-changing-widget h2,
  .as-slider .as-changing-widget h2 {
    font-size: clamp(38px, 4.3vw, 64px) !important;
  }

  .widget-services .service-card .name.__title {
    font-size: 34px !important;
  }

  /* The method statement was 28px before the global H2 rule; +10px = 38px. */
  section.block-title-image-text-link:has(a.metodo-cta) .text h2 {
    font-size: 38px !important;
  }
}
