/* ==========================================================
   Telsana Widgets (Resources) v2
   Premium redesign: same brand colors, Poppins, new layouts.
   ========================================================== */
:root {
	--tls-primary: #2F8EC4;
	--tls-primary-2: #56B4E3;
	--tls-primary-deep: #22709F;
	--tls-heading: #23364A;
	--tls-ink: #14273A;
	--tls-text: #5B6B7B;
	--tls-soft: #EDF5FB;
	--tls-line: rgba(35, 54, 74, .09);
	--tls-white: #FFFFFF;
	--tls-grad: linear-gradient(135deg, #2F8EC4 0%, #56B4E3 100%);
	--tls-grad-btn: linear-gradient(135deg, #3B97CE 0%, #2A7DB5 100%);
	--tls-shadow: 0 1px 2px rgba(20, 39, 58, .04), 0 10px 30px -10px rgba(20, 39, 58, .12);
	--tls-shadow-hover: 0 2px 6px rgba(20, 39, 58, .05), 0 30px 60px -18px rgba(47, 142, 196, .35);
	--tls-ease: cubic-bezier(.2, .7, .2, 1);
	--tls-font: 'Poppins', sans-serif;
}

.tls-hero,
.tls-info,
.tls-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	font-family: var(--tls-font);
	box-sizing: border-box;
	width: 100%;
	-webkit-font-smoothing: antialiased;
}
.tls-hero *,
.tls-info *,
.tls-cta *,
.tls-hero *::before,
.tls-info *::before,
.tls-cta *::before {
	box-sizing: border-box;
}
.tls-hero h1, .tls-hero h2, .tls-hero h3, .tls-hero h4,
.tls-info h2, .tls-info h3, .tls-info h4, .tls-info h5,
.tls-cta h1, .tls-cta h2, .tls-cta h3, .tls-cta h4 {
	font-family: var(--tls-font);
	padding: 0;
}

/* Decorative layers */
.tls-deco {
	position: absolute;
	pointer-events: none;
	z-index: 0;
}
.tls-deco--orb1,
.tls-deco--orb2 {
	border-radius: 50%;
	filter: blur(70px);
	opacity: .6;
	animation: tls-drift 18s ease-in-out infinite alternate;
}
.tls-deco--orb1 {
	width: 480px;
	height: 480px;
	top: -200px;
	right: -100px;
	background: radial-gradient(circle, rgba(86, 180, 227, .55), rgba(86, 180, 227, 0) 70%);
}
.tls-deco--orb2 {
	width: 420px;
	height: 420px;
	bottom: -240px;
	left: -120px;
	background: radial-gradient(circle, rgba(47, 142, 196, .35), rgba(47, 142, 196, 0) 70%);
	animation-delay: -6s;
}
.tls-deco--grid {
	inset: 0;
	background-image:
		linear-gradient(rgba(47, 142, 196, .08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(47, 142, 196, .08) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(ellipse 55% 75% at 50% 40%, #000 15%, transparent 75%);
	mask-image: radial-gradient(ellipse 55% 75% at 50% 40%, #000 15%, transparent 75%);
}
.tls-deco--lines {
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 10%, transparent 75%);
}
@keyframes tls-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(-40px, 30px, 0) scale(1.08); }
}

/* Scroll reveal */
.tls-rv {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--tls-ease), transform .8s var(--tls-ease) !important;
}
.tls-rv.is-in {
	opacity: 1;
	transform: none;
}

/* ==========================================================
   Page hero
   ========================================================== */
.tls-hero {
	padding: 120px 20px 110px;
	background:
		radial-gradient(800px 420px at 50% -10%, rgba(86, 180, 227, .28), transparent 65%),
		linear-gradient(180deg, #EAF5FC 0%, #F6FAFD 70%, #FFFFFF 100%);
}
.tls-hero::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: min(560px, 70%);
	height: 1px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, transparent, rgba(47, 142, 196, .45), transparent);
	z-index: 1;
}
.tls-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 860px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.tls-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--tls-primary);
	background: rgba(47, 142, 196, .08);
	border: 1px solid rgba(47, 142, 196, .18);
	padding: 8px 16px 8px 12px;
	border-radius: 999px;
	margin-bottom: 22px;
	line-height: 1.3;
}
.tls-hero__eyebrow::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tls-grad);
	box-shadow: 0 0 0 4px rgba(47, 142, 196, .15);
}
.tls-hero__title {
	font-size: 60px;
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -2.2px;
	color: var(--tls-heading);
	margin: 0 0 24px;
}
.tls-hero__subtitle {
	font-size: 18px;
	line-height: 1.7;
	color: var(--tls-text);
	margin: 0;
	max-width: 620px;
}

/* ==========================================================
   Info blocks
   ========================================================== */
.tls-info {
	padding: 100px 20px 110px;
	background-color: var(--tls-white);
	background-image: radial-gradient(700px 360px at 100% 0%, rgba(86, 180, 227, .08), transparent 70%);
}
.tls-info__inner {
	position: relative;
	z-index: 1;
	max-width: 1120px;
	margin: 0 auto;
}
.tls-info__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
}
.tls-info__item {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 38px 36px 36px;
	background: var(--tls-white);
	border: 1px solid var(--tls-line);
	border-radius: 24px;
	box-shadow: var(--tls-shadow);
	overflow: hidden;
	transition: transform .5s var(--tls-ease), box-shadow .5s var(--tls-ease), border-color .4s ease, background-color .4s ease;
}
.tls-info__item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--tls-grad);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .6s var(--tls-ease);
}
.tls-info__item::after {
	content: '';
	position: absolute;
	width: 240px;
	height: 240px;
	right: -100px;
	top: -100px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(86, 180, 227, .2), transparent 70%);
	opacity: 0;
	transition: opacity .5s ease;
	pointer-events: none;
}
.tls-info__item:hover {
	transform: translateY(-6px);
	box-shadow: var(--tls-shadow-hover);
	border-color: rgba(47, 142, 196, .25);
}
.tls-info__item:hover::before {
	transform: scaleY(1);
}
.tls-info__item:hover::after {
	opacity: 1;
}
.tls-info__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(47, 142, 196, .12), rgba(86, 180, 227, .18));
	color: var(--tls-primary);
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 26px;
	transition: background .4s ease, color .4s ease, transform .5s var(--tls-ease), box-shadow .4s ease;
}
.tls-info__item:hover .tls-info__num {
	background: var(--tls-grad);
	color: var(--tls-white);
	transform: rotate(-8deg) scale(1.06);
	box-shadow: 0 14px 26px -10px rgba(47, 142, 196, .8);
}
.tls-info__item[style*="center"] .tls-info__num {
	align-self: center;
}
.tls-info__title {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.5px;
	color: var(--tls-heading);
	margin: 0 0 12px;
}
.tls-info__text {
	font-size: 15px;
	line-height: 1.75;
	color: var(--tls-text);
}
.tls-info__text p {
	margin: 0 0 10px;
}
.tls-info__text p:last-child {
	margin-bottom: 0;
}
.tls-info__text a {
	color: var(--tls-primary);
	text-decoration: none;
	font-weight: 500;
	background-image: linear-gradient(var(--tls-primary), var(--tls-primary));
	background-size: 100% 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
}
.tls-info__text a:hover {
	color: var(--tls-primary-deep);
}

/* ==========================================================
   Call to action
   ========================================================== */
.tls-cta {
	padding: 40px 20px 110px;
	background-color: var(--tls-white);
}
.tls-cta__inner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	max-width: 1120px;
	margin: 0 auto;
	padding: 90px 40px;
	border-radius: 32px;
	background-color: var(--tls-ink);
	background-image:
		radial-gradient(700px 380px at 50% 120%, rgba(47, 142, 196, .6), transparent 65%),
		radial-gradient(500px 300px at 0% 0%, rgba(86, 180, 227, .15), transparent 70%);
	box-shadow: 0 50px 90px -40px rgba(20, 39, 58, .65);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.tls-cta__inner > *:not(.tls-deco) {
	position: relative;
	z-index: 1;
}
.tls-cta__inner .tls-deco--orb1,
.tls-cta__inner .tls-deco--orb2 {
	opacity: .35;
}
.tls-cta__title {
	font-size: 48px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -1.6px;
	color: var(--tls-white);
	margin: 0 0 18px;
}
.tls-cta__text {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .72);
	margin: 0 0 36px;
	max-width: 560px;
}
.tls-cta__button {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-family: var(--tls-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--tls-ink);
	background: var(--tls-white);
	padding: 12px 14px 12px 28px;
	border-radius: 999px;
	text-decoration: none;
	box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55);
	transition: transform .35s var(--tls-ease), box-shadow .35s var(--tls-ease), color .25s ease, background .35s ease;
}
.tls-cta__button::after {
	content: '';
	position: absolute;
	top: 0;
	left: -80%;
	width: 50%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(47, 142, 196, .18), transparent);
	transform: skewX(-20deg);
	transition: left .7s var(--tls-ease);
	z-index: -1;
}
.tls-cta__button:hover,
.tls-cta__button:focus {
	color: var(--tls-primary-deep);
	transform: translateY(-2px);
	text-decoration: none;
}
.tls-cta__button:hover::after {
	left: 130%;
}
.tls-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--tls-grad);
	color: var(--tls-white);
	line-height: 1;
	font-size: 14px;
	transition: transform .45s var(--tls-ease);
}
.tls-cta__button:hover .tls-cta__icon {
	transform: rotate(-12deg) scale(1.08);
}
.tls-cta__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}
.tls-cta__button--icon-left {
	padding: 12px 28px 12px 14px;
}
.tls-cta__button--icon-left .tls-cta__icon {
	order: -1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.tls-deco--orb1,
	.tls-deco--orb2 {
		animation: none !important;
	}
	.tls-rv {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Responsive */
@media (max-width: 1024px) {
	.tls-hero { padding: 96px 24px 88px; }
	.tls-hero__title { font-size: 48px; letter-spacing: -1.6px; }
	.tls-cta__title { font-size: 40px; }
	.tls-info__item { padding: 32px 28px; }
}

@media (max-width: 767px) {
	.tls-hero { padding: 72px 18px 64px; }
	.tls-hero__title { font-size: 36px; letter-spacing: -1.1px; }
	.tls-hero__subtitle { font-size: 16px; }
	.tls-info { padding: 64px 18px; }
	.tls-info__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.tls-info__item { padding: 28px 24px; }
	.tls-info__title { font-size: 20px; }
	.tls-cta { padding: 24px 14px 64px; }
	.tls-cta__inner { padding: 60px 22px; border-radius: 24px; }
	.tls-cta__title { font-size: 31px; letter-spacing: -1px; }
	.tls-cta__text { font-size: 15.5px; }
}
