/* Zen components — înlocuitori pentru JetElements / JetBlocks / JetTabs */

/* ===== Buton (fost jet-button, hover „effect-2”) ===== */
.zen-btn-wrap { display: flex; justify-content: var(--zb-align, flex-start); }
.zen-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	overflow: hidden; text-decoration: none !important; box-sizing: border-box;
	padding: var(--zb-pad, 14px 33px);
	border: var(--zb-bw, 0) var(--zb-bs, solid) var(--zb-bc, transparent);
	border-radius: var(--zb-r, 0);
	background: transparent;
	color: var(--zb-c, inherit) !important;
	font-family: var(--zb-ff, Montserrat), sans-serif; font-size: var(--zb-fs, 12px);
	font-weight: var(--zb-fw, 600); text-transform: var(--zb-tt, uppercase);
	line-height: var(--zb-lh, 1.4); letter-spacing: var(--zb-ls, .48px);
	transition: color .4s ease, border-color .4s ease, padding .4s ease;
	z-index: 0;
}
/* effect-2: planul normal pleacă în sus, planul de hover vine de jos */
.zen-btn::before, .zen-btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1; transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.zen-btn::before { background: var(--zb-bg, transparent); transform: translateY(0); }
.zen-btn::after { background: var(--zb-hbg, transparent); transform: translateY(100%); }
.zen-btn:hover, .zen-btn:focus-visible {
	color: var(--zb-hc, inherit) !important;
	border-color: var(--zb-hbc, var(--zb-bc, transparent));
	padding: var(--zb-hpad, var(--zb-pad, 14px 33px));
}
.zen-btn:hover::before, .zen-btn:focus-visible::before { transform: translateY(-100%); }
.zen-btn:hover::after, .zen-btn:focus-visible::after { transform: translateY(0); }
.zen-btn__icon { margin-right: 8px; font-size: 16px; line-height: 1; }

/* ===== Card flip (fost jet-animated-box, „Effect 3”) ===== */
.zen-flip {
	position: relative; perspective: 1000px; height: var(--zf-h, 339px);
	font-family: Montserrat, sans-serif;
}
.zen-flip__front, .zen-flip__back {
	position: absolute; inset: 0; box-sizing: border-box;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	transform-style: preserve-3d; overflow: hidden;
	padding: var(--zf-pad, 40px);
	border-radius: var(--zf-r, 2px);
}
.zen-flip__front {
	background: var(--zf-fbg, #fff); border: var(--zf-fbd, 1px solid #ecebf0);
	transform: rotateX(0deg) translateY(0) scale(1); z-index: 2;
	transition: .7s cubic-bezier(.11,.6,.24,.89);
}
.zen-flip__back {
	background: var(--zf-bbg, #ff9800); border: var(--zf-bbd, 1px solid transparent);
	transform: rotateX(-90deg) translateY(150%) scale(0); z-index: 1;
	transition: .5s cubic-bezier(.63,.07,.78,.55);
}
.zen-flip.is-flipped .zen-flip__front {
	transform: rotateX(90deg) translateY(-150%) scale(0); z-index: 1;
	transition: .5s cubic-bezier(.63,.07,.78,.55);
}
.zen-flip.is-flipped .zen-flip__back {
	transform: rotateX(0deg) translateY(0) scale(1); z-index: 2;
	transition: .7s cubic-bezier(.11,.6,.24,.89);
}
.zen-flip__icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: var(--zf-isz, 78px); height: var(--zf-isz, 78px); border-radius: 50%;
	font-size: var(--zf-ifs, 32px); margin: 0 0 var(--zf-imb, 34px);
	border-bottom: 4px solid transparent; box-sizing: border-box;
}
.zen-flip__front .zen-flip__icon { color: var(--zf-fic, #fff); background: var(--zf-fibg, #ff9800); }
.zen-flip__back .zen-flip__icon { color: var(--zf-bic, #ff9800); background: var(--zf-bibg, #fff); }
.zen-flip__title {
	margin: 0 0 var(--zf-tmb, 14px); padding: 0;
	font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 500; text-transform: uppercase;
	line-height: 1.444; letter-spacing: .36px;
}
.zen-flip__front .zen-flip__title { color: var(--zf-ftc, #1e1d24); }
.zen-flip__back .zen-flip__title { color: var(--zf-btc, #fff); }
.zen-flip__desc {
	margin: 0; font-family: Montserrat, sans-serif; font-size: var(--zf-dfs, 14px); font-weight: 300;
	line-height: 1.643; letter-spacing: 0;
}
.zen-flip__desc p { margin: 0; }
.zen-flip__front .zen-flip__desc { color: var(--zf-fdc, #79787f); }
.zen-flip__back .zen-flip__desc { color: var(--zf-bdc, #fff); }
.zen-flip__btn { margin-top: 20px; }

@media (max-width: 1024px) {
	.zen-flip { height: var(--zf-h-t, var(--zf-h, 290px)); }
	.zen-flip__front, .zen-flip__back { padding: var(--zf-pad-t, var(--zf-pad, 15px)); }
	.zen-flip__icon { margin-bottom: var(--zf-imb-t, 15px); }
	.zen-flip__title { margin-bottom: var(--zf-tmb-t, 10px); }
	.zen-flip__desc { font-size: var(--zf-dfs-t, 12px); }
}
@media (max-width: 767px) {
	.zen-flip { height: var(--zf-h-m, var(--zf-h-t, var(--zf-h, 258px))); }
}
@media (prefers-reduced-motion: reduce) {
	.zen-flip__front, .zen-flip__back, .zen-btn, .zen-btn::before, .zen-btn::after { transition: none !important; }
}

/* ===== Acordeon (fost jet-accordion) ===== */
.zen-acc { font-family: Montserrat, sans-serif; }
.zen-acc__item { margin-bottom: 8px; }
.zen-acc__head {
	display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 15px;
	margin: 0; padding: 23px 22px 25px 37px; cursor: pointer; text-align: left;
	background: #fff; border: 1px solid #e6e8e8; border-radius: 0;
	color: #2e2f33; font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 600;
	text-transform: uppercase; line-height: 1.4; letter-spacing: .84px;
	box-shadow: none; transition: color .3s;
}
.zen-acc__head:hover, .zen-acc__head:focus { background: #fff; color: #2e2f33; box-shadow: none; }
.zen-acc__icon { position: relative; flex: none; width: 16px; height: 16px; color: #2e2f33; transition: color .3s; }
.zen-acc__icon::before, .zen-acc__icon::after {
	content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
	width: 12px; height: 2px; transform: translate(-50%,-50%); transition: transform .3s;
}
.zen-acc__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.zen-acc__head:hover .zen-acc__icon { color: #ff9800; }
.zen-acc__item.is-open .zen-acc__icon { color: #ff9800; }
.zen-acc__item.is-open .zen-acc__icon::after { transform: translate(-50%,-50%) rotate(0deg); }
.zen-acc__body { background: #f5f6f6; padding: 29px 40px 8px; animation: zenFade .35s ease; }
.zen-acc__body[hidden] { display: none; }
@keyframes zenFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1024px) {
	.zen-acc__head { padding: 10px 10px 10px 15px; }
	.zen-acc__body { padding: 15px 15px 10px; }
}

/* ===== Text animat (fost jet-animated-text, efect „fx2”) ===== */
.zen-atext { font-family: Montserrat, sans-serif; font-size: 14px; color: #54595f; }
.zen-atext__words { position: relative; display: inline-block; vertical-align: top; color: #ffa000; font-weight: 700; }
.zen-atext__word { display: inline-block; white-space: nowrap; }
.zen-atext__word:not(.is-active) { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.zen-atext__char { display: inline-block; opacity: 0; transform: translateY(-.6em) rotateX(-90deg); transition: opacity .25s, transform .25s; }
.zen-atext__word.is-active .zen-atext__char { opacity: 1; transform: none; }
.zen-atext__word.is-leaving .zen-atext__char { opacity: 0; transform: translateY(.6em) rotateX(90deg); }

/* ===== Meniu (fost jet-nav-menu) ===== */
.zen-menu { font-family: Montserrat, sans-serif; position: relative; }
.zen-menu__list, .zen-menu__list ul { list-style: none; margin: 0; padding: 0; }
.zen-menu__list { display: flex; flex-wrap: wrap; align-items: stretch; }
.zen-menu__list > li { position: relative; }
.zen-menu__list a {
	display: flex; align-items: center; gap: 6px; text-decoration: none !important;
	padding: 22px 15px; color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; line-height: 1.4;
	transition: color .3s, background-color .3s;
}
.zen-menu__list > li > a:hover, .zen-menu__list > li:hover > a,
.zen-menu__list > li.current-menu-item > a, .zen-menu__list > li.current-menu-ancestor > a,
.zen-menu__list > li.current_page_item > a { background: #fff; color: #1e1d24; }
.zen-menu__list li.menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); margin-left: 4px;
}
.zen-menu__list .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 999; background: #fff;
	box-shadow: 0 6px 20px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.zen-menu__list .sub-menu .sub-menu { top: 0; left: 100%; }
.zen-menu__list li:hover > .sub-menu, .zen-menu__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.zen-menu__list .sub-menu a { padding: 12px 18px; color: #1e1d24; text-transform: none; font-size: 13px; font-weight: 500; }
.zen-menu__list .sub-menu a:hover, .zen-menu__list .sub-menu .current-menu-item > a { background: #ff9800; color: #fff; }
.zen-menu__toggle, .zen-menu__close { display: none; }

@media (max-width: 1024px) {
	.zen-menu__list a { padding: 22px 8px; }
}
@media (max-width: 767px) {
	.zen-menu { margin-top: 9px; }
	.zen-menu__toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 40px; height: 40px; padding: 0; border: 0; border-radius: 0; background: #1e1d24; color: #fff; cursor: pointer;
	}
	.zen-menu__burger, .zen-menu__burger::before, .zen-menu__burger::after {
		display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: "";
	}
	.zen-menu__burger::before { position: absolute; top: -7px; }
	.zen-menu__burger::after { position: absolute; top: 7px; }
	.zen-menu__panel {
		position: fixed; top: 0; left: 0; bottom: 0; width: 80%; max-width: 360px; z-index: 100000;
		background: #1e1d24; padding: 42px 0 0; overflow-y: auto; box-shadow: 0 0 30px rgba(0,0,0,.3);
		transform: translateX(-105%); transition: transform .35s ease;
	}
	.zen-menu.is-open .zen-menu__panel { transform: none; }
	.zen-menu__overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.35); }
	.zen-menu__close {
		display: block; position: absolute; top: 6px; right: 12px; border: 0; background: none;
		color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 4px;
	}
	.zen-menu__list { display: block; }
	.zen-menu__list a { padding: 15px; color: #fff; }
	.zen-menu__list > li > a:hover, .zen-menu__list > li.current-menu-item > a { background: #fff; color: #1e1d24; }
	.zen-menu__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		background: rgba(255,255,255,.06); display: none; min-width: 0;
	}
	.zen-menu__list li.is-sub-open > .sub-menu { display: block; }
	.zen-menu__list .sub-menu a { color: #fff; padding-left: 30px; }
}

/* ===== Căutare (fost jet-search, în popup) ===== */
.zen-search { display: flex; justify-content: flex-end; }
.zen-search__trigger {
	display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 0;
	background: transparent; color: #fff; padding: 10px 0 10px 6px; margin: 11px 0 13px; cursor: pointer; transition: color .3s;
}
.zen-search__trigger:hover, .zen-search__trigger:focus { background: transparent; color: #1e1d24; }
.zen-search__popup {
	position: absolute; left: 0; right: 0; top: 9px; z-index: 1000; display: flex; align-items: center; gap: 8px;
	background: #ff9800; padding: 0; animation: zenFade .25s ease;
}
.zen-search__popup[hidden] { display: none; }
.zen-search__form { position: relative; display: flex; flex: 1; align-items: center; margin: 0; }
.zen-search__field {
	flex: 1; width: 100%; border: 0; border-radius: 2px; box-shadow: none; background: #fff; color: #1e1d24;
	padding: 12px 44px 12px 18px; font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 500;
}
.zen-search__field::placeholder { color: #5f656d; }
.zen-search__submit {
	position: absolute; right: 0; top: 0; bottom: 0; border: 0; border-radius: 0; background: transparent;
	color: #1e1d24; padding: 10px 14px; cursor: pointer;
}
.zen-search__close {
	border: 0; background: transparent; color: #fff; font-size: 26px; line-height: 1; padding: 10px 8px; cursor: pointer;
}
.zen-search__close:hover { color: #1e1d24; background: transparent; }
@media (max-width: 767px) { .zen-search__field { padding: 11px 44px 11px 15px; } }

/* ===== Galerie masonry (fost jet-images-layout / jet-portfolio) — widget „Galerie de imagini” Elementor ===== */
.zen-gallery .gallery { display: block !important; column-gap: var(--zg-gap, 0px); margin: 0 !important; }
.zen-gallery .gallery-columns-1 { column-count: 1; } .zen-gallery .gallery-columns-2 { column-count: 2; }
.zen-gallery .gallery-columns-3 { column-count: 3; } .zen-gallery .gallery-columns-4 { column-count: 4; }
.zen-gallery .gallery-columns-5 { column-count: 5; } .zen-gallery .gallery-columns-6 { column-count: 6; }
.zen-gallery .gallery-item {
	display: inline-block !important; width: 100% !important; max-width: 100% !important;
	margin: 0 !important; padding: 0 !important; break-inside: avoid; position: relative; overflow: hidden; vertical-align: top;
}
.zen-gallery .gallery-icon a { display: block; position: relative; overflow: hidden; }
.zen-gallery .gallery-icon img { display: block; width: 100%; height: auto; border: 0 !important; transition: transform .6s ease; }
.zen-gallery .gallery-icon a::after {
	content: ""; position: absolute; inset: 0; background: rgba(255,152,0,.35); opacity: 0; transition: opacity .4s ease;
}
.zen-gallery .gallery-icon a:hover img { transform: scale(1.06); }
.zen-gallery .gallery-icon a:hover::after { opacity: 1; }
@media (max-width: 1024px) {
	.zen-gallery.zen-cols-t-1 .gallery { column-count: 1; } .zen-gallery.zen-cols-t-2 .gallery { column-count: 2; }
	.zen-gallery.zen-cols-t-3 .gallery { column-count: 3; }
}
@media (max-width: 767px) {
	.zen-gallery.zen-cols-m-1 .gallery { column-count: 1; } .zen-gallery.zen-cols-m-2 .gallery { column-count: 2; }
}

/* ===== Logo-uri parteneri / clienți (fost jet-brands) ===== */
.zen-logos .gallery { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0 !important; }
.zen-logos .gallery-item {
	flex: 0 0 25%; max-width: 25% !important; width: auto !important; margin: 0 !important; padding: 15px !important;
	box-sizing: border-box; text-align: center;
}
.zen-logos .gallery-columns-1 .gallery-item { flex-basis: 100%; max-width: 100% !important; }
.zen-logos .gallery-columns-2 .gallery-item { flex-basis: 50%; max-width: 50% !important; }
.zen-logos .gallery-columns-3 .gallery-item { flex-basis: 33.333%; max-width: 33.333% !important; }
.zen-logos .gallery-columns-5 .gallery-item { flex-basis: 20%; max-width: 20% !important; }
.zen-logos .gallery-columns-6 .gallery-item { flex-basis: 16.666%; max-width: 16.666% !important; }
.zen-logos .gallery-icon img { display: block; margin: 0 auto; width: auto; max-width: 100%; max-height: 140px; height: auto; border: 0 !important; object-fit: contain; }
@media (max-width: 1024px) {
	.zen-logos.zen-cols-t-2 .gallery .gallery-item { flex-basis: 50%; max-width: 50% !important; }
	.zen-logos.zen-cols-t-3 .gallery .gallery-item { flex-basis: 33.333%; max-width: 33.333% !important; }
}
@media (max-width: 767px) {
	.zen-logos.zen-cols-m-1 .gallery .gallery-item { flex-basis: 100%; max-width: 100% !important; }
	.zen-logos.zen-cols-m-2 .gallery .gallery-item { flex-basis: 50%; max-width: 50% !important; }
}

/* ===== Testimoniale (fost jet-testimonials) ===== */
.zen-testi { display: grid; grid-template-columns: repeat(var(--zt-cols, 3), minmax(0, 1fr)); gap: 40px; font-family: Montserrat, sans-serif; }
.zen-testi__item { margin: 0; padding: 29px; background: #f6f6f6; border-radius: 2px; display: flex; flex-direction: column; }
.zen-testi__comment { margin: 0 0 24px; padding: 0; border: 0; color: #79787f; font-size: 14px; font-weight: 400; font-style: normal; line-height: 1.7; }
.zen-testi__author { display: grid; grid-template-columns: 78px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; margin-top: auto; }
.zen-testi__img { grid-row: 1 / 3; width: 78px; height: 78px; border-radius: 50%; object-fit: cover; }
.zen-testi__name { color: #1e1d24; font-size: 16px; font-weight: 600; align-self: end; }
.zen-testi__pos { color: #ff9800; font-size: 14px; align-self: start; }
@media (max-width: 1024px) { .zen-testi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 767px) { .zen-testi { grid-template-columns: 1fr; } }
