/* BlueWave Process Steps — scoped under .bw-process */

/* ---- Section ---- */
.bw-process {
	padding: 80px 0 100px;
}

.bw-process__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 15px;
}

/* ---- Two-column layout: sidebar nav + accordion ---- */
.bw-process__wrap {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 56px;
	align-items: start;
}

/* =========================================================
   SIDE NAV
   ========================================================= */
.bw-process__nav {
	position: sticky;
	top: 100px;
}

.bw-process__nav-head {
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2a4154;
	margin-bottom: 18px;
}

.bw-process__nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 4px;
}

.bw-process__nav-list li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 14px;
	color: #2a4154;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
	line-height: 1.3;
}

.bw-process__nav-list li a:hover {
	background: #ede5d4;
	color: #023c5a;
}

.bw-process__nav-list li a.is-active {
	background: #023c5a;
	color: #fff;
}

.bw-process__nav-num {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #ede5d4;
	color: #2a4154;
	font-weight: 800;
	font-size: 11px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	transition: background .15s ease, color .15s ease;
}

.bw-process__nav-list li a.is-active .bw-process__nav-num {
	background: #f1c286;
	color: #023c5a;
}

/* No nav — accordion takes full width */
.bw-process__wrap--no-nav {
	grid-template-columns: 1fr;
}

/* =========================================================
   ACCORDION
   ========================================================= */
.bw-process__accordion {
	display: grid;
	gap: 12px;
}

/* ---- Item shell ---- */
.bw-process__item {
	background: #ffffff;
	border: 1px solid rgba(2,40,60,0.10);
	border-radius: 20px;
	overflow: hidden;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.bw-process__item.is-open {
	border-color: rgba(2,60,90,0.22);
	box-shadow: 0 18px 40px -22px rgba(2,60,90,0.18);
}

/* ---- Trigger row ---- */
/*
 * Use high-specificity selector to beat Elementor's global button styles
 * (background-image: linear-gradient, padding, box-sizing on bare <button> elements).
 */
.bw-process .bw-process__trigger,
.bw-process .bw-process__trigger:hover,
.bw-process .bw-process__trigger:focus {
	background: #ffffff !important;
	background-image: none !important;
	background-color: #ffffff !important;
	color: inherit;
	padding: 0 !important;           /* override Elementor global button padding */
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* No hover effect or box-shadow when the item is already open */
.bw-process .bw-process__item.is-open .bw-process__trigger,
.bw-process .bw-process__item.is-open .bw-process__trigger:hover,
.bw-process .bw-process__item.is-open .bw-process__trigger:focus {
	background: #ffffff !important;
	background-image: none !important;
	box-shadow: none !important;
	cursor: default;
}

/* No box-shadow on trigger hover in any state */
.bw-process .bw-process__trigger:hover,
.bw-process .bw-process__trigger:focus {
	box-shadow: none !important;
}

.bw-process__trigger {
	width: 100%;
	border: none;
	padding: 0;
	cursor: pointer;
	display: grid;
	grid-template-columns: 68px 1fr auto;
	align-items: center;
	text-align: left;
}

.bw-process__trigger:focus-visible {
	outline: 2px solid #023c5a;
	outline-offset: 2px;
}

/* Number column */
.bw-process__num-col {
	padding: 26px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bw-process__big-num {
	font-weight: 800;
	font-size: 32px;
	letter-spacing: -0.02em;
	color: #f1c286;
	line-height: 1;
	transition: color .2s ease;
	font-variant-numeric: tabular-nums;
}

.bw-process__item.is-open .bw-process__big-num {
	color: #023c5a;
}

/* Title column */
.bw-process__title-col {
	padding: 26px 18px 26px 0;
	min-width: 0; /* allow the 1fr cell to shrink and wrap long titles */
}


.bw-process__title {
	font-weight: 700;
	font-size: 19px;
	color: #0b2233;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 0;
	transition: color .2s ease;
}

.bw-process__item.is-open .bw-process__title {
	color: #023c5a;
}

/* Chevron column — right padding matches .bw-process__body-content right padding
   so the chevron's right edge aligns with the body text's right edge. */
.bw-process__toggle-col {
	padding: 26px 26px 26px 0;
	display: flex;
	align-items: center;
}

.bw-process__chevron {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f5f0e8;
	display: grid;
	place-items: center;
	color: #2a4154;
	transition: background .2s ease, color .2s ease, transform .3s ease;
	flex-shrink: 0;
}

.bw-process__chevron svg {
	width: 15px;
	height: 15px;
}

.bw-process__item.is-open .bw-process__chevron {
	background: #023c5a;
	color: #fff;
	transform: rotate(180deg);
}

/* ---- Accordion body (CSS grid animation trick) ---- */
.bw-process__body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .32s ease;
}

.bw-process__item.is-open .bw-process__body {
	grid-template-rows: 1fr;
}

.bw-process__body-inner {
	overflow: hidden;
}

/* ---- Body content: description + aside ---- */
/*
 * Left padding = num-col width (68px) so body text aligns with the title text.
 * Right padding = toggle-col right padding (26px) so body right edge aligns
 * with the chevron's right edge.
 */
.bw-process__body-content {
	padding: 0 26px 30px 68px;
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 28px;
	align-items: start;
}

.bw-process__description {
	font-size: 16px;
	color: #2a4154;
	line-height: 1.65;
}

.bw-process__description p {
	margin: 0 0 13px;
}

.bw-process__description p:last-child {
	margin-bottom: 0;
}

/* ---- Aside card ---- */
.bw-process__aside {
	background: #f5f0e8;
	border-radius: 14px;
	padding: 18px 20px;
	border: 1px solid rgba(2,40,60,0.08);
}

.bw-process__aside-head {
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.10em;
	color: #023c5a;
	margin-bottom: 12px;
}

.bw-process__aside-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 9px;
}

.bw-process__aside-list li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13px;
	color: #2a4154;
	line-height: 1.45;
}

.bw-process__aside-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #f1c286;
	color: #023c5a;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	margin-top: 1px;
}

.bw-process__aside-dot svg {
	width: 9px;
	height: 9px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1023px) {
	.bw-process__wrap {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.bw-process__nav {
		position: static;
	}

	.bw-process__nav-list {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.bw-process__nav-list li a {
		padding: 7px 12px;
		font-size: 13px;
	}

	.bw-process__body-content {
		grid-template-columns: 1fr;
		/* left = num-col width (68px) → aligns body with title text
		   right = toggle-col right padding (20px) → aligns with chevron */
		padding: 0 20px 24px 68px;
		gap: 20px;
	}

	.bw-process__toggle-col {
		padding-right: 20px;
	}
}

@media (max-width: 767px) {
	.bw-process {
		padding: 60px 0 72px;
	}

	.bw-process__inner {
		padding: 0 16px;
	}

	/* num-col: 16px left pad (matches toggle right) + room for the number */
	.bw-process__trigger {
		grid-template-columns: 56px 1fr auto;
	}

	.bw-process__num-col {
		padding: 20px 0 20px 16px;
		justify-content: flex-start;
	}
	.bw-process__title-col {
		padding: 20px 8px 20px 0;
		min-width: 0; /* allow 1fr cell to shrink so long titles wrap */
	}
	.bw-process__toggle-col { padding: 20px 16px 20px 0; }
	.bw-process__big-num { font-size: 26px; }
	.bw-process__title {
		font-size: 16px;
		white-space: normal !important;
		overflow-wrap: break-word;
		word-break: break-word;
	}

	.bw-process__nav {
		display: none; /* hidden on mobile; steps are self-labelled */
	}

	/* Body starts from card left edge (16px) not indented under title */
	.bw-process__body-content {
		padding: 0 16px 20px 16px;
	}
}
