/* BlueWave Hero Switcher — scoped under .bw-switcher */
.bw-switcher {
	--bw-navy-900: #023c5a;
	--bw-navy-700: #255373;
	--bw-sky:      #88b4c8;
	--bw-sand:     #f1c286;
	--bw-cream:    #f2ebdc;
	--bw-display:  "Stack Sans Headline", "Stack Sans", "Helvetica Neue", Arial, sans-serif;
	--bw-sans:     "Alike", Georgia, "Times New Roman", serif;

	position: relative;
	border-radius: 40px;
	overflow: hidden;
	box-shadow: 0 30px 70px rgba(2, 60, 90, 0.16);
	background: linear-gradient(140deg, #0a4866 0%, #023c5a 55%, #02283c 100%);
	color: var(--bw-cream);
	padding: 28px;
	min-height: 560px;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	font-family: var(--bw-sans);
	line-height: 1.5;
	max-width: 640px;
	margin: 0 auto;
}
.bw-switcher *, .bw-switcher *::before, .bw-switcher *::after { box-sizing: border-box; }
.bw-switcher::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(70% 60% at 80% 0%, rgba(136, 180, 200, 0.28), transparent 65%),
		radial-gradient(60% 80% at 0% 100%, rgba(241, 194, 134, 0.18), transparent 65%);
}
.bw-switcher::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 9px);
	mix-blend-mode: overlay;
}

.bw-switcher__tabs {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 1fr 1fr;
	background: rgba(2, 30, 45, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	padding: 6px;
	margin-bottom: 30px;
}
.bw-switcher__tab {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	background: rgba(2, 30, 45, 0.5); /* same as .bw-switcher__tabs */
	color: rgba(255, 255, 255, 0.85);
	padding: 14px 20px; border-radius: 999px;
	font: 600 18px var(--bw-sans);
	letter-spacing: 0.01em;
	cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	box-shadow: none;
	outline: none;
}
.bw-switcher__tab:hover,
.bw-switcher__tab:focus { color: #fff; background: rgba(2, 30, 45, 0.5); }
.bw-switcher__tab:focus-visible { outline: 2px solid rgba(255,255,255,0.6); outline-offset: 2px; }

/* Active state — match BOTH the class and the aria attribute so theme/button
   resets, hover, and focus rules can't override it. */
.bw-switcher__tab.is-active,
.bw-switcher__tab[aria-selected="true"],
.bw-switcher__tab.is-active:hover,
.bw-switcher__tab[aria-selected="true"]:hover,
.bw-switcher__tab.is-active:focus,
.bw-switcher__tab[aria-selected="true"]:focus {
	background: #ffffff !important;
	color: var(--bw-navy-900) !important;
	box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
}

.bw-switcher__dot { width: 9px; height: 9px; border-radius: 999px; background: var(--bw-sand); display: inline-block; }
.bw-switcher__tab.is-active .bw-switcher__dot,
.bw-switcher__tab[aria-selected="true"] .bw-switcher__dot { background: var(--bw-navy-900); }

.bw-switcher__panel { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; }
.bw-switcher__panel[hidden] { display: none; }

.bw-switcher__eyebrow {
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--bw-sand); font-weight: 700; margin-bottom: 12px;
}
.bw-switcher__title {
	font-family: var(--bw-display); font-weight: 700; line-height: 1.04;
	font-size: 33px; margin: 0 0 16px; color: #fff;
	letter-spacing: -0.01em;
}
.bw-switcher__title em { font-style: normal; color: var(--bw-sky); font-weight: 400; }
.bw-switcher__lede { color: rgba(255, 255, 255, 0.92); font-size: 17px; line-height: 1.5; max-width: 44ch; margin: 0 0 24px; }

.bw-switcher__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.bw-switcher__option {
	display: flex; align-items: center; gap: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	padding: 16px;
	color: #fff;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
	cursor: pointer;
}
.bw-switcher__option:hover {
	background: rgba(255, 255, 255, 0.13);
	border-color: rgba(241, 194, 134, 0.55);
	transform: translateY(-2px);
}
/* Icon bubble — .bw-switcher__svc-icon is an alias used in widget renders */
.bw-switcher__ic,
.bw-switcher__svc-icon {
	flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
	background: rgba(241, 194, 134, 0.22);
	color: var(--bw-sand) !important;
	display: grid; place-items: center; font-size: 16px;
}
.bw-switcher__ic > i,
.bw-switcher__ic > svg,
.bw-switcher__svc-icon > i,
.bw-switcher__svc-icon > svg { color: var(--bw-sand) !important; }
.bw-switcher__ic svg,
.bw-switcher__svc-icon svg { width: 16px; height: 16px; fill: currentColor; }
/* Label — .bw-switcher__svc-label is an alias used in widget renders */
.bw-switcher__svc-label {
	display: flex; flex-direction: column; justify-content: center;
}
.bw-switcher__option strong,
.bw-switcher__svc-label strong { display: block; font-size: 15px; color: #fff; margin-bottom: 3px; font-weight: 600; }
.bw-switcher__option > div > span,
.bw-switcher__svc-label span { font-size: 13.5px; color: rgba(255, 255, 255, 0.78); line-height: 1.4; }

.bw-switcher__cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: auto; }
.bw-switcher__btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 18px 28px; border-radius: 999px;
	font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	white-space: nowrap;
}
.bw-switcher__btn:hover { transform: translateY(-1px); }
.bw-switcher__btn--sand { background: var(--bw-sand); color: var(--bw-navy-900); }
.bw-switcher__btn--sand:hover { background: #f3cf9e; }
.bw-switcher__btn:hover .bw-btn-arrow { transform: translateX(3px); }
.bw-switcher__secondary { color: #ffffff; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.bw-switcher__secondary:hover { color: var(--bw-sand); }

.bw-switcher__foot {
	position: relative; z-index: 2; display: flex; justify-content: space-between;
	align-items: center; padding-top: 18px; margin-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.78); font-size: 13.5px;
	flex-wrap: wrap; gap: 10px;
}
.bw-switcher__foot strong { color: #fff; font-weight: 700; }

@media (max-width: 540px) {
	.bw-switcher { padding: 22px; min-height: 0; }
	.bw-switcher__options { grid-template-columns: 1fr; }
	.bw-switcher__title { font-size: 28px; }
	.bw-switcher__tab {
		font-size: 14px;
		padding: 11px 10px;
		gap: 0; /* no gap since dot is hidden */
	}
	.bw-switcher__dot { display: none; }
}
