/**
 * V9.00 RC14 — Narrow Mobile Typography
 * Runtime fixes from 280 px screenshots across Home and Industries.
 */

/* Keep long editorial words intact. Narrow screens get a smaller type scale,
 * not arbitrary character-level wrapping. */
@media (max-width: 22.5rem) {
	.site-main,
	.site-main section,
	.cy-container,
	.cy-industrial-evidence__intro,
	.cy-process__intro,
	.cy-industries-page-hero__grid,
	.cy-industries-page-sectors__intro,
	.cy-industries-page-criteria__grid,
	.cy-industries-page-cta__grid,
	.cy-industries-page-sectors .cy-card {
		min-width: 0;
	}

	.cy-industrial-evidence__intro h2,
	.cy-process__intro h2,
	.cy-industries-page-hero__headline h1,
	.cy-industries-page-sectors__intro h2,
	.cy-industries-page-criteria__headline h2,
	.cy-industries-page-statement .cy-quote blockquote,
	.cy-industries-page-cta h2,
	.cy-industries-page-sectors .cy-card__title {
		max-width: 100%;
		overflow: visible;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
		white-space: normal;
	}

	/* Home: “Empezamos por la operación.” */
	.cy-industrial-evidence__intro h2 {
		max-width: none;
		font-size: clamp(2rem, 11vw, 2.45rem);
		line-height: .94;
		letter-spacing: -.038em;
	}

	.cy-industrial-evidence__intro h2 span {
		display: block;
		margin-top: .08em;
	}

	/* Home: “Diseñamos. Integramos. Ponemos en marcha.” */
	.cy-process__intro h2 {
		max-width: none;
		font-size: clamp(2.08rem, 11.5vw, 2.55rem);
		line-height: .94;
		letter-spacing: -.042em;
	}

	.cy-process__intro h2 span,
	.cy-process__intro h2 strong {
		max-width: 100%;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
	}

	/* Industries: hero and editorial statements. */
	.cy-industries-page-hero__headline h1 {
		font-size: clamp(2.1rem, 11.5vw, 2.65rem);
		line-height: .94;
		letter-spacing: -.042em;
	}

	.cy-industries-page-sectors__intro h2,
	.cy-industries-page-criteria__headline h2,
	.cy-industries-page-cta h2 {
		font-size: clamp(2rem, 10.8vw, 2.45rem);
		line-height: .97;
		letter-spacing: -.036em;
	}

	.cy-industries-page-statement .cy-quote blockquote {
		font-size: clamp(1.95rem, 10.5vw, 2.35rem);
		line-height: 1;
	}

	/* Sector names such as “Telecomunicaciones” must remain whole. */
	.cy-industries-page-sectors .cy-card__title {
		font-size: clamp(1.3rem, 7.2vw, 1.55rem);
		line-height: 1.02;
		letter-spacing: -.025em;
	}

	.cy-industries-page-sectors .cy-card {
		padding-inline: 1.05rem;
	}

	/* Shared narrow-screen safeguard for the remaining route headings. */
	.cy-equipment-brands__header h2,
	.cy-equipment-page__intro h2,
	.cy-services-page-hero h1,
	.cy-services-page-services__intro h2,
	.cy-contact-page-start__intro h2 {
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
	}
}

@media (max-width: 18.75rem) {
	.cy-industrial-evidence__intro h2,
	.cy-process__intro h2,
	.cy-industries-page-hero__headline h1,
	.cy-industries-page-sectors__intro h2,
	.cy-industries-page-criteria__headline h2,
	.cy-industries-page-cta h2 {
		font-size: 1.9rem;
		letter-spacing: -.03em;
	}

	.cy-industries-page-sectors .cy-card__title {
		font-size: 1.22rem;
	}
}
