/* YourVisory Leads — sits on top of the yourvisory theme; uses its --primary / --secondary tokens. */

:root {
	--yvl-wa: #0f7a43;        /* WhatsApp green, darkened for AA contrast with white text */
	--yvl-wa-hover: #0b6236;
	--yvl-navy: var(--secondary, #113651);
	--yvl-teal: var(--primary, #1E858E);
	--yvl-radius: 10px;
	--yvl-shadow: 0 10px 30px rgba(17, 54, 81, 0.12);
}

/* ---------- Buttons ---------- */

.yvl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.8rem 1.4rem;
	border-radius: var(--yvl-radius);
	border: 2px solid transparent;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.yvl-btn svg { width: 1.25em; height: 1.25em; flex: none; }
.yvl-btn:focus-visible { outline: 3px solid #00d3e5; outline-offset: 3px; }

.yvl-btn--whatsapp { background: var(--yvl-wa); color: #fff !important; }
.yvl-btn--whatsapp:hover { background: var(--yvl-wa-hover); color: #fff; transform: translateY(-1px); }

.yvl-btn--call { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.85); }
.yvl-btn--call:hover { background: #fff; color: var(--yvl-navy) !important; }

/* ---------- Hero ---------- */

/* The theme animates background-size between 100% and 110% on both axes, which stretches the photo. */
.yvl-on .yv-hero {
	animation: none;
	background-size: cover !important;
}
.yvl-on .yv-hero::before {
	background: linear-gradient(90deg, rgba(10, 34, 52, 0.9) 0%, rgba(17, 54, 81, 0.78) 50%, rgba(17, 54, 81, 0.45) 100%);
}
.yvl-on .yv-hero .hero-title {
	font-weight: 600;
	font-size: clamp(2.1rem, 4.4vw, 3.4rem);
	letter-spacing: -0.02em;
	margin-bottom: 1.1rem;
}
/* Theme nests <p> inside p.hero-sub, so the browser moves the text out of it; style the column's paragraphs directly. */
.yvl-on .yv-hero .row > div > p {
	max-width: 58ch;
	font-size: clamp(1rem, 1.2vw, 1.12rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
	text-align: left !important;
	margin-bottom: 0.9rem;
}
.yvl-on .yv-hero .row > div > p.hero-sub:empty { display: none; }
/* "Welcome To The Yourvisory!" — an eyebrow label rather than underlined text. */
.yvl-on .yv-hero .row > div > p:has(> u) {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7fe3ec;
	margin-bottom: 0.6rem;
}
.yvl-on .yv-hero p u { text-decoration: none; }

.yvl-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.6rem;
}
@media (max-width: 575.98px) {
	.yvl-on .yv-hero { padding: 2.75rem 0 2.25rem; }
	.yvl-hero-cta .yvl-btn { flex: 1 1 100%; }
}

/* ---------- Trust strip ---------- */

.yvl-trust {
	background: var(--yvl-navy);
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.yvl-trust ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 1.4rem 0;
	list-style: none;
}
.yvl-trust li { display: flex; flex-direction: column; gap: 0.15rem; padding-left: 1rem; border-left: 3px solid var(--yvl-teal); }
.yvl-trust strong { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.1; }
.yvl-trust span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }

/* ---------- Header button ---------- */

.yvl-btn--nav { min-height: 42px; padding: 0.55rem 1rem; font-size: 0.95rem; margin-left: 1rem; }
@media (max-width: 991.98px) { .yvl-btn--nav { display: none; } }

/* ---------- Mobile sticky bar / desktop floating button ---------- */

.yvl-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1040;
	display: flex;
	gap: 0.5rem;
	padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -6px 24px rgba(17, 54, 81, 0.16);
}
.yvl-bar .yvl-btn { flex: 1; padding: 0.7rem 0.5rem; }
.yvl-bar .yvl-btn--call { color: var(--yvl-navy) !important; border-color: var(--yvl-navy); }
.yvl-bar .yvl-num { display: none; }
@media (max-width: 991.98px) {
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (min-width: 992px) { .yvl-bar { display: none; } }

.yvl-fab {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1040;
	display: none;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--yvl-wa);
	color: #fff !important;
	box-shadow: 0 10px 28px rgba(15, 122, 67, 0.35);
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background-color 0.2s ease;
}
.yvl-fab svg { width: 30px; height: 30px; }
.yvl-fab:hover { background: var(--yvl-wa-hover); transform: scale(1.06); }
@media (min-width: 992px) { .yvl-fab { display: inline-flex; } }

/* ---------- General polish ---------- */

.yvl-on .service-card {
	border-radius: 14px;
	box-shadow: var(--yvl-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.yvl-on .service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(17, 54, 81, 0.18); }

@media (prefers-reduced-motion: reduce) {
	.yvl-btn, .yvl-fab, .yvl-on .service-card { transition: none; }
	.yvl-btn:hover, .yvl-fab:hover, .yvl-on .service-card:hover { transform: none; }
}
