/**
 * Baretti / Elementor DOM compatibility and final visual hardening.
 * This file intentionally loads after the sanitized visual-parity layer.
 */

:root {
	--container: 1240px;
	--font: Inter, Arial, "Helvetica Neue", sans-serif;
	--ink: #102945;
	--muted: #5e6f82;
	--red: #ba1319;
	--red-dark: #971015;
	--line: #dfe7ef;
	--soft: #f4f7fa;
}

body.baretti-elementor-production {
	background: #fff;
	color: var(--ink);
	margin: 0;
}

.baretti-production-page.e-con,
.baretti-global-header.e-con,
.baretti-global-footer.e-con {
	--container-max-width: 1240px;
	padding: 0;
}

.baretti-production-page > .e-con,
.baretti-global-header > .e-con,
.baretti-global-footer > .e-con {
	width: 100%;
}

/* Elementor containers default to flex with an implicit gap. Source layout classes
 * must own their display model and spacing. */
.baretti-production-page .e-con {
	--gap: 0px;
	gap: 0;
}

.baretti-production-page .e-con > .elementor-widget {
	margin-block: 0;
}

.baretti-production-page .section {
	padding-block: clamp(36px, 4.4vw, 58px) !important;
}

.baretti-production-page .section-head {
	--display: flex !important;
	align-items: flex-start !important;
	display: flex !important;
	flex-direction: column !important;
	margin-bottom: clamp(20px, 2.5vw, 30px) !important;
	margin-left: 0 !important;
	margin-right: auto !important;
	max-width: 920px !important;
	text-align: left !important;
	width: 100% !important;
}

.baretti-production-page .section-head > .elementor-widget {
	align-self: flex-start !important;
	text-align: left !important;
}

.baretti-production-page .section-head > .section-title,
.baretti-production-page .section-head > .section-intro {
	--width: 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

.baretti-production-page .section-head :is(
	.section-title,
	.section-title .elementor-heading-title,
	.section-intro,
	.section-intro p
) {
	text-align: left !important;
}

.baretti-production-page .section-head .section-kicker {
	--width: auto !important;
	margin-bottom: 12px !important;
	max-width: max-content !important;
	width: auto !important;
}

.baretti-production-page .section-head .section-kicker > .elementor-widget-container {
	align-items: center;
	background: #fff1f2;
	border: 1px solid rgba(186, 19, 25, .2);
	border-radius: 999px;
	color: var(--red);
	display: inline-flex;
	font-size: 10px;
	font-weight: 900;
	gap: 8px;
	letter-spacing: .075em;
	line-height: 1;
	min-height: 28px;
	padding: 7px 12px;
	text-align: left !important;
	text-transform: uppercase;
}

.baretti-production-page .section-head .section-kicker > .elementor-widget-container::before {
	background: var(--red);
	border-radius: 999px;
	content: "";
	flex: 0 0 18px;
	height: 2px;
	width: 18px;
}

.baretti-production-page .section-head .section-kicker :is(p, span) {
	color: inherit !important;
	font: inherit !important;
	letter-spacing: inherit !important;
	margin: 0 !important;
	text-align: left !important;
	text-transform: inherit !important;
}

body.baretti-elementor-production .baretti-production-page .section-head,
body.baretti-elementor-production .baretti-production-page .section-head > .section-title,
body.baretti-elementor-production .baretti-production-page .section-head > .elementor-widget-text-editor:last-child {
	align-self: flex-start !important;
	margin-left: 0 !important;
	margin-right: auto !important;
	max-width: 920px !important;
	text-align: left !important;
	width: 100% !important;
}

body.baretti-elementor-production .baretti-production-page .section-head > .section-title .elementor-heading-title,
body.baretti-elementor-production .baretti-production-page .section-head > .elementor-widget-text-editor:last-child :is(p, div, span) {
	margin-left: 0 !important;
	margin-right: auto !important;
	text-align: left !important;
}

/* Imported revisions can contain the same hero twice in sequence. */
.baretti-production-page > .page-hero + .page-hero {
	display: none !important;
}

.baretti-production-page :is(
	.cards-2,
	.cards-3,
	.cards-4,
	.metric-grid,
	.sector-grid,
	.sector-split,
	.feature-grid,
	.product-card-grid,
	.stock-grid,
	.spare-hardware-grid,
	.app-route-grid,
	.app-area-route-grid,
	.app-feature-grid,
	.app-spec-grid,
	.certificate-download-grid,
	.principles,
	.stat-grid,
	.micro-cards,
	.future-grid,
	.company-award-grid,
	.technology-overview-cards,
	.product-route-cards,
	.profile-focus-grid
) {
	--display: grid !important;
	display: grid !important;
	gap: clamp(16px, 2vw, 24px) !important;
}

.baretti-production-page :is(.cards-2, .sector-grid, .sector-split) {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.baretti-production-page :is(.cards-3, .feature-grid, .product-card-grid, .stock-grid) {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.baretti-production-page :is(.cards-4, .metric-grid, .stat-grid) {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.baretti-production-page :is(
	.content-grid,
	.hero-grid,
	.app-detail-grid,
	.ultrafine-two-col,
	.legacy-intro-grid,
	.legacy-message-grid,
	.lu-tech-intro-grid,
	.profile-top-grid
) {
	--display: grid !important;
	align-items: center;
	display: grid !important;
	gap: clamp(26px, 4vw, 52px) !important;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr) !important;
}

.baretti-production-page :is(
	.cards-2,
	.cards-3,
	.cards-4,
	.metric-grid,
	.sector-grid,
	.sector-split,
	.feature-grid,
	.product-card-grid,
	.stock-grid,
	.spare-hardware-grid,
	.app-route-grid,
	.app-area-route-grid,
	.app-feature-grid,
	.app-spec-grid,
	.certificate-download-grid,
	.principles,
	.stat-grid,
	.micro-cards,
	.future-grid,
	.company-award-grid,
	.technology-overview-cards,
	.product-route-cards,
	.profile-focus-grid,
	.content-grid,
	.hero-grid,
	.app-detail-grid,
	.ultrafine-two-col,
	.legacy-intro-grid,
	.legacy-message-grid,
	.lu-tech-intro-grid,
	.profile-top-grid
) > .e-con {
	--flex-grow: 0 !important;
	--flex-shrink: 1 !important;
	--width: auto !important;
	flex: none !important;
	max-width: none !important;
	min-width: 0 !important;
	width: auto !important;
}

/* Elementor Free keeps flex sizing variables on imported containers. Make every
 * semantic layout span its parent, while its direct children are sized by Grid. */
.baretti-production-page :is(
	.cards-2,
	.cards-3,
	.cards-4,
	.metric-grid,
	.sector-grid,
	.sector-split,
	.feature-grid,
	.product-card-grid,
	.stock-grid,
	.spare-hardware-grid,
	.app-route-grid,
	.app-area-route-grid,
	.app-feature-grid,
	.app-spec-grid,
	.certificate-download-grid,
	.principles,
	.stat-grid,
	.micro-cards,
	.future-grid,
	.company-award-grid,
	.technology-overview-cards,
	.product-route-cards,
	.profile-focus-grid,
	.content-grid,
	.hero-grid,
	.app-detail-grid,
	.ultrafine-two-col,
	.legacy-intro-grid,
	.legacy-message-grid,
	.lu-tech-intro-grid,
	.profile-top-grid
) {
	--flex-grow: 0 !important;
	--flex-shrink: 0 !important;
	--width: 100% !important;
	align-self: stretch !important;
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* rfq-intro-layout identifies the full-width section, not the two-column grid
 * inside it. Treating it as Grid made its only .container occupy half a page. */
.baretti-production-page .baretti-section {
	--display: flex !important;
	--flex-direction: column !important;
	--width: 100% !important;
	align-items: center !important;
	display: flex !important;
	flex: 0 0 auto !important;
	flex-direction: column !important;
	max-width: 100% !important;
	width: 100% !important;
}

.baretti-production-page .baretti-section > .container {
	--flex-grow: 0 !important;
	--flex-shrink: 0 !important;
	--width: 100% !important;
	align-self: center !important;
	flex: 0 0 auto !important;
	margin-inline: auto !important;
	max-width: var(--container) !important;
	width: min(calc(100% - clamp(36px, 4vw, 48px)), var(--container)) !important;
}

/* Preserve the column count encoded in the imported card container. */
.baretti-production-page .product-card-grid.cards-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.baretti-production-page .product-card-grid.cards-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.baretti-production-page .product-card-grid.cards-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* High-priority desktop compositions found by the full 43-page audit. */
@media (min-width: 1025px) {
	body.baretti-elementor-production .baretti-production-page .content-grid > .metric-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.baretti-elementor-production .baretti-production-page .content-grid > .metric-grid > .metric {
		--width: auto !important;
		flex: none !important;
		min-width: 0 !important;
		width: auto !important;
	}

	body.baretti-elementor-production .baretti-production-page .stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.baretti-elementor-production .baretti-production-page.company-profile-page .hero-card .stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.baretti-elementor-production .baretti-production-page .app-spec-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	body.baretti-elementor-production .baretti-production-page .cards-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

.baretti-production-page :is(.p1-actions, .page-actions, .hero-actions) {
	--display: flex !important;
	align-items: center;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
}

.baretti-production-page :is(.cta-strip, .project-proposal-cta) {
	--display: grid !important;
	align-items: center;
	background: linear-gradient(135deg, #b81318 0%, #8f1416 58%, #681013 100%) !important;
	color: #fff !important;
	display: grid !important;
	gap: 24px !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	justify-content: stretch !important;
	text-align: left !important;
}

body.baretti-elementor-production .baretti-production-page .cta-strip.project-proposal-cta.e-con,
body.baretti-elementor-production .baretti-production-page .project-proposal-section .cta-strip.e-con,
body.baretti-elementor-production .baretti-production-page .app-final-cta-card.e-con,
body.baretti-elementor-production .baretti-production-page .marine-rfq-fullwidth.e-con {
	--display: grid !important;
	background-color: #b81318 !important;
	background-image: linear-gradient(135deg, #b81318 0%, #8f1416 58%, #681013 100%) !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
}

body.baretti-elementor-production .baretti-production-page :is(
	.cta-strip,
	.project-proposal-cta,
	.app-final-cta-card,
	.marine-rfq-fullwidth,
	.brochure-download-banner
) {
	align-items: center !important;
	border-radius: 20px !important;
	box-shadow: 0 24px 54px rgba(8, 38, 64, .16) !important;
	gap: clamp(20px, 3vw, 34px) !important;
	max-width: 100% !important;
	padding: clamp(28px, 4vw, 42px) !important;
	text-align: left !important;
	width: 100% !important;
}

body.baretti-elementor-production .baretti-production-page .brochure-download-banner {
	--display: grid !important;
	background-color: #082640 !important;
	background-image: linear-gradient(135deg, #082640, #12385b) !important;
	color: #fff !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
}

body.baretti-elementor-production .baretti-production-page :is(
	.cta-strip,
	.project-proposal-cta,
	.app-final-cta-card,
	.marine-rfq-fullwidth,
	.brochure-download-banner
) > * {
	--width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	width: auto !important;
}

body.baretti-elementor-production .baretti-production-page :is(
	.cta-strip,
	.project-proposal-cta,
	.app-final-cta-card,
	.marine-rfq-fullwidth,
	.brochure-download-banner
) > :is(.elementor-widget-button, .btn, .btn-white):last-child {
	justify-self: end !important;
}

body.baretti-elementor-production .baretti-production-page :is(
	.cta-strip,
	.project-proposal-cta,
	.app-final-cta-card,
	.marine-rfq-fullwidth,
	.brochure-download-banner
) :is(.elementor-button, a.btn-white, .btn-white .elementor-button) {
	background: #fff !important;
	border: 1px solid rgba(255, 255, 255, .85) !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .12) !important;
	color: var(--ink) !important;
}

.baretti-production-page :is(.cta-strip, .project-proposal-cta) :is(h2, h3, h4, p) {
	color: #fff !important;
}

.baretti-production-page .rfq-fullwidth-note {
	background: linear-gradient(145deg, #082640, #12385b) !important;
	color: #fff !important;
}

.baretti-production-page .rfq-fullwidth-note :is(h2, h3, h4, p, li) {
	color: #fff !important;
}

.baretti-production-page :is(
	.mini-card,
	.info-card,
	.sector-card,
	.feature-card,
	.service-card,
	.application-card,
	.stock-card,
	.spare-hardware-card,
	.certificate-card,
	.download-card,
	.career-card,
	.reference-card
) {
	--display: flex !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
}

/* Elementor container variables must not shrink media bands inside cards.
 * Images remain edge-to-edge across every 2/3/4-card layout. */
.baretti-production-page .mini-card.has-card-image {
	--baretti-card-gutter: clamp(22px, 3vw, 30px);
}

body.baretti-elementor-production .baretti-production-page .mini-card.has-card-image > .card-media {
	--flex-grow: 0 !important;
	--flex-shrink: 0 !important;
	--width: calc(100% + var(--baretti-card-gutter) + var(--baretti-card-gutter)) !important;
	align-self: stretch !important;
	flex: 0 0 auto !important;
	margin: 0 calc(0px - var(--baretti-card-gutter)) 22px !important;
	max-width: none !important;
	width: calc(100% + var(--baretti-card-gutter) + var(--baretti-card-gutter)) !important;
}

body.baretti-elementor-production .baretti-production-page :is(
	.card-media,
	.spare-hardware-media,
	.stock-card-image,
	.swivel-photo-wrap,
	.legacy-portrait-media
) > :is(.elementor-widget-image, .elementor-widget-image > .elementor-widget-container) {
	--width: 100% !important;
	align-self: stretch !important;
	max-width: 100% !important;
	width: 100% !important;
}

body.baretti-elementor-production .baretti-production-page :is(
	.card-media,
	.spare-hardware-media,
	.stock-card-image,
	.swivel-photo-wrap,
	.legacy-portrait-media
) img {
	display: block !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	width: 100% !important;
}

/* Editable timeline component for History and Legacy pages. */
body.baretti-elementor-production .baretti-production-page .reference-timeline {
	--display: grid !important;
	display: grid !important;
	gap: 0 !important;
	grid-template-columns: minmax(0, 1fr) !important;
	margin: 0 auto !important;
	max-width: 1120px !important;
	padding: 12px 0 4px !important;
	position: relative;
	width: 100% !important;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline::before {
	background: linear-gradient(180deg, #082640 0%, #ba1319 48%, #dce5ed 100%);
	border-radius: 999px;
	bottom: 0;
	content: "";
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 3px;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline > .reference-item {
	--display: grid !important;
	--width: 100% !important;
	align-items: start !important;
	display: grid !important;
	gap: clamp(20px, 3vw, 34px) !important;
	grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr) !important;
	padding: 0 0 34px !important;
	position: relative;
	width: 100% !important;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline .reference-year {
	--display: flex !important;
	--width: 104px !important;
	align-items: center !important;
	align-self: start !important;
	background: #ba1319 !important;
	border: 4px solid #fff !important;
	border-radius: 999px !important;
	box-shadow: 0 0 0 4px rgba(186, 19, 25, .16), 0 10px 24px rgba(8, 38, 64, .14) !important;
	color: #fff !important;
	display: flex !important;
	grid-column: 2 !important;
	grid-row: 1 !important;
	justify-content: center !important;
	min-height: 42px !important;
	padding: 8px 10px !important;
	position: relative;
	text-align: center !important;
	width: 104px !important;
	z-index: 2;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline .navy-milestone .reference-year {
	background: #082640 !important;
	box-shadow: 0 0 0 4px rgba(8, 38, 64, .14), 0 10px 24px rgba(8, 38, 64, .14) !important;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline .reference-year :is(p, span) {
	color: inherit !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	letter-spacing: .045em !important;
	line-height: 1.1 !important;
	margin: 0 !important;
	text-align: center !important;
	text-transform: uppercase !important;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline .reference-card {
	--width: auto !important;
	background: #fff !important;
	border: 1px solid #dfe7ef !important;
	border-radius: 16px !important;
	box-shadow: 0 16px 38px rgba(8, 38, 64, .09) !important;
	grid-column: 3 !important;
	grid-row: 1 !important;
	max-width: none !important;
	padding: clamp(22px, 3vw, 30px) !important;
	position: relative;
	text-align: left !important;
	width: auto !important;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline > .reference-item:nth-child(even) .reference-card {
	grid-column: 1 !important;
	text-align: right !important;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline .reference-card::before {
	background: #ba1319 !important;
	border: 3px solid #fff !important;
	border-radius: 999px !important;
	box-shadow: 0 0 0 4px rgba(186, 19, 25, .14) !important;
	content: "" !important;
	display: block !important;
	height: 14px !important;
	left: -42px !important;
	position: absolute !important;
	right: auto !important;
	top: 15px !important;
	width: 14px !important;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline > .reference-item:nth-child(even) .reference-card::before {
	left: auto !important;
	right: -42px !important;
}

body.baretti-elementor-production .baretti-production-page .reference-timeline .reference-card :is(h2, h3, h4, p, li) {
	text-align: inherit !important;
}

body.baretti-elementor-production .baretti-production-page .history-metrics {
	--display: grid !important;
	display: grid !important;
	gap: 14px !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	width: 100% !important;
}

/* FAQ cards retain the reference-site look and open their answers on demand. */
body.baretti-elementor-production .baretti-production-page .app-faq-grid {
	--display: grid !important;
	display: grid !important;
	gap: 16px !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	width: 100% !important;
}

body.baretti-elementor-production .baretti-production-page .app-faq-card {
	--display: flex !important;
	background: #fff !important;
	border: 1px solid #dfe7ef !important;
	border-radius: 14px !important;
	box-shadow: 0 12px 30px rgba(8, 38, 64, .07) !important;
	display: flex !important;
	flex-direction: column !important;
	height: auto !important;
	overflow: hidden !important;
	padding: 0 !important;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

body.baretti-elementor-production .baretti-production-page .app-faq-card:hover,
body.baretti-elementor-production .baretti-production-page .app-faq-card.is-open {
	border-color: rgba(186, 19, 25, .34) !important;
	box-shadow: 0 18px 40px rgba(8, 38, 64, .11) !important;
	transform: translateY(-2px);
}

body.baretti-elementor-production .baretti-production-page .app-faq-card > .elementor-widget-heading {
	--width: 100% !important;
	margin: 0 !important;
	width: 100% !important;
}

body.baretti-elementor-production .baretti-production-page .app-faq-card > .elementor-widget-heading > .elementor-widget-container {
	padding: 22px 24px !important;
}

body.baretti-elementor-production .baretti-production-page .app-faq-card > .elementor-widget-heading.baretti-faq-heading-ready > .elementor-widget-container {
	padding: 0 !important;
}

body.baretti-elementor-production .baretti-production-page .app-faq-card .elementor-heading-title {
	font-size: clamp(16px, 1.45vw, 19px) !important;
	line-height: 1.35 !important;
	margin: 0 !important;
}

.baretti-faq-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--ink);
	cursor: pointer;
	display: grid;
	font: inherit;
	font-weight: 800;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) 34px;
	padding: 22px 24px;
	text-align: left;
	width: 100%;
}

.baretti-faq-toggle:hover,
.baretti-faq-toggle:focus-visible {
	color: var(--red);
	outline: none;
}

.baretti-faq-toggle:focus-visible {
	box-shadow: inset 0 0 0 3px rgba(186, 19, 25, .18);
}

.baretti-faq-toggle__icon {
	align-items: center;
	background: #fff1f2;
	border: 1px solid rgba(186, 19, 25, .2);
	border-radius: 999px;
	color: var(--red);
	display: flex;
	font-size: 22px;
	font-weight: 500;
	height: 34px;
	justify-content: center;
	line-height: 1;
	transition: background .18s ease, color .18s ease, transform .18s ease;
	width: 34px;
}

.app-faq-card.is-open .baretti-faq-toggle__icon {
	background: var(--red);
	color: #fff;
	transform: rotate(180deg);
}

body.baretti-elementor-production .baretti-production-page .app-faq-card > :is(
	.baretti-faq-answer,
	.elementor-widget-text-editor:last-child
) {
	--width: 100% !important;
	border-top: 1px solid #edf2f6;
	color: var(--muted);
	padding: 20px 24px 24px !important;
	width: 100% !important;
}

body.baretti-elementor-production .baretti-production-page .app-faq-card > .baretti-faq-answer[hidden] {
	display: none !important;
}

body.baretti-elementor-production .baretti-production-page .app-faq-card > .baretti-faq-answer p {
	color: inherit !important;
	line-height: 1.65 !important;
	margin: 0 !important;
}

/* Elementor adds widget wrappers around the semantic source elements. */
.baretti-production-page .elementor-widget-heading.section-title,
.baretti-production-page .elementor-widget-heading.hero-display-title,
.baretti-production-page .elementor-widget-heading.page-title,
.baretti-production-page .elementor-widget-heading.card-title {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
}

.baretti-production-page .elementor-widget-heading.section-title > .elementor-widget-container > .elementor-heading-title,
.baretti-production-page .elementor-widget-heading.hero-display-title > .elementor-widget-container > .elementor-heading-title,
.baretti-production-page .elementor-widget-heading.page-title > .elementor-widget-container > .elementor-heading-title,
.baretti-production-page .elementor-widget-heading.card-title > .elementor-widget-container > .elementor-heading-title {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
}

.baretti-production-page .elementor-widget-text-editor > .elementor-widget-container > :first-child {
	margin-top: 0;
}

.baretti-production-page .elementor-widget-text-editor > .elementor-widget-container > :last-child {
	margin-bottom: 0;
}

.baretti-production-page .elementor-widget-image.card-media > .elementor-widget-container,
.baretti-production-page .elementor-widget-image.spare-hardware-media > .elementor-widget-container,
.baretti-production-page .elementor-widget-image.stock-card-image > .elementor-widget-container,
.baretti-production-page .elementor-widget-image.app-detail-image > .elementor-widget-container {
	height: 100%;
	width: 100%;
}

.baretti-production-page .elementor-widget-image.card-media img,
.baretti-production-page .elementor-widget-image.spare-hardware-media img,
.baretti-production-page .elementor-widget-image.stock-card-image img,
.baretti-production-page .elementor-widget-image.app-detail-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Requested white brand mark on card imagery, rendered non-destructively. */
.baretti-production-page :is(
	.baretti-card,
	.mini-card,
	.info-card,
	.sector-card,
	.feature-card,
	.service-card,
	.application-card,
	.stock-card,
	.spare-hardware-card,
	.certificate-card,
	.download-card,
	.career-card,
	.reference-card
) > :is(.elementor-widget-image, .card-media, .spare-hardware-media, .stock-card-image, .swivel-photo-wrap, .legacy-portrait-media) {
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.baretti-production-page :is(
	.baretti-card,
	.mini-card,
	.info-card,
	.sector-card,
	.feature-card,
	.service-card,
	.application-card,
	.stock-card,
	.spare-hardware-card,
	.certificate-card,
	.download-card,
	.career-card,
	.reference-card
) > :is(.elementor-widget-image, .card-media, .spare-hardware-media, .stock-card-image, .swivel-photo-wrap, .legacy-portrait-media)::after {
	background: url("logo-baretti-web.png") right bottom / contain no-repeat;
	bottom: 11px;
	content: "";
	filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, .42));
	height: 24px;
	opacity: .76;
	pointer-events: none;
	position: absolute;
	right: 12px;
	width: clamp(82px, 28%, 118px);
	z-index: 3;
}

/* A button class belongs to Elementor's widget wrapper; the visual button is nested. */
.baretti-elementor-production .elementor-widget-button.btn {
	align-self: flex-start;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: inline-flex !important;
	margin: 0;
	min-height: 0 !important;
	overflow: visible !important;
	padding: 0 !important;
	transform: none !important;
	width: auto !important;
}

.baretti-elementor-production .elementor-widget-button.btn .elementor-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 7px;
	display: inline-flex;
	font-family: var(--font);
	font-size: 12px;
	font-weight: 900;
	justify-content: center;
	letter-spacing: .015em;
	line-height: 1.2;
	min-height: 45px;
	padding: 14px 24px;
	text-transform: uppercase;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.baretti-elementor-production .elementor-widget-button.btn-red .elementor-button {
	background: var(--red);
	box-shadow: 0 10px 22px rgba(186, 19, 25, .24);
	color: #fff;
}

.baretti-elementor-production .elementor-widget-button.btn-red .elementor-button:hover,
.baretti-elementor-production .elementor-widget-button.btn-red .elementor-button:focus-visible {
	background: var(--red-dark);
	box-shadow: 0 16px 30px rgba(186, 19, 25, .27);
	transform: translateY(-2px);
}

.baretti-elementor-production .elementor-widget-button.btn-white .elementor-button {
	background: #fff;
	border-color: #e2e9f0;
	box-shadow: 0 10px 24px rgba(8, 34, 58, .12);
	color: var(--ink);
}

.baretti-elementor-production .elementor-widget-button.btn-white .elementor-button:hover,
.baretti-elementor-production .elementor-widget-button.btn-white .elementor-button:focus-visible {
	border-color: rgba(186, 19, 25, .36);
	color: var(--red);
	transform: translateY(-2px);
}

/* Link classes are duplicated on the wrapper and its editable anchor. */
.baretti-production-page .elementor-widget-text-editor.link-red,
.baretti-production-page .elementor-widget-text-editor.support-row {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: block !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	transform: none !important;
}

.baretti-production-page .elementor-widget-text-editor.link-red > .elementor-widget-container > a.link-red,
.baretti-production-page .elementor-widget-text-editor.support-row > .elementor-widget-container > a.support-row {
	width: 100%;
}

/* The source used JavaScript reveals and a slider; imported pages remain complete without it. */
.baretti-production-page .reveal {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

.baretti-production-page .home-hero-slider > .home-hero-scene:not(:first-child) {
	display: none !important;
}

.baretti-production-page .home-hero-slider > .home-hero-scene:first-child,
.baretti-production-page .home-hero-slider > .home-hero-scene:first-child > .e-con {
	min-height: clamp(620px, 72vh, 780px);
}

/* Editable global header, including dynamic WordPress menus. */
.baretti-global-header {
	background: #fff;
	box-shadow: 0 8px 24px rgba(8, 38, 64, .08);
	position: relative;
	z-index: 1000;
}

.baretti-global-header .baretti-topbar-html {
	align-self: stretch;
	margin: 0;
	width: 100%;
}

.baretti-global-header .baretti-topbar-html > .elementor-widget-container {
	width: 100%;
}

.baretti-global-header .baretti-icon-sprite {
	height: 0;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.baretti-global-header .p1-top {
	background: #ba1319;
	color: rgba(255, 255, 255, .92);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .01em;
	min-height: 35px;
	width: 100%;
}

.baretti-global-header .p1-top > .container {
	align-items: center;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	margin: 0 auto;
	max-width: 1240px;
	min-height: 35px;
	padding: 7px 24px;
	width: min(100%, 1240px);
}

.baretti-global-header .p1-top > .container > span,
.baretti-global-header .p1-top .right > span {
	align-items: center;
	color: inherit;
	display: inline-flex;
	white-space: nowrap;
}

.baretti-global-header .p1-top .center {
	justify-content: center;
	text-align: center;
}

.baretti-global-header .p1-top .right {
	display: flex;
	gap: 18px;
	justify-self: end;
}

.baretti-global-header .p1-top .ico {
	fill: none;
	flex: 0 0 auto;
	height: 14px;
	margin-right: 6px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	vertical-align: middle;
	width: 14px;
}

.baretti-global-header .baretti-header-main {
	--display: flex !important;
	background: #fff;
	display: flex !important;
	margin: 0 auto;
	max-width: 1240px;
	width: 100%;
}

.baretti-global-header .baretti-header-main > .e-con-inner {
	--display: grid !important;
	align-items: center !important;
	display: grid !important;
	gap: 24px !important;
	grid-template-columns: minmax(170px, 190px) minmax(0, 1fr) 44px !important;
	max-width: 100% !important;
	width: 100% !important;
}

.baretti-global-header.is-menu-sticky {
	box-shadow: none;
	padding-bottom: var(--baretti-menu-height, 84px);
}

.baretti-global-header.is-menu-sticky .baretti-header-main {
	box-shadow: 0 10px 28px rgba(8, 38, 64, .13);
	left: 0;
	margin: 0;
	max-width: none;
	padding-left: max(24px, calc((100vw - 1240px) / 2 + 24px)) !important;
	padding-right: max(24px, calc((100vw - 1240px) / 2 + 24px)) !important;
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 1001;
}

body.admin-bar .baretti-global-header.is-menu-sticky .baretti-header-main {
	top: 32px;
}

.baretti-global-header .baretti-editable-logo img {
	height: auto;
	max-width: 190px;
	width: 100%;
}

.baretti-global-header .elementor-nav-menu--main .elementor-item {
	color: var(--ink);
	font-size: 13px;
	font-weight: 800;
	min-height: 42px;
	padding: 11px 10px;
}

.baretti-global-header .elementor-nav-menu--main .elementor-item:hover,
.baretti-global-header .elementor-nav-menu--main .elementor-item:focus,
.baretti-global-header .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: var(--red);
}

.baretti-global-header .elementor-nav-menu--dropdown {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 0 0 12px 12px;
	box-shadow: 0 22px 55px rgba(8, 38, 64, .16);
	min-width: 260px !important;
	overflow: hidden;
	padding: 8px;
}

.baretti-global-header .elementor-nav-menu--dropdown .elementor-sub-item {
	border-radius: 6px;
	color: var(--ink);
	font-size: 12px;
	font-weight: 750;
	padding: 10px 12px;
}

.baretti-global-header .elementor-nav-menu--dropdown .elementor-sub-item:hover,
.baretti-global-header .elementor-nav-menu--dropdown .elementor-sub-item:focus,
.baretti-global-header .elementor-nav-menu--dropdown .elementor-sub-item.elementor-item-active {
	background: #fff1f2;
	color: var(--red);
}

.baretti-global-header .baretti-header-search .elementor-button {
	align-items: center;
	background: #f4f7fa !important;
	border: 1px solid #dbe4ec !important;
	border-radius: 999px;
	box-shadow: none !important;
	color: var(--ink) !important;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	min-height: 42px;
	padding: 0 !important;
	width: 42px;
}

.baretti-global-header .baretti-header-search .elementor-button:hover,
.baretti-global-header .baretti-header-search .elementor-button:focus-visible {
	background: var(--red) !important;
	border-color: var(--red) !important;
	color: #fff !important;
}

.baretti-global-header .baretti-header-search {
	--width: 44px !important;
	justify-self: start !important;
	max-width: 44px !important;
	width: 44px !important;
}

.baretti-global-header .baretti-header-search > .elementor-widget-container {
	align-items: center;
	display: flex;
	justify-content: flex-start;
}

.baretti-global-header .baretti-header-search .elementor-button-content-wrapper {
	align-items: center;
	display: flex;
	justify-content: center;
}

.baretti-global-header .baretti-search-icon {
	display: block;
	fill: none;
	height: 19px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 19px;
}

/* Dynamic WordPress menu rendered through Elementor Free shortcode widgets. */
.baretti-global-header .baretti-free-menu-widget {
	--width: auto !important;
	flex: 1 1 auto !important;
	justify-self: center !important;
	min-width: 0;
	width: auto !important;
}

.baretti-global-header .baretti-free-menu-widget > .elementor-widget-container {
	align-items: center;
	display: flex;
	justify-content: center;
	width: 100%;
}

.baretti-global-header .baretti-dynamic-menu > .baretti-menu-list {
	align-items: center;
	display: flex;
	gap: 4px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.baretti-global-header .baretti-dynamic-menu .menu-item {
	position: relative;
}

.baretti-global-header .baretti-dynamic-menu a {
	align-items: center;
	color: var(--ink);
	display: flex;
	font-size: 12px;
	font-weight: 800;
	min-height: 42px;
	padding: 10px 11px;
	position: relative;
	text-decoration: none;
}

.baretti-global-header .baretti-dynamic-menu > .baretti-menu-list > .menu-item > a::before {
	background: var(--red);
	bottom: 1px;
	content: "";
	height: 2px;
	left: 11px;
	opacity: 0;
	position: absolute;
	right: 11px;
	transform: scaleX(.35);
	transition: opacity .18s ease, transform .18s ease;
}

.baretti-global-header .baretti-dynamic-menu > .baretti-menu-list > .menu-item:hover > a::before,
.baretti-global-header .baretti-dynamic-menu > .baretti-menu-list > .current-menu-item > a::before,
.baretti-global-header .baretti-dynamic-menu > .baretti-menu-list > .current-menu-ancestor > a::before {
	opacity: 1;
	transform: scaleX(1);
}

.baretti-global-header .baretti-dynamic-menu > .baretti-menu-list > .menu-item-has-children > a::after {
	border-bottom: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	content: "";
	height: 5px;
	margin-left: 7px;
	margin-top: -3px;
	transform: rotate(45deg);
	width: 5px;
}

.baretti-global-header .baretti-dynamic-menu a:hover,
.baretti-global-header .baretti-dynamic-menu a:focus-visible,
.baretti-global-header .baretti-dynamic-menu .current-menu-item > a,
.baretti-global-header .baretti-dynamic-menu .current-menu-ancestor > a {
	color: var(--red);
}

.baretti-global-header .baretti-dynamic-menu .sub-menu {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 0 0 14px 14px;
	border-top: 3px solid var(--red);
	box-shadow: 0 22px 55px rgba(8, 38, 64, .16);
	display: none;
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 280px;
	padding: 10px;
	position: absolute;
	top: 100%;
	z-index: 100;
}

.baretti-global-header .baretti-dynamic-menu .sub-menu .sub-menu {
	left: 100%;
	top: -8px;
}

.baretti-global-header .baretti-dynamic-menu .menu-item:hover > .sub-menu,
.baretti-global-header .baretti-dynamic-menu .menu-item:focus-within > .sub-menu {
	display: block;
}

.baretti-global-header .baretti-dynamic-menu .sub-menu a {
	border-radius: 6px;
	font-size: 12px;
	min-height: 36px;
	padding: 9px 11px;
}

.baretti-global-header .baretti-theme-menu-toggle {
	display: none;
}

/* Fully editable global footer. */
.baretti-global-footer {
	background: #082640;
	color: rgba(255, 255, 255, .76);
}

.baretti-global-footer .baretti-footer-brand {
	--display: flex !important;
	align-items: flex-start;
	display: flex !important;
	margin: 0 auto;
	max-width: 1240px;
	padding-block: 42px 24px !important;
	width: 100%;
}

.baretti-global-footer .baretti-footer-brand > .e-con-inner {
	--display: grid !important;
	align-items: flex-start;
	display: grid !important;
	gap: clamp(22px, 3vw, 38px) !important;
	grid-template-columns: minmax(180px, .7fr) 1fr 1fr !important;
	max-width: 100% !important;
	width: 100% !important;
}

.baretti-global-footer .baretti-footer-brand > .e-con-inner > .elementor-widget {
	--width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	width: auto !important;
}

.baretti-global-footer .baretti-editable-logo img {
	filter: brightness(0) invert(1);
	max-width: 210px;
}

.baretti-global-footer .baretti-footer-address,
.baretti-global-footer .baretti-footer-address p {
	color: rgba(255, 255, 255, .76);
	font-size: 13px;
	line-height: 1.65;
	margin-top: 0;
}

.baretti-global-footer .baretti-footer-address strong {
	color: #fff;
	display: block;
	margin-bottom: 7px;
}

.baretti-global-footer .baretti-footer-address a {
	color: #fff;
}

.baretti-global-footer .baretti-footer-brand > .e-con-inner > .baretti-footer-address:nth-child(2),
.baretti-global-footer .baretti-footer-brand > .e-con-inner > :nth-child(2).baretti-footer-address {
	font-size: 14px;
	line-height: 1.65;
}

.baretti-global-footer .baretti-footer-brand > .e-con-inner > .baretti-footer-address:nth-child(2) strong,
.baretti-global-footer .baretti-footer-brand > .e-con-inner > :nth-child(2).baretti-footer-address strong {
	font-size: 17px;
	line-height: 1.25;
}

.baretti-global-footer .baretti-footer-brand > .e-con-inner > .baretti-footer-address:nth-child(3),
.baretti-global-footer .baretti-footer-brand > .e-con-inner > :nth-child(3).baretti-footer-address {
	align-self: start;
	font-size: 12px;
	justify-self: start;
	line-height: 1.6;
	text-align: left !important;
}

.baretti-global-footer .baretti-footer-brand > .e-con-inner > .baretti-footer-address:nth-child(3) strong,
.baretti-global-footer .baretti-footer-brand > .e-con-inner > :nth-child(3).baretti-footer-address strong {
	font-size: 13px;
	line-height: 1.3;
}

.baretti-global-footer .baretti-footer-grid {
	--display: flex !important;
	display: flex !important;
	margin: 0 auto;
	max-width: 1240px;
	padding-bottom: 32px !important;
	width: 100%;
}

.baretti-global-footer .baretti-footer-grid > .e-con-inner {
	--display: grid !important;
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	max-width: 100% !important;
	width: 100% !important;
}

.baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con {
	--flex-grow: 0 !important;
	--flex-shrink: 1 !important;
	--width: auto !important;
	flex: none !important;
	max-width: none !important;
	min-width: 0 !important;
	width: auto !important;
}

.baretti-global-footer h5 {
	color: #fff;
	font-size: 13px;
	letter-spacing: .015em;
	margin: 0 0 13px;
}

.baretti-global-footer .elementor-nav-menu--main .elementor-item {
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	line-height: 1.35;
	padding: 5px 0;
}

.baretti-global-footer .elementor-nav-menu--main .elementor-item:hover,
.baretti-global-footer .elementor-nav-menu--main .elementor-item:focus {
	color: #fff;
}

.baretti-global-footer .baretti-dynamic-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.baretti-global-footer .baretti-dynamic-menu .sub-menu {
	margin-top: 4px;
	padding-left: 10px;
}

.baretti-global-footer .baretti-dynamic-menu a {
	color: rgba(255, 255, 255, .72);
	display: block;
	font-size: 12px;
	line-height: 1.35;
	padding: 5px 0;
	text-decoration: none;
}

.baretti-global-footer .baretti-dynamic-menu a:hover,
.baretti-global-footer .baretti-dynamic-menu a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.baretti-global-footer .baretti-footer-legal {
	margin: 0 auto;
	max-width: 1240px;
	padding-block: 15px !important;
	width: 100%;
}

.baretti-global-footer .baretti-footer-legal p {
	color: rgba(255, 255, 255, .58);
	font-size: 11px;
	margin: 0;
}

/* Desktop footer follows the reference architecture: brand/contact at left,
 * five editable WordPress menus at right and the legal menu on the bottom row. */
@media (min-width: 1025px) {
	body.baretti-elementor-production .baretti-global-footer.e-con {
		--display: grid !important;
		align-items: start !important;
		column-gap: clamp(22px, 3vw, 38px) !important;
		display: grid !important;
		grid-template-columns: minmax(240px, 1.25fr) repeat(5, minmax(0, 1fr)) !important;
		padding: 48px max(24px, calc((100vw - 1240px) / 2)) 18px !important;
		row-gap: 28px !important;
		width: 100% !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-brand {
		--width: 100% !important;
		grid-column: 1 !important;
		grid-row: 1 !important;
		margin: 0 !important;
		max-width: none !important;
		padding: 0 !important;
		width: 100% !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-brand > .e-con-inner {
		gap: 18px !important;
		grid-template-columns: minmax(0, 1fr) !important;
		justify-items: start !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-brand > .e-con-inner > * {
		grid-column: 1 !important;
		justify-self: start !important;
		text-align: left !important;
		width: 100% !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-editable-logo,
	body.baretti-elementor-production .baretti-global-footer .baretti-editable-logo > .elementor-widget-container {
		justify-content: flex-start !important;
		text-align: left !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-editable-logo img {
		display: block !important;
		margin: 0 !important;
		max-width: 190px !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid,
	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner {
		--display: contents !important;
		display: contents !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con {
		--width: auto !important;
		align-self: start !important;
		display: flex !important;
		grid-row: 1 !important;
		margin: 0 !important;
		max-width: none !important;
		min-width: 0 !important;
		padding: 0 !important;
		width: auto !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(1) {
		grid-column: 2 !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(2) {
		grid-column: 3 !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(3) {
		grid-column: 4 !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(4) {
		grid-column: 5 !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(5) {
		grid-column: 6 !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(6) {
		align-self: center !important;
		grid-column: 6 !important;
		grid-row: 2 !important;
		justify-self: end !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-legal {
		--width: 100% !important;
		align-self: center !important;
		border-top: 1px solid rgba(255, 255, 255, .14) !important;
		grid-column: 1 / 6 !important;
		grid-row: 2 !important;
		margin: 0 !important;
		max-width: none !important;
		padding: 18px 0 0 !important;
		width: 100% !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(6) h5 {
		display: none !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(6) .baretti-dynamic-menu ul {
		display: flex !important;
		flex-wrap: wrap;
		gap: 18px;
		justify-content: flex-end;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(6) .baretti-dynamic-menu a {
		font-size: 11px;
		padding: 4px 0;
		white-space: nowrap;
	}
}

/* Search dialog matching the legacy interaction, backed by WordPress search. */
body.baretti-search-open {
	overflow: hidden;
}

.baretti-search-overlay[hidden] {
	display: none !important;
}

.baretti-search-overlay {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 24px;
	position: fixed;
	transition: opacity .18s ease;
	z-index: 99999;
}

.baretti-search-overlay.is-open {
	opacity: 1;
}

.baretti-search-overlay__backdrop {
	background: rgba(4, 18, 32, .76);
	inset: 0;
	position: absolute;
}

.baretti-search-dialog {
	align-items: stretch;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 90px rgba(4, 18, 32, .34);
	display: flex;
	flex-direction: column;
	max-height: min(760px, calc(100vh - 48px));
	max-width: 760px;
	min-height: min(700px, calc(100vh - 48px));
	opacity: 0;
	overflow: hidden;
	padding: clamp(28px, 5vw, 52px);
	position: relative;
	transform: translateY(18px) scale(.985);
	transition: opacity .18s ease, transform .18s ease;
	width: 100%;
	z-index: 1;
}

.baretti-search-overlay.is-open .baretti-search-dialog {
	opacity: 1;
	transform: none;
}

.baretti-search-dialog__close {
	align-items: center;
	background: #eef3f7;
	border: 0;
	border-radius: 999px;
	color: var(--ink);
	cursor: pointer;
	display: flex;
	font-size: 24px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 42px;
}

.baretti-search-dialog__close:hover,
.baretti-search-dialog__close:focus-visible {
	background: var(--red);
	color: #fff;
}

.baretti-search-dialog__kicker {
	color: var(--red);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.baretti-search-dialog h2 {
	color: var(--ink);
	font-size: clamp(28px, 4vw, 42px);
	margin: 0 48px 10px 0;
}

.baretti-search-dialog__intro {
	color: var(--muted);
	margin: 0 0 24px;
}

.baretti-search-dialog .baretti-live-search {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	margin: 0;
	max-width: none;
	min-height: 0;
	padding: 0;
	position: relative;
}

.baretti-search-dialog .baretti-live-search label,
.baretti-search-fallback label {
	color: var(--ink);
	display: block;
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 8px;
}

.baretti-search-dialog .baretti-live-search__row,
.baretti-search-fallback > div {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr auto;
}

.baretti-search-dialog input[type="search"],
.baretti-search-fallback input[type="search"] {
	background: #f5f8fb;
	border: 1px solid #dbe5ee;
	border-radius: 8px;
	color: var(--ink);
	font: 600 15px/1.3 var(--font);
	min-height: 52px;
	padding: 12px 16px;
	width: 100%;
}

.baretti-search-dialog button[type="submit"],
.baretti-search-fallback button[type="submit"] {
	background: var(--red);
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font: 850 12px/1 var(--font);
	padding: 0 22px;
	text-transform: uppercase;
}

.baretti-search-dialog .baretti-live-search__results {
	display: grid;
	flex: 1 1 auto;
	gap: 8px;
	margin-top: 18px;
	max-height: clamp(300px, 43vh, 420px) !important;
	min-height: 0;
	overflow-x: hidden !important;
	overflow-y: scroll !important;
	position: static !important;
	scrollbar-color: rgba(186, 19, 25, .58) #edf2f6;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
}

.baretti-search-dialog .baretti-live-search__results::-webkit-scrollbar {
	width: 9px;
}

.baretti-search-dialog .baretti-live-search__results::-webkit-scrollbar-track {
	background: #edf2f6;
	border-radius: 999px;
}

.baretti-search-dialog .baretti-live-search__results::-webkit-scrollbar-thumb {
	background: rgba(186, 19, 25, .62);
	border: 2px solid #edf2f6;
	border-radius: 999px;
}

.baretti-search-scroll-cue {
	align-items: center;
	align-self: center;
	background: var(--red);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 9px 24px rgba(8, 38, 64, .25);
	color: #fff;
	cursor: pointer;
	display: flex;
	flex: 0 0 auto;
	height: 38px;
	justify-content: center;
	margin: -19px auto 1px;
	position: relative;
	transition: opacity .18s ease, transform .18s ease;
	width: 38px;
	z-index: 4;
}

.baretti-search-scroll-cue[hidden] {
	display: none !important;
}

.baretti-search-scroll-cue:hover,
.baretti-search-scroll-cue:focus-visible {
	background: var(--red-dark);
	transform: translateY(2px);
}

.baretti-search-scroll-cue svg {
	fill: none;
	height: 18px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.2;
	width: 18px;
}

.baretti-search-dialog .baretti-live-search__result {
	background: #f6f8fb;
	border: 1px solid #e1e8ef;
	border-radius: 9px;
	color: var(--muted);
	display: grid;
	gap: 3px;
	padding: 12px 14px;
}

.baretti-search-dialog .baretti-live-search__result:hover,
.baretti-search-dialog .baretti-live-search__result:focus {
	border-color: rgba(186, 19, 25, .35);
}

.baretti-search-dialog .baretti-live-search__result strong {
	color: var(--ink);
}

.baretti-search-dialog .baretti-live-search__type {
	color: var(--red);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.baretti-search-dialog .baretti-live-search__status {
	font-size: 12px;
	margin: 10px 0 0;
}

.baretti-back-to-top {
	align-items: center;
	background: var(--red);
	border: 0;
	border-radius: 999px;
	bottom: 24px;
	box-shadow: 0 12px 30px rgba(8, 38, 64, .24);
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 46px;
	justify-content: center;
	left: 24px;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease, background .2s ease;
	width: 46px;
	z-index: 9990;
}

.baretti-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.baretti-back-to-top:hover,
.baretti-back-to-top:focus-visible {
	background: var(--red-dark);
}

.baretti-back-to-top svg {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 22px;
}

@media (max-width: 1024px) {
	.baretti-production-page :is(
		.content-grid,
		.hero-grid,
		.app-detail-grid,
		.ultrafine-two-col,
		.legacy-intro-grid,
		.legacy-message-grid,
		.lu-tech-intro-grid,
		.profile-top-grid
	) {
		grid-template-columns: 1fr !important;
	}

	.baretti-production-page :is(
		.cards-3,
		.cards-4,
		.metric-grid,
		.stat-grid,
		.feature-grid,
		.product-card-grid,
		.stock-grid
	) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.baretti-global-header .p1-top > .container {
		grid-template-columns: 1fr 1fr;
	}

	.baretti-global-header .p1-top > .container > .center {
		display: none !important;
	}

	.baretti-global-header .baretti-header-main > .e-con-inner {
		grid-template-columns: minmax(150px, 1fr) 44px 44px !important;
		gap: 12px !important;
	}

	.baretti-global-header .baretti-free-menu-widget {
		justify-self: end !important;
	}

	.baretti-global-header .elementor-menu-toggle {
		background: #eef3f7;
		border-radius: 8px;
		color: var(--ink);
	}

	.baretti-global-header .baretti-free-menu-widget > .elementor-widget-container {
		justify-content: flex-end;
	}

	.baretti-global-header .baretti-theme-menu-toggle {
		background: #eef3f7;
		border: 0;
		border-radius: 8px;
		display: block;
		height: 44px;
		padding: 10px;
		width: 44px;
	}

	.baretti-global-header .baretti-theme-menu-toggle > span:not(.screen-reader-text) {
		background: var(--ink);
		display: block;
		height: 2px;
		margin: 5px 0;
		width: 24px;
	}

	.baretti-global-header .baretti-dynamic-menu {
		background: #fff;
		border-top: 1px solid var(--line);
		box-shadow: 0 20px 32px rgba(8, 38, 64, .12);
		display: none;
		left: 0;
		max-height: calc(100vh - 110px);
		overflow: auto;
		padding: 14px 20px 20px;
		position: absolute;
		right: 0;
		top: 100%;
	}

	.baretti-global-header.is-navigation-open .baretti-dynamic-menu {
		display: block;
	}

	.baretti-global-header .baretti-dynamic-menu > .baretti-menu-list {
		align-items: stretch;
		display: block;
	}

	.baretti-global-header .baretti-dynamic-menu a {
		border-bottom: 1px solid #edf1f5;
		justify-content: space-between;
	}

	.baretti-global-header .baretti-dynamic-menu > .baretti-menu-list > .menu-item > a::before {
		display: none;
	}

	.baretti-global-header .baretti-dynamic-menu .sub-menu,
	.baretti-global-header .baretti-dynamic-menu .sub-menu .sub-menu {
		border: 0;
		border-radius: 0;
		box-shadow: none;
		display: block;
		left: auto;
		margin-left: 14px;
		min-width: 0;
		padding: 0;
		position: static;
	}

	.baretti-global-footer .baretti-footer-brand > .e-con-inner {
		grid-template-columns: 1fr 1fr;
	}

	.baretti-global-footer .baretti-footer-brand > .e-con-inner > :first-child {
		grid-column: 1 / -1;
	}

	.baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con {
		width: auto !important;
	}

	.baretti-global-footer .baretti-footer-grid > .e-con-inner {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 767px) {
	.baretti-elementor-production .container {
		width: min(calc(100% - 36px), var(--container));
	}

	.baretti-production-page .cards-2,
	.baretti-production-page .cards-3,
	.baretti-production-page .cards-4,
	.baretti-production-page .content-grid,
	.baretti-production-page .hero-grid,
	.baretti-production-page .metric-grid,
	.baretti-production-page .sector-grid,
	.baretti-production-page .sector-split {
		grid-template-columns: 1fr !important;
	}

	.baretti-production-page :is(
		.cards-2,
		.cards-3,
		.cards-4,
		.metric-grid,
		.sector-grid,
		.sector-split,
		.feature-grid,
		.product-card-grid,
		.stock-grid,
		.spare-hardware-grid,
		.app-route-grid,
		.app-area-route-grid,
		.app-feature-grid,
		.app-spec-grid,
		.certificate-download-grid,
		.principles,
		.stat-grid,
		.micro-cards,
		.future-grid,
		.company-award-grid,
		.technology-overview-cards,
		.product-route-cards,
		.profile-focus-grid,
		.content-grid,
		.hero-grid,
		.app-detail-grid,
		.ultrafine-two-col,
		.legacy-intro-grid,
		.legacy-message-grid,
		.lu-tech-intro-grid,
		.profile-top-grid
	) {
		grid-template-columns: 1fr !important;
	}

	.baretti-production-page .section {
		padding-block: 34px !important;
	}

	.baretti-production-page :is(.cta-strip, .project-proposal-cta) {
		align-items: flex-start;
		flex-direction: column !important;
	}

	.baretti-production-page .home-hero-slider > .home-hero-scene:first-child,
	.baretti-production-page .home-hero-slider > .home-hero-scene:first-child > .e-con {
		min-height: 600px;
	}

	.baretti-global-header .p1-top > .container {
		display: flex;
		justify-content: center;
		min-height: 34px;
		padding: 7px 16px;
		width: 100%;
	}

	.baretti-global-header .p1-top > .container > span:first-child {
		display: none;
	}

	.baretti-global-header .p1-top > .container > .center {
		display: none !important;
	}

	.baretti-global-header .p1-top .right {
		gap: 12px;
		justify-self: auto;
	}

	.baretti-global-header .baretti-header-main {
		min-height: 70px !important;
		padding: 8px 18px !important;
	}

	.baretti-global-header .baretti-header-main > .e-con-inner {
		grid-template-columns: minmax(140px, 1fr) 44px !important;
		gap: 10px !important;
	}

	.baretti-global-header.is-menu-sticky .baretti-header-main {
		padding-inline: 18px !important;
	}

	body.admin-bar .baretti-global-header.is-menu-sticky .baretti-header-main {
		top: 46px;
	}

	.baretti-global-header .baretti-editable-logo img {
		max-width: 150px;
	}

	.baretti-global-header .baretti-header-search {
		display: none !important;
	}

	.baretti-global-footer .baretti-footer-brand {
		padding: 44px 20px 28px !important;
	}

	.baretti-global-footer .baretti-footer-brand > .e-con-inner {
		gap: 24px;
		grid-template-columns: 1fr !important;
	}

	.baretti-global-footer .baretti-footer-brand > .e-con-inner > :first-child {
		grid-column: auto;
	}

	.baretti-global-footer .baretti-footer-grid {
		padding-inline: 20px !important;
	}

	.baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con {
		width: 100% !important;
	}

	.baretti-global-footer .baretti-footer-grid > .e-con-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.baretti-global-footer .baretti-footer-legal {
		padding-inline: 20px !important;
	}

	.baretti-search-overlay {
		padding: 12px;
	}

	.baretti-search-dialog {
		max-height: calc(100vh - 24px);
		min-height: calc(100vh - 24px);
		overflow: hidden;
		padding: 28px 20px;
	}

	.baretti-search-dialog .baretti-live-search__row,
	.baretti-search-fallback > div {
		grid-template-columns: 1fr;
	}

	.baretti-search-dialog button[type="submit"],
	.baretti-search-fallback button[type="submit"] {
		min-height: 46px;
	}

	.baretti-back-to-top {
		bottom: 18px;
		height: 44px;
		left: 18px;
		width: 44px;
	}
}

@media (max-width: 520px) {
	.baretti-global-footer .baretti-footer-grid > .e-con-inner {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 1024px) {
	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(6) {
		grid-column: 1 / -1 !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(6) h5 {
		display: none !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-footer-grid > .e-con-inner > .e-con:nth-child(6) .baretti-dynamic-menu ul {
		display: flex !important;
		flex-wrap: wrap;
		gap: 16px;
	}
}

@media (max-width: 767px) {
	body.baretti-elementor-production .baretti-global-header .baretti-header-main > .e-con-inner {
		grid-template-columns: minmax(132px, 1fr) 44px 42px !important;
	}

	body.baretti-elementor-production .baretti-global-header .baretti-editable-logo {
		grid-column: 1 !important;
	}

	body.baretti-elementor-production .baretti-global-header .baretti-free-menu-widget {
		grid-column: 2 !important;
		justify-self: end !important;
	}

	body.baretti-elementor-production .baretti-global-header .baretti-header-search {
		display: flex !important;
		grid-column: 3 !important;
		justify-self: end !important;
		max-width: 42px !important;
		width: 42px !important;
	}

	body.baretti-elementor-production .baretti-global-header .baretti-header-search .elementor-button {
		height: 40px;
		min-height: 40px;
		width: 40px;
	}

	body.baretti-elementor-production .baretti-production-page :is(
		.cta-strip,
		.project-proposal-cta,
		.app-final-cta-card,
		.marine-rfq-fullwidth,
		.brochure-download-banner
	) {
		--display: grid !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		padding: 26px 22px !important;
	}

	body.baretti-elementor-production .baretti-production-page :is(
		.cta-strip,
		.project-proposal-cta,
		.app-final-cta-card,
		.marine-rfq-fullwidth,
		.brochure-download-banner
	) > :is(.elementor-widget-button, .btn, .btn-white):last-child {
		justify-self: start !important;
	}

	body.baretti-elementor-production .baretti-production-page .reference-timeline {
		padding-left: 0 !important;
	}

	body.baretti-elementor-production .baretti-production-page .reference-timeline::before {
		left: 20px;
		transform: none;
	}

	body.baretti-elementor-production .baretti-production-page .reference-timeline > .reference-item {
		--display: block !important;
		display: block !important;
		padding: 0 0 28px 54px !important;
	}

	body.baretti-elementor-production .baretti-production-page .reference-timeline .reference-year {
		--width: auto !important;
		display: inline-flex !important;
		grid-column: auto !important;
		grid-row: auto !important;
		margin-bottom: 12px !important;
		min-width: 78px !important;
		width: auto !important;
	}

	body.baretti-elementor-production .baretti-production-page .reference-timeline .reference-card,
	body.baretti-elementor-production .baretti-production-page .reference-timeline > .reference-item:nth-child(even) .reference-card {
		grid-column: auto !important;
		grid-row: auto !important;
		text-align: left !important;
		width: 100% !important;
	}

	body.baretti-elementor-production .baretti-production-page .reference-timeline .reference-card::before,
	body.baretti-elementor-production .baretti-production-page .reference-timeline > .reference-item:nth-child(even) .reference-card::before {
		left: -41px !important;
		right: auto !important;
		top: 17px !important;
	}

	body.baretti-elementor-production .baretti-production-page .history-metrics,
	body.baretti-elementor-production .baretti-production-page .app-faq-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.baretti-elementor-production .baretti-global-footer .baretti-editable-logo,
	body.baretti-elementor-production .baretti-global-footer .baretti-editable-logo > .elementor-widget-container {
		justify-content: flex-start !important;
		text-align: left !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.baretti-elementor-production *,
	.baretti-elementor-production *::before,
	.baretti-elementor-production *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
