/* Final visual treatment for the approach chapter. */
.ph-process {
	background: #eef3fb;
	color: var(--ph-ink);
}

.ph-process-art {
	background: linear-gradient(180deg, rgba(98, 127, 195, .08), rgba(35, 31, 32, .12)), url("images/acompanamiento-especialista-ruta-decision-prohumanos.webp") center 44% / cover no-repeat;
}

.ph-process-art:before {
	display: none;
}

.ph-process-copy {
	background: #ffffff;
	padding-left: 12%;
	padding-right: 12%;
}

.ph-process-copy .ph-section-marker {
	margin-bottom: 2.2rem;
}

.ph-process-copy h2 {
	color: var(--ph-ink);
}

.ph-process-copy h2 em {
	color: var(--ph-blue);
}

.ph-process-copy > p,
.ph-steps span {
	color: #4d686e;
}

.ph-steps li {
	border-top-color: #cbd8df;
}

.ph-steps li:before {
	color: var(--ph-red);
}

/* Chapter markers alternate through the page: left, right, left, right. */
.ph-services > .ph-section-marker {
	justify-content: flex-end;
}

.ph-process-art {
	position: relative;
}

.marker-on-photo {
	background: rgba(255, 255, 255, .94);
	bottom: 2rem;
	left: 2rem;
	margin: 0;
	padding: 1.15rem 1.35rem;
	position: absolute;
}

.ph-coverage-head {
	align-items: center;
	flex-direction: row-reverse;
	justify-content: space-between;
}

.ph-coverage-head .ph-section-marker {
	flex: 0 0 auto;
}

.ph-map {
	background: #ffffff url("images/mapa-cobertura-prohumanos-colombia-latinoamerica.webp") center / contain no-repeat;
	height: 34rem;
}

.ph-map:before {
	display: none;
}

@media (max-width: 800px) {
	.ph-services > .ph-section-marker {
		justify-content: flex-start;
	}

	.marker-on-photo {
		bottom: 1.25rem;
		left: 1.25rem;
	}

	.ph-coverage-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.ph-map {
		height: 28rem;
	}
}

/* Conversion-focused footer while the internal pages are still being built. */
.ph-footer {
	background: var(--ph-ink);
	color: #ffffff;
	display: grid;
	gap: 3rem;
	grid-template-columns: 1.2fr .7fr 1fr;
	padding: 5rem 10vw 1.8rem;
}

.ph-footer .ph-brand {
	filter: brightness(0) invert(1);
	margin-bottom: 1.5rem;
}

.ph-footer-brand p {
	color: #c5d0d2;
	font-size: .95rem;
	line-height: 1.5;
	margin: 0;
	max-width: 20rem;
}

.ph-footer-nav,
.ph-footer-contact {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.ph-footer-nav p,
.ph-footer-contact p {
	color: var(--ph-lime);
	font-family: Arial, Helvetica, sans-serif;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .12em;
	margin: 0 0 .5rem;
	text-transform: uppercase;
}

.ph-footer-nav a {
	color: #ffffff;
	font-size: .9rem;
	text-decoration: none;
}

.ph-footer-nav a:hover {
	color: var(--ph-lime);
}

.ph-footer-contact a {
	background: var(--ph-lime);
	color: var(--ph-ink);
	display: inline-block;
	font-size: .92rem;
	font-weight: 800;
	padding: .85rem 1.4rem;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.ph-footer-contact a:hover {
	background: var(--ph-ink);
	color: var(--ph-lime);
}

.ph-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .18);
	color: #aebdc0;
	display: flex;
	font-size: .75rem;
	grid-column: 1 / -1;
	justify-content: space-between;
	padding-top: 1.25rem;
}

@media (max-width: 800px) {
	.ph-footer {
		grid-template-columns: 1fr;
		padding: 4rem 7vw 1.5rem;
	}

	.ph-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: .5rem;
	}
}

/* Dynamic image fields only replace the source, never the crop treatment. */
.ph-portrait,
.ph-service-image,
.ph-process-art {
	background-repeat: no-repeat;
	background-size: cover;
}

.ph-portrait { background-position: 38% 38%; }
.ph-service-image { background-position: center; }
.ph-process-art { background-position: center 44%; }

.ph-coverage { padding-bottom: 3.5rem; }

.ph-resources {
	background: #ffffff;
	padding: 6.5rem 10vw;
}

.ph-resources-heading {
	display: flex;
	gap: 5rem;
	margin-bottom: 3.2rem;
}

.ph-resources-heading .ph-section-marker { flex: 0 0 17rem; }

.ph-resource-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ph-resource-card {
	background: #eef3fb;
	display: flex;
	flex-direction: column;
}

.ph-resource-image {
	background: #627fc3;
	display: block;
	height: 13rem;
	overflow: hidden;
}

.ph-resource-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ph-resource-image span {
	color: #ffffff;
	display: block;
	font-family: Georgia, serif;
	font-size: 1.5rem;
	padding: 2rem;
}

.ph-resource-card > div {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem;
}

.ph-resource-card p {
	color: var(--ph-blue);
	font-family: monospace;
	font-size: .65rem;
	letter-spacing: .08em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.ph-resource-card h3 {
	font-family: Georgia, serif;
	font-size: 1.5rem;
	letter-spacing: -.04em;
	line-height: 1.04;
	margin: 0 0 1.8rem;
}

.ph-resource-card h3 a {
	color: var(--ph-ink);
	text-decoration: none;
}

.ph-resource-card .ph-text-link {
	margin-top: auto;
	width: fit-content;
}

.ph-resource-all {
	display: inline-block;
	margin-top: 2rem;
}

@media (max-width: 800px) {
	.ph-resources { padding: 4.5rem 7vw; }
	.ph-resources-heading { display: block; }
	.ph-resources-heading .ph-section-marker { margin-bottom: 2rem; }
	.ph-resource-grid { grid-template-columns: 1fr; }
}

/* Gutenberg template: preserve the design while allowing direct canvas edits. */
.ph-header .ph-brand-image,
.ph-footer .ph-brand-image {
	margin: 0;
	max-width: 16rem;
}

.ph-header .ph-brand-image img {
	display: block;
	width: 100%;
}

.ph-header .ph-nav {
	gap: 1.35rem;
	margin-left: auto;
}

.ph-header .ph-nav p { margin: 0; }
.ph-header .ph-nav .ph-header-cta { padding: .65rem .85rem; }
.ph-header .ph-nav .ph-header-cta a { border: 0; padding: 0; }

.ph-hero > .wp-block-column:first-child { min-width: 0; }
.ph-hero h1 { font-family: Georgia, serif; }
.ph-hero .ph-actions { margin-bottom: 3.5rem; }
.ph-hero .ph-button .wp-block-button__link { background: var(--ph-lime); color: var(--ph-ink); border-radius: 0; }
.ph-hero .ph-button .wp-block-button__link:hover { background: var(--ph-ink); color: var(--ph-lime); }
.ph-hero .ph-text-link .wp-block-button__link { background: transparent; color: var(--ph-ink); padding: 0; }

.ph-portrait {
	background: none !important;
	box-shadow: 1rem 1rem 0 rgba(98, 127, 195, .16);
	height: 28rem;
	margin-left: auto !important;
	margin-right: 0 !important;
	width: 88%;
}

.ph-portrait img,
.ph-service-image img,
.ph-process-art img,
.ph-map img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ph-hero-art { overflow: visible; }
.ph-hero-art .ph-art-card { margin: 0; }

.ph-trust p { margin: 0; }
.ph-intro > .wp-block-column:last-child > p { color: #49656b; font-size: 1.08rem; line-height: 1.55; max-width: 36rem; }

.ph-services .ph-service-row {
	gap: 0;
	margin: 0;
}

.ph-service-row .ph-service-image {
	background: none !important;
	height: 23rem;
	min-height: 0;
	padding: 0;
	overflow: hidden;
}

.ph-service-row .ph-service-image figure { height: 100%; margin: 0; }
.ph-service-row .ph-service-content { padding: 3rem; }
.ph-service-row .ph-service-content > p:first-child { color: var(--ph-blue); font-family: monospace; font-size: .68rem; font-weight: 700; letter-spacing: .09em; }
.ph-service-row .ph-service-content > p:last-child a { color: var(--ph-ink); font-weight: 700; }

.ph-process { gap: 0; }
.ph-process-art { background: none !important; min-height: 39rem; padding: 0; overflow: hidden; }
.ph-process-art figure { height: 100%; margin: 0; }
.ph-process-copy { padding: 6.2rem 10%; }
.ph-process-copy .wp-block-button__link { border-radius: 0; }

.ph-map { background: #ffffff !important; height: 34rem; padding: 0; }
.ph-map figure { height: 100%; margin: 0; }
.ph-map img { object-fit: contain; }

.ph-quote .wp-block-quote { border: 0; margin: 0; padding: 0; }
.ph-quote .wp-block-quote p { font-family: Georgia, serif; font-size: clamp(2.4rem, 4vw, 4.2rem); font-weight: 700; letter-spacing: -.065em; line-height: 1.01; margin: 0; max-width: 53rem; }

.ph-resources-heading { align-items: end; }
.ph-resource-query .wp-block-post-template {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.ph-resource-query .wp-block-post { margin: 0; }
.ph-resource-card { height: 100%; }
.ph-resource-card > .wp-block-group { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.ph-resource-card .wp-block-post-featured-image { margin: 0; }
.ph-resource-card .wp-block-post-featured-image img { height: 13rem; object-fit: cover; width: 100%; }
.ph-resource-card .wp-block-post-terms { color: var(--ph-blue); font-family: monospace; font-size: .65rem; letter-spacing: .08em; margin: 0 0 1rem; text-transform: uppercase; }
.ph-resource-card .wp-block-post-title { font-family: Georgia, serif; font-size: 1.5rem; letter-spacing: -.04em; line-height: 1.04; margin: 0 0 1.8rem; }
.ph-resource-card .wp-block-post-title a { color: var(--ph-ink); text-decoration: none; }
.ph-resource-card .wp-block-read-more { color: var(--ph-ink); font-size: .82rem; font-weight: 700; margin-top: auto; text-decoration: none; }

/* Resource center: an editorial home with the same visual language as services. */
.ph-resources-hub { background: #ffffff; }
.ph-resources-hub-hero { background: var(--ph-ink); color: #ffffff; padding: 7rem 10vw 6rem; }
.ph-resources-hub-hero .ph-eyebrow { color: var(--ph-yellow); }
.ph-resources-hub-hero h1 { font-family: Georgia, serif; font-size: clamp(3.3rem, 6.5vw, 6.7rem); letter-spacing: -.07em; line-height: .93; margin: 1rem 0 1.8rem; max-width: 15ch; }
.ph-resources-hub-hero h1 em { color: var(--ph-yellow); font-weight: 400; }
.ph-resources-hub-hero > p { color: #d6e0df; font-size: 1.12rem; line-height: 1.6; max-width: 41rem; }
.ph-resources-hub-featured { background: #eef3fb; padding: 5.5rem 10vw; }
.ph-resources-hub-featured .ph-section-title { margin: 0 0 2.4rem; }
.ph-resources-hub .ph-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ph-resource-paths { padding: 6rem 10vw; }
.ph-resource-paths > h2 { font-family: Georgia, serif; font-size: clamp(2.5rem, 4.2vw, 4.5rem); letter-spacing: -.06em; line-height: .98; margin: 0 0 2.6rem; max-width: 17ch; }
.ph-resource-paths > h2 em { color: var(--ph-blue); font-weight: 400; }
.ph-resource-paths .wp-block-columns { gap: 1.25rem; margin: 0; }
.ph-resource-path { border-top: .35rem solid var(--ph-blue); background: #f7f3eb; min-height: 16rem; padding: 2rem; }
.ph-resource-path:nth-child(2) { border-color: var(--ph-green); }
.ph-resource-path:nth-child(3) { border-color: var(--ph-yellow); }
.ph-resource-path h3 { font-family: Georgia, serif; font-size: 1.85rem; letter-spacing: -.045em; margin: 0 0 1rem; }
.ph-resource-path p { color: #45626a; line-height: 1.55; }
.ph-resource-path a { color: var(--ph-ink); font-size: .84rem; font-weight: 800; text-decoration: none; }
.ph-resources-hub .ph-contact { margin: 0; }

@media (max-width: 800px) {
  .ph-resources-hub-hero, .ph-resources-hub-featured, .ph-resource-paths { padding: 4.5rem 7vw; }
  .ph-resources-hub .ph-archive-grid { grid-template-columns: 1fr; }
}

.ph-contact { gap: 8vw; }
.ph-contact .ph-button .wp-block-button__link { border-radius: 0; }

.ph-footer > .wp-block-columns { margin-bottom: 3rem; }
.ph-footer .ph-brand-image { filter: brightness(0) invert(1); }
.ph-footer .ph-brand-image img { width: 100%; }
.ph-footer-bottom p { margin: 0; }

@media (max-width: 800px) {
	.ph-header .ph-brand-image { max-width: 11rem; }
	.ph-header .ph-nav { display: none; }
	.ph-hero .ph-actions { margin-bottom: 2.5rem; }
	.ph-portrait { height: 22rem; width: 100%; }
	.ph-service-row .ph-service-image { height: 18rem; }
	.ph-process-art { min-height: 22rem; }
	.ph-map { height: 28rem; }
	.ph-resource-query .wp-block-post-template { grid-template-columns: 1fr; }
}

/* One visual system for every numbered home chapter, including Gutenberg blocks. */
.ph-section-marker {
	align-items: center;
	display: flex;
	gap: 1rem;
	margin: 0;
}

.ph-section-marker > p { margin: 0; }

.ph-section-marker > p:first-child {
	color: var(--ph-blue);
	font-family: Georgia, serif;
	font-size: clamp(4.5rem, 7vw, 7.4rem);
	font-weight: 700;
	letter-spacing: -.09em;
	line-height: .72;
}

.ph-section-marker > p:last-child {
	color: var(--ph-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .13em;
	line-height: 1.15;
	max-width: 11rem;
	text-transform: uppercase;
}

.ph-services > .ph-section-marker > p:first-child,
.ph-coverage .ph-section-marker > p:first-child { color: var(--ph-red); }

.ph-resources .ph-section-marker > p:first-child { color: var(--ph-blue); }

.ph-process-art .ph-section-marker {
	background: rgba(255, 255, 255, .94);
	bottom: 2rem;
	left: 2rem;
	padding: 1rem 1.2rem;
	position: absolute;
	z-index: 2;
}

.ph-process-art .ph-section-marker > p:first-child { color: var(--ph-red); }

@media (max-width: 800px) {
	.ph-section-marker > p:first-child { font-size: 4.4rem; }
	.ph-process-art .ph-section-marker { bottom: 1.25rem; left: 1.25rem; }
}

/* Restore the trust ribbon after its content was converted to Gutenberg paragraphs. */
.ph-trust {
	align-items: center;
	background: var(--ph-ink);
	border-bottom: .4rem solid var(--ph-yellow);
	color: #ffffff;
	gap: 2.2rem;
	justify-content: flex-start;
	min-height: 9rem;
	padding: 2.1rem 10vw;
}

.ph-trust p { margin: 0; }

.ph-trust > p:first-child {
	background: var(--ph-yellow) !important;
	color: var(--ph-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .13em;
	line-height: 1.2;
	padding: 1rem 1.25rem !important;
	text-transform: uppercase;
}

.ph-trust p:not(:first-child) {
	color: #ffffff;
	font-family: Georgia, serif;
	font-size: clamp(1.2rem, 1.7vw, 1.65rem);
	line-height: 1;
	white-space: nowrap;
}

.ph-trust small { color: inherit; font: inherit; letter-spacing: inherit; }

@media (max-width: 800px) {
	.ph-trust { align-items: flex-start; gap: 1.1rem; min-height: 0; overflow-x: auto; padding: 1.35rem 7vw; }
	.ph-trust p:first-child { flex: 0 0 12rem; }
	.ph-trust p:not(:first-child) { font-size: 1.15rem; }
}

/* Services page. It uses native blocks so the content remains editable in Site Editor. */
.ph-services-page { background: #ffffff; }

.ph-services-page-hero {
	align-items: center;
	background: #eef3fb;
	gap: 6vw;
	margin: 0;
	padding: 6rem 10vw;
}

.ph-services-page-hero h1,
.ph-service-detail h2 {
	font-family: Georgia, serif;
	font-size: clamp(2.8rem, 5vw, 5.1rem);
	letter-spacing: -.07em;
	line-height: .96;
	margin: 0 0 1.6rem;
}

.ph-services-page-hero h1 em { color: var(--ph-blue); font-weight: 400; }
.ph-services-page-hero > .wp-block-column > p:not(.ph-eyebrow) { color: #45626a; font-size: 1.1rem; line-height: 1.55; max-width: 33rem; }
.ph-services-page-hero .ph-button .wp-block-button__link,
.ph-services-page .ph-contact .ph-button .wp-block-button__link { border-radius: 0; }

.ph-services-page-hero-image { height: 31rem; overflow: hidden; }
.ph-services-page-hero-image figure { height: 100%; margin: 0; }
.ph-services-page-hero-image img { height: 100%; object-fit: cover; object-position: 38% 38%; width: 100%; }

.ph-service-detail { padding: 6rem 10vw; }
.ph-service-detail-alt { background: #f7f3eb; }
.ph-service-detail .wp-block-columns { align-items: center; gap: 6vw; margin: 0; }
.ph-service-detail h2 { font-size: clamp(2.35rem, 4vw, 4.2rem); }
.ph-service-detail p:not(.ph-service-kicker) { color: #45626a; font-size: 1.05rem; line-height: 1.55; }
.ph-service-detail ul { color: #45626a; line-height: 1.8; margin: 1.4rem 0 1.7rem; padding-left: 1.2rem; }
.ph-service-detail a { color: var(--ph-ink); font-size: .88rem; font-weight: 800; text-decoration: none; }
.ph-service-kicker { color: var(--ph-red) !important; font-family: monospace; font-size: .72rem !important; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

.ph-service-detail-image { height: 26rem; overflow: hidden; }
.ph-service-detail-image figure { height: 100%; margin: 0; }
.ph-service-detail-image img { height: 100%; object-fit: cover; width: 100%; }

.ph-contact-map { height: 26rem; overflow: hidden; }
.ph-contact-map iframe { display: block; height: 100%; width: 100%; }

.ph-reviews-score { color: var(--ph-ink); font-weight: 800; letter-spacing: .02em; }

@media (max-width: 800px) {
	.ph-services-page-hero,
	.ph-service-detail { padding: 4.5rem 7vw; }
	.ph-services-page-hero-image { height: 22rem; }
	.ph-service-detail-image { height: 20rem; }
	.ph-contact-map { height: 18rem; }
}

/* Editorial templates for imported posts, archives and category pages. */
.ph-editorial {
	background: #ffffff;
	padding: 5rem 10vw 7rem;
}

.ph-editorial-header {
	border-bottom: 1px solid #cbd8df;
	margin: 0 auto 3.5rem;
	max-width: 62rem;
	padding-bottom: 2.5rem;
}

.ph-editorial-header .wp-block-post-terms,
.ph-editorial-header .wp-block-post-date,
.ph-archive-card .wp-block-post-terms {
	color: var(--ph-blue);
	font-family: monospace;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.ph-editorial-header h1,
.ph-editorial-header .wp-block-post-title {
	color: var(--ph-ink);
	font-family: Georgia, serif;
	font-size: clamp(3rem, 6vw, 5.6rem);
	letter-spacing: -.07em;
	line-height: .96;
	margin: 1rem 0 1.4rem;
}

.ph-editorial .wp-block-post-featured-image {
	margin: 0 auto 3rem;
	max-width: 62rem;
}

.ph-editorial .wp-block-post-featured-image img {
	max-height: 34rem;
	object-fit: cover;
	width: 100%;
}

.ph-editorial .wp-block-post-content {
	color: #405e66;
	font-size: 1.15rem;
	line-height: 1.75;
	margin: 0 auto;
	max-width: 44rem;
}

.ph-editorial .wp-block-post-content h2,
.ph-editorial .wp-block-post-content h3 {
	color: var(--ph-ink);
	font-family: Georgia, serif;
	letter-spacing: -.04em;
}

.ph-archive-title {
	font-family: Georgia, serif;
	font-size: clamp(3rem, 6vw, 5.6rem);
	letter-spacing: -.07em;
	line-height: .96;
	margin: 0 0 3rem;
}

.ph-archive-grid.wp-block-post-template {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.ph-archive-card {
	background: #eef3fb;
	display: flex;
	flex-direction: column;
	padding-bottom: 1.6rem;
}

.ph-archive-card .wp-block-post-featured-image { margin: 0 0 1.5rem; max-width: none; }
.ph-archive-card .wp-block-post-featured-image img { height: 14rem; object-fit: cover; }
.ph-archive-card .wp-block-post-terms,
.ph-archive-card .wp-block-post-title,
.ph-archive-card .wp-block-post-excerpt,
.ph-archive-card .wp-block-read-more { margin-left: 1.5rem; margin-right: 1.5rem; }
.ph-archive-card .wp-block-post-title { font-family: Georgia, serif; font-size: 1.65rem; letter-spacing: -.04em; line-height: 1.02; }
.ph-archive-card .wp-block-post-title a { color: var(--ph-ink); text-decoration: none; }
.ph-archive-card .wp-block-post-excerpt { color: #45626a; font-size: .9rem; }
.ph-archive-card .wp-block-read-more { color: var(--ph-ink); font-size: .82rem; font-weight: 700; margin-top: auto; text-decoration: none; }

@media (max-width: 800px) {
	.ph-editorial { padding: 4rem 7vw 5rem; }
	.ph-archive-grid.wp-block-post-template { grid-template-columns: 1fr; }
}


/* --- Navegación: menú de Servicios desplegable + menú móvil (agosto 2026) --- */
.ph-nav-toggle-input { display: none; }
.ph-nav-burger { display: none; }

.ph-nav-item { position: relative; }
.ph-dropdown {
	background: var(--ph-paper);
	border: 1px solid var(--ph-line);
	box-shadow: 0 .75rem 1.5rem rgba(35, 31, 32, .08);
	display: none;
	left: 0;
	min-width: 16rem;
	padding: .5rem 0;
	position: absolute;
	top: 100%;
	z-index: 20;
}
.ph-dropdown a {
	color: var(--ph-ink);
	display: block;
	font-size: .85rem;
	padding: .55rem 1.1rem;
	white-space: nowrap;
}
.ph-dropdown a:hover,
.ph-dropdown a:focus {
	background: var(--ph-mint);
	color: var(--ph-blue);
}
.ph-has-dropdown:hover .ph-dropdown,
.ph-has-dropdown:focus-within .ph-dropdown {
	display: block;
}

@media (max-width: 800px) {
	.ph-header { flex-wrap: wrap; }
	.ph-nav-burger {
		cursor: pointer;
		display: flex;
		flex-direction: column;
		gap: .3rem;
		margin-left: auto;
		padding: .5rem;
	}
	.ph-nav-burger span { background: var(--ph-ink); display: block; height: 2px; width: 1.6rem; }
	.ph-header .ph-nav {
		align-items: flex-start;
		display: none;
		flex-direction: column;
		gap: .2rem;
		padding: 1rem 0 1.5rem;
		width: 100%;
	}
	#ph-nav-toggle:checked ~ .ph-header .ph-nav { display: flex; }
	.ph-header .ph-nav .ph-header-cta { margin-top: .5rem; }
	.ph-header .ph-nav .ph-dropdown {
		border: 0;
		box-shadow: none;
		display: flex;
		flex-direction: column;
		padding-left: 1rem;
		position: static;
	}
}

.wp-block-columns.ph-sector-grid { flex-wrap: wrap !important; row-gap: 2.2rem; }
.ph-sector-grid > .wp-block-column { flex: 1 1 220px !important; min-width: 220px; }
@media (max-width: 800px) {
	.ph-sector-grid > .wp-block-column { flex-basis: 100% !important; }
}

/* Formulario de diagnóstico — Contacto (llamativo, colores corporativos) */
.ph-diagnostic { background: var(--ph-ink); padding: 6rem 10vw; }
.ph-diagnostic .ph-diagnostic-columns { align-items: start; gap: 5vw; margin: 0; }
.ph-diagnostic .ph-eyebrow { color: var(--ph-lime); }
.ph-diagnostic h2 { color: #fff; font-family: Georgia, serif; font-size: clamp(1.9rem, 2.6vw, 2.7rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 1.4rem; }
.ph-diagnostic > .wp-block-columns > .wp-block-column:first-child p:not(.ph-eyebrow) { color: #c3d1d6; font-size: 1.05rem; line-height: 1.6; max-width: 30rem; }

.ph-diagnostic-form { background: #fff; padding: 2.6rem 2.6rem 2.2rem; border-top: 6px solid var(--ph-lime); box-shadow: 0 25px 70px rgba(0,0,0,.35); }
.ph-diagnostic-form .fluentform { max-width: 100%; }
.ph-diagnostic-form .ff-el-input--label label { color: var(--ph-ink); font-size: .82rem; font-weight: 700; }
.ph-diagnostic-form .ff-el-form-control,
.ph-diagnostic-form select.ff-el-form-control,
.ph-diagnostic-form textarea.ff-el-form-control { background: #f7f9fa; border: 1px solid #d7dee1; border-radius: 0; color: var(--ph-ink); font-size: .95rem; padding: .8rem .9rem; }
.ph-diagnostic-form .ff-el-form-control:focus { background: #fff; border-color: var(--ph-lime); box-shadow: 0 0 0 3px rgba(203,220,104,.35); outline: none; }
.ph-diagnostic-form .ff-el-group { margin-bottom: 1.15rem; }
.ph-diagnostic-form .ff-btn.ff-btn-submit { background: var(--ph-lime) !important; border: none !important; border-radius: 0; color: var(--ph-ink) !important; font-size: .92rem; font-weight: 800; letter-spacing: .03em; padding: 1.05rem 2.4rem; text-transform: uppercase; transition: background .15s, color .15s; width: 100%; }
.ph-diagnostic-form .ff-btn.ff-btn-submit:hover { background: var(--ph-ink) !important; color: var(--ph-lime) !important; cursor: pointer; }
.ph-diagnostic-form .ff-el-form-control::placeholder { color: #8a9aa1; }

@media (max-width: 900px) {
	.ph-diagnostic { padding: 4.5rem 7vw; }
	.ph-diagnostic-form { padding: 2rem 1.6rem 1.8rem; }
}

/* Ancho consistente con la portada: las páginas interiores (.ph-services-page)
   usaban el ancho de contenido de WordPress (1180px) en vez del ancho completo
   del navegador como en Inicio. Se anula el max-width que WordPress aplica a
   los hijos directos de un grupo "constrained", dejando que cada sección
   controle su propio ancho con el padding en vw que ya tenía. */
main.ph-services-page > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
}

/* Proporción del bloque "Conversemos" (.ph-contact), en Inicio y en las
   páginas interiores: con el padding original de 6.5rem/10vw pensado para
   un contenedor angosto (1180px), el bloque queda con demasiado espacio
   vacío arriba/abajo y a los lados del título y la tarjeta, más notorio
   ahora que las páginas interiores usan el ancho completo del navegador.
   Se reduce el padding vertical y se limita el padding horizontal a un
   máximo equivalente a ~1100px de contenido, centrando el título y la
   tarjeta dentro de la franja oscura -- el fondo sigue ocupando el ancho
   completo, solo se ajusta la proporción del contenido. */
.ph-contact {
	padding-top: 4.5rem;
	padding-bottom: 4.5rem;
	padding-left: max(10vw, calc((100% - 1100px) / 2));
	padding-right: max(10vw, calc((100% - 1100px) / 2));
}

@media (max-width: 900px) {
	.ph-contact {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}
}


/* Fix: 'confidencialidad' desbordaba la columna del hero en Financiero, salud y servicios,
   partiendo la palabra a la mitad (heredado de word-break:break-word de WordPress core). */
.page-id-7044 .ph-services-page-hero h1 {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: auto;
}
