/*
 * Landing page — geometry, colours and type measured from the reference funnel
 * (see docs/REFERENCE_SPEC.md). Breakpoints: ≤767 mobile, 768–1024 tablet, ≥1025 desktop.
 */
:root {
	--wf-teal: #00736c;
	--wf-ice: #f3fcff;
	--wf-ink: #001620;
	--wf-orange: #ff7400;
	--wf-yellow: #ffde59;
	--wf-yellow-30: rgba(255, 222, 89, 0.302);
	--wf-neon: #f1ff00;
	--wf-gap: 20px;
	--wf-font-display: "Hind Siliguri", sans-serif;
	--wf-font-body: "Anek Bangla", sans-serif;
}

html { scroll-behavior: smooth; }
body.wf-funnel-canvas { margin: 0; background: #fff; overflow-x: hidden; }
.wf-landing, .wf-landing * { box-sizing: border-box; }
:where(.wf-landing) :where(h1, h2, h3, p, figure) { padding: 0; }
.wf-landing :is(h1, h2, h3, p, figure) { margin: 0; }
.wf-landing img { max-width: 100%; height: auto; display: block; }

.wf-page {
	background-image: linear-gradient(180deg, var(--wf-ice) 0%, var(--wf-yellow-30) 100%);
	padding: 10px;
	min-height: 100vh;
}
.wf-inner {
	max-width: 1003px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--wf-gap);
}

/* --- shared pieces ------------------------------------------------------- */
.wf-banner {
	background: var(--wf-teal);
	color: var(--wf-ice);
	font-family: var(--wf-font-display);
	font-weight: 700;
	font-size: 35px;
	line-height: 1;
	text-align: center;
	border-radius: 22px;
	padding: 15px 28px 12px;
	width: 100%;
}
.wf-banner-dark {
	background-color: transparent;
	background-image: radial-gradient(at top center, var(--wf-teal) 6%, var(--wf-ink) 100%);
	border: 2px solid var(--wf-neon);
	border-radius: 10px;
	color: #fff;
	font-family: var(--wf-font-display);
	font-weight: 700;
	text-align: center;
	padding: 23px 20px 18px;
	line-height: 1;
}
.wf-btn-row { display: flex; justify-content: center; }
.wf-landing .wf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var(--wf-teal);
	color: var(--wf-ice);
	font-family: var(--wf-font-display);
	font-weight: 600;
	font-size: 26px;
	line-height: 1;
	padding: 15px 18px;
	border-radius: 9px;
	text-decoration: none;
	transition: transform 0.3s;
	text-align: center;
}
.wf-landing .wf-btn:hover, .wf-landing .wf-btn:focus-visible { transform: scale(1.1); color: var(--wf-ice); }
.wf-landing .wf-btn:focus-visible { outline: 3px solid var(--wf-orange); outline-offset: 3px; }
.wf-btn-icon { width: 0.875em; height: 1em; flex: 0 0 auto; }

/* --- carousels ----------------------------------------------------------- */
.wf-carousel { width: 99%; align-self: center; margin-top: 5px; }
.wf-carousel .swiper { position: relative; }
.wf-carousel .swiper-slide { height: auto; }
.wf-slide-inner { display: flex; justify-content: center; padding-bottom: 7px; }
.wf-carousel .wf-slide-image {
	width: 100%;
	height: auto;
	border: 2px solid #000;
	border-radius: 18px;
	object-fit: cover;
}
.wf-swiper-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	width: 25px;
	height: 25px;
	color: var(--wf-ice);
	cursor: pointer;
	line-height: 1;
}
.wf-swiper-btn svg { width: 25px; height: 25px; fill: currentColor; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.45)); }
.wf-swiper-prev { left: 10px; }
.wf-swiper-next { right: 10px; }
.wf-swiper-btn.swiper-button-disabled { opacity: 0.35; cursor: default; }
.wf-swiper-btn:focus-visible { outline: 2px solid var(--wf-orange); border-radius: 4px; }

/* --- hero ---------------------------------------------------------------- */
.wf-hero { display: flex; flex-direction: column; gap: var(--wf-gap); align-items: center; }
.wf-hero-caption {
	font-family: var(--wf-font-body);
	font-weight: 600;
	font-size: 26px;
	line-height: 34px;
	color: var(--wf-ink);
	text-align: center;
	width: 100%;
}

/* --- showcase cards ------------------------------------------------------ */
.wf-showcase { display: flex; gap: var(--wf-gap); align-items: stretch; }
.wf-card {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 16px;
	border-radius: 16px;
	background: var(--wf-ice);
	box-shadow: 1px 3px 10px -2px rgba(0, 0, 0, 0.5);
}
.wf-card .wf-card-image { width: 100%; border-radius: 14px; }
.wf-card-title {
	font-family: var(--wf-font-body);
	font-weight: 600;
	font-size: 19px;
	line-height: 19px;
	color: var(--wf-ink);
	text-align: center;
}

/* --- testimonials -------------------------------------------------------- */
.wf-testimonials { display: flex; flex-direction: column; gap: var(--wf-gap); }

/* --- offer + checkout ---------------------------------------------------- */
.wf-offer { display: flex; flex-direction: column; gap: var(--wf-gap); padding: 18px; }
.wf-offer-heading {
	font-family: var(--wf-font-display);
	font-weight: 700;
	font-size: 46px;
	line-height: 1;
	color: var(--wf-orange);
	text-align: center;
	padding-top: 20px !important;
}
.wf-call {
	font-family: var(--wf-font-display);
	font-weight: 600;
	font-size: 28px;
	line-height: 1;
	color: var(--wf-ink);
	text-align: center;
}
.wf-call a { color: inherit; text-decoration: none; }
.wf-call-number { color: var(--wf-teal); white-space: nowrap; }
.wf-checkout-heading { font-size: 32px; }
.wf-checkout-box {
	width: 80%;
	align-self: center;
	background: var(--wf-ice);
	border: 2px solid var(--wf-teal);
	border-top-width: 8px;
	border-radius: 20px;
	padding: 26px;
	scroll-margin-top: 10px;
}
.wf-checkout-box:focus { outline: none; }
.wf-footer { font-size: 26px; }
.wf-landing .wf-footer-text { font: inherit; margin: 0; }

/* --- tablet -------------------------------------------------------------- */
@media (max-width: 1024px) {
	.wf-card-title { line-height: 1; }
	.wf-card .wf-btn { padding-left: 22px; padding-right: 22px; }
}

/* --- mobile -------------------------------------------------------------- */
@media (max-width: 767px) {
	.wf-hero { gap: 11px; }
	.wf-banner-hero { font-size: 24px; line-height: 2em; padding: 0; border-radius: 8px; }
	.wf-carousel { width: 94%; margin-top: 14px; }
	.wf-swiper-btn, .wf-swiper-btn svg { width: 22px; height: 22px; }
	.wf-landing .wf-hero-caption { font-size: 16px; line-height: 1.5em; margin-bottom: -9px; margin-top: 9px; }
	.wf-landing .wf-btn { font-size: 24px; border-radius: 10px; }
	.wf-showcase { flex-direction: column; }
	.wf-landing .wf-card-title { font-size: 16px; line-height: 1.5em; margin-bottom: -9px; }
	.wf-banner-reviews { font-size: 25px; line-height: 1.1em; padding: 9px; border-radius: 8px; }
	.wf-offer { padding: 0; }
	.wf-offer-heading { font-size: 28px; padding-top: 0 !important; }
	.wf-call { font-size: 29px; line-height: 1.4em; }
	.wf-landing .wf-checkout-heading { font-size: 23px; line-height: 1.2em; margin-top: 10px; padding: 20px 10px; }
	.wf-checkout-box { width: 95%; padding: 9px; }
	.wf-landing .wf-footer { font-size: 16px; line-height: 1.2em; margin-top: 10px; padding: 20px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.wf-landing .wf-btn { transition: none; }
	.wf-landing .wf-btn:hover { transform: none; }
}

/* consent banner (tracking.js) */
.wf-consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9999; background: var(--wf-ink); color: #fff; border-radius: 10px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; font-family: var(--wf-font-body); font-size: 14px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
.wf-consent p { margin: 0; }
.wf-consent button { background: var(--wf-teal); color: #fff; border: 0; border-radius: 6px; padding: 8px 12px; margin-left: 6px; cursor: pointer; font: inherit; }
.wf-consent button[data-v="denied"] { background: transparent; border: 1px solid #fff; }
