/* bzsc-css-build: 1.8.2 — si no ves esta línea en el archivo cargado, el navegador o la caché está sirviendo una versión antigua. */
/**
 * Bayzell Service Cards — front-end.
 *
 * Every colour and size is a custom property set inline per grid and per card,
 * so one stylesheet serves any number of colour schemes without extra CSS.
 */

.bzsc-grid {
	--bzsc-cols: 4;
	--bzsc-cols-md: 2;
	--bzsc-cols-sm: 1;
	--bzsc-gap: 24px;
	--bzsc-min: 220px;
	--bzsc-radius: 12px;
	--bzsc-panel-radius: 12px;
	/* Gap between card and panel, and how long the panel waits before closing
	   once the pointer leaves. The wait is what makes the button reachable. */
	--bzsc-panel-offset: 8px;
	--bzsc-close-delay: 400ms;
	/* Raise this if a theme element still covers the open panel. */
	--bzsc-stack: 50;
	--bzsc-font: inherit;

	/* Card fallbacks live here, not on .bzsc-item-wrap: a value declared on the
	   wrapper would shadow anything a page builder sets on the grid. Per-card
	   inline styles still win, which is the intended order. */
	--bzsc-accent: #0a98d9;
	--bzsc-hover: #10ad37;
	--bzsc-card-bg: #ffffff;
	--bzsc-text: #57564f;
	--bzsc-panel-bg: #ffffff;
	--bzsc-head-bg: #10ad37;
	--bzsc-head-text: #ffffff;
	--bzsc-row-bg: #f8fafc;
	--bzsc-icon-size: 120px;

	--bzsc-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
	--bzsc-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
	--bzsc-shadow-panel: 0 10px 30px rgba(0, 0, 0, 0.15);

	display: grid;
	grid-template-columns: repeat(var(--bzsc-cols), minmax(0, 1fr));
	gap: var(--bzsc-gap);
	align-items: start;
	font-family: var(--bzsc-font);
	margin: 0 0 var(--bzsc-gap);
	overflow: visible;
}

.bzsc-grid--auto {
	grid-template-columns: repeat(auto-fit, minmax(min(var(--bzsc-min), 100%), 1fr));
}

.bzsc-grid--center {
	justify-content: center;
}

.bzsc-grid--center .bzsc-item-wrap {
	max-width: 320px;
	margin-inline: auto;
	width: 100%;
}

@media (max-width: 1024px) {
	.bzsc-grid:not(.bzsc-grid--auto) {
		grid-template-columns: repeat(var(--bzsc-cols-md), minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.bzsc-grid:not(.bzsc-grid--auto) {
		grid-template-columns: repeat(var(--bzsc-cols-sm), minmax(0, 1fr));
	}
}

/* --- Card ------------------------------------------------------------- */

/*
 * No z-index here on purpose. Any z-index on a positioned element creates a
 * stacking context, and everything inside is then confined to it: the panel's
 * own z-index can only order it against its siblings, never lift it out. With
 * z-index:1 on every wrapper, a second-row wrapper — later in the DOM, same
 * level — painted over the whole first-row wrapper, panel included.
 *
 * Left as `auto`, the wrapper creates no context, so the panel's z-index
 * competes directly against the other cards and wins.
 */
.bzsc-item-wrap {
	position: relative;
}

.bzsc-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 20px 16px;
	border: 0;
	border-radius: var(--bzsc-radius);
	background: var(--bzsc-card-bg);
	box-shadow: var(--bzsc-shadow);
	color: var(--bzsc-text);
	font: inherit;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bzsc-item-wrap--static .bzsc-card:not(a) {
	cursor: default;
}

.bzsc-card:focus-visible {
	outline: 3px solid var(--bzsc-hover);
	outline-offset: 3px;
}

.bzsc-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--bzsc-icon-size);
	height: var(--bzsc-icon-size);
	max-width: 100%;
	margin-bottom: 16px;
	color: var(--bzsc-accent);
	transition: color 0.3s ease;
}

.bzsc-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.bzsc-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--bzsc-accent);
	font-size: clamp(1rem, 0.9rem + 0.4vw, 1.375rem);
	font-weight: 600;
	line-height: 1.25;
	transition: color 0.3s ease;
}

.bzsc-subtitle {
	margin-top: 8px;
	color: var(--bzsc-text);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.45;
}

.bzsc-arrow {
	display: inline-flex;
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	opacity: 0.65;
	transition: transform 0.3s ease;
}

.bzsc-arrow svg {
	width: 100%;
	height: 100%;
}

/* --- Panel ------------------------------------------------------------ */

.bzsc-panel {
	background: var(--bzsc-panel-bg);
	border-radius: var(--bzsc-panel-radius);
	box-shadow: var(--bzsc-shadow-panel);
	overflow: hidden;
	text-align: left;
}

.bzsc-panel--float .bzsc-panel {
	position: absolute;
	top: calc(100% + var(--bzsc-panel-offset, 8px));
	left: 0;
	width: 100%;
	/* Match the card. The minimum only kicks in for narrow columns, where a
	   panel the width of the card would be unreadable. */
	min-width: min(240px, 88vw);
	max-width: 88vw;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
	transition-delay: var(--bzsc-close-delay, 400ms);
	z-index: var(--bzsc-stack, 50);
}

.bzsc-panel--float .bzsc-panel.bzsc-panel-right {
	left: auto;
	right: 0;
}

.bzsc-panel--float .bzsc-panel.bzsc-panel-up {
	top: auto;
	bottom: calc(100% + var(--bzsc-panel-offset, 8px));
	transform: translateY(10px);
}

.bzsc-panel--inline .bzsc-panel {
	max-height: 0;
	margin-top: 0;
	opacity: 0;
	transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
	transition-delay: var(--bzsc-close-delay, 400ms);
}

/* Open states */
.bzsc-panel--float .bzsc-item-wrap.is-open > .bzsc-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}

.bzsc-panel--inline .bzsc-item-wrap.is-open > .bzsc-panel {
	max-height: 720px;
	margin-top: var(--bzsc-panel-offset, 8px);
	opacity: 1;
	transition-delay: 0s;
}

.bzsc-panel--float .bzsc-item-wrap:focus-within > .bzsc-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}

.bzsc-item-wrap.is-open .bzsc-card,
.bzsc-item-wrap:focus-within .bzsc-card {
	transform: translateY(-2px);
	box-shadow: var(--bzsc-shadow-hover);
}

.bzsc-item-wrap.is-open .bzsc-title,
.bzsc-item-wrap:focus-within .bzsc-title {
	color: var(--bzsc-hover);
}

.bzsc-item-wrap.is-open .bzsc-icon,
.bzsc-item-wrap:focus-within .bzsc-icon {
	color: var(--bzsc-hover);
}

.bzsc-item-wrap.is-open .bzsc-arrow {
	transform: rotate(180deg);
}

/* Hover only where hovering is real. */
@media (hover: hover) and (pointer: fine) {
	.bzsc-grid[data-trigger="hover"] .bzsc-item-wrap:hover .bzsc-card,
	.bzsc-grid[data-trigger="auto"] .bzsc-item-wrap:hover .bzsc-card {
		transform: translateY(-2px);
		box-shadow: var(--bzsc-shadow-hover);
	}

	.bzsc-grid[data-trigger="hover"] .bzsc-item-wrap:hover .bzsc-title,
	.bzsc-grid[data-trigger="auto"] .bzsc-item-wrap:hover .bzsc-title,
	.bzsc-grid[data-trigger="hover"] .bzsc-item-wrap:hover .bzsc-icon,
	.bzsc-grid[data-trigger="auto"] .bzsc-item-wrap:hover .bzsc-icon {
		color: var(--bzsc-hover);
	}

	.bzsc-grid[data-trigger="hover"] .bzsc-item-wrap:hover .bzsc-arrow,
	.bzsc-grid[data-trigger="auto"] .bzsc-item-wrap:hover .bzsc-arrow {
		transform: rotate(180deg);
	}

	.bzsc-grid[data-trigger="hover"].bzsc-panel--float .bzsc-item-wrap:hover > .bzsc-panel,
	.bzsc-grid[data-trigger="auto"].bzsc-panel--float .bzsc-item-wrap:hover > .bzsc-panel {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition-delay: 0s;
	}

	.bzsc-grid[data-trigger="hover"].bzsc-panel--inline .bzsc-item-wrap:hover > .bzsc-panel,
	.bzsc-grid[data-trigger="auto"].bzsc-panel--inline .bzsc-item-wrap:hover > .bzsc-panel {
		max-height: 720px;
		margin-top: var(--bzsc-panel-offset, 8px);
		opacity: 1;
		transition-delay: 0s;
	}
}

/* Always-open variant. */
.bzsc-grid[data-trigger="open"].bzsc-panel--float .bzsc-panel {
	position: static;
	margin-top: 8px;
	opacity: 1;
	visibility: visible;
	transform: none;
	max-width: none;
	min-width: 0;
}

.bzsc-grid[data-trigger="open"].bzsc-panel--inline .bzsc-panel {
	max-height: none;
	margin-top: 8px;
	opacity: 1;
}

.bzsc-grid[data-trigger="open"] .bzsc-arrow {
	display: none;
}

/* --- Panel content ---------------------------------------------------- */

.bzsc-panel-head {
	padding: 14px 20px;
	background: var(--bzsc-head-bg);
}

.bzsc-panel-title {
	display: block;
	color: var(--bzsc-head-text);
	font-size: 1.0625rem;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
}

.bzsc-panel-body {
	margin: 0;
	padding: 16px;
	list-style: none;
	display: grid;
	gap: 10px;
}

.bzsc-panel-body li {
	margin: 0;
}

.bzsc-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: var(--bzsc-row-bg);
	border-radius: 8px;
	transition: background-color 0.2s ease;
}

.bzsc-item-icon {
	display: flex;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--bzsc-accent);
}

.bzsc-item-icon svg {
	width: 100%;
	height: 100%;
}

.bzsc-item-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bzsc-item-label {
	color: var(--bzsc-text);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	opacity: 0.85;
}

.bzsc-item-value {
	color: #334155;
	font-size: 0.875rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.bzsc-panel-foot {
	display: flex;
	/* Centring through the parent works everywhere. `place-self: anchor-center`
	   is CSS anchor positioning: Chrome 125+ only, no Safari or Firefox yet. */
	justify-content: var(--bzsc-cta-align, center);
	padding: 2px 16px 16px;
}

.bzsc-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: var(--bzsc-cta-width, auto);
	max-width: 100%;
	padding: var(--bzsc-cta-pad-y, 9px) var(--bzsc-cta-pad-x, 22px);
	background: var(--bzsc-cta-bg, var(--bzsc-hover));
	border: var(--bzsc-cta-border-width, 0) solid var(--bzsc-cta-border, transparent);
	border-radius: var(--bzsc-cta-radius, 999px);
	color: var(--bzsc-cta-text, #fff);
	font-size: var(--bzsc-cta-font-size, 1rem);
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bzsc-cta:hover,
.bzsc-cta:focus {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
	background: var(--bzsc-cta-bg-hover, var(--bzsc-cta-bg, var(--bzsc-hover)));
	border-color: var(--bzsc-cta-border-hover, var(--bzsc-cta-border, transparent));
	color: var(--bzsc-cta-text-hover, var(--bzsc-cta-text, #fff));
	/* Without explicit hover colours this slight darkening is the feedback.
	   The renderer sets the variable to none once real hover colours exist. */
	filter: var(--bzsc-cta-filter, brightness(0.92));
}

.bzsc-empty {
	padding: 12px 16px;
	border-left: 4px solid #d63638;
	background: #fcf0f1;
	font-size: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
	.bzsc-card,
	.bzsc-panel,
	.bzsc-arrow,
	.bzsc-icon,
	.bzsc-title {
		transition-duration: 0.01ms !important;
	}
}

/* --- Page builder mode ------------------------------------------------ */

/*
 * Elementor writes --bzsc-cols inside its own media queries, using whatever
 * breakpoints the site has configured. These rules come last so the plugin's
 * 1024/600 breakpoints step aside and let the builder drive the column count.
 */
.bzsc-grid--elementor:not(.bzsc-grid--auto) {
	grid-template-columns: repeat(var(--bzsc-cols), minmax(0, 1fr));
}

/* Elementor's editor renders widgets inside an iframe where the pointer is
   fine but the panel is out of reach; keep panels reachable by click there. */
.elementor-editor-active .bzsc-grid[data-trigger="hover"] .bzsc-item-wrap.is-open > .bzsc-panel,
.elementor-editor-active .bzsc-grid[data-trigger="auto"] .bzsc-item-wrap.is-open > .bzsc-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* --- Theme button reset ------------------------------------------------ */

/*
 * The card trigger is a <button>, and most themes plus Elementor's global
 * button styles paint every button on the site with the brand colour. Those
 * rules are more specific than a bare `.bzsc-card`, so the card ends up filled
 * with the theme accent. These selectors sit above the usual theme specificity
 * while staying below Elementor's per-widget output. The !important flags are
 * safe here because every value reads a custom property: a theme rule cannot
 * win, but setting --bzsc-card-bg from anywhere still changes the colour.
 */
html body .bzsc-grid .bzsc-item-wrap button.bzsc-card,
html body .bzsc-grid .bzsc-item-wrap a.bzsc-card {
	appearance: none;
	-webkit-appearance: none;
	background: var(--bzsc-card-bg) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: var(--bzsc-radius);
	color: var(--bzsc-text) !important;
	font: inherit;
	letter-spacing: normal;
	line-height: 1.4;
	min-height: 0;
	min-width: 0;
	text-shadow: none;
	text-transform: none;
	width: 100%;
}

html body .bzsc-grid .bzsc-item-wrap button.bzsc-card:hover,
html body .bzsc-grid .bzsc-item-wrap button.bzsc-card:focus,
html body .bzsc-grid .bzsc-item-wrap button.bzsc-card:active,
html body .bzsc-grid .bzsc-item-wrap a.bzsc-card:hover,
html body .bzsc-grid .bzsc-item-wrap a.bzsc-card:focus,
html body .bzsc-grid .bzsc-item-wrap a.bzsc-card:active {
	background: var(--bzsc-card-bg) !important;
	background-image: none !important;
	border: 0 !important;
	color: var(--bzsc-text) !important;
	text-decoration: none !important;
}

html body .bzsc-grid .bzsc-item-wrap .bzsc-card .bzsc-title {
	color: var(--bzsc-accent) !important;
}

html body .bzsc-grid .bzsc-item-wrap:hover .bzsc-card .bzsc-title,
html body .bzsc-grid .bzsc-item-wrap.is-open .bzsc-card .bzsc-title,
html body .bzsc-grid .bzsc-item-wrap:focus-within .bzsc-card .bzsc-title {
	color: var(--bzsc-hover) !important;
}

/* Some themes force a background on list items inside content areas. */
.bzsc-grid .bzsc-panel-body,
.bzsc-grid .bzsc-panel-body li {
	background: none !important;
	list-style: none;
	text-indent: 0;
}

.bzsc-grid .bzsc-panel-body li::before,
.bzsc-grid .bzsc-panel-body li::marker {
	content: none;
}
/* Themes style links inside content aggressively; the button is an <a>. Same
   reasoning as the card reset: every value reads a variable, so !important
   locks out the theme without taking any control away. */
html body .bzsc-grid .bzsc-panel-foot a.bzsc-cta {
	width: var(--bzsc-cta-width, auto);
	padding: var(--bzsc-cta-pad-y, 9px) var(--bzsc-cta-pad-x, 22px);
	font-size: var(--bzsc-cta-font-size, 1rem);
	line-height: 1.35;
	background: var(--bzsc-cta-bg, var(--bzsc-hover)) !important;
	border-color: var(--bzsc-cta-border, transparent) !important;
	color: var(--bzsc-cta-text, #fff) !important;
	text-decoration: none !important;
}

html body .bzsc-grid .bzsc-panel-foot a.bzsc-cta:hover,
html body .bzsc-grid .bzsc-panel-foot a.bzsc-cta:focus {
	background: var(--bzsc-cta-bg-hover, var(--bzsc-cta-bg, var(--bzsc-hover))) !important;
	border-color: var(--bzsc-cta-border-hover, var(--bzsc-cta-border, transparent)) !important;
	color: var(--bzsc-cta-text-hover, var(--bzsc-cta-text, #fff)) !important;
}

/* --- Hover bridge ------------------------------------------------------ */

/*
 * The floating panel sits below the card with a gap. Crossing that gap means
 * leaving the hover area for a moment, which closes the panel before the
 * pointer reaches it. This invisible strip spans the gap so the journey from
 * card to button never breaks contact. It only accepts the pointer while the
 * card is active, so it never blocks clicks on whatever sits underneath.
 */
.bzsc-panel--float .bzsc-item-wrap::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: calc(var(--bzsc-panel-offset, 8px) + 2px);
	pointer-events: none;
}

.bzsc-panel--float .bzsc-item-wrap:hover::after,
.bzsc-panel--float .bzsc-item-wrap.is-open::after,
.bzsc-panel--float .bzsc-item-wrap:focus-within::after {
	pointer-events: auto;
}

.bzsc-panel--float .bzsc-item-wrap.is-flipped::after {
	top: auto;
	bottom: 100%;
}

/* --- Dismissed on click ------------------------------------------------ */

/*
 * A click on a card whose panel is open by hover marks it dismissed. The rule
 * has to beat the hover rule inside the pointer media query, so !important is
 * the honest tool here: it applies only while the class is present, and the
 * class is removed as soon as the pointer leaves the card.
 */
.bzsc-grid .bzsc-item-wrap.is-dismissed > .bzsc-panel {
	opacity: 0 !important;
	visibility: hidden !important;
	max-height: 0 !important;
	margin-top: 0 !important;
	transition-delay: 0s !important;
}

.bzsc-grid .bzsc-item-wrap.is-dismissed .bzsc-arrow {
	transform: none;
}
