/* =========================================================================
   WPLift HealthGrow — theme.css
   Brand:  WordPressLift — blue #1B5FCC · orange #FF6A2B · ink #101828
   Type:   Poppins (display + body, used consistently)
   ====================================================================== */

:root {
	--wplm-ink: #101828;
	--wplm-paper: #ffffff;
	--wplm-teal: #1b5fcc;        /* brand blue (legacy var name kept for compat) */
	--wplm-teal-deep: #14479a;   /* deep blue */
	--wplm-mint: #dce9fc;        /* blue tint */
	--wplm-mint-soft: #f1f6fe;   /* soft blue surface */
	--wplm-pulse: #ff6a2b;       /* brand orange */
	--wplm-line: rgba(16, 24, 40, 0.12);
	--wplm-muted: #475467;

	--wplm-font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--wplm-font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--wplm-radius: 14px;
	--wplm-radius-lg: 22px;
	--wplm-container: 1200px;
	--wplm-shadow: 0 10px 30px rgba(27, 95, 204, 0.12);
}

/* ---- Base ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--wplm-paper);
	color: var(--wplm-ink);
	font-family: var(--wplm-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
	font-family: var(--wplm-font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--wplm-ink);
	margin: 0 0 0.5em;
}
h4, h5, h6 { font-family: var(--wplm-font-body); font-weight: 700; margin: 0 0 0.5em; }

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

a { color: var(--wplm-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wplm-teal-deep); }

:focus-visible {
	outline: 3px solid var(--wplm-pulse);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px; width: 1px;
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--wplm-teal); color: #fff;
	padding: 0.6rem 1rem; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; clip: auto; clip-path: none; height: auto; width: auto; }

/* ---- Layout ----------------------------------------------------------- */
.wplm-container {
	width: 100%;
	max-width: var(--wplm-container);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}
.wplm-container--narrow { max-width: 800px; }
.wplm-main { min-height: 50vh; }

/* ---- Buttons ----------------------------------------------------------- */
.wplm-btn {
	display: inline-block;
	font-family: var(--wplm-font-body);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	padding: 0.9rem 1.6rem;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.wplm-btn--primary { background: var(--wplm-teal); color: #fff; }
.wplm-btn--primary:hover { background: var(--wplm-teal-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--wplm-shadow); }
.wplm-btn--ghost { background: transparent; color: var(--wplm-teal); border-color: var(--wplm-teal); }
.wplm-btn--ghost:hover { background: var(--wplm-mint); }
.wplm-btn--pulse { background: var(--wplm-pulse); color: #fff; }
.wplm-btn--pulse:hover { background: #cf4d3a; color: #fff; transform: translateY(-1px); }

/* ---- Header ------------------------------------------------------------ */
.wplm-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(251, 253, 252, 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--wplm-line);
}
.wplm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 72px;
}
.wplm-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--wplm-ink);
	font-family: var(--wplm-font-display);
	font-weight: 700;
	font-size: 1.25rem;
}
.wplm-logo__pulse { width: 56px; height: 18px; color: var(--wplm-pulse); }

.wplm-nav__list {
	display: flex;
	gap: 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.wplm-nav__list a {
	color: var(--wplm-ink);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.98rem;
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
}
.wplm-nav__list a:hover,
.wplm-nav__list .current-menu-item > a { border-bottom-color: var(--wplm-pulse); }

.wplm-header__actions { display: flex; align-items: center; gap: 1rem; }
.wplm-header__cta { padding: 0.7rem 1.3rem; font-size: 0.95rem; }

.wplm-nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}
.wplm-nav-toggle__bar {
	display: block;
	width: 24px; height: 2px;
	background: var(--wplm-ink);
	margin: 5px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.wplm-nav-toggle[aria-expanded="true"] .wplm-nav-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.wplm-nav-toggle[aria-expanded="true"] .wplm-nav-toggle__bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 920px) {
	.wplm-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--wplm-paper);
		border-bottom: 1px solid var(--wplm-line);
		padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem;
		box-shadow: var(--wplm-shadow);
	}
	.wplm-nav.is-open { display: block; }
	.wplm-nav__list { flex-direction: column; gap: 0.75rem; }
	.wplm-nav-toggle { display: block; }
	.wplm-header__cta { display: none; }
}

/* ---- Articles (non-Elementor content) ---------------------------------- */
.wplm-article { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.wplm-article__meta { color: var(--wplm-muted); font-size: 0.9rem; }
.wplm-article__content > * + * { margin-top: 1.1em; }

/* ---- Footer ------------------------------------------------------------ */
.wplm-footer {
	margin-top: clamp(3rem, 7vw, 5rem);
	background: var(--wplm-teal-deep);
	color: #d9e9e6;
}
.wplm-footer a { color: #fff; }
.wplm-footer .widget-title { color: #fff; font-size: 1.05rem; margin-bottom: 0.8rem; }
.wplm-footer__pulse {
	color: var(--wplm-pulse);
	background: var(--wplm-paper);
	line-height: 0;
}
.wplm-pulse--footer { display: block; width: 100%; height: 40px; }
.wplm-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.wplm-footer__links { list-style: none; margin: 0; padding: 0; }
.wplm-footer__links li { margin-bottom: 0.45rem; }
.wplm-footer__links a { text-decoration: none; opacity: 0.92; }
.wplm-footer__links a:hover { opacity: 1; text-decoration: underline; }
.wplm-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-block: 1.25rem;
	font-size: 0.9rem;
}
.wplm-footer__menu { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }

@media (max-width: 760px) {
	.wplm-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Elementor helper classes (used by imported demo content) ---------- */
/* Add these as CSS classes on Elementor sections/widgets; everything stays
   editable in the builder while inheriting the brand system. */

/* Enforce brand typography inside Elementor widgets (kit defaults otherwise win). */
.elementor-heading-title,
.elementor-widget-icon-box .elementor-icon-box-title,
.elementor-accordion .elementor-tab-title,
.elementor-counter .elementor-counter-number-wrapper {
	font-family: var(--wplm-font-display) !important;
	color: var(--wplm-ink);
}
.elementor-widget-text-editor,
.elementor-icon-box-description,
.elementor-accordion .elementor-tab-content,
.elementor-counter-title,
.elementor-testimonial-content,
.elementor-icon-list-text {
	font-family: var(--wplm-font-body) !important;
}

.wplm-eyebrow,
.wplm-eyebrow .elementor-heading-title {
	font-family: var(--wplm-font-body) !important;
	font-size: 0.82rem !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wplm-pulse) !important;
}
.wplm-section-mint { background: var(--wplm-mint-soft); }
.wplm-section-blue { background: var(--wplm-teal-deep); }
.wplm-section-blue .elementor-heading-title,
.wplm-section-blue h2, .wplm-section-blue h3,
.wplm-section-blue p,
.wplm-section-blue .elementor-counter-title,
.wplm-section-blue .elementor-counter-number-wrapper { color: #fff !important; }
.wplm-section-blue .elementor-counter-number-wrapper { color: var(--wplm-pulse) !important; }

.wplm-card {
	background: #fff;
	border: 1px solid var(--wplm-line);
	border-radius: var(--wplm-radius-lg);
	box-shadow: 0 4px 16px rgba(27, 95, 204, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wplm-card:hover { transform: translateY(-4px); box-shadow: var(--wplm-shadow); }

/* Process steps: big orange Syne numerals. */
.wplm-step-num .elementor-heading-title {
	font-size: clamp(2.4rem, 5vw, 3.4rem) !important;
	font-weight: 800;
	color: var(--wplm-pulse) !important;
	line-height: 1;
}

/* Pricing cards. */
.wplm-price { text-align: left; }
.wplm-price .elementor-widget-container { width: 100%; }
.wplm-price-amount .elementor-heading-title {
	font-size: clamp(2rem, 4vw, 2.6rem) !important;
	font-weight: 800;
	color: var(--wplm-teal) !important;
}
.wplm-price--featured {
	border: 2px solid var(--wplm-pulse);
	box-shadow: 0 14px 40px rgba(255, 106, 43, 0.18);
	position: relative;
}
.wplm-price-badge .elementor-heading-title {
	display: inline-block;
	background: var(--wplm-pulse);
	color: #fff !important;
	font-family: var(--wplm-font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
}

/* Checklist (icon-list) */
.wplm-check .elementor-icon-list-icon { color: var(--wplm-teal); }

/* FAQ accordion */
.elementor-accordion .elementor-tab-title {
	border-color: var(--wplm-line) !important;
}
.elementor-accordion .elementor-tab-title.elementor-active,
.elementor-accordion .elementor-tab-title:hover { color: var(--wplm-teal); }

/* Stats bar */
.wplm-stats .elementor-counter-number-wrapper { color: var(--wplm-teal); font-weight: 800; }
.wplm-stats .elementor-counter-title { color: var(--wplm-muted); font-size: 0.95rem; }

/* Hero pulse line: stroke draws in on load (signature moment). */
.wplm-hero-pulse { width: min(340px, 70%); height: 44px; color: var(--wplm-pulse); display: block; }
.wplm-hero-pulse path {
	stroke-dasharray: 600;
	stroke-dashoffset: 600;
	animation: wplm-draw 1.6s ease-out 0.3s forwards;
}
@keyframes wplm-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.wplm-hero-pulse path { stroke-dashoffset: 0; animation: none; }
}

/* ---- WordPress core compatibility -------------------------------------- */
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100%; max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--wplm-muted); }

/* =========================================================================
   v1.2 — Homepage: bold hero, service pillars, industries, process timeline
   ====================================================================== */

/* ---- Bold hero: dark gradient canvas, oversized type -------------------- */
.wplm-hero-bold {
	background: linear-gradient(135deg, #0C1B3A 0%, #14479A 55%, #1B5FCC 100%);
	position: relative;
	overflow: hidden;
}
/* Ambient orange glow + subtle grid — depth without images (keeps it fast). */
.wplm-hero-bold::before {
	content: "";
	position: absolute;
	top: -30%; right: -10%;
	width: 60vw; height: 60vw;
	max-width: 760px; max-height: 760px;
	background: radial-gradient(circle, rgba(255, 106, 43, 0.38) 0%, rgba(255, 106, 43, 0) 65%);
	pointer-events: none;
}
.wplm-hero-bold::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 78%);
	pointer-events: none;
}
.wplm-hero-bold > .elementor-container { position: relative; z-index: 2; }

.wplm-hero-bold .elementor-heading-title,
.wplm-hero-bold h1, .wplm-hero-bold h2, .wplm-hero-bold h3,
.wplm-hero-bold p,
.wplm-hero-bold .elementor-widget-text-editor { color: #fff !important; }

.wplm-hero-bold .wplm-eyebrow .elementor-heading-title {
	color: #FFB894 !important;
	display: inline-block;
	border: 1px solid rgba(255, 184, 148, 0.45);
	border-radius: 999px;
	padding: 0.45rem 1.1rem;
	background: rgba(255, 106, 43, 0.12);
	letter-spacing: 0.16em;
}

.wplm-hero-title .elementor-heading-title {
	font-size: clamp(2.5rem, 6.2vw, 4.6rem) !important;
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.03em;
	max-width: 17ch;
}
/* Orange accent on the final clause of the headline. */
.wplm-hero-title .elementor-heading-title em {
	font-style: normal;
	color: var(--wplm-pulse) !important;
}
.wplm-hero-lead .elementor-widget-container {
	font-size: clamp(1.05rem, 1.7vw, 1.3rem);
	line-height: 1.6;
	max-width: 62ch;
	color: rgba(255, 255, 255, 0.86) !important;
}
.wplm-hero-bold .wplm-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}
.wplm-hero-bold .wplm-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* Trust strip under the hero CTAs. */
.wplm-hero-trust .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.wplm-hero-trust .elementor-icon-list-text { color: rgba(255,255,255,.8) !important; font-size: .92rem; }
.wplm-hero-trust .elementor-icon-list-icon { color: var(--wplm-pulse) !important; }

/* ---- Service pillar cards ---------------------------------------------- */
.wplm-pillar {
	background: #fff;
	border: 1px solid var(--wplm-line);
	border-radius: var(--wplm-radius-lg);
	padding: 2rem 1.75rem !important;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	position: relative;
}
.wplm-pillar::before {
	content: "";
	position: absolute;
	left: 0; top: 28px;
	width: 4px; height: 0;
	background: var(--wplm-pulse);
	border-radius: 0 4px 4px 0;
	transition: height .25s ease;
}
.wplm-pillar:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 44px rgba(16, 24, 40, 0.10);
	border-color: rgba(27, 95, 204, 0.3);
}
.wplm-pillar:hover::before { height: 46px; }
.wplm-pillar .elementor-icon-box-icon { margin-bottom: 1rem; }
.wplm-pillar .elementor-icon-box-title { font-size: 1.22rem !important; font-weight: 600; }
.wplm-pillar .elementor-icon-box-description { color: var(--wplm-muted); font-size: .98rem; }

/* Learn More → text link with sliding arrow. */
.wplm-learn .elementor-button {
	background: transparent !important;
	color: var(--wplm-teal) !important;
	padding: 0 !important;
	font-weight: 600;
	font-size: .95rem;
	border: 0 !important;
	box-shadow: none !important;
}
.wplm-learn .elementor-button:hover { color: var(--wplm-pulse) !important; transform: none; }
.wplm-learn .elementor-button-text::after {
	content: " →";
	display: inline-block;
	transition: transform .18s ease;
}
.wplm-learn .elementor-button:hover .elementor-button-text::after { transform: translateX(5px); }

/* ---- Industry cards ----------------------------------------------------- */
.wplm-industry {
	background: #fff;
	border: 1px solid var(--wplm-line);
	border-left: 4px solid var(--wplm-teal);
	border-radius: 0 var(--wplm-radius) var(--wplm-radius) 0;
	padding: 1.6rem 1.5rem !important;
	transition: border-left-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wplm-industry:hover {
	border-left-color: var(--wplm-pulse);
	transform: translateX(4px);
	box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}
.wplm-industry .elementor-icon-box-title { font-size: 1.1rem !important; font-weight: 600; margin-bottom: .35rem; }
.wplm-industry .elementor-icon-box-description { color: var(--wplm-muted); font-size: .95rem; }

/* ---- Process: horizontal timeline --------------------------------------- */
.wplm-timeline { position: relative; }
/* The connecting rail, drawn behind the four step columns. */
.wplm-timeline .elementor-container::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 12%;
	right: 12%;
	height: 2px;
	background: linear-gradient(90deg, var(--wplm-teal) 0%, var(--wplm-pulse) 100%);
	opacity: .35;
	z-index: 0;
}
.wplm-tl-step { position: relative; z-index: 1; text-align: center; }
/* The node marker. */
.wplm-tl-step::before {
	content: "";
	display: block;
	width: 18px; height: 18px;
	margin: 26px auto 22px;
	border-radius: 50%;
	background: var(--wplm-pulse);
	box-shadow: 0 0 0 6px rgba(255, 106, 43, 0.18), 0 0 0 12px rgba(255, 106, 43, 0.07);
}
.wplm-tl-step .wplm-step-num .elementor-heading-title {
	font-size: 1rem !important;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--wplm-pulse) !important;
	margin-bottom: .35rem;
}
.wplm-tl-step h3.elementor-heading-title { font-size: 1.28rem !important; font-weight: 600; }
.wplm-tl-step .elementor-widget-text-editor {
	color: var(--wplm-muted);
	font-size: .96rem;
	max-width: 30ch;
	margin-inline: auto;
}

@media (max-width: 1024px) {
	/* Rail becomes vertical when Elementor stacks the columns. */
	.wplm-timeline .elementor-container::before {
		top: 40px; bottom: 40px;
		left: 50%; right: auto;
		width: 2px; height: auto;
		transform: translateX(-50%);
	}
	.wplm-tl-step::before { margin-top: 34px; }
}

/* ---- Footer: four-column link grid -------------------------------------- */
.wplm-footer__grid--wide { grid-template-columns: repeat(4, 1fr); }
.wplm-footer__brandblock { margin-bottom: 2rem; max-width: 46ch; }
.wplm-footer__brandblock p { color: rgba(255,255,255,.78); }
@media (max-width: 960px) {
	.wplm-footer__grid--wide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.wplm-footer__grid--wide { grid-template-columns: 1fr; }
}
