/**
 * Company history page parity for Elementor-built content.
 */

body.duende-site.duende-company-history-page {
	background:
		radial-gradient(1200px 600px at 20% 0%, rgba(230, 57, 70, 0.08), transparent 60%),
		radial-gradient(900px 600px at 90% 20%, rgba(10, 14, 39, 1), transparent 70%),
		#050714 !important;
	color: #fff;
}

body.duende-company-history-page .site-main,
body.duende-company-history-page #content,
body.duende-company-history-page > .elementor:not(.elementor-location-header):not(.elementor-location-footer),
body.duende-company-history-page .site-main .elementor {
	background: transparent !important;
	padding-top: 0 !important;
}

body.duende-company-history-page .elementor-widget {
	margin-bottom: 0 !important;
}

body.duende-company-history-page .elementor-widget-container,
body.duende-company-history-page .elementor-heading-title,
body.duende-company-history-page p {
	margin: 0 !important;
}

body.duende-company-history-page .duende-page-hero,
body.duende-company-history-page .duende-history-story,
body.duende-company-history-page .duende-history-timeline,
body.duende-company-history-page .duende-history-cta {
	background: transparent !important;
	color: #fff;
}

body.duende-company-history-page .duende-page-hero {
	position: relative !important;
	overflow: hidden !important;
	padding: 10rem 0 4rem !important;
}

body.duende-company-history-page .duende-page-hero::before {
	content: "";
	pointer-events: none;
	position: absolute;
	top: -10rem;
	left: -10rem;
	width: 36rem;
	height: 36rem;
	border-radius: 9999px;
	background: rgba(230, 57, 70, 0.12);
	filter: blur(140px);
}

body.duende-company-history-page .duende-page-hero > .elementor-container {
	position: relative;
	z-index: 1;
	width: min(90rem, 100%) !important;
	max-width: 90rem !important;
	margin: 0 auto !important;
	padding: 0 1.5rem !important;
}

body.duende-company-history-page .duende-page-hero > .elementor-container > .elementor-column {
	width: 100% !important;
}

body.duende-company-history-page .duende-page-hero .elementor-widget-wrap {
	display: block !important;
	padding: 0 !important;
}

body.duende-company-history-page .duende-page-hero__kicker .elementor-heading-title {
	color: #fff !important;
	font-family: var(--duende-body) !important;
	font-size: 0.75rem !important;
	font-weight: 400 !important;
	line-height: 1.333333 !important;
	letter-spacing: 0.35em !important;
	text-transform: uppercase !important;
}

body.duende-company-history-page .duende-page-hero__kicker {
	margin-bottom: 2rem !important;
}

body.duende-company-history-page .duende-page-hero__title .elementor-heading-title {
	color: #fff !important;
	font-family: var(--duende-display) !important;
	font-size: 3rem !important;
	font-weight: 900 !important;
	font-optical-sizing: auto;
	font-variation-settings: "opsz" 96;
	max-width: 18ch !important;
	line-height: 0.92 !important;
	letter-spacing: -0.03em !important;
}

body.duende-company-history-page .duende-page-hero__lead {
	margin-top: 2.5rem !important;
	max-width: 42rem !important;
}

body.duende-company-history-page .duende-page-hero__lead,
body.duende-company-history-page .duende-page-hero__lead .elementor-widget-container,
body.duende-company-history-page .duende-page-hero__lead p {
	color: rgba(255, 255, 255, 0.65) !important;
	font-family: var(--duende-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.625 !important;
}

body.duende-company-history-page .duende-history-story {
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.duende-company-history-page .duende-history-story > .elementor-container {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	gap: 2.5rem !important;
	width: min(80rem, 100%) !important;
	max-width: 80rem !important;
	margin: 0 auto !important;
	padding: 4rem 1.5rem !important;
}

body.duende-company-history-page .duende-history-story > .elementor-container > .elementor-column {
	width: auto !important;
	min-width: 0 !important;
}

body.duende-company-history-page .duende-history-story__sidebar {
	display: none !important;
	grid-column: span 3 !important;
}

body.duende-company-history-page .duende-history-story__content {
	grid-column: 1 / -1 !important;
	min-height: 0 !important;
}

body.duende-company-history-page .duende-history-story__label .elementor-heading-title {
	position: sticky;
	top: 8rem;
	color: #fff !important;
	font-family: var(--duende-body) !important;
	font-size: 0.75rem !important;
	font-weight: 400 !important;
	line-height: 1.333333 !important;
	letter-spacing: 0.3em !important;
	text-transform: uppercase !important;
}

body.duende-company-history-page .duende-history-timeline {
	position: relative !important;
	width: min(90rem, 100%) !important;
	max-width: 90rem !important;
	margin: 0 auto !important;
	padding: 0 0 6rem !important;
}

body.duende-company-history-page .duende-history-timeline > .elementor-container {
	width: min(90rem, 100%) !important;
	max-width: 90rem !important;
	margin: 0 auto !important;
	padding: 0 1.5rem !important;
}

body.duende-company-history-page .duende-history-timeline > .elementor-container > .elementor-column {
	width: 100% !important;
}

body.duende-company-history-page .duende-history-timeline__inner > .elementor-widget-wrap {
	position: relative !important;
	display: block !important;
	padding: 0 !important;
}

body.duende-company-history-page .duende-history-timeline__inner > .elementor-widget-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0.625rem;
	width: 1px;
	background: rgba(255, 255, 255, 0.1);
}

body.duende-company-history-page .duende-history-step {
	position: relative !important;
	padding: 0 !important;
	margin: 0 0 3rem !important;
	background: transparent !important;
}

body.duende-company-history-page .duende-history-step:last-child {
	margin-bottom: 0 !important;
}

body.duende-company-history-page .duende-history-step::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0.375rem;
	left: 0.625rem;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 9999px;
	background: #fff;
	box-shadow: 0 0 0 4px #050714;
	transform: translateX(-50%);
}

body.duende-company-history-page .duende-history-step > .elementor-container {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	gap: 1.5rem !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
}

body.duende-company-history-page .duende-history-step > .elementor-container > .elementor-column {
	width: auto !important;
	min-width: 0 !important;
}

body.duende-company-history-page .duende-history-step__content {
	grid-column: 1 / -1 !important;
	padding-left: 2rem !important;
}

body.duende-company-history-page .duende-history-step__spacer {
	display: none !important;
}

body.duende-company-history-page .duende-history-step__content > .elementor-widget-wrap,
body.duende-company-history-page .duende-history-step__spacer > .elementor-widget-wrap {
	display: block !important;
	padding: 0 !important;
}

body.duende-company-history-page .duende-history-step__year .elementor-heading-title {
	color: #fff !important;
	font-family: var(--duende-serif) !important;
	font-size: 1.875rem !important;
	font-style: italic !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
}

body.duende-company-history-page .duende-history-step__title {
	margin-top: 0.75rem !important;
}

body.duende-company-history-page .duende-history-step__title .elementor-heading-title {
	color: #fff !important;
	font-family: var(--duende-display) !important;
	font-size: 1.5rem !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em !important;
}

body.duende-company-history-page .duende-history-step__desc {
	margin-top: 0.75rem !important;
	max-width: 28rem !important;
}

body.duende-company-history-page .duende-history-step__desc,
body.duende-company-history-page .duende-history-step__desc .elementor-widget-container,
body.duende-company-history-page .duende-history-step__desc p {
	color: rgba(255, 255, 255, 0.65) !important;
	font-family: var(--duende-body) !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	line-height: 1.625 !important;
}

body.duende-company-history-page .duende-history-cta {
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.duende-company-history-page .duende-history-cta > .elementor-container {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	gap: 1.5rem !important;
	align-items: end !important;
	width: min(90rem, 100%) !important;
	max-width: 90rem !important;
	margin: 0 auto !important;
	padding: 5rem 1.5rem !important;
}

body.duende-company-history-page .duende-history-cta > .elementor-container > .elementor-column {
	width: auto !important;
	min-width: 0 !important;
}

body.duende-company-history-page .duende-history-cta__copy {
	grid-column: 1 / -1 !important;
}

body.duende-company-history-page .duende-history-cta__action {
	grid-column: 1 / -1 !important;
}

body.duende-company-history-page .duende-history-cta__copy > .elementor-widget-wrap,
body.duende-company-history-page .duende-history-cta__action > .elementor-widget-wrap {
	display: block !important;
	padding: 0 !important;
}

body.duende-company-history-page .duende-history-cta__title .elementor-heading-title {
	color: #fff !important;
	font-family: var(--duende-display) !important;
	font-size: 1.875rem !important;
	font-weight: 600 !important;
	line-height: 0.95 !important;
	letter-spacing: -0.02em !important;
}

body.duende-company-history-page .duende-history-cta__lead {
	margin-top: 1.5rem !important;
	max-width: 36rem !important;
}

body.duende-company-history-page .duende-history-cta__lead,
body.duende-company-history-page .duende-history-cta__lead .elementor-widget-container,
body.duende-company-history-page .duende-history-cta__lead p {
	color: rgba(255, 255, 255, 0.65) !important;
	font-family: var(--duende-body) !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
}

body.duende-company-history-page .duende-history-cta__btn {
	display: flex !important;
	justify-content: flex-start !important;
}

body.duende-company-history-page .duende-history-cta__btn .elementor-button {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
	padding: 0.95rem 1.6rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #fff !important;
	font-family: var(--duende-body) !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	letter-spacing: 0.02em !important;
	box-shadow: none !important;
}

body.duende-company-history-page .duende-history-cta__btn .elementor-button::after {
	content: "↗";
	display: inline-block;
	flex: 0 0 1rem;
	width: 1rem;
	height: 1rem;
	font-size: 1rem;
	line-height: 1;
	text-align: center;
}

body.duende-company-history-page .duende-history-cta__btn .elementor-button:hover,
body.duende-company-history-page .duende-history-cta__btn .elementor-button:focus-visible {
	background: transparent !important;
	color: rgba(255, 255, 255, 0.7) !important;
}

body.duende-company-history-page .duende-reveal-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--duende-reveal-delay, 0ms);
}

body.duende-company-history-page .duende-reveal-on-scroll.is-in {
	opacity: 1;
	transform: translateY(0);
}

@media (min-width: 768px) {
	body.duende-company-history-page .duende-page-hero {
		padding: 12rem 0 6rem !important;
	}

	body.duende-company-history-page .duende-page-hero > .elementor-container,
	body.duende-company-history-page .duende-history-timeline > .elementor-container {
		padding-inline: 3rem !important;
	}

	body.duende-company-history-page .duende-page-hero__title .elementor-heading-title {
		font-size: 4.5rem !important;
		line-height: 1 !important;
	}

	body.duende-company-history-page .duende-page-hero__lead,
	body.duende-company-history-page .duende-page-hero__lead .elementor-widget-container,
	body.duende-company-history-page .duende-page-hero__lead p {
		font-size: 1.125rem !important;
		line-height: 1.5555556 !important;
	}

	body.duende-company-history-page .duende-history-story > .elementor-container {
		padding: 6rem 3rem !important;
	}

	body.duende-company-history-page .duende-history-timeline {
		padding-bottom: 8rem !important;
	}

	body.duende-company-history-page .duende-history-timeline__inner > .elementor-widget-wrap::before {
		left: 50%;
		transform: translateX(-50%);
	}

	body.duende-company-history-page .duende-history-step {
		margin-bottom: 5rem !important;
	}

	body.duende-company-history-page .duende-history-step::before {
		left: 50%;
	}

	body.duende-company-history-page .duende-history-step > .elementor-container {
		gap: 3rem !important;
	}

	body.duende-company-history-page .duende-history-step__content,
	body.duende-company-history-page .duende-history-step__spacer {
		grid-column: span 6 !important;
		padding-left: 0 !important;
	}

	body.duende-company-history-page .duende-history-step__spacer {
		display: block !important;
	}

	body.duende-company-history-page .duende-history-step.is-left .duende-history-step__content {
		padding-right: 4rem !important;
		text-align: right !important;
	}

	body.duende-company-history-page .duende-history-step.is-right .duende-history-step__content {
		padding-left: 4rem !important;
	}

	body.duende-company-history-page .duende-history-step__year .elementor-heading-title {
		font-size: 3rem !important;
		line-height: 1 !important;
	}

	body.duende-company-history-page .duende-history-step__title .elementor-heading-title {
		font-size: 1.875rem !important;
		line-height: 1.2 !important;
	}

	body.duende-company-history-page .duende-history-step__desc,
	body.duende-company-history-page .duende-history-step__desc .elementor-widget-container,
	body.duende-company-history-page .duende-history-step__desc p {
		font-size: 1rem !important;
		line-height: 1.5 !important;
	}

	body.duende-company-history-page .duende-history-step.is-left .duende-history-step__desc {
		margin-left: auto !important;
	}

	body.duende-company-history-page .duende-history-cta > .elementor-container {
		padding: 7rem 3rem !important;
	}

	body.duende-company-history-page .duende-history-cta__title .elementor-heading-title {
		font-size: 3rem !important;
		line-height: 1 !important;
	}
}

@media (min-width: 1024px) {
	body.duende-company-history-page .duende-page-hero__title .elementor-heading-title {
		font-size: 7vw !important;
	}

	body.duende-company-history-page .duende-history-story__sidebar {
		display: block !important;
	}

	body.duende-company-history-page .duende-history-story__content {
		grid-column: span 9 !important;
	}

	body.duende-company-history-page .duende-history-cta__copy {
		grid-column: span 8 !important;
	}

	body.duende-company-history-page .duende-history-cta__action {
		grid-column: span 4 !important;
		align-self: end !important;
	}

	body.duende-company-history-page .duende-history-cta__action > .elementor-widget-wrap {
		display: flex !important;
		justify-content: flex-end !important;
	}

	body.duende-company-history-page .duende-history-cta__btn {
		justify-content: flex-end !important;
	}
}

/* Footer parity on this Elementor page, matching the reference footer rhythm. */
body.duende-company-history-page .duende-native-footer-logo,
body.duende-company-history-page .duende-native-footer-logo .elementor-widget-container,
body.duende-company-history-page .duende-native-footer-logo .elementor-widget-container a {
	margin: 0 !important;
	text-align: left !important;
}

body.duende-company-history-page .duende-native-footer-logo .elementor-widget-container a {
	display: block !important;
	width: fit-content !important;
}

body.duende-company-history-page .duende-native-footer-logo img {
	height: 2.5rem !important;
	width: auto !important;
}

body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:first-child .duende-native-text .elementor-widget-container,
body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:first-child .duende-native-text p {
	margin: 2rem 0 0 !important;
	max-width: 36rem !important;
	color: rgba(255, 255, 255, 0.7) !important;
	font-family: var(--duende-serif) !important;
	font-size: clamp(1.5rem, 2vw, 1.875rem) !important;
	font-style: italic !important;
	font-weight: 400 !important;
	line-height: 1.375 !important;
}

body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:first-child .duende-native-text em {
	font: inherit !important;
	color: inherit !important;
}

body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:not(:first-child) .elementor-widget-heading .elementor-heading-title {
	margin: 0 0 1.25rem !important;
	color: rgba(255, 255, 255, 0.4) !important;
	font-family: var(--duende-display) !important;
	font-size: 0.625rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.3em !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}

body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:not(:first-child) .duende-native-text p {
	margin: 0 0 0.75rem !important;
}

body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:not(:first-child) .duende-native-text p:last-child {
	margin-bottom: 0 !important;
}

body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) a {
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 0.875rem !important;
	line-height: 1.25rem !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
	white-space: normal !important;
}

body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) a.duende-footer-sub-link {
	padding-left: 0.75rem !important;
	color: rgba(255, 255, 255, 0.55) !important;
}

body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) a:hover {
	color: var(--duende-accent) !important;
}

body.duende-company-history-page .duende-native-footer-word {
	margin-top: 5rem !important;
	overflow: hidden !important;
}

body.duende-company-history-page .duende-native-footer-word .elementor-heading-title {
	color: rgba(255, 255, 255, 0.95) !important;
	font-size: 22vw !important;
	font-weight: 900 !important;
	letter-spacing: -0.04em !important;
	line-height: 0.85 !important;
	text-transform: lowercase !important;
}

body.duende-company-history-page .duende-native-footer-word .elementor-heading-title span {
	color: rgba(255, 255, 255, 0.95) !important;
}

body.duende-company-history-page .duende-native-footer-bottom .elementor-widget-wrap,
body.duende-company-history-page .duende-native-footer-bottom .elementor-widget-container,
body.duende-company-history-page .duende-native-footer-bottom .duende-native-text {
	width: 100% !important;
}

body.duende-company-history-page .duende-footer-bottomline {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 1rem !important;
	width: 100% !important;
	margin-top: 2.5rem !important;
	color: rgba(255, 255, 255, 0.4) !important;
	font-family: var(--duende-display) !important;
	font-size: 0.75rem !important;
	line-height: 1rem !important;
}

body.duende-company-history-page .duende-footer-meta,
body.duende-company-history-page .duende-footer-built {
	display: flex !important;
	align-items: center !important;
	gap: 1.5rem !important;
	flex-wrap: wrap !important;
}

body.duende-company-history-page .duende-footer-built {
	flex-shrink: 0 !important;
}

body.duende-company-history-page .duende-footer-bottomline a {
	color: rgba(255, 255, 255, 0.4) !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

body.duende-company-history-page .duende-footer-bottomline a:hover {
	color: var(--duende-accent) !important;
}

body.duende-company-history-page .duende-footer-lang {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 4rem !important;
	padding: 0.375rem 0.75rem !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	color: rgba(255, 255, 255, 0.75) !important;
	letter-spacing: 0.2em !important;
	cursor: pointer !important;
}

body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) {
	padding-top: 5rem !important;
	padding-bottom: 0 !important;
}

body.duende-company-history-page .duende-native-footer-bottom {
	padding-top: 0 !important;
	padding-bottom: 2.5rem !important;
}

@media (max-width: 767px) {
	body.duende-company-history-page .duende-footer-bottomline {
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
	}

	body.duende-company-history-page .duende-footer-meta,
	body.duende-company-history-page .duende-footer-built {
		width: 100% !important;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	body.duende-company-history-page .duende-native-footer-bottom {
		margin-top: -1.75rem !important;
	}

	body.duende-company-history-page .duende-native-footer-bottom > .elementor-container {
		padding-inline: 3rem !important;
	}
}

@media (min-width: 1024px) {
	body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		gap: 3.5rem !important;
	}

	body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:nth-child(1) {
		flex: 0 1 17.5rem !important;
		width: auto !important;
		max-width: 20rem !important;
		min-width: 0 !important;
	}

	body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:nth-child(n+2) {
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
	}

	body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:nth-child(2) {
		margin-left: 4rem !important;
	}

	body.duende-company-history-page .duende-native-footer:not(.duende-native-footer-bottom):not(.duende-native-footer-word) > .elementor-container > .elementor-column:nth-child(4) {
		margin-left: 2rem !important;
	}
}
