/* segmentos.css */

/* HERO */

.segments-hero{
	position:relative;
	width:calc(100% - (var(--imeba-side) * 2));
	max-width:calc(var(--imeba-shell) - (var(--imeba-side) * 2));
	min-height:400px;
	margin:0 auto;
	overflow:hidden;
	background:var(--imeba-black);
}

.segments-hero-media,
.segments-hero-overlay{
	position:absolute;
	inset:0;
}

.segments-hero-media img{
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:center;
}

.segments-hero-overlay{
	background:linear-gradient(90deg,rgba(0,0,0,.93) 0%,rgba(0,0,0,.72) 44%,rgba(0,0,0,.18) 100%);
}

.segments-hero-inner{
	position:relative;
	z-index:2;
	display:flex;
	align-items:center;
	min-height:400px;
}

.segments-hero-copy{
	max-width:700px;
}

.segments-hero-copy h1{
	margin:0 0 18px;
	color:#ffffff;
	font-size:48px;
	font-weight:800;
	letter-spacing:-1.4px;
	line-height:1.04;
	text-transform:uppercase;
}

.segments-hero-copy p{
	max-width:620px;
	margin:0;
	color:rgba(255,255,255,.82);
	font-size:16px;
	line-height:1.7;
}

/* INTRODUCCIÓN */

.segments-intro{
	padding:64px 0 52px;
	background:#ffffff;
}

.segments-intro-grid{
	display:grid;
	grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
	gap:64px;
	align-items:start;
}

.segments-intro h2{
	margin:0;
	color:var(--imeba-black);
	font-size:38px;
	font-weight:800;
	letter-spacing:-.9px;
	line-height:1.1;
}

.segments-intro-text p{
	margin:0 0 16px;
	color:var(--imeba-muted);
	font-size:15px;
	line-height:1.75;
}

/* SECTORES */

.segments-list{
	padding:60px 0 72px;
	background:#ffffff;
}

.segments-grid{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:22px;
}

.segment-card{
	position:relative;
	min-height:360px;
	overflow:hidden;
	background:var(--imeba-black);
}

.segment-card-media,
.segment-card-overlay{
	position:absolute;
	inset:0;
}

.segment-card-media img{
	width:100%;
	height:100%;
	object-fit:cover;
	transition:transform .4s ease;
}

.segment-card-overlay{
	background:linear-gradient(0deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.40) 62%,rgba(0,0,0,.06) 100%);
}

.segment-card-content{
	position:absolute;
	right:0;
	bottom:0;
	left:0;
	z-index:2;
	padding:28px;
}

.segment-card-icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:46px;
	height:46px;
	margin-bottom:16px;
	background:var(--imeba-red);
	color:#ffffff;
	font-size:20px;
}

.segment-card h3{
	margin:0 0 11px;
	color:#ffffff;
	font-size:25px;
	font-weight:800;
	line-height:1.15;
}

.segment-card p{
	max-width:520px;
	margin:0;
	color:rgba(255,255,255,.77);
	font-size:13px;
	line-height:1.6;
}

.segment-card:hover .segment-card-media img{
	transform:scale(1.045);
}

/* APLICACIONES */

.segments-applications{
	padding:62px 0;
	background:var(--imeba-soft);
}

.segments-applications-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	border-top:1px solid var(--imeba-line);
	border-left:1px solid var(--imeba-line);
}

.segment-application{
	min-height:160px;
	padding:24px;
	border-right:1px solid var(--imeba-line);
	border-bottom:1px solid var(--imeba-line);
	background:#ffffff;
}

.segment-application i{
	margin-bottom:15px;
	color:var(--imeba-red);
	font-size:24px;
}

.segment-application h3{
	margin:0 0 9px;
	color:var(--imeba-black);
	font-size:16px;
	font-weight:800;
	line-height:1.2;
}

.segment-application p{
	margin:0;
	color:var(--imeba-muted);
	font-size:12px;
	line-height:1.6;
}

/* BLOQUE DESTACADO */

.segments-feature{
	padding:72px 0;
	background:#ffffff;
}

.segments-feature-grid{
	display:grid;
	grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
	min-height:500px;
}

.segments-feature-copy{
	display:flex;
	flex-direction:column;
	justify-content:center;
	padding:44px;
	background:#f0f2f4;
}

.segments-feature-copy h2{
	margin:0 0 18px;
	color:var(--imeba-black);
	font-size:36px;
	font-weight:800;
	letter-spacing:-.8px;
	line-height:1.1;
}

.segments-feature-copy > p{
	margin:0 0 24px;
	color:var(--imeba-muted);
	font-size:14px;
	line-height:1.75;
}

.segments-feature-copy ul{
	margin:0 0 28px;
	padding:0;
	list-style:none;
}

.segments-feature-copy li{
	display:flex;
	align-items:center;
	margin-bottom:10px;
	color:var(--imeba-black);
	font-size:13px;
	font-weight:700;
}

.segments-feature-copy li i{
	display:flex;
	align-items:center;
	justify-content:center;
	width:25px;
	height:25px;
	margin-right:10px;
	border-radius:50%;
	background:var(--imeba-red);
	color:#ffffff;
	font-size:10px;
}

.segments-feature-copy .imeba-btn{
	align-self:flex-start;
}

.segments-feature-media{
	position:relative;
	overflow:hidden;
}

.segments-feature-media img{
	width:100%;
	height:100%;
	object-fit:cover;
}

.segments-feature-label{
	position:absolute;
	right:25px;
	bottom:25px;
	padding:18px 21px;
	background:rgba(13,15,17,.92);
	color:#ffffff;
}

.segments-feature-label span{
	display:block;
	margin-bottom:5px;
	color:var(--imeba-red);
	font-size:10px;
	font-weight:700;
	text-transform:uppercase;
}

.segments-feature-label strong{
	font-size:17px;
}

/* TECNOLOGÍAS */

.segments-technologies{
	width:calc(100% - (var(--imeba-side) * 2));
	max-width:calc(var(--imeba-shell) - (var(--imeba-side) * 2));
	margin:0 auto;
	padding:58px var(--imeba-side);
	background:var(--imeba-black);
}

.segments-technologies .imeba-shell{
	max-width:none;
	padding:0;
}

.segments-technologies .imeba-section-head h2{
	color:#ffffff;
}

.segments-technologies-grid{
	display:grid;
	grid-template-columns:repeat(5,minmax(0,1fr));
	border-top:1px solid rgba(255,255,255,.11);
	border-left:1px solid rgba(255,255,255,.11);
}

.segment-technology{
	display:flex;
	flex-direction:column;
	justify-content:center;
	min-height:125px;
	padding:21px;
	border-right:1px solid rgba(255,255,255,.11);
	border-bottom:1px solid rgba(255,255,255,.11);
}

.segment-technology i{
	margin-bottom:13px;
	color:var(--imeba-red);
	font-size:24px;
}

.segment-technology strong{
	display:block;
	margin-bottom:5px;
	color:#ffffff;
	font-size:13px;
	font-weight:700;
}

.segment-technology span{
	color:rgba(255,255,255,.60);
	font-size:11px;
	line-height:1.45;
}

/* CTA */

.segments-cta{
	position:relative;
	width:calc(100% - (var(--imeba-side) * 2));
	max-width:calc(var(--imeba-shell) - (var(--imeba-side) * 2));
	margin:72px auto 80px;
	padding:46px var(--imeba-side);
	overflow:hidden;
	background:var(--imeba-black);
	border-radius:4px;
}

.segments-cta:after{
	position:absolute;
	top:-85px;
	right:-75px;
	width:340px;
	height:280px;
	background:repeating-linear-gradient(135deg,var(--imeba-red) 0,var(--imeba-red) 17px,#b31218 17px,#b31218 34px);
	transform:skewX(-12deg);
	content:"";
}

.segments-cta-grid{
	position:relative;
	z-index:2;
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	gap:36px;
	align-items:center;
}

.segments-cta h2{
	margin:0 0 10px;
	color:#ffffff;
	font-size:30px;
	font-weight:800;
	line-height:1.15;
}

.segments-cta p{
	max-width:720px;
	margin:0;
	color:rgba(255,255,255,.68);
	font-size:13px;
	line-height:1.65;
}

/* RESPONSIVE */

@media(max-width:1100px){
	.segments-hero,
	.segments-technologies,
	.segments-cta{
		width:calc(100% - (var(--imeba-side) * 2));
		max-width:none;
	}

	.segments-applications-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.segments-technologies-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}
}

@media(max-width:991px){
	.segments-intro-grid,
	.segments-feature-grid{
		grid-template-columns:1fr;
	}

	.segments-intro-grid{
		gap:25px;
	}

	.segments-feature-media{
		min-height:380px;
	}
}

@media(max-width:767px){
	.segments-hero,
	.segments-technologies,
	.segments-cta{
		width:100%;
		max-width:100%;
	}

	.segments-hero,
	.segments-hero-inner{
		min-height:340px;
	}

	.segments-hero-inner{
		padding:0 var(--imeba-side);
	}

	.segments-hero-copy h1{
		font-size:36px;
	}

	.segments-hero-copy p{
		font-size:15px;
	}

	.segments-intro,
	.segments-list,
	.segments-applications,
	.segments-feature{
		padding:50px 0;
	}

	.segments-intro h2,
	.segments-feature-copy h2{
		font-size:29px;
	}

	.segments-grid,
	.segments-applications-grid,
	.segments-technologies-grid{
		grid-template-columns:1fr;
	}

	.segment-card{
		min-height:320px;
	}

	.segments-feature-copy{
		padding:28px 22px;
	}

	.segments-technologies{
		padding:50px var(--imeba-side);
	}

	.segments-cta{
		margin:60px 0;
		border-radius:0;
	}

	.segments-cta:after{
		display:none;
	}

	.segments-cta-grid{
		grid-template-columns:1fr;
	}

	.segments-cta .imeba-btn{
		width:100%;
	}
}