/* Widgets Elementor a mida — v1.2.0 */

.wam-tabs {
	position: relative;
}
/* ---- Tabs ---- */
.wam-tabs .elementor-tabs-wrapper {
	display: flex;
	flex-wrap: nowrap;
	gap: .5rem;
	z-index: 2;
	position: relative;
}
.wam-tabs .elementor-tab-heading { margin: 0; }
.wam-tabs .elementor-tab-heading .elementor-tab-title {
	display: inline-block;
	padding: .5rem;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: .375rem .375rem 0 0;
	color: #484830;
	font-size: 12px;
	text-align: center;
}
.wam-tabs .elementor-tab-heading .elementor-tab-title:hover {
	color: #1c1c1a;
}
.wam-tabs .elementor-tab-heading .elementor-tab-title.elementor-active {
	border-color: #484830;
	border-bottom-color: #dfe0db;
	font-weight: 600;
	background: #dfe0db;
}
.wam-tabs .elementor-tabs-content-wrapper {
	margin: 0;
	background: #dfe0db;
	padding: 15px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	border: 1px solid #484830;
	margin-top: -1px;
}
.wam-tabs .elementor-tab-content { display: none; }
.wam-tabs .elementor-tab-content.elementor-active { display: block; }
.wam-tabs .elementor-tab-heading a:focus {
	outline: none;
}

/* ---- FAQ ---- */
.wam-faq .wam-faq-item + .wam-faq-item {
	border-top: 1px solid #484830;
}
h4.wam-faq-heading button {
	color: #484830;
}
h4.wam-faq-heading button:hover {
	color: #1c1c1a;
}
.wam-faq .wam-faq-heading { margin: .5rem 0; }
.wam-faq .wam-faq-title {
	display: inline-block;
	width: 100%;
	text-align: left;
	padding: .5rem 24px .5rem 0;
	background: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	position: relative;
}
.wam-faq-title::after {
  content: ">";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.5s ease;
}
.wam-faq-title[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(-90deg);
}
.wam-faq .wam-faq-content { padding: .25rem 0 .75rem 0; }
/* ---- Carrusel de ressenyes ---- */
.wam-review-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.wam-review-carousel-inner {
	display: flex;
	transition: transform 0.5s ease;
	will-change: transform;
}

.wam-review-slide {
	min-width: 100%;
	box-sizing: border-box;
	padding: 20px;
	display: flex;
	justify-content: center;
}

.wam-review-card {
	max-width: 700px;
	width: 100%;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 24px;
	padding: 0 30px;
	box-shadow: rgba(0, 0, 0, 0.5) 5px 5px 10px 0px;
}
.contingut-superior {
	padding: 20px;
	text-align: center;
	border-bottom: 1px solid #ccc;
}
.contingut-inferior {
	padding: 20px;
	text-align: center;
	display: flex;
	justify-content: center;
	gap: 20px;
	align-items: center;
}
.wam-review-content {
	flex: 1;
}
.wam-review-image {
	width: 100px;
	height: 100px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-radius: 50%;
}
.wam-review-title {
	margin: 0 0 5px;
	font-size: 1.2rem;
	font-weight: 600;
}

.wam-review-place {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 10px;
}

.wam-review-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	justify-content: center;
}

.wam-stars {
	position: relative;
	width: 100px;
	height: 20px;
	font-size: 20px;
	line-height: 1;
}

.wam-stars-bg, .wam-stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	white-space: nowrap;
	overflow: hidden;
	width: 100%;
}

.wam-stars-bg span {
	color: #ccc;
}

.wam-stars-fill span {
	color: rgb(96, 211, 34);
}

.wam-rating-number {
	font-size: 0.85rem;
	color: #333;
	display: none;
}

.wam-review-text {
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Botons de navegació */
.wam-review-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: #76B833;
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 30px;
	line-height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wam-review-nav::before {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
}
.wam-review-nav.wam-review-prev::before {
	border-width: 6px 8px 6px 0;
	border-color: transparent #fff transparent transparent;
}
.wam-review-nav.wam-review-next::before {
	border-width: 6px 0 6px 8px;
	border-color: transparent transparent transparent #fff;
}

.wam-review-prev {
	left: 10px;
}

.wam-review-next {
	right: 10px;
}

.wam-review-nav:hover {
	background: rgba(0,0,0,0.6);
}

/* ---- Guia pas a pas ---- */

.wam-step-item {
	margin-top: 16px;
	background: #fff;
	border: 1px solid rgb(229, 231, 235);
	border-radius: 16px;
	color: rgb(20, 24, 31);
}
.wam-step-item + .wam-step-item {
	border-top: 1px solid #d0d0c5;
}
.wam-step-header {
	display: flex;
	align-items: center;
	justify-content: left;
	padding: 12px 16px;
	width: 100%;
	border: none;
	gap: 20px;
}
.wam-step-header:hover, .wam-step-header:focus {
	background-color: transparent;
}
.wam-step-header-main {
	display: flex;
	flex-direction: column;
}
.wam-step-header-main {
	flex-grow: 2;
}
.wam-step-header-top {
	display: flex;
	align-items: center;
	gap: 10px;
}
.wam-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgb(96, 211, 34);
	color: #fff;
	font-weight: 700;
	font-size: 18px;
}
.wam-step-title {
	font-weight: 700;
	color: #1c1c1a;
	font-size: 16px;
}

.wam-step-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13px;
	color: #484830;
}

/*.wam-step-duration::before {
	content: "⏳ ";
}*/
.wam-step-duration::before {
	content: "\f252"; /* fa-hourglass-half */
	font-family: "Font Awesome 5 Free";
	font-weight: 900; /* necessari per a les icones Solid */
	margin-right: 6px;
}
.wam-step-investment::before {
	content: "\f0d6"; /* fa-money-bill */
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900; /* Solid */
	margin-right: 6px;
}
.wam-step-toggle {
	border: none;
	background: transparent;
	cursor: pointer;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	color: #484830;
	transition: background 0.2s ease, transform 0.2s ease;
}

button.wam-step-toggle:hover, button.wam-step-toggle:focus {
	background: transparent;
	color: #484830;
}
.wam-step-toggle-icon {
	display: inline-block;
}

.wam-step-content {
	padding: 0;
	font-size: 14px;
	line-height: 20px;
	color: rgb(99, 112, 92);
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.5s ease; /* 500 ms */
}
.wam-step-content-inner {
	padding: 8px 24px 24px 24px;
}
.wam-step-item.is-open .wam-step-content {
	max-height: 2000px; /* un valor prou gran */
}
.wam-step-description-highlight {
	margin-top: 16px;
	padding: 16px;
	border-radius: 16px;
	background: rgba(96, 211, 34, 0.05);
	border: 1px solid rgb(229, 231, 235);
	font-weight: 500;
}
.wam-step-alert {
	margin-top: 16px;
	padding: 16px;
	border-radius: 16px;
	background: rgba(96, 211, 34, 0.2);
	border-color: rgb(96, 211, 34);
	border-left-width: 4px;
	border-left-style: solid;
}
.wam-step-alert-title {
	font-weight: 600;
	margin-bottom: 4px;
}
.wam-step-alert-title::before {
	content: "\f0a4";
	font-family: "Font Awesome 5 Free";
	font-weight: 900; /* solid */
	margin-right: 6px;
}

.wam-step-alert-message {
	font-size: 13px;
}

/* Responsiu */
@media (max-width: 768px) {
	.wam-review-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.wam-review-image img {
		max-width: 120px;
	}

	.wam-review-content {
		width: 100%;
	}
	.wam-step-header {
		align-items: flex-start;
	}

	.wam-step-header-main {
		width: 100%;
	}

	.wam-step-meta {
		margin-top: 4px;
	}
}

@media screen and (min-width:768px) {
.wam-tabs .elementor-tab-heading .elementor-tab-title {
	font-size: 20px;
}
}
