﻿/*!
 * Grosmac static pages layer.
 *
 * Scope: body.gm-static-page on the front (inc/static-pages.php) and
 * .editor-styles-wrapper in Gutenberg for gm-* components. Shell /
 * .site-main rules are front-only; components use
 * :is(body.gm-static-page, .editor-styles-wrapper).
 *
 * Targets the native WordPress markup produced by the Grosmac page template:
 *
 *   .site-main > article > .entry-content
 *
 * Optional utility classes (.gm-static-grid, .gm-static-card,
 * .gm-static-band, .gm-static-button, .gm-static-link, .gm-static-eyebrow)
 * are provided so the editor can use a Custom HTML block to compose
 * richer layouts.
 */

/* -------------------------------------------------------------------------
 * 1. Page wrapper (native WordPress markup, scoped)
 * ------------------------------------------------------------------------- */

body.gm-static-page .site-main > article,
body.gm-static-page .site-main > article * {
	box-sizing: border-box;
}

/*
 * No overflow on body: overflow-x:hidden forces overflow-y:auto and clips the
 * global header wordmark tagline (About/Contact/Solutions). Match shop/catalog:
 * clip only inside .site-content (see 10-base.css).
 */
body.gm-static-page .site-content,
body.gm-static-page .site-main {
	overflow-x: clip;
	max-width: 100%;
}

body.gm-static-page .site-main > article {
	max-width: var(--gm-shell);
	margin: 0 auto clamp(36px, 4vw, 54px);
	padding: clamp(20px, 2.6vw, 34px) 0 0;
	color: var(--gm-color-ink);
	font-family: var(--gm-font-body);
}

body.gm-static-page .gm-static-template {
	width: 100%;
}

body.gm-static-page .gm-static-template__article {
	max-width: var(--gm-shell);
	margin: 0 auto clamp(36px, 4vw, 54px);
	padding: clamp(20px, 2.6vw, 34px) 0 0;
	color: var(--gm-color-ink);
	font-family: var(--gm-font-body);
}

body.gm-static-page .gm-static-template__article,
body.gm-static-page .gm-static-template__article * {
	box-sizing: border-box;
	min-width: 0;
}

body.gm-static-page .site-main .entry-content {
	display: flex;
	flex-direction: column;
	gap: clamp(18px, 2.4vw, 28px);
	--gm-card-accent: var(--gm-color-brand);
	--gm-card-accent-2: var(--gm-bread-golden);
	--gm-card-accent-3: var(--gm-bread-cacao);
}

body.gm-static-page .site-main .entry-content > *:nth-child(6n+1) { --gm-card-accent: var(--gm-bread-orange); --gm-card-accent-2: var(--gm-bread-wheat); --gm-card-accent-3: var(--gm-bread-crust-red); }
body.gm-static-page .site-main .entry-content > *:nth-child(6n+2) { --gm-card-accent: var(--gm-bread-toasted-red); --gm-card-accent-2: var(--gm-bread-golden); --gm-card-accent-3: var(--gm-bread-cacao); }
body.gm-static-page .site-main .entry-content > *:nth-child(6n+3) { --gm-card-accent: var(--gm-bread-caramel); --gm-card-accent-2: var(--gm-bread-brown); --gm-card-accent-3: var(--gm-bread-orange); }
body.gm-static-page .site-main .entry-content > *:nth-child(6n+4) { --gm-card-accent: var(--gm-bread-golden); --gm-card-accent-2: var(--gm-bread-wheat); --gm-card-accent-3: var(--gm-bread-dark-brown); }
body.gm-static-page .site-main .entry-content > *:nth-child(6n+5) { --gm-card-accent: var(--gm-bread-brown); --gm-card-accent-2: var(--gm-bread-orange); --gm-card-accent-3: var(--gm-bread-golden); }
body.gm-static-page .site-main .entry-content > *:nth-child(6n+6) { --gm-card-accent: var(--gm-bread-cacao); --gm-card-accent-2: var(--gm-bread-toasted-red); --gm-card-accent-3: var(--gm-bread-wheat); }

/* -------------------------------------------------------------------------
 * 2. Native typography
 * ------------------------------------------------------------------------- */

body.gm-static-page .site-main .entry-content h1,
body.gm-static-page .site-main .entry-content h2,
body.gm-static-page .site-main .entry-content h3,
body.gm-static-page .site-main .entry-content h4 {
	margin: 0 0 12px;
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	letter-spacing: -0.04em;
}

body.gm-static-page .site-main .entry-content h1 {
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-size: var(--gm-title-page);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 1;
	text-transform: uppercase;
}

body.gm-static-page .site-main .entry-content h2 {
	font-size: var(--gm-title-section);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.15;
	text-transform: uppercase;
}

body.gm-static-page .site-main .entry-content h3 {
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

body.gm-static-page .site-main .entry-content h4 {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.gm-static-page .site-main .entry-content p {
	margin: 0;
	color: var(--gm-color-muted);
	line-height: 1.65;
	text-wrap: pretty;
}

body.gm-static-page .site-main .entry-content a {
	color: var(--gm-color-brand-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.gm-static-page .site-main .entry-content a:hover,
body.gm-static-page .site-main .entry-content a:focus {
	color: var(--gm-color-ink);
}

body.gm-static-page .site-main .entry-content ul,
body.gm-static-page .site-main .entry-content ol {
	margin: 0;
	padding-left: 22px;
	color: var(--gm-color-muted);
	line-height: 1.65;
}

body.gm-static-page .site-main .entry-content ul li,
body.gm-static-page .site-main .entry-content ol li {
	margin-bottom: 6px;
}

body.gm-static-page .site-main .entry-content blockquote {
	margin: 0;
	padding: 16px 20px;
	background: var(--gm-color-surface);
	border-left: 3px solid var(--gm-color-brand);
	color: var(--gm-color-ink);
	font-family: var(--gm-font-display);
	font-size: 15px;
	font-weight: 600;
}

body.gm-static-page .site-main .entry-content hr {
	margin: 8px 0;
	border: 0;
	border-top: 1px solid var(--gm-color-line);
}

/* -------------------------------------------------------------------------
 * 2b. About page feature components
 * ------------------------------------------------------------------------- */

/* Iconos inline (chips, listas). Tiles naranjas: SSOT en 15-icons.css. */
:is(body.gm-static-page, .editor-styles-wrapper) :where(
	.gm-bread-chip,
	.gm-solutions-hero__bread,
	.gm-solution-card__top,
	.gm-solution-finder__grid,
	.gm-check-list
) .gm-icon {
	display: inline-block;
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	color: var(--gm-card-accent, var(--gm-color-brand));
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: clamp(18px, 3vw, 32px);
	align-items: stretch;
	padding: clamp(22px, 3.6vw, 46px);
	background: var(--gm-corporate-hero-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero h1 {
	max-width: 820px;
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-size: var(--gm-title-hero);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-lead {
	max-width: 780px;
	color: var(--gm-color-ink) !important;
	font-size: clamp(16px, 1.6vw, 19px);
	font-weight: 600;
	line-height: 1.4 !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero__panel {
	display: grid;
	gap: 12px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero__panel div {
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-areas:
		"icon value"
		"icon copy";
	gap: 2px 16px;
	align-items: start;
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid var(--gm-color-line);
	border-radius: var(--gm-radius-md);
	color: var(--gm-color-ink);
	box-shadow: var(--gm-corporate-shadow);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero__panel .gm-icon-block {
	grid-area: icon;
	align-self: center;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero__panel .gm-icon-block .gm-icon {
	grid-area: auto;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero__panel strong,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero__panel .gm-about-metric__value {
	grid-area: value;
	margin: 0;
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero__panel span,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero__panel .gm-about-metric__copy {
	grid-area: copy;
	margin: 0;
	color: var(--gm-color-muted);
	font-size: 13px;
	line-height: 1.45;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	gap: 22px;
	align-items: stretch;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split > article:not(.gm-static-card),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split > .wp-block-column:not(.gm-static-card) {
	padding: 28px;
	background: var(--gm-color-surface);
	border: 2px solid var(--gm-color-ink);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid div {
	padding: 22px;
	background:
		var(--gm-corporate-accent-top),
		var(--gm-color-surface);
	border: 2px solid var(--gm-color-ink);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid strong {
	display: block;
	color: var(--gm-color-ink);
	font-family: var(--gm-font-display);
	font-size: var(--gm-stat-value);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 0.9;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid span {
	display: block;
	margin: 8px 0;
	color: var(--gm-color-brand-deep);
	font-family: var(--gm-font-display);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 18px;
	margin-top: 22px;
}

@media (min-width: 1024px) {
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-service-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-service-grid--three {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

@media (min-width: 1024px) {
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-service-grid--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card {
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 10px;
	min-height: 100%;
	padding: 24px;
	background: var(--gm-color-surface);
	border: 2px solid var(--gm-color-ink);
	border-radius: 0;
	box-shadow: none;
	text-align: left;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card * {
	text-align: left;
}

/* Anular el centrado autom\u00e1tico que Gutenberg aplica a los hijos
   de un .wp-block-group con layout constrained (margin-inline: auto !important). */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card.is-layout-constrained > *,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card.wp-block-group-is-layout-constrained > * {
	margin-inline-start: 0 !important;
	margin-inline-end: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100%;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--gm-line-accent-height);
	background: var(--gm-color-brand);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card .gm-icon-block {
	margin-bottom: 14px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card h3 {
	margin: 0 0 8px;
	font-family: var(--gm-font-display);
	font-size: clamp(18px, 1.6vw, 20px);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card p {
	margin: 0;
	color: var(--gm-color-text-muted, var(--gm-color-muted));
	font-size: 14px;
	line-height: 1.55;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card--compact {
	padding: 20px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card--compact h3 {
	font-size: 18px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-advantages {
	padding: clamp(24px, 4vw, 40px);
	background: var(--gm-corporate-panel-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-parallax-field {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(28px, 5vw, 56px);
	background-color: var(--gm-color-ink);
	border: var(--gm-industrial-stroke);
	border-radius: var(--gm-radius-lg);
	color: #ffffff;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-parallax-field::before {
	content: "GROSMAC";
	position: absolute;
	right: -0.08em;
	bottom: -0.22em;
	z-index: -1;
	color: rgba(243, 146, 0, 0.08);
	font-family: var(--gm-font-logo);
	font-size: var(--gm-watermark-bg);
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 0.8;
	text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.22);
	white-space: nowrap;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-parallax-field h2,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-parallax-field h3,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-parallax-field p,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-parallax-field li {
	color: #ffffff;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-bread-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 22px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-bread-chip {
	display: flex;
	gap: 10px;
	align-items: center;
	min-height: 58px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--gm-radius-sm);
	color: #ffffff;
	font-family: var(--gm-font-display);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-bread-chip .gm-icon {
	width: 30px;
	height: 30px;
	color: var(--gm-color-brand);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-intent-hero--corporate,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero--v2,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero--v2 {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 3vw, 24px);
}

/* Pillar / utility heroes share the GEO next-hero shell via .gm-next-hero */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-intent-hero--pillar,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-intent-hero--utility {
	/* Visual tokens inherited from .gm-next-hero when combined */
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-proof-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin: 8px 0 0;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-proof-row__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	background: #ffffff;
	border: 1px solid var(--gm-color-line);
	border-radius: var(--gm-radius-md);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-proof-row__item strong {
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-proof-row__item span {
	color: var(--gm-color-muted);
	font-size: 13px;
	line-height: 1.45;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-bread-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-bread-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 16px;
	background: #ffffff;
	border: 1px solid var(--gm-color-line);
	border-radius: var(--gm-radius-md);
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-bread-chips a:hover {
	border-color: var(--gm-color-brand);
	color: var(--gm-color-brand);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-lead {
	max-width: 80ch;
	margin: 0;
	color: var(--gm-color-ink);
	font-size: clamp(16px, 1.6vw, 18px);
	font-weight: 600;
	line-height: 1.45;
	text-wrap: pretty;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-section-title {
	margin: clamp(28px, 4vw, 40px) 0 12px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-line-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 100%;
	padding: 22px;
	background: var(--gm-color-surface);
	border: 2px solid var(--gm-color-ink);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-line-card__capacity {
	margin: 0;
	color: var(--gm-color-brand);
	font-family: var(--gm-font-display);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-line-card ul {
	margin: 0;
	padding-left: 18px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-family-matrix__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 16px;
	margin-top: 18px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-answer-first {
	margin: 0 0 20px;
	max-width: 72ch;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-answer-first p {
	margin: 0;
	color: var(--gm-color-ink);
	font-weight: 600;
	line-height: 1.55;
	text-wrap: pretty;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-videos {
	margin: 28px 0;
	padding: 24px;
	border: 1px solid var(--gm-color-line);
	background: var(--gm-color-surface-subtle, #faf8f4);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-videos__grid {
	gap: 16px;
}

.gm-cat-header__hub-link {
	margin: 10px 0 0;
	font-size: 0.9rem;
	font-weight: 700;
}

.gm-cat-header__hub-link a {
	color: var(--gm-color-brand, #f39200);
	text-decoration: none;
}

.gm-cat-header__hub-link a:hover,
.gm-cat-header__hub-link a:focus-visible {
	text-decoration: underline;
}

/* Legacy two-column hero (sidebar bread tiles). v2 uses flex column + gm-bread-chips list. */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero:not(.gm-solutions-hero--v2) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
	gap: clamp(22px, 4vw, 42px);
	align-items: stretch;
	padding: clamp(34px, 5vw, 64px);
	background: var(--gm-corporate-hero-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero--v2 {
	padding: clamp(28px, 4vw, 48px);
	background: var(--gm-corporate-hero-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero h1 {
	max-width: 800px;
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-size: var(--gm-title-hero);
	font-weight: 900;
	letter-spacing: -0.055em;
	text-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero__bread {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-content: center;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero__bread span {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 112px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid var(--gm-color-line);
	border-radius: var(--gm-radius-md);
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero__bread span:first-child {
	grid-column: span 2;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero__bread .gm-icon {
	width: 42px;
	height: 71px;
	color: var(--gm-color-brand);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
	gap: 18px;
	margin-top: 22px;
	width: 100% !important;
	max-width: none !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-grid > .wp-block-group,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-grid > .gm-solution-line-card {
	width: 100% !important;
	max-width: none !important;
}

/* Process rail (Solutions) — also on static pages; was home-only in 45-home-marketing.css */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail h2 {
	margin: 0 0 20px;
	font-size: var(--gm-title-section);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav.wp-block-columns {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	width: 100% !important;
	max-width: none !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav > .wp-block-column {
	min-width: 0;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__item,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav .wp-block-column {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 100%;
	padding: 14px 12px;
	border: 2px solid var(--gm-color-line);
	background: var(--gm-color-paper);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__label,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav .wp-block-column .gm-process-rail__label {
	margin: 0;
	font-family: var(--gm-font-display);
	font-weight: 800;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__label a,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav a {
	color: var(--gm-color-ink);
	text-decoration: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__label a:hover,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav a:hover {
	color: var(--gm-color-brand);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__note {
	margin: 0;
	font-size: 12px;
	color: var(--gm-color-muted);
	line-height: 1.3;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 100%;
	padding: 24px;
	background:
		var(--gm-corporate-accent-top),
		var(--gm-color-surface);
	border: 2px solid var(--gm-color-ink);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card__top .gm-icon {
	width: 42px;
	height: 42px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card__top span {
	color: rgba(34, 31, 32, 0.16);
	font-family: var(--gm-font-logo);
	font-size: var(--gm-title-page);
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 1;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card ul {
	display: grid;
	gap: 8px;
	margin-top: auto;
	padding-left: 0;
	list-style: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card li {
	position: relative;
	padding-left: 18px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 8px;
	height: 3px;
	background: var(--gm-color-brand);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-field {
	display: grid;
	gap: 14px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder {
	padding: clamp(24px, 4vw, 40px);
	background: var(--gm-corporate-panel-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-top: 22px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid article {
	padding: 18px;
	background: var(--gm-color-surface-subtle);
	border: 1px solid var(--gm-color-line);
	border-radius: var(--gm-radius-sm);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card:nth-child(8n+1),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card:nth-child(8n+1),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card:nth-child(8n+1),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid article:nth-child(8n+1),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid div:nth-child(8n+1),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric:nth-child(8n+1),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip > div:nth-child(8n+1),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div:nth-child(8n+1),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-card:nth-child(8n+1),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card:nth-child(8n+1) {
	--gm-card-accent: var(--gm-bread-orange);
	--gm-card-accent-2: var(--gm-bread-wheat);
	--gm-card-accent-3: var(--gm-bread-crust-red);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card:nth-child(8n+2),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card:nth-child(8n+2),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card:nth-child(8n+2),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid article:nth-child(8n+2),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid div:nth-child(8n+2),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric:nth-child(8n+2),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip > div:nth-child(8n+2),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div:nth-child(8n+2),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-card:nth-child(8n+2),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card:nth-child(8n+2) {
	--gm-card-accent: var(--gm-bread-toasted-red);
	--gm-card-accent-2: var(--gm-bread-golden);
	--gm-card-accent-3: var(--gm-bread-cacao);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card:nth-child(8n+3),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card:nth-child(8n+3),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card:nth-child(8n+3),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid article:nth-child(8n+3),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid div:nth-child(8n+3),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric:nth-child(8n+3),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip > div:nth-child(8n+3),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div:nth-child(8n+3),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-card:nth-child(8n+3),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card:nth-child(8n+3) {
	--gm-card-accent: var(--gm-bread-caramel);
	--gm-card-accent-2: var(--gm-bread-brown);
	--gm-card-accent-3: var(--gm-bread-orange);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card:nth-child(8n+4),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card:nth-child(8n+4),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card:nth-child(8n+4),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid article:nth-child(8n+4),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid div:nth-child(8n+4),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric:nth-child(8n+4),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip > div:nth-child(8n+4),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div:nth-child(8n+4),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-card:nth-child(8n+4),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card:nth-child(8n+4) {
	--gm-card-accent: var(--gm-bread-golden);
	--gm-card-accent-2: var(--gm-bread-wheat);
	--gm-card-accent-3: var(--gm-bread-dark-brown);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card:nth-child(8n+5),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card:nth-child(8n+5),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card:nth-child(8n+5),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid article:nth-child(8n+5),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid div:nth-child(8n+5),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric:nth-child(8n+5),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip > div:nth-child(8n+5),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div:nth-child(8n+5),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-card:nth-child(8n+5),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card:nth-child(8n+5) {
	--gm-card-accent: var(--gm-bread-brown);
	--gm-card-accent-2: var(--gm-bread-orange);
	--gm-card-accent-3: var(--gm-bread-golden);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card:nth-child(8n+6),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card:nth-child(8n+6),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card:nth-child(8n+6),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid article:nth-child(8n+6),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid div:nth-child(8n+6),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric:nth-child(8n+6),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip > div:nth-child(8n+6),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div:nth-child(8n+6),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-card:nth-child(8n+6),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card:nth-child(8n+6) {
	--gm-card-accent: var(--gm-bread-dark-brown);
	--gm-card-accent-2: var(--gm-bread-toasted-red);
	--gm-card-accent-3: var(--gm-bread-wheat);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card:nth-child(8n+7),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card:nth-child(8n+7),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card:nth-child(8n+7),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid article:nth-child(8n+7),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid div:nth-child(8n+7),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric:nth-child(8n+7),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip > div:nth-child(8n+7),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div:nth-child(8n+7),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-card:nth-child(8n+7),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card:nth-child(8n+7) {
	--gm-card-accent: var(--gm-bread-crust-red);
	--gm-card-accent-2: var(--gm-bread-caramel);
	--gm-card-accent-3: var(--gm-color-brand);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card:nth-child(8n),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-icon-card:nth-child(8n),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-card:nth-child(8n),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid article:nth-child(8n),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid div:nth-child(8n),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric:nth-child(8n),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip > div:nth-child(8n),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div:nth-child(8n),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-card:nth-child(8n),
:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card:nth-child(8n) {
	--gm-card-accent: var(--gm-bread-cacao);
	--gm-card-accent-2: var(--gm-bread-toasted-red);
	--gm-card-accent-3: var(--gm-bread-golden);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid .gm-icon {
	width: 34px;
	height: 34px;
	margin-bottom: 10px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial p {
	max-width: 920px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial h2 {
	position: relative;
	margin-top: 28px;
	padding-top: 18px;
	font-family: var(--gm-font-display);
	font-size: var(--gm-title-section);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial > h2:first-child,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial > h2:first-of-type {
	margin-top: 0;
	padding-top: 0;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 3px;
	background: var(--gm-color-brand, #f39200);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial > h2:first-child::before,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial > h2:first-of-type::before {
	display: none;
}

/* Editorial row: [icon] + [h2] aligned horizontally so each section has visual anchor. */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
	padding-top: 18px;
	position: relative;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial > .gm-about-editorial__row:first-child,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial > .gm-about-editorial__row:first-of-type {
	margin-top: 0;
	padding-top: 0;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 3px;
	background: var(--gm-color-brand, #f39200);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial > .gm-about-editorial__row:first-child::before,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial > .gm-about-editorial__row:first-of-type::before {
	display: none;
}

/* Override del margin auto que Gutenberg aplica al usar layout constrained
   en el padre. Sin esto, el icono y el h2 quedan centrados. */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row.is-layout-flex > *,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row.is-layout-constrained > *,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row.wp-block-group-is-layout-flex > *,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row.wp-block-group-is-layout-constrained > * {
	margin-inline-start: 0 !important;
	margin-inline-end: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row h2 {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--gm-font-display);
	font-size: var(--gm-title-section);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row h2::before {
	display: none !important;
}

/* Split columns: [icon] inside the white left card. */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split > .wp-block-column .gm-icon-block {
	margin-bottom: 14px;
}

/* Override del centrado autom\u00e1tico de Gutenberg en columns con
   layout constrained. Mantiene el icono+h2+p alineados a la izquierda. */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split > .wp-block-column.is-layout-constrained > *,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split > .wp-block-column.wp-block-group-is-layout-constrained > * {
	margin-inline-start: 0 !important;
	margin-inline-end: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-list {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px !important;
	margin-top: 18px !important;
	padding-left: 0 !important;
	list-style: none !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 !important;
	padding: 14px;
	background: var(--gm-color-surface-subtle);
	border: 1px solid var(--gm-color-line);
	border-radius: var(--gm-radius-sm);
	color: var(--gm-color-ink);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-list .gm-icon {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: var(--gm-color-success);
	--gm-icon-mass: currentColor;
}

/* -------------------------------------------------------------------------
 * 3. Optional utility classes for structured HTML in the editor
 *    (always namespaced under .gm-static-page to keep them site-local)
 * ------------------------------------------------------------------------- */

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-eyebrow {
	display: inline-flex;
	width: fit-content;
	margin: 0 0 10px;
	padding: 5px 9px;
	background: var(--gm-color-brand);
	border: 2px solid var(--gm-color-ink);
	color: var(--gm-color-ink);
	font-family: var(--gm-font-display);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-grid {
	display: grid;
	gap: 18px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-contact-hero {
	display: grid;
	gap: 14px;
	padding: clamp(34px, 5vw, 64px);
	background: var(--gm-corporate-hero-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-contact-hero h1 {
	max-width: 820px;
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-size: var(--gm-title-hero);
	font-weight: 900;
	letter-spacing: -0.055em;
	text-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(22px, 2.4vw, 28px);
	background:
		var(--gm-corporate-accent-top-lg),
		var(--gm-color-surface);
	border: 2px solid var(--gm-color-ink);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card h3 a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(243, 146, 0, 0.35);
	transition: color 160ms ease, border-color 160ms ease;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card h3 a:hover {
	color: var(--gm-color-brand);
	border-bottom-color: var(--gm-color-brand);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs,
.gm-solution-hubs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: 12px;
	margin: 24px 0;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card,
.gm-solution-hubs__card {
	display: grid;
	gap: 8px;
	padding: 18px 18px 20px;
	background:
		var(--gm-corporate-accent-top-lg),
		var(--gm-color-surface);
	border: 2px solid var(--gm-color-ink);
	border-radius: 0;
	color: var(--gm-color-heading);
	text-decoration: none;
	transition: box-shadow 0.18s ease, border-color 0.18s ease;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card:hover,
.gm-solution-hubs__card:hover,
.gm-solution-hubs__card:focus-visible {
	border-color: var(--gm-color-brand);
	box-shadow: 3px 3px 0 var(--gm-color-ink);
	outline: none;
}

.gm-solution-hubs__card:focus-visible {
	box-shadow: 0 0 0 3px rgba(34, 31, 32, 0.18), 3px 3px 0 var(--gm-color-ink);
}

@media (prefers-reduced-motion: reduce) {
	.gm-solution-hubs__card {
		transition: none;
	}
	.gm-solution-hubs__card:hover,
	.gm-solution-hubs__card:focus-visible {
		transform: none;
	}
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card span,
.gm-solution-hubs__card span {
	color: var(--gm-color-brand-deep);
	font-family: var(--gm-font-display);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card strong,
.gm-solution-hubs__card strong {
	font-family: var(--gm-font-display);
	font-size: var(--gm-title-section);
	font-weight: 800;
	line-height: 1.05;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-hubs__card em,
.gm-solution-hubs__card em {
	color: var(--gm-color-muted);
	font-style: normal;
	font-size: 14px;
	line-height: 1.45;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-blog-template__posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(18px, 2.4vw, 28px);
	width: var(--gm-shell);
	margin: 0 auto clamp(42px, 6vw, 72px);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-blog-template__post-title {
	margin: 0;
	font-size: var(--gm-title-section);
	line-height: 1.08;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-blog-template__post-title a {
	color: inherit;
	text-decoration: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-blog-template__post-title a:hover {
	color: var(--gm-color-brand);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card {
	background:
		var(--gm-corporate-accent-top),
		var(--gm-color-ink);
	border: 2px solid rgba(255, 255, 255, 0.18);
	border-radius: 0;
	box-shadow: none;
	color: #ffffff !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark h1,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark h2,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark h3,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark h4,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark p,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark li,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark a,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark strong,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card h1,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card h2,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card h3,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card h4,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card p,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card li,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card a,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card strong {
	color: #ffffff !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card--dark a:hover,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-dark-card a:hover {
	color: var(--gm-color-brand) !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-band,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(18px, 3vw, 32px);
	align-items: center;
	margin: 36px 0 0;
	padding: clamp(24px, 3vw, 34px);
	background:
		var(--gm-corporate-accent-top),
		var(--gm-color-ink);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	color: #ffffff;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-band h2,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-band p,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-band h2,
:is(body.gm-static-page, .editor-styles-wrapper) .is-style-grosmac-band p {
	color: #ffffff;
}

/* Buttons: canonical rules in 12-components.css; static-page keeps layout-specific overrides. */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-button,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-link,
:is(body.gm-static-page, .editor-styles-wrapper) .wp-block-button.is-style-grosmac-primary .wp-block-button__link,
:is(body.gm-static-page, .editor-styles-wrapper) .wp-block-button.is-style-grosmac-secondary .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--gm-radius-sm);
	font-family: var(--gm-font-display);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-button,
:is(body.gm-static-page, .editor-styles-wrapper) .wp-block-button.is-style-grosmac-primary .wp-block-button__link {
	background: var(--gm-color-brand);
	border: 2px solid var(--gm-color-ink);
	color: var(--gm-color-brand-contrast) !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-button:hover,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-button:focus,
:is(body.gm-static-page, .editor-styles-wrapper) .wp-block-button.is-style-grosmac-primary .wp-block-button__link:hover,
:is(body.gm-static-page, .editor-styles-wrapper) .wp-block-button.is-style-grosmac-primary .wp-block-button__link:focus {
	background: var(--gm-color-brand-strong);
	border-color: var(--gm-color-ink);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-link {
	border: 2px solid var(--gm-color-ink);
	background: #fff;
	color: var(--gm-color-ink) !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .wp-block-button.is-style-grosmac-secondary .wp-block-button__link {
	background: #ffffff;
	border: 2px solid var(--gm-color-ink);
	color: var(--gm-color-ink) !important;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-link:hover,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-link:focus,
:is(body.gm-static-page, .editor-styles-wrapper) .wp-block-button.is-style-grosmac-secondary .wp-block-button__link:hover,
:is(body.gm-static-page, .editor-styles-wrapper) .wp-block-button.is-style-grosmac-secondary .wp-block-button__link:focus {
	border-color: var(--gm-color-ink);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-intent-hero.gm-next-hero,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-intent-hero--pillar.gm-next-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	gap: clamp(20px, 3vw, 38px);
	align-items: stretch;
	padding: clamp(28px, 4vw, 54px);
	background: var(--gm-corporate-hero-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__copy {
	display: grid;
	align-content: center;
	gap: 14px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__copy h1 {
	max-width: 880px;
	font-size: var(--gm-title-hero);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__copy p {
	max-width: 760px;
	color: var(--gm-color-ink);
	font-size: clamp(16px, 1.45vw, 19px);
	font-weight: 600;
	line-height: 1.45;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__panel,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metrics {
	display: grid;
	gap: 12px;
	align-content: center;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-demo-center--inline {
	display: block;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-demo-center--inline > .wp-block-columns {
	gap: clamp(20px, 3vw, 32px);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-demo-center__panel {
	display: grid;
	gap: 14px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-demo-center__panel .gm-icon-block {
	margin-bottom: 8px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric .gm-icon-block,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-grid .gm-static-card .gm-icon-block {
	margin-bottom: 12px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip > div,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-card {
	padding: 18px;
	background:
		var(--gm-corporate-accent-top-lg),
		#ffffff;
	border: 2px solid var(--gm-color-ink);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric strong,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric .gm-about-metric__value,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip strong,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip .gm-about-metric__value {
	display: block;
	margin: 0;
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-size: var(--gm-title-page);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric span,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__metric .gm-about-metric__copy,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip span,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip .gm-about-metric__copy {
	display: block;
	margin-top: 6px;
	color: var(--gm-color-muted);
	font-size: 13px;
	line-height: 1.45;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow {
	counter-reset: gm-process;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div {
	position: relative;
	padding-top: 46px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow > div::before {
	counter-increment: gm-process;
	content: counter(gm-process, decimal-leading-zero);
	position: absolute;
	top: 16px;
	left: 18px;
	color: var(--gm-color-brand-deep);
	font-family: var(--gm-font-display);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-quote-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
	gap: clamp(18px, 3vw, 34px);
	align-items: start;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-quote-layout__sidebar {
	display: grid;
	gap: 14px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-page-note {
	padding: 16px 18px;
	background: rgba(243, 146, 0, 0.1);
	border: 1px solid rgba(243, 146, 0, 0.28);
	border-radius: var(--gm-radius-sm);
	color: var(--gm-color-ink);
	font-size: 14px;
	line-height: 1.55;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-faq-list {
	display: grid;
	gap: 10px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-faq-list details {
	padding: 16px 18px;
	background: var(--gm-color-surface);
	border: 1px solid var(--gm-color-line);
	border-radius: var(--gm-radius-md);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-faq-list summary {
	color: var(--gm-color-heading);
	font-family: var(--gm-font-display);
	font-weight: 800;
	cursor: pointer;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-faq-list details p {
	margin-top: 10px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products {
	margin-block: clamp(2rem, 4vw, 3rem);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.25rem;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__header--link-only {
	justify-content: flex-end;
	margin-top: -0.5rem;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__title {
	margin: 0;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__all {
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	align-items: stretch;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid.products > li.product {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid.products::before,
:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid.products::after {
	display: none;
}

/* Hub grids reuse WooCommerce loop cards — needs card price/meta layout from shop CSS. */
:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid .gm-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	background: var(--gm-color-surface);
	border: 1px solid var(--gm-color-line);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid .gm-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--gm-card-body-gap, 6px);
	min-height: 0;
	padding: var(--gm-card-body-padding-block, 8px) var(--gm-card-body-padding-inline, 10px) var(--gm-space-2, 8px);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid .gm-card__title-zone {
	flex: 1 1 auto;
	min-height: var(--gm-card-title-zone-min, 2.75rem);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid .gm-card__link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	height: 100%;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid .gm-card__price {
	display: grid;
	gap: 4px;
	font-family: var(--gm-font-display);
	font-weight: 900;
	font-size: 18px;
	color: var(--gm-color-ink);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid .gm-card__price-main {
	display: block;
	line-height: 1.15;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid .gm-card__price-label {
	display: block;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--gm-color-brand-deep);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid .gm-card__price-hint {
	display: block;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--gm-color-muted);
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-hub-products__grid .gm-card__meta {
	margin-top: auto;
}

/* -------------------------------------------------------------------------
 * 4. Contact Form 7 styling (Contact page only)
 * ------------------------------------------------------------------------- */

body.gm-static-page .site-main .entry-content .wpcf7 {
	margin-top: 8px;
	padding: clamp(22px, 3vw, 34px);
	background: var(--gm-corporate-panel-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-contact-product-context {
	order: -1;
	display: grid;
	gap: 8px;
	padding: 20px 22px;
	background: var(--gm-corporate-panel-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .gm-contact-product-context h2 {
	margin: 0;
}

body.gm-static-page .site-main .entry-content .wpcf7-form p {
	margin: 0 0 12px;
}

body.gm-static-page .site-main .entry-content .wpcf7-form label {
	display: block;
	margin-bottom: 4px;
	color: var(--gm-color-ink);
	font-family: var(--gm-font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.gm-static-page .site-main .entry-content .wpcf7-form input[type="text"],
body.gm-static-page .site-main .entry-content .wpcf7-form input[type="email"],
body.gm-static-page .site-main .entry-content .wpcf7-form input[type="tel"],
body.gm-static-page .site-main .entry-content .wpcf7-form input[type="url"],
body.gm-static-page .site-main .entry-content .wpcf7-form select,
body.gm-static-page .site-main .entry-content .wpcf7-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 11px 14px;
	border: 1px solid var(--gm-color-line-strong);
	border-radius: var(--gm-radius-sm);
	background: #ffffff;
	color: var(--gm-color-ink);
	font-family: var(--gm-font-body);
	font-size: 14px;
}

body.gm-static-page .site-main .entry-content .wpcf7-form input:focus,
body.gm-static-page .site-main .entry-content .wpcf7-form select:focus,
body.gm-static-page .site-main .entry-content .wpcf7-form textarea:focus {
	outline: 2px solid var(--gm-color-brand);
	outline-offset: 1px;
	border-color: var(--gm-color-brand);
}

body.gm-static-page .site-main .entry-content .wpcf7-form textarea {
	min-height: 140px;
	resize: vertical;
}

body.gm-static-page .site-main .entry-content .wpcf7-form input[type="submit"],
body.gm-static-page .site-main .entry-content .wpcf7-submit {
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid var(--gm-color-ink);
	border-radius: var(--gm-radius-sm);
	background: var(--gm-color-brand);
	color: var(--gm-color-brand-contrast);
	font-family: var(--gm-font-display);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

body.gm-static-page .site-main .entry-content .wpcf7-form input[type="submit"]:hover,
body.gm-static-page .site-main .entry-content .wpcf7-submit:hover {
	background: var(--gm-color-brand-strong);
	border-color: var(--gm-color-ink);
}

.grosmac-lead-form__persona {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.grosmac-lead-form__persona legend {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gm-color-text-muted, #4a566a);
	margin-bottom: 10px;
}

.grosmac-lead-form__persona-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.grosmac-lead-form__persona-option {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border: 1px solid var(--gm-color-line, #e3e3e9);
	border-radius: var(--gm-radius-sm, 0);
	background: #fff;
	cursor: pointer;
	font-size: 0.92rem;
}

.grosmac-lead-form__persona-option:has(input:checked) {
	border-color: var(--gm-color-brand, #f39200);
	box-shadow: inset 0 0 0 1px var(--gm-color-brand, #f39200);
}

.grosmac-lead-form__persona-option input {
	margin: 0;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form {
	display: grid;
	gap: 16px;
	margin-top: 18px;
	padding: clamp(22px, 3vw, 34px);
	background: var(--gm-corporate-panel-stack);
	border: var(--gm-corporate-hero-frame);
	border-radius: 0;
	box-shadow: none;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__field {
	display: grid;
	gap: 4px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__field--message {
	grid-column: 1 / -1;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__field span {
	color: var(--gm-color-ink);
	font-family: var(--gm-font-display);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form input:not([type="checkbox"]):not([type="radio"]),
:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form select,
:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 11px 14px;
	background: #fff;
	border: 1px solid var(--gm-color-line-strong);
	border-radius: var(--gm-radius-sm);
	color: var(--gm-color-ink);
	font-family: var(--gm-font-body);
	font-size: 14px;
}

/* Consent row: checkbox inline with the privacy-policy text. The previous
   selector (`.grosmac-lead-form input`) was inflating the checkbox to
   100% width / 44px height and flowing the text below. We pin the
   checkbox to a fixed 18px box and use flex to keep label + caption on
   the same row, top-aligned for multi-line wraps. */
:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--gm-color-ink);
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	min-height: 0;
	margin: 2px 0 0;
	padding: 0;
	accent-color: var(--gm-color-brand);
	cursor: pointer;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__consent > span {
	flex: 1 1 auto;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form textarea {
	min-height: 130px;
	resize: vertical;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form button {
	justify-self: start;
	min-height: 48px;
	padding: 0 22px;
	background: var(--gm-color-brand);
	border: 2px solid var(--gm-color-ink);
	border-radius: var(--gm-radius-sm);
	color: var(--gm-color-brand-contrast);
	font-family: var(--gm-font-display);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form button:hover {
	background: var(--gm-color-brand-strong);
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__trap {
	position: absolute;
	left: -9999px;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__notice {
	margin: 0;
	padding: 10px 12px;
	background: rgba(31, 122, 77, 0.12);
	border: 1px solid rgba(31, 122, 77, 0.24);
	color: #1f7a4d;
	font-weight: 800;
}

/* Required-field marker: small brand-orange asterisk inside the label. The
   <em> wrapper avoids the global italic look applied to <em> in the body
   while keeping the same semantic affordance for assistive tech. */
:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__required-mark {
	display: inline;
	margin-left: 2px;
	color: #ea5b0c;
	font-style: normal;
	font-weight: 800;
}

/* -------------------------------------------------------------------------
 * 4b. Lead success card (renders in place of the form after ?grosmac-lead=sent)
 * -------------------------------------------------------------------------
 * Dominant, single-task confirmation block: a green check, a thank-you
 * headline, a short explanation and a primary CTA back into the catalogue.
 * Replaces the entire form node so the visitor cannot wonder whether they
 * need to resubmit. Aligned with the industrial straight-edge aesthetic of
 * the rest of the site (square corners, brand accent line at the top).
 */
:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-success {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 36px 32px;
	background: var(--gm-color-canvas, #f7f7f5);
	border: 1px solid var(--gm-color-line, #d8d3ca);
	border-top: 3px solid var(--gm-color-brand, #f39200);
	color: var(--gm-color-ink, #221f20);
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-success__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: #1f7a4d;
	color: #fff;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-success__eyebrow {
	margin: 0;
	font-size: 12px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	/* Theme bridges colour links inside .gm-static-page to the brand orange;
	   we keep the eyebrow strong-orange explicitly so contrast survives the
	   cascade without relying on the link colour rules elsewhere. */
	color: #ea5b0c;
	font-weight: 800;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-success__title {
	margin: 0;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
	font-weight: 800;
	color: var(--gm-color-ink, #221f20);
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-success__lead {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--gm-color-ink, #221f20);
	max-width: 60ch;
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-success__hint {
	margin: 0;
	font-size: 13px;
	color: var(--gm-color-muted, #6b6867);
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-success__cta {
	margin-top: 6px;
}

/* Anchor styles inside .gm-static-page default to brand orange (rule
   `body.gm-static-page .site-main .entry-content a` wins on specificity),
   so we mirror the same class chain here AND pin colours explicitly to
   keep the CTA readable (dark ink on orange). */
body.gm-static-page .site-main .entry-content a.grosmac-lead-success__btn,
body.gm-static-page a.grosmac-lead-success__btn,
.editor-styles-wrapper a.grosmac-lead-success__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	background: #f39200;
	color: #221f20;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid #221f20;
	box-shadow: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

body.gm-static-page .site-main .entry-content a.grosmac-lead-success__btn:hover,
body.gm-static-page .site-main .entry-content a.grosmac-lead-success__btn:focus,
body.gm-static-page a.grosmac-lead-success__btn:hover,
body.gm-static-page a.grosmac-lead-success__btn:focus,
.editor-styles-wrapper a.grosmac-lead-success__btn:hover,
.editor-styles-wrapper a.grosmac-lead-success__btn:focus {
	background: #ea5b0c;
	color: #ffffff;
	transform: translateY(-1px);
}

:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-success__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

body.gm-static-page .site-main .entry-content .grosmac-lead-success__links a,
body.gm-static-page .grosmac-lead-success__links a,
.editor-styles-wrapper .grosmac-lead-success__links a {
	color: #221f20;
	text-decoration: none;
	border-bottom: 1px solid var(--gm-color-line, #d8d3ca);
	padding-bottom: 1px;
	font-weight: 600;
}

body.gm-static-page .site-main .entry-content .grosmac-lead-success__links a:hover,
body.gm-static-page .site-main .entry-content .grosmac-lead-success__links a:focus,
body.gm-static-page .grosmac-lead-success__links a:hover,
body.gm-static-page .grosmac-lead-success__links a:focus {
	color: #ea5b0c;
	border-bottom-color: currentColor;
}

/* -------------------------------------------------------------------------
 * 5. Responsive
 * ------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-service-grid--three,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero:not(.gm-solutions-hero--v2) {
		grid-template-columns: 1fr;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav.wp-block-columns {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-bread-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-band {
		grid-template-columns: 1fr;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-quote-layout {
		grid-template-columns: 1fr;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-grid,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-rail__nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	html, :is(body.gm-static-page, .editor-styles-wrapper) {
		overflow-x: hidden;
		max-width: 100vw;
	}

	body.gm-static-page .site-main,
	body.gm-static-page .site-main > article,
	body.gm-static-page .gm-static-template,
	body.gm-static-page .gm-static-template__article,
	:is(body.gm-static-page, .editor-styles-wrapper) .entry-content,
	:is(body.gm-static-page, .editor-styles-wrapper) .entry-content > *,
	:is(body.gm-static-page, .editor-styles-wrapper) .entry-content .wp-block-group,
	:is(body.gm-static-page, .editor-styles-wrapper) .entry-content .wp-block-column,
	:is(body.gm-static-page, .editor-styles-wrapper) .entry-content .wp-block-columns {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.gm-static-page .site-main > article,
	body.gm-static-page .gm-static-template__article {
		max-width: calc(100vw - 24px);
		margin-bottom: 48px;
		padding-top: 22px;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero *,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero .wp-block-group {
		min-width: 0;
		max-width: 100%;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero {
		overflow: hidden;
		padding: 18px !important;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero > .wp-block-group {
		width: 100%;
	}

	body.gm-static-page .site-main .entry-content h1,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero h1 {
		font-size: var(--gm-title-hero);
		letter-spacing: -0.04em;
		line-height: 1.08;
		overflow-wrap: break-word;
		word-break: break-word;
		hyphens: none;
		text-shadow: none;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-lead {
		font-size: 15px;
		line-height: 1.5 !important;
		overflow-wrap: break-word;
		word-break: break-word;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero p {
		font-size: 14.5px;
		line-height: 1.55;
		overflow-wrap: break-word;
		word-break: break-word;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row {
		gap: 12px;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row .gm-icon-block {
		width: 40px;
		height: 40px;
		--gm-icon-tile-size: 40px;
		--gm-icon-tile-inset: 3px;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial__row h2 {
		font-size: clamp(20px, 5.5vw, 26px) !important;
	}

	body.gm-static-page .site-main .entry-content .wpcf7,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-editorial,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-advantages,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-band {
		padding: 20px;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-stat-grid {
		grid-template-columns: 1fr;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-bread-strip {
		grid-template-columns: 1fr;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero__bread,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-solution-finder__grid,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-proof-strip,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-process-flow,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-check-grid,
	:is(body.gm-static-page, .editor-styles-wrapper) .grosmac-lead-form__grid {
		grid-template-columns: 1fr;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero__bread span:first-child {
		grid-column: auto;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-static-card {
		padding: 18px 18px 20px;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero__panel div {
		grid-template-columns: 32px 1fr;
		padding: 16px;
	}

	/*
	 * Mobile hero grids: collapse two-column heroes to a single column.
	 *
	 * Default desktop CSS uses `minmax(0, Xfr) minmax(280px, Yfr)` for the
	 * pillar/utility/about heroes. On viewports < ~600px the right column's
	 * hard 280px minimum starves the left column down to ~6px, which makes
	 * the H1 wrap one character per line (literal vertical text). Forcing
	 * `grid-template-columns: 1fr` here restores normal flow so the H1,
	 * intro paragraph and CTAs render full width above the side panel.
	 *
	 * Affects: how-we-work, complete-bakery-lines, ciabatta-production-line,
	 * high-hydration-dough-equipment, dough-dividing-rounding,
	 * pizza-dough-divider, artisan-bakery-equipment,
	 * industrial-bakery-machinery, bakery-equipment-for-export.
	 * `.gm-solutions-hero--v2` already collapses correctly, so we exclude it.
	 */
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-intent-hero.gm-next-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-intent-hero--pillar.gm-next-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-intent-hero--utility.gm-next-hero,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-solutions-hero:not(.gm-solutions-hero--v2) {
		grid-template-columns: 1fr;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__copy,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero > .wp-block-group,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split > .wp-block-group {
		width: 100%;
		min-width: 0;
	}

	:is(body.gm-static-page, .editor-styles-wrapper) .gm-next-hero__copy h1,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-hero h1,
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-about-split h1 {
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce), (max-width: 900px) {
	:is(body.gm-static-page, .editor-styles-wrapper) .gm-parallax-field {
		background-attachment: scroll;
	}
}

/* Promo-flexible & catalogue layout fixes live in 26-promos.css since
 * v0.5.7 — they need to load on home/shop where this file is skipped. */

/* Bread and machinery opt into the hybrid tile without changing corporate,
 * service or social icon blocks. */
body.gm-static-page .gm-icon-block:has(> :is(.gm-icon--category-bread, .gm-icon--category-machine)),
body.gm-static-page :is(
	.gm-about-hero__panel,
	.gm-about-icon-card,
	.gm-about-editorial__row,
	.gm-about-split > .wp-block-column,
	.gm-demo-center__panel,
	.gm-next-hero__metric,
	.gm-check-grid .gm-static-card,
	.gm-solution-line-card
) .gm-icon-block:has(> :is(.gm-icon--category-bread, .gm-icon--category-machine)) {
	--gm-icon-context-corner-length: 18px;
	--gm-icon-context-corner-width: 3px;
	background: var(--gm-icon-context-tile);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--gm-color-ink, #221f20);
}

body.gm-static-page .gm-icon-block:has(> :is(.gm-icon--category-bread, .gm-icon--category-machine)) > .gm-icon {
	color: var(--gm-color-ink, #221f20) !important;
	stroke-width: var(--gm-icon-source-stroke, 1.3) !important;
}
