/* Hero Section */
.hero {
	/* background-image: url('../../images/technologies_hero.webp'); */
	background-image: url("../../images/tech_banner.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 390px;
	position: relative;
	overflow: hidden;
	left: 50%;
	border-radius: 10px;
	transform: translateX(-50%);
}

/* Technologies Section */
.technologies {
	padding: 80px 0;
	background-color: #f8f9fa;
}

.tabs-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* Tabs */
.tabs-selector {
	margin-bottom: 40px;
}

.tabs-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #e0e0e0;
	overflow: hidden;
}

.tab-item {
	position: relative;
}

.tab-link {
	display: block;
	padding: 20px 24px;
	text-decoration: none;
	color: #a6a39c;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	transition: all 0.3s ease;
	position: relative;
}

.tab-link p {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.4;
	text-align: center;
	font-family: "Diagramm", sans-serif;
}

.tab-item .tab-link {
	border-bottom: 4px solid transparent;
}

.tab-item.active .tab-link {
	color: var(--azul);
	border-bottom: 4px solid #124069;
}

.tab-item.active .tab-link::after {
	display: none;
}

.tabs-content {
	min-height: 400px;
}

.tab-content {
	display: none;
	animation: fadeIn 0.3s ease-in-out;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.tab-content.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tab-content .title {
	margin-bottom: 60px;
}

/* Materials Grid */
.materials-grid {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 20px;
	padding: 40px 0;
	max-width: 1200px;
	margin: 0 auto;
}

.material-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
}

.material-item .deco {
	position: absolute;
	top: -8px;
	width: 50px;
	height: 22px;
	z-index: 2;
	pointer-events: none;
	transition: transform 0.3s ease;
	--deco-color: #969e40;
}

.material-item .deco svg {
	fill: var(--deco-color);
}

.material-item img {
	width: 140px;
	height: 140px;
	border-radius: 70px 0px;
	object-fit: cover;
	margin-bottom: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-item p {
	font-family: "Diagramm", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: #124069;
	margin: 0;
	line-height: 1.3;
	max-width: 130px;
}

/* Boiler Grid */
.boiler-grid {
	display: grid;
	grid-template-columns: repeat(2, 450px);
	justify-content: center;
	gap: 40px;
	padding: 40px 0;
	margin: 0 auto;
}

.boiler-item {
	background: #f5f5f5;
	padding: 41px;
	display: flex;
	flex-direction: column;
}

.boiler-item:nth-child(3) {
	border-radius: 0 0 0 66px;
}

.boiler-item:nth-child(2) {
	border-radius: 0 66px 0 0;
}

.boiler-item .title {
	font-family: "Diagramm", sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #124069;
	margin: 0 0 20px 0;
	line-height: 1.3;
}

.boiler-item .image {
	width: 100%;
	height: 200px;
	object-fit: contain;
	margin: 0 auto 25px auto;
	display: block;
	background: #fff;
	border-radius: 44px 0;
	padding: 20px;
	box-sizing: border-box;
}

.boiler-item .description {
	text-align: left;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.boiler-item .text {
	font-family: "Neue Haas Unica", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #000;
	margin: 0 0 15px 0;
}

.boiler-item .text strong {
	font-weight: 700;
}

.boiler-item .list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.boiler-item .list-item {
	margin: 8px 0;
	color: #000;
}

/* Accordion */
.accordion-container {
	margin-top: auto;
}

.accordion-item {
	border: none;
	border-bottom: 1px solid #e0e0e0;
	border-radius: 0;
	margin-bottom: 0;
	overflow: hidden;
}

.accordion-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.accordion-head:hover {
	background: transparent;
}

.accordion-head p {
	font-size: 1.125rem;
	font-weight: 400;
	color: #333;
	margin: 0;
}

.accordion-item.active .accordion-head p {
	color: #124069;
}

.accordion-head .icon {
	font-family: "Neue Haas Unica", sans-serif;
	font-size: 1.5rem;
	color: #333;
	font-weight: normal;
	transition: transform 0.3s ease;
	line-height: 1;
}

.accordion-content {
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
	padding: 0 0 20px 0;
	max-height: 200px;
}

.accordion-content .list {
	margin: 0;
}

.accordion-content .list-item {
	font-weight: 500;
	color: #000;
}

/* Combustion System */
.combustion-block {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 35px;
	box-sizing: border-box;
}

.combustion-block .text {
	color: #242020;
	font-family: "Neue Haas Unica", sans-serif;
	font-size: 1.125rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.6875rem;
	text-wrap: pretty;
	overflow-wrap: break-word;
}

.combustion-block .two-blocks .text {
	color: #242020;
}

.combustion-block .text.blue-text {
    font-size: 1.5625rem;
    color: var(--azul);
    font-weight: 700;
    margin-bottom: 40px;
}

.combustion-block .text.blue-text .combustion-number {
    display: inline-block;
    margin-right: 8px;
    font-size: 1.25em;
    font-weight: 700;
    color: var(--azul);
    line-height: 1;
}

.combustion-block .two-blocks {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 40px 0;
}

.combustion-block .two-blocks.reverse {
	flex-direction: row-reverse;
}

.combustion-block .two-blocks .block {
	flex: 1;
	padding: 40px;
	min-width: 0;
}

.combustion-block .two-blocks .block:first-child {
	padding: 60px 40px;
	flex: 1.3;
	border-radius: 66px 0 0 0;
	background-color: #f5f5f5;
	color: #000;
	font-family: "Neue Haas Unica", sans-serif;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 30px;
}

.combustion-block .two-blocks .block:last-child {
	border-radius: 0 0 66px 0;
	border: 1px solid #f5f5f5;
	background: #fff;
}

.combustion-block .two-blocks.reverse .block:first-child {
	border-radius: 0 0 66px 0;
}

.combustion-block .two-blocks.reverse .block:last-child {
	border-radius: 66px 0 0 0;
}

.combustion-block .two-blocks .block:last-child img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* Media Queries */
@media (max-width: 1024px) {
	.technologies {
		padding: 60px 0;
	}

	.tabs-container {
		padding: 0 20px;
	}

	.materials-grid {
		grid-template-rows: none;
		grid-auto-flow: row;
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 18px;
		padding: 30px 20px;
	}

	.material-item img {
		width: 130px;
		height: 130px;
		border-radius: 65px 0px;
	}

	.material-item p {
		font-size: 0.95rem;
		max-width: 120px;
	}

	.combustion-block .two-blocks {
		margin: 50px 0;
	}

	.combustion-block .two-blocks .block {
		padding: 30px;
	}

	.combustion-block .two-blocks .block:first-child {
		padding: 40px 30px;
	}
}

@media (max-width: 768px) {
	.hero {
		width: calc(100% - 25px);
	}

	.technologies {
		padding: 40px 0;
	}

	.tabs-container {
		padding: 0 15px;
	}

	.tabs-selector {
		margin-bottom: 30px;
	}

	.tabs-list {
		flex-direction: column;
		border-bottom: none;
	}

	.tab-item {
		width: max-content;
	}

	.tab-link {
		border-right: none;
		border-bottom: 1px solid #e0e0e0;
		padding: 15px 20px;
	}

	.tab-link p {
		font-size: 1rem;
		text-align: start;
	}

	.tab-content {
		padding: 20px;
	}

	.tab-content h3 {
		font-size: 20px;
	}

	.tab-content .title {
		font-size: 1.5rem;
		margin-bottom: 20px;
	}

	.tabs-content {
		min-height: 300px;
	}

	.materials-grid {
		grid-template-rows: none;
		grid-auto-flow: row;
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 18px;
		padding: 20px 10px;
	}

	.material-item img {
		width: 110px;
		height: 110px;
		border-radius: 55px 0px;
	}

	.material-item p {
		font-size: 0.9rem;
		max-width: 110px;
	}

	.boiler-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
		padding: 30px 20px;
	}

	.boiler-item {
		padding: 25px;
	}

	.boiler-item:nth-child(2),
	.boiler-item:nth-child(3) {
		border-radius: 0;
	}

	.boiler-item .title {
		font-size: 1.3rem;
	}

	.boiler-item .image {
		height: 180px;
		border-radius: 30px 0;
	}

	.combustion-block .text {
		font-size: 1rem;
		line-height: 1.5rem;
	}

	.combustion-block .text.blue-text {
		font-size: 1.25rem;
	}

	.combustion-block .two-blocks {
		flex-direction: column;
		margin: 40px 0;
		gap: 20px;
	}

	.combustion-block .two-blocks.reverse {
		flex-direction: column;
	}

	.combustion-block .two-blocks .block {
		padding: 25px;
	}

	.combustion-block .two-blocks .block:first-child {
		padding: 30px 25px;
		border-radius: 30px 0 0 0;
		font-size: 0.9rem;
		line-height: 26px;
	}

	.combustion-block .two-blocks .block:last-child {
		border-radius: 0 0 30px 0;
	}

	.combustion-block .two-blocks.reverse .block:first-child {
		border-radius: 0 0 30px 0;
	}

	.combustion-block .two-blocks.reverse .block:last-child {
		border-radius: 30px 0 0 0;
	}
}

@media (max-width: 480px) {
	.technologies {
		padding: 30px 0;
		padding-bottom: 80px;
	}

	.tabs-container {
		padding: 0 8px;
	}

	.tabs-selector {
		margin-bottom: 20px;
	}

	.tab-link {
		padding: 12px 15px;
	}

	.tab-link p {
		font-size: 0.9rem;
	}

	.tab-content {
		padding: 8px;
	}

	.tab-content .title {
		font-size: 1.3rem;
		margin-bottom: 15px;
	}

	.tabs-content {
		min-height: 250px;
	}

	.materials-grid {
		grid-template-rows: none;
		grid-auto-flow: row;
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
		gap: 15px;
		padding: 15px 5px;
	}

	.material-item img {
		width: 90px;
		height: 90px;
		border-radius: 45px 0px;
	}

	.material-item p {
		font-size: 0.8rem;
		max-width: 90px;
	}

	.boiler-grid {
		grid-template-columns: 1fr;
		padding: 20px 0px;
		gap: 20px;
		width: 100%;
	}

	.boiler-item {
		padding: 20px;
	}

	.boiler-item .title {
		font-size: 1.2rem;
		margin-bottom: 15px;
	}

	.boiler-item .image {
		height: 160px;
		border-radius: 25px 0;
		margin-bottom: 20px;
	}

	.boiler-item .text {
		font-size: 0.9rem;
		margin-bottom: 12px;
	}

	.accordion-head {
		padding: 15px 0;
	}

	.accordion-head p {
		font-size: 1rem;
	}

	.accordion-head .icon {
		font-size: 1.3rem;
	}

	.combustion-block {
		padding: 10px;
	}

	.combustion-block .text {
		font-size: 0.9rem;
		line-height: 1.4rem;
	}

	.combustion-block .text.blue-text {
		font-size: 1.125rem;
	}

	.combustion-block .two-blocks {
		margin: 30px 0;
		gap: 15px;
	}

	.combustion-block .two-blocks .block {
		padding: 20px;
	}

	.combustion-block .two-blocks .block:first-child {
		padding: 25px 20px;
		border-radius: 25px 0 0 0;
		font-size: 0.85rem;
		line-height: 22px;
	}

	.combustion-block .two-blocks.reverse {
		flex-direction: column;
	}

	.combustion-block .two-blocks .block:first-child {
		border-radius: 25px 0 0 0;
	}

	.combustion-block .two-blocks .block:last-child {
		border-radius: 0 0 25px 0;
	}

	.combustion-block .two-blocks.reverse .block:first-child {
		border-radius: 25px 0 0 0;
	}

	.combustion-block .two-blocks.reverse .block:last-child {
		border-radius: 0 0 25px 0;
	}

}
