:root {
	--peretz-header-height: 104px;
	--peretz-project-nav-height: 62px;
}

body {
	color: #0c1b22;
	display: flex;
	flex-direction: column;
	font-family: "Open Sans", Arial, sans-serif;
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
}

body.admin-bar {
	min-height: calc(100vh - 32px);
	min-height: calc(100svh - 32px);
}

button,
input,
select,
textarea {
	font-family: "Open Sans", Arial, sans-serif;
}

body .elementor-widget,
body .elementor-heading-title {
	font-family: "Open Sans", Arial, sans-serif;
}

body a {
	color: #0a8ece;
}

body a:hover,
body a:focus-visible {
	color: #076f9f;
}

body [type="button"],
body [type="submit"],
body button {
	border-color: #0a8ece;
	color: #0a8ece;
}

body [type="button"]:hover,
body [type="button"]:focus,
body [type="submit"]:hover,
body [type="submit"]:focus,
body button:hover,
body button:focus {
	background-color: #0a8ece;
	color: #fff;
}

body.peretz-menu-open {
	overflow: hidden;
}

.peretz-site-header {
	align-items: center;
	background: rgba(255, 255, 255, .65);
	backdrop-filter: blur(13px);
	display: flex;
	height: var(--peretz-header-height);
	justify-content: center;
	left: 0;
	padding: 12px clamp(20px, 3vw, 56px);
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1000;
}
body:not(.home) .peretz-site-header{
border-bottom: 1px solid #dde2e4;
}

.admin-bar .peretz-site-header {
	top: 32px;
}

.peretz-site-header__brand {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	max-width: min(300px, 50vw);
	text-decoration: none;
}

.peretz-site-header__logo {
	display: block;
	height: 74px;
	max-width: 280px;
	object-fit: contain;
	width: auto;
}

.peretz-site-header__logo--source {
	height: 92px;
	max-width: 330px;
}

.peretz-site-header__wordmark {
	color: #0c1b22;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: clamp(26px, 3vw, 42px);
	white-space: nowrap;
}

.peretz-menu-toggle {
	background: transparent !important;
	border: 0;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 50px;
	justify-content: center;
	padding: 8px;
	position: absolute;
	right: clamp(20px, 3vw, 56px);
	top: 50%;
	transform: translateY(-50%);
	width: 58px;
	z-index: 1002;
}

.peretz-menu-toggle span {
	background: #0c1b22;
	display: block;
	height: 2px;
	transform-origin: center;
	transition: opacity .25s ease, transform .25s ease;
	width: 42px;
}

.peretz-menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(10px) rotate(45deg);
}

.peretz-menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.peretz-menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-10px) rotate(-45deg);
}

.peretz-menu-toggle:hover,
.peretz-menu-toggle:focus {
	background: transparent;
	border-color: transparent;
	color: inherit;
}

.peretz-overlay-menu {
	align-items: flex-start;
	background: rgba(255, 255, 255, .65);
	backdrop-filter: blur(18px);
	box-sizing: border-box;
	display: flex;
	inset: 0;
	opacity: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: calc(var(--peretz-header-height) + 26px) 24px 32px;
	pointer-events: none;
	position: fixed;
	transform: translateY(-18px);
	transition: opacity .25s ease, transform .25s ease;
	visibility: hidden;
	z-index: 999;
}

.peretz-overlay-menu[aria-hidden="false"] {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.admin-bar .peretz-overlay-menu {
	padding-top: calc(var(--peretz-header-height) + 58px);
}

.peretz-overlay-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.peretz-overlay-menu__nav {
	display: block;
	flex: 0 0 auto;
	margin-block: auto;
	width: 100%;
}

.peretz-overlay-menu__list li {
	margin: clamp(6px, 1.5vh, 12px) 0;
}

.peretz-overlay-menu__list a {
	color: #0c1b22;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: clamp(28px, min(5vw, 7vh), 68px);
	line-height: 1.15;
	text-decoration: none;
	transition: color .2s ease;
}

.peretz-overlay-menu__list a:hover,
.peretz-overlay-menu__list a:focus-visible {
	color: #0a8ece;
}

.peretz-home {
	overflow: hidden;
}

.peretz-hero {
	align-items: center;
	background-color: #122832;
	background-image: linear-gradient(130deg, #17333f, #07141a 70%);
	background-position: center;
	background-size: cover;
	display: flex;
	height: 100svh;
	justify-content: center;
	min-height: 620px;
	overflow: hidden;
	position: relative;
}

.peretz-hero::before {
	background: linear-gradient(120deg, transparent 48%, rgba(10, 142, 206, .18) 48% 58%, transparent 58%);
	content: "";
	inset: 0;
	position: absolute;
}

.peretz-hero__video {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.peretz-hero__shade {
	background: linear-gradient(180deg, rgba(5, 14, 18, .2), rgba(5, 14, 18, .57));
	inset: 0;
	position: absolute;
}

.peretz-hero__content {
	color: #fff;
	position: relative;
	text-align: center;
	z-index: 1;
}

.peretz-hero__content p {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .3em;
	margin: 0 0 14px;
}

.peretz-hero__content h1 {
	font-family: "Open Sans", Arial, sans-serif;
	font-size: clamp(48px, 8vw, 116px);
	font-weight: 400;
	line-height: .95;
	margin: 0;
}

.peretz-hero__scroll {
	bottom: max(34px, 6vh);
	color: #fff;
	font-size: 13px;
	left: 50%;
	position: absolute;
	text-decoration: none;
	transform: translateX(-50%);
	white-space: nowrap;
}

.peretz-hero__scroll span {
	display: block;
	font-size: 24px;
	margin-top: 7px;
}

.peretz-projects-archive,
.peretz-basic-page {
	padding-top: var(--peretz-header-height);
}

.peretz-single-project {
	padding-top: calc(var(--peretz-header-height) + var(--peretz-project-nav-height));
}

.peretz-elementor-page {
	padding: 0;
}

/*
 * WordPress fallbacks (404, search, blog, archives and regular posts) are
 * rendered by Hello Elementor as #content.site-main. Keep those templates
 * below the fixed site header as well.
 */
body:not(.home):not(.peretz-elementor-editing):not(.elementor-editor-active) #content.site-main {
	padding-top: var(--peretz-header-height);
}

/* Inner Elementor pages start after the fixed header. The home hero is intentionally behind it. */
body.elementor-page:not(.home):not(.peretz-elementor-editing) > .elementor {
	padding-top: var(--peretz-header-height);
}

body:not(.home):not(.peretz-elementor-editing):not(.elementor-editor-active) .peretz-elementor-page {
	padding-top: var(--peretz-header-height);
}

/* Keep the editing canvas clear even if Elementor enables edit mode after page load. */
body.elementor-editor-active .peretz-site-header,
body.elementor-editor-active .peretz-overlay-menu,
body.peretz-elementor-editing .peretz-site-header,
body.peretz-elementor-editing .peretz-overlay-menu {
	display: none !important;
}

body.elementor-editor-active > .elementor,
body.peretz-elementor-editing > .elementor,
body.elementor-editor-active .peretz-elementor-page,
body.peretz-elementor-editing .peretz-elementor-page {
	padding-top: 0 !important;
}

.peretz-elementor-hero {
	height: 100svh;
	min-height: 600px;
	overflow: hidden;
	position: relative;
}

.peretz-elementor-hero_,
.peretz-elementor-hero_ > .elementor-container {
	min-height: 100svh;
}

.peretz-elementor-hero > .elementor-container,
.peretz-elementor-hero > .e-con-inner,
.peretz-elementor-hero .elementor-column,
.peretz-elementor-hero .elementor-widget-wrap,
.peretz-elementor-hero .elementor-widget-html,
.peretz-elementor-hero .elementor-widget-container,
.peretz-video-frame {
	height: 100%;
	min-height: inherit;
}

.peretz-video-frame {
	background: #07141a;
	overflow: hidden;
	position: relative;
}

.peretz-video-frame iframe {
	border: 0;
	height: 56.25vw;
	left: 50%;
	min-height: 100%;
	min-width: 177.78vh;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100vw;
}

.peretz-elementor-projects,
.peretz-elementor-contact {
	margin: 0 !important;
	padding: 0 !important;
}

.peretz-elementor-projects > .elementor-container,
.peretz-elementor-projects > .e-con-inner,
.peretz-elementor-contact > .elementor-container,
.peretz-elementor-contact > .e-con-inner {
	max-width: none !important;
}

.peretz-project-nav {
	top: var(--peretz-header-height);
}

.admin-bar .peretz-project-nav {
	top: calc(var(--peretz-header-height) + 32px);
}

.peretz-contact-section {
	background: #fff;
	color: #0c1b22;
	padding: clamp(64px, 8vw, 120px) max(24px, calc((100vw - 1240px) / 2));
}

.peretz-elementor-contact {
	background: #fff;
	padding: clamp(64px, 8vw, 120px) max(24px, calc((100vw - 1000px) / 2)) !important;
}

.peretz-contact-section__form form,
.peretz-elementor-contact .wpcf7-form {
	margin: 0 auto;
	max-width: 1000px;
}

.peretz-form-grid {
	display: grid;
	gap: 22px 26px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.peretz-form-column {
	display: grid;
	gap: 22px;
	grid-template-rows: repeat(1, minmax(78px, auto));
}

.peretz-form-column > p {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.peretz-contact-section__form p,
.peretz-elementor-contact .wpcf7-form p,
.peretz-form-column br {
	margin: 0;
}

.peretz-form-column br {
	display: none;
}

.peretz-form-column input[type="submit"] {
	margin-top: 8px;
}

.peretz-contact-section__form label,
.peretz-elementor-contact .wpcf7-form label {
	color: #0c1b22;
	display: block;
	font-size: 13px;
}

.peretz-contact-section__form input:not([type="submit"]),
.peretz-elementor-contact input:not([type="submit"]) {
	background: #fff;
	border: 1px solid #0a8ece;
	border-radius: 7px;
	color: #0c1b22;
	font-size: 16px;
	margin-top: 8px;
	min-height: 50px;
	outline: none;
	padding: 10px 14px;
	width: 100%;
}

.peretz-contact-section__form input:focus,
.peretz-elementor-contact input:focus {
	box-shadow: 0 0 0 3px rgba(10, 142, 206, .15);
}

.peretz-contact-section__form input[type="submit"],
.peretz-elementor-contact input[type="submit"] {
	align-self: end;
	background: #0a8ece;
	border: 1px solid #0a8ece;
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	min-height: 48px;
	padding: 10px 30px;
	width: 100%;
}

.peretz-contact-section__form input[type="submit"]:hover,
.peretz-elementor-contact input[type="submit"]:hover {
	background: #0c1b22;
	border-color: #0c1b22;
	color: #fff;
}

.peretz-contact-section__form .wpcf7-spinner {
	display: none;
}

.peretz-contact-section__form .wpcf7-response-output {
	grid-column: 1 / -1;
	margin: 4px 0 0 !important;
}

.peretz-contact-section__form .wpcf7-form > p:last-of-type {
	grid-column: 1 / -1;
}

.peretz-elementor-contact .wpcf7-form > p:last-of-type,
.peretz-elementor-contact .wpcf7-response-output {
	grid-column: 1 / -1;
}

.peretz-site-footer {
	background: #eef3f5;
	color: #17262d;
	margin-top: auto;
	padding: clamp(48px, 6vw, 84px) max(24px, calc((100vw - 1240px) / 2)) 24px;
}

.peretz-site-footer__inner {
	display: flex;
	gap: 50px;
	justify-content: space-between;
}

.peretz-site-footer__contact {
	color: #465a64;
}

.peretz-site-footer__logo-wrap {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	height: 64px;
	justify-content: center;
	overflow: hidden;
	width: 170px;
}

.peretz-site-footer__logo {
	display: block;
	max-height: 64px;
	max-width: 170px;
	object-fit: contain;
	width: auto;
}

.peretz-site-footer__logo--source {
	height: 76px;
	max-width: 210px;
}

.peretz-site-footer__contact {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 34px;
}

.peretz-site-footer__contact a {
	color: #17262d;
	text-decoration: none;
}

.peretz-footer-contact {
	align-items: center;
	display: inline-flex;
	gap: 9px;
}

.peretz-footer-contact svg {
	fill: #0a8ece;
	flex: 0 0 22px;
	height: 22px;
	width: 22px;
}

.peretz-site-footer__bottom {
	border-top: 1px solid #cbd7dc;
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	margin-top: 48px;
	padding-top: 20px;
}

.peretz-site-footer__bottom a {
	color: #465a64;
}

.peretz-floating-contact {
	bottom: clamp(24px, 5vh, 54px);
	display: flex;
	flex-direction: column;
	gap: 12px;
	left: clamp(14px, 2vw, 30px);
	position: fixed;
	z-index: 850;
}

.peretz-floating-contact__button {
	align-items: center;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(12, 27, 34, .2);
	color: #fff !important;
	display: flex;
	height: 40px;
	width: 40px;
	justify-content: center;
	transition: box-shadow .2s ease, transform .2s ease;
}

.peretz-floating-contact__button:hover,
.peretz-floating-contact__button:focus-visible {
	box-shadow: 0 10px 28px rgba(12, 27, 34, .3);
	color: #fff;
	transform: translateY(-2px);
}

.peretz-floating-contact__button--phone {
	background: #0a8ece;
}

.peretz-floating-contact__button--whatsapp {
	background: #25d366;
}

.peretz-floating-contact__button svg {
	fill: currentColor;
	height: 20px;
	width: 20px;
}

body.elementor-editor-active .peretz-floating-contact,
body.peretz-elementor-editing .peretz-floating-contact {
	display: none;
}

.peretz-basic-page__content {
	margin: 0 auto;
	max-width: 960px;
	min-height: 280px;
	padding: clamp(54px, 7vw, 100px) 24px;
}

.rtl .wpcf7 input[type="url"], .rtl .wpcf7 input[type="email"], .rtl .wpcf7 input[type="tel"] {
    direction: rtl;
}
.peretz-contact-section__form h2 {
	text-align: center;
}







@media (max-width: 767px) {
	:root {
		--peretz-header-height: 82px;
	}

	.admin-bar .peretz-site-header {
		top: 46px;
	}

	body.admin-bar {
		min-height: calc(100vh - 46px);
		min-height: calc(100svh - 46px);
	}

	.admin-bar .peretz-overlay-menu {
		padding-top: calc(var(--peretz-header-height) + 72px);
	}

	.peretz-site-header {
		padding-inline: 16px;
	}

	.peretz-site-header__logo {
		height: 58px;
		max-width: 190px;
	}

	.peretz-menu-toggle {
		right: 14px;
		width: 48px;
	}

	.peretz-menu-toggle span {
		width: 34px;
	}

	.peretz-overlay-menu__list a {
		font-size: 36px;
	}

	.peretz-hero {
		min-height: 560px;
	}

	.admin-bar .peretz-project-nav {
		top: calc(var(--peretz-header-height) + 46px);
	}

	.peretz-contact-section {
		grid-template-columns: 1fr;
	}

	.peretz-form-grid {
		grid-template-columns: 1fr;
	}

	.peretz-site-footer__inner,
	.peretz-site-footer__bottom {
		flex-direction: column;
	}

	.peretz-site-footer__contact {
		text-align: right;
	}

	.peretz-floating-contact {
		bottom: 16px;
		gap: 9px;
		left: 12px;
	}

	.peretz-floating-contact__button {
		height: 50px;
		width: 50px;
	}
	.peretz-contact-section__form h2 {
	font-size: 18px;
}
}

@media (prefers-reduced-motion: reduce) {
	.peretz-overlay-menu,
	.peretz-menu-toggle span {
		transition: none;
	}
}

@media (max-height: 600px) {
	.peretz-overlay-menu {
		padding-top: calc(var(--peretz-header-height) + 14px);
	}

	.peretz-overlay-menu__list a {
		font-size: clamp(23px, 6vh, 38px);
	}

	.peretz-overlay-menu__list li {
		margin: 4px 0;
	}
}
