/*
Theme Name: CapsLock
Theme URI: https://capslock.pk
Description: Fast, conversion-focused child theme for CapsLock.
Author: CapsLock
Template: hello-elementor
Version: 1.7.8
Text Domain: capslock
*/

:root {
	--cl-ink: #101828;
	--cl-muted: #475467;
	--cl-soft: #f2f4f7;
	--cl-surface: #ffffff;
	--cl-brand: #0f766e;
	--cl-brand-dark: #115e59;
	--cl-accent: #2563eb;
	--cl-border: #d0d5dd;
	--cl-max: 1200px;
	--cl-radius: 18px;
	--cl-shadow: 0 18px 48px rgba(16, 24, 40, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--cl-ink);
	background: var(--cl-surface);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

a {
	color: var(--cl-brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--cl-brand-dark);
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 0.6em;
	color: var(--cl-ink);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

h1 {
	font-size: clamp(2.75rem, 6vw, 5.6rem);
}

h2 {
	font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.7rem);
}

p {
	margin: 0 0 1.25rem;
}

.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: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: #fff;
}

.cl-container {
	width: min(100% - 40px, var(--cl-max));
	margin-inline: auto;
}

.cl-topbar {
	background: #0c111d;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.82rem;
	line-height: 1.4;
}

.cl-topbar__inner {
	display: flex;
	min-height: 38px;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
}

.cl-topbar ul {
	display: flex;
	margin: 0;
	padding: 0;
	align-items: center;
	list-style: none;
}

.cl-topbar__contact {
	gap: 20px;
}

.cl-topbar__news {
	flex: 1;
	margin: 0;
	color: #fff;
	font-weight: 650;
	text-align: center;
}

.cl-topbar a {
	color: inherit;
	text-decoration: none;
}

.cl-topbar a:hover,
.cl-topbar__news a {
	color: #5eead4;
}

.cl-topbar__social {
	margin-left: auto !important;
	gap: 4px;
}

.cl-topbar__social a {
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.cl-topbar__social a:hover {
	background: rgba(255, 255, 255, 0.1);
}

.cl-site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	border-bottom: 1px solid rgba(208, 213, 221, 0.72);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(18px);
}

.cl-header-inner {
	display: flex;
	min-height: 78px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cl-brand {
	display: inline-flex;
	align-items: center;
	color: var(--cl-ink);
	font-size: 1.2rem;
	font-weight: 800;
	text-decoration: none;
}

.cl-brand img {
	width: auto;
	max-height: 38px;
}

.cl-nav {
	display: flex;
	align-items: center;
	gap: 26px;
}

.cl-nav ul {
	display: flex;
	margin: 0;
	padding: 0;
	align-items: center;
	gap: 24px;
	list-style: none;
}

.cl-nav a {
	color: var(--cl-ink);
	font-size: 0.92rem;
	font-weight: 650;
	text-decoration: none;
}

.cl-nav a:hover,
.cl-nav .current-menu-item > a {
	color: var(--cl-brand);
}

.cl-nav .cl-button,
.cl-nav .cl-button:hover {
	color: #fff;
}

.cl-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--cl-border);
	border-radius: 10px;
	background: #fff;
	color: var(--cl-ink);
}

.cl-menu-toggle__close,
.cl-menu-toggle[aria-expanded="true"] .cl-menu-toggle__bars {
	display: none;
}

.cl-menu-toggle[aria-expanded="true"] .cl-menu-toggle__close {
	display: block;
}

.cl-button,
.elementor-button {
	display: inline-flex;
	min-height: 48px;
	padding: 12px 22px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: var(--cl-brand);
	color: #fff;
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
	transition: transform 160ms ease, background 160ms ease;
}

.cl-button:hover,
.elementor-button:hover {
	background: var(--cl-brand-dark);
	color: #fff;
	transform: translateY(-1px);
}

.cl-button--light {
	background: #fff;
	color: var(--cl-brand-dark);
}

.cl-button--light:hover {
	background: var(--cl-soft);
	color: var(--cl-brand-dark);
}

.cl-main {
	min-height: 60vh;
}

.cl-hero {
	position: relative;
	display: flex;
	overflow: hidden;
	min-height: min(88vh, 820px);
	padding-top: clamp(88px, 12vw, 150px);
	flex-direction: column;
	justify-content: space-between;
	isolation: isolate;
	background: #0c111d;
	color: #fff;
}

.cl-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(12, 17, 29, 0.95) 0%, rgba(12, 17, 29, 0.84) 42%, rgba(12, 17, 29, 0.35) 100%),
		linear-gradient(0deg, rgba(12, 17, 29, 0.9), transparent 38%);
}

.cl-hero__media {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.cl-hero__copy {
	max-width: 760px;
}

.cl-hero h1 {
	max-width: 16ch;
	color: #fff;
}

.cl-hero .cl-kicker {
	color: #5eead4;
}

.cl-hero .cl-lede {
	color: rgba(255, 255, 255, 0.84);
}

.cl-hero .cl-lede a,
.cl-hero__points a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(94, 234, 212, 0.85);
	text-underline-offset: 3px;
}

.cl-hero .cl-lede a:hover,
.cl-hero__points a:hover {
	color: #5eead4;
}

.cl-button--ghost {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.65);
	color: #fff;
}

.cl-button--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.cl-hero__points {
	display: flex;
	margin: 36px 0 0;
	padding: 0;
	flex-wrap: wrap;
	gap: 10px 28px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.95rem;
	font-weight: 650;
	list-style: none;
}

.cl-hero__points li::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	border-radius: 50%;
	background: #2dd4bf;
	vertical-align: middle;
}

.cl-hero__proof {
	margin-top: clamp(64px, 9vw, 110px);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(12, 17, 29, 0.55);
	backdrop-filter: blur(8px);
}

.cl-hero__proof-inner {
	display: flex;
	padding-block: 22px;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 30px;
	font-size: 0.95rem;
}

.cl-hero__proof-label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.cl-hero__proof a {
	color: #fff;
	font-weight: 650;
	text-decoration: none;
}

.cl-hero__proof a:hover {
	color: #5eead4;
}

.cl-lede {
	max-width: 720px;
	color: var(--cl-muted);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.cl-kicker {
	margin-bottom: 12px;
	color: var(--cl-brand);
	font-size: 0.77rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.cl-actions {
	display: flex;
	margin-top: 28px;
	flex-wrap: wrap;
	gap: 12px;
}

.cl-section {
	padding: clamp(72px, 9vw, 120px) 0;
}

.cl-section--soft {
	background: var(--cl-soft);
}

.cl-section-heading {
	display: flex;
	margin-bottom: 38px;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
}

.cl-section-heading > div {
	max-width: 760px;
}

.cl-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.cl-card {
	overflow: hidden;
	border: 1px solid var(--cl-border);
	border-radius: var(--cl-radius);
	background: #fff;
	transition: border 160ms ease, transform 160ms ease;
}

.cl-card:hover {
	border-color: rgba(15, 118, 110, 0.55);
	transform: translateY(-3px);
}

.cl-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #e4e7ec;
}

.cl-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.cl-card:hover .cl-card__media img {
	transform: scale(1.025);
}

.cl-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(37, 99, 235, 0.14));
}

.cl-card__body {
	padding: 26px;
}

.cl-card__body h2,
.cl-card__body h3 {
	margin-bottom: 0.4em;
	font-size: 1.25rem;
	line-height: 1.25;
}

.cl-card__body h2 a,
.cl-card__body h3 a {
	color: var(--cl-ink);
	text-decoration: none;
}

.cl-card__body h2 a:hover,
.cl-card__body h3 a:hover {
	color: var(--cl-brand);
}

.cl-card__body p:not(.cl-kicker) {
	color: var(--cl-muted);
}

.cl-text-link {
	font-weight: 750;
	text-decoration: none;
}

.cl-page-hero {
	padding: 92px 0 60px;
	background: var(--cl-soft);
}

.cl-page-hero p {
	max-width: 760px;
	color: var(--cl-muted);
	font-size: 1.2rem;
}

.cl-content {
	padding: 72px 0 110px;
}

.cl-content__inner {
	max-width: 820px;
}

.cl-content__inner > * + h2,
.cl-content__inner > * + h3 {
	margin-top: 2em;
}

.cl-meta {
	display: flex;
	margin: 18px 0 0;
	flex-wrap: wrap;
	gap: 10px;
}

.cl-tag {
	padding: 5px 11px;
	border-radius: 999px;
	background: #e7f7f5;
	color: var(--cl-brand-dark);
	font-size: 0.82rem;
	font-weight: 700;
}

.cl-post-hero h1 {
	max-width: 24ch;
	font-size: clamp(2rem, 4vw, 3.1rem);
	line-height: 1.15;
}

.cl-post-hero .cl-kicker a {
	color: inherit;
	text-decoration: none;
}

.cl-post-meta {
	display: flex;
	margin-top: 28px;
	align-items: center;
	gap: 12px;
}

.cl-post-meta__avatar,
.cl-author__avatar {
	border-radius: 50%;
}

.cl-post-meta__author {
	display: block;
	color: var(--cl-ink);
	font-weight: 750;
	text-decoration: none;
}

.cl-post-meta__details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--cl-muted);
	font-size: 0.92rem;
}

.cl-post-footer {
	display: grid;
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--cl-border);
	gap: 28px;
}

.cl-post-footer__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 18px;
}

.cl-content__inner .cl-post-footer h2.cl-post-footer__label {
	margin: 0;
	color: var(--cl-muted);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cl-post-footer .cl-meta,
.cl-share {
	display: flex;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.cl-post-footer .cl-tag {
	display: inline-block;
	text-decoration: none;
}

.cl-share a {
	display: inline-flex;
	min-height: 38px;
	padding: 8px 14px;
	align-items: center;
	border: 1px solid var(--cl-border);
	border-radius: 999px;
	color: var(--cl-ink);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.cl-share a:hover {
	border-color: var(--cl-brand);
	color: var(--cl-brand);
}

.cl-author {
	display: flex;
	padding: 28px;
	align-items: flex-start;
	gap: 20px;
	border-radius: var(--cl-radius);
	background: var(--cl-soft);
}

.cl-author .cl-kicker {
	margin-bottom: 4px;
}

.cl-content__inner .cl-author h2.cl-author__name {
	margin: 0 0 8px;
	font-size: 1.25rem;
}

.cl-author p:not(.cl-kicker) {
	color: var(--cl-muted);
}


.cl-process__intro {
	max-width: 720px;
	margin-bottom: 36px;
}

.cl-process__intro h2 {
	max-width: 14ch;
	font-size: clamp(2rem, 3.4vw, 3rem);
}

.cl-process__intro .cl-lede {
	margin-bottom: 0;
}

.cl-process__steps {
	display: grid;
	margin: 0;
	padding: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	list-style: none;
}

.cl-process__steps li {
	padding: 26px 24px 24px;
	border: 1px solid var(--cl-border);
	border-radius: var(--cl-radius);
	background: var(--cl-soft);
}

.cl-process__num {
	display: block;
	margin-bottom: 16px;
	color: var(--cl-brand);
	font-size: 1.65rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.cl-process__steps h3 {
	margin-bottom: 8px;
	font-size: 1.2rem;
}

.cl-process__steps p {
	margin: 0;
	color: var(--cl-muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.cl-cta {
	display: grid;
	margin: 72px 0;
	padding: clamp(28px, 4.5vw, 48px) clamp(28px, 5vw, 56px);
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 0 48px;
	border-radius: calc(var(--cl-radius) + 6px);
	background:
		radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.22), transparent 45%),
		var(--cl-brand-dark);
	color: #fff;
}

.cl-cta__copy {
	display: contents;
}

.cl-cta h2 {
	grid-column: 1 / -1;
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(1.8rem, 3.4vw, 2.9rem);
	line-height: 1.15;
}

.cl-cta__copy p {
	max-width: 560px;
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
}

.cl-cta__actions {
	display: flex;
	justify-self: end;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 22px;
}

.cl-cta__secondary {
	color: #fff;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

.cl-cta__secondary:hover {
	color: #99f6e4;
}

.cl-site-footer {
	padding: 68px 0 28px;
	background: #0c111d;
	color: #98a2b3;
}

.cl-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: 44px;
}

.cl-site-footer h2,
.cl-site-footer h3,
.cl-site-footer a {
	color: #fff;
}

.cl-site-footer h3 {
	font-size: 1rem;
	letter-spacing: 0;
}

.cl-site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cl-site-footer li + li {
	margin-top: 9px;
}

.cl-site-footer a {
	text-decoration: none;
}

.cl-footer-bottom {
	display: flex;
	margin-top: 52px;
	padding-top: 24px;
	justify-content: space-between;
	border-top: 1px solid #344054;
	font-size: 0.85rem;
}

.cl-site-footer.elementor-section:not(.cl-footer-legal) > .elementor-container {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
	gap: 44px;
	max-width: var(--cl-max);
}

.cl-site-footer.elementor-section:not(.cl-footer-legal) > .elementor-container > .elementor-column {
	width: 100%;
}

.cl-site-footer .elementor-nav-menu--dropdown,
.cl-site-footer .elementor-menu-toggle {
	display: none;
}

.cl-site-footer .elementor-nav-menu--main {
	display: block !important;
}

.cl-site-footer .elementor-nav-menu {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.cl-site-footer .elementor-nav-menu--main .elementor-nav-menu a.elementor-item {
	padding: 0;
	color: #fff;
	font-size: inherit;
	font-weight: 400;
	line-height: 1.7;
}

.cl-site-footer .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:hover,
.cl-site-footer .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:focus {
	color: #5eead4;
}

.elementor-location-footer {
	background: #0c111d;
}

.cl-footer-legal.elementor-section {
	padding-top: 28px !important;
	background: #0c111d;
	color: #98a2b3;
}

.cl-footer-legal.elementor-section > .elementor-container {
	width: min(100% - 40px, var(--cl-max));
	max-width: var(--cl-max);
	margin: 0 auto;
	padding-top: 24px;
	border-top: 1px solid #344054;
}

.cl-footer-legal .elementor-widget-text-editor {
	font-size: 0.85rem;
}

@media (max-width: 900px) {
	.cl-menu-toggle {
		display: inline-flex;
	}

	.cl-nav {
		display: none;
		position: absolute;
		top: 78px;
		right: 0;
		left: 0;
		padding: 24px;
		border-bottom: 1px solid var(--cl-border);
		background: #fff;
	}

	.cl-nav.is-open {
		display: block;
	}

	.cl-nav ul {
		align-items: stretch;
		flex-direction: column;
	}

	.cl-nav .cl-button {
		margin-top: 18px;
	}

	.cl-footer-grid,
	.cl-site-footer.elementor-section:not(.cl-footer-legal) > .elementor-container {
		grid-template-columns: 1fr 1fr;
	}

	.cl-hero::before {
		background: linear-gradient(0deg, rgba(12, 17, 29, 0.94) 25%, rgba(12, 17, 29, 0.6) 100%);
	}

	.cl-card-grid,
	.cl-process__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cl-cta {
		grid-template-columns: 1fr;
	}

	.cl-cta__actions {
		margin-top: 24px;
		justify-self: start;
	}
}

@media (max-width: 620px) {
	body {
		font-size: 16px;
	}

	.cl-topbar__contact li + li,
	.cl-topbar__contact:has(~ .cl-topbar__news) {
		display: none;
	}

	.cl-container {
		width: min(100% - 28px, var(--cl-max));
	}

	.cl-hero {
		min-height: 0;
	}

	.cl-card-grid,
	.cl-process__steps,
	.cl-footer-grid,
	.cl-site-footer.elementor-section:not(.cl-footer-legal) > .elementor-container {
		grid-template-columns: 1fr;
	}

	.cl-section-heading,
	.cl-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

.cl-loader {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--cl-surface);
	color: var(--cl-ink);
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

html.cl-loading,
html.cl-loading body {
	overflow: hidden;
}

html:not(.cl-loading) .cl-loader {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.cl-loader__inner {
	display: grid;
	justify-items: center;
	gap: 16px;
}

.cl-loader__ring {
	width: 42px;
	height: 42px;
	border: 2px solid var(--cl-border);
	border-top-color: var(--cl-brand);
	border-radius: 50%;
	animation: cl-loader-spin 0.7s linear infinite;
}

.cl-loader__name {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@keyframes cl-loader-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
