/*
Theme Name: Training Flow
Description: Tema hijo de Blocksy para la landing de Training Flow.
Author: Training Flow
Template: blocksy
Version: 1.0.12
Text Domain: training-flow
*/

:root {
	--tf-ink: #07111f;
	--tf-navy: #0b1728;
	--tf-panel: #111f32;
	--tf-line: rgba(255, 255, 255, 0.11);
	--tf-blue: #2878ff;
	--tf-cyan: #57d4ff;
	--tf-white: #f7f9fc;
	--tf-muted: #aeb9c8;
	--tf-green: #71e0ad;
}

body.home {
	background: var(--tf-ink);
	color: var(--tf-white);
}

body.home .site-main,
body.home .entry-content,
body.page-template-page-about-us .site-main,
body.page-template-page-about-us .entry-content {
	margin: 0;
	padding: 0;
}

.tf-page {
	overflow: hidden;
	background:
		radial-gradient(circle at 80% 6%, rgba(40, 120, 255, 0.18), transparent 28rem),
		var(--tf-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tf-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.tf-hero {
	position: relative;
	display: grid;
	min-height: 780px;
	align-items: center;
	background: var(--tf-ink);
}

.tf-hero::before {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 17, 31, 0.99) 0%, rgba(7, 17, 31, 0.9) 48%, rgba(7, 17, 31, 0.25) 100%);
	content: "";
	pointer-events: none;
}

.tf-hero::after {
	position: absolute;
	z-index: 1;
	inset: auto 0 0;
	height: 180px;
	background: linear-gradient(transparent, var(--tf-ink));
	content: "";
	pointer-events: none;
}

.tf-hero__slides,
.tf-hero__slide {
	position: absolute;
	inset: 0;
}

.tf-hero__slides {
	z-index: 0;
}

.tf-hero__slide {
	opacity: 0;
	background-position: center;
	background-size: cover;
	transition: opacity .8s ease;
}

.tf-hero__slide.is-active {
	opacity: 1;
}

.tf-hero__slide--strength {
	background-image: url("assets/hero-coaching-strength-v1.webp");
}

.tf-hero__slide--running {
	background-image: url("assets/hero-coaching-running-v1.webp");
}

.tf-hero__slide--progress {
	background-image: url("assets/hero-coaching-progress-v1.webp");
}

.tf-hero__content {
	position: relative;
	z-index: 2;
	max-width: 710px;
	padding: 120px 0 150px;
}

.tf-hero__controls {
	position: absolute;
	z-index: 3;
	right: max(20px, calc((100% - 1180px) / 2));
	bottom: 64px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.tf-hero__dots {
	display: flex;
	gap: 8px;
}

.tf-hero__arrow,
.tf-hero__dot {
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(7, 17, 31, .58);
	color: var(--tf-white);
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.tf-hero__arrow {
	width: 42px;
	height: 42px;
	padding: 0;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
}

.tf-hero__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border-radius: 50%;
}

.tf-hero__arrow:hover,
.tf-hero__arrow:focus-visible,
.tf-hero__dot:hover,
.tf-hero__dot:focus-visible,
.tf-hero__dot.is-active {
	border-color: var(--tf-cyan);
	background: var(--tf-cyan);
	color: var(--tf-ink);
}

.tf-hero__arrow:hover {
	transform: translateY(-2px);
}

.tf-hero__arrow:focus-visible,
.tf-hero__dot:focus-visible {
	outline: 3px solid rgba(87, 212, 255, .32);
	outline-offset: 3px;
}

.tf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 24px;
	color: var(--tf-cyan);
	font-size: 13px;
	font-weight: 750;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.tf-eyebrow::before {
	width: 24px;
	height: 2px;
	background: currentColor;
	content: "";
}

.tf-page h1,
.tf-page h2,
.tf-page h3,
.tf-page p {
	margin-top: 0;
}

.tf-page h1 {
	max-width: 760px;
	margin-bottom: 24px;
	color: var(--tf-white);
	font-size: clamp(46px, 6.1vw, 82px);
	font-weight: 780;
	letter-spacing: -.055em;
	line-height: .98;
}

.tf-page h1 span {
	color: var(--tf-cyan);
}

.tf-lead {
	max-width: 640px;
	margin-bottom: 34px;
	color: #d5dce7;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.65;
}

.tf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.tf-button {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	padding: 0 25px;
	border: 1px solid var(--tf-line);
	border-radius: 9px;
	color: var(--tf-white);
	font-size: 15px;
	font-weight: 750;
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.tf-button:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, .35);
	color: white;
}

.tf-button--primary {
	border-color: var(--tf-blue);
	background: var(--tf-blue);
	box-shadow: 0 16px 40px rgba(40, 120, 255, .25);
}

.tf-button--primary:hover {
	border-color: #4b90ff;
	background: #4b90ff;
}

.tf-button--app-store,
.tf-button--play-store {
	gap: 10px;
}

.tf-button--play-store {
	appearance: none;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
}

.tf-button__apple,
.tf-button__play {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	fill: currentColor;
}

.tf-store-modal {
	width: min(92vw, 480px);
	padding: 0;
	border: 1px solid var(--tf-line);
	border-radius: 18px;
	background: var(--tf-panel);
	color: var(--tf-white);
	box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.tf-store-modal::backdrop {
	background: rgba(3, 10, 20, .78);
	backdrop-filter: blur(5px);
}

.tf-store-modal__content {
	position: relative;
	padding: 46px 38px 38px;
	text-align: center;
}

.tf-store-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tf-muted);
	cursor: pointer;
	font-size: 30px;
	line-height: 1;
}

.tf-store-modal__close:hover {
	color: var(--tf-white);
}

.tf-store-modal__icon {
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	fill: var(--tf-cyan);
}

.tf-store-modal h2 {
	margin: 8px 0 12px;
	color: var(--tf-white);
}

.tf-store-modal p {
	margin: 0 0 26px;
	color: var(--tf-muted);
}

.tf-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 30px;
	margin-top: 34px;
	color: var(--tf-muted);
	font-size: 14px;
}

.tf-trust span::before {
	margin-right: 8px;
	color: var(--tf-green);
	content: "✓";
}

.tf-section {
	padding: 110px 0;
}

.tf-section--soft {
	background: #0a1525;
}

.tf-section--steps {
	padding-bottom: 60px;
}

.tf-heading {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: end;
	margin-bottom: 55px;
}

.tf-heading h2 {
	margin-bottom: 0;
	color: var(--tf-white);
	font-size: clamp(36px, 4.5vw, 58px);
	font-weight: 760;
	letter-spacing: -.045em;
	line-height: 1.05;
}

.tf-heading p {
	margin-bottom: 0;
	color: var(--tf-muted);
	font-size: 18px;
	line-height: 1.7;
}

.tf-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.tf-card {
	position: relative;
	min-height: 300px;
	padding: 34px;
	border: 1px solid var(--tf-line);
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
}

.tf-card__number {
	display: grid;
	width: 46px;
	height: 46px;
	margin-bottom: 58px;
	place-items: center;
	border-radius: 12px;
	background: rgba(40, 120, 255, .15);
	color: var(--tf-cyan);
	font-weight: 800;
}

.tf-card h3 {
	margin-bottom: 12px;
	color: var(--tf-white);
	font-size: 23px;
	letter-spacing: -.02em;
}

.tf-card p {
	margin-bottom: 0;
	color: var(--tf-muted);
	line-height: 1.65;
}

.tf-product {
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	gap: 70px;
	align-items: center;
}

.tf-product h2 {
	color: var(--tf-white);
	font-size: clamp(38px, 4vw, 56px);
	letter-spacing: -.045em;
	line-height: 1.06;
}

.tf-product__copy > p {
	color: var(--tf-muted);
	font-size: 18px;
	line-height: 1.75;
}

.tf-list {
	display: grid;
	gap: 19px;
	margin: 32px 0 38px;
	padding: 0;
	list-style: none;
}

.tf-list li {
	display: flex;
	gap: 13px;
	align-items: flex-start;
	color: #d9e0e9;
}

.tf-list li::before {
	display: grid;
	flex: 0 0 24px;
	height: 24px;
	place-items: center;
	border-radius: 50%;
	background: rgba(113, 224, 173, .12);
	color: var(--tf-green);
	content: "✓";
	font-size: 12px;
	font-weight: 800;
}

.tf-dashboard {
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 20px;
	background: #101e31;
	box-shadow: 0 35px 80px rgba(0, 0, 0, .35);
	transform: rotate(1deg);
}

.tf-dashboard__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 17px;
	padding: 4px 5px 14px;
	border-bottom: 1px solid var(--tf-line);
}

.tf-dashboard__brand {
	font-weight: 800;
	letter-spacing: -.03em;
}

.tf-dashboard__brand span {
	color: var(--tf-cyan);
}

.tf-dots {
	display: flex;
	gap: 5px;
}

.tf-dots i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #35455a;
}

.tf-dashboard__body {
	display: grid;
	grid-template-columns: 1.45fr .55fr;
	gap: 13px;
}

.tf-calendar,
.tf-metric {
	border-radius: 12px;
	background: rgba(255, 255, 255, .045);
}

.tf-calendar {
	grid-row: span 2;
	padding: 18px;
}

.tf-calendar__head {
	display: flex;
	justify-content: space-between;
	margin-bottom: 17px;
	color: #e8edf4;
	font-size: 13px;
	font-weight: 700;
}

.tf-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 7px;
}

.tf-calendar__grid span {
	display: grid;
	aspect-ratio: 1;
	place-items: center;
	border-radius: 7px;
	background: rgba(255, 255, 255, .035);
	color: #8290a3;
	font-size: 10px;
}

.tf-calendar__grid .is-workout {
	background: var(--tf-blue);
	color: white;
	font-weight: 800;
}

.tf-metric {
	padding: 20px;
}

.tf-metric small {
	display: block;
	margin-bottom: 8px;
	color: var(--tf-muted);
}

.tf-metric strong {
	display: block;
	color: var(--tf-white);
	font-size: 27px;
	letter-spacing: -.03em;
}

.tf-metric em {
	color: var(--tf-green);
	font-size: 12px;
	font-style: normal;
}

.tf-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	counter-reset: tf-step;
}

.tf-step {
	padding-top: 28px;
	border-top: 1px solid var(--tf-line);
	counter-increment: tf-step;
}

.tf-step::before {
	display: block;
	margin-bottom: 45px;
	color: var(--tf-cyan);
	content: "0" counter(tf-step);
	font-size: 14px;
	font-weight: 800;
}

.tf-step h3 {
	color: var(--tf-white);
	font-size: clamp(28px, 2.5vw, 34px);
	letter-spacing: -.035em;
	line-height: 1.08;
}

.tf-step p {
	color: var(--tf-muted);
	line-height: 1.65;
}

.tf-cta {
	padding: 40px 30px 95px;
	text-align: center;
}

.tf-cta__box {
	position: relative;
	overflow: hidden;
	padding: 80px 30px;
	border: 1px solid rgba(87, 212, 255, .25);
	border-radius: 22px;
	background: linear-gradient(135deg, #102746, #0c1a2c);
}

.tf-cta__box::before {
	position: absolute;
	top: -170px;
	left: 50%;
	width: 500px;
	height: 330px;
	border-radius: 50%;
	background: rgba(40, 120, 255, .22);
	filter: blur(60px);
	content: "";
	transform: translateX(-50%);
}

.tf-cta h2 {
	position: relative;
	max-width: 760px;
	margin: 0 auto 19px;
	color: var(--tf-white);
	font-size: clamp(38px, 5vw, 62px);
	letter-spacing: -.05em;
	line-height: 1.05;
}

.tf-cta p {
	position: relative;
	max-width: 610px;
	margin: 0 auto 31px;
	color: #bdc8d7;
	font-size: 18px;
}

.tf-cta .tf-actions {
	position: relative;
	justify-content: center;
}

.tf-credit {
	padding: 0 0 34px;
	color: #657287;
	font-size: 11px;
	text-align: center;
}

.tf-credit a {
	color: #8290a3;
}

@media (max-width: 900px) {
	.tf-hero {
		min-height: 700px;
	}

	.tf-hero__slide {
		background-position: 68% center;
	}

	.tf-hero__content {
		padding: 100px 0 120px;
	}

	.tf-heading,
	.tf-product {
		grid-template-columns: 1fr;
	}

	.tf-grid {
		grid-template-columns: 1fr 1fr;
	}

	.tf-product {
		gap: 45px;
	}

	.tf-about-hero__grid, .tf-about-story, .tf-about-values { grid-template-columns: 1fr; gap: 45px; }
	.tf-about-hero__grid { padding-block: 100px; }
	.tf-about-note { max-width: 620px; }
}

@media (max-width: 640px) {
	.tf-container {
		width: min(100% - 28px, 1180px);
	}

	.tf-hero {
		min-height: 680px;
		background: var(--tf-ink);
	}

	.tf-hero::before {
		background: linear-gradient(90deg, rgba(7, 17, 31, .98), rgba(7, 17, 31, .68));
	}

	.tf-hero__content {
		padding: 90px 0 155px;
	}

	.tf-hero__controls {
		right: 50%;
		bottom: 36px;
		transform: translateX(50%);
	}

	.tf-page h1 {
		font-size: 48px;
	}

	.tf-actions {
		display: grid;
	}

	.tf-section {
		padding: 78px 0;
	}

	.tf-section--steps {
		padding-bottom: 42px;
	}

	.tf-heading {
		gap: 22px;
		margin-bottom: 38px;
	}

	.tf-grid,
	.tf-steps {
		grid-template-columns: 1fr;
	}

	.tf-card {
		min-height: auto;
	}

	.tf-card__number {
		margin-bottom: 35px;
	}

	.tf-dashboard__body {
		grid-template-columns: 1fr;
	}

	.tf-calendar {
		grid-row: auto;
	}

	.tf-cta {
		padding: 28px 14px 65px;
	}

	.tf-cta__box {
		padding: 58px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tf-hero__slide {
		transition: none;
	}
}

body.page-template-page-about-us { background: var(--tf-ink); color: var(--tf-white); }
.tf-about-hero { position: relative; display: grid; min-height: 720px; align-items: center; background: radial-gradient(circle at 78% 34%, rgba(87,212,255,.13), transparent 19rem), radial-gradient(circle at 78% 34%, rgba(40,120,255,.2), transparent 34rem), linear-gradient(145deg,#07111f 15%,#0b1d34 100%); }
.tf-about-hero::after { position:absolute; inset:auto 0 0; height:140px; background:linear-gradient(transparent,var(--tf-ink)); content:""; }
.tf-about-hero__grid { position:relative; z-index:1; display:grid; grid-template-columns:1.25fr .75fr; gap:90px; align-items:center; padding-block:120px; }
.tf-about-hero__content h1 { font-size:clamp(44px,5.6vw,76px); }
.tf-about-note { padding:38px; border:1px solid rgba(87,212,255,.22); border-radius:18px; background:rgba(16,35,60,.76); box-shadow:0 30px 70px rgba(0,0,0,.25); backdrop-filter:blur(14px); }
.tf-about-note span { display:block; margin-bottom:18px; color:var(--tf-cyan); font-size:12px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.tf-about-note strong { display:block; margin-bottom:20px; color:var(--tf-white); font-size:clamp(26px,3vw,38px); letter-spacing:-.035em; line-height:1.12; }
.tf-about-note p { margin-bottom:0; color:var(--tf-muted); line-height:1.7; }
.tf-about-story,.tf-about-values { display:grid; grid-template-columns:.9fr 1.1fr; gap:90px; align-items:start; }
.tf-about-story h2,.tf-about-values h2 { margin-bottom:0; color:var(--tf-white); font-size:clamp(38px,4.5vw,58px); letter-spacing:-.045em; line-height:1.06; }
.tf-about-story__copy { padding-top:38px; border-top:1px solid var(--tf-line); }
.tf-about-story__copy p { color:#c6d0dc; font-size:19px; line-height:1.8; }
.tf-about-goals { grid-template-columns:repeat(2,1fr); }
.tf-about-goals .tf-card { min-height:330px; }
.tf-about-values__list { margin:0; padding-top:8px; }
.tf-about-values__list strong { color:var(--tf-white); }
@media (max-width:900px) { .tf-about-hero__grid,.tf-about-story,.tf-about-values { grid-template-columns:1fr; gap:45px; } .tf-about-hero__grid { padding-block:100px; } .tf-about-note { max-width:620px; } }
@media (max-width:640px) { .tf-about-goals { grid-template-columns:1fr; } .tf-about-hero__grid { padding-block:80px; } .tf-about-note { padding:28px; } }

body.page-template-page-contact-us { background: var(--tf-ink); color: var(--tf-white); }
body.page-template-page-contact-us .site-main, body.page-template-page-contact-us .entry-content { margin:0; padding:0; }
.tf-contact { min-height:760px; padding:120px 0; background:radial-gradient(circle at 75% 12%,rgba(40,120,255,.19),transparent 30rem),var(--tf-ink); }
.tf-contact__heading { max-width:900px; margin-bottom:58px; }
.tf-contact__heading h1 { font-size:clamp(44px,5.6vw,76px); }
.tf-contact__layout { display:grid; grid-template-columns:.88fr 1.12fr; overflow:hidden; border:1px solid var(--tf-line); border-radius:22px; background:#0c192a; box-shadow:0 35px 90px rgba(0,0,0,.28); }
.tf-contact__visual { position:relative; min-height:740px; margin:0; overflow:hidden; }
.tf-contact__visual::after { position:absolute; inset:0; background:linear-gradient(180deg,transparent 40%,rgba(5,13,24,.94)); content:""; }
.tf-contact__visual img { width:100%; height:100%; object-fit:cover; object-position:center; }
.tf-contact__visual figcaption { position:absolute; z-index:1; right:34px; bottom:34px; left:34px; }
.tf-contact__visual figcaption strong,.tf-contact__visual figcaption span { display:block; }
.tf-contact__visual figcaption strong { margin-bottom:8px; color:var(--tf-white); font-size:24px; }
.tf-contact__visual figcaption span { color:#c2ccda; line-height:1.6; }
.tf-contact__form-wrap { padding:54px; }
.tf-contact-form { display:grid; gap:24px; }
.tf-form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.tf-field { display:grid; gap:9px; }
.tf-field label { color:#dce3ec; font-size:14px; font-weight:750; }
.tf-field label span { color:var(--tf-cyan); }
.tf-field input,.tf-field textarea { width:100%; border:1px solid rgba(255,255,255,.14); border-radius:9px; outline:0; background:#101f32; color:var(--tf-white); font:inherit; transition:border-color .2s,box-shadow .2s; }
.tf-field input { min-height:54px; padding:0 16px; }
.tf-field textarea { min-height:170px; padding:15px 16px; resize:vertical; }
.tf-field input:focus,.tf-field textarea:focus { border-color:var(--tf-cyan); box-shadow:0 0 0 3px rgba(87,212,255,.12); }
.tf-field input::placeholder,.tf-field textarea::placeholder { color:#718096; }
.tf-submit { width:100%; border:0; cursor:pointer; }
.tf-submit span { margin-left:10px; font-size:20px; }
.tf-form-privacy { margin:0; color:#7f8da0; font-size:12px; line-height:1.6; text-align:center; }
.tf-form-notice { margin-bottom:25px; padding:16px 18px; border:1px solid; border-radius:10px; line-height:1.55; }
.tf-form-notice strong { display:block; }
.tf-form-notice--success { border-color:rgba(113,224,173,.35); background:rgba(113,224,173,.1); color:#bdf3d7; }
.tf-form-notice--error { border-color:rgba(255,112,112,.36); background:rgba(255,112,112,.1); color:#ffc5c5; }
.tf-hp { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; opacity:0!important; pointer-events:none!important; }
@media (max-width:900px) { .tf-contact__layout { grid-template-columns:1fr; } .tf-contact__visual { min-height:480px; } }
@media (max-width:640px) { .tf-contact { padding:80px 0; } .tf-contact__heading { margin-bottom:40px; } .tf-contact__form-wrap { padding:30px 22px; } .tf-form-row { grid-template-columns:1fr; } .tf-contact__visual { min-height:390px; } }

/* Contacto: imagen ambiental detrás del formulario. */
.tf-contact__layout {
	position: relative;
	display: flex;
	min-height: 690px;
	align-items: stretch;
	justify-content: flex-end;
	isolation: isolate;
}

.tf-contact__visual {
	position: absolute;
	z-index: -1;
	inset: 0;
	min-height: 0;
}

.tf-contact__visual::before {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, rgba(5, 13, 24, .12) 0%, rgba(5, 13, 24, .42) 38%, rgba(5, 13, 24, .94) 67%, #081422 100%);
	content: "";
}

.tf-contact__visual::after {
	background: linear-gradient(180deg, rgba(5, 13, 24, .06), rgba(5, 13, 24, .48));
}

.tf-contact__visual img {
	position: absolute;
	inset: -10px;
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	object-position: 18% 38%;
	filter: blur(2.5px) saturate(.78) brightness(.82);
	transform: scale(1.015);
}

.tf-contact__visual figcaption {
	right: auto;
	bottom: 38px;
	left: 40px;
	max-width: 340px;
}

.tf-contact__form-wrap {
	width: min(60%, 710px);
	min-height: 690px;
	padding: 50px 54px;
	border-left: 1px solid rgba(255, 255, 255, .09);
	background: linear-gradient(110deg, rgba(8, 20, 34, .72), rgba(8, 20, 34, .97) 24%);
	backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
	.tf-contact__layout { min-height: 0; }
	.tf-contact__visual { min-height: 0; }
	.tf-contact__visual::before { background: linear-gradient(180deg, rgba(5, 13, 24, .42), rgba(5, 13, 24, .92)); }
	.tf-contact__visual figcaption { display: none; }
	.tf-contact__form-wrap { width: 100%; min-height: 0; border-left: 0; background: rgba(8, 20, 34, .78); }
}

/* Contacto: encuadre completo del coach dentro del lado izquierdo. */
.tf-contact__visual img {
	top: -10px;
	right: auto;
	bottom: -10px;
	left: -10px;
	width: calc(62% + 20px);
	height: calc(100% + 20px);
	object-fit: cover;
	object-position: 52% 38%;
	transform: none;
}

@media (max-width: 900px) {
	.tf-contact__visual img {
		width: calc(100% + 20px);
		object-position: 58% 35%;
	}
}

/* Contacto: transición gradual de la fotografía hacia el formulario. */
.tf-contact__visual img {
	width: calc(76% + 20px);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, .72) 79%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, .72) 79%, transparent 100%);
}

.tf-contact__visual::before {
	background: linear-gradient(90deg, rgba(5, 13, 24, .08) 0%, rgba(5, 13, 24, .18) 42%, rgba(5, 13, 24, .54) 72%, rgba(5, 13, 24, .9) 100%);
}

.tf-contact__form-wrap {
	border-left: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(8, 20, 34, .38) 16%, rgba(8, 20, 34, .78) 52%, rgba(8, 20, 34, .92) 100%);
	backdrop-filter: none;
}

@media (max-width: 900px) {
	.tf-contact__visual img {
		width: calc(100% + 20px);
		-webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .82) 50%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .82) 50%, transparent 100%);
	}
	.tf-contact__form-wrap { background: linear-gradient(180deg, rgba(8, 20, 34, .32), rgba(8, 20, 34, .88)); }
}

/* Header: barra flotante con glassmorphism. */
body.home #header,
body.page-template-page-about-us #header,
body.page-template-page-contact-us #header,
body.page-id-768 #header,
body.page-id-765 #header {
	position: absolute;
	z-index: 100;
	top: 0;
	right: 0;
	left: 0;
	background: transparent;
}

#header [data-row="middle"] {
	padding: 14px 20px 0;
	border: 0;
	background: transparent !important;
	box-shadow: none;
}

#header [data-row="middle"] > .ct-container {
	position: relative;
	min-height: 72px;
	padding-inline: 22px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 18px;
	background:
		linear-gradient(115deg, rgba(16, 31, 51, .78), rgba(8, 18, 31, .56));
	box-shadow:
		0 18px 45px rgba(0, 0, 0, .24),
		inset 0 1px 0 rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: blur(18px) saturate(145%);
	backdrop-filter: blur(18px) saturate(145%);
}

#header [data-row="middle"] > .ct-container::before {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, rgba(87, 212, 255, .07), transparent 38%, rgba(40, 120, 255, .06));
	content: "";
	pointer-events: none;
}

#header .site-branding,
#header [data-items] {
	position: relative;
	z-index: 1;
}

/* Wordmark propio: sustituye el logotipo heredado de Persona. */
#header .site-logo-container {
	display: none;
}

#header .site-title-container,
#header .site-title {
	display: block;
}

#header .site-title a {
	display: inline-block;
	background: linear-gradient(105deg, #ffffff 12%, #dff7ff 55%, var(--tf-cyan) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(22px, 2vw, 29px);
	font-weight: 850;
	letter-spacing: -.045em;
	line-height: 1;
	text-decoration: none;
	text-shadow: 0 8px 28px rgba(87, 212, 255, .14);
}

#header .site-title a:hover {
	color: transparent;
	opacity: .9;
}

#header .header-menu-1 .menu > li > a {
	position: relative;
	transition: color .2s ease, opacity .2s ease;
}

#header .header-menu-1 .menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: -8px;
	left: 0;
	width: 0;
	height: 2px;
	margin: auto;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--tf-cyan), var(--tf-blue));
	content: "";
	transition: width .2s ease;
}

#header .header-menu-1 .menu > li:hover > a::after,
#header .header-menu-1 .menu > .current-menu-item > a::after {
	width: 24px;
}

#header .tf-login-menu-item > a {
	min-height: 42px;
	padding: 0 19px !important;
	border: 1px solid rgba(87, 212, 255, .28);
	border-radius: 11px;
	background: linear-gradient(135deg, rgba(40, 120, 255, .9), rgba(31, 100, 230, .9));
	box-shadow: 0 10px 24px rgba(40, 120, 255, .24);
}

#header .tf-login-menu-item > a::after {
	display: none;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	#header [data-row="middle"] > .ct-container {
		background: rgba(9, 20, 35, .94);
	}
}

@media (max-width: 689px) {
	#header [data-row="middle"] {
		padding: 10px 12px 0;
	}

	#header [data-row="middle"] > .ct-container {
		min-height: 62px;
		padding-inline: 17px;
		border-radius: 15px;
		-webkit-backdrop-filter: blur(14px) saturate(140%);
		backdrop-filter: blur(14px) saturate(140%);
	}

	#header .ct-header-trigger {
		width: 40px;
		height: 40px;
		border: 1px solid rgba(255, 255, 255, .12);
		border-radius: 10px;
		background: rgba(255, 255, 255, .06);
	}
}

/* Heroes interiores: fotografía original bajo el header de cristal. */
.tf-about-hero {
	background:
		linear-gradient(90deg, rgba(7, 17, 31, .96) 0%, rgba(7, 17, 31, .82) 42%, rgba(7, 17, 31, .24) 78%, rgba(7, 17, 31, .38) 100%),
		linear-gradient(180deg, rgba(7, 17, 31, .58) 0%, rgba(7, 17, 31, .12) 28%, rgba(7, 17, 31, .08) 62%, #07111f 100%),
		url("assets/about-team-hero.png") 68% center / cover no-repeat;
}

.tf-contact {
	background:
		linear-gradient(90deg, rgba(7, 17, 31, .96) 0%, rgba(7, 17, 31, .84) 43%, rgba(7, 17, 31, .34) 78%, rgba(7, 17, 31, .48) 100%),
		linear-gradient(180deg, rgba(7, 17, 31, .6) 0%, rgba(7, 17, 31, .1) 25%, #07111f 48rem),
		url("assets/contact-support-hero.png") center top / 100% auto no-repeat,
		var(--tf-ink);
}

@media (max-width: 900px) {
	.tf-about-hero {
		background:
			linear-gradient(90deg, rgba(7, 17, 31, .97), rgba(7, 17, 31, .69)),
			linear-gradient(180deg, transparent 55%, #07111f 100%),
			url("assets/about-team-hero.png") 64% center / cover no-repeat;
	}

	.tf-contact {
		background:
			linear-gradient(90deg, rgba(7, 17, 31, .96), rgba(7, 17, 31, .65)),
			linear-gradient(180deg, transparent 20rem, #07111f 46rem),
			url("assets/contact-support-hero.png") 60% top / auto 620px no-repeat,
			var(--tf-ink);
	}
}

@media (max-width: 640px) {
	.tf-about-hero {
		background-position: center, center, 61% center;
	}

	.tf-contact {
		background:
			linear-gradient(90deg, rgba(7, 17, 31, .94), rgba(7, 17, 31, .72)),
			linear-gradient(180deg, transparent 15rem, #07111f 35rem),
			url("assets/contact-support-hero.png") 66% top / auto 500px no-repeat,
			var(--tf-ink);
	}
}
