/*
Theme Name:   PSRH Kadence Child
Template:     kadence
Description:  Ajustes visuales del rediseño de PSRH Global sobre Kadence. Aquí solo va lo que los bloques y el personalizador no resuelven; todo lo demás se edita desde el editor visual.
Version:      0.1.0
Text Domain:  psrh-kadence-child
*/

/* Los colores y tipografías vienen de Kadence (Personalizar → Ajustes generales). */
/* ---------- Cabecera ---------- */
.site-main-header-wrap {
	border-bottom: 1px solid var(--global-palette7);
}

/* "Contáctenos": el segundo menú de la cabecera se muestra como botón con contorno. */
body .secondary-navigation .secondary-menu-container > ul > li.menu-item > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 22px;
	box-sizing: border-box;
	border: 1.5px solid var(--global-palette1);
	border-radius: 10px;
	transition: background-color .15s ease, color .15s ease;
}
body .secondary-navigation .secondary-menu-container > ul > li.menu-item > a:hover {
	background: var(--global-palette8);
	color: var(--global-palette12);
}

/* Menú desplegable de Servicios, como tarjeta. */
.header-navigation .header-menu-container ul ul.sub-menu {
	padding: 8px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 16px;
	box-shadow: 0 20px 44px rgba(11, 34, 57, .16);
}
.header-navigation ul ul.sub-menu > li.menu-item > a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 10px;
	white-space: nowrap;
}

/* ---------- Pie ---------- */
#colophon .widget-title {
	margin: 0 0 10px;
}
#colophon .widget_nav_menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#colophon .widget_nav_menu a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 2px 0;
	color: #fff;
	font-family: var(--global-body-font-family);
	font-size: 16px;
	line-height: 1.35;
}
#colophon .widget_nav_menu a:hover {
	color: var(--global-palette2);
}
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner {
	border-top: 1px solid rgba(255, 255, 255, .16);
}
/* ---------- Home ---------- */
.psrh-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
}
.psrh-eyebrow::before {
	content: "";
	display: block;
	flex: none;
	width: 36px;
	height: 2px;
	background: var(--global-palette2);
}
.psrh-band {
	border-top: 1px solid var(--global-palette7);
	border-bottom: 1px solid var(--global-palette7);
}
.psrh-hero-panel {
	overflow: hidden;
}
@keyframes psrh-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}
.psrh-float {
	animation: psrh-float 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
	.psrh-float { animation: none; }
}
/* ---------- Servicios, cobertura, testimonios, FAQ, cumplimiento ---------- */
.psrh-svc { transition: border-color .2s, transform .2s; }
.psrh-svc:hover { border-color: var(--global-palette2) !important; transform: translateY(-2px); }
.psrh-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.psrh-pills li { margin: 0; padding: 8px 18px; border: 1.5px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; font-family: var(--global-heading-font-family); font-weight: 500; font-size: 15px; }
.psrh-map > .kt-inside-inner-col { position: relative; aspect-ratio: 5 / 3; overflow: hidden; border-radius: 24px; background: radial-gradient(ellipse at 40% 50%, #14385C 0%, #0F2C48 72%); }
.psrh-map .wp-block-kadence-image { position: absolute; inset: 0; margin: 0; }
.psrh-map .wp-block-kadence-image img { width: 100%; height: 100%; object-fit: contain; }
.psrh-hub { position: absolute; margin: 0; padding: 3px 11px 3px 16px; background: rgba(11,34,57,.78); border-radius: 999px; line-height: 1.4; white-space: nowrap; transform: translate(14px, -50%); }
.psrh-hub::before { content: ""; position: absolute; left: -22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--global-palette2); box-shadow: 0 0 0 4px rgba(5,202,185,.25); }
.psrh-hub::after { content: ""; position: absolute; left: -22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid var(--global-palette2); animation: psrh-ping 2s ease-out infinite; }
@keyframes psrh-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.psrh-hub-miami { left: 21.33%; top: 42.89%; } .psrh-hub-ba { left: 28.53%; top: 76.89%; } .psrh-hub-gdansk { left: 52%; top: 26%; } .psrh-hub-uae { left: 61.47%; top: 37.33%; }
.psrh-person > .kt-inside-inner-col { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; }
.psrh-avatar { grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(140deg, #05CAB9, #0A588E); }
.psrh-doc { position: relative; }
.psrh-doc::before { content: ""; position: absolute; left: 20px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 12px; background: var(--global-palette8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%230A588E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E") center no-repeat; }
.psrh-doc a { color: var(--global-palette3); font-family: var(--global-heading-font-family); }
.psrh-doc a::after { content: ""; position: absolute; inset: 0; }
.psrh-pend { animation: psrh-float 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .psrh-hub::after, .psrh-pend { animation: none; } }
.psrh-avatar, .psrh-avatar.kt-adv-heading { border-radius: 50% !important; background: linear-gradient(140deg, #05CAB9, #0A588E) !important; width: 52px; height: 52px; padding: 0 !important; text-align: center; }
.psrh-person > .kt-inside-inner-col { border-top: 1px solid var(--global-palette7); padding-top: 24px; }
.psrh-doc a { text-decoration: none; }
.psrh-doc p { text-align: left; }
.psrh-doc > .kt-inside-inner-col { padding-left: 76px !important; }
.psrh-doc::before { z-index: 1; }
/* ---------- Portada: panel animado ---------- */
.psrh-hero-panel { position: relative; overflow: hidden; border-radius: 28px; }
.psrh-hero-panel > .kt-inside-inner-col { position: relative; overflow: hidden; padding-bottom: 40px !important; }
.psrh-hero-panel > .kt-inside-inner-col > * { position: relative; z-index: 2; }
/* aro punteado que gira + halo que pulsa */
.psrh-hero-panel > .kt-inside-inner-col::before { content: ""; position: absolute; z-index: 1; left: 22%; top: 48%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.5); box-shadow: inset 0 0 0 60px rgba(255,255,255,.04), 0 0 0 70px rgba(255,255,255,.05); animation: psrh-spin 60s linear infinite; }
/* partículas de IA */
.psrh-hero-panel > .kt-inside-inner-col::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 3px at 12% 18%, #fff 98%, transparent), radial-gradient(circle 2px at 30% 8%, rgba(255,255,255,.9) 98%, transparent),
    radial-gradient(circle 4px at 52% 22%, rgba(255,255,255,.75) 98%, transparent), radial-gradient(circle 2px at 74% 12%, #fff 98%, transparent),
    radial-gradient(circle 3px at 90% 30%, rgba(255,255,255,.8) 98%, transparent), radial-gradient(circle 2px at 8% 52%, rgba(255,255,255,.9) 98%, transparent),
    radial-gradient(circle 3px at 44% 40%, rgba(160,255,245,.9) 98%, transparent), radial-gradient(circle 2px at 66% 58%, #fff 98%, transparent),
    radial-gradient(circle 3px at 20% 78%, rgba(255,255,255,.8) 98%, transparent), radial-gradient(circle 2px at 84% 70%, rgba(160,255,245,.9) 98%, transparent);
  animation: psrh-particles 7s ease-in-out infinite; }
/* burbuja grande abajo a la izquierda */
.psrh-hero-panel::before { content: ""; position: absolute; z-index: 0; left: -90px; bottom: -90px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.10); }
.psrh-hero-panel::after { content: ""; position: absolute; z-index: 0; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); animation: psrh-pulse 3s ease-in-out infinite; }
@keyframes psrh-spin { to { transform: rotate(360deg); } }
@keyframes psrh-pulse { 0%,100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes psrh-particles { 0%,100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(-14px); opacity: 1; } }
/* robot más grande + resplandor que recorre de arriba a abajo */
.psrh-hero-panel .psrh-float { position: relative; }
.psrh-hero-panel .psrh-float img { width: 150%; max-width: none; margin-left: -25%; }
.psrh-hero-panel .psrh-float::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 42%, rgba(150,255,245,.65) 50%, rgba(255,255,255,0) 58%, rgba(255,255,255,0) 100%); background-size: 100% 300%;
  -webkit-mask: url(/wp-content/uploads/2026/10/robot-ia-hero.png) center / contain no-repeat; mask: url(/wp-content/uploads/2026/10/robot-ia-hero.png) center / contain no-repeat; animation: psrh-scan 4.5s linear infinite; }
@keyframes psrh-scan { 0% { background-position: 0 100%; } 100% { background-position: 0 0; } }
/* tarjeta flotante */
.psrh-card-float { animation: psrh-card 5s ease-in-out infinite; }
@keyframes psrh-card { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .psrh-hero-panel *, .psrh-hero-panel::after, .psrh-hero-panel > .kt-inside-inner-col::before, .psrh-hero-panel > .kt-inside-inner-col::after, .psrh-card-float { animation: none !important; } }
/* Móvil y tablet: margen lateral de las secciones y robot sin ampliar */
@media (max-width: 1024px) {
	.entry-content > .kb-row-layout-wrap > .kt-row-column-wrap { padding-left: var(--global-content-edge-padding) !important; padding-right: var(--global-content-edge-padding) !important; }
	.psrh-hero-panel .psrh-float img { width: 100%; margin-left: 0; }
}
/* ---------- Menú fijo, selector de idioma, subir ---------- */
.site-main-header-wrap { transition: box-shadow .3s ease; }
.site-main-header-wrap.item-is-stuck { box-shadow: 0 6px 24px rgba(11, 34, 57, .10); }
.site-header .custom-logo, .site-header .custom-logo-link img { transition: width .3s ease, height .3s ease; }
.psrh-lang { display: inline-flex; padding: 3px; border: 1.5px solid var(--global-palette7); border-radius: 999px; background: var(--global-palette9); }
.psrh-lang a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; font-family: var(--global-heading-font-family); font-weight: 600; font-size: 14px; color: var(--global-palette3); transition: background-color .2s, color .2s; }
.psrh-lang a:hover { background: var(--global-palette8); }
.psrh-lang a.is-active { background: var(--global-palette1); color: #fff; }
#kt-scroll-up, #kt-scroll-up-reader { border-radius: 50% !important; width: 48px; height: 48px; padding: 0 !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(11, 34, 57, .25); }

/* Documentos: ícono PDF */
.psrh-doc::before { display: none !important; }
.psrh-doc > .kt-inside-inner-col { position: relative; padding-left: 64px !important; }
.psrh-doc > .kt-inside-inner-col::before { content: ""; position: absolute; left: 20px; top: 50%; width: 26px; height: 30px; margin-top: -15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='30' viewBox='0 0 26 30'%3E%3Cpath d='M3 0h14l9 9v18a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3z' fill='%23E53935'/%3E%3Cpath d='M17 0l9 9h-7a2 2 0 0 1-2-2z' fill='%23FFCDD2'/%3E%3Ctext x='13' y='24' font-family='Arial,sans-serif' font-weight='700' font-size='9' text-anchor='middle' fill='%23fff'%3EPDF%3C/text%3E%3C/svg%3E") center / contain no-repeat; }

/* Hubs del mapa: puntos animados sin etiqueta */
.psrh-hubdot { position: absolute; width: 0; height: 0; margin: 0; padding: 0; }
.psrh-hubdot::before, .psrh-hubdot::after { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; }
.psrh-hubdot::before { background: var(--global-palette2); box-shadow: 0 0 0 4px rgba(5, 202, 185, .25); }
.psrh-hubdot::after { border: 2px solid var(--global-palette2); animation: psrh-ping 2s ease-out infinite; }
.psrh-h1 { left: 28%; top: 29.2%; } .psrh-h2 { left: 23.7%; top: 39.2%; } .psrh-h3 { left: 17.6%; top: 40.8%; } .psrh-h4 { left: 20.2%; top: 46.2%; }
.psrh-h5 { left: 22%; top: 49.3%; } .psrh-h6 { left: 25%; top: 51.7%; } .psrh-h7 { left: 27.6%; top: 51.3%; } .psrh-h8 { left: 23.7%; top: 56.9%; }
.psrh-h9 { left: 28.6%; top: 64.3%; } .psrh-h10 { left: 30.8%; top: 68.7%; } .psrh-h11 { left: 27%; top: 76.3%; } .psrh-h12 { left: 46.9%; top: 24%; } .psrh-h13 { left: 52.5%; top: 24.6%; }
.psrh-h3::after, .psrh-h6::after, .psrh-h9::after, .psrh-h12::after { animation-delay: -.5s; }
.psrh-h4::after, .psrh-h7::after, .psrh-h10::after, .psrh-h13::after { animation-delay: -1s; }
.psrh-h5::after, .psrh-h8::after, .psrh-h11::after { animation-delay: -1.5s; }

/* Últimas entradas del blog */
.psrh-blog .wp-block-post-template { gap: 24px; }
.psrh-blog .wp-block-post-title { margin: 12px 0 6px; font-size: 20px; }
.psrh-blog .wp-block-post-title a { color: var(--global-palette3); text-decoration: none; }
.psrh-blog .wp-block-post-title a:hover { color: var(--global-palette1); }
.psrh-blog .wp-block-post-featured-image img { border-radius: 16px; }
.psrh-blog .wp-block-post-date { font-size: 14px; color: var(--global-palette6); }

/* Encabezado fijo: logo y altura se reducen con suavidad al bajar */
.site-header-row-container .site-container { transition: padding .3s ease; }
.site-header .site-header-row .custom-logo { width: 150px; height: auto; }
@media (min-width: 1025px) {
	.item-is-stuck .site-header-row .custom-logo { width: 104px; }
}
#masthead .header-button, #masthead .header-button-wrap .button { white-space: nowrap; }
#masthead .site-header-main-section-right { gap: 12px; flex-wrap: nowrap; }
#masthead .site-header-main-section-right .site-header-item { margin-right: 0; }@media (min-width: 1025px) {
	.site-main-header-wrap.item-is-stuck .site-branding a.brand img, .site-main-header-wrap.item-is-stuck .custom-logo { width: 104px !important; max-width: 104px !important; }
	.site-branding a.brand img, .site-branding .custom-logo { transition: width .3s ease, max-width .3s ease; }
}
.psrh-blog .wp-block-post-template { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; list-style: none; }
.psrh-blog .wp-block-post-template > li { margin: 0; width: auto; }
@media (max-width: 1024px) { .psrh-blog .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .psrh-blog .wp-block-post-template { grid-template-columns: 1fr; } }
/* ---------- Ajustes de mapa, PDF, blog y menú móvil ---------- */
.psrh-pills { padding-left: 0 !important; margin-left: 0 !important; }
.psrh-map > .kt-inside-inner-col { background: radial-gradient(ellipse at 40% 50%, #14385C 0%, #0F2C48 72%) !important; }
.psrh-hubdot { overflow: visible; }
.psrh-tag { position: absolute; left: 16px; top: -14px; z-index: 3; white-space: nowrap; padding: 3px 11px; border-radius: 999px; background: rgba(11, 34, 57, .78); font-family: var(--global-heading-font-family); font-weight: 500; font-size: 14px; line-height: 1.4; color: #fff; }
.psrh-h14 { left: 61.47%; top: 37.33%; }
.psrh-h14::after { animation-delay: -.7s; }

.psrh-doc > .kt-inside-inner-col::before { background: var(--global-palette1) !important; width: 30px; height: 30px; margin-top: -15px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9,12.5h1v-2h1q0.43,0 0.71-0.29T12,9.5v-1q0-0.43-0.29-0.71T11,7.5H9v5Zm1-3v-1h1v1H10Zm3,3h2q0.43,0 0.71-0.29Q16,11.93 16,11.5v-3q0-0.43-0.29-0.71T15,7.5H13v5Zm1-1v-3h1v3H14Zm3,1h1v-2h1v-1H18v-1h1v-1H17v5ZM8,18q-0.82,0-1.41-0.59T6,16V4Q6,3.17 6.59,2.59T8,2H20q0.83,0 1.41,0.59T22,4V16q0,0.82-0.59,1.41T20,18H8Zm0-2H20V4H8V16ZM4,22q-0.82,0-1.41-0.59T2,20V6H4V20H18v2H4ZM8,4V16V4Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9,12.5h1v-2h1q0.43,0 0.71-0.29T12,9.5v-1q0-0.43-0.29-0.71T11,7.5H9v5Zm1-3v-1h1v1H10Zm3,3h2q0.43,0 0.71-0.29Q16,11.93 16,11.5v-3q0-0.43-0.29-0.71T15,7.5H13v5Zm1-1v-3h1v3H14Zm3,1h1v-2h1v-1H18v-1h1v-1H17v5ZM8,18q-0.82,0-1.41-0.59T6,16V4Q6,3.17 6.59,2.59T8,2H20q0.83,0 1.41,0.59T22,4V16q0,0.82-0.59,1.41T20,18H8Zm0-2H20V4H8V16ZM4,22q-0.82,0-1.41-0.59T2,20V6H4V20H18v2H4ZM8,4V16V4Z'/%3E%3C/svg%3E") center / contain no-repeat; }

.psrh-blog .wp-block-read-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; padding: 0 22px; border: 1.5px solid var(--global-palette1); border-radius: 10px; font-family: var(--global-heading-font-family); font-weight: 600; font-size: 15px; color: var(--global-palette1); text-decoration: none; transition: background-color .2s, color .2s; }
.psrh-blog .wp-block-read-more:hover { background: var(--global-palette1); color: #fff; }

/* Menú móvil / tablet */
#mobile-drawer .mobile-navigation a { color: #fff; }
#mobile-drawer .mobile-navigation .current-menu-item > a, #mobile-drawer .mobile-navigation .current-menu-item > .drawer-nav-drop-wrap > a { color: #3DDDD0 !important; }
#mobile-drawer .mobile-navigation li.psrh-m-btn > a { display: flex; justify-content: center; align-items: center; min-height: 52px; margin-top: 12px; border-radius: 12px; font-family: var(--global-heading-font-family); font-weight: 600; font-size: 17px; }
#mobile-drawer .mobile-navigation li.psrh-m-btn--outline > a { border: 1.5px solid #fff; color: #fff; }
#mobile-drawer .mobile-navigation li.psrh-m-btn--fill > a { background: var(--global-palette2); color: var(--global-palette3) !important; }
#mobile-header .psrh-lang { margin-right: 8px; }

#mobile-drawer .mobile-navigation li.psrh-m-btn > a { color: inherit; }
#mobile-drawer .mobile-navigation li.psrh-m-btn--outline > a { color: #fff !important; }
#mobile-drawer .mobile-navigation li.psrh-m-btn--fill > a { color: var(--global-palette3) !important; }
#mobile-header .site-header-main-section-right { gap: 8px; }
/* ---------- Página Contacto: panel del agente IA ---------- */
.psrh-agent > .kt-inside-inner-col { padding-bottom: 0 !important; }
.psrh-agent > .kt-inside-inner-col::before { left: 50%; top: 46%; width: 480px; height: 480px; margin: -240px 0 0 -240px; }
.psrh-agent .psrh-float { position: relative; max-width: 520px; margin: 0 auto; }
.psrh-agent .psrh-float img { width: 100% !important; max-width: 100% !important; margin: 0 !important; display: block; }
.psrh-agent .psrh-float::after { -webkit-mask: url(/wp-content/uploads/2026/10/agente-ia.webp) center / contain no-repeat; mask: url(/wp-content/uploads/2026/10/agente-ia.webp) center / contain no-repeat; }
.psrh-agent .wp-block-kadence-image { margin: 0; }

.psrh-agent { align-self: stretch; }
.psrh-agent > .kt-inside-inner-col { height: 100%; justify-content: flex-end; }
.psrh-agent { align-self: stretch !important; }

/* El resplandor debe medir lo mismo que el robot ampliado */
@media (min-width: 1025px) {
	.psrh-hero-panel:not(.psrh-agent) .psrh-float::after { inset: auto; left: -25%; top: 0; width: 150%; height: 100%; }
}
/* ---------- Quiénes Somos ---------- */
.psrh-about > .kt-inside-inner-col { padding-bottom: 32px !important; justify-content: center; }
.psrh-about > .kt-inside-inner-col::before { left: 50%; top: 50%; }
.psrh-about-logo { position: relative; z-index: 2; }
.psrh-chip { position: absolute; z-index: 3; margin: 0; padding: 12px 18px; background: #fff; border-radius: 16px; box-shadow: 0 16px 36px rgba(11, 34, 57, .22); animation: psrh-card 5s ease-in-out infinite; font-family: var(--global-body-font-family); font-size: 14px; line-height: 1.2; color: var(--global-palette4); }
.psrh-chip strong { display: block; font-family: var(--global-heading-font-family); font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--global-palette1); }
.psrh-chip-1 { top: 8%; left: 6%; } .psrh-chip-2 { top: 20%; right: 6%; animation-delay: -1.6s; } .psrh-chip-3 { bottom: 10%; left: 12%; animation-delay: -3.2s; }
.psrh-about .psrh-avatar { margin: 0; }
@media (max-width: 600px) { .psrh-chip { position: static; display: inline-block; margin: 8px 8px 0 0; animation: none; } .psrh-about > .kt-inside-inner-col { display: block; } }

.psrh-hero-panel > .kt-inside-inner-col > .psrh-chip { position: absolute !important; z-index: 4; }
.psrh-chip-1 { top: 7% !important; left: 7% !important; }
.psrh-chip-2 { top: 11% !important; right: 7% !important; left: auto !important; }
.psrh-chip-3 { bottom: 9% !important; left: 30% !important; top: auto !important; }
.psrh-about-logo { max-width: 78%; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { .psrh-hero-panel > .kt-inside-inner-col > .psrh-chip { position: static !important; } .psrh-about-logo { max-width: 100%; } }
.psrh-chip, p.psrh-chip.kt-adv-heading { background: #fff !important; border-radius: 16px !important; padding: 12px 18px !important; box-shadow: 0 16px 36px rgba(11, 34, 57, .22) !important; }
/* Androide de Quiénes Somos con el mismo resplandor */
.psrh-hero-panel .psrh-android { position: relative; z-index: 2; max-width: 290px; margin: 0 auto; }
.psrh-hero-panel .psrh-android img { width: 100% !important; max-width: 100% !important; margin: 0 !important; display: block; }
.psrh-hero-panel:not(.psrh-agent) .psrh-android::after, .psrh-hero-panel .psrh-android::after { inset: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; -webkit-mask: url(/wp-content/uploads/2026/10/androide-ia.webp) center / contain no-repeat; mask: url(/wp-content/uploads/2026/10/androide-ia.webp) center / contain no-repeat; }
.psrh-about .wp-block-kadence-image { margin: 0; }
/* Bot cohete: propulsores con llamas azules animadas */
.psrh-rocket { position: relative; animation: psrh-float 3.2s ease-in-out infinite; }
.psrh-rocket img { position: relative; z-index: 2; display: block; }
.psrh-rocket::before, .psrh-rocket::after { content: ""; position: absolute; z-index: 1; top: 80%; width: 11%; height: 26%; transform-origin: 50% 0; pointer-events: none;
	background: linear-gradient(180deg, #fff 0%, #bff3ff 16%, #2cc3ff 48%, rgba(20, 110, 255, .55) 76%, rgba(20, 110, 255, 0) 100%);
	border-radius: 50% 50% 55% 55% / 14% 14% 86% 86%; filter: blur(.7px) drop-shadow(0 0 6px rgba(44, 195, 255, .9)); animation: psrh-flame .16s ease-in-out infinite alternate; }
.psrh-rocket::before { left: 38.8%; }
.psrh-rocket::after { left: 53.5%; animation-delay: -.08s; }
@keyframes psrh-flame { 0% { transform: scale(.9, .8); opacity: .85; } 50% { transform: scale(1.05, 1.1); opacity: 1; } 100% { transform: scale(.85, 1.28); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .psrh-rocket, .psrh-rocket::before, .psrh-rocket::after { animation: none; } }
/* Llamas más cortas y de parpadeo suave */
.psrh-rocket::before, .psrh-rocket::after { width: 9%; height: 15%; animation: psrh-flame-soft .5s ease-in-out infinite alternate; }
.psrh-rocket::before { left: 39.8%; }
.psrh-rocket::after { left: 54.5%; animation-delay: -.25s; }
@keyframes psrh-flame-soft { 0% { transform: scale(.95, .85); opacity: .85; } 100% { transform: scale(1, 1.12); opacity: 1; } }
/* ---------- Página Blog ---------- */
.psrh-blog.psrh-blog3 .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 1024px) { .psrh-blog.psrh-blog3 .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .psrh-blog.psrh-blog3 .wp-block-post-template { grid-template-columns: 1fr; } }
.psrh-blog3 .wp-block-post-date { margin: 14px 0 0; }
.psrh-blog3 .wp-block-post-title { margin: 6px 0 10px; }
.psrh-blog3 .wp-block-post-excerpt { margin: 0; color: var(--global-palette4); }
.psrh-blog3 .wp-block-post-excerpt__excerpt { margin: 0; }
.psrh-blog3 .wp-block-query-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--global-heading-font-family); font-weight: 600; }
.psrh-blog3 .wp-block-query-pagination-numbers { display: flex; gap: 8px; }
.psrh-blog3 .wp-block-query-pagination a, .psrh-blog3 .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--global-palette7); border-radius: 12px; color: var(--global-palette3); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.psrh-blog3 .wp-block-query-pagination a:hover { border-color: var(--global-palette1); color: var(--global-palette1); }
.psrh-blog3 .wp-block-query-pagination .page-numbers.current { background: var(--global-palette1); border-color: var(--global-palette1); color: #fff; }
.psrh-blog3 .wp-block-query-pagination .page-numbers.dots { border: 0; min-width: 0; }

body.blog #primary.content-area { margin-top: 0; margin-bottom: 0; }

/* ---------- Entradas individuales y barra lateral ---------- */
.single-post .entry-hero .entry-header .kadence-breadcrumbs, .single-post .kadence-breadcrumbs { font-size: 14px; color: var(--global-palette6); margin-bottom: 8px; }
.single-post .kadence-breadcrumbs a { color: var(--global-palette1); }
.single-post .entry-meta { font-family: var(--global-body-font-family); font-size: 15px; color: var(--global-palette4); }
.single-post .post-thumbnail img, .single-post .article-post-thumbnail img { border-radius: 20px; }
.single-post .entry-content-wrap { padding-top: 8px; }
.primary-sidebar .widget { padding: 24px; margin-bottom: 24px; border: 1.5px solid var(--global-palette7); border-radius: 22px; background: var(--global-palette9); }
.primary-sidebar .widget:last-child { margin-bottom: 0; }
.primary-sidebar .widget-title, .primary-sidebar .wp-block-heading { margin: 0 0 14px; font-family: var(--global-heading-font-family); font-size: 20px; color: var(--global-palette3); }
.primary-sidebar .wp-block-latest-posts { margin: 0; padding: 0; list-style: none; }
.primary-sidebar .wp-block-latest-posts li { display: grid; grid-template-columns: 72px 1fr; gap: 4px 12px; margin: 0 0 14px; align-items: center; }
.primary-sidebar .wp-block-latest-posts__featured-image { grid-row: span 2; margin: 0; }
.primary-sidebar .wp-block-latest-posts__featured-image img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.primary-sidebar .wp-block-latest-posts a { font-family: var(--global-heading-font-family); font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--global-palette3); text-decoration: none; }
.primary-sidebar .wp-block-latest-posts a:hover { color: var(--global-palette1); }
.primary-sidebar .wp-block-latest-posts__post-date { font-size: 13px; color: var(--global-palette6); }
.primary-sidebar .wp-block-categories { margin: 0; padding: 0; list-style: none; }
.primary-sidebar .wp-block-categories li { padding: 8px 0; border-bottom: 1px solid var(--global-palette7); }
.primary-sidebar .wp-block-categories li:last-child { border-bottom: 0; }
.primary-sidebar .wp-block-categories a { color: var(--global-palette3); text-decoration: none; font-weight: 500; }
.primary-sidebar .wp-block-categories a:hover { color: var(--global-palette1); }
.primary-sidebar .psrh-ig .wp-block-button__link { display: flex; justify-content: center; border-radius: 12px; background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%); color: #fff; font-family: var(--global-heading-font-family); font-weight: 600; font-size: 16px; padding: 12px 20px; }
.primary-sidebar .psrh-social { gap: 10px; }
.primary-sidebar .psrh-social .wp-social-link { background: var(--global-palette8); }
.primary-sidebar .psrh-social .wp-social-link a { color: var(--global-palette1); }
/* ---------- Íconos de redes con buen contraste ---------- */
.primary-sidebar .psrh-social .wp-social-link, .primary-sidebar .wp-block-social-links .wp-social-link { background: var(--global-palette1) !important; color: #fff !important; }
.primary-sidebar .psrh-social .wp-social-link a, .primary-sidebar .psrh-social .wp-block-social-link-anchor { color: #fff !important; }
.primary-sidebar .psrh-social .wp-social-link svg { fill: #fff !important; }
.primary-sidebar .psrh-social .wp-social-link:hover { background: var(--global-palette12) !important; }

/* ---------- Compartir ---------- */
.psrh-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 40px 0 0; padding: 20px 24px; border: 1.5px solid var(--global-palette7); border-radius: 18px; background: var(--global-palette8); }
.psrh-share__label { font-family: var(--global-heading-font-family); font-weight: 600; font-size: 17px; color: var(--global-palette3); }
.psrh-share__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.psrh-share__list li { margin: 0; }
.psrh-share__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--global-palette1); color: #fff; cursor: pointer; transition: background-color .2s, transform .2s; }
.psrh-share__btn:hover { background: var(--global-palette12); color: #fff; transform: translateY(-2px); }
.psrh-share__btn:focus-visible { outline: 3px solid var(--global-palette2); outline-offset: 2px; }
.psrh-share__msg { font-size: 14px; color: var(--global-palette5); min-height: 1em; }

.primary-sidebar .psrh-ln .wp-block-button__link { display: flex; justify-content: center; border-radius: 12px; background: #0A66C2; color: #fff; font-family: var(--global-heading-font-family); font-weight: 600; font-size: 16px; padding: 12px 20px; }
.primary-sidebar .psrh-ln .wp-block-button__link:hover { background: #004182; color: #fff; }

/* Etiquetas de las entradas: texto blanco al pasar el cursor */
.entry-tags .tag-links a:hover, .entry-tags .tag-links a:focus, .tag-links a.tag-link:hover, .tag-links a.tag-link:focus, .entry-tags a:hover, .entry-tags a:focus { color: #fff !important; background: var(--global-palette1) !important; border-color: var(--global-palette1) !important; }

/* ---------- Páginas de servicio ---------- */
.psrh-crumbs a { color: var(--global-palette1); text-decoration: none; }
.psrh-crumbs a:hover { text-decoration: underline; }
.psrh-chip--tag { display: inline-flex !important; align-items: center; gap: 0; font-family: var(--global-heading-font-family); font-weight: 600 !important; font-size: 15px !important; color: var(--global-palette3) !important; white-space: nowrap; }
.psrh-dot { position: relative; display: inline-block; flex: none; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: #0E8CA6; }
.psrh-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0E8CA6; animation: psrh-ping 2s ease-out infinite; }
.psrh-service-icon { position: relative; z-index: 2; }
.psrh-service-icon img { width: 100%; height: auto; }
.psrh-roles { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.psrh-roles li { margin: 0; padding: 9px 16px; border: 1.5px solid var(--global-palette7); border-radius: 999px; background: var(--global-palette9); font-family: var(--global-heading-font-family); font-weight: 500; font-size: 15px; color: var(--global-palette3); transition: border-color .2s, transform .2s; }
.psrh-roles li:hover { border-color: var(--global-palette2); transform: translateY(-2px); }

/* ---------- Páginas legales ---------- */
.psrh-legal h2 { margin: 40px 0 14px; font-size: 28px; line-height: 1.2; }
.psrh-legal h3 { margin: 28px 0 10px; font-size: 22px; }
.psrh-legal p, .psrh-legal li { font-size: 17px; line-height: 1.7; color: var(--global-palette4); }
.psrh-legal p { margin: 0 0 16px; }
.psrh-legal ul, .psrh-legal ol { margin: 0 0 20px; padding-left: 1.4em; }
.psrh-legal li { margin-bottom: 8px; }
.psrh-legal a { color: var(--global-palette1); text-decoration: underline; }
.psrh-legal table { width: 100%; margin: 0 0 24px; border-collapse: collapse; font-size: 16px; }
.psrh-legal th, .psrh-legal td { padding: 12px 16px; border: 1.5px solid var(--global-palette7); text-align: left; vertical-align: top; }
.psrh-legal th { background: var(--global-palette8); font-family: var(--global-heading-font-family); color: var(--global-palette3); }
.psrh-legal td p, .psrh-legal th p { margin: 0; }

/* Headhunting C-Level: imagen del hero con resplandor */
.psrh-hero-panel .psrh-hero-photo { max-width: 300px; }
.psrh-hero-panel .psrh-hero-photo img { filter: drop-shadow(0 0 26px rgba(255,255,255,.55)); animation: psrh-photo-glow 3.6s ease-in-out infinite; }
.psrh-hero-panel .psrh-hero-photo::after { -webkit-mask: url(/wp-content/uploads/2026/10/headhunting-ia.webp) center / contain no-repeat !important; mask: url(/wp-content/uploads/2026/10/headhunting-ia.webp) center / contain no-repeat !important; }
@keyframes psrh-photo-glow { 0%,100% { filter: drop-shadow(0 0 18px rgba(255,255,255,.4)); } 50% { filter: drop-shadow(0 0 34px rgba(255,255,255,.75)); } }
@media (prefers-reduced-motion: reduce) { .psrh-hero-panel .psrh-hero-photo img { animation: none; } }

.psrh-hero-panel .psrh-hero-photo.psrh-hero-ai::after { -webkit-mask: url(/wp-content/uploads/2026/10/aisquads-ia.webp) center / contain no-repeat !important; mask: url(/wp-content/uploads/2026/10/aisquads-ia.webp) center / contain no-repeat !important; }
.psrh-hero-ai img { filter: drop-shadow(0 0 26px rgba(255,255,255,.55)); }

/* Bots de las portadas: centrados en la tarjeta */
.psrh-hero-panel > .kt-inside-inner-col > .wp-block-kadence-image { align-self: center; margin-left: auto !important; margin-right: auto !important; }

.psrh-hero-panel .psrh-hero-photo.psrh-hero-dx::after { -webkit-mask: url(/wp-content/uploads/2026/10/diagnostico-ia.webp) center / contain no-repeat !important; mask: url(/wp-content/uploads/2026/10/diagnostico-ia.webp) center / contain no-repeat !important; }
.psrh-hero-dx img { filter: drop-shadow(0 0 26px rgba(255,255,255,.6)); }

.psrh-hero-panel .psrh-hero-photo.psrh-hero-fr::after { -webkit-mask: url(/wp-content/uploads/2026/10/fractional-ia.webp) center / contain no-repeat !important; mask: url(/wp-content/uploads/2026/10/fractional-ia.webp) center / contain no-repeat !important; }
.psrh-hero-fr img { filter: drop-shadow(0 0 26px rgba(255,255,255,.6)); }

/* Móvil: logos de clientes en dos columnas */
@media (max-width: 600px) {
	.kt-row-column-wrap.kt-has-5-columns.kt-row-layout-equal { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
}

/* Móvil: filas de "Problemas que resolvemos" con el número a la izquierda y el texto a su lado */
@media (max-width: 767px) {
	.kt-row-column-wrap.kt-has-2-columns.kt-row-layout-right-golden:has(> .wp-block-kadence-column > .kt-inside-inner-col > .psrh-avatar) { grid-template-columns: 52px minmax(0, 1fr) !important; column-gap: 14px !important; }
	.kt-row-column-wrap.kt-has-2-columns.kt-row-layout-right-golden:has(> .wp-block-kadence-column > .kt-inside-inner-col > .psrh-avatar) p:not(.psrh-avatar) { text-align: left; }
}

/* Cabecera: el botón "Contáctenos / Contact us" nunca se parte en dos líneas */
body .secondary-navigation .secondary-menu-container > ul > li.menu-item > a { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1240px) {
	.site-main-header-inner-wrap .header-navigation .header-menu-container > ul > li.menu-item > a { padding-left: .6em; padding-right: .6em; }
	body .secondary-navigation .secondary-menu-container > ul > li.menu-item > a { padding-left: 14px; padding-right: 14px; }
	.site-main-header-wrap .header-button { padding-left: 18px; padding-right: 18px; }
}

/* Pantallas medianas (1025–1354 px): las secciones conservan el margen lateral en lugar de quedar pegadas al borde */
@media (min-width: 1025px) and (max-width: 1354px) {
	.entry-content > .kb-row-layout-wrap > .kt-row-column-wrap { padding-left: var(--global-content-edge-padding) !important; padding-right: var(--global-content-edge-padding) !important; }
}

/* Cuadro de autora al final de las entradas */
.entry-author { margin: 40px 0 8px; padding: 24px 28px; background: var(--global-palette8); border: 1.5px solid var(--global-palette7); border-radius: 20px; }
.entry-author .entry-author-profile { display: grid; grid-template-columns: 80px 1fr; column-gap: 20px; align-items: center; }
.entry-author .entry-author-avatar { grid-row: 1 / span 2; }
.entry-author .entry-author-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; display: block; }
.entry-author .entry-author-name { font-family: var(--global-heading-font-family); font-size: 20px; color: var(--global-palette3); }
.entry-author .entry-author-description { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--global-palette4); }
.entry-author .entry-author-follow { display: none; }
@media (max-width: 600px) { .entry-author .entry-author-profile { grid-template-columns: 64px 1fr; column-gap: 14px; } .entry-author .entry-author-avatar img { width: 64px; height: 64px; } }
.entry-author .entry-author-profile { display: grid !important; grid-template-columns: 80px minmax(0, 1fr); align-items: center; }
.entry-author .entry-author-avatar { grid-column: 1; grid-row: 1 / span 2; margin: 0 !important; }
.entry-author .entry-author-name { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
.entry-author .entry-author-description { grid-column: 2; grid-row: 2; align-self: start; text-align: left; }
.entry-author .entry-author-description p { margin: 0; }
@media (max-width: 600px) { .entry-author .entry-author-profile { grid-template-columns: 64px minmax(0, 1fr); } }

/* Logos de clientes: rejilla de tarjetas (se editan como bloques de imagen) */
.psrh-logos { max-width: 920px; margin: 8px auto 0; }
.psrh-logos > .wp-block-group__inner-container, .psrh-logos:not(:has(> .wp-block-group__inner-container)) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.psrh-logos .wp-block-image { margin: 0; background: var(--global-palette8); border: 1.5px solid var(--global-palette7); border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 6px 16px; }
.psrh-logos .wp-block-image img { width: 100%; max-width: 260px; height: auto; display: block; mix-blend-mode: multiply; }
@media (max-width: 767px) {
	.psrh-logos > .wp-block-group__inner-container, .psrh-logos:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.psrh-logos .wp-block-image:last-child { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
}
.psrh-logos .wp-block-image { aspect-ratio: 2.6 / 1; padding: 4px 14px; overflow: hidden; }
.psrh-logos .wp-block-image img { height: 100%; width: 100%; max-width: 100%; object-fit: contain; }

/* Secciones añadidas con bloques de WordPress (proceso, preguntas frecuentes) */
.psrh-section { padding: 96px var(--global-content-edge-padding, 2rem); }
.psrh-section > *, .psrh-section > .wp-block-group__inner-container > * { max-width: 1136px; margin-left: auto; margin-right: auto; }
.psrh-section--mist { background: var(--global-palette8); }
.psrh-section .psrh-eyebrow { margin-bottom: 14px; }
.psrh-section h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin-top: 0; margin-bottom: 32px; }
.psrh-steps { list-style: none; counter-reset: psrh-step; padding: 0; display: grid; gap: 16px; }
.psrh-steps li { counter-increment: psrh-step; position: relative; background: var(--global-palette9); border: 2px solid var(--global-palette7); border-radius: 16px; padding: 20px 24px 20px 76px; font-size: 18px; line-height: 1.5; color: var(--global-palette4); margin: 0; }
.psrh-steps li strong { color: var(--global-palette3); }
.psrh-steps li::before { content: counter(psrh-step); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #05CAB9, #0A588E); color: #fff; font-family: var(--global-heading-font-family); font-weight: 700; display: grid; place-items: center; }
@media (max-width: 767px) { .psrh-section { padding: 56px var(--global-content-edge-padding, 1.25rem); } .psrh-steps li { padding: 16px 16px 16px 64px; font-size: 16px; } .psrh-steps li::before { left: 14px; width: 34px; height: 34px; } }

/* Entradas AEO: respuesta directa, tablas, fuentes y llamado a la acción */
.single-post .entry-content .psrh-lead { font-size: 1.2em; line-height: 1.55; padding-left: 20px; border-left: 4px solid var(--global-palette1); color: var(--global-palette3); }
.single-post .entry-content .wp-block-table { overflow-x: auto; margin: 1.5em 0; }
.single-post .entry-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .95em; }
.single-post .entry-content .wp-block-table th { background: var(--global-palette8); text-align: left; }
.single-post .entry-content .wp-block-table th, .single-post .entry-content .wp-block-table td { border: 1px solid var(--global-palette7); padding: 10px 14px; vertical-align: top; }
.single-post .entry-content .psrh-source { font-size: .85em; color: var(--global-palette5); }
.single-post .entry-content .psrh-cta { margin: 2.5em 0; padding: 28px 32px; border-radius: 14px; background: var(--global-palette8); border: 1px solid var(--global-palette7); }
.single-post .entry-content .psrh-cta p { margin-bottom: 16px; }
