/* ==========================================================================
   Tria Prima Modules – estilos front-end
   Paleta extraída de triaprima.org
   ========================================================================== */
:root {
	--tpm-blue: #0e1cb1;
	--tpm-cyan: #0cc0df;
	--tpm-bg: #f2f2f2;
	--tpm-white: #ffffff;
	--tpm-ink: #0b0b0b;
	--tpm-ink-2: #1a1a1a;
	--tpm-ink-3: #343434;
	--tpm-grey: #808080;
	--tpm-line: #e6e6e6;
	--tpm-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--tpm-radius-lg: 32px;
	--tpm-radius-md: 24px;
	--tpm-radius-sm: 16px;
	--tpm-ease: cubic-bezier(.35, 0, .4, 1);
	--tpm-container: 1320px;
}

.tpm, .tpm *, .tpm-header, .tpm-header *, .tpm-drawer, .tpm-drawer * { box-sizing: border-box; }
.tpm, .tpm-header { font-family: var(--tpm-font); color: var(--tpm-ink-2); -webkit-font-smoothing: antialiased; }
.tpm img { max-width: 100%; height: auto; display: block; }
.tpm a { text-decoration: none; }
.tpm p { margin: 0; }
body.tpm-canvas { margin: 0; background: var(--tpm-bg); }
.tpm-main { display: block; }

/* Sección base */
.tpm {
	position: relative;
	background: var(--tpm-section-bg, var(--tpm-bg));
	/* Sin padding: la distancia entre módulos se define con los "Space" de WPBakery
	   o con los campos de espaciado de cada módulo. */
	padding: var(--tpm-pt, 0) 0 var(--tpm-pb, 0);
}
.tpm-container { width: min(100% - 40px, var(--tpm-container)); margin: 0 auto; }
.tpm-center { text-align: center; }
.tpm-notice { padding: 12px 16px; border: 1px dashed #c00; color: #c00; background: #fff5f5; font: 14px/1.4 var(--tpm-font); }

/* Tipografía escalable: --fs define el tamaño de escritorio */
.tpm-t { font-size: var(--fs); }
@media (max-width: 991px) { .tpm-t { font-size: max(calc(var(--fs) * .8), min(var(--fs), 16px)); } }
@media (max-width: 600px) { .tpm-t { font-size: max(calc(var(--fs) * .6), min(var(--fs), 15px)); } }

.tpm-title { --fs: 56px; margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--tpm-blue); }
.tpm-lead  { --fs: 16px; font-weight: 400; line-height: 1.5; color: var(--tpm-ink-2); max-width: 470px; }
.tpm-lead p + p { margin-top: .6em; }

/* Encabezado de sección */
.tpm-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 64px; }
.tpm-head--center { align-items: center; text-align: center; }
.tpm-head--center .tpm-title { max-width: 900px; }
.tpm-head--center .tpm-lead { margin: 0 auto; }
.tpm-head--left { align-items: flex-start; text-align: left; margin-bottom: 0; }
.tpm-head__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Botón */
.tpm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 12px 16px; border-radius: 8px;
	font: 500 16px/1.4 var(--tpm-font);
	color: var(--b-c, #fff); background: var(--b-bg, var(--tpm-cyan));
	transition: background-color .3s ease, color .3s ease, transform .3s ease;
	text-decoration: none !important; cursor: pointer; position: relative; z-index: 5;
}
.tpm-btn:hover, .tpm-btn:focus-visible { background: var(--b-bgh, var(--tpm-blue)); color: var(--b-ch, var(--b-c, #fff)); }
.tpm-btn:focus-visible { outline: 2px solid var(--tpm-blue); outline-offset: 3px; }
.tpm-btn__icon { display: inline-flex; width: 18px; height: 18px; color: var(--b-ic, currentColor); transition: transform .3s ease; }
.tpm-btn__icon svg { width: 100%; height: 100%; }
.tpm-btn:hover .tpm-btn__icon { transform: translateX(3px); }

/* Píldora */
.tpm-pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--tpm-bg); color: var(--tpm-ink-3); font: 500 13px/1.2 var(--tpm-font); }

/* Grilla genérica */
.tpm-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap, 12px); }
@media (max-width: 1100px) { .tpm-grid { grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)); } }
@media (max-width: 991px)  { .tpm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .tpm-grid { grid-template-columns: 1fr; } }

/* Zoom + fade en imágenes (hover) */
.tpm-zoom { position: relative; overflow: hidden; }
.tpm-zoom img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .8s var(--tpm-ease), opacity .6s ease; }
.tpm-zoom__fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 28, 177, 0) 40%, rgba(14, 28, 177, .22) 100%); opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.tpm-card:hover .tpm-zoom img, .tpm-post:hover .tpm-zoom img, .tpm-why__card:hover .tpm-zoom img,
.tpm-svc:hover .tpm-zoom img, .tpm-project:hover .tpm-zoom img, .tpm-intro__media:hover img { transform: scale(1.06); }
.tpm-card:hover .tpm-zoom__fade, .tpm-post:hover .tpm-zoom__fade, .tpm-why__card:hover .tpm-zoom__fade,
.tpm-svc:hover .tpm-zoom__fade, .tpm-project:hover .tpm-zoom__fade { opacity: 1; }

/* Franjas verticales (efecto "blind" de Kirki) */
.tpm-strips { position: absolute; inset: 0; display: flex; z-index: 4; pointer-events: none; }
.tpm-strips span {
	position: relative; flex: 1 1 auto; height: 100%;
	-webkit-backdrop-filter: blur(var(--strip-blur, 24px)); backdrop-filter: blur(var(--strip-blur, 24px));
}
.tpm-strips span::after {
	content: ""; position: absolute; inset: 0; opacity: .08;
	background-image: linear-gradient(91deg, rgba(255, 255, 255, .01) 1%, rgba(40, 40, 40, .5) 27%, rgba(255, 255, 255, .01) 100%);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.tpm-hero { padding: var(--tpm-pt, 20px) 5px var(--tpm-pb, 20px); overflow: hidden; }
.tpm-hero__frame {
	position: relative; overflow: hidden; border-radius: 16px; background: #fff;
	min-height: var(--hero-minh, 90vh); max-height: none;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 160px 24px 80px; isolation: isolate;
}
.tpm-hero__canvas { position: absolute; inset: 0; background: var(--hero-bg, #fbf8f8); overflow: hidden; z-index: 1; }
.tpm-hero__blob {
	position: absolute; left: 0; top: 0;
	width: var(--blob-size, 750px); height: var(--blob-size, 750px);
	margin-left: calc(var(--blob-size, 750px) / -2); margin-top: calc(var(--blob-size, 750px) / -2);
	border-radius: 50%; pointer-events: none; opacity: .4;
	background-image: radial-gradient(ellipse 50% 50% at 50% 50%, var(--blob-c1, #092df8) 3%, var(--blob-c2, #1da5ef) 52%, var(--blob-c3, #00ffb7) 100%);
	filter: blur(24px);
	transform: translate3d(15vw, 45vh, 0) scale(.6);
	will-change: transform;
}
.tpm-hero__content { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 1000px; text-align: center; }
.tpm-hero__title, .tpm-hero__subtitle { --fs: 80px; margin: 0; font-weight: 500; line-height: 1.1; color: var(--tpm-blue); padding: 4px 0; }
.tpm-hero__actions { margin-top: 32px; }
/* Entrada al cargar: slide + fade de arriba hacia abajo, en secuencia */
@keyframes tpm-drop { from { opacity: 0; transform: translate3d(0, -32px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
.tpm-hero__title, .tpm-hero__subtitle, .tpm-hero__actions { animation: tpm-drop .9s var(--tpm-ease) both; }
.tpm-hero__title    { animation-delay: .15s; }
.tpm-hero__subtitle { animation-delay: .35s; }
.tpm-hero__actions  { animation-delay: .55s; }
@media (max-width: 991px) {
	.tpm-hero__frame { min-height: 60vh; }
	.tpm-hero__blob { --blob-size: 500px; }
}
@media (max-width: 600px) {
	.tpm-hero { padding: var(--tpm-pt, 0) 5px var(--tpm-pb, 20px); }
	.tpm-hero__frame { min-height: 520px; padding: 140px 16px 60px; }
	.tpm-hero__blob { --blob-size: 400px; }
}

/* ==========================================================================
   NUESTRO SELLO
   ========================================================================== */
.tpm-card { background: #fff; border-radius: var(--tpm-radius-lg); padding: 12px 12px 40px; display: flex; flex-direction: column; }
.tpm-card__media { border-radius: var(--tpm-radius-md); aspect-ratio: 413 / 307; background: var(--tpm-bg); }
.tpm-card__body { padding: 40px 24px 0; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.tpm-card__title { margin: 0; font: 500 24px/1.5 var(--tpm-font); color: var(--tpm-ink-2); }
.tpm-card__text { font-size: 18px; line-height: 1.5; color: var(--tpm-grey); }
@media (max-width: 600px) { .tpm-card__title { font-size: 20px; } .tpm-card__text { font-size: 16px; } }

/* ==========================================================================
   LOGOS
   ========================================================================== */
.tpm-logos__panel { background: #fff; border-radius: var(--tpm-radius-lg); padding: 80px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tpm-logos__title { --fs: 32px; margin: 0 auto var(--title-gap, 70px); max-width: 900px; font-weight: 500; line-height: 1.5; color: var(--tpm-ink-2); }
.tpm-logos .tpm-logos__text { --fs: 16px; margin: 0 0 30px; font-weight: 400; color: #4d4d4d; line-height: 1.5; }
.tpm-marquee { position: relative; width: 100%; max-width: 1110px; overflow: hidden; }
.tpm-marquee::before, .tpm-marquee::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 15%; z-index: 2; pointer-events: none;
}
.tpm-marquee::before { left: 0; background: linear-gradient(90deg, var(--fade, #fff) 0%, rgba(255, 255, 255, 0) 100%); }
.tpm-marquee::after  { right: 0; background: linear-gradient(270deg, var(--fade, #fff) 0%, rgba(255, 255, 255, 0) 100%); }
.tpm-marquee__track { display: flex; width: max-content; }
.tpm-marquee__set { display: flex; align-items: center; gap: var(--gap, 66px); padding-right: var(--gap, 66px); }
.tpm-marquee__item { flex: 0 0 auto; height: var(--lh, 150px); display: flex; align-items: center; justify-content: center; }
.tpm-marquee__item img { height: 100%; width: auto; max-width: none; object-fit: contain; }
.tpm-marquee.is-auto .tpm-marquee__track { animation: tpm-marquee var(--dur, 30s) linear infinite; }
.tpm-marquee.is-auto:hover .tpm-marquee__track { animation-play-state: paused; }
@keyframes tpm-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.tpm-marquee:not(.is-auto) .tpm-marquee__set[aria-hidden] { display: none; }
.tpm-marquee:not(.is-auto) .tpm-marquee__track { width: 100%; overflow-x: auto; justify-content: safe center; }
@media (max-width: 600px) {
	.tpm-logos__panel { padding: 56px 16px; }
	.tpm-logos__title { margin-bottom: min(var(--title-gap, 70px), 56px); }
	.tpm-logos .tpm-logos__text { margin: 0 0 24px; }
	.tpm-marquee__item { height: calc(var(--lh, 150px) * .6); }
}

/* ==========================================================================
   POR QUÉ
   ========================================================================== */
.tpm-why__card {
	display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
	background: #fff; border-radius: var(--tpm-radius-lg); padding: 8px; min-height: 480px;
}
.tpm-why__media { border-radius: var(--tpm-radius-md); min-height: 320px; }
.tpm-why__media img { position: absolute; inset: 0; }
.tpm-why__body { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 48px 48px 40px; }
.tpm-why__title { margin: 0 0 24px; font: 400 40px/1.5 var(--tpm-font); color: var(--why-title, var(--tpm-blue)); }
.tpm-why__text { font-size: 18px; line-height: 1.5; color: var(--tpm-grey); }
.tpm-why__btn {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
	min-width: 56px; height: 56px; padding: 0 16px; justify-content: center;
	border-radius: 8px; background: var(--why-btn, var(--tpm-cyan)); color: #fff; font: 500 16px/1 var(--tpm-font);
	transition: background-color .3s ease;
}
.tpm-why__btn:hover { background: var(--why-btn-h, var(--tpm-blue)); }
.tpm-why__btn-ic { width: 22px; height: 22px; display: inline-flex; transition: transform .3s ease; }
.tpm-why__btn:hover .tpm-why__btn-ic { transform: translate(2px, -2px); }
@media (max-width: 900px) {
	.tpm-why__card { grid-template-columns: 1fr; }
	.tpm-why__body { padding: 32px 20px 24px; }
	.tpm-why__title { font-size: 30px; }
}

/* ==========================================================================
   VISIÓN (tabs verticales)
   ========================================================================== */
.tpm-vision { background: var(--tpm-section-bg, #fff); }
.tpm-vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.tpm-vision__media { position: relative; border-radius: var(--tpm-radius-md); overflow: hidden; min-height: 520px; background: var(--tpm-bg); }
.tpm-vision__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s var(--tpm-ease); }
.tpm-vision__img.is-active { opacity: 1; transform: scale(1); }
.tpm-vision__img img { width: 100%; height: 100%; object-fit: cover; }
.tpm-vision__tabs { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.tpm-vtab { border-radius: var(--tpm-radius-md); background: var(--tab-bg, #f2f2f2); color: var(--tab-c, #0cc0df); transition: background-color .45s ease, color .45s ease; }
.tpm-vtab__title {
	all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer;
	padding: 24px 28px; font: 500 32px/1.3 var(--tpm-font); color: inherit;
}
.tpm-vtab__title:focus-visible { outline: 2px solid var(--tpm-blue); outline-offset: -4px; border-radius: var(--tpm-radius-md); }
.tpm-vtab__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--tpm-ease); }
.tpm-vtab__inner { overflow: hidden; }
.tpm-vtab__text { padding: 0 28px 28px; font-size: 16px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.tpm-vtab.is-active, .tpm-vtab:hover { background: var(--tab-on-bg, #0e1cb1); color: var(--tab-on-c, #fff); }
.tpm-vtab.is-active .tpm-vtab__panel { grid-template-rows: 1fr; }
.tpm-vtab.is-active .tpm-vtab__text { opacity: 1; transform: none; transition-delay: .12s; }
@media (max-width: 991px) {
	.tpm-vision__grid { grid-template-columns: 1fr; }
	.tpm-vision__media { min-height: 0; aspect-ratio: 4 / 3; }
	.tpm-vtab__title { font-size: 22px; padding: 20px; }
	.tpm-vtab__text { padding: 0 20px 20px; }
}

/* ==========================================================================
   PREGUNTAS (acordeón)
   ========================================================================== */
.tpm-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.tpm-faq__left { position: sticky; top: 140px; }
.tpm-faq .tpm-title { color: var(--tpm-ink); }
.tpm-faq__list { display: flex; flex-direction: column; gap: 24px; }
.tpm-acc { background: #fff; border-radius: var(--tpm-radius-md); }
.tpm-acc__q {
	all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 24px; font: 500 24px/1.5 var(--tpm-font); color: var(--tpm-ink-3);
}
.tpm-acc__q:focus-visible { outline: 2px solid var(--tpm-blue); outline-offset: -4px; border-radius: var(--tpm-radius-md); }
.tpm-acc__icon { position: relative; flex: 0 0 20px; width: 20px; height: 20px; color: var(--tpm-cyan); transition: color .4s ease, transform .4s var(--tpm-ease); }
.tpm-acc__icon::before, .tpm-acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .4s var(--tpm-ease), opacity .3s ease; }
.tpm-acc__icon::before { width: 18px; height: 2px; }
.tpm-acc__icon::after  { width: 2px; height: 18px; }
.tpm-acc.is-open .tpm-acc__icon { color: var(--tpm-blue); transform: rotate(180deg); }
.tpm-acc.is-open .tpm-acc__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.tpm-acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--tpm-ease); }
.tpm-acc__inner { overflow: hidden; }
.tpm-acc__text { padding: 0 24px 24px; font-size: 16px; line-height: 1.5; color: var(--tpm-ink-3); opacity: 0; transform: translateY(-6px); transition: opacity .4s ease, transform .4s ease; }
.tpm-acc.is-open .tpm-acc__a { grid-template-rows: 1fr; }
.tpm-acc.is-open .tpm-acc__text { opacity: 1; transform: none; transition-delay: .1s; }
@media (max-width: 991px) {
	.tpm-faq__grid { grid-template-columns: 1fr; gap: 40px; }
	.tpm-faq__left { position: static; }
	.tpm-acc__q { font-size: 18px; padding: 20px; }
	.tpm-acc__text { padding: 0 20px 20px; }
}

/* ==========================================================================
   EQUIPO
   ========================================================================== */
.tpm-team__panel {
	display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
	height: var(--panel-h, 700px); overflow: hidden;
	background: var(--panel-bg, var(--tpm-cyan)); border-radius: 40px; padding: 0 80px;
}
.tpm-team__left { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--quote-gap, 100px); padding: 80px 0; color: #fff; }
.tpm-team__texts { display: flex; flex-direction: column; gap: var(--left-gap, 40px); }
.tpm-team__title { --fs: 56px; margin: 0; font-weight: 500; line-height: 1.1; color: #fff; }
.tpm-team__text { --fs: 16px; font-weight: 400; line-height: 1.5; color: #fff; max-width: 420px; }
.tpm-team__quote { color: #fff; width: 190px; max-width: 40%; line-height: 0; }
.tpm-team__quote svg { width: 100%; height: auto; display: block; }
.tpm-team__cols { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gapc, 12px); height: 100%; overflow: hidden; }
/* Degradado superior e inferior con el color del panel (igual que los logos) */
.tpm-team__cols::before, .tpm-team__cols::after {
	content: ""; position: absolute; left: 0; right: 0; height: var(--team-fade, 140px); z-index: 3; pointer-events: none;
}
.tpm-team__cols::before { top: 0; background: linear-gradient(180deg, var(--panel-bg, #0cc0df) 0%, transparent 100%); }
.tpm-team__cols::after  { bottom: 0; background: linear-gradient(0deg, var(--panel-bg, #0cc0df) 0%, transparent 100%); }
.tpm-team__col { position: relative; overflow: hidden; height: 100%; }
.tpm-team__track { display: flex; flex-direction: column; }
.tpm-team__set { display: flex; flex-direction: column; gap: var(--gapk, 12px); padding-bottom: var(--gapk, 12px); }
.tpm-team__cols.is-auto .tpm-team__col.is-up   .tpm-team__track { animation: tpm-up var(--dur, 40s) linear infinite; }
.tpm-team__cols.is-auto .tpm-team__col.is-down .tpm-team__track { animation: tpm-down var(--dur, 40s) linear infinite; }
.tpm-team__cols.is-auto .tpm-team__col:hover .tpm-team__track { animation-play-state: paused; }
.tpm-team__cols:not(.is-auto) .tpm-team__col { overflow-y: auto; scrollbar-width: none; }
.tpm-team__cols:not(.is-auto) .tpm-team__set[aria-hidden] { display: none; }
@keyframes tpm-up   { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes tpm-down { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }
.tpm-member { background: #fff; border-radius: var(--tpm-radius-sm); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.tpm-member__head { display: flex !important; align-items: center; gap: 12px; visibility: visible !important; opacity: 1 !important; }
.tpm-member__avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--tpm-bg); }
.tpm-member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tpm-member__id { display: flex; flex-direction: column; }
.tpm-member__name { font: 400 16px/1.5 var(--tpm-font); color: var(--tpm-ink); }
.tpm-member__role { font-size: 14px; line-height: 1.5; color: #676767; }
.tpm-member__text { font-size: 16px; line-height: 1.5; color: var(--tpm-ink-3); }
@media (max-width: 1100px) { .tpm-team__panel { padding: 0 40px; gap: 40px; } }
@media (max-width: 900px) {
	.tpm-team__panel { grid-template-columns: 1fr; height: auto; padding: 0 20px; border-radius: 32px; }
	.tpm-team__left { padding: 56px 0 0; gap: min(var(--quote-gap, 100px), 48px); }
	.tpm-team__texts { gap: min(var(--left-gap, 40px), 24px); }
	.tpm-team__quote { width: 100px; }
	.tpm-team__cols { height: 640px; margin-bottom: 20px; }
}
@media (max-width: 600px) {
	.tpm-team__cols { grid-template-columns: 1fr; height: 560px; }
	.tpm-team__col + .tpm-team__col { display: none; }
	.tpm-member { padding: 20px; }
}

/* ==========================================================================
   BLOG / PROYECTOS (cards)
   ========================================================================== */
.tpm-blog .tpm-title { color: var(--tpm-ink); }
.tpm-post, .tpm-project { background: #fff; border-radius: var(--tpm-radius-lg); padding: 8px; display: flex; flex-direction: column; }
.tpm-post__media, .tpm-project__media { display: block; border-radius: var(--tpm-radius-md); aspect-ratio: 16 / 11; background: var(--tpm-bg); }
.tpm-post__ph { position: absolute; inset: 0; background: radial-gradient(circle at 25% 30%, rgba(12, 192, 223, .35), transparent 55%), radial-gradient(circle at 80% 70%, rgba(14, 28, 177, .25), transparent 55%), #f7f7f7; }
.tpm-post__body, .tpm-project__body { padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.tpm-post__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tpm-post__time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #676767; }
.tpm-post__time svg { width: 16px; height: 16px; }
.tpm-post__title, .tpm-project__title { margin: 0; font: 500 28px/1.3 var(--tpm-font); color: var(--tpm-ink-2); }
.tpm-post__title a { color: inherit; }
.tpm-post__title a:hover { color: var(--tpm-blue); }
.tpm-post__text, .tpm-project__text { font-size: 16px; line-height: 1.5; color: var(--tpm-grey); }
.tpm-post__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--tpm-font); color: var(--tpm-ink-2); }
.tpm-post__btn-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--tpm-cyan); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s ease, transform .3s ease; }
.tpm-post__btn-ic svg { width: 18px; height: 18px; }
.tpm-post__btn:hover .tpm-post__btn-ic { background: var(--tpm-blue); transform: rotate(45deg); }
.tpm-project__metrics { display: flex; gap: 32px; padding-top: 8px; border-top: 1px solid var(--tpm-line); }
.tpm-project__metrics div { display: flex; flex-direction: column; }
.tpm-project__metrics strong { font: 500 28px/1.2 var(--tpm-font); color: var(--tpm-blue); }
.tpm-project__metrics span { font-size: 14px; color: #676767; }
.tpm-project .tpm-pill { align-self: flex-start; }
@media (max-width: 600px) { .tpm-post__title, .tpm-project__title { font-size: 22px; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.tpm-header { position: relative; z-index: 999; padding: 20px; }
.tpm-header.is-sticky { position: fixed; top: 0; left: 0; right: 0; }
body.admin-bar .tpm-header.is-sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tpm-header.is-sticky { top: 46px; } }
.tpm-header__bar {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
	background: #fff; border: 1px solid var(--tpm-line); border-radius: 16px; padding: 0 20px;
	min-height: 90px; transition: min-height .35s ease, box-shadow .35s ease;
}
.tpm-header.is-scrolled .tpm-header__bar { box-shadow: 0 10px 30px rgba(11, 11, 11, .06); }
.tpm-header__brand { display: flex; align-items: center; gap: 20px; }
.tpm-header__logo { display: inline-flex; width: var(--logo-w, 60px); }
.tpm-header__logo img { width: 100%; height: auto; display: block; }
.tpm-header__name { font: 600 20px/1 var(--tpm-font); color: var(--tpm-ink); }
.tpm-header__nav { justify-self: center; }
.tpm-header .tpm-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; }
.tpm-header .tpm-menu li { position: relative; }
.tpm-header .tpm-menu a { font: 400 16px/1.5 var(--tpm-font); color: #4d4d4d; text-decoration: none; transition: color .25s ease; }
.tpm-header .tpm-menu a:hover, .tpm-header .tpm-menu .current-menu-item > a, .tpm-header .tpm-menu .current_page_item > a { color: var(--tpm-ink); }
.tpm-header .tpm-menu .sub-menu { list-style: none; position: absolute; top: 100%; left: -16px; min-width: 200px; margin: 12px 0 0; padding: 12px 16px; background: #fff; border: 1px solid var(--tpm-line); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .25s ease; }
.tpm-header .tpm-menu .sub-menu li + li { margin-top: 8px; }
.tpm-header .tpm-menu li:hover > .sub-menu, .tpm-header .tpm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tpm-header__end { justify-self: end; display: flex; align-items: center; gap: 12px; }
.tpm-header__btn { font-weight: 600; padding: 12px 24px; }
.tpm-burger {
	display: none; flex: 0 0 auto; width: 48px; height: 48px; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--burger-bg, #0e1cb1); color: var(--burger-c, #fff);
	padding: 0 12px; flex-direction: column; justify-content: center; gap: 6px;
	transition: transform .25s ease, filter .25s ease;
}
.tpm-burger:hover { filter: brightness(1.15); }
.tpm-burger:focus-visible { outline: 2px solid var(--burger-bg, #0e1cb1); outline-offset: 3px; }
.tpm-burger span { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Panel lateral (drawer) ---------- */
.tpm-drawer { position: fixed; inset: 0; z-index: 100000; visibility: hidden; pointer-events: none; font-family: var(--tpm-font); transition: visibility 0s linear .5s; }
.tpm-drawer[hidden] { display: none; }
.tpm-drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.tpm-drawer__overlay { position: absolute; inset: 0; background: rgba(11, 11, 11, .72); opacity: 0; transition: opacity .45s ease; }
.tpm-drawer.is-open .tpm-drawer__overlay { opacity: 1; }
.tpm-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(var(--drawer-w, 512px), 100%);
	display: flex; flex-direction: column; background: #fff; overflow-y: auto; overscroll-behavior: contain;
	padding: 0 24px 32px; box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
	/* Al cerrar: se desliza de izquierda a derecha y se desvanece */
	opacity: 0; transform: translate3d(48px, 0, 0);
	transition: opacity .4s ease, transform .5s var(--tpm-ease);
}
/* Al abrir: se desliza de derecha a izquierda y aparece */
.tpm-drawer.is-open .tpm-drawer__panel { opacity: 1; transform: translate3d(0, 0, 0); }
.tpm-drawer__top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; align-items: center; min-height: 76px; background: #fff; border-bottom: 1px solid #c9c9c9; margin-bottom: 20px; }
.tpm-drawer__close { width: 40px; height: 40px; border: 0; background: transparent; color: #343434; cursor: pointer; padding: 6px; border-radius: 8px; transition: background-color .2s ease, transform .3s ease; }
.tpm-drawer__close:hover { background: var(--tpm-bg); transform: rotate(90deg); }
.tpm-drawer__close:focus-visible { outline: 2px solid var(--drawer-ac, #0e1cb1); }
.tpm-drawer__close svg { width: 100%; height: 100%; display: block; }
.tpm-drawer__menu, .tpm-drawer__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.tpm-drawer__menu > li { position: relative; }
.tpm-drawer__menu > li > a {
	display: flex; flex-direction: column; gap: 2px; padding: 14px 52px 14px 18px; text-decoration: none;
	font: 500 15px/1.4 var(--tpm-font); letter-spacing: .02em; text-transform: uppercase; color: #343434;
	border-radius: 10px; transition: color .25s ease, background-color .25s ease;
}
.tpm-drawer__desc { font: 400 13px/1.4 var(--tpm-font); letter-spacing: 0; text-transform: none; color: #676767; }
.tpm-drawer__menu > li > a:hover { background: var(--tpm-bg); }
.tpm-drawer__menu .current-menu-item > a, .tpm-drawer__menu .current_page_item > a,
.tpm-drawer__menu .current-menu-ancestor > a, .tpm-drawer__menu .current-menu-parent > a { color: var(--drawer-ac, #0e1cb1); }
/* Submenús: caja gris desplegable */
.tpm-drawer__toggle { position: absolute; top: 8px; right: 6px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #343434; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tpm-drawer__toggle:hover { background: var(--tpm-bg); }
.tpm-drawer__toggle svg { width: 18px; height: 18px; transition: transform .35s var(--tpm-ease); }
.tpm-drawer__menu li.is-sub-open > .tpm-drawer__toggle svg { transform: rotate(180deg); }
.tpm-drawer__menu .sub-menu-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--tpm-ease); }
.tpm-drawer__menu li.is-sub-open > .sub-menu-wrap { grid-template-rows: 1fr; }
.tpm-drawer__menu .sub-menu-wrap > .sub-menu { overflow: hidden; }
.tpm-drawer__menu .sub-menu { background: #f2f2f2; border-radius: 10px; margin: 4px 0 10px; opacity: 0; transition: opacity .35s ease; }
.tpm-drawer__menu li.is-sub-open > .sub-menu-wrap > .sub-menu { opacity: 1; padding: 8px 0; }
.tpm-drawer__menu .sub-menu a { display: block; padding: 12px 28px; font: 400 14px/1.4 var(--tpm-font); text-transform: uppercase; color: #343434; text-decoration: none; }
.tpm-drawer__menu .sub-menu a:hover { color: var(--drawer-ac, #0e1cb1); }
.tpm-drawer__cta { margin-top: auto; padding-top: 32px; }
.tpm-drawer__btn { display: flex; width: 100%; max-width: 100%; }
/* Entrada escalonada de los ítems */
.tpm-drawer__menu > li { opacity: 0; transform: translate3d(16px, 0, 0); transition: opacity .35s ease, transform .45s var(--tpm-ease); }
.tpm-drawer.is-open .tpm-drawer__menu > li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .04s); }
html.tpm-lock, html.tpm-lock body { overflow: hidden; }

/* ---------- Breakpoints del header ---------- */
@media (max-width: 1199px) { .tpm-header.bp-1199 .tpm-header__nav, .tpm-header.bp-1199 .tpm-header__btn { display: none; } .tpm-header.bp-1199 .tpm-burger { display: flex; } .tpm-header.bp-1199 .tpm-header__bar { grid-template-columns: 1fr auto; } }
@media (max-width: 991px)  { .tpm-header.bp-991  .tpm-header__nav, .tpm-header.bp-991  .tpm-header__btn { display: none; } .tpm-header.bp-991  .tpm-burger { display: flex; } .tpm-header.bp-991  .tpm-header__bar { grid-template-columns: 1fr auto; } }
@media (max-width: 767px)  { .tpm-header.bp-767  .tpm-header__nav, .tpm-header.bp-767  .tpm-header__btn { display: none; } .tpm-header.bp-767  .tpm-burger { display: flex; } .tpm-header.bp-767  .tpm-header__bar { grid-template-columns: 1fr auto; } }
@media (max-width: 991px) {
	.tpm-header { padding: 16px; }
	.tpm-header__bar { min-height: 90px; padding: 10px 20px 10px 16px; }
	.tpm-header__logo { width: min(var(--logo-w, 60px), 60px); }
}
@media (max-width: 480px) { .tpm-drawer__panel { padding: 0 16px 24px; } }

/* Header/footer globales en todo el sitio */
body.tpm-hide-theme .wp-site-blocks > header.wp-block-template-part,
body.tpm-hide-theme .wp-site-blocks > footer.wp-block-template-part,
body.tpm-hide-theme #masthead, body.tpm-hide-theme .site-header,
body.tpm-hide-theme #colophon, body.tpm-hide-theme .site-footer { display: none !important; }
body.tpm-offset .tpm-header.is-sticky + * { padding-top: 148px; }
body.tpm-offset .tpm-header.is-sticky + *:has(.tpm-hero, .tpm-phero) { padding-top: 0; }
@media (max-width: 991px) { body.tpm-offset .tpm-header.is-sticky + * { padding-top: 110px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tpm-footer { padding: 0 20px 20px; background: var(--tpm-bg); }
.tpm-footer__inner { background: #1a1a1a; border-radius: 16px; padding: 80px 76px 40px; color: #fff; }
.tpm-footer__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.tpm-footer__col--1 { max-width: 500px; display: flex; flex-direction: column; gap: 24px; }
.tpm-footer__logo { display: block; width: 130px; }
.tpm-footer__logo img { width: 100%; height: auto; display: block; }
.tpm-footer__text1 { font-size: 16px; line-height: 1.5; color: #fff; }
.tpm-footer__text2 { font-size: 14px; line-height: 1.5; color: #d9d9d9; margin-top: -8px; }
.tpm-footer__title { margin: 0 0 20px; font: 400 18px/1.4 var(--tpm-font); color: #fff; }
.tpm-footer__col--3 .tpm-footer__title:not(:first-child) { margin-top: 32px; }
.tpm-footer__info { font-size: 16px; line-height: 1.6; color: #d9d9d9; }
.tpm-footer__info a { color: #d9d9d9; }
.tpm-footer__info a:hover { color: var(--tpm-cyan); }
.tpm-footer__menu { list-style: none; margin: 0; padding: 0 0 0 4px; display: flex; flex-direction: column; gap: 14px; }
.tpm-footer__menu a { font-size: 16px; color: #d9d9d9; transition: color .25s ease; }
.tpm-footer__menu a:hover { color: var(--tpm-cyan); }
.tpm-footer__menu .sub-menu { list-style: none; padding-left: 12px; margin-top: 10px; }
.tpm-socials { list-style: none; margin: 32px 0 0; padding: 0; display: flex; gap: 14px; align-items: center; }
.tpm-socials a { display: inline-flex; width: 20px; height: 20px; color: #fff; transition: color .25s ease, transform .25s ease; }
.tpm-socials a:hover { color: var(--tpm-cyan); transform: translateY(-2px); }
.tpm-socials svg { width: 100%; height: 100%; }
.tpm-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 40px; border-top: 1px solid #3a3a3a; font-size: 14px; color: #d9d9d9; }
.tpm-footer__link { color: #d9d9d9; text-decoration: underline !important; font-size: 16px; }
.tpm-footer__link:hover { color: var(--tpm-cyan); }
/* Contact Form 7 dentro del footer */
.tpm-footer .wpcf7 form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.tpm-footer .wpcf7 p { margin: 0; }
.tpm-footer .wpcf7 input[type="email"], .tpm-footer .wpcf7 input[type="text"] { width: 100%; min-width: 220px; height: 46px; padding: 0 12px; background: transparent; border: 1px solid #676767; border-radius: 4px; color: #fff; font: 16px var(--tpm-font); }
.tpm-footer .wpcf7 input::placeholder { color: #808080; }
.tpm-footer .wpcf7 input[type="submit"], .tpm-contact .wpcf7 input[type="submit"] { height: 46px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--tpm-cyan); color: #fff; font: 600 16px var(--tpm-font); cursor: pointer; transition: background-color .3s ease; }
.tpm-footer .wpcf7 input[type="submit"]:hover, .tpm-contact .wpcf7 input[type="submit"]:hover { background: var(--tpm-blue); }
@media (max-width: 991px) {
	.tpm-footer__inner { padding: 56px 28px 32px; }
	.tpm-footer__grid { grid-template-columns: 1fr 1fr; }
	.tpm-footer__col--1 { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 600px) { .tpm-footer__grid { grid-template-columns: 1fr; } .tpm-footer__bottom { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   HERO INTERNO / CTA
   ========================================================================== */
.tpm-phero { padding: var(--tpm-pt, 20px) 20px var(--tpm-pb, 20px); }
.tpm-phero__frame, .tpm-cta__frame { position: relative; overflow: hidden; border-radius: 16px; background: var(--hero-bg, #fbf8f8); isolation: isolate; }
.tpm-phero__frame { min-height: var(--hero-minh, 480px); display: flex; align-items: center; justify-content: center; padding: 160px 24px 72px; }
.tpm-phero__glows { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tpm-phero__glow { position: absolute; top: 50%; width: 46vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; filter: blur(30px); opacity: .55; transform: translate3d(var(--gx, 0), calc(-50% + var(--gy, 0px)), 0); transition: transform 1.2s var(--tpm-ease); }
.tpm-phero__glow.is-l { left: -16vw; background: radial-gradient(circle, var(--glow-l, #0cc0df) 0%, rgba(255, 255, 255, 0) 68%); }
.tpm-phero__glow.is-r { right: -16vw; background: radial-gradient(circle, var(--glow-r, #0e1cb1) 0%, rgba(255, 255, 255, 0) 68%); transform: translate3d(calc(var(--gx, 0px) * -1), calc(-50% - var(--gy, 0px)), 0); }
.tpm-phero__content { position: relative; z-index: 5; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 760px; }
.tpm-phero__title { --fs: 80px; margin: 0; font-weight: 500; line-height: 1.1; color: var(--tpm-blue); }
.tpm-phero__text { --fs: 18px; line-height: 1.5; color: var(--tpm-ink-3); }
.tpm-cta__frame { background: #fff; padding: 120px 24px; }
.tpm-cta__glow { position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow, #0cc0df) 0%, rgba(255, 255, 255, 0) 65%); opacity: .45; filter: blur(30px); transform: translate3d(calc(-50% + var(--gx, 0px)), calc(-50% + var(--gy, 0px)), 0); transition: transform 1.2s var(--tpm-ease); }
.tpm-cta__content { position: relative; z-index: 5; }
.tpm-cta__content .tpm-head { margin: 0; }
@media (max-width: 600px) { .tpm-phero__frame { padding: 130px 16px 56px; min-height: 380px; } .tpm-cta__frame { padding: 72px 16px; } }

/* ==========================================================================
   TEXTO DESTACADO / MISIÓN / CIFRAS / VALORES / PROCESO
   ========================================================================== */
.tpm-intro__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.tpm-intro.has-image .tpm-intro__grid { grid-template-columns: 1.1fr .9fr; }
.tpm-intro.img-left .tpm-intro__media { order: -1; }
.tpm-intro__body { display: flex; flex-direction: column; gap: 24px; }
.tpm-intro__title { --fs: 40px; margin: 0; font-weight: 500; line-height: 1.3; color: var(--tpm-ink-2); }
.tpm-intro__media { border-radius: var(--tpm-radius-lg); aspect-ratio: 4 / 3; }
.tpm-intro:not(.has-image) .tpm-intro__body { max-width: 980px; margin: 0 auto; text-align: center; align-items: center; }

.tpm-mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.tpm-mv__media { border-radius: var(--tpm-radius-md); overflow: hidden; min-height: 420px; }
.tpm-mv__media img { width: 100%; height: 100%; object-fit: cover; }
.tpm-mv__cards { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.tpm-mv__card { background: #fff; border-radius: var(--tpm-radius-md); padding: 32px; }
.tpm-mv__label { margin: 0 0 16px; font: 500 22px/1.3 var(--tpm-font); color: var(--mv-label, var(--tpm-cyan)); }
.tpm-mv__text { font-size: 18px; line-height: 1.5; color: var(--tpm-ink-3); }

.tpm-stats__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; }
.tpm-stat { background: #fff; border-radius: var(--tpm-radius-md); padding: 40px 28px; display: flex; flex-direction: column; gap: 12px; }
.tpm-stat__value { font: 500 64px/1 var(--tpm-font); color: var(--stat-c, var(--tpm-blue)); letter-spacing: -0.02em; }
.tpm-stat__label { font-size: 16px; line-height: 1.4; color: var(--tpm-ink-3); }

.tpm-value { background: #fff; border-radius: var(--tpm-radius-md); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.tpm-value__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--tpm-bg); color: var(--ic-c, var(--tpm-cyan)); display: inline-flex; align-items: center; justify-content: center; }
.tpm-value__icon svg { width: 24px; height: 24px; }
.tpm-value__title { margin: 0; font: 500 22px/1.3 var(--tpm-font); color: var(--tpm-ink-2); }
.tpm-value__text { font-size: 16px; line-height: 1.5; color: var(--tpm-grey); }

.tpm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.tpm-step { position: relative; background: #fff; border-radius: var(--tpm-radius-md); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.tpm-step__n { font: 500 15px/1 var(--tpm-font); color: #fff; background: var(--tpm-blue); border-radius: 999px; padding: 8px 12px; align-self: flex-start; }
.tpm-step__title { margin: 0; font: 500 24px/1.3 var(--tpm-font); color: var(--tpm-ink-2); }
.tpm-step__text { font-size: 16px; line-height: 1.5; color: var(--tpm-grey); }
@media (max-width: 991px) {
	.tpm-intro.has-image .tpm-intro__grid, .tpm-mv__grid { grid-template-columns: 1fr; }
	.tpm-mv__media { min-height: 0; aspect-ratio: 4 / 3; }
	.tpm-stats__grid, .tpm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tpm-stat__value { font-size: 48px; }
}
@media (max-width: 600px) { .tpm-stats__grid, .tpm-steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   LISTADO DE SERVICIOS
   ========================================================================== */
.tpm-svc__list { display: flex; flex-direction: column; gap: 12px; }
.tpm-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #fff; border-radius: var(--tpm-radius-lg); padding: 8px; }
.tpm-svc:nth-child(even) .tpm-svc__media { order: 2; }
.tpm-svc__media { border-radius: var(--tpm-radius-md); min-height: 360px; }
.tpm-svc__media img { position: absolute; inset: 0; }
.tpm-svc__body { padding: 40px; display: flex; flex-direction: column; gap: 20px; justify-content: center; align-items: flex-start; }
.tpm-svc__title { margin: 0; font: 500 36px/1.2 var(--tpm-font); color: var(--tpm-blue); }
.tpm-svc__text { font-size: 18px; line-height: 1.5; color: var(--tpm-grey); }
.tpm-svc__ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tpm-svc__ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--tpm-ink-3); }
.tpm-svc__ul svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; color: var(--tpm-cyan); }
@media (max-width: 900px) {
	.tpm-svc { grid-template-columns: 1fr; }
	.tpm-svc:nth-child(even) .tpm-svc__media { order: 0; }
	.tpm-svc__media { min-height: 0; aspect-ratio: 4 / 3; }
	.tpm-svc__body { padding: 24px 16px; }
	.tpm-svc__title { font-size: 26px; }
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.tpm-contact__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.tpm-contact__form { background: #fff; border-radius: var(--tpm-radius-lg); padding: 48px; display: flex; flex-direction: column; gap: 32px; }
.tpm-contact__info { display: flex; flex-direction: column; gap: 12px; }
.tpm-contact__info-title { margin: 0 0 8px; font: 500 24px/1.3 var(--tpm-font); color: var(--tpm-ink-2); }
.tpm-cinfo { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--tpm-radius-md); padding: 24px; color: inherit; transition: transform .3s ease; }
a.tpm-cinfo:hover { transform: translateY(-2px); }
.tpm-cinfo__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--tpm-bg); color: var(--tpm-cyan); display: inline-flex; align-items: center; justify-content: center; }
.tpm-cinfo__icon svg { width: 22px; height: 22px; }
.tpm-cinfo__title { display: block; font: 500 18px/1.4 var(--tpm-font); color: var(--tpm-ink-2); }
.tpm-cinfo__text { display: block; font-size: 16px; line-height: 1.5; color: var(--tpm-grey); }
.tpm-contact__map { margin-top: 24px; border-radius: var(--tpm-radius-lg); overflow: hidden; height: 420px; }
.tpm-contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.tpm-contact .wpcf7 label { display: block; font: 500 14px/1.4 var(--tpm-font); color: var(--tpm-ink-3); }
.tpm-contact .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .tpm-contact .wpcf7 textarea, .tpm-contact .wpcf7 select { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--tpm-line); border-radius: 8px; background: #fafafa; font: 16px var(--tpm-font); color: var(--tpm-ink-2); }
.tpm-contact .wpcf7 textarea { min-height: 140px; }
@media (max-width: 900px) { .tpm-contact__grid { grid-template-columns: 1fr; } .tpm-contact__form { padding: 28px 20px; } }

/* ==========================================================================
   Aparición al hacer scroll
   ========================================================================== */
.tpm-reveal-on [data-tpm-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s var(--tpm-ease); }
.tpm-reveal-on [data-tpm-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.tpm *, .tpm-header * { animation: none !important; transition: none !important; }
	.tpm-reveal-on [data-tpm-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Pesos tipográficos configurables (Tipografía · font weight en cada módulo)
   ========================================================================== */
.tpm-card__title, .tpm-why__title, .tpm-vtab__title, .tpm-acc__q, .tpm-member__name,
.tpm-post__title, .tpm-project__title, .tpm-mv__label, .tpm-value__title, .tpm-step__title,
.tpm-svc__title, .tpm-cinfo__title, .tpm-contact__info-title, .tpm-stat__value, .tpm-footer__title,
.tpm-project__metrics strong { font-weight: var(--tpm-w-title, 500); }
.tpm-why__title { font-weight: var(--tpm-w-title, 400); }
.tpm-footer__title { font-weight: var(--tpm-w-title, 400); }
.tpm-header .tpm-menu a, .tpm-drawer__menu > li > a { font-weight: var(--tpm-w-title, 400); }
.tpm-drawer__menu > li > a { font-weight: var(--tpm-w-title, 500); }
.tpm-card__text, .tpm-why__text, .tpm-vtab__text, .tpm-acc__text, .tpm-member__text, .tpm-member__role,
.tpm-post__text, .tpm-project__text, .tpm-mv__text, .tpm-value__text, .tpm-step__text, .tpm-svc__text,
.tpm-svc__ul li, .tpm-cinfo__text, .tpm-stat__label, .tpm-footer__info, .tpm-footer__text1, .tpm-footer__text2,
.tpm-footer__menu a, .tpm-footer__copy, .tpm-post__time, .tpm-drawer__menu .sub-menu a, .tpm-drawer__desc { font-weight: var(--tpm-w-text, 400); }

@media (prefers-reduced-motion: reduce) {
	.tpm-hero__title, .tpm-hero__subtitle, .tpm-hero__actions { animation: none !important; opacity: 1; transform: none; }
}
