/*
* General
*/
.custom-big-text-style-1 {
		font-size: 137.6px;
		font-size: 8.6rem;
		letter-spacing: 5px;
		line-height: 0.85;
}

@media (max-width: 991px) {
		.custom-big-text-style-1 {
				font-size: 6.4rem;
		}
		.custom-big-text-style-1.custom-big-text-style-1-variation {
				font-size: 5.8rem;
		}
}

@media (max-width: 767px) {
		.custom-big-text-style-1 {
				font-size: 5.6rem;
		}
		.custom-big-text-style-1.custom-big-text-style-1-variation {
				font-size: 4rem;
		}
}

@media (max-width: 575px) {
		.custom-big-text-style-1 {
				font-size: 4.3rem;
		}
		.custom-big-text-style-1.custom-big-text-style-1-variation {
				font-size: 2.7rem;
		}
}

.custom-outline-text-style-1 {
		-webkit-text-fill-color: transparent;
		-webkit-text-stroke-color: white;
		-webkit-text-stroke-width: 0.3px;
		letter-spacing: 5px;
}

.custom-view-more svg {
		transition: ease transform 300ms;
}

.custom-view-more:hover svg {
		transform: translate3d(7px, 0, 0);
}

/*
* Spacement
*/
.custom-margin-1 {
		margin-top: 73.6px !important;
		margin-top: 4.6rem !important;
		margin-bottom: 73.6px !important;
		margin-bottom: 4.6rem !important;
}

/*
* Custom Square
*/
.custom-square-1 {
		width: 216px;
		height: 216px;
		background-color: var(--grey-500);
		transform: rotate(48deg);
		transform-origin: 0% 100%;
}

.custom-square-1.custom-square-1-big {
		width: 626px;
		height: 626px;
}

/*
* Custom SVG Position
*/
.custom-svg-position-1 {
		position: absolute;
		top: -38px;
		left: -90px;
		max-height: none;
		width: 50vw;
}

.custom-svg-position-1 > svg {
		height: 5.3vw;
		min-height: 96px;
}

@media (min-width: 1950px) {
		.custom-svg-position-1 {
				left: -121px;
				width: 51vw;
				top: -41px !important;
		}
		.custom-svg-position-1 > svg {
				height: 110px;
				width: 100%;
		}
}

/*
* Custom Navigation Buttons
*/
.custom-navigation-buttons-1 > a {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
}

.custom-navigation-buttons-1 > a:before {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.5);
		transform: rotate(45deg);
		transition: ease background 300ms;
		z-index: 0;
}

.custom-navigation-buttons-1 > a:hover:before {
		background: rgba(0, 0, 0, 0.8);
}

/*
* Font Size
*/
.custom-font-size-1 {
		font-size: 0.6em;
}

/*
* SVG Line Divider
*/
@keyframes customLineDividerAnim {
		from {
				stroke-dasharray: 170;
				stroke-dashoffset: 0;
		}
		to {
				stroke-dasharray: 170;
				stroke-dashoffset: -170;
		}
}

.customLineDividerAnim {
		animation-name: customLineDividerAnim;
}

/*
* Header
*/
html #header .header-body {
		transition: ease transform 300ms;
}

html #header .header-logo.custom-header-logo {
		position: relative;
}

html #header .header-logo.custom-header-logo:before {
		content: '';
		position: absolute;
		bottom: -87px;
		left: 40px;
		width: 170px;
		height: 350px;
		background-color: var(--grey-500);
		opacity: 1;
		visibility: visible;
		transform: rotate(45deg);
		transition: ease opacity 300ms, ease transform 300ms;
}

html #header .header-logo .logo {
		transition: ease opacity 300ms, ease transform 300ms;
}

html #header .header-logo .logo-sticky {
		opacity: 0;
		visibility: hidden;
		transition: ease opacity 300ms, ease transform 300ms;
}

html #header .header-container {
		height: 120px;
		transition: ease height 300ms;
}

html #header .header-nav-main nav > ul > li > a {
		font-size: 14px;
}

@media (min-width: 1200px) {
		html #header .header-nav-main nav > ul > li > a {
				padding: 0 1.1rem !important;
		}
}

html #header .header-nav-features:before,
html #header .header-nav-features:after {
		background: rgba(0, 0, 0, 0.04);
		height: 25px;
}

/* Fix: Alineación vertical de iconos sociales en header */
html #header .header-row {
		align-items: center !important;
}

html #header .header-nav-features {
		display: flex !important;
		align-items: center !important;
		justify-content: center;
		height: auto;
}

html #header .header-nav-features .header-social-icons {
		display: flex !important;
		align-items: center !important;
		vertical-align: middle;
		margin: 0;
		padding: 0;
		list-style: none;
		height: auto;
}

html #header .header-nav-features .header-social-icons li {
		display: flex !important;
		align-items: center !important;
		vertical-align: middle;
		margin: 0;
		padding: 0;
		height: auto;
}

html #header .header-nav-features .header-social-icons li a {
		display: flex !important;
		align-items: center !important;
		justify-content: center;
		vertical-align: middle;
		line-height: 1;
		height: auto;
		text-decoration: none;
}

html #header .header-nav-features .header-social-icons li a i {
		vertical-align: middle !important;
		line-height: 1 !important;
		display: inline-block;
}

html.sticky-header-active #header .header-body {
		background: rgba(255, 255, 255, 0.8);
		transform: translate3d(0, 0, 0);
}

html.sticky-header-active #header .header-logo.custom-header-logo {
		position: relative;
}

html.sticky-header-active #header .header-logo.custom-header-logo:before {
		opacity: 0;
		visibility: hidden;
		transform: rotate(45deg) translate3d(0, -20px, 0);
		transition: ease all 300ms;
}

html.sticky-header-active #header .header-logo .logo {
		opacity: 0;
		visibility: hidden;
		transform: translate3d(20px, -20px, 0);
		transition: ease all 300ms;
}

html.sticky-header-active #header .header-logo .logo-sticky {
		opacity: 1;
		visibility: visible;
		transform: translate3d(-100%, 0, 0);
		transition: ease all 300ms;
}

html.sticky-header-active #header .header-container {
		height: 90px;
}

html:not(.sticky-header-active) #header.header-semi-transparent-light .header-body {
		background-color: var(--light) !important;
}

@media (min-width: 992px) {
		html:not(.sticky-header-active) #header .header-body {
				transform: translate3d(0, 50px, 0);
		}
}

@media (min-width: 992px) {
		/* Ensure dropdown positioning works correctly */
		html #header .header-nav-main nav > ul > li.dropdown {
				position: relative;
		}

		html #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
				position: absolute !important;
				border-top: 0 !important;
		}
}

@media (min-width: 992px) and (max-width: 1199px) {
		html #header .header-nav-main nav > ul > li > a {
				padding: 0 0.5rem !important;
		}
}

@media (max-width: 991px) {
		html #header .header-logo.custom-header-logo:before {
				content: none;
		}
		html #header .header-logo .logo {
				display: none;
		}
		html #header .header-logo .logo-sticky {
				opacity: 1;
				visibility: visible;
				transform: translate3d(0, 0, 0) !important;
		}
		html #header .header-nav-main nav > ul > li > a {
				text-transform: none;
				font-weight: 500;
		}
}

/*
* Diamonds SVG Line
*/
@keyframes customDiamondsLineAnim {
		from {
				stroke-dasharray: 1330;
				stroke-dashoffset: 0;
		}
		to {
				stroke-dasharray: 1330;
				stroke-dashoffset: -1300;
		}
}

.customDiamondsLineAnim {
		animation-name: customDiamondsLineAnim;
}

/*
* Diamonds
*/
.diamonds {
		font-size: 0;
		margin: 40px auto 85px;
		position: relative;
		text-align: center;
		padding: 50px 0 0 57px;
}

.diamonds > li {
		display: inline-block;
		font-size: 18px;
		margin-right: 135px;
}

.diamonds .diamond {
		background: transparent;
		display: block;
		height: 243px;
		overflow: hidden;
		position: relative;
		text-decoration: none;
		width: 245px;
		overflow: hidden;
		transform: rotate(-45deg);
}

.diamonds .diamond:after {
		transition: all 0.2s ease;
		content: " ";
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		background: #000;
		opacity: 0;
		transform: scale(0);
		z-index: 100;
}

.diamonds .diamond:before {
		transition: all 0.2s ease;
		color: var(--light);
		content: "\e091";
		font-family: "simple-line-icons";
		font-size: 28px;
		position: absolute;
		left: 50%;
		top: 50%;
		opacity: 0;
		z-index: 1000;
		transform-origin: 50% 50%;
		transform: translate3d(-50%, -50%, 0) rotate(45deg) scale(2);
}

.diamonds .diamond:hover:after {
		opacity: 0.3;
		transform: scale(1);
}

.diamonds .diamond:hover:before {
		opacity: 1;
		transform: translate3d(-50%, -50%, 0) rotate(45deg) scale(1);
}

.diamonds .content {
		display: table-cell;
		height: 255px;
		padding: 0 8px 0 6px;
		transform: rotate(45deg);
		text-align: center;
		vertical-align: middle;
		width: 255px;
		position: relative;
}

.diamonds .content img {
		max-width: 375px;
		margin-left: -50%;
}

.diamonds .diamond-sm {
		height: 123px;
		width: 123px;
}

.diamonds .diamond-sm .content {
		height: 123px;
		width: 123px;
}

.diamonds .diamond-sm .content:after {
		left: 24%;
		top: 48%;
}

@media (min-width: 1199px) {
		.diamonds > li:nth-child(3) {
				margin-right: 0;
		}
		.diamonds > li:nth-child(4) {
				right: 143px;
				top: 9px;
				position: absolute;
		}
		.diamonds > li:nth-child(5) {
				margin-left: 516px;
				margin-top: -70px;
		}
		.diamonds > li:nth-child(6) {
				position: absolute;
				margin: -8px 0 0 -27px;
				right: -14px;
		}
		.diamonds > li:nth-child(7) {
				position: absolute;
				margin: 93px 0 0 -133px;
				right: 90px;
		}
		.diamonds .diamond-sm {
				height: 123px;
				width: 123px;
		}
		.diamonds .diamond-sm .content {
				height: 123px;
				width: 123px;
		}
		.diamonds .diamond-sm .content img {
				max-width: 195px;
		}
}

@media (max-width: 1198px) {
		.diamonds {
				text-align: center;
				width: 748px;
				margin: 0 auto;
				padding: 75px 0 0 75px;
		}
		.diamonds::after {
				clear: both;
				content: "";
				display: block;
		}
		.diamonds > li {
				margin: 0;
				position: static;
				float: left;
		}
		.diamonds > li:nth-child(2n+2) {
				margin-bottom: -50px;
				margin-left: 55px;
				margin-top: 200px;
		}
		.diamonds > li:nth-child(2n+1) {
				clear: both;
		}
		.diamonds > li:nth-child(4) {
				float: left;
		}
		.diamonds > li:nth-child(5), .diamonds > li:nth-child(6), .diamonds > li:nth-child(7) {
				float: right;
		}
		.diamonds > li:nth-child(7) {
				margin-top: 40px;
		}
}

@media (max-width: 748px) {
		.diamonds {
				margin: 0 auto;
				padding: 25px 0 0 0;
				text-align: center;
				width: 445px;
		}
		.diamonds > li {
				float: none !important;
				clear: both !important;
				margin: 45px 0 115px 95px !important;
				display: block;
		}
		.diamonds > li:nth-child(4), .diamonds > li:nth-child(6), .diamonds > li:nth-child(7) {
				margin-left: 158px !important;
		}
}

@media (max-width: 575px) {
		.diamonds-wrapper {
				min-height: 2290px;
		}
		.diamonds-wrapper .diamonds {
				margin: 0 auto;
				padding: 25px 0 0;
				text-align: center;
				width: 445px;
				position: absolute;
				left: 50%;
				margin-left: -222px;
		}
		.diamonds-wrapper .diamonds .diamond {
				margin: 130px auto 0;
		}
		.diamonds-wrapper .diamonds > li {
				text-align: center;
				margin: 0 !important;
		}
		.diamonds-wrapper .diamonds > li:first-child .diamond {
				margin-top: 60px;
		}
}

/*
* Testimonials
*/
.testimonial.testimonial-with-quotes.custom-testimonial-quote-position-1 blockquote:before {
		left: -28px;
}

/*
* Tabs
*/
.tabs.tabs-simple .nav-tabs > li .nav-link:not(.active) {
		border-bottom: 0 !important;
}

/*
* Accordion
*/
.custom-accordion-style-1 > .card {
		border: 1px solid transparent !important;
		transition: ease border-color 300ms;
}

.custom-accordion-style-1 > .card .card-header {
		margin: 0;
}

.custom-accordion-style-1 > .card .card-header a {
		position: relative;
		padding: 23px 30px;
		background-color: #f4f4f4;
		transition: ease background-color 300ms, ease color 300ms;
}

.custom-accordion-style-1 > .card .card-header a:after {
		content: '+';
		position: absolute;
		top: 50%;
		right: 25px;
		font-size: inherit;
		font-weight: inherit;
		transform: translate3d(0, -50%, 0) rotate(45deg);
		transform-origin: 50% 50%;
		transition: ease transform 300ms;
}

.custom-accordion-style-1 > .card .card-header a.collapsed:after {
		transform: translate3d(0, -50%, 0) rotate(0deg);
}

.custom-accordion-style-1 > .card .card-header + .collapse.show,
.custom-accordion-style-1 > .card .card-header + .collapsing {
		background: #f4f4f4;
		border-top: 0;
}

.custom-accordion-style-1 > .card + .card {
		margin-top: 17px;
}

/*
* Process
*/
.custom-process-style-1.process.process-vertical .process-step-circle {
		width: 80px;
		height: 80px;
		border-color: var(--grey-500);
		flex: 0 0 auto;
}

.custom-process-style-1.process.process-vertical .process-step:after {
		width: 3px;
		height: calc(100% - 110px);
		top: 95px;
		left: 39px;
		background-color: #d4d4d4;
}

/*
* Footer
*/
#footer {
		background: #f4f4f4;
}

/* Skin */
/*
* Header
*/
html #header .header-logo.custom-header-logo:before {
		background-color: var(--primary);
}

/*
* Sticky Sidebar
*/
#sidebar a.active {
		color: var(--primary) !important;
}

/*
* Thumb Gallery Wrapper
*/
.thumb-gallery-wrapper .thumb-gallery-thumbs .owl-item:hover,
.thumb-gallery-wrapper .thumb-gallery-thumbs .owl-item.selected {
		border-color: var(--primary) !important;
}

/*
* Accordion
*/
.custom-accordion-style-1 > .card .card-header a:not(.collapsed) {
		background-color: var(--primary);
		color: var(--primary-inverse) !important;
}

.custom-accordion-style-1 > .card:hover .card-header a.collapsed {
		color: var(--primary) !important;
}

/*
* Process
*/
.custom-process-style-1.process.process-vertical .process-step-circle .process-step-circle-content {
		color: var(--primary);
}

.custom-process-style-1.process.process-vertical .process-step:hover .process-step-circle {
		border-color: var(--primary);
}

.custom-process-style-1.process.process-vertical .process-step:hover .process-step-circle .process-step-circle-content {
		color: var(--primary-inverse);
}

/*
* Hero Section - Mobile Optimization & Readability
*/
.custom-hero-section-mobile {
	min-height: 100vh;
	position: relative;
}

/* Enhanced overlay for better text readability */
.custom-hero-section-mobile::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.2) 0%,
		rgba(0, 0, 0, 0.3) 40%,
		rgba(0, 0, 0, 0.5) 70%,
		rgba(0, 0, 0, 0.6) 100%
	);
	z-index: 1;
	pointer-events: none;
}

/* Ensure content is above overlay */
.custom-hero-section-mobile > .container,
.custom-hero-section-mobile .owl-stage-outer {
	position: relative;
	z-index: 2;
}

@media (max-width: 991px) {
	.custom-hero-section-mobile {
		min-height: 85vh !important;
		height: 85vh !important;
		background-attachment: scroll !important;
	}
}

@media (max-width: 767px) {
	.custom-hero-section-mobile {
		min-height: 75vh !important;
		height: 75vh !important;
	}
}

.custom-hero-content-mobile {
	padding: 1rem;
}

@media (max-width: 991px) {
	.custom-hero-content-mobile {
		padding: 1.5rem 1rem;
		justify-content: center !important;
	}
}

@media (max-width: 575px) {
	.custom-hero-content-mobile {
		padding: 1rem 0.75rem;
	}
}

/* Hero Title 1 - Improved Readability */
.custom-hero-title-1 {
	font-size: 2.5rem;
	line-height: 1.2;
	/* Text shadow for better readability */
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4),
	             0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
	.custom-hero-title-1 {
		font-size: 1.75rem !important;
		line-height: 1.3 !important;
		margin-bottom: 0.75rem !important;
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
}

@media (max-width: 575px) {
	.custom-hero-title-1 {
		font-size: 1.5rem !important;
		line-height: 1.3 !important;
		margin-bottom: 0.5rem !important;
		padding-left: 0.5rem !important;
		padding-right: 0.5rem !important;
	}
}

/* Hero Title 2 - Improved Readability */
.custom-hero-title-2 {
	font-size: 6rem;
	line-height: 1;
	/* Stronger text shadow for large text */
	text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5),
	             0 6px 30px rgba(0, 0, 0, 0.4),
	             0 0 3px rgba(0, 0, 0, 0.7);
}

@media (max-width: 991px) {
	.custom-hero-title-2 {
		font-size: 3.5rem !important;
		line-height: 1 !important;
		margin-bottom: 0.75rem !important;
	}
}

@media (max-width: 575px) {
	.custom-hero-title-2 {
		font-size: 2.75rem !important;
		line-height: 1 !important;
		margin-bottom: 0.5rem !important;
	}
}

/* Hero Subtitle - Improved Readability */
.custom-hero-subtitle {
	font-size: 1.25rem;
	/* Text shadow for better readability */
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5),
	             0 4px 16px rgba(0, 0, 0, 0.4),
	             0 0 2px rgba(0, 0, 0, 0.8);
	/* Backdrop blur with semi-transparent background for modern look */
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 1rem 1.5rem;
	border-radius: 8px;
	display: inline-block;
	max-width: 90%;
	/* Ensure text is fully opaque */
	opacity: 1 !important;
	color: #ffffff !important;
	font-weight: 400;
	line-height: 1.6;
	/* Subtle border for definition */
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
	.custom-hero-subtitle {
		font-size: 1rem !important;
		line-height: 1.5 !important;
		margin-bottom: 1.5rem !important;
		padding: 0.875rem 1.25rem !important;
		max-width: 95%;
		text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6),
		             0 3px 12px rgba(0, 0, 0, 0.5),
		             0 0 2px rgba(0, 0, 0, 0.9);
		background: rgba(0, 0, 0, 0.4) !important;
	}
}

@media (max-width: 575px) {
	.custom-hero-subtitle {
		font-size: 0.9rem !important;
		line-height: 1.4 !important;
		margin-bottom: 1.25rem !important;
		padding: 0.75rem 1rem !important;
		max-width: 100%;
		text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7),
		             0 2px 10px rgba(0, 0, 0, 0.6),
		             0 0 2px rgba(0, 0, 0, 1);
		background: rgba(0, 0, 0, 0.5) !important;
	}
}

.custom-hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	width: 100%;
	max-width: 100%;
}

@media (max-width: 991px) {
	.custom-hero-buttons {
		flex-direction: column;
		align-items: stretch;
		margin-top: 1rem !important;
		padding: 0 1rem;
		gap: 0.5rem;
	}
}

@media (max-width: 575px) {
	.custom-hero-buttons {
		margin-top: 0.75rem !important;
		padding: 0 0.75rem;
		gap: 0.5rem;
	}
}

.custom-hero-btn {
	min-width: 200px;
	white-space: nowrap;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.custom-hero-btn {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 0.65rem 1.25rem !important;
		font-size: 0.85rem !important;
		margin: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		text-align: center;
		display: block;
		box-sizing: border-box;
	}

	.custom-hero-buttons .custom-hero-btn:first-child,
	.custom-hero-buttons .custom-hero-btn:last-child {
		width: 100% !important;
		flex: 0 0 100% !important;
	}
}

@media (max-width: 575px) {
	.custom-hero-btn {
		padding: 0.6rem 1rem !important;
		font-size: 0.8rem !important;
		letter-spacing: 0.02em;
	}
}

.custom-hero-scroll-btn {
	bottom: 2rem;
}

@media (max-width: 991px) {
	.custom-hero-scroll-btn {
		bottom: 1rem;
		font-size: 0.75rem;
	}
}

@media (max-width: 575px) {
	.custom-hero-scroll-btn {
		bottom: 0.75rem;
		font-size: 0.7rem;
	}
}

/* Carousel overlay enhancement */
.owl-carousel.custom-hero-section-mobile .owl-item {
	position: relative;
}

.owl-carousel.custom-hero-section-mobile .owl-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.2) 0%,
		rgba(0, 0, 0, 0.3) 40%,
		rgba(0, 0, 0, 0.5) 70%,
		rgba(0, 0, 0, 0.6) 100%
	);
	z-index: 1;
	pointer-events: none;
}

.owl-carousel.custom-hero-section-mobile .container {
	position: relative;
	z-index: 2;
}

@media (max-width: 991px) {
	.owl-carousel.custom-hero-section-mobile {
		min-height: 85vh !important;
		height: 85vh !important;
	}

	.owl-carousel.custom-hero-section-mobile .owl-item {
		min-height: 85vh !important;
	}
}

@media (max-width: 767px) {
	.owl-carousel.custom-hero-section-mobile {
		min-height: 75vh !important;
		height: 75vh !important;
	}

	.owl-carousel.custom-hero-section-mobile .owl-item {
		min-height: 75vh !important;
	}
}

/*
* Projects Page - Mobile Optimization
*/
/* Mobile Filter Button */
@media (max-width: 991px) {
	.projects-filter-btn {
		position: sticky;
		top: 70px;
		z-index: 100;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
		margin-bottom: 1rem !important;
		padding: 0.75rem 1rem;
		font-size: 0.9rem;
		border-radius: 8px;
		background-color: var(--light);
		border: 1px solid var(--grey-scale-2);
		color: var(--dark);
		font-weight: 500;
		transition: all 0.2s ease;
	}

	.projects-filter-btn:hover {
		background-color: var(--grey-scale-1);
		border-color: var(--grey-scale-3);
		color: var(--dark);
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}

	.projects-filter-btn:active {
		transform: translateY(0);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	.projects-filter-btn .badge {
		font-size: 0.7rem;
		padding: 0.25rem 0.5rem;
		font-weight: 600;
	}
}

@media (max-width: 575px) {
	.projects-filter-btn {
		top: 60px;
		padding: 0.65rem 0.875rem;
		font-size: 0.85rem;
	}
}

/* Projects Results Bar - Mobile */
@media (max-width: 767px) {
	.projects-results-bar {
		padding: 0.875rem !important;
		margin-bottom: 1rem !important;
	}

	.projects-results-title {
		font-size: 0.95rem;
		margin-bottom: 0.5rem !important;
	}

	.projects-results-title i {
		font-size: 0.85rem;
	}

	.projects-results-count {
		font-size: 0.8rem !important;
		line-height: 1.4;
	}
}

@media (max-width: 575px) {
	.projects-results-bar {
		padding: 0.75rem !important;
	}

	.projects-results-title {
		font-size: 0.875rem;
	}

	.projects-results-count {
		font-size: 0.75rem !important;
	}
}

/* Projects Filter Links - Mobile & Desktop */
.projects-filter-link {
	transition: ease all 200ms;
}

.projects-filter-link:hover {
	color: var(--primary) !important;
}

.projects-filter-link.text-color-primary {
	color: var(--primary) !important;
	font-weight: 600;
}

.projects-filter-badge {
	font-size: 0.7rem;
	min-width: 2rem;
	text-align: center;
	font-weight: 600;
	border: 1px solid #e9ecef;
	transition: all 0.2s ease;
}

.projects-filter-link:hover .projects-filter-badge {
	background-color: var(--primary-rgba-10) !important;
	border-color: var(--primary-rgba-30);
}

.projects-tags-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.projects-tag-badge {
	font-size: 0.75rem;
	padding: 0.4rem 0.75rem;
	transition: ease all 200ms;
	border: 1px solid #e9ecef;
	font-weight: 500;
}

.projects-tag-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	background-color: var(--primary-rgba-10) !important;
	border-color: var(--primary-rgba-30);
}

.projects-tag-badge.bg-color-primary {
	background-color: var(--primary) !important;
	color: var(--light) !important;
	border-color: var(--primary);
}

.projects-tag-link {
	display: inline-block;
}

/* Projects Filter Links - Mobile Specific */
@media (max-width: 991px) {
	.projects-filter-link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.75rem 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	}

	.projects-filter-link:last-child {
		border-bottom: 0;
	}

	.projects-filter-link:hover,
	.projects-filter-link:focus {
		background-color: rgba(0, 0, 0, 0.02);
		padding-left: 0.5rem;
	}

	/* Cerrar offcanvas al hacer click en tag */
	.projects-tag-link:active {
		opacity: 0.8;
	}
}

/* Desktop Sidebar Styling */
@media (min-width: 992px) {
	.projects-sidebar-sticky .card-header {
		background-color: var(--grey-scale-1);
		border-bottom: 1px solid var(--grey-scale-2);
	}

	.projects-sidebar-sticky .card-header h5 {
		color: var(--dark);
	}

	.projects-sidebar-sticky .card-header i {
		color: var(--grey);
	}
}

/*
* Project Detail Page - Mobile Optimization
*/
/* Project Hero Image */
.project-hero-image-wrapper {
	overflow: hidden;
}

.project-hero-image {
	max-height: 400px;
	object-fit: cover;
	width: 100%;
	transition: transform 0.4s ease;
}

.project-hero-image-wrapper:hover .project-hero-image {
	transform: scale(1.05);
}

@media (min-width: 768px) {
	.project-hero-image {
		max-height: 600px;
	}
}

/* Project Title - Mobile */
.project-title {
	font-size: 1.75rem;
	line-height: 1.3;
}

@media (min-width: 768px) {
	.project-title {
		font-size: 2.5rem;
		line-height: 1.2;
	}
}

/* Project Quick Info Bar - Mobile */
.project-quick-info {
	font-size: 0.875rem;
}

.project-quick-info i {
	font-size: 1rem;
}

/* Project Meta Info - Mobile */
.project-meta-info {
	margin-top: 1rem;
}

.project-meta-info .badge {
	font-size: 0.8rem;
	padding: 0.4rem 0.8rem;
}

@media (min-width: 768px) {
	.project-meta-info .badge {
		font-size: 0.875rem;
		padding: 0.5rem 1rem;
	}
}

/* Project Description - Mobile */
.project-description-title {
	font-size: 1.5rem;
	line-height: 1.3;
}

@media (min-width: 768px) {
	.project-description-title {
		font-size: 2rem;
		line-height: 1.2;
	}
}

.project-description-content {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--grey);
}

@media (min-width: 768px) {
	.project-description-content {
		font-size: 1.1rem;
		line-height: 1.9;
	}
}

/* Project CTA Section - Mobile */
.project-cta-section {
	margin-top: 2rem;
}

.project-cta-section .card-body {
	padding: 1.5rem;
}

@media (min-width: 768px) {
	.project-cta-section .card-body {
		padding: 2.5rem;
	}
}

.project-cta-section h4 {
	font-size: 1.25rem;
}

@media (min-width: 768px) {
	.project-cta-section h4 {
		font-size: 1.5rem;
	}
}

.project-cta-section .btn {
	font-size: 0.9rem;
	padding: 0.75rem 1.5rem;
}

@media (min-width: 768px) {
	.project-cta-section .btn {
		font-size: 1rem;
		padding: 0.875rem 2rem;
	}
}

/* Project External Link Card */
.project-external-link-card {
	background-color: var(--light);
	position: relative;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.08);
}

.project-external-link-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--primary-rgba-40), transparent);
	transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 1;
	pointer-events: none;
}

.project-external-link-card:hover::before {
	left: 100%;
}

.project-external-link-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
	border-color: var(--primary-rgba-20);
}

/* Project Tag Detail Styles */
.project-tag-detail {
	font-size: 0.875rem;
	font-weight: 500;
	background-color: var(--grey-scale-2) !important;
	border: 1px solid #e9ecef;
	transition: all 0.2s ease;
}

.project-tag-detail:hover {
	background-color: var(--primary-rgba-10) !important;
	border-color: var(--primary-rgba-30);
	transform: translateY(-1px);
}

/* Project Sidebar - Desktop Sticky */
@media (min-width: 992px) {
	.project-sidebar-sticky {
		position: -webkit-sticky;
		position: sticky;
		top: 2rem;
		z-index: 10;
		align-self: flex-start;
	}
}

/* Project Info Card - Desktop Sidebar */
.project-info-card {
	position: relative;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.08);
}

.project-info-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--primary-rgba-40), transparent);
	transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 1;
	pointer-events: none;
}

.project-info-card:hover::before {
	left: 100%;
}

.project-info-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
	border-color: var(--primary-rgba-20);
}

/* Project Share Card - Desktop & Mobile */
.project-share-card {
	position: relative;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.08);
}

.project-share-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--primary-rgba-40), transparent);
	transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 1;
	pointer-events: none;
}

.project-share-card:hover::before {
	left: 100%;
}

.project-share-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
	border-color: var(--primary-rgba-20);
}

/* Share Social Buttons - Mobile & Desktop */
.btn-share-social {
	border-radius: 0;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 1px solid transparent;
	padding: 0.5rem 0.75rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	text-decoration: none;
	color: var(--light);
	font-size: 0.75rem;
}

.btn-share-social i {
	font-size: 1rem;
	margin-bottom: 0.25rem;
}

.btn-share-social span {
	font-size: 0.65rem;
	font-weight: 500;
	line-height: 1.2;
}

.btn-share-facebook {
	background-color: #1877f2;
	color: var(--light);
}

.btn-share-facebook:hover {
	background-color: #166fe5;
	color: var(--light);
	box-shadow: 0 2px 8px rgba(24, 119, 242, 0.25);
}

.btn-share-twitter {
	background-color: #1da1f2;
	color: var(--light);
}

.btn-share-twitter:hover {
	background-color: #1a91da;
	color: var(--light);
	box-shadow: 0 2px 8px rgba(29, 161, 242, 0.25);
}

.btn-share-linkedin {
	background-color: #0077b5;
	color: var(--light);
}

.btn-share-linkedin:hover {
	background-color: #006399;
	color: var(--light);
	box-shadow: 0 2px 8px rgba(0, 119, 181, 0.25);
}

.btn-share-copy {
	background-color: var(--grey-scale-2);
	color: var(--dark);
	border-color: var(--grey-scale-3);
}

.btn-share-copy:hover {
	background-color: var(--grey-scale-3);
	color: var(--dark);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
	.btn-share-social {
		min-height: 45px;
		padding: 0.5rem 0.65rem;
	}

	.btn-share-social span {
		display: none;
	}

	.btn-share-social i {
		margin-bottom: 0;
		font-size: 1rem;
	}
}

@media (max-width: 575px) {
	.btn-share-social {
		min-height: 45px;
		padding: 0.4rem 0.5rem;
	}

	.btn-share-social i {
		font-size: 0.9rem;
	}

	.btn-share-social span {
		font-size: 0.6rem;
	}
}

/* Related Projects Section - Carousel */
.related-projects-section {
	background-color: var(--grey-scale-1) !important;
}

.related-projects-title {
	font-size: 2rem;
	line-height: 1.2;
}

.related-projects-subtitle {
	font-size: 1.1rem;
	line-height: 1.5;
}

.related-project-item {
	padding: 0 10px;
}

.related-project-card {
	position: relative;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.08);
}

/* Animated top border on hover - Aligned with services */
.related-project-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--primary-rgba-40), transparent);
	transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 1;
	pointer-events: none;
}

.related-project-card:hover::before {
	left: 100%;
}

.related-project-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 50px rgba(0,0,0,0.15) !important;
	border-color: var(--primary-rgba-20);
}

.related-project-image-wrapper {
	height: 250px;
	overflow: hidden;
}

.related-project-image {
	object-fit: cover;
	transition: transform 0.4s ease;
	width: 100%;
	height: 100%;
}

.related-project-card:hover .related-project-image {
	transform: scale(1.08);
}

.related-project-title {
	font-size: 1.15rem;
	line-height: 1.4;
	min-height: 3rem;
}

.related-project-description {
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Related Projects Carousel Navigation */
.related-projects-carousel .owl-nav {
	margin-top: 2rem;
}

.related-projects-carousel .owl-nav button {
	width: 40px;
	height: 40px;
}

@media (max-width: 767px) {
	.related-projects-section {
		padding: 2rem 0 !important;
	}

	.related-projects-title {
		font-size: 1.5rem !important;
		margin-bottom: 0.75rem !important;
	}

	.related-projects-subtitle {
		font-size: 0.95rem !important;
	}

	.related-project-image-wrapper {
		height: 200px !important;
	}

	.related-project-title {
		font-size: 1rem !important;
		min-height: auto !important;
	}

	.related-project-description {
		font-size: 0.875rem !important;
	}

	.related-projects-carousel .owl-dots {
		margin-top: 1.5rem;
	}

	.related-projects-carousel .owl-dots .owl-dot span {
		width: 10px;
		height: 10px;
	}
}

/* Offcanvas Filters - Mobile */
@media (max-width: 991px) {
	#projectsFiltersOffcanvas {
		width: 85%;
		max-width: 400px;
	}

	#projectsFiltersOffcanvas .offcanvas-header {
		background-color: var(--grey-scale-1);
		color: var(--dark);
		border-bottom: 1px solid var(--grey-scale-2);
	}

	#projectsFiltersOffcanvas .offcanvas-header .offcanvas-title {
		color: var(--dark);
		font-weight: 600;
	}

	#projectsFiltersOffcanvas .offcanvas-header .offcanvas-title i {
		color: var(--grey);
	}

	#projectsFiltersOffcanvas .offcanvas-body {
		overflow-y: auto;
		max-height: calc(100vh - 60px);
		background-color: var(--light);
	}
}

/* Project Badge Styles - Aligned with Services */
.project-badge {
	font-size: 0.75rem;
	font-weight: 600;
	transition: all 0.2s ease;
	border: 1px solid #e9ecef;
}

.project-badge:hover {
	background-color: var(--primary-rgba-10) !important;
	border-color: var(--primary-rgba-30);
	transform: translateY(-1px);
}

.project-badge-detail {
	font-size: 0.875rem;
	font-weight: 600;
	transition: all 0.2s ease;
	border: 1px solid #e9ecef;
}

.project-badge-detail:hover {
	background-color: var(--primary-rgba-10) !important;
	border-color: var(--primary-rgba-30);
	transform: translateY(-1px);
}

/* Project Cards - Mobile Optimization */
@media (max-width: 767px) {
	.project-card-wrapper {
		margin-bottom: 1.25rem;
	}

	.project-card {
		margin-bottom: 0;
		border-radius: 12px;
		overflow: hidden;
	}

	.project-card .card-body {
		padding: 1rem !important;
	}

	.project-card .card-title {
		font-size: 1rem !important;
		min-height: auto !important;
		line-height: 1.4 !important;
		margin-bottom: 0.75rem !important;
	}

	.project-card .card-title a {
		font-size: 1rem;
		line-height: 1.4;
	}

	.project-image-wrapper {
		height: 200px !important;
	}

	.project-badge,
	.project-tag {
		font-size: 0.7rem;
		padding: 0.35rem 0.65rem;
		margin-bottom: 0.5rem;
	}

	/* Optimizar descripción en mobile */
	.project-card .text-color-grey {
		font-size: 0.875rem;
		line-height: 1.5;
		margin-bottom: 0.75rem !important;
	}

	/* Optimizar link "Ver Detalles" en mobile */
	.project-card .custom-view-more {
		font-size: 0.875rem;
		padding: 0.5rem 0;
	}

	.project-card .custom-view-more i {
		font-size: 0.75rem;
	}
}

@media (max-width: 575px) {
	.project-card-wrapper {
		margin-bottom: 1rem;
	}

	.project-card .card-body {
		padding: 0.875rem !important;
	}

	.project-image-wrapper {
		height: 180px !important;
	}

	.project-card .card-title {
		font-size: 0.95rem !important;
		margin-bottom: 0.5rem !important;
	}

	.project-badge,
	.project-tag {
		font-size: 0.65rem;
		padding: 0.3rem 0.55rem;
	}
}

/* Pagination - Mobile Optimization */
@media (max-width: 767px) {
	.pagination {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.25rem;
		margin-top: 1.5rem !important;
	}

	.pagination .page-link {
		padding: 0.5rem 0.75rem;
		font-size: 0.875rem;
		min-width: 44px;
		text-align: center;
		border-radius: 6px;
	}

	.pagination .page-item .page-link span {
		display: none;
	}

	.pagination .page-item.disabled .page-link {
		opacity: 0.4;
	}

	/* Info de resultados en mobile */
	.pagination-wrapper .text-color-grey {
		font-size: 0.8rem;
		text-align: center;
		margin-bottom: 1rem;
	}
}

/* Ocultar números de página en mobile muy pequeño, solo mostrar prev/next */
@media (max-width: 575px) {
	.pagination .page-item:not(.page-item:first-child):not(.page-item:last-child) {
		display: none;
	}

	.pagination .page-item.disabled span.page-link {
		display: none;
	}

	.pagination .page-link {
		padding: 0.45rem 0.65rem;
		font-size: 0.8rem;
		min-width: 40px;
	}
}

/* Sticky Sidebar for Projects - Desktop */
@media (min-width: 992px) {
	.col-lg-3 .projects-sidebar-sticky {
		position: -webkit-sticky !important;
		position: sticky !important;
		top: 2rem !important;
		z-index: 10;
		align-self: flex-start;
	}

	.projects-sidebar-sticky {
		max-height: calc(100vh - 4rem);
		overflow-y: auto;
	}

	.projects-sidebar-sticky::-webkit-scrollbar {
		width: 6px;
	}

	.projects-sidebar-sticky::-webkit-scrollbar-track {
		background: #f1f1f1;
		border-radius: 3px;
	}

	.projects-sidebar-sticky::-webkit-scrollbar-thumb {
		background: #888;
		border-radius: 3px;
	}

	.projects-sidebar-sticky::-webkit-scrollbar-thumb:hover {
		background: #555;
	}
}

/*
* Header Dropdown - Mobile Optimization
*/
@media (max-width: 991px) {
	/* Ocultar iconos en dropdown items en mobile */
	#header .header-nav-main nav .dropdown-menu .dropdown-item i {
		display: none !important;
	}

	/* Mejorar espaciado y legibilidad de dropdown items en mobile */
	#header .header-nav-main nav .dropdown-menu {
		padding: 0.5rem 0;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	#header .header-nav-main nav .dropdown-menu .dropdown-item {
		padding: 0.75rem 1rem;
		font-size: 14px;
		line-height: 1.5;
		color: var(--dark);
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
		transition: ease background-color 200ms, ease color 200ms;
	}

	#header .header-nav-main nav .dropdown-menu .dropdown-item:last-child {
		border-bottom: 0;
	}

	#header .header-nav-main nav .dropdown-menu .dropdown-item:hover,
	#header .header-nav-main nav .dropdown-menu .dropdown-item:focus {
		background-color: rgba(0, 0, 0, 0.03);
		color: var(--primary);
	}

	/* Ajustar badges en mobile */
	#header .header-nav-main nav .dropdown-menu .dropdown-item .badge {
		font-size: 0.7rem;
		padding: 0.25rem 0.5rem;
		margin-left: auto;
		font-weight: 600;
	}

	/* Ocultar dividers en mobile */
	#header .header-nav-main nav .dropdown-menu .dropdown-divider {
		display: none;
	}

	/* Mejorar espaciado del dropdown toggle en mobile */
	#header .header-nav-main nav > ul > li.dropdown > a {
		padding-right: 2.5rem;
	}

	/* Asegurar que el dropdown se vea bien en mobile */
	#header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
		position: static;
		float: none;
		width: 100%;
		margin-top: 0;
		margin-left: 1rem;
		border-left: 2px solid var(--primary);
		padding-left: 0.5rem;
	}
}

/* ==========================================
   CONTACT PAGE - CAREER SECTION
   ========================================== */

/* Career CTA Section */
.contact-career-section {
	transition: all 0.3s ease;
}

.contact-career-section .card {
	transition: all 0.3s ease;
	border-top: 3px solid var(--primary);
}

.contact-career-section .card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.contact-career-section a {
	transition: all 0.3s ease;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.contact-career-section a:hover {
	text-decoration-thickness: 3px;
	transform: translateY(-1px);
}

@media (max-width: 767px) {
	.contact-career-section {
		margin-top: 2rem !important;
		padding-top: 2rem !important;
	}

	.contact-career-section .card {
		padding: 1.5rem !important;
	}

	.contact-career-section p {
		font-size: 1rem !important;
		line-height: 1.6 !important;
	}
}
