/* ============================================================
   Homepage styles (moved out of the front-page.php inline block
   + new sections: testimonials, insights, FAQ polish)
   ============================================================ */

/* ---------- "What are you looking for" / AI search ---------- */
.Looking-For-sec {
	position: relative;
	overflow: hidden;
	padding: 82px 0 92px;
	margin-top: 50px;
}

.Looking-For-sec::before,
.Looking-For-sec::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: -1;
}

.Looking-For-sec::before {
	width: 740px;
	height: 740px;
	right: -180px;
	top: -260px;
	border-radius: 999px;
	background:
		radial-gradient(circle, rgba(255, 255, 255, .28) 0 1px, transparent 2px) 0 0 / 34px 34px,
		radial-gradient(circle, rgba(21, 200, 255, .34), transparent 60%);
	opacity: .9;
}

.Looking-For-sec::after {
	left: -140px;
	bottom: -210px;
	width: 520px;
	height: 520px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(21, 200, 255, .34), transparent 66%);
}

.te-looking-panel { position: relative; z-index: 1; }

.te-looking-panel::before {
	content: "AI POWERED SEARCH";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -42px;
	color: rgb(208 208 208 / 20%);
	font-size: clamp(48px, 8vw, 118px);
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	pointer-events: none;
}

.te-looking-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
	gap: 42px;
	align-items: center;
	margin-bottom: 28px;
}

.te-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 8px 12px;
	border: 1px solid rgba(4, 170, 234, .22);
	border-radius: 999px;
	color: var(--cyan, #15c8ff);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	background: rgba(4, 170, 234, .08);
	backdrop-filter: blur(10px);
}

.te-kicker::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--te-cyan);
	box-shadow: 0 0 0 6px rgba(21, 200, 255, .14);
}

.Looking-For-sec h2 {
	max-width: 710px;
	margin: 0;
	color: var(--te-navy);
	font-size: clamp(42px, 6.4vw, 92px);
	font-weight: 800;
	line-height: .96;
	text-transform: uppercase;
}

.Looking-For-sec h2 span {
	display: inline;
	color: var(--te-cyan);
	text-shadow: 0 10px 34px rgba(21, 200, 255, .32);
}

.te-looking-copy {
	max-width: 660px;
	margin: 20px 0 0;
	color: var(--grey2);
	font-size: 18px;
	line-height: 1.62;
}

.te-mini-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.te-mini-proof span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 13px;
	border: 1px solid rgba(4, 170, 234, .22);
	border-radius: 999px;
	color: var(--cyan, #15c8ff);
	font-size: 13px;
	font-weight: 700;
	background: rgba(4, 170, 234, .08);
}

.te-mini-proof span::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var(--te-cyan);
}

.te-search-card {
	position: relative;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 30px;
	color: #fff;
	box-shadow: 0 34px 80px rgba(0, 0, 0, .26);
	isolation: isolate;
	background:
		linear-gradient(115deg, rgba(22, 39, 107, .97) 0%, rgba(22, 39, 107, .93) 42%, rgba(7, 163, 225, .92) 100%),
		#16276b;
}

.te-search-card::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 31px;
	padding: 2px;
	background: linear-gradient(135deg, rgba(255, 255, 255, .52), rgba(21, 200, 255, .76), rgba(255, 255, 255, .12));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.te-search-label {
	display: block;
	position: relative;
	z-index: 1;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, .92);
	font-size: 16px;
	font-weight: 800;
}

.te-search-sub {
	position: relative;
	z-index: 1;
	margin: -6px 0 16px;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	line-height: 1.5;
}

.ai-search-wrapper { position: relative; z-index: 1; }

.ai-search-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px;
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .22), 0 0 0 8px rgba(21, 200, 255, .10);
}

#ai-search-input {
	min-width: 0;
	flex: 1;
	border: 0;
	outline: 0;
	padding: 14px 12px;
	color: var(--te-text);
	font: inherit;
	font-size: 15px;
	background: transparent;
}

#ai-search-input::placeholder { color: #8e98b3; }

#ai-search-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 16px;
	color: #fff;
	font: inherit;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
	background: linear-gradient(135deg, var(--te-navy), var(--te-blue));
	box-shadow: 0 10px 22px rgba(8, 174, 234, .34);
}

#ai-search-button::after {
	content: "⌕";
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	color: var(--te-blue);
	background: #fff;
	font-size: 20px;
	line-height: 1;
}

.te-search-prompts {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.te-search-prompts button {
	padding: 7px 10px;
	border: 0;
	border-radius: 999px;
	color: rgba(255, 255, 255, .88);
	font-size: 12px;
	font-weight: 600;
	background: rgba(255, 255, 255, .14);
	cursor: pointer;
}

.te-search-note {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 12px;
	align-items: center;
	margin-top: 18px;
	padding: 14px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .10);
}

.te-search-note strong { display: block; margin-bottom: 2px; color: #fff; font-size: 13px; }
.te-search-note small { color: rgba(255, 255, 255, .72); font-size: 12px; line-height: 1.4; }

.te-search-note i {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	color: var(--te-navy);
	font-style: normal;
	font-weight: 800;
	background: #fff;
}

.te-intent-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.te-intent-card {
	position: relative;
	min-height: 272px;
	display: flex;
	flex-direction: column;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 26px;
	overflow: hidden;
	text-decoration: none !important;
	color: #fff;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.te-intent-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .94)),
		radial-gradient(circle at 100% 0, rgba(8, 174, 234, .38), transparent 42%);
}

.te-intent-card::after {
	content: "";
	position: absolute;
	right: -34px;
	top: -34px;
	width: 106px;
	height: 106px;
	border-radius: 999px;
	background: rgba(8, 174, 234, .12);
	transition: transform .22s ease, background .22s ease;
}

.te-intent-card:hover {
	transform: translateY(-8px);
	border-color: rgba(255, 255, 255, .50);
	box-shadow: 0 28px 64px rgba(0, 0, 0, .26);
}

.te-intent-card:hover::after {
	transform: scale(1.18);
	background: rgba(8, 174, 234, .22);
}

.te-intent-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 20px;
	border-radius: 18px;
	color: #fff;
	background: linear-gradient(135deg, var(--te-navy), var(--te-blue));
	box-shadow: 0 14px 28px rgba(8, 174, 234, .24);
}

.te-intent-icon svg { width: 30px; height: 30px; stroke-width: 1.8; }

.te-intent-card p,
.te-intent-card .te-intent-title,
.te-intent-card small,
.te-intent-card .te-intent-action { position: relative; z-index: 1; }

.te-intent-card p { margin: 0 0 8px; color: #4f5878; font-size: 15px; line-height: 1.45; }

.te-intent-card .te-intent-title {
	display: block;
	margin: 0;
	color: var(--te-navy);
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 800;
	line-height: 1.08;
	text-transform: uppercase;
}

.te-intent-card small { display: block; margin-top: 14px; color: #68718d; font-size: 13px; line-height: 1.45; }

.te-intent-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 22px;
	color: var(--te-blue);
	font-size: 14px;
	font-weight: 800;
}

.te-intent-action::after {
	content: "→";
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border-radius: 999px;
	color: #fff;
	background: var(--te-navy);
	transition: transform .22s ease, background .22s ease;
}

.te-intent-card:hover .te-intent-action::after {
	transform: translateX(4px);
	background: var(--te-blue);
}

@media (max-width: 991px) {
	.te-looking-head { grid-template-columns: 1fr; }
	.te-intent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
	.te-search-prompts { justify-content: center; }
	.te-mini-proof { justify-content: center; }
	.te-intent-action { justify-content: center; }
	.te-intent-icon { margin: auto; }
}

@media (max-width: 576px) {
	.Looking-For-sec { padding: 52px 0 60px; }
	.te-looking-panel::before { display: none; }
	.te-looking-copy { font-size: 15px; }
	.te-search-card { padding: 18px; border-radius: 24px; }
	.ai-search-bar { display: grid; }
	#ai-search-button { width: 100%; }
	.te-intent-grid { grid-template-columns: 1fr; }
	.te-intent-card { min-height: 238px; }
}

/* ============================================================
   Hero (te-hero)
   Content aligns with the shared container line; the badge band
   runs full-bleed from the left and tucks UNDER the person image.
   ============================================================ */

/* Kill the legacy 122px indent: hero uses the standard container. */
.te-hero .banner-content { margin-left: 0; }

.te-hero { overflow: hidden; }

.te-hero .row { position: relative; }

.te-hero-copy { position: relative; z-index: 1; padding-block: 28px 34px; }

/* Calmer, professional display scale (style.css uses fixed 35/110px). */
.te-hero .banner-content h1 {
	font-size: 23px;
	line-height: 1.3;
	letter-spacing: .5px;
	margin-bottom: 18px;
}
.te-hero .banner-content h1 strong {
	font-size: clamp(42px, 4.6vw, 68px);
	line-height: 1.04;
}

.te-hero-sub {
	max-width: 500px;
	margin: 0 0 26px;
	color: #5d6688;
	font-size: 16px;
	line-height: 1.7;
}

/* URL-analysis conversion form */
.te-url-form {
	display: flex;
	align-items: flex-end;
	gap: 22px;
	max-width: 560px;
}

.te-url-form input {
	flex: 1;
	min-width: 0;
	border: 0;
	border-bottom: 2px solid #c9d2e4;
	padding: 9px 2px;
	font: inherit;
	font-size: 15px;
	color: var(--te-text);
	background: transparent;
	outline: 0;
	transition: border-color .2s ease;
}
.te-url-form input::placeholder { color: #98a2bd; }
.te-url-form input:focus { border-bottom-color: var(--te-blue); }

.te-url-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex-shrink: 0;
	border: 0;
	border-radius: 999px;
	padding: 12px 24px;
	background: var(--blue);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 10px 22px rgba(25, 41, 100, .2);
}
.te-url-btn:hover {
	background: var(--te-blue);
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(8, 174, 234, .3);
}
.te-url-btn .bi { color: var(--te-cyan); }

/* Person image: larger than its column, anchored low so the pouf
   overlaps the badge band below. */
.te-hero-media {
	position: relative;
	z-index: 2;
	align-self: flex-end;
}
.te-hero-media .banners-person-img {
	display: block;
	width: 116%;
	max-width: none;
	height: auto;
	margin: 0 -4% -62px -12%;
}

/* Badge band: full-bleed from the viewport's left edge, gradient stops
   before the right side so the sofa/pouf sits ON the band. */
.te-hero-badgeband {
	position: relative;
	z-index: 1;
	margin-top: 0;
	background:
		linear-gradient(to right, #192964 0%, #192964 55%, #04aaea 100%) no-repeat;
	background-size: min(68%, 1080px) 100%;
}

/* One compact line of badges. */
.te-hero-badges {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: clamp(16px, 2.4vw, 36px);
	padding: 15px 0;
	width: min(100%, 700px);
}

.te-hero-badges img {
	height: 26px;
	width: auto;
	flex-shrink: 1;
	min-width: 0;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
	.te-hero-copy { padding-block: 10px 26px; text-align: center; }
	.te-hero-sub { margin-inline: auto; }
	.te-url-form { margin-inline: auto; }
	.te-hero-media .banners-person-img { width: 100%; max-width: 440px; margin: 0 auto -36px; }
	.te-hero-badgeband { background-size: 100% 100%; }
	.te-hero-badges { width: 100%; justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 576px) {
	.te-url-form { flex-direction: column; align-items: stretch; gap: 16px; }
	.te-url-btn { justify-content: center; }
	.te-hero .banner-content h1 strong { font-size: clamp(38px, 11vw, 56px); }
	.te-hero-badges img { height: 22px; }
}

/* ---------- click-to-call (replaces the jQuery-UI drag gimmick) ---------- */
.te-call-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--te-navy);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 10px 22px rgba(6, 20, 61, .28);
	transition: transform var(--transition), box-shadow var(--transition);
}
.te-call-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(6, 20, 61, .34); }
.te-call-btn .bi { color: var(--te-cyan); }

/* ---------- testimonials ---------- */
.te-testimonials-sec { padding: var(--space-section) 0; background: var(--te-soft); }

.te-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 34px;
}

.te-testimonial-card {
	display: flex;
	flex-direction: column;
	padding: 26px;
	border: 1px solid var(--te-line);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-1);
}

.te-testimonial-card blockquote {
	margin: 0 0 18px;
	color: var(--te-text);
	font-size: 15px;
	line-height: 1.65;
}

.te-testimonial-card .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }

.te-testimonial-card footer { margin-top: auto; }
.te-testimonial-card cite { display: block; font-style: normal; font-weight: 700; color: var(--te-navy); }
.te-testimonial-card .role { font-size: 13px; color: var(--te-muted); }

@media (max-width: 991px) { .te-testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .te-testimonial-grid { grid-template-columns: 1fr; } }

/* ---------- latest insights (blog) ---------- */
.te-insights-sec { padding: var(--space-section) 0; }

.te-insights-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 34px;
}

.te-insight-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--te-line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow-1);
	transition: transform var(--transition), box-shadow var(--transition);
}

.te-insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }

.te-insight-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--te-soft); }
.te-insight-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.te-insight-card .body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.te-insight-card time { font-size: 12.5px; color: var(--te-muted); margin-bottom: 8px; }

.te-insight-card h3 { font-size: 18px; line-height: 1.4; margin: 0 0 14px; }
.te-insight-card h3 a { color: var(--te-navy); text-decoration: none; }
.te-insight-card h3 a:hover { color: var(--te-blue); }

.te-insight-card .more {
	margin-top: auto;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--te-blue);
	text-decoration: none;
}

@media (max-width: 991px) { .te-insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .te-insights-grid { grid-template-columns: 1fr; } }

/* ---------- section heading pattern ---------- */
.te-sec-head { max-width: 760px; }
.te-sec-head.center { margin-inline: auto; text-align: center; }
.te-sec-head h2 { color: var(--blue); }
.te-sec-head .lead { color: var(--grey2); font-size: var(--fs-500); margin-top: 14px; }

/* ---------- FAQ section: content polish ---------- */
.Faq-sec .card-body { color: var(--te-muted); }

/* ---------- counters: render final value without JS ---------- */
.no-js .counter::after { content: attr(data-target) attr(data-symbol); }
