/* Net Launch Core: front-end components */

.nlc-icon {
	flex-shrink: 0;
	vertical-align: middle;
}

/* ---------- Business info ---------- */

.nlc-biz--contact {
	display: flex;
	flex-direction: column;
	gap: 0.6em;
}

.nlc-biz-line {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.6em;
	color: inherit;
	text-decoration: none;
	line-height: 1.5;
}

.nlc-biz-line .nlc-icon {
	margin-top: 0.15em;
	opacity: 0.85;
}

a.nlc-biz-line:hover span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nlc-hours {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nlc-hours li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 1.5em;
	padding: 0.25em 0;
}

.nlc-hours li span {
	white-space: nowrap;
}

.nlc-hours li.is-today {
	font-weight: 700;
}

.nlc-hours-note {
	margin: 0.6em 0 0;
	font-size: 0.9em;
	opacity: 0.8;
}

.nlc-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nlc-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: inherit;
	border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nlc-socials a:hover {
	background-color: color-mix(in srgb, currentColor 12%, transparent);
	opacity: 1;
}

.nlc-map {
	display: block;
	width: 100%;
	min-height: 260px;
	height: 100%;
	border: 0;
	border-radius: 12px;
}

/* ---------- Top bar ---------- */

.nlc-topbar {
	background: var(--nlc-topbar-bg, #13294b);
	color: var(--nlc-topbar-text, #fff);
	font-size: var(--nlc-topbar-font, 14px);
	line-height: 1.4;
}

.nlc-topbar__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 8px var(--nlc-topbar-gap, 22px);
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin: 0 auto;
	padding: var(--nlc-topbar-pad, 8px) var(--wp--style--root--padding-right, 24px) var(--nlc-topbar-pad, 8px) var(--wp--style--root--padding-left, 24px);
	box-sizing: content-box;
}

.nlc-topbar--no-centre .nlc-topbar__inner {
	grid-template-columns: auto auto;
	justify-content: space-between;
}

.nlc-topbar__zone {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px var(--nlc-topbar-gap, 22px);
	min-width: 0;
}

.nlc-topbar__zone--left {
	justify-self: start;
}

.nlc-topbar__zone--center {
	justify-self: center;
	justify-content: center;
	text-align: center;
}

.nlc-topbar__zone--right {
	justify-self: end;
	justify-content: flex-end;
}

.nlc-tb-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	text-decoration: none;
}

a.nlc-tb-item:hover span {
	text-decoration: underline;
}

a.nlc-topbar__text {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nlc-topbar .nlc-socials {
	gap: 4px;
}

.nlc-topbar .nlc-socials a {
	width: 28px;
	height: 28px;
	border: 0;
}

.nlc-topbar__cta {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.nlc-topbar__cta--button {
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--nlc-topbar-cta, #1f6fe5);
	color: #fff !important;
}

.nlc-topbar__cta--button:hover {
	filter: brightness(1.1);
}

.nlc-topbar__cta--link {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nl-header-transparent:not(.nl-scrolled) .nlc-topbar {
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- Header buttons (mobile header) ---------- */

.nlc-hbtns {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nlc-mbtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	border-radius: var(--nlc-hbtn-radius, 999px);
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	background: var(--wp--preset--color--accent, #1f6fe5);
	color: var(--wp--preset--color--base, #fff) !important;
	border: 2px solid var(--wp--preset--color--accent, #1f6fe5);
}

.nlc-hbtns--sm .nlc-mbtn {
	padding: 6px 10px;
	font-size: 0.8rem;
}

.nlc-hbtns--lg .nlc-mbtn {
	padding: 12px 18px;
	font-size: 1rem;
}

.nlc-mbtn--outline {
	background: transparent;
	color: inherit !important;
	border-color: currentColor;
}

.nlc-mbtn--icon {
	padding: 9px;
}

.nlc-hbtns--sm .nlc-mbtn--icon {
	padding: 6px;
}

.nlc-hbtns--lg .nlc-mbtn--icon {
	padding: 12px;
}

@media (max-width: 380px) {
	.nlc-hbtns .nlc-mbtn:not(.nlc-mbtn--icon) {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 0.8rem;
	}
}

/* ---------- Sticky button bar ---------- */

.nlc-mbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	display: flex;
	color: var(--nlc-mbar-text, #fff);
	font-size: var(--nlc-mbar-font, 13px);
}

.nlc-mbar__item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: var(--nlc-mbar-h, 62px);
	padding: 0 12px;
	color: inherit !important;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: center;
	transition: filter 0.15s ease;
}

.nlc-mbar__item:hover {
	filter: brightness(1.12);
}

.nlc-mbar--inline .nlc-mbar__item {
	flex-direction: row;
	gap: 8px;
}

.nlc-mbar__item.is-highlight {
	background: var(--nlc-mbar-hl, #1f6fe5);
}

/* Full-width bar */
.nlc-mbar--bar {
	background: var(--nlc-mbar-bg, #13294b);
	padding-bottom: env(safe-area-inset-bottom);
	border-top: var(--nlc-mbar-border, 0);
}

.nlc-mbar--bar .nlc-mbar__item + .nlc-mbar__item {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

/* Floating bar */
.nlc-mbar--floating {
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	background: var(--nlc-mbar-bg, #13294b);
	border: var(--nlc-mbar-border, 0);
	border-radius: var(--nlc-mbar-radius, 16px);
	overflow: hidden;
}

.nlc-mbar--floating .nlc-mbar__item + .nlc-mbar__item {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

/* Separate buttons */
.nlc-mbar--buttons {
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	gap: 10px;
	background: transparent;
	pointer-events: none;
}

.nlc-mbar--buttons .nlc-mbar__item {
	pointer-events: auto;
	background: var(--nlc-mbar-btn, #13294b);
	border: var(--nlc-mbar-border, 0);
	border-radius: var(--nlc-mbar-radius, 16px);
}

.nlc-mbar--buttons .nlc-mbar__item.is-highlight {
	background: var(--nlc-mbar-hl, #1f6fe5);
}

.nlc-mbar.has-shadow:not(.nlc-mbar--buttons),
.nlc-mbar--buttons.has-shadow .nlc-mbar__item {
	box-shadow: 0 8px 28px rgba(11, 16, 34, 0.22);
}

.nlc-mbar.has-blur:not(.nlc-mbar--buttons),
.nlc-mbar--buttons.has-blur .nlc-mbar__item {
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	backdrop-filter: blur(14px) saturate(1.4);
}

/* Larger screens: position the floating styles */
@media (min-width: 700px) {
	.nlc-mbar--floating.nlc-mbar--align-center,
	.nlc-mbar--buttons.nlc-mbar--align-center {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		min-width: 360px;
		max-width: calc(100vw - 40px);
	}

	.nlc-mbar--floating.nlc-mbar--align-right,
	.nlc-mbar--buttons.nlc-mbar--align-right {
		left: auto;
		right: 20px;
	}

	.nlc-mbar--floating.nlc-mbar--align-left,
	.nlc-mbar--buttons.nlc-mbar--align-left {
		right: auto;
		left: 20px;
	}

	.nlc-mbar--floating:not(.nlc-mbar--align-stretch) .nlc-mbar__item,
	.nlc-mbar--buttons:not(.nlc-mbar--align-stretch) .nlc-mbar__item {
		flex: 0 0 auto;
		min-width: 130px;
		padding: 0 22px;
	}
}

/* ---------- WhatsApp button ---------- */

.nlc-wa {
	position: fixed;
	right: 20px;
	bottom: calc(20px + var(--nlc-mbar-space, 0px) + env(safe-area-inset-bottom));
	z-index: 9991;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border-radius: 999px;
	background: var(--nlc-wa, #25d366);
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nlc-wa:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.nlc-wa--tab:hover {
	transform: none;
	filter: brightness(1.06);
}

.nlc-wa__label {
	padding-right: 8px;
}

/* Hide floating buttons while the mobile menu is open */
html.has-modal-open .nlc-mbar,
html.has-modal-open .nlc-wa {
	display: none !important;
}

/* ---------- Screen-reader helper ---------- */

.nlc-wrap-sr,
.nlc-mbtn .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.nlc-wa {
		transition: none;
	}
}

/* ---------- Footer: call to action band ---------- */

.nlc-fcta {
	background: var(--nlc-fcta-bg, var(--wp--preset--color--accent, #1f6fe5));
	color: var(--nlc-fcta-text, #fff);
	padding: var(--nlc-fcta-pad, 64px) var(--wp--style--root--padding-right, 24px) var(--nlc-fcta-pad, 64px) var(--wp--style--root--padding-left, 24px);
}

.nlc-fcta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin: 0 auto;
	text-align: center;
}

.nlc-fcta__heading {
	margin: 0;
	color: inherit;
}

.nlc-fcta__copy {
	margin: 10px auto 0;
	max-width: 60ch;
	opacity: 0.92;
}

.nlc-fcta__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.nlc-fcta__btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 26px;
	border-radius: var(--nlc-hbtn-radius, 999px);
	background: var(--nlc-fcta-btn, #fff);
	color: var(--nlc-fcta-btn-text, var(--wp--preset--color--contrast, #13294b)) !important;
	border: 2px solid var(--nlc-fcta-btn, #fff);
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.nlc-fcta__btn:hover {
	transform: translateY(-1px);
	filter: brightness(0.96);
}

.nlc-fcta__btn--alt {
	background: transparent;
	color: inherit !important;
	border-color: currentColor;
}

@media (min-width: 782px) {
	.nlc-fcta--split .nlc-fcta__inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}

	.nlc-fcta--split .nlc-fcta__copy {
		margin-left: 0;
	}

	.nlc-fcta--split .nlc-fcta__btns {
		flex-shrink: 0;
		justify-content: flex-end;
	}
}

/* ---------- Footer: social icon positions ---------- */

.nl-fsocial-row {
	display: flex;
	flex-direction: column;
}

.nl-fsocial--bottom .nlc-socials {
	flex-wrap: nowrap;
}

/* ---------- Privacy policy ---------- */

.nlc-privacy {
	max-width: 78ch;
}

.nlc-privacy h2 {
	margin-top: 2em;
	font-size: 1.35em;
}

.nlc-privacy ul {
	padding-left: 1.2em;
}

.nlc-privacy li + li {
	margin-top: 0.4em;
}

.nlc-privacy__updated {
	opacity: 0.75;
}

.nl-footer-links {
	margin-left: 1.2em;
}

/* ---------- Icon element ---------- */

.nlc-icon-block {
	display: flex;
}

.nlc-icon-block.aligncenter {
	justify-content: center;
}

.nlc-icon-block.alignright {
	justify-content: flex-end;
}

.nlc-icon-block__shape {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--wp--preset--color--accent, #1f6fe5);
	background: color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 50%;
	text-decoration: none;
}

.nlc-icon-block--square .nlc-icon-block__shape {
	border-radius: 22%;
}

.nlc-icon-block--plain .nlc-icon-block__shape {
	background: none;
}

a.nlc-icon-block__shape:hover {
	filter: brightness(0.92);
}
