/* ==========================================================================
   Gruporatz — sistema visual
   Negro + papel + naranja Ratz (#FF6100), los colores del logo.
   Tipografía: Archivo (títulos, eje de ancho) + IBM Plex Sans (texto).
   ========================================================================== */

:root {
	--gr-ink: #141414;
	--gr-ink-2: #1d1d1d;
	--gr-ink-3: #2b2b2b;
	--gr-on-ink: #f4f2ee;
	--gr-on-ink-muted: #b3b0aa;
	--gr-ink-line: rgba(244, 242, 238, 0.14);

	--gr-paper: #f6f4f1;
	--gr-white: #ffffff;
	--gr-line: #ddd8d0;
	--gr-line-soft: #ebe7e0;
	--gr-text: #2a2a2a;
	--gr-muted: #5e5e5e;

	--gr-signal: #ff6100;
	--gr-signal-hover: #ff7a26;
	--gr-signal-deep: #a83f00;

	--gr-ok: #0b6b3a;
	--gr-ok-bg: #e8f4ec;
	--gr-error: #b42318;
	--gr-error-bg: #fdecea;

	--gr-font-head: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--gr-font-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--gr-wrap: 1200px;
	--gr-gutter: clamp(20px, 5vw, 48px);
	--gr-band-y: clamp(64px, 8vw, 116px);
	--gr-radius: 4px;
	--gr-radius-lg: 8px;
	--gr-header-h: 76px;

	--gr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--gr-header-h) + 16px);
	scrollbar-color: #9aa5ad var(--gr-paper);
}

body {
	margin: 0;
	background: var(--gr-paper);
	color: var(--gr-text);
	font-family: var(--gr-font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-variant-numeric: tabular-nums;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--gr-signal); }

::selection { background: var(--gr-signal); color: var(--gr-ink); }

:focus { outline: none; }
:focus-visible {
	outline: 3px solid var(--gr-signal);
	outline-offset: 3px;
	border-radius: 2px;
}

h1, h2, h3, h4 {
	font-family: var(--gr-font-head);
	font-stretch: 88%;
	font-weight: 650;
	line-height: 1.12;
	letter-spacing: -0.012em;
	color: var(--gr-head, var(--gr-ink));
	margin: 0;
	text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}

.gr-skip {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--gr-signal); color: var(--gr-ink);
	padding: 10px 16px; font-weight: 600; border-radius: var(--gr-radius);
	text-decoration: none;
}
.gr-skip:focus { top: 12px; }

.gr-wrap {
	width: 100%;
	max-width: calc(var(--gr-wrap) + var(--gr-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gr-gutter);
}

.gr-icon { flex: none; width: 1.15em; height: 1.15em; }

/* ---------- Bandas (fondos de sección) ---------- */
.gr-band { padding-block: var(--gr-band-y); position: relative; }
.gr-band--paper { background: var(--gr-paper); }
.gr-band--white { background: var(--gr-white); }
.gr-band--ink {
	background: var(--gr-ink);
	color: var(--gr-on-ink);
	--gr-head: var(--gr-on-ink);
	--gr-muted: var(--gr-on-ink-muted);
	--gr-line: var(--gr-ink-line);
	--gr-line-soft: var(--gr-ink-line);
}
.gr-band--ink ::selection { background: var(--gr-signal); color: var(--gr-ink); }

/* ---------- Tipografía de sección ---------- */
.gr-h2 { font-size: clamp(1.85rem, 1.25rem + 1.9vw, 2.75rem); }
.gr-h3 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem); margin-bottom: 28px; }
.gr-lead { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.1875rem); color: var(--gr-muted); max-width: 60ch; }

.gr-head { margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 16px; }
.gr-head--split { grid-template-columns: minmax(0, 1fr); align-items: end; }
.gr-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
@media (min-width: 900px) {
	.gr-head--split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(32px, 6vw, 96px); }
	.gr-head--split .gr-lead { justify-self: end; }
}

/* ---------- Botones y enlaces ---------- */
.gr-btn {
	--gr-btn-bg: var(--gr-ink);
	--gr-btn-fg: var(--gr-white);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 22px;
	border: 1.5px solid var(--gr-btn-bg);
	border-radius: var(--gr-radius);
	background: var(--gr-btn-bg); color: var(--gr-btn-fg);
	font-family: var(--gr-font-body); font-size: 1rem; font-weight: 600; line-height: 1.1;
	text-decoration: none; cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--gr-ease);
}
.gr-btn .gr-icon { transition: transform 200ms var(--gr-ease); }
.gr-btn:hover .gr-icon { transform: translateX(3px); }
.gr-btn:active { transform: translateY(1px); }
.gr-btn--signal { --gr-btn-bg: var(--gr-signal); --gr-btn-fg: var(--gr-ink); }
.gr-btn--signal:hover { --gr-btn-bg: var(--gr-signal-hover); }
.gr-btn--ink { --gr-btn-bg: var(--gr-ink); --gr-btn-fg: var(--gr-white); }
.gr-btn--ink:hover { --gr-btn-bg: var(--gr-ink-3); }
.gr-btn--ghost { background: transparent; color: var(--gr-ink); border-color: var(--gr-ink); }
.gr-btn--ghost:hover { background: var(--gr-ink); color: var(--gr-white); }
.gr-btn--ghost-light { background: transparent; color: var(--gr-on-ink); border-color: rgba(238, 242, 244, 0.45); }
.gr-btn--ghost-light:hover { border-color: var(--gr-on-ink); background: rgba(238, 242, 244, 0.06); }
.gr-btn--sm { min-height: 42px; padding: 0 16px; font-size: 0.9375rem; }
.gr-btn--block { width: 100%; }
.gr-btn[disabled], .gr-btn.is-loading { opacity: 0.6; cursor: progress; }

.gr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.gr-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; text-decoration: underline; text-decoration-color: var(--gr-signal);
	text-decoration-thickness: 2px; text-underline-offset: 0.3em;
}
.gr-link .gr-icon { transition: transform 200ms var(--gr-ease); }
.gr-link:hover .gr-icon { transform: translateX(3px); }
.gr-more { margin-top: 40px; }

/* Etiquetas de normativa */
.gr-norms { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.gr-norms li {
	font-family: var(--gr-font-head); font-stretch: 92%; font-weight: 600;
	font-size: 0.8125rem; line-height: 1; letter-spacing: 0.01em;
	padding: 6px 8px; border: 1px solid var(--gr-line); border-radius: 3px;
	color: var(--gr-text); background: transparent; white-space: nowrap;
}
.gr-norms--light li { color: var(--gr-on-ink); border-color: rgba(238, 242, 244, 0.28); }

/* ---------- Header ---------- */
.gr-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--gr-line-soft);
	transition: box-shadow 200ms ease;
}
.admin-bar .gr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .gr-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .gr-header { top: 0; } }
.gr-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.25); }
.gr-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--gr-header-h); }
.gr-header__brand { flex: none; }
.gr-header .custom-logo { max-height: 44px; width: auto; }

.gr-wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gr-ink); }
.gr-wordmark__mark {
	width: 22px; height: 22px; flex: none; border-radius: 2px;
	background: linear-gradient(135deg, var(--gr-signal) 0 50%, var(--gr-ink) 50% 100%);
}
.gr-wordmark__text { font-family: var(--gr-font-head); font-stretch: 82%; font-weight: 750; font-size: 1.45rem; letter-spacing: -0.02em; }
.gr-footer .gr-wordmark { color: var(--gr-on-ink); }
.gr-footer .gr-wordmark__mark { background: linear-gradient(135deg, var(--gr-signal) 0 50%, var(--gr-on-ink) 50% 100%); }

.gr-nav { display: flex; align-items: center; gap: 28px; }
.gr-nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.gr-nav__list a {
	display: block; padding: 10px 12px; border-radius: var(--gr-radius);
	font-weight: 500; font-size: 0.98rem; text-decoration: none; color: var(--gr-ink);
}
.gr-nav__list a:hover { background: var(--gr-paper); }
.gr-nav__list .current-menu-item > a,
.gr-nav__list .current_page_item > a,
.gr-nav__list .current-menu-ancestor > a,
.gr-nav__list .current_page_parent > a {
	box-shadow: inset 0 -2px 0 var(--gr-signal);
	border-radius: 0;
}
.gr-nav__list .sub-menu {
	list-style: none; position: absolute; min-width: 240px; padding: 8px;
	background: var(--gr-white); border: 1px solid var(--gr-line-soft); border-radius: var(--gr-radius-lg);
	box-shadow: 0 16px 40px -20px rgba(16, 28, 37, 0.35);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity 160ms ease, transform 160ms var(--gr-ease), visibility 160ms;
}
.gr-nav__list li { position: relative; }
.gr-nav__list li:hover > .sub-menu,
.gr-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.gr-burger {
	display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
	border: 1px solid var(--gr-line); border-radius: var(--gr-radius); background: var(--gr-white); color: var(--gr-ink); cursor: pointer;
}
.gr-burger .gr-icon { width: 24px; height: 24px; }
.gr-burger__close { display: none; }
.gr-burger[aria-expanded="true"] .gr-burger__open { display: none; }
.gr-burger[aria-expanded="true"] .gr-burger__close { display: inline-flex; }

@media (max-width: 1023px) {
	.gr-burger { display: inline-flex; }
	.gr-nav {
		position: fixed; inset: var(--gr-header-h) 0 auto 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--gr-gutter) 28px;
		background: var(--gr-white); border-bottom: 1px solid var(--gr-line-soft);
		box-shadow: 0 24px 40px -24px rgba(16, 28, 37, 0.35);
		max-height: calc(100vh - var(--gr-header-h)); overflow-y: auto;
		display: none;
	}
	.admin-bar .gr-nav { inset-block-start: calc(var(--gr-header-h) + 46px); }
	.gr-nav.is-open { display: flex; }
	.gr-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.gr-nav__list a { padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--gr-line-soft); border-radius: 0; }
	.gr-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.gr-nav__cta { min-height: 52px; }
}

/* ---------- Hero ---------- */
.gr-hero { padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 128px); overflow: hidden; }
.gr-hero__contours {
	position: absolute; inset: 0; pointer-events: none;
	background: url("../img/contours.svg") center / cover no-repeat;
	opacity: 0.075;
}
.gr-hero__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1024px) {
	.gr-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.gr-hero__title {
	font-size: clamp(2.35rem, 1.45rem + 3.6vw, 4.3rem);
	font-stretch: 84%; font-weight: 680; line-height: 1.02; letter-spacing: -0.022em;
	max-width: 16ch;
}
.gr-hero__lead { margin-top: 24px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--gr-on-ink-muted); max-width: 56ch; }

.gr-hero__panel {
	border: 1px solid var(--gr-ink-line); border-radius: var(--gr-radius-lg);
	background: rgba(29, 29, 29, 0.78);
	padding: 24px clamp(20px, 3vw, 28px) 8px;
}
.gr-hero__panel-title {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--gr-font-head); font-stretch: 90%; font-weight: 600; font-size: 1.05rem;
	color: var(--gr-on-ink); padding-bottom: 16px; border-bottom: 1px solid var(--gr-ink-line);
}
.gr-hero__panel-title .gr-icon { color: var(--gr-signal); }
.gr-normlist { margin: 0; }
.gr-normlist__row {
	display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: baseline;
	padding: 13px 0; border-bottom: 1px solid var(--gr-ink-line);
}
.gr-normlist__row:last-child { border-bottom: 0; }
.gr-normlist dt { font-family: var(--gr-font-head); font-stretch: 92%; font-weight: 650; color: var(--gr-signal); font-size: 0.98rem; }
.gr-normlist dd { margin: 0; color: var(--gr-on-ink-muted); font-size: 0.95rem; line-height: 1.45; }

.gr-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--gr-radius-lg); }

/* Momento de entrada: un solo movimiento coreografiado, desde un estado ya visible. */
@media (prefers-reduced-motion: no-preference) {
	.gr-js .gr-hero__copy > *,
	.gr-js .gr-hero__panel,
	.gr-js .gr-hero__media {
		animation: gr-rise 700ms var(--gr-ease) both;
	}
	.gr-js .gr-hero__copy > :nth-child(2) { animation-delay: 70ms; }
	.gr-js .gr-hero__copy > :nth-child(3) { animation-delay: 140ms; }
	.gr-js .gr-hero__panel, .gr-js .gr-hero__media { animation-delay: 200ms; }
}
@keyframes gr-rise {
	from { opacity: 0.35; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Respaldo ---------- */
.gr-trust { padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--gr-line-soft); }
.gr-trust__grid { display: grid; gap: 32px; }
.gr-trust__title { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem); max-width: 18ch; }
.gr-trust__list { list-style: none; display: grid; gap: 28px 40px; }
.gr-trust__list li { display: flex; gap: 14px; }
.gr-trust__list .gr-icon { color: var(--gr-signal-deep); margin-top: 3px; width: 22px; height: 22px; }
.gr-trust__list h3 { font-size: 1.0625rem; font-stretch: 92%; margin-bottom: 4px; }
.gr-trust__list p { color: var(--gr-muted); font-size: 0.97rem; }
@media (min-width: 720px) { .gr-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gr-trust__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }

/* ---------- Índice de servicios ---------- */
.gr-svc-group + .gr-svc-group { margin-top: clamp(40px, 5vw, 64px); }
.gr-svc-group__head { display: grid; gap: 4px; margin-bottom: 8px; }
.gr-svc-group__title { font-size: 1.25rem; font-stretch: 90%; }
.gr-svc-group__title a { text-decoration: none; }
.gr-svc-group__title a:hover { text-decoration: underline; text-decoration-color: var(--gr-signal); }
.gr-svc-group__head p { color: var(--gr-muted); font-size: 0.97rem; max-width: 70ch; }

.gr-svc-list { list-style: none; border-top: 1.5px solid var(--gr-ink); }
.gr-band--ink .gr-svc-list { border-top-color: var(--gr-on-ink); }
.gr-svc { border-bottom: 1px solid var(--gr-line); }
.gr-svc__link {
	display: grid; gap: 8px 32px; align-items: center;
	grid-template-columns: minmax(0, 1fr) 28px;
	grid-template-areas: "name go" "summary summary" "norms norms";
	padding: 22px 12px 22px 0; text-decoration: none;
	transition: background-color 180ms ease, padding 220ms var(--gr-ease);
}
.gr-svc__name { grid-area: name; font-family: var(--gr-font-head); font-stretch: 90%; font-weight: 620; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.25; color: var(--gr-ink); }
.gr-band--ink .gr-svc__name { color: var(--gr-on-ink); }
.gr-svc__summary { grid-area: summary; color: var(--gr-muted); font-size: 0.97rem; max-width: 62ch; }
.gr-svc__norms { grid-area: norms; }
.gr-svc__go { grid-area: go; justify-self: end; color: var(--gr-ink); transition: transform 220ms var(--gr-ease); }
.gr-svc__go .gr-icon { width: 22px; height: 22px; }
.gr-svc__link:hover { background: var(--gr-white); padding-left: 12px; }
.gr-band--white .gr-svc__link:hover { background: var(--gr-paper); }
.gr-svc__link:hover .gr-svc__go { transform: translateX(4px); color: var(--gr-signal-deep); }
.gr-svc__link:hover .gr-svc__name { text-decoration: underline; text-decoration-color: var(--gr-signal); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
@media (min-width: 960px) {
	.gr-svc__link {
		grid-template-columns: minmax(0, 4.2fr) minmax(0, 4.6fr) minmax(0, 2.6fr) 28px;
		grid-template-areas: "name summary norms go";
		padding-block: 24px;
	}
	.gr-svc__norms { justify-content: flex-start; }
}

.gr-empty { padding: 24px; border: 1px dashed var(--gr-line); border-radius: var(--gr-radius); color: var(--gr-muted); }

/* ---------- Sectores ---------- */
.gr-sectors__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
	.gr-sectors__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
	.gr-sectors .gr-head { position: sticky; top: calc(var(--gr-header-h) + 40px); }
}
.gr-sectors__list { margin: 0; border-top: 1px solid var(--gr-ink-line); }
.gr-sectors__row { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--gr-ink-line); }
.gr-sectors__row dt { font-family: var(--gr-font-head); font-stretch: 88%; font-weight: 640; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); color: var(--gr-on-ink); }
.gr-sectors__row dd { margin: 0; color: var(--gr-on-ink-muted); max-width: 58ch; }
@media (min-width: 720px) { .gr-sectors__row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: baseline; } }

/* ---------- Proceso ---------- */
.gr-steps { list-style: none; display: grid; gap: 0; counter-reset: none; }
.gr-step { position: relative; padding: 28px 0 28px 64px; border-top: 1px solid var(--gr-line); }
.gr-step__n {
	position: absolute; left: 0; top: 26px;
	width: 40px; height: 40px; display: grid; place-items: center;
	border: 1.5px solid var(--gr-ink); border-radius: 50%;
	font-family: var(--gr-font-head); font-weight: 650; font-size: 1rem;
}
.gr-step:first-child .gr-step__n { background: var(--gr-signal); border-color: var(--gr-signal); }
.gr-step__title { font-size: 1.2rem; font-stretch: 90%; margin-bottom: 8px; }
.gr-step p { color: var(--gr-muted); font-size: 0.98rem; }
@media (min-width: 900px) {
	.gr-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
	.gr-step { padding: 72px 0 0; border-top: 0; }
	.gr-step::before { content: ""; position: absolute; left: 0; right: -32px; top: 20px; height: 1.5px; background: var(--gr-line); }
	.gr-step:last-child::before { right: 0; }
	.gr-step__n { top: 0; background: var(--gr-paper); }
	.gr-band--white .gr-step__n { background: var(--gr-white); }
}

/* ---------- Propuesta de valor ---------- */
.gr-split__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .gr-split__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; } }
.gr-split__intro .gr-lead { margin-top: 20px; }
.gr-split__media { margin: 32px 0 0; }
.gr-split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--gr-radius-lg); }
.gr-points { list-style: none; }
.gr-points li { padding: 26px 0; border-top: 1px solid var(--gr-line); }
.gr-points li:last-child { border-bottom: 1px solid var(--gr-line); }
.gr-points h3 { font-size: 1.25rem; font-stretch: 90%; margin-bottom: 8px; }
.gr-points p { color: var(--gr-muted); max-width: 60ch; }

/* ---------- Noticias ---------- */
.gr-postlist { display: grid; gap: 24px; }
@media (min-width: 720px) { .gr-postlist--2, .gr-postlist--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gr-postlist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gr-postlist--1 { max-width: 760px; }
.gr-post {
	display: flex; flex-direction: column; background: var(--gr-white);
	border: 1px solid var(--gr-line-soft); border-radius: var(--gr-radius-lg); overflow: hidden;
	transition: border-color 180ms ease, transform 220ms var(--gr-ease);
}
.gr-band--white .gr-post { background: var(--gr-paper); }
.gr-post:hover { border-color: var(--gr-ink); }
.gr-post__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gr-post__body { padding: 24px; display: grid; gap: 10px; }
.gr-post__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.875rem; color: var(--gr-muted); }
.gr-post__meta span, .gr-post__meta a { font-weight: 600; color: var(--gr-signal-deep); text-decoration: none; }
.gr-post__meta--light { color: var(--gr-on-ink-muted); margin-bottom: 14px; }
.gr-post__meta--light a { color: var(--gr-signal); }
.gr-post__title { font-size: 1.25rem; font-stretch: 90%; line-height: 1.25; }
.gr-post__title a { text-decoration: none; }
.gr-post__title a::after { content: ""; position: absolute; inset: 0; }
.gr-post { position: relative; }
.gr-post__title a:hover { text-decoration: underline; text-decoration-color: var(--gr-signal); }
.gr-post__excerpt { color: var(--gr-muted); font-size: 0.97rem; }

.gr-pagination { margin-top: 48px; }
.gr-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.gr-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--gr-line); border-radius: var(--gr-radius); text-decoration: none; font-weight: 600; background: var(--gr-white);
}
.gr-pagination .page-numbers.current { background: var(--gr-ink); color: var(--gr-white); border-color: var(--gr-ink); }

/* ---------- Preguntas frecuentes ---------- */
.gr-faq__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .gr-faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; } }
.gr-faq__list { border-top: 1.5px solid var(--gr-ink); }
.gr-qa { border-bottom: 1px solid var(--gr-line); }
.gr-qa summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
	padding: 22px 0; font-family: var(--gr-font-head); font-stretch: 92%; font-weight: 600; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.35;
}
.gr-qa summary::-webkit-details-marker { display: none; }
.gr-qa summary .gr-icon { width: 22px; height: 22px; margin-top: 2px; transition: transform 220ms var(--gr-ease); color: var(--gr-signal-deep); }
.gr-qa[open] summary .gr-icon { transform: rotate(45deg); }
.gr-qa summary:hover span { text-decoration: underline; text-decoration-color: var(--gr-signal); text-underline-offset: 0.22em; }
.gr-qa__a { padding: 0 48px 24px 0; color: var(--gr-muted); max-width: 70ch; }
.gr-qa__a p + p { margin-top: 12px; }

/* ---------- Llamado a la acción (el momento en ámbar) ---------- */
.gr-cta { --gr-head: var(--gr-ink); background: var(--gr-signal); color: var(--gr-ink); padding-block: clamp(56px, 7vw, 96px); }
.gr-cta ::selection { background: var(--gr-ink); color: var(--gr-signal); }
.gr-cta__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1024px) { .gr-cta__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; } }
.gr-cta__title { font-size: clamp(1.85rem, 1.25rem + 2vw, 2.9rem); font-stretch: 84%; font-weight: 680; max-width: 22ch; }
.gr-cta__text { margin-top: 16px; font-size: 1.125rem; color: #1f0c00; max-width: 58ch; }
.gr-cta__actions { display: grid; gap: 20px; justify-items: start; }
.gr-cta__contact { list-style: none; display: grid; gap: 8px; }
.gr-cta__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.gr-cta__contact a:hover { text-decoration: underline; text-decoration-color: var(--gr-ink); }
.gr-cta :focus-visible { outline-color: var(--gr-ink); }

/* ---------- Encabezado de páginas interiores ---------- */
.gr-pagehead { padding-block: clamp(40px, 5vw, 64px) clamp(48px, 6vw, 80px); overflow: hidden; }
.gr-pagehead .gr-wrap { position: relative; }
.gr-pagehead__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); font-stretch: 86%; font-weight: 670; line-height: 1.05; max-width: 22ch; }
.gr-pagehead__lead { margin-top: 18px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem); color: var(--gr-on-ink-muted); max-width: 64ch; }
.gr-pagehead .gr-norms { margin-top: 24px; }
.gr-pagehead .gr-actions { margin-top: 28px; }

.gr-crumbs { margin-bottom: 28px; font-size: 0.9rem; }
.gr-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.gr-crumbs li { color: var(--gr-on-ink-muted); }
.gr-crumbs li + li::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.gr-crumbs a { color: var(--gr-on-ink); text-decoration-color: rgba(238, 242, 244, 0.35); }
.gr-crumbs a:hover { text-decoration-color: var(--gr-signal); }
.gr-crumbs [aria-current] { color: var(--gr-on-ink-muted); }

/* ---------- Contenido editorial ---------- */
.gr-prose-wrap .gr-prose, .gr-prose-wrap .gr-single__media { max-width: 760px; }
.gr-prose { font-size: 1.0625rem; line-height: 1.7; max-width: 70ch; }
.gr-prose > * + * { margin-top: 1.1em; }
.gr-prose h2 { font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.85rem); margin-top: 2em; }
.gr-prose h3 { font-size: 1.25rem; margin-top: 1.7em; }
.gr-prose h2 + *, .gr-prose h3 + * { margin-top: 0.6em; }
.gr-prose > :first-child { margin-top: 0; }
.gr-prose ul, .gr-prose ol { padding-left: 1.3em; }
.gr-prose li + li { margin-top: 0.45em; }
.gr-prose ul li::marker { color: var(--gr-signal-deep); }
.gr-prose ol li::marker { color: var(--gr-signal-deep); font-weight: 600; }
.gr-prose a { color: var(--gr-ink); text-decoration-color: var(--gr-signal); text-decoration-thickness: 2px; font-weight: 500; }
.gr-prose strong { font-weight: 600; color: var(--gr-ink); }
.gr-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--gr-line); font-family: var(--gr-font-head); font-stretch: 92%; font-size: 1.25rem; }
.gr-prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.gr-prose th, .gr-prose td { padding: 10px 12px; border-bottom: 1px solid var(--gr-line); text-align: left; vertical-align: top; }
.gr-prose th { font-weight: 600; color: var(--gr-ink); }
.gr-prose img { border-radius: var(--gr-radius-lg); }
.gr-prose details { border-top: 1px solid var(--gr-line); padding: 0; }
.gr-prose details:last-of-type { border-bottom: 1px solid var(--gr-line); }
.gr-prose details + details { margin-top: 0; }
.gr-prose summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--gr-ink); }
.gr-prose summary::marker { color: var(--gr-signal-deep); }
.gr-prose details > p { padding-bottom: 16px; color: var(--gr-muted); }
.gr-single__media { margin: 0 0 40px; }
.gr-single__media img { width: 100%; border-radius: var(--gr-radius-lg); }

/* ---------- Página de servicio ---------- */
.gr-article { display: grid; gap: 48px; }
@media (min-width: 1024px) {
	.gr-article { grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; }
	.gr-factsheet { position: sticky; top: calc(var(--gr-header-h) + 24px); }
}
.gr-factsheet__box { border: 1px solid var(--gr-line); border-radius: var(--gr-radius-lg); padding: 24px; background: var(--gr-paper); }
.gr-factsheet__title { font-size: 1.1rem; font-stretch: 92%; margin-bottom: 16px; }
.gr-factsheet dl { margin: 0 0 24px; }
.gr-factsheet dt { font-size: 0.82rem; font-weight: 600; color: var(--gr-muted); margin-top: 14px; }
.gr-factsheet dt:first-child { margin-top: 0; }
.gr-factsheet dd { margin: 4px 0 0; font-weight: 500; color: var(--gr-ink); }
.gr-factsheet dd .gr-norms { margin-top: 6px; }
.gr-factsheet__phone { margin-top: 14px; font-size: 0.95rem; color: var(--gr-muted); text-align: center; }
.gr-factsheet__phone a { color: var(--gr-ink); font-weight: 600; }
.gr-related .gr-svc-list { margin-top: 0; }

/* ---------- Equipo ---------- */
.gr-people { list-style: none; display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.gr-person__photo {
	aspect-ratio: 4 / 5; border-radius: var(--gr-radius-lg); overflow: hidden;
	background: var(--gr-ink-2); display: grid; place-items: center;
}
.gr-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.gr-person__initials { font-family: var(--gr-font-head); font-stretch: 84%; font-weight: 650; font-size: 3.25rem; color: var(--gr-signal); letter-spacing: -0.02em; }
.gr-person__body { padding-top: 18px; display: grid; gap: 6px; }
.gr-person__name { font-size: 1.25rem; font-stretch: 90%; }
.gr-person__role { color: var(--gr-signal-deep); font-weight: 600; font-size: 0.97rem; }
.gr-person__bio { color: var(--gr-muted); font-size: 0.95rem; margin-top: 4px; }
.gr-person__creds { list-style: none; display: grid; gap: 4px; margin-top: 8px; font-size: 0.9rem; }
.gr-person__creds li { padding-left: 16px; position: relative; }
.gr-person__creds li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--gr-signal); border-radius: 1px; }
.gr-person__in { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 0.92rem; }
.gr-person__in span { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; }
.gr-person__in .gr-icon { width: 24px; height: 24px; }

/* ---------- Contacto y formulario ---------- */
.gr-contact__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .gr-contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; } }
.gr-contact__grid.is-single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.gr-contact__form .gr-lead { margin-top: 14px; margin-bottom: 32px; }
.gr-contact__aside { display: grid; gap: 32px; }
.gr-contact__aside > * { background: var(--gr-white); border: 1px solid var(--gr-line-soft); border-radius: var(--gr-radius-lg); padding: 24px; }
.gr-contact__aside h3 { font-size: 1.1rem; font-stretch: 92%; margin-bottom: 16px; }
.gr-contact__aside > h3 { background: none; border: 0; padding: 0; margin-bottom: -16px; }
.gr-contact__list { list-style: none; display: grid; gap: 18px; }
.gr-contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.gr-contact__list .gr-icon { margin-top: 3px; color: var(--gr-signal-deep); }
.gr-contact__list span { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gr-muted); }
.gr-contact__list a { font-weight: 600; text-decoration: none; color: var(--gr-ink); }
.gr-contact__list a:hover { text-decoration: underline; text-decoration-color: var(--gr-signal); }
.gr-contact__next ol { padding-left: 1.2em; display: grid; gap: 8px; color: var(--gr-muted); font-size: 0.97rem; }
.gr-contact__next li::marker { color: var(--gr-signal-deep); font-weight: 600; }

.gr-form__grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .gr-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gr-field--full { grid-column: 1 / -1; } }
.gr-field { display: grid; gap: 6px; align-content: start; }
.gr-field label { font-weight: 600; font-size: 0.95rem; color: var(--gr-ink); }
.gr-req { color: var(--gr-error); }
.gr-field input[type="text"],
.gr-field input[type="email"],
.gr-field input[type="tel"],
.gr-field select,
.gr-field textarea,
.gr-search input {
	width: 100%; min-height: 50px; padding: 12px 14px;
	font: inherit; font-size: 1rem; color: var(--gr-ink);
	background: var(--gr-white); border: 1.5px solid #c9c3b6; border-radius: var(--gr-radius);
	transition: border-color 150ms ease, box-shadow 150ms ease;
}
.gr-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.gr-field select {
	appearance: none; padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.gr-field input:hover, .gr-field select:hover, .gr-field textarea:hover { border-color: var(--gr-muted); }
.gr-field input:focus, .gr-field select:focus, .gr-field textarea:focus, .gr-search input:focus {
	outline: none; border-color: var(--gr-ink); box-shadow: 0 0 0 3px rgba(255, 97, 0, 0.45);
}
.gr-field ::placeholder { color: #8a949b; }
.gr-field.is-invalid input, .gr-field.is-invalid select, .gr-field.is-invalid textarea { border-color: var(--gr-error); }
.gr-field__error { color: var(--gr-error); font-size: 0.875rem; font-weight: 500; }
.gr-field--check { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.gr-field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gr-ink); }
.gr-field--check label { font-weight: 400; font-size: 0.95rem; color: var(--gr-text); }
.gr-field--check .gr-field__error { grid-column: 2; }
.gr-form__foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.gr-form__note { color: var(--gr-muted); font-size: 0.9rem; }
.gr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gr-notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--gr-radius-lg); margin-bottom: 28px; }
.gr-notice p { margin-top: 4px; }
.gr-notice--ok { background: var(--gr-ok-bg); color: var(--gr-ok); }
.gr-notice--ok strong, .gr-notice--ok p { color: #0a4b2a; }
.gr-notice--ok .gr-icon { width: 24px; height: 24px; }
.gr-notice--error { background: var(--gr-error-bg); color: #7a1a12; }

.gr-search { display: flex; gap: 8px; max-width: 560px; }
.gr-search .gr-btn { min-height: 50px; }
.gr-empty-state { display: grid; gap: 16px; justify-items: start; max-width: 620px; }

/* ---------- Pie ---------- */
.gr-footer { --gr-head: var(--gr-on-ink); background: var(--gr-ink); color: var(--gr-on-ink); padding-top: clamp(56px, 7vw, 88px); font-size: 0.97rem; }
.gr-footer ::selection { background: var(--gr-signal); color: var(--gr-ink); }
.gr-footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 900px) { .gr-footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 64px; } }
.gr-footer__brand p { margin-top: 18px; color: var(--gr-on-ink-muted); max-width: 46ch; }
.gr-footer__title { font-size: 0.95rem; font-stretch: 95%; font-weight: 600; color: var(--gr-on-ink); margin-bottom: 16px; }
.gr-footer__links, .gr-footer__contact { list-style: none; display: grid; gap: 10px; }
.gr-footer a { color: var(--gr-on-ink-muted); text-decoration: none; }
.gr-footer a:hover { color: var(--gr-on-ink); text-decoration: underline; text-decoration-color: var(--gr-signal); }
.gr-footer__contact li, .gr-footer__contact a { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--gr-on-ink-muted); }
.gr-footer__contact .gr-icon { margin-top: 3px; color: var(--gr-signal); }
.gr-footer__legal {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
	padding-block: 24px; color: var(--gr-on-ink-muted); font-size: 0.875rem; position: relative;
}
.gr-footer__legal::before { content: ""; position: absolute; top: 0; left: var(--gr-gutter); right: var(--gr-gutter); height: 1px; background: var(--gr-ink-line); }
.gr-footer__legal-links { list-style: none; display: flex; gap: 20px; }

/* ---------- Elementor: las secciones del tema ocupan todo el ancho ---------- */
.gr-is-elementor .elementor-widget[class*="elementor-widget-gr_"] { width: 100%; }
.elementor-widget[class*="elementor-widget-gr_"] > .elementor-widget-container { padding: 0; margin: 0; }
.elementor-editor-active .gr-hero__copy > *,
.elementor-editor-active .gr-hero__panel { animation: none !important; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Impresión ---------- */
@media print {
	.gr-header, .gr-footer, .gr-cta, .gr-form-wrap, .gr-hero__contours { display: none !important; }
	.gr-band--ink { background: #fff; color: #000; }
}

/* ---------- Variantes oscuras de secciones claras ---------- */
.gr-band--ink .gr-step__n { border-color: currentColor; background: var(--gr-ink); }
.gr-band--ink .gr-step:first-child .gr-step__n { color: var(--gr-ink); background: var(--gr-signal); border-color: var(--gr-signal); }
.gr-band--ink .gr-svc__go, .gr-band--ink .gr-trust__list .gr-icon, .gr-band--ink .gr-qa summary .gr-icon { color: var(--gr-signal); }
.gr-band--ink .gr-svc__link:hover { background: var(--gr-ink-2); }
.gr-band--ink .gr-faq__list, .gr-band--ink .gr-svc-list { border-top-color: var(--gr-on-ink); }
.gr-band--ink .gr-person__role, .gr-band--ink .gr-post__meta span { color: var(--gr-signal); }
.gr-band--ink .gr-field label, .gr-band--ink .gr-field--check label { color: var(--gr-on-ink); }
.gr-band--ink .gr-link { color: var(--gr-on-ink); }
.gr-band--ink .gr-norms li { color: var(--gr-on-ink); }

/* ---------- Logo ---------- */
.gr-logo { display: inline-flex; align-items: center; }
.gr-logo img { height: 38px; width: auto; }
.gr-logo--footer img { height: 34px; }
@media (max-width: 600px) { .gr-logo--header img { height: 32px; } }

/* ---------- Hero: isotipo como elemento visual ---------- */
.gr-hero__mark { display: none; }
@media (min-width: 1024px) {
	.gr-hero__mark { display: flex; justify-content: center; align-items: center; }
	.gr-hero__iso { width: min(100%, 360px); height: auto; color: var(--gr-signal); }
}
@media (prefers-reduced-motion: no-preference) {
	.gr-js .gr-hero__mark { animation: gr-rise 800ms var(--gr-ease) 160ms both; }
}

/* ---------- Servicios en vista compacta (portada) ---------- */
.gr-svc-cols { display: grid; gap: 40px; }
@media (min-width: 900px) { .gr-svc-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.gr-svc-col { border-top: 3px solid var(--gr-ink); padding-top: 20px; }
.gr-svc-col:first-child { border-top-color: var(--gr-signal); }
.gr-svc-col__title { font-size: 1.3rem; font-stretch: 88%; margin-bottom: 12px; }
.gr-svc-col__title a { text-decoration: none; }
.gr-svc-col__title a:hover { text-decoration: underline; text-decoration-color: var(--gr-signal); }
.gr-svc-col__list { list-style: none; }
.gr-svc-col__list li { border-bottom: 1px solid var(--gr-line); }
.gr-svc-col__list a {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 56px; padding: 12px 0; text-decoration: none; font-weight: 500; color: var(--gr-ink); line-height: 1.35;
	transition: padding 220ms var(--gr-ease), color 160ms ease;
}
.gr-svc-col__list .gr-icon { color: var(--gr-muted); transition: transform 220ms var(--gr-ease), color 160ms ease; }
.gr-svc-col__list a:hover { padding-left: 6px; }
.gr-svc-col__list a:hover .gr-icon { transform: translateX(3px); color: var(--gr-signal-deep); }

/* ==========================================================================
   v2 — Diseño dinámico: tarjetas, íconos, acentos naranjos y storytelling
   ========================================================================== */
:root {
	--gr-signal-tint: #fff0e6;
	--gr-radius-card: 16px;
	--gr-shadow: 0 1px 2px rgba(20, 20, 20, 0.06), 0 12px 32px -18px rgba(20, 20, 20, 0.28);
	--gr-shadow-hover: 0 2px 4px rgba(20, 20, 20, 0.06), 0 28px 48px -22px rgba(20, 20, 20, 0.38);
}

/* Íconos en baldosa */
.gr-tile {
	flex: none; display: inline-grid; place-items: center;
	width: 52px; height: 52px; border-radius: 14px;
	background: var(--gr-signal); color: var(--gr-ink);
}
.gr-tile .gr-icon { width: 26px; height: 26px; stroke-width: 1.9; }
.gr-tile--sm { width: 36px; height: 36px; border-radius: 10px; }
.gr-tile--sm .gr-icon { width: 19px; height: 19px; }
.gr-tile--lg { width: 64px; height: 64px; border-radius: 18px; }
.gr-tile--lg .gr-icon { width: 32px; height: 32px; }
.gr-tile--ink { background: var(--gr-ink); color: var(--gr-signal); }
.gr-tile--alert { background: rgba(255, 97, 0, 0.14); color: var(--gr-signal); border: 1px solid rgba(255, 97, 0, 0.4); }

/* Tarjeta base */
.gr-card {
	background: var(--gr-white); border: 1px solid var(--gr-line-soft); border-radius: var(--gr-radius-card);
	box-shadow: var(--gr-shadow);
	transition: transform 280ms var(--gr-ease), box-shadow 280ms var(--gr-ease), border-color 200ms ease;
}
.gr-card:hover { transform: translateY(-4px); box-shadow: var(--gr-shadow-hover); border-color: rgba(255, 97, 0, 0.45); }

/* Espacio para foto */
.gr-slot {
	position: relative; width: 100%; height: 100%; min-height: 160px;
	display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px; text-align: center;
	color: #6d675e; font-size: 0.875rem; font-weight: 500; line-height: 1.35;
	background-color: #ece8e1;
	background-image: repeating-linear-gradient(-45deg, rgba(20, 20, 20, 0.05) 0 2px, transparent 2px 14px);
	border: 2px dashed #c9c2b6; border-radius: inherit;
}
.gr-slot .gr-icon { width: 34px; height: 34px; color: var(--gr-signal-deep); }
.gr-slot span { max-width: 28ch; }
.gr-slot--dark {
	color: #c9c4bb; background-color: #232323; border-color: #4a4640;
	background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px);
}
.gr-slot--dark .gr-icon { color: var(--gr-signal); }
.gr-slot--soft { min-height: 0; aspect-ratio: 3 / 2; border-radius: 0; border-width: 0 0 2px; }
.gr-slot--person { aspect-ratio: 4 / 5; border-radius: inherit; }

/* Revelado al hacer scroll (solo con JS y sin movimiento reducido) */
@media (prefers-reduced-motion: no-preference) {
	.gr-reveal-on [data-gr-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 640ms var(--gr-ease), transform 640ms var(--gr-ease); transition-delay: calc(var(--d, 0) * 90ms); }
	.gr-reveal-on [data-gr-reveal].is-in { opacity: 1; transform: none; }
}
.elementor-editor-active [data-gr-reveal] { opacity: 1 !important; transform: none !important; }

/* Franja de seguridad */
.gr-stripes {
	position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
	background: repeating-linear-gradient(-45deg, var(--gr-signal) 0 18px, var(--gr-ink) 18px 36px);
}
.gr-stripes--thin { height: 8px; }

/* ---------- Hero v2 ---------- */
.gr-hero { padding-block: clamp(56px, 7vw, 104px) clamp(80px, 9vw, 136px); }
.gr-hero__glow {
	position: absolute; width: 760px; height: 760px; right: -180px; top: -220px; pointer-events: none;
	background: radial-gradient(closest-side, rgba(255, 97, 0, 0.22), rgba(255, 97, 0, 0));
}
.gr-hero__title { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.6rem); max-width: 15ch; }
.gr-hero__title::after { content: ""; display: block; width: 88px; height: 6px; margin-top: 28px; background: var(--gr-signal); border-radius: 3px; }
.gr-btn--lg { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }

.gr-hero__collage { position: relative; min-height: 420px; }
.gr-hero__iso-bg { position: absolute; left: -12%; top: -6%; width: 62%; color: var(--gr-signal); opacity: 0.95; }
.gr-hero__iso-bg svg { width: 100%; height: auto; display: block; }
.gr-hero__photo {
	position: relative; margin: 0 0 0 auto; width: 78%; aspect-ratio: 6 / 7;
	border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.gr-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.gr-hero__card {
	position: absolute; left: 0; bottom: -28px; width: min(300px, 70%);
	background: var(--gr-white); color: var(--gr-ink); border-radius: 18px; padding: 20px 20px 14px;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
}
.gr-hero__card-title { display: flex; align-items: center; gap: 10px; font-family: var(--gr-font-head); font-stretch: 90%; font-weight: 650; font-size: 1rem; margin-bottom: 8px; }
.gr-hero__card ul { list-style: none; }
.gr-hero__card li { display: grid; grid-template-columns: 20px auto 1fr; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--gr-line-soft); font-size: 0.9rem; }
.gr-hero__card li .gr-icon { color: var(--gr-signal-deep); width: 18px; height: 18px; stroke-width: 2.4; }
.gr-hero__card li strong { font-family: var(--gr-font-head); font-stretch: 92%; font-weight: 650; }
.gr-hero__card li span { color: var(--gr-muted); text-align: right; font-size: 0.82rem; }
.gr-hero__badge {
	position: absolute; right: -10px; top: 28px; width: 72px; height: 72px; border-radius: 50%;
	display: grid; place-items: center; background: var(--gr-signal); color: var(--gr-ink);
	box-shadow: 0 16px 32px -12px rgba(255, 97, 0, 0.7);
}
.gr-hero__badge .gr-icon { width: 34px; height: 34px; stroke-width: 1.9; }
@media (max-width: 1023px) {
	.gr-hero__collage { min-height: 0; margin-top: 8px; padding-bottom: 36px; }
	.gr-hero__photo { width: 100%; aspect-ratio: 4 / 3; }
	.gr-hero__iso-bg { width: 34%; left: auto; right: -6%; top: -14%; opacity: 0.9; z-index: 0; }
	.gr-hero__badge { width: 56px; height: 56px; top: -12px; right: 12px; }
	.gr-hero__card { left: 12px; bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
	.gr-js .gr-hero__collage { animation: gr-rise 800ms var(--gr-ease) 160ms both; }
	.gr-hero__badge { animation: gr-float 5s ease-in-out infinite; }
}
@keyframes gr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Cinta en movimiento ---------- */
.gr-marquee { background: var(--gr-signal); color: var(--gr-ink); overflow: hidden; padding: 18px 0; border-bottom: 2px solid var(--gr-ink); }
.gr-marquee__track { display: flex; width: max-content; }
.gr-marquee__row { list-style: none; display: flex; flex: none; }
.gr-marquee__row li { display: inline-flex; align-items: center; gap: 18px; padding-right: 40px; font-family: var(--gr-font-head); font-stretch: 85%; font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.6rem); letter-spacing: -0.01em; white-space: nowrap; }
.gr-marquee__dot { width: 18px; height: 21px; color: var(--gr-ink); }
@media (prefers-reduced-motion: no-preference) {
	.gr-marquee__track { animation: gr-marquee 38s linear infinite; }
	.gr-marquee:hover .gr-marquee__track { animation-play-state: paused; }
}
@keyframes gr-marquee { to { transform: translateX(-50%); } }

/* ---------- Storytelling: el problema ---------- */
.gr-head--center { text-align: center; justify-items: center; }
.gr-head--center .gr-h2 { max-width: 20ch; }
.gr-head--center .gr-lead { margin-inline: auto; }
.gr-story__cards { list-style: none; display: grid; gap: 20px; }
@media (min-width: 900px) { .gr-story__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.gr-story__card {
	position: relative; padding: 32px 28px; border-radius: var(--gr-radius-card);
	background: linear-gradient(180deg, #1f1f1f, #191919); border: 1px solid var(--gr-ink-line);
	transition: border-color 220ms ease, transform 280ms var(--gr-ease);
}
.gr-story__card:hover { border-color: rgba(255, 97, 0, 0.6); transform: translateY(-4px); }
.gr-story__card h3 { font-size: 1.3rem; margin: 22px 0 10px; }
.gr-story__card p { color: var(--gr-on-ink-muted); }
.gr-story__closing {
	display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left;
	margin: clamp(40px, 5vw, 64px) auto 0; max-width: 760px; padding: 22px 28px;
	border-radius: 999px; background: var(--gr-signal); color: var(--gr-ink);
	font-family: var(--gr-font-head); font-stretch: 88%; font-weight: 650; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.25;
}
.gr-story__iso { flex: none; width: 30px; color: var(--gr-ink); }
.gr-story__iso svg { width: 100%; height: auto; display: block; }
@media (max-width: 600px) { .gr-story__closing { border-radius: 20px; } }

/* ---------- Servicios en tarjetas ---------- */
.gr-svc-cards { display: grid; gap: 24px; }
@media (min-width: 960px) { .gr-svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gr-svc-card {
	display: flex; flex-direction: column; padding: 32px 28px 16px; border-radius: 20px;
	background: var(--gr-white); border: 1px solid var(--gr-line-soft); box-shadow: var(--gr-shadow);
	transition: transform 280ms var(--gr-ease), box-shadow 280ms var(--gr-ease);
}
.gr-svc-card:hover { transform: translateY(-6px); box-shadow: var(--gr-shadow-hover); }
.gr-svc-card--featured { background: var(--gr-ink); color: var(--gr-on-ink); border-color: var(--gr-ink); --gr-head: var(--gr-on-ink); }
.gr-svc-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.gr-svc-card__count { font-size: 0.82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--gr-signal-tint); color: var(--gr-signal-deep); }
.gr-svc-card--featured .gr-svc-card__count { background: rgba(255, 97, 0, 0.18); color: var(--gr-signal); }
.gr-svc-card__title { font-size: 1.55rem; font-stretch: 86%; }
.gr-svc-card__desc { margin-top: 8px; color: var(--gr-muted); font-size: 0.97rem; }
.gr-svc-card--featured .gr-svc-card__desc { color: var(--gr-on-ink-muted); }
.gr-svc-card__list { list-style: none; margin-top: 20px; }
.gr-svc-card__list li + li { border-top: 1px solid var(--gr-line-soft); }
.gr-svc-card--featured .gr-svc-card__list li + li { border-top-color: var(--gr-ink-line); }
.gr-svc-card__list a {
	display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0;
	text-decoration: none; font-weight: 500; font-size: 0.97rem; line-height: 1.35; color: inherit;
	transition: color 160ms ease, padding 220ms var(--gr-ease);
}
.gr-svc-card__list .gr-icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gr-paper); color: var(--gr-ink); transition: background 160ms ease, transform 220ms var(--gr-ease); }
.gr-svc-card--featured .gr-svc-card__list .gr-icon { background: rgba(255, 255, 255, 0.08); color: var(--gr-on-ink); }
.gr-svc-card__list a:hover { color: var(--gr-signal-deep); padding-left: 4px; }
.gr-svc-card--featured .gr-svc-card__list a:hover { color: var(--gr-signal); }
.gr-svc-card__list a:hover .gr-icon { background: var(--gr-signal); color: var(--gr-ink); transform: translateX(2px); }

/* ---------- Por qué confiar ---------- */
.gr-trust { padding-block: var(--gr-band-y); border-bottom: 0; }
.gr-trust__title { margin-bottom: clamp(32px, 4vw, 48px); max-width: 22ch; }
.gr-trust__list { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.gr-trust__list li { display: block; }
.gr-card--feature { padding: 28px 24px; }
.gr-card--feature h3 { font-size: 1.15rem; margin: 20px 0 8px; }
.gr-card--feature p { color: var(--gr-muted); font-size: 0.95rem; }
.gr-band--white .gr-card { background: var(--gr-paper); border-color: transparent; box-shadow: none; }
.gr-band--white .gr-card:hover { background: var(--gr-white); box-shadow: var(--gr-shadow-hover); border-color: rgba(255, 97, 0, 0.45); }

/* ---------- Proceso v2 ---------- */
.gr-process { overflow: hidden; }
.gr-process .gr-wrap { position: relative; }
.gr-steps { gap: 20px; }
.gr-step {
	padding: 28px 24px; border: 1px solid var(--gr-ink-line); border-radius: var(--gr-radius-card);
	background: rgba(255, 255, 255, 0.03); border-top: 1px solid var(--gr-ink-line);
	transition: border-color 200ms ease, background 200ms ease, transform 280ms var(--gr-ease);
}
.gr-step:hover { border-color: rgba(255, 97, 0, 0.6); background: rgba(255, 97, 0, 0.06); transform: translateY(-4px); }
.gr-step::before { display: none; }
.gr-step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.gr-step__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gr-signal); color: var(--gr-ink); }
.gr-step__icon .gr-icon { width: 26px; height: 26px; stroke-width: 1.9; }
.gr-step__n { position: static; width: auto; height: auto; border: 0; background: none !important; font-family: var(--gr-font-head); font-stretch: 80%; font-weight: 700; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(244, 242, 238, 0.35); }
.gr-step__title { font-size: 1.3rem; margin-bottom: 10px; }
.gr-step p { color: var(--gr-on-ink-muted); }
@media (min-width: 900px) {
	.gr-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.gr-step { padding: 28px 24px; }
	.gr-step:not(:last-child)::after {
		content: ""; position: absolute; top: 56px; right: -20px; width: 20px; height: 2px;
		background: repeating-linear-gradient(90deg, var(--gr-signal) 0 4px, transparent 4px 8px);
	}
	.gr-step { position: relative; }
}

/* ---------- Industrias en tarjetas con foto ---------- */
.gr-sectors__grid { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 1024px) {
	.gr-sectors__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.gr-sector { grid-column: span 2; }
	.gr-sector--wide { grid-column: span 4; }
}
.gr-sector {
	position: relative; overflow: hidden; border-radius: 20px; min-height: 300px;
	background: var(--gr-ink); color: var(--gr-on-ink); --gr-head: var(--gr-on-ink); isolation: isolate;
}
.gr-sector__media { position: absolute; inset: 0; z-index: -2; border-radius: inherit; }
.gr-sector__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--gr-ease); }
.gr-sector__media .gr-slot { border-radius: inherit; place-content: start end; justify-items: end; padding: 18px 20px; text-align: right; font-size: 0.8rem; }
.gr-sector__media .gr-slot .gr-icon { width: 26px; height: 26px; }
.gr-sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 20, 0) 30%, rgba(20, 20, 20, 0.92) 100%); }
.gr-sector:hover .gr-sector__media img { transform: scale(1.05); }
.gr-sector__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.gr-sector__body h3 { font-size: 1.4rem; margin: 16px 0 6px; }
.gr-sector__body p { color: #d6d2cb; font-size: 0.95rem; max-width: 46ch; }
.gr-sector .gr-tile { transition: transform 280ms var(--gr-ease); }
.gr-sector:hover .gr-tile { transform: rotate(-6deg) scale(1.06); }
.gr-sectors .gr-sectors__list { display: none; }

/* ---------- Propuesta de valor v2 ---------- */
.gr-split__grid { align-items: center; }
@media (min-width: 1024px) { .gr-split__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 88px; } }
.gr-split__visual { position: relative; }
.gr-split__media { margin: 0; aspect-ratio: 5 / 6; border-radius: 24px; overflow: hidden; }
.gr-split__media img { width: 100%; height: 100%; object-fit: cover; }
.gr-split__accent { position: absolute; right: -24px; bottom: -28px; width: 120px; color: var(--gr-signal); filter: drop-shadow(0 16px 24px rgba(255, 97, 0, 0.35)); }
.gr-split__accent svg { width: 100%; height: auto; display: block; }
.gr-split__copy .gr-lead { margin-top: 18px; }
.gr-points { margin-top: 32px; display: grid; gap: 14px; }
.gr-points li { display: flex; gap: 18px; padding: 20px; border: 0; border-radius: var(--gr-radius-card); background: var(--gr-white); box-shadow: var(--gr-shadow); }
.gr-points li:last-child { border-bottom: 0; }
.gr-points h3 { font-size: 1.1rem; margin-bottom: 4px; }
.gr-points p { font-size: 0.95rem; }

/* ---------- Equipo v2 ---------- */
.gr-people { gap: 28px; }
.gr-person { background: var(--gr-white); border-radius: 20px; overflow: hidden; box-shadow: var(--gr-shadow); transition: transform 280ms var(--gr-ease), box-shadow 280ms var(--gr-ease); }
.gr-band--white .gr-person { background: var(--gr-paper); box-shadow: none; }
.gr-person:hover { transform: translateY(-6px); box-shadow: var(--gr-shadow-hover); }
.gr-person__photo { position: relative; border-radius: 0; background: #ece8e1; overflow: visible; }
.gr-person__photo .gr-slot { border-radius: 0; border-width: 0 0 2px; }
.gr-person__tag { position: absolute; left: 20px; bottom: -18px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gr-signal); color: var(--gr-ink); box-shadow: 0 8px 16px -8px rgba(255, 97, 0, 0.8); }
.gr-person__tag svg { width: 18px; height: 22px; }
.gr-person__body { padding: 30px 22px 24px; }

/* ---------- Noticias v2 ---------- */
.gr-post { border-radius: 20px; box-shadow: var(--gr-shadow); border-color: transparent; }
.gr-post:hover { transform: translateY(-6px); box-shadow: var(--gr-shadow-hover); border-color: transparent; }
.gr-post__media { position: relative; display: block; }
.gr-post__chip { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--gr-signal); color: var(--gr-ink); font-size: 0.8rem; font-weight: 600; }
.gr-post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--gr-signal-deep); }
.gr-post__more .gr-icon { transition: transform 220ms var(--gr-ease); }
.gr-post:hover .gr-post__more .gr-icon { transform: translateX(4px); }
@media (min-width: 720px) { .gr-postlist--1 { max-width: 420px; } }

/* ---------- Preguntas v2 ---------- */
.gr-faq__list { border-top: 0; display: grid; gap: 12px; }
.gr-qa { border: 1px solid var(--gr-line-soft); border-radius: 14px; background: var(--gr-white); padding: 0 22px; transition: border-color 200ms ease, box-shadow 200ms ease; }
.gr-band--white .gr-qa { background: var(--gr-paper); }
.gr-qa[open] { border-color: var(--gr-signal); box-shadow: var(--gr-shadow); }
.gr-qa summary .gr-icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gr-signal-tint); color: var(--gr-signal-deep); margin-top: -2px; }
.gr-qa[open] summary .gr-icon { background: var(--gr-signal); color: var(--gr-ink); }

/* ---------- CTA v2 ---------- */
.gr-cta { position: relative; overflow: hidden; }
.gr-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(-45deg, var(--gr-ink) 0 18px, var(--gr-signal) 18px 36px); }
.gr-cta__iso { position: absolute; right: -60px; bottom: -110px; width: 380px; color: rgba(20, 20, 20, 0.12); pointer-events: none; }
.gr-cta__iso svg { width: 100%; height: auto; display: block; }
.gr-cta__grid { position: relative; align-items: center; }
.gr-cta__box { background: var(--gr-white); border-radius: 20px; padding: 24px; display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(80, 30, 0, 0.6); }
.gr-cta__contact a { gap: 12px; color: var(--gr-ink); }
.gr-cta__contact .gr-tile--sm .gr-icon { width: 18px; height: 18px; }

/* ---------- Encabezado de páginas v2 ---------- */
.gr-pagehead { padding-bottom: clamp(56px, 6vw, 88px); }
.gr-pagehead__iso { position: absolute; right: max(var(--gr-gutter), calc((100% - var(--gr-wrap)) / 2)); top: 50%; transform: translateY(-50%); width: clamp(90px, 14vw, 190px); color: var(--gr-signal); opacity: 0.95; pointer-events: none; }
.gr-pagehead__iso svg { width: 100%; height: auto; display: block; }
@media (max-width: 899px) { .gr-pagehead__iso { opacity: 0.18; } }

.gr-hero__photo .gr-slot { place-content: start end; justify-items: end; text-align: right; padding: 24px; }
html, body { overflow-x: clip; }
.gr-split { overflow: hidden; }
@media (max-width: 1023px) {
	.gr-hero__collage { padding-bottom: 0; }
	.gr-hero__photo { width: 100%; aspect-ratio: 4 / 3; margin: 0; }
	.gr-hero__card { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 16px 0; }
	.gr-hero__iso-bg { display: none; }
	.gr-hero__badge { top: -20px; right: 16px; }
	.gr-hero__photo .gr-slot { place-content: center; justify-items: center; text-align: center; padding-bottom: 64px; }
}
@media (max-width: 560px) {
	.gr-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.gr-card--feature { padding: 20px 16px; }
	.gr-card--feature p { font-size: 0.875rem; }
	.gr-card--feature .gr-tile { width: 44px; height: 44px; }
}

/* ==========================================================================
   Catálogo de servicios (mobile-first)
   ========================================================================== */
.post-type-archive-servicio, .tax-linea_servicio { scroll-padding-top: calc(var(--gr-header-h) + 76px); }

/* Accesos rápidos por línea: fijos bajo el header, deslizables en celular */
.gr-jump {
	position: sticky; top: var(--gr-header-h); z-index: 50;
	background: rgba(246, 244, 241, 0.94); backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--gr-line-soft);
}
.admin-bar .gr-jump { top: calc(var(--gr-header-h) + 32px); }
.gr-jump__list {
	list-style: none; display: flex; gap: 8px; padding: 12px 0;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	margin-inline: calc(var(--gr-gutter) * -1); padding-inline: var(--gr-gutter);
}
.gr-jump__list::-webkit-scrollbar { display: none; }
.gr-jump__list li { flex: none; scroll-snap-align: start; }
.gr-jump__list a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px;
	border-radius: 999px; background: var(--gr-white); border: 1.5px solid var(--gr-line);
	font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--gr-ink); white-space: nowrap;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.gr-jump__list a .gr-icon { color: var(--gr-signal-deep); width: 18px; height: 18px; }
.gr-jump__list a em { font-style: normal; font-size: 0.78rem; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--gr-paper); color: var(--gr-muted); }
.gr-jump__list a:hover, .gr-jump__list a.is-active { background: var(--gr-ink); border-color: var(--gr-ink); color: var(--gr-white); }
.gr-jump__list a:hover .gr-icon, .gr-jump__list a.is-active .gr-icon { color: var(--gr-signal); }
.gr-jump__list a.is-active em, .gr-jump__list a:hover em { background: var(--gr-signal); color: var(--gr-ink); }

/* Encabezado de línea */
.gr-catalog { padding-block: clamp(48px, 7vw, 96px); }
.gr-catalog__head { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: start; margin-bottom: 28px; }
.gr-catalog__titles { min-width: 0; }
.gr-catalog__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-stretch: 85%; line-height: 1.05; }
.gr-catalog__desc { margin-top: 8px; color: var(--gr-muted); font-size: 1rem; max-width: 56ch; }
.gr-catalog__count {
	grid-column: 2; justify-self: start; font-size: 0.82rem; font-weight: 600; padding: 6px 12px;
	border-radius: 999px; background: var(--gr-signal-tint); color: var(--gr-signal-deep);
}
@media (min-width: 900px) {
	.gr-catalog__head { grid-template-columns: auto 1fr auto; align-items: center; margin-bottom: 40px; }
	.gr-catalog__count { grid-column: 3; justify-self: end; }
}

/* Tarjetas de servicio */
.gr-scards { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .gr-scards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .gr-scards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.gr-scard {
	position: relative; display: flex; flex-direction: column; gap: 12px;
	padding: 22px 20px 18px; border-radius: 20px;
	background: var(--gr-white); border: 1px solid var(--gr-line-soft); box-shadow: var(--gr-shadow);
	transition: transform 280ms var(--gr-ease), box-shadow 280ms var(--gr-ease), border-color 200ms ease;
}
.gr-band--white .gr-scard { background: var(--gr-paper); box-shadow: none; border-color: transparent; }
.gr-scard:hover { transform: translateY(-5px); box-shadow: var(--gr-shadow-hover); border-color: rgba(255, 97, 0, 0.5); }
.gr-band--white .gr-scard:hover { background: var(--gr-white); }
.gr-scard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.gr-scard__icon {
	flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
	background: var(--gr-ink); color: var(--gr-signal); transition: background 200ms ease, color 200ms ease, transform 280ms var(--gr-ease);
}
.gr-scard__icon .gr-icon { width: 26px; height: 26px; stroke-width: 1.9; }
.gr-scard:hover .gr-scard__icon { background: var(--gr-signal); color: var(--gr-ink); transform: rotate(-6deg); }
.gr-scard__norms { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.gr-scard__norms li {
	font-family: var(--gr-font-head); font-stretch: 92%; font-weight: 650; font-size: 0.75rem; line-height: 1;
	padding: 6px 9px; border-radius: 999px; background: var(--gr-signal-tint); color: var(--gr-signal-deep); white-space: nowrap;
}
.gr-scard__title { font-size: 1.25rem; font-stretch: 88%; line-height: 1.2; }
.gr-scard__title a { text-decoration: none; }
.gr-scard__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gr-scard__title a:focus-visible { outline: none; }
.gr-scard:has(.gr-scard__title a:focus-visible) { outline: 3px solid var(--gr-signal); outline-offset: 3px; }
.gr-scard__summary { color: var(--gr-muted); font-size: 0.97rem; line-height: 1.55; }
.gr-scard__aud { display: flex; gap: 8px; align-items: flex-start; font-size: 0.85rem; color: var(--gr-text); padding: 10px 12px; border-radius: 12px; background: var(--gr-paper); }
.gr-band--white .gr-scard__aud { background: var(--gr-white); }
.gr-scard__aud .gr-icon { width: 16px; height: 16px; margin-top: 2px; color: var(--gr-signal-deep); }
.gr-scard__actions { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--gr-line-soft); }
.gr-scard__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--gr-ink); text-decoration: none; }
.gr-scard__more .gr-icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gr-signal); color: var(--gr-ink); transition: transform 220ms var(--gr-ease); }
.gr-scard:hover .gr-scard__more .gr-icon { transform: translateX(4px); }
.gr-scard__quote {
	position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
	border-radius: 999px; border: 1.5px solid var(--gr-ink); font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--gr-ink);
	transition: background 160ms ease, color 160ms ease;
}
.gr-scard__quote:hover { background: var(--gr-ink); color: var(--gr-white); }

/* Bloque de ayuda */
.gr-helpcard {
	position: relative; overflow: hidden; margin-top: clamp(32px, 5vw, 56px);
	display: grid; gap: 16px; align-items: center; padding: 24px;
	border-radius: 24px; background: var(--gr-signal); color: var(--gr-ink); --gr-head: var(--gr-ink);
}
.gr-helpcard__iso { position: absolute; right: -30px; bottom: -60px; width: 200px; color: rgba(20, 20, 20, 0.1); pointer-events: none; }
.gr-helpcard__iso svg { width: 100%; height: auto; display: block; }
.gr-helpcard h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); font-stretch: 85%; }
.gr-helpcard p { margin-top: 6px; color: #2a1100; max-width: 52ch; }
.gr-helpcard .gr-btn { position: relative; justify-self: start; }
@media (min-width: 900px) {
	.gr-helpcard { grid-template-columns: auto 1fr auto; gap: 24px; padding: 32px 36px; }
	.gr-helpcard .gr-btn { justify-self: end; }
}
@media (max-width: 599px) {
	.gr-pagehead__iso { display: none; }
	.gr-scard__aud { display: none; }
	.gr-scard { padding: 18px 18px 14px; gap: 10px; }
	.gr-scard__icon { width: 46px; height: 46px; }
}

/* ==========================================================================
   Noticia individual (mobile-first)
   ========================================================================== */
.gr-nhead { position: relative; overflow: hidden; background: var(--gr-ink); color: var(--gr-on-ink); --gr-head: var(--gr-on-ink); padding: clamp(32px, 5vw, 56px) 0 clamp(120px, 14vw, 200px); }
.gr-nhead__inner { position: relative; max-width: calc(940px + var(--gr-gutter) * 2); }
.gr-nhead .gr-crumbs { margin-bottom: 24px; }
.gr-nhead .gr-crumbs li:last-child { display: none; }
.gr-nhead .gr-crumbs li:nth-last-child(2)::after { content: ""; }
.gr-nhead__cat { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--gr-signal); color: var(--gr-ink); font-weight: 600; font-size: 0.85rem; text-decoration: none; margin-bottom: 18px; }
.gr-nhead__cat:hover { background: var(--gr-signal-hover); }
.gr-nhead__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); font-stretch: 85%; font-weight: 680; line-height: 1.04; letter-spacing: -0.02em; }
.gr-nhead__lead { margin-top: 18px; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--gr-on-ink-muted); max-width: 62ch; }
.gr-nhead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; font-size: 0.92rem; color: var(--gr-on-ink-muted); }
.gr-nhead__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.gr-nhead__meta .gr-icon { color: var(--gr-signal); width: 18px; height: 18px; }
.gr-nhead__author { color: var(--gr-on-ink); font-weight: 600; }
.gr-nhead__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gr-signal); color: var(--gr-ink); }
.gr-nhead__avatar svg { width: 14px; height: 17px; }

.gr-nbody { background: var(--gr-white); padding-bottom: clamp(56px, 7vw, 96px); }
.gr-nfigure { position: relative; margin: calc(clamp(120px, 14vw, 200px) * -1 + 24px) auto 0; max-width: 1080px; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55); background: #ece8e1; aspect-ratio: 16 / 9; }
.gr-nfigure img { width: 100%; height: 100%; object-fit: cover; }
.gr-nfigure .gr-slot { height: 100%; aspect-ratio: auto; border: 0; }
.gr-nfigure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 18px; font-size: 0.85rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); }

.gr-nlayout { display: grid; gap: 28px; margin: clamp(32px, 5vw, 56px) auto 0; max-width: 1080px; }
@media (min-width: 1024px) {
	.gr-nlayout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
	.gr-nside { position: sticky; top: calc(var(--gr-header-h) + 24px); }
}
.gr-ncontent { min-width: 0; max-width: 720px; }
.gr-nlayout.is-elementor .gr-ncontent { max-width: none; }

/* Barra lateral */
.gr-nside { display: grid; gap: 16px; align-content: start; }
.gr-toc { border-radius: 16px; background: var(--gr-paper); padding: 4px 18px; }
.gr-toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 52px; font-weight: 600; color: var(--gr-ink); }
.gr-toc summary::-webkit-details-marker { display: none; }
.gr-toc summary .gr-icon { color: var(--gr-signal-deep); }
.gr-toc ol { list-style: none; counter-reset: toc; padding: 0 0 14px; display: grid; gap: 2px; }
.gr-toc li { counter-increment: toc; }
.gr-toc a { display: grid; grid-template-columns: 24px 1fr; gap: 6px; padding: 8px 10px 8px 0; border-radius: 8px; text-decoration: none; font-size: 0.92rem; line-height: 1.35; color: var(--gr-muted); transition: color 150ms ease, background 150ms ease; }
.gr-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--gr-font-head); font-weight: 650; font-size: 0.8rem; color: var(--gr-signal-deep); padding-top: 1px; }
.gr-toc a:hover, .gr-toc a.is-active { color: var(--gr-ink); background: var(--gr-white); padding-left: 8px; }
.gr-toc a.is-active { box-shadow: inset 3px 0 0 var(--gr-signal); }

.gr-share { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--gr-line-soft); }
.gr-share__label { font-weight: 600; font-size: 0.9rem; }
.gr-share__btns { display: flex; gap: 6px; }
.gr-share__btns a, .gr-share__btns button {
	position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
	background: var(--gr-paper); color: var(--gr-ink); border: 0; cursor: pointer; text-decoration: none;
	transition: background 150ms ease, color 150ms ease, transform 200ms var(--gr-ease);
}
.gr-share__btns a:hover, .gr-share__btns button:hover { background: var(--gr-signal); transform: translateY(-2px); }
.gr-share__ok { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.75rem; font-weight: 600; background: var(--gr-ink); color: var(--gr-white); padding: 4px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity 150ms ease; }
.gr-share__ok:not(:empty) { opacity: 1; }

.gr-nside__cta { position: relative; overflow: hidden; display: none; padding: 22px 20px; border-radius: 18px; background: var(--gr-signal); color: var(--gr-ink); }
.gr-nside__cta-title { margin: 14px 0 6px; font-family: var(--gr-font-head); font-stretch: 86%; font-weight: 680; font-size: 1.25rem; line-height: 1.15; }
.gr-nside__cta p:not(.gr-nside__cta-title) { font-size: 0.92rem; color: #2a1100; margin-bottom: 16px; }
@media (min-width: 1024px) { .gr-nside__cta { display: block; } }

/* Contenido de la noticia */
.gr-prose--news { font-size: 1.125rem; line-height: 1.75; max-width: none; }
.gr-prose--news > p:first-of-type { font-size: 1.25rem; line-height: 1.6; color: var(--gr-ink); }
.gr-prose--news h2 { position: relative; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-stretch: 86%; margin-top: 2.2em; padding-top: 0.9em; scroll-margin-top: calc(var(--gr-header-h) + 24px); }
.gr-prose--news h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 5px; border-radius: 3px; background: var(--gr-signal); }
.gr-prose--news h3 { font-size: 1.3rem; }
.gr-prose--news ul { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.gr-prose--news ul li { position: relative; padding: 14px 16px 14px 52px; border-radius: 14px; background: var(--gr-paper); line-height: 1.55; margin: 0; }
.gr-prose--news ul li::before {
	content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--gr-signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.gr-prose--news ol { padding-left: 0; list-style: none; counter-reset: li; display: grid; gap: 10px; }
.gr-prose--news ol li { counter-increment: li; position: relative; padding-left: 48px; margin: 0; }
.gr-prose--news ol li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gr-ink); color: var(--gr-signal); font-family: var(--gr-font-head); font-weight: 700; font-size: 0.95rem; }
.gr-prose--news blockquote, .gr-prose--news .wp-block-quote, .gr-prose--news .wp-block-pullquote {
	margin: 2em 0; padding: 28px 28px 24px 28px; border: 0; border-radius: 20px; background: var(--gr-ink); color: var(--gr-on-ink);
	font-family: var(--gr-font-head); font-stretch: 88%; font-weight: 600; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); line-height: 1.3; position: relative;
}
.gr-prose--news blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: 0.6; color: var(--gr-signal); margin-bottom: 10px; }
.gr-prose--news blockquote cite, .gr-prose--news blockquote footer { display: block; margin-top: 12px; font-family: var(--gr-font-body); font-size: 0.9rem; font-weight: 400; font-style: normal; color: var(--gr-on-ink-muted); }
.gr-prose--news a { color: var(--gr-signal-deep); font-weight: 600; }
.gr-prose--news img, .gr-prose--news .wp-block-image img { border-radius: 16px; }
.gr-prose--news figure { margin: 2em 0; }
.gr-prose--news figcaption, .gr-prose--news .wp-element-caption { margin-top: 10px; font-size: 0.88rem; color: var(--gr-muted); text-align: center; }
.gr-prose--news table, .gr-prose--news .wp-block-table table { display: block; overflow-x: auto; border-radius: 14px; border: 1px solid var(--gr-line-soft); }
.gr-prose--news th { background: var(--gr-ink); color: var(--gr-on-ink); }
.gr-prose--news hr, .gr-prose--news .wp-block-separator { border: 0; height: 8px; margin: 2.5em 0; border-radius: 4px; background: repeating-linear-gradient(-45deg, var(--gr-signal) 0 10px, var(--gr-ink) 10px 20px); opacity: 1; }
.gr-prose--news .wp-block-button__link { display: inline-flex; min-height: 50px; align-items: center; padding: 0 24px; border-radius: 4px; background: var(--gr-signal); color: var(--gr-ink); font-weight: 600; text-decoration: none; }
.gr-prose--news iframe, .gr-prose--news video { max-width: 100%; border-radius: 16px; }
.gr-prose--news .alignwide, .gr-prose--news .alignfull { margin-inline: 0; max-width: 100%; }
.gr-prose--news p:last-child a[href*="/servicios/"] {
	display: inline-flex; align-items: center; gap: 8px;
}

/* Etiquetas, autor y paginación */
.gr-ntags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.gr-ntags a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--gr-paper); font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--gr-ink); }
.gr-ntags a:hover { background: var(--gr-signal); }
.gr-nauthor { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 22px; border-radius: 20px; background: var(--gr-paper); }
.gr-nauthor__logo { flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--gr-ink); color: var(--gr-signal); }
.gr-nauthor__logo svg { width: 24px; height: 28px; }
.gr-nauthor__name { font-family: var(--gr-font-head); font-stretch: 88%; font-weight: 650; font-size: 1.15rem; color: var(--gr-ink); margin-bottom: 4px; }
.gr-nauthor p:not(.gr-nauthor__name) { font-size: 0.92rem; color: var(--gr-muted); }
.gr-npager { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .gr-npager { grid-template-columns: 1fr 1fr; } .gr-npager__next { grid-column: 2; text-align: right; } }
.gr-npager a { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; border: 1.5px solid var(--gr-line-soft); text-decoration: none; transition: border-color 160ms ease, transform 200ms var(--gr-ease); }
.gr-npager a:hover { border-color: var(--gr-signal); transform: translateY(-2px); }
.gr-npager span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--gr-signal-deep); }
.gr-npager__next span { justify-content: flex-end; }
.gr-npager strong { font-family: var(--gr-font-head); font-stretch: 90%; font-weight: 620; color: var(--gr-ink); line-height: 1.3; }
.gr-nempty { display: grid; justify-items: start; gap: 14px; padding: 28px; border-radius: 20px; background: var(--gr-white); max-width: 560px; }

@media (max-width: 1023px) {
	.gr-nside { order: -1; }
	.gr-toc:not([open]) { padding-bottom: 0; }
}
