/* =========================================================
   TotalFit@50 — theme styles
   Brand: teal/cyan accent (#13B8CE), deep navy (#0E2A33),
   warm CTA (#FF7A3C). Large text for a 45–65 audience.
   ========================================================= */

:root {
	--tf-teal:      #13B8CE;
	--tf-teal-dark: #0E96A8;
	--tf-navy:      #0E2A33;
	--tf-navy-2:    #13343F;
	--tf-cta:       #FF7A3C;
	--tf-cta-dark:  #E85F22;
	--tf-ink:       #1B2A30;
	--tf-muted:     #5A6B72;
	--tf-line:      #E2E8EA;
	--tf-bg:        #FFFFFF;
	--tf-bg-soft:   #F3F7F8;
	--tf-radius:    16px;
	--tf-shadow:    0 10px 30px rgba(14,42,51,.10);
	--tf-shadow-lg: 0 20px 50px rgba(14,42,51,.18);
	--tf-maxw:      1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: var(--tf-ink);
	background: var(--tf-bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: 'Poppins', system-ui, sans-serif;
	line-height: 1.15;
	color: var(--tf-navy);
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }

a { color: var(--tf-teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { max-width: var(--tf-maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 80px 0; }
.section--soft { background: var(--tf-bg-soft); }
.section--navy { background: var(--tf-navy); color: #E7EEF0; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: .8rem;
	color: var(--tf-teal-dark);
	margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--tf-teal); }

.lead { font-size: 1.2rem; color: var(--tf-muted); max-width: 720px; }
.section--navy .lead { color: #BFD4D9; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	padding: 16px 30px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--cta { background: var(--tf-cta); color: #fff; box-shadow: 0 8px 22px rgba(255,122,60,.35); }
.btn--cta:hover { background: var(--tf-cta-dark); color: #fff; }
.btn--teal { background: var(--tf-teal); color: #fff; }
.btn--teal:hover { background: var(--tf-teal-dark); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--lg { font-size: 1.15rem; padding: 18px 38px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,.92);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid var(--tf-line);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 74px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1.4rem;
	color: var(--tf-navy);
	text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-badge {
	width: 42px; height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--tf-teal), var(--tf-navy));
	color: #fff;
	display: grid; place-items: center;
	font-weight: 800; font-size: 1.05rem;
	letter-spacing: -.02em;
	box-shadow: var(--tf-shadow);
}
.brand-50 { color: var(--tf-teal-dark); }

.nav-menu, .primary-nav ul {
	list-style: none;
	display: flex;
	gap: 26px;
	margin: 0; padding: 0;
}
.primary-nav { margin-left: auto; }
.nav-menu a {
	color: var(--tf-navy);
	font-weight: 600;
	font-size: 1rem;
}
.header-cta { margin-left: 8px; }

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.nav-toggle span {
	display: block;
	width: 26px; height: 3px;
	background: var(--tf-navy);
	border-radius: 3px;
	margin: 5px 0;
	transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(14,42,51,.92), rgba(14,150,168,.85)),
		var(--tf-navy);
	overflow: hidden;
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 50px;
	align-items: center;
	padding: 86px 0 90px;
}
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--tf-teal); }
.hero p { font-size: 1.25rem; color: #DCE7EA; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-trust {
	margin-top: 30px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: #BCD2D7;
	font-size: .98rem;
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars img {
	width: 44px; height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--tf-navy);
	margin-left: -12px;
}
.hero-trust .avatars img:first-child { margin-left: 0; }

.hero-collage {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.hero-collage img {
	width: 100%;
	border-radius: 14px;
	box-shadow: var(--tf-shadow-lg);
	aspect-ratio: 1/1;
	object-fit: cover;
}
.hero-collage img:nth-child(1) { margin-top: 26px; }
.hero-collage img:nth-child(4) { margin-top: -26px; }

/* ---------- Benefits ---------- */
.grid {
	display: grid;
	gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.benefit {
	background: #fff;
	border: 1px solid var(--tf-line);
	border-radius: var(--tf-radius);
	padding: 28px;
	transition: box-shadow .15s, transform .15s;
}
.benefit:hover { box-shadow: var(--tf-shadow); transform: translateY(-3px); }
.benefit .ic {
	width: 54px; height: 54px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--tf-teal), var(--tf-teal-dark));
	color: #fff;
	display: grid; place-items: center;
	font-size: 1.5rem;
	margin-bottom: 16px;
}
.benefit h3 { margin-bottom: 6px; }
.benefit p { margin: 0; color: var(--tf-muted); }

/* ---------- Program includes ---------- */
.program-card {
	background: var(--tf-navy-2);
	border-radius: var(--tf-radius);
	padding: 30px;
	color: #E7EEF0;
	border: 1px solid rgba(255,255,255,.08);
}
.program-card .num {
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	color: var(--tf-teal);
	font-size: 1.1rem;
	margin-bottom: 8px;
}
.program-card h3 { color: #fff; margin-bottom: 6px; }
.program-card p { margin: 0; color: #B9CED3; }

/* ---------- Transformations gallery ---------- */
.gallery {
	columns: 4;
	column-gap: 16px;
}
.gallery .ga {
	display: block;
	margin: 0 0 16px;
	break-inside: avoid;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--tf-shadow);
	position: relative;
	cursor: zoom-in;
}
.gallery .ga img { width: 100%; transition: transform .35s ease; }
.gallery .ga:hover img { transform: scale(1.04); }
.gallery .ga .cap {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 14px 14px 10px;
	background: linear-gradient(transparent, rgba(14,42,51,.85));
	color: #fff;
	font-weight: 600;
	font-size: .95rem;
	opacity: 0;
	transition: opacity .2s;
}
.gallery .ga:hover .cap { opacity: 1; }
.gallery-more { margin-top: 18px; }

/* Lightbox */
.tf-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(8,20,24,.92);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 30px;
}
.tf-lightbox.open { display: flex; }
.tf-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--tf-shadow-lg); }
.tf-lightbox .close {
	position: absolute; top: 18px; right: 24px;
	color: #fff; font-size: 2.4rem; background: none; border: 0; cursor: pointer; line-height: 1;
}

/* ---------- Pricing ---------- */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 26px;
	max-width: 820px;
	margin: 0 auto;
}
.price-card {
	background: #fff;
	border: 2px solid var(--tf-line);
	border-radius: 20px;
	padding: 36px 32px;
	text-align: center;
	position: relative;
}
.price-card.featured {
	border-color: var(--tf-teal);
	box-shadow: var(--tf-shadow-lg);
}
.price-badge {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: var(--tf-teal); color: #fff;
	font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .8rem;
	letter-spacing: .08em; text-transform: uppercase;
	padding: 6px 16px; border-radius: 999px;
}
.price-card h3 { font-size: 1.5rem; }
.price-amt { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 3rem; color: var(--tf-navy); }
.price-amt span { font-size: 1.1rem; font-weight: 600; color: var(--tf-muted); }
.price-sub { color: var(--tf-muted); margin-bottom: 18px; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.price-list li { padding: 8px 0 8px 30px; position: relative; }
.price-list li::before {
	content: "✓"; position: absolute; left: 0; top: 8px;
	color: var(--tf-teal-dark); font-weight: 800;
}
.price-save { color: var(--tf-cta-dark); font-weight: 700; }

/* ---------- Application form ---------- */
.tf50-form label {
	display: block;
	font-weight: 600;
	color: #DCEAEE;
	margin-bottom: 16px;
	font-size: .98rem;
}
.tf50-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tf50-form input,
.tf50-form textarea {
	display: block;
	width: 100%;
	margin-top: 7px;
	padding: 14px 15px;
	font-size: 1.05rem;
	font-family: inherit;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 12px;
	background: rgba(255,255,255,.06);
	color: #fff;
}
.tf50-form input::placeholder,
.tf50-form textarea::placeholder { color: #88A2A9; }
.tf50-form input:focus,
.tf50-form textarea:focus {
	outline: none;
	border-color: var(--tf-teal);
	background: rgba(255,255,255,.10);
}
.tf50-form button { margin-top: 8px; }
.tf50-form-status { margin: 6px 0; font-weight: 600; color: #BFD4D9; }
.tf50-form-status.error { color: #FFC4A8; }
.tf50-form-success {
	text-align: center;
	background: rgba(255,255,255,.08);
	border: 1px solid var(--tf-teal);
	border-radius: var(--tf-radius);
	padding: 38px 28px;
}
.tf50-form-success h3 { color: #fff; }
.tf50-form-success p { color: #DCEAEE; margin: 0; font-size: 1.1rem; }
@media (max-width: 600px) { .tf50-form-row { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 40px;
	align-items: center;
}
.founder .photo {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--tf-shadow-lg);
	aspect-ratio: 4/5;
	background: linear-gradient(135deg, var(--tf-teal), var(--tf-navy));
	display: grid; place-items: center; color: #fff;
	font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 3rem;
}
.founder blockquote {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.5;
	color: var(--tf-navy);
	font-weight: 500;
}
.founder cite { display: block; margin-top: 18px; font-style: normal; color: var(--tf-muted); font-weight: 600; }

/* ---------- Final CTA ---------- */
.cta-band {
	background: linear-gradient(135deg, var(--tf-teal), var(--tf-teal-dark));
	color: #fff;
	text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #EAFAFD; font-size: 1.2rem; max-width: 640px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--tf-navy);
	color: #AEC4CA;
	padding: 56px 0 28px;
}
.footer-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.site-footer .brand { color: #fff; }
.site-footer a { color: #CFE0E4; }
.footer-menu ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 0; }
.footer-bottom {
	margin-top: 38px; padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.12);
	font-size: .9rem; color: #8DA6AD;
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ---------- Generic content (pages/posts) ---------- */
.page-hero {
	background: var(--tf-bg-soft);
	padding: 56px 0;
	border-bottom: 1px solid var(--tf-line);
}
.entry { padding: 56px 0; }
.entry .wrap { max-width: 860px; }
.entry-content > * { margin-bottom: 1.1em; }

/* Single workout */
.workout-single { max-width: 900px; margin: 0 auto; padding: 46px 22px; }
.workout-single .back { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.hero-inner { grid-template-columns: 1fr; gap: 36px; }
	.hero-collage { max-width: 460px; }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.gallery { columns: 3; }
	.founder { grid-template-columns: 1fr; text-align: center; }
	.founder .photo { max-width: 260px; margin: 0 auto; }
}
@media (max-width: 720px) {
	body { font-size: 17px; }
	.section { padding: 56px 0; }
	.primary-nav, .header-cta { display: none; }
	.primary-nav.open {
		display: block; position: absolute; top: 74px; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--tf-line); padding: 16px 22px;
	}
	.primary-nav.open ul { flex-direction: column; gap: 4px; }
	.primary-nav.open a { display: block; padding: 12px 0; border-bottom: 1px solid var(--tf-line); }
	.nav-toggle { display: block; }
	.grid--3, .grid--2, .pricing-grid { grid-template-columns: 1fr; }
	.gallery { columns: 2; }
}
@media (max-width: 440px) {
	.gallery { columns: 1; }
}
