/* =========================================================
   OMID Fitness — v2 design system
   Modern RTL design: Vazirmatn type, glass sticky header,
   drawer navigation, soft depth, reveal motion.
   ========================================================= */

:root {
	--accent: #d7ff00;
	--accent-strong: #c3e800;
	--accent-ink: #111300;
	--accent-glow: rgba(215, 255, 0, 0.3);
	--black: #070807;
	--ink-900: #0c0e0c;
	--ink-800: #141614;
	--ink-700: #1d201d;
	--surface: #191b1a;
	--text: #161816;
	--muted: #5f645f;
	--line: #e7eae5;
	--soft: #f6f7f3;
	--white: #fff;
	--radius-sm: 14px;
	--radius-md: 22px;
	--radius-lg: 34px;
	--radius-pill: 999px;
	--shadow-sm: 0 6px 18px rgba(10, 12, 10, 0.06);
	--shadow: 0 18px 45px rgba(10, 12, 10, 0.1);
	--shadow-lg: 0 30px 80px rgba(10, 12, 10, 0.16);
	--font-base: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
	--container: 1200px;
	--header-h: 84px;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	direction: rtl;
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-base);
	font-size: 16px;
	line-height: 1.9;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	letter-spacing: normal;
	overflow-wrap: break-word;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 4px;
	border-radius: 4px;
}

::selection {
	background: var(--accent);
	color: var(--accent-ink);
}

.container {
	width: min(var(--container), calc(100% - 44px));
	margin-inline: auto;
}

.narrow-container {
	max-width: 900px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	margin: 0;
	overflow: visible;
	clip: auto;
	border-radius: var(--radius-pill);
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 700;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.btn {
	position: relative;
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition:
		background-color 200ms var(--ease),
		color 200ms var(--ease),
		border-color 200ms var(--ease),
		box-shadow 250ms var(--ease),
		transform 200ms var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: translateY(0);
}

.btn-primary {
	background: linear-gradient(140deg, var(--accent), #e9ff5e 55%, var(--accent));
	color: var(--accent-ink);
	box-shadow: 0 12px 30px var(--accent-glow);
}

.btn-primary:hover {
	background: var(--accent-strong);
	box-shadow: 0 16px 40px var(--accent-glow);
}

.btn-ghost {
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--black);
}

.btn-dark {
	background: var(--ink-900);
	color: var(--white);
}

.btn-dark:hover {
	background: var(--ink-700);
}

.text-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #5d6d00;
	font-size: 0.85rem;
	font-weight: 800;
	transition: color 180ms var(--ease);
}

.text-link::after {
	content: "←";
	transition: transform 200ms var(--ease);
}

.text-link:hover {
	color: var(--black);
}

.text-link:hover::after {
	transform: translateX(-4px);
}

/* ---------------------------------------------------------
   Header + navigation
   --------------------------------------------------------- */

.site-header {
	position: fixed;
	z-index: 90;
	top: 0;
	right: 0;
	left: 0;
	border-bottom: 1px solid transparent;
	background: transparent;
	color: var(--white);
	transition:
		background-color 300ms var(--ease),
		border-color 300ms var(--ease),
		box-shadow 300ms var(--ease),
		backdrop-filter 300ms var(--ease);
}

/* Keep the fixed header clear of the WordPress admin bar. */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

body:not(.home) .site-header,
.site-header.is-scrolled {
	border-bottom-color: rgba(255, 255, 255, 0.08);
	background: rgba(7, 8, 7, 0.82);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
}

/* Push page content below the fixed header everywhere except the hero'd home. */
body:not(.home) .site-main {
	padding-top: var(--header-h);
}

.nav-wrap {
	display: flex;
	min-height: var(--header-h);
	align-items: center;
	gap: 30px;
}

.brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	color: var(--white);
}

.brand-mark {
	display: grid;
	width: 48px;
	height: 48px;
	border: 3px solid var(--accent);
	border-radius: 50%;
	place-items: center;
	color: var(--accent);
	font-size: 1.3rem;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 0 0 4px rgba(215, 255, 0, 0.08);
}

.brand-copy strong,
.brand-copy small {
	display: block;
}

.brand-copy strong {
	font-size: 1.55rem;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0.08em;
}

.brand-copy small {
	margin-top: 3px;
	font-size: 0.55rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	opacity: 0.72;
}

.brand-logo .custom-logo-link {
	display: block;
}

/* Hard caps for the logo image anywhere in the site chrome —
   resilient to any wrapper markup around .custom-logo. */
.brand-logo .custom-logo,
.site-header .custom-logo {
	width: auto;
	max-width: 180px;
	max-height: 48px;
	object-fit: contain;
}

.mobile-drawer .custom-logo {
	width: auto;
	max-width: 120px;
	max-height: 34px;
	object-fit: contain;
}

.site-footer .custom-logo {
	width: auto;
	max-width: 170px;
	max-height: 48px;
	object-fit: contain;
}

.main-nav {
	margin-inline: auto;
	font-size: 0.92rem;
	font-weight: 600;
}

/* Elementor content inherits the theme typeface unless the widget sets its own. */
.elementor-widget-container,
.elementor-heading-title,
.elementor-button {
	font-family: inherit;
}

/* The theme chrome always keeps its own typeface — Elementor kit rules
   (e.g. ".elementor-kit-N a { font-family: ... }") must not leak into
   the header, footer or drawer. Extra "body" raises specificity. */
body .site-header,
body .site-header *,
body .site-footer,
body .site-footer *,
body .mobile-drawer,
body .mobile-drawer * {
	font-family: var(--font-base);
}

.main-nav ul,
.footer-grid ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.main-nav > ul {
	display: flex;
	align-items: center;
	gap: 6px;
}

.main-nav li {
	position: relative;
}

.main-nav a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 30px 13px;
	transition: color 180ms var(--ease);
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
	color: var(--accent);
}

/* Animated underline, grows from center. */
.main-nav > ul > li > a::after {
	position: absolute;
	right: 13px;
	bottom: 24px;
	left: 13px;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 250ms var(--ease);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > .current-menu-item > a::after,
.main-nav > ul > .current_page_item > a::after,
.main-nav > ul > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

/* Chevron for items with children. */
.main-nav .menu-item-has-children > a::before {
	width: 7px;
	height: 7px;
	margin-top: -3px;
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	transform: rotate(45deg);
	transition: transform 200ms var(--ease);
	order: 2;
}

.main-nav .sub-menu {
	position: absolute;
	z-index: 5;
	top: 100%;
	right: 0;
	visibility: hidden;
	width: 230px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--radius-sm);
	background: rgba(12, 14, 12, 0.96);
	box-shadow: var(--shadow-lg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity 220ms var(--ease),
		transform 220ms var(--ease),
		visibility 0s linear 220ms;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 220ms var(--ease),
		transform 220ms var(--ease),
		visibility 0s;
}

.main-nav .sub-menu a {
	padding: 10px 14px;
	border-radius: 9px;
	transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.main-nav .sub-menu a:hover {
	background: rgba(215, 255, 0, 0.1);
	color: var(--accent);
}

.main-nav .sub-menu .sub-menu {
	top: 0;
	right: 100%;
}

.nav-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
}

.nav-cta {
	min-height: 46px;
	padding: 0 24px;
	white-space: nowrap;
	font-size: 0.88rem;
}

/* ---------------------------------------------------------
   Mobile drawer — rendered OUTSIDE the header element, because
   the header's backdrop-filter creates a containing block that
   would trap fixed-position descendants inside the header box.
   --------------------------------------------------------- */

.mobile-drawer {
	position: fixed;
	z-index: 110;
	top: 0;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(320px, 84vw);
	overflow-y: auto;
	padding: 18px 20px 24px;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
	background: #0b0c0b;
	box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
	color: var(--white);
	visibility: hidden;
	transform: translateX(105%);
	transition:
		transform 320ms var(--ease),
		visibility 0s linear 320ms;
}

.mobile-drawer.is-open {
	visibility: visible;
	transform: none;
	transition:
		transform 320ms var(--ease),
		visibility 0s;
}

.mobile-drawer ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.mobile-drawer > ul > li {
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-drawer > ul > li:last-child {
	border-bottom: 0;
}

.mobile-drawer a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 2px;
	font-size: 0.98rem;
	font-weight: 600;
	transition: color 160ms var(--ease);
}

.mobile-drawer a:hover {
	color: var(--accent);
}

.mobile-drawer .menu-icon {
	display: grid;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(215, 255, 0, 0.1);
	place-items: center;
	color: var(--accent);
}

.mobile-drawer .menu-icon svg {
	width: 19px;
	height: 19px;
}

.nav-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	margin-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-drawer-head .brand-logo .custom-logo {
	max-width: 118px;
	max-height: 34px;
}

.drawer-close {
	display: grid;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: transparent;
	place-items: center;
	color: var(--white);
	font-size: 1.05rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

.drawer-close:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.submenu-toggle {
	position: absolute;
	top: 5px;
	left: 0;
	display: grid;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	background: transparent;
	place-items: center;
	color: var(--white);
	cursor: pointer;
	transition: transform 220ms var(--ease), border-color 160ms var(--ease);
}

.submenu-toggle::before {
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	transform: rotate(45deg);
}

.submenu-toggle[aria-expanded="true"] {
	transform: rotate(180deg);
	border-color: var(--accent);
	color: var(--accent);
}

.mobile-drawer .sub-menu {
	display: none;
	padding: 0 16px 8px;
}

.mobile-drawer li.is-open > .sub-menu {
	display: block;
}

.mobile-drawer .sub-menu a {
	padding: 9px 2px;
	color: #c9ccc9;
	font-size: 0.92rem;
}

.nav-drawer-cta {
	margin-top: auto;
	padding-top: 20px;
}

.nav-drawer-cta .btn {
	width: 100%;
}

@media (min-width: 1081px) {
	.mobile-drawer,
	.nav-backdrop {
		display: none;
	}
}

.nav-backdrop {
	position: fixed;
	z-index: 95;
	inset: 0;
	background: rgba(4, 5, 4, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 280ms var(--ease);
}

body.menu-open .nav-backdrop {
	opacity: 1;
	pointer-events: auto;
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 11px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	cursor: pointer;
	transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.menu-toggle:hover {
	border-color: var(--accent);
}

.menu-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px auto;
	border-radius: 2px;
	background: var(--white);
	transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
	position: relative;
	display: grid;
	min-height: clamp(640px, 100svh, 940px);
	overflow: hidden;
	align-items: center;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	background-color: var(--black);
	background-image: var(--hero-image);
	background-position: center;
	background-size: cover;
	color: var(--white);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(720px 420px at 82% 18%, rgba(215, 255, 0, 0.1), transparent 62%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.6) 52%, rgba(4, 5, 4, 0.97) 100%);
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	min-height: 620px;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	padding-top: calc(var(--header-h) + 14px);
}

.hero-copy {
	max-width: 620px;
	grid-column: 1;
	padding-inline-start: 36px;
}

.eyebrow,
.section-heading > p,
.cta-copy > p,
.entry-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 16px;
	margin: 0 0 12px;
	border: 1px solid rgba(120, 140, 0, 0.25);
	border-radius: var(--radius-pill);
	background: rgba(215, 255, 0, 0.1);
	color: #5d6d00;
	font-size: 0.78rem;
	font-weight: 800;
}

.hero .eyebrow {
	border-color: rgba(215, 255, 0, 0.35);
	background: rgba(215, 255, 0, 0.12);
	color: var(--accent);
}

.hero h1 {
	margin: 10px 0 4px;
	font-size: clamp(2.7rem, 5vw, 4.4rem);
	font-weight: 900;
	line-height: 1.25;
}

.hero h1 em {
	display: block;
	color: var(--accent);
	font-style: normal;
	text-shadow: 0 0 60px rgba(215, 255, 0, 0.35);
}

.hero-subtitle {
	margin: 4px 0 12px;
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 800;
	color: rgba(255, 255, 255, 0.92);
}

.hero-text {
	max-width: 560px;
	margin: 0;
	color: #d3d6d2;
	font-size: 1.02rem;
	font-weight: 400;
	line-height: 2.1;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

/* ---------------------------------------------------------
   Feature strip + stats
   --------------------------------------------------------- */

.feature-bar {
	position: relative;
	z-index: 4;
	margin-top: -68px;
}

.feature-strip {
	display: grid;
	overflow: hidden;
	padding: 24px 10px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--radius-md);
	background: rgba(10, 11, 10, 0.92);
	box-shadow: var(--shadow-lg);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	color: var(--white);
	grid-template-columns: repeat(4, 1fr);
}

.feature-strip article {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 6px 18px;
	border-inline-end: 1px solid rgba(255, 255, 255, 0.09);
}

.feature-strip article:last-child {
	border-inline-end: 0;
}

.feature-strip article > span {
	display: grid;
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: rgba(215, 255, 0, 0.1);
	place-items: center;
	color: var(--accent);
	font-size: 1.6rem;
	line-height: 1;
}

.feature-strip strong,
.feature-strip small {
	display: block;
}

.feature-strip strong {
	font-size: 0.93rem;
	font-weight: 800;
}

.feature-strip small {
	margin-top: 1px;
	color: #9ca09c;
	font-size: 0.74rem;
}

.stats {
	padding: 30px 0 10px;
}

.stats-grid {
	display: grid;
	overflow: hidden;
	padding: 26px 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: linear-gradient(180deg, var(--white), var(--soft));
	box-shadow: var(--shadow);
	grid-template-columns: repeat(4, 1fr);
}

.stats article {
	padding: 2px 18px;
	border-inline-end: 1px solid var(--line);
	text-align: center;
}

.stats article:last-child {
	border-inline-end: 0;
}

.stats strong,
.stats span {
	display: block;
}

.stats strong {
	font-size: 2.1rem;
	font-weight: 900;
	line-height: 1.3;
	background: linear-gradient(120deg, var(--ink-900), #4c5900);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.stats span {
	color: #4c4f4c;
	font-size: 0.88rem;
}

/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */

.section {
	padding: 88px 0;
}

.section-soft {
	background: var(--soft);
}

.section-dark {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(640px 420px at 88% -10%, rgba(215, 255, 0, 0.07), transparent 60%),
		linear-gradient(180deg, var(--ink-900), var(--black));
	color: var(--white);
}

.section-dark::before {
	position: absolute;
	top: -220px;
	left: -180px;
	width: 480px;
	height: 480px;
	border: 1px solid rgba(215, 255, 0, 0.14);
	border-radius: 50%;
	content: "";
}

.section-heading {
	position: relative;
	z-index: 1;
	margin-bottom: 44px;
	text-align: center;
}

.section-heading h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 900;
	line-height: 1.5;
}

.section-heading > span {
	display: block;
	width: 44px;
	height: 4px;
	margin: 12px auto 0;
	border-radius: 5px;
	background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.section-heading-light > p {
	border-color: rgba(215, 255, 0, 0.3);
	background: rgba(215, 255, 0, 0.1);
	color: var(--accent);
}

/* ---------------------------------------------------------
   Service cards
   --------------------------------------------------------- */

.services-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
}

.service-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
	transition:
		transform 250ms var(--ease),
		box-shadow 250ms var(--ease),
		border-color 250ms var(--ease);
}

.service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(180, 210, 0, 0.5);
	box-shadow: var(--shadow-lg);
}

.service-image {
	display: block;
	overflow: hidden;
}

.service-image img,
.fallback-image {
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.service-image img {
	transition: transform 500ms var(--ease);
}

.service-card:hover .service-image img {
	transform: scale(1.05);
}

.fallback-image {
	display: grid;
	background:
		radial-gradient(circle at 72% 28%, rgba(215, 255, 0, 0.22), transparent 30%),
		linear-gradient(135deg, #262926, var(--black));
	place-items: center;
	color: var(--accent);
	font-size: 3rem;
	font-weight: 800;
}

.card-body {
	position: relative;
	padding: 34px 24px 26px;
	text-align: center;
}

.card-icon {
	position: absolute;
	top: -28px;
	right: 50%;
	display: grid;
	width: 56px;
	height: 56px;
	transform: translateX(50%);
	border: 2px solid var(--accent);
	border-radius: 18px;
	background: var(--ink-900);
	color: var(--accent);
	font-size: 0.85rem;
	font-weight: 800;
	place-items: center;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.card-body h3 {
	margin: 8px 0 4px;
	font-size: 1.15rem;
	font-weight: 800;
}

.card-body p {
	min-height: 54px;
	margin: 6px 0 16px;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.9;
}

/* ---------------------------------------------------------
   Programs
   --------------------------------------------------------- */

.program-grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
}

.program-grid article {
	display: flex;
	min-height: 250px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px 24px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--radius-md);
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	text-align: center;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition:
		border-color 250ms var(--ease),
		transform 250ms var(--ease),
		box-shadow 250ms var(--ease);
}

.program-grid article:hover {
	transform: translateY(-6px);
	border-color: rgba(215, 255, 0, 0.45);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.program-icon {
	display: grid;
	width: 68px;
	height: 68px;
	border-radius: 22px;
	background: rgba(215, 255, 0, 0.1);
	place-items: center;
	color: var(--accent);
	font-size: 2rem;
	line-height: 1;
}

.program-grid h3 {
	margin: 16px 0 4px;
	font-size: 1.1rem;
	font-weight: 800;
}

.program-grid p {
	margin: 5px 0 12px;
	color: #b9bcb9;
	font-size: 0.86rem;
}

.program-grid small {
	margin: -3px 0 12px;
	color: #8d918d;
}

.section-dark .text-link {
	margin-top: auto;
	color: var(--accent);
}

.section-dark .text-link:hover {
	color: var(--white);
}

/* ---------------------------------------------------------
   Trainers
   --------------------------------------------------------- */

.trainer-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
}

.trainer-card {
	position: relative;
	overflow: hidden;
	min-height: 380px;
	border-radius: var(--radius-md);
	background: var(--black);
	color: var(--white);
	transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.trainer-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.trainer-card::after {
	position: absolute;
	inset: 30% 0 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
	content: "";
}

.trainer-image {
	width: 100%;
	height: 380px;
	object-fit: cover;
	transition: transform 500ms var(--ease);
}

.trainer-card:hover .trainer-image {
	transform: scale(1.04);
}

.trainer-card > div:last-child {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 26px;
}

.trainer-card h3 {
	margin: 0;
	font-size: 1.22rem;
	font-weight: 800;
}

.trainer-card p,
.trainer-card small {
	margin: 2px 0 0;
	color: #c8cbc8;
}

.trainer-card-placeholder {
	display: grid;
	background:
		radial-gradient(circle at 50% 36%, rgba(215, 255, 0, 0.14), transparent 26%),
		linear-gradient(155deg, #212421, var(--black));
	place-items: center;
}

.trainer-silhouette {
	position: static !important;
	display: grid;
	width: 130px;
	height: 130px;
	padding: 0 !important;
	border: 2px solid rgba(215, 255, 0, 0.45);
	border-radius: 50%;
	color: var(--accent);
	font-size: 3rem;
	font-weight: 900;
	line-height: 1;
	place-items: center;
}

/* ---------------------------------------------------------
   Call to action
   --------------------------------------------------------- */

.cta-section {
	padding-top: 38px;
}

.cta-panel {
	display: grid;
	min-height: 290px;
	overflow: hidden;
	align-items: stretch;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(500px 300px at 12% 100%, rgba(215, 255, 0, 0.08), transparent 60%),
		linear-gradient(160deg, var(--ink-800), var(--black));
	box-shadow: var(--shadow-lg);
	color: var(--white);
	grid-template-columns: 34% 41% 25%;
}

.cta-image {
	min-height: 250px;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.05), rgba(7, 8, 7, 0.8)),
		url("../images/hero-women.webp") 59% center / cover no-repeat;
}

.cta-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px;
	text-align: center;
}

.cta-copy h2 {
	margin: 6px 0 20px;
	font-size: clamp(1.3rem, 2vw, 1.75rem);
	font-weight: 800;
	line-height: 1.75;
}

.phone-link {
	margin-top: 14px;
	color: var(--accent);
	font-size: 1.3rem;
	font-weight: 800;
	direction: ltr;
	transition: color 180ms var(--ease);
}

.phone-link:hover {
	color: var(--white);
}

.cta-points {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px 32px;
	border-inline-start: 1px dashed rgba(255, 255, 255, 0.25);
}

.cta-points p {
	margin: 9px 0;
	font-size: 0.9rem;
}

.cta-points span {
	color: var(--accent);
	font-weight: 900;
}

/* ---------------------------------------------------------
   Testimonials
   --------------------------------------------------------- */

.testimonials {
	padding-top: 24px;
}

.testimonial-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid blockquote {
	position: relative;
	padding: 30px;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: linear-gradient(180deg, #fdfefc, var(--soft));
	box-shadow: var(--shadow-sm);
	transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.testimonial-grid blockquote:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.testimonial-grid blockquote::before {
	position: absolute;
	top: 14px;
	left: 24px;
	color: rgba(120, 140, 0, 0.16);
	content: "“";
	font-family: Georgia, serif;
	font-size: 5rem;
	line-height: 1;
}

.stars {
	position: relative;
	color: #708300;
	font-size: 0.95rem;
	letter-spacing: 0.18em;
}

.testimonial-grid blockquote > p {
	position: relative;
	min-height: 95px;
	margin: 14px 0 18px;
	color: #4c4f4c;
	font-size: 0.92rem;
}

.testimonial-grid cite,
.testimonial-grid small {
	display: block;
	font-style: normal;
}

.testimonial-grid cite {
	font-weight: 800;
}

.testimonial-grid small {
	color: #8b8f8b;
}

/* ---------------------------------------------------------
   Blog cards
   --------------------------------------------------------- */

.post-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
}

.post-grid-1 {
	grid-template-columns: 1fr;
}

.post-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.post-grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

/* Category chips (shortcode + archives) */
.category-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	margin: 0 0 34px;
	list-style: none;
}

.category-chips-center {
	justify-content: center;
}

.category-chips a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--white);
	color: var(--text);
	font-size: 0.86rem;
	font-weight: 600;
	transition:
		border-color 180ms var(--ease),
		background-color 180ms var(--ease),
		color 180ms var(--ease),
		transform 180ms var(--ease);
}

.category-chips a:hover,
.category-chips .is-current a {
	transform: translateY(-2px);
	border-color: var(--accent-strong);
	background: var(--accent);
	color: var(--accent-ink);
}

.category-chips small {
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 500;
}

.category-chips a:hover small,
.category-chips .is-current small {
	color: rgba(17, 19, 0, 0.6);
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
	transition:
		transform 250ms var(--ease),
		box-shadow 250ms var(--ease),
		border-color 250ms var(--ease);
}

.post-card:hover {
	transform: translateY(-6px);
	border-color: rgba(180, 210, 0, 0.5);
	box-shadow: var(--shadow-lg);
}

.post-card-image {
	display: block;
	overflow: hidden;
}

.post-card-image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 500ms var(--ease);
}

.post-card:hover .post-card-image img {
	transform: scale(1.05);
}

.post-card-body {
	padding: 24px;
}

.post-card-body time {
	color: var(--muted);
	font-size: 0.76rem;
}

.post-card-body h2 {
	margin: 8px 0 5px;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.7;
}

.post-card-body p {
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 0.88rem;
}

.section-action {
	margin: 36px 0 0;
	text-align: center;
}

.front-page-content {
	padding-top: 20px;
}

/* ---------------------------------------------------------
   Content pages
   --------------------------------------------------------- */

.content-shell {
	min-height: 60vh;
	padding: 56px 0 96px;
}

/* Elementor-built pages: edge-to-edge canvas below the header. */
.content-elementor {
	min-height: 50vh;
}

.page-header {
	margin-bottom: 40px;
	text-align: center;
}

.page-header h1,
.entry-header h1 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 900;
	line-height: 1.45;
}

.archive-description {
	max-width: 700px;
	margin: 10px auto 0;
	color: var(--muted);
}

.single-entry {
	overflow-wrap: break-word;
}

.entry-header {
	margin-bottom: 30px;
	text-align: center;
}

.entry-meta {
	color: var(--muted);
	font-size: 0.85rem;
}

.entry-hero {
	overflow: hidden;
	margin-bottom: 36px;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow);
}

.entry-hero img {
	width: 100%;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content a {
	color: #5d6d00;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 160ms var(--ease);
}

.entry-content a:hover {
	color: var(--black);
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.7em;
	line-height: 1.5;
}

.entry-content blockquote {
	padding: 20px 26px;
	margin: 28px 0;
	border-inline-start: 4px solid var(--accent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--soft);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px;
	border: 1px solid var(--line);
	text-align: start;
}

.entry-content .alignwide {
	width: min(1180px, 100%);
	margin-inline: auto;
}

.entry-content .alignfull {
	width: 100%;
}

/* ---------------------------------------------------------
   Navigation / pagination
   --------------------------------------------------------- */

.post-navigation,
.posts-navigation,
.pagination {
	margin-top: 40px;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.page-numbers {
	display: inline-grid;
	min-width: 42px;
	height: 42px;
	margin: 3px;
	border: 1px solid var(--line);
	border-radius: 12px;
	place-items: center;
	transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.page-numbers:hover {
	border-color: var(--accent-strong);
}

.page-numbers.current {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 800;
}

/* ---------------------------------------------------------
   Comments + forms
   --------------------------------------------------------- */

.comments-area {
	padding-top: 40px;
	margin-top: 50px;
	border-top: 1px solid var(--line);
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-body {
	padding: 22px;
	margin: 15px 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.comment-form label {
	display: block;
	font-weight: 700;
}

.comment-form input:not([type="submit"]),
.comment-form textarea,
.search-form .search-field {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid #cfd2cf;
	border-radius: 12px;
	background: var(--white);
	transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.comment-form input:not([type="submit"]):focus,
.comment-form textarea:focus,
.search-form .search-field:focus {
	border-color: var(--accent-strong);
	outline: none;
	box-shadow: 0 0 0 4px rgba(215, 255, 0, 0.18);
}

.comment-form .submit,
.search-form .search-submit {
	padding: 12px 26px;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 800;
	cursor: pointer;
	transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}

.comment-form .submit:hover,
.search-form .search-submit:hover {
	background: var(--accent-strong);
	transform: translateY(-1px);
}

/* ---------------------------------------------------------
   404 / empty states
   --------------------------------------------------------- */

.error-404,
.no-results {
	text-align: center;
}

.error-code {
	margin: 0;
	font-size: clamp(5rem, 16vw, 10rem);
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(140deg, var(--accent-strong), #5d6d00);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.error-404 .search-form,
.no-results .search-form {
	display: flex;
	max-width: 560px;
	gap: 8px;
	margin: 26px auto;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
	position: relative;
	overflow: hidden;
	padding: 64px 0 20px;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	background:
		radial-gradient(560px 320px at 90% 0%, rgba(215, 255, 0, 0.06), transparent 60%),
		linear-gradient(160deg, var(--ink-800), #040504);
	color: var(--white);
}

.footer-grid {
	display: grid;
	gap: 44px;
	grid-template-columns: 1.35fr 0.8fr 0.9fr 1.35fr;
}

.footer-brand {
	margin: 0 0 18px;
}

.footer-grid p {
	margin: 7px 0;
	color: #c5c8c5;
	font-size: 0.88rem;
}

.footer-heading {
	position: relative;
	padding-bottom: 10px;
	margin: 0 0 16px;
	font-size: 1.05rem;
	font-weight: 800;
}

.footer-heading::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--accent);
	content: "";
}

.footer-grid li {
	margin: 8px 0;
	color: #c5c8c5;
	font-size: 0.87rem;
}

.footer-grid a {
	transition: color 160ms var(--ease);
}

.footer-grid a:hover {
	color: var(--accent);
}

.footer-grid address {
	font-style: normal;
}

.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.socials a {
	display: grid;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--accent);
	font-size: 0.7rem;
	font-weight: 800;
	place-items: center;
	transition:
		border-color 180ms var(--ease),
		background-color 180ms var(--ease),
		color 180ms var(--ease),
		transform 180ms var(--ease);
}

.socials a:hover {
	transform: translateY(-3px);
	border-color: var(--accent);
	background: var(--accent);
	color: var(--accent-ink);
}

.copyright {
	padding-top: 18px;
	margin-top: 44px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	color: #8f938f;
	font-size: 0.78rem;
	text-align: center;
}

/* ---------------------------------------------------------
   Reveal-on-scroll motion (classes applied by JS only,
   so content stays visible without JavaScript).
   --------------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 600ms var(--ease),
		transform 600ms var(--ease);
	transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1080px) {
	:root {
		--header-h: 74px;
	}

	.nav-cta {
		display: none;
	}

	/* The nav leaves the flex flow on mobile, so push the toggle to the far edge. */
	.nav-actions {
		margin-inline-start: auto;
	}

	.menu-toggle {
		display: block;
	}

	/* On mobile the desktop nav is replaced by the .mobile-drawer component. */
	.main-nav {
		display: none;
	}

	.brand-logo .custom-logo,
	.site-header .custom-logo {
		max-width: 140px;
		max-height: 40px;
	}

	.hero-grid {
		grid-template-columns: 58% 42%;
	}

	.services-grid,
	.program-grid,
	.post-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 760px) {
	:root {
		--header-h: 68px;
	}

	.container {
		width: min(100% - 28px, var(--container));
	}

	.brand-mark {
		width: 38px;
		height: 38px;
		border-width: 2px;
	}

	.brand-copy strong {
		font-size: 1.25rem;
	}

	.brand-copy small {
		font-size: 0.5rem;
	}

	.brand-logo .custom-logo,
	.site-header .custom-logo {
		max-width: 118px;
		max-height: 34px;
	}

	.hero {
		min-height: clamp(620px, 100svh, 820px);
		border-radius: 0 0 var(--radius-md) var(--radius-md);
		background-position: 57% center;
	}

	.hero-overlay {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.9) 70%, rgba(4, 5, 4, 0.99));
	}

	.hero-grid {
		min-height: 640px;
		grid-template-columns: 1fr;
		align-items: end;
		padding: 120px 0 84px;
	}

	.hero-copy {
		max-width: 640px;
		padding-inline-start: 0;
	}

	.hero h1 {
		font-size: clamp(2.4rem, 11vw, 3.6rem);
	}

	.feature-bar {
		margin-top: -46px;
	}

	.feature-strip {
		padding: 10px;
		grid-template-columns: 1fr 1fr;
	}

	.feature-strip article {
		justify-content: flex-start;
		padding: 14px 10px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	}

	.feature-strip article:nth-child(2) {
		border-inline-end: 0;
	}

	.feature-strip article:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.stats-grid {
		grid-template-columns: 1fr 1fr;
	}

	.stats article {
		padding: 16px;
		border-bottom: 1px solid var(--line);
	}

	.stats article:nth-child(2) {
		border-inline-end: 0;
	}

	.stats article:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.section {
		padding: 62px 0;
	}

	.trainer-grid,
	.testimonial-grid,
	.post-grid,
	.post-grid-2,
	.post-grid-4 {
		grid-template-columns: 1fr;
	}

	.trainer-card,
	.trainer-image {
		min-height: 400px;
		height: 400px;
	}

	.cta-panel {
		grid-template-columns: 1fr;
		border-radius: var(--radius-md);
	}

	.cta-image {
		min-height: 210px;
	}

	.cta-points {
		border-top: 1px dashed rgba(255, 255, 255, 0.25);
		border-inline-start: 0;
		text-align: center;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.hero-actions {
		display: grid;
	}

	.feature-strip {
		grid-template-columns: 1fr;
	}

	.feature-strip article {
		border-inline-end: 0;
	}

	.feature-strip article:nth-last-child(2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	}

	.services-grid,
	.program-grid {
		grid-template-columns: 1fr;
	}

	.service-image img,
	.fallback-image {
		height: 225px;
	}

	.error-404 .search-form,
	.no-results .search-form {
		display: block;
	}

	.search-form .search-submit {
		width: 100%;
		margin-top: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}
