/* =====================================================================
   Widgets Industrio — estilos base
   ===================================================================== */

/* ---------------------------------------------------------------------
   Cabeceras de sección
   --------------------------------------------------------------------- */
.sec-heading {
	margin-bottom: 46px;
}

.sec-heading.text-center {
	text-align: center;
}

.sec-heading .sec-title {
	font-size: 34px;
	font-weight: 600;
	margin: 0 0 12px;
	color: #1d2228;
}

.sec-heading .sec-title span {
	color: #006414;
}

.sec-heading .sec-subtitle {
	max-width: 720px;
	margin: 0 auto;
	color: #5b6167;
	font-size: 15.5px;
}

/* ---------------------------------------------------------------------
   Slider principal (hero)
   --------------------------------------------------------------------- */
.bdevs-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #101314;
}

.bdevs-carousel .carousel-inner {
	position: relative;
	width: 100%;
}

.bdevs-carousel .item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 74vh;
	min-height: 520px;
	max-height: 760px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0.9s ease;
	display: flex;
	align-items: center;
	z-index: 1;
}

.bdevs-carousel .item.active {
	position: relative;
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.bdevs-carousel .item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(9, 14, 12, 0.78) 0%, rgba(9, 14, 12, 0.45) 45%, rgba(9, 14, 12, 0.62) 100%);
}

.bdevs-carousel .carousel-caption {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	padding: 0;
	text-align: inherit;
}

.bdevs-carousel .carousel-caption .container {
	width: 100%;
}

.bdevs-carousel .box.valign-middle {
	display: flex;
	align-items: center;
	min-height: 260px;
}

.bdevs-carousel .content {
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
	padding: 0 10px;
}

.bdevs-carousel .content.text-center {
	text-align: center;
}

.bdevs-carousel .content h2 {
	color: #fff;
	font-size: 46px;
	line-height: 1.24;
	font-weight: 500;
	margin: 0 0 18px;
	text-shadow: 0 3px 22px rgba(0, 0, 0, 0.35);
}

.bdevs-carousel .content h2 strong {
	font-weight: 700;
}

.bdevs-carousel .slider-subtitle {
	color: rgba(255, 255, 255, 0.88);
	font-size: 17px;
	margin: 0 0 24px;
}

.bdevs-carousel .content .thm-btn {
	margin-top: 8px;
}

.bdevs-carousel .carousel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 6;
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.bdevs-carousel .carousel-control.left {
	left: 26px;
}

.bdevs-carousel .carousel-control.right {
	right: 26px;
}

.bdevs-carousel .carousel-control:hover {
	background-color: #006414;
	border-color: #006414;
	color: #fff;
}

.bdevs-carousel .carousel-indicators {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 26px;
	z-index: 6;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bdevs-carousel .carousel-indicators li {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.bdevs-carousel .carousel-indicators li.active {
	background: #fff;
	transform: scale(1.15);
}

.bdevs-carousel .logo.home-two {
	position: absolute;
	top: 26px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	pointer-events: none;
}

.bdevs-carousel .logo.home-two img {
	max-height: 72px;
	width: auto;
	/* Resplandor blanco: separa el logo del fondo fotográfico del hero. */
	filter:
		drop-shadow(0 0 4px rgba(255, 255, 255, 1))
		drop-shadow(0 0 12px rgba(255, 255, 255, 0.9))
		drop-shadow(0 0 26px rgba(255, 255, 255, 0.6))
		drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

/* ---------------------------------------------------------------------
   About
   --------------------------------------------------------------------- */
.bdevs-about {
	padding: 96px 0;
	background: #fff;
}

.bdevs-about .align-items-center {
	align-items: center;
}

.bdevs-about .about-images {
	position: relative;
	padding-right: 10px;
}

.bdevs-about .about-main-img {
	width: 100%;
	border-radius: 4px;
	box-shadow: 0 24px 50px rgba(20, 24, 22, 0.14);
}

.bdevs-about .about-deco-img {
	position: absolute;
	right: -6px;
	bottom: -34px;
	max-width: 46%;
	border: 6px solid #fff;
	border-radius: 4px;
	box-shadow: 0 16px 34px rgba(20, 24, 22, 0.16);
}

.bdevs-about .about-exp {
	position: absolute;
	left: -10px;
	top: 24px;
	background: #006414;
	color: #fff;
	padding: 10px 18px;
	font-weight: 600;
	font-size: 14px;
	border-radius: 2px;
}

.bdevs-about .about-content {
	padding-left: 26px;
}

.bdevs-about .about-title {
	font-size: 33px;
	line-height: 1.28;
	margin-bottom: 18px;
}

.bdevs-about .about-title span {
	color: #006414;
}

.bdevs-about .about-text {
	color: #4b5259;
	font-size: 15.5px;
}

.bdevs-about .about-lists {
	margin: 22px 0 26px;
}

.bdevs-about ul.about-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bdevs-about ul.about-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	font-size: 15px;
	color: #2c3237;
	font-weight: 500;
}

.bdevs-about .bdevs-tick::before {
	content: "\2714";
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px;
	height: 18px;
	font-size: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 100, 20, 0.12);
	color: #006414;
	border-radius: 50%;
}

.bdevs-about .bdevs-tick {
	position: absolute;
	left: 0;
	top: 0;
}

/* ---------------------------------------------------------------------
   Servicios
   --------------------------------------------------------------------- */
.bdevs-service {
	padding: 96px 0;
	background: #f4f6f8;
}

.bdevs-service .single-service {
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 30px;
	height: 100%;
	box-shadow: 0 10px 30px rgba(20, 24, 22, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bdevs-service .single-service:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 44px rgba(20, 24, 22, 0.13);
}

.bdevs-service .service-image {
	position: relative;
	overflow: hidden;
}

.bdevs-service .service-image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.bdevs-service .single-service:hover .service-image img {
	transform: scale(1.06);
}

.bdevs-service .text-box {
	padding: 26px 26px 30px;
}

.bdevs-service .text-box h3 {
	font-size: 20px;
	margin-bottom: 10px;
}

.bdevs-service .text-box h3 a {
	color: #1d2228;
}

.bdevs-service .text-box h3 a:hover {
	color: #006414;
}

.bdevs-service .text-box p {
	font-size: 14.6px;
	color: #5b6167;
	margin-bottom: 16px;
}

.bdevs-service .text-box a.more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 13.5px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #006414;
}

.bdevs-service .sec-footer {
	margin-top: 18px;
}

/* ---------------------------------------------------------------------
   Proyectos
   --------------------------------------------------------------------- */
.bdevs-project {
	padding: 96px 0;
	background: #fff;
}

.bdevs-project .single-project {
	position: relative;
	margin-bottom: 30px;
	border-radius: 4px;
	overflow: hidden;
	background: #101314;
}

.bdevs-project .project-image {
	position: relative;
	height: 300px;
	background-size: cover;
	background-position: center center;
	transition: transform 0.55s ease;
}

.bdevs-project .single-project:hover .project-image {
	transform: scale(1.05);
}

.bdevs-project .project-image a {
	position: absolute;
	inset: 0;
	display: block;
}

.bdevs-project .text-box {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 22px 24px;
	background: linear-gradient(to top, rgba(9, 14, 12, 0.9), rgba(9, 14, 12, 0));
	z-index: 2;
}

.bdevs-project .project-cat {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8ee08a;
	margin-bottom: 4px;
}

.bdevs-project .text-box h3 {
	margin: 0;
	font-size: 18px;
}

.bdevs-project .text-box h3 a {
	color: #fff;
}

.bdevs-project .text-box h3 a:hover {
	color: #8ee08a;
}

/* ---------------------------------------------------------------------
   Contacto
   --------------------------------------------------------------------- */
.bdevs-contact {
	padding: 96px 0;
	background: #f4f6f8;
}

.bdevs-contact .contact-map {
	margin-bottom: 44px;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(20, 24, 22, 0.1);
	line-height: 0;
}

.bdevs-contact .contact-info-box {
	background: #fff;
	border-radius: 4px;
	padding: 34px 32px;
	height: 100%;
	box-shadow: 0 10px 30px rgba(20, 24, 22, 0.06);
}

.bdevs-contact ul.contact-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bdevs-contact ul.contact-info-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px dashed #e2e6e9;
	font-size: 15px;
	color: #3c4349;
}

.bdevs-contact ul.contact-info-list li:last-child {
	border-bottom: 0;
}

.bdevs-contact .ci-icon {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 100, 20, 0.1);
	border-radius: 50%;
}

.bdevs-contact .ci-icon svg {
	width: 18px;
	height: 18px;
	fill: #006414;
}

.bdevs-contact .contact-form {
	background: #fff;
	border-radius: 4px;
	padding: 34px 32px;
	box-shadow: 0 10px 30px rgba(20, 24, 22, 0.06);
}

.bdevs-contact .contact-form .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 14px;
}

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 991px) {
	.bdevs-carousel .item {
		height: 62vh;
		min-height: 440px;
	}

	.bdevs-carousel .content h2 {
		font-size: 32px;
	}

	.bdevs-carousel .logo.home-two img {
		max-height: 66px;
	}

	.sec-heading .sec-title {
		font-size: 27px;
	}

	.bdevs-about,
	.bdevs-service,
	.bdevs-project,
	.bdevs-contact {
		padding: 64px 0;
	}

	.bdevs-about .about-content {
		padding-left: 0;
		margin-top: 40px;
	}

	.bdevs-about .about-images {
		margin-bottom: 20px;
	}
}

@media (max-width: 767px) {
	.bdevs-carousel .item {
		height: 58vh;
		min-height: 380px;
	}

	.bdevs-carousel .content h2 {
		font-size: 24px;
	}

	.bdevs-carousel .carousel-control {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.bdevs-carousel .carousel-control.left {
		left: 10px;
	}

	.bdevs-carousel .carousel-control.right {
		right: 10px;
	}

	.bdevs-carousel .logo.home-two {
		top: 14px;
	}

	.bdevs-carousel .logo.home-two img {
		max-height: 48px;
	}

	.bdevs-project .project-image {
		height: 230px;
	}

	.bdevs-contact .contact-info-box,
	.bdevs-contact .contact-form {
		padding: 24px 20px;
	}
}

/* ---------------------------------------------------------------------
   Galería justificada (sustituye a la galería de Elementor Pro)
   --------------------------------------------------------------------- */
.bdevs-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
}

.bdevs-gallery .bg-item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 3px;
	height: var(--bdevs-row-h, 150px);
	flex: var(--r, 1.333) 1 var(--bw, 200px);
	min-width: 0;
	background: #0f1213;
}

.bdevs-gallery .bg-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.bdevs-gallery .bg-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 100, 20, 0);
	transition: background-color 0.3s ease;
	pointer-events: none;
}

.bdevs-gallery .bg-item:hover img,
.bdevs-gallery .bg-item:focus img {
	transform: scale(1.06);
}

.bdevs-gallery .bg-item:hover::after,
.bdevs-gallery .bg-item:focus::after {
	background: rgba(0, 100, 20, 0.28);
}

.bdevs-gallery--grid .bg-item {
	flex: 0 0 calc(25% - 8px);
	height: calc(var(--bdevs-row-h, 150px) * 1.4);
}

@media (max-width: 991px) {
	.bdevs-gallery {
		gap: 8px;
	}

	.bdevs-gallery--grid .bg-item {
		flex: 0 0 calc(50% - 6px);
	}
}

@media (max-width: 767px) {
	.bdevs-gallery .bg-item {
		height: calc(var(--bdevs-row-h, 150px) * 0.85);
	}

	.bdevs-gallery--grid .bg-item {
		flex: 0 0 100%;
		height: calc(var(--bdevs-row-h, 150px) * 1.2);
	}
}
/* Galería en modo carrusel (móvil) */
.bdevs-gallery-nav {
	display: none;
}

@media (max-width: 767px) {
	/* En móvil la galería es siempre un carrusel deslizable. */
	.bdevs-gallery {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 6px;
	}

	.bdevs-gallery::-webkit-scrollbar {
		display: none;
	}

	.bdevs-gallery .bg-item {
		flex: 0 0 84%;
		height: calc(var(--bdevs-row-h, 150px) * 1.25);
		scroll-snap-align: center;
	}

	.bdevs-gallery-nav {
		justify-content: center;
		align-items: center;
		gap: 12px;
		margin-top: 14px;
		display: none;
	}

	.bdevs-gallery.is-scrollable + .bdevs-gallery-nav {
		display: flex;
	}

	.bdevs-gallery-nav button {
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid #d5dbd7;
		border-radius: 50%;
		background: #fff;
		color: #006414;
		font-size: 20px;
		line-height: 1;
		cursor: pointer;
		transition: background-color 0.25s ease, color 0.25s ease;
	}

	.bdevs-gallery-nav button:active {
		background: #006414;
		color: #fff;
	}
}
/* En móvil las dos columnas de galerías pasan a ancho completo (una debajo de otra) */
@media (max-width: 767px) {
	#experiencia > .e-con-inner {
		flex-wrap: wrap;
	}

	#experiencia > .e-con-inner > #area,
	#experiencia > .e-con-inner > #herramientas {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	#experiencia > .e-con-inner > #herramientas {
		margin-top: 34px;
	}
}