/* ==========================================================================
   KIB Terapi - Landing Page (Google Ads)
   ========================================================================== */

/* ---------- Header: hide nav, keep logo ---------- */

/* Hide main navigation, menu toggle, secondary header, search, buttons */
.kib-landing-page #header-outer nav#nav,
.kib-landing-page #header-outer .slide-out-widget-area-toggle,
.kib-landing-page #header-secondary-outer,
.kib-landing-page #header-outer .nectar-header-search,
.kib-landing-page #header-outer .buttons,
.kib-landing-page #header-outer .nectar-mobile-only.mobile-header,
.kib-landing-page #header-outer .mobile-search,
.kib-landing-page #header-outer .secondary-header-text,
.kib-landing-page #header-outer #mobile-menu {
	display: none !important;
}

/* Injected CTA in header */
.kib-landing-header-cta {
	display: flex;
	align-items: center;
	gap: 16px;
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
}

.kib-header-phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #333;
	text-decoration: none !important;
	font-weight: 500;
	font-size: 15px;
	white-space: nowrap;
}

.kib-header-phone:hover {
	color: #000;
}

.kib-header-phone svg {
	flex-shrink: 0;
}

.kib-header-book {
	display: inline-block;
	padding: 10px 24px;
	background: var(--nectar-accent-color, #4caf50);
	color: #fff !important;
	border-radius: 4px;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.kib-header-book:hover {
	opacity: 0.85;
}

/* ---------- Content: bullet lists ---------- */

.kib-landing-page .wpb_text_column ul {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	list-style: none !important;
	padding-left: 0 !important;
}

.kib-landing-page .wpb_text_column ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	list-style: none !important;
}

.kib-landing-page .wpb_text_column ul li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--nectar-accent-color, #4caf50);
	font-weight: 700;
}

/* ---------- Content: section headings ---------- */

.kib-landing-page h2 {
	margin-bottom: 16px;
}

/* ---------- Content: booking iframe ---------- */

.kib-booking-iframe-wrap {
	margin-top: 20px;
}

/* ---------- Footer: use Salient footer, keep it minimal ---------- */

/* Hide extra footer widgets, keep bottom bar */
.kib-landing-page #footer-outer .widget-area,
.kib-landing-page #footer-outer #footer-widgets,
.kib-landing-page #footer-outer .nectar-social {
	display: none !important;
}

/* ---------- Sticky mobile CTA bar ---------- */

.kib-sticky-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	background: #fff;
	box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
	padding: 10px 16px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	gap: 10px;
}

.kib-sticky-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
	text-align: center;
	white-space: nowrap;
}

.kib-sticky-book {
	background: var(--nectar-accent-color, #4caf50);
	color: #fff !important;
}

.kib-sticky-call {
	background: #333;
	color: #fff !important;
}

.kib-sticky-btn:hover {
	opacity: 0.85;
}

@media (max-width: 999px) {
	/* Prevent horizontal overflow (matches Salient base behavior) */
	html,
	body.kib-landing-page {
		overflow-x: hidden !important;
	}

	/* Hide Salient off-canvas menu panel */
	.kib-landing-page #slide-out-widget-area,
	.kib-landing-page #slide-out-widget-area-bg {
		display: none !important;
	}

	/* Show sticky bar */
	.kib-sticky-cta {
		display: flex;
		box-sizing: border-box;
	}

	/* Add bottom padding so sticky bar doesn't overlap content */
	.kib-landing-page #footer-outer {
		padding-bottom: 80px;
	}

	/* Hide header CTA on mobile - sticky bar handles it */
	.kib-landing-header-cta {
		display: none !important;
	}

	/* Force inline CTA buttons to stack and center */
	.kib-landing-page .nectar-button.large {
		display: block !important;
		margin: 0 auto 12px !important;
		width: fit-content;
		max-width: 85%;
	}

	/* Hero heading sizing */
	.kib-landing-page h1 {
		font-size: 7.5vw;
	}

	/* Keep bullet lists left-aligned on mobile despite centered columns */
	.kib-landing-page .wpb_text_column ul {
		text-align: left;
	}

	/* Larger touch targets on sticky bar */
	.kib-sticky-btn {
		padding: 14px 16px;
		font-size: 16px;
	}

	/* Reduce iframe height on mobile */
	.kib-booking-iframe-wrap iframe {
		height: 600px !important;
	}
}
