/* Evora Enrich: fits Elementor's markup to the design.
 *
 * The home page, header and footer are Elementor containers and widgets that carry the
 * design's class names (Advanced > CSS Classes). This file covers the differences between
 * Elementor's markup and the design's: container spacing, wrapper elements, and the inner
 * tags of the Button, Image, Heading and Accordion widgets.
 *
 * Rules that set Elementor's own CSS variables (--padding-*, --gap, --flex-direction) use
 * the same specificity as Elementor's defaults, so anything you change in a widget's
 * Layout or Style tab still wins.
 */

/* ---------- Containers ---------- */
.ee-theme .e-con {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
	--container-max-width: none;
}
/* Rows in the design (Elementor stacks container content in a column by default) */
.ee-theme .e-con:is(.hero, .hero-grid, .hero-actions, .feat-head, .head, .ix-head, .proc-head, .foot-bottom, .bar-in) {
	--flex-direction: row; --container-widget-width: initial; --container-widget-flex-grow: 0;
}
@media (max-width: 900px) { .ee-theme .e-con:is(.ix-head, .proc-head) { --flex-direction: column; } }
@media (max-width: 560px) { .ee-theme .e-con.feat-head { --flex-direction: column; } }
.ee-theme .e-con .e-con { --width: auto; }
/* Containers that are plain blocks in the design */
.ee-theme .e-con:is(.wrap, .quality-main, .faq-side, .foot-brand, .foot-col, .qa-a) { display: block; }
.ee-theme .e-con.quality-side { display: block; }
@media (max-width: 1080px) { .ee-theme .e-con.quality-side { display: none; } }
.ee-theme .e-con.wrap { --width: 100%; }
.ee-theme .hero .e-con.wrap.hero-grid { display: flex; }

/* Widgets keep the design's text styles */
:where(.ee-theme) .elementor-heading-title { line-height: inherit; color: inherit; font-size: inherit; font-weight: inherit; }
:where(.ee-theme) .elementor-heading-title:where(h1, h2) { line-height: 1.08; font-weight: 500; }
:where(.ee-theme) .elementor-heading-title:where(h3) { font-weight: 500; }
:where(.ee-theme) .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Images fill their frame instead of sitting inline */
.ee-theme .elementor-widget-image img { display: block; }

/* ---------- Buttons: "ee-btn-gold" is the gold button, "ee-btn-line" the underlined link ---------- */
.ee-theme .ee-btn .elementor-button {
	padding: 0; border: 0; border-radius: 0; background: none; color: inherit; fill: currentColor;
	font: inherit; line-height: inherit; text-align: inherit; transition: none;
}
.ee-theme .ee-btn .elementor-button-content-wrapper { display: inline; }
.ee-theme .ee-btn-gold .elementor-button {
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 28px; border: 1px solid var(--gold); border-radius: var(--radius);
	background: var(--gold); color: var(--obsidian); font-size: var(--t-sm); font-weight: 500; line-height: 1.2; white-space: nowrap;
	transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 140ms var(--ease);
}
.ee-theme .ee-btn-gold .elementor-button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ivory); transform: translateY(101%); transition: transform 360ms var(--ease); }
.ee-theme .ee-btn-gold .elementor-button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
	.ee-theme .ee-btn-gold .elementor-button:hover { background: var(--gold); color: var(--obsidian); }
	.ee-theme .ee-btn-gold .elementor-button:hover::before { transform: none; }
}
/* The wrapper of a line link is only a frame; the link inside draws the underline */
.ee-theme .elementor-widget.hero-link { padding: 0; font-size: inherit; color: inherit; }
.ee-theme .elementor-widget.hero-link::after { content: none; }
.ee-theme .ee-btn-line .elementor-button { position: relative; display: inline-block; padding: 6px 0; font-size: var(--t-sm); color: var(--light); }
.ee-theme .ee-btn-line.ink-link .elementor-button { color: var(--ink); }
.ee-theme .ee-btn-line .elementor-button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .4; transform-origin: right; transition: transform var(--mid, 450ms) var(--ease), opacity var(--fast, 200ms); }
.ee-theme .ee-btn-line .elementor-button:hover::after { opacity: 1; animation: line var(--mid, 450ms) var(--ease); }
.ee-theme .elementor-widget.dark-link { margin-top: 40px; align-self: flex-start; }

/* ---------- The page slides over the sticky hero ---------- */
.ee-design-modern .ee-home .elementor > .e-con:not(.hero) { --position: relative; --z-index: 1; }
:where(.ee-design-modern .ee-home .elementor > .e-con:not(.hero)) { background-color: var(--ivory); }
.ee-design-modern .ee-home .elementor > .e-con.service { border-top: 0; border-radius: var(--r, 28px) var(--r, 28px) 0 0; box-shadow: 0 -40px 80px rgb(0 0 0 / .45); }

/* ---------- Hero ---------- */
.ee-theme .e-con.hero { --align-items: flex-end; }
@media (min-width: 821px) { .ee-theme .e-con.hero { --align-items: center; } }
.ee-theme .elementor .e-con > .elementor-widget.hero-media { max-width: none; }
.ee-theme .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 50%; }
.ee-theme .e-con.hero-grid { --justify-content: center; --align-items: flex-end; }
.ee-theme .e-con.hero-copy { --align-items: center; text-align: center; }
.ee-theme .e-con.hero-actions { --justify-content: center; --align-items: center; }
.ee-theme .elementor-widget.hero-logo-slot .elementor-spacer-inner { height: 0; }
.ee-theme .hero .elementor-widget.hero-sub p { margin: 0; }

/* Elementor caps widget width and clears bottom margins inside containers; these widgets need the design's values */
.ee-theme .elementor .e-con > .elementor-widget.hero-sub { max-width: 38ch; }
.ee-theme .elementor .e-con > .elementor-widget.step-lead { max-width: 46ch; }
.ee-theme .elementor .e-con > .elementor-widget.quality-intro { max-width: 52ch; margin-bottom: 48px; }
.ee-theme .elementor .e-con > .elementor-widget.hero-logo-slot { margin-bottom: 36px; }
.hero-logo-slot { --container-widget-width: clamp(220px, 24vw, 360px); }

/* ---------- Service ticker: the list shows plainly until the script turns it into a loop ---------- */
.ee-theme .service .elementor-widget.ticker-src ul { justify-content: center; flex-wrap: wrap; }

/* ---------- Product grid, filters and compound index sit in Shortcode widgets ---------- */
.ee-theme .elementor-shortcode { display: contents; }
.ee-theme .e-con > .elementor-widget-shortcode { --flex-shrink: 0; }
.ee-theme .e-con.head > .elementor-widget-heading { flex: 1 1 auto; }

/* ---------- Statement ---------- */
.ee-theme .e-con.mstate-in { display: block; }
.ee-theme .e-con.mstate-in::after { content: ''; display: block; width: 48px; height: 1px; margin: 0 auto 40px; background: var(--gold); transform: scaleX(0); transition: transform 800ms var(--m-ease, var(--ease)); order: -1; }
.ee-theme .e-con.mstate-in { display: flex; flex-direction: column; }
.ee-theme .mstate.m-in .e-con.mstate-in::after { transform: none; }

/* ---------- Lab certificates ---------- */
.ee-theme .e-con.quality { display: grid; }
.ee-theme .e-con.quality-side .elementor-widget.preview-img img { width: auto; max-width: 100%; max-height: min(calc(100svh - 200px), 700px); margin: 0 auto; }
.ee-theme .e-con.reports { display: block; }
.ee-theme a.e-con.report-row { display: grid; color: inherit; border-bottom: 1px solid var(--stone-line); }
.ee-theme .e-con.report-text { display: block; }
.ee-theme .report-row .report-text p { margin-top: 4px; font-size: var(--t-sm); color: var(--ink-soft); }
.ee-theme .report-row .elementor-widget.text-link { white-space: nowrap; }

/* ---------- Story ---------- */
.ee-theme .e-con.story { display: grid; }
.ee-theme .story-media .elementor-widget-image { position: static; }
.ee-theme .e-con.story-steps { display: block; }
.ee-theme .e-con.step-text { display: flex; }
.ee-theme .e-con.step-facts { display: grid; }
.ee-theme .step-facts .fact div { padding: 0; border: 0; }
.ee-theme .e-con.fact { display: block; padding: 18px 16px 0 0; }
.ee-theme .e-con.fact + .e-con.fact { padding-left: 16px; border-left: 1px solid var(--line-dark); }
.ee-theme .fact .fact-n .elementor-heading-title { font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem); line-height: 1; color: var(--light); font-variant-numeric: lining-nums; }
.ee-theme .fact .fact-l .elementor-heading-title { margin-top: 8px; font-size: var(--t-xs); line-height: 1.65; color: var(--light-soft); }

/* ---------- From order to your bench ---------- */
.ee-theme .e-con.proc { display: grid; }
.ee-theme .e-con.proc-step { display: grid; position: relative; gap: 12px; align-content: start; padding-top: 40px; }
.ee-theme .e-con.proc-step::after { content: ''; position: absolute; top: 0; left: 0; z-index: 1; width: 11px; height: 11px; border-radius: 50%; background: var(--stone); transition: background-color 400ms ease, transform 500ms var(--ease); }
.ee-theme .e-con.proc-step.on::after { background: var(--gold); transform: scale(1.3); }
.ee-theme .proc-step p { max-width: 30ch; color: var(--ink-soft); }
.ee-theme .proc-head .proc-live p { display: flex; align-items: center; gap: 10px; max-width: 36ch; }
@media (max-width: 900px) {
	.ee-theme .e-con.proc-step { padding-top: 0; }
	.ee-theme .e-con.proc-step::after { left: -32px; top: 6px; }
}

/* ---------- FAQ: Elementor's Accordion drawn as the design's question list ---------- */
.ee-theme .e-con.faq-in { display: grid; }
.ee-theme .faq-list .e-n-accordion { display: block; }
.ee-theme .faq-list .e-n-accordion-item { border: 0; border-bottom: 1px solid var(--stone-line); }
.ee-theme .faq-list .e-n-accordion-item-title {
	list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
	min-height: 60px; padding: 6px 0; border: 0; background: none; cursor: pointer;
	font-size: 1.0625rem; font-weight: 500; color: var(--ink);
}
.ee-theme .faq-list .e-n-accordion-item-title::-webkit-details-marker { display: none; }
.ee-theme .faq-list .e-n-accordion-item-title-header { flex: 1; }
.ee-theme .faq-list .e-n-accordion-item-title-text { font: inherit; color: inherit; }
.ee-theme .faq-list .e-n-accordion-item-title-icon { display: none; }
.ee-theme .faq-list .e-n-accordion-item-title::after { content: ''; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 12px no-repeat; transition: transform 250ms var(--ease); }
.ee-theme .faq-list .e-n-accordion-item[open] > .e-n-accordion-item-title::after { transform: rotate(45deg); }
.ee-theme .faq-list .e-n-accordion-item > .e-con { border: 0; padding: 0 0 22px; }
.ee-theme .faq-list .e-con.qa-a p { margin: 0 0 24px; max-width: 62ch; font-size: var(--t-sm); color: var(--ink); }
.ee-theme .faq-list .qa-a a { color: var(--gold-text); }

/* ---------- Header and footer built in Elementor (optional templates) ---------- */
.ee-theme .e-con.ee-el-bar { position: fixed; inset: 0 0 auto; z-index: 40; }
.ee-theme .e-con.bar-in { display: grid; }
.ee-theme .elementor-widget.logo { text-align: left; justify-self: start; }
.ee-theme .ee-el-bar .bar-nav .elementor-icon-list-items { display: flex; gap: 34px; justify-content: center; }
.ee-theme .ee-el-bar .bar-nav .elementor-icon-list-item { margin: 0; padding: 0; }
.ee-theme .ee-el-bar .bar-nav .elementor-icon-list-item::after { content: none; }
.ee-theme .ee-el-bar .bar-nav .elementor-icon-list-text { color: inherit; font-size: var(--t-sm); padding: 0; }
.ee-theme .ee-el-bar .bar-tools { justify-self: end; }
@media (max-width: 900px) { .ee-theme .ee-el-bar .bar-nav { display: none; } }

.ee-theme .e-con.foot-top { display: grid; }
.ee-theme .elementor-widget.foot-logo { text-align: left; }
.ee-theme .ee-el-foot .foot-brand p { margin-top: 20px; max-width: 32ch; }
.ee-theme .ee-el-foot .foot-col h2.elementor-heading-title { margin-bottom: 16px; font-family: var(--sans); font-size: var(--t-sm); font-weight: 500; line-height: 1.65; color: var(--light); }
.ee-theme .ee-el-foot .foot-links .elementor-icon-list-items { display: grid; gap: 10px; }
.ee-theme .ee-el-foot .foot-links .elementor-icon-list-item { margin: 0; padding: 0; }
.ee-theme .ee-el-foot .foot-links .elementor-icon-list-text { color: var(--light-soft); padding: 0; transition: color 200ms; }
.ee-theme .ee-el-foot .foot-links a:hover .elementor-icon-list-text { color: var(--light); }
.ee-theme .elementor .e-con > .elementor-widget.foot-ship { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 56px; padding: 20px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.ee-theme .ee-el-foot .foot-ship p { margin: 0; }
.ee-theme .ee-el-foot .foot-bottom p { margin: 0; max-width: 80ch; }

/* ---------- Quiet entrances for Elementor blocks marked "ee-reveal" ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .ee-reveal { opacity: 0; transform: translateY(16px); transition: opacity 460ms var(--ease), transform 600ms var(--ease); }
	.js .ee-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Editor: show everything that normally waits for the scroll ---------- */
.elementor-editor-active .ee-reveal, .elementor-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; }
.elementor-editor-active .e-con.hero { position: relative; }
.ee-theme .bar .elementor-widget.logo { transition: none; }
