/* Contact-us page */

/* Real Wix hero: "יצירת קשר" is the big gradient headline, the long sentence
   is a smaller plain subtitle beneath it — swap the shared legal-hero's
   default eyebrow/title styling for this page only. */
/* Match the ai-news hero's title size (see .legal-hero--news in
   page-legal.css) — same big gradient headline treatment, just applied to
   the short "יצירת קשר" instead of the eyebrow. */
.legal-hero--swap .legal-hero {
	min-height: 560px;
}

.legal-hero--swap .legal-hero__title {
	font-size: clamp(90px, 13vw, 150px);
	font-weight: 700;
	font-family: var(--font-accent);
	opacity: 1;
	margin: 0 0 8px;
	background: linear-gradient(90deg, #A5D9D0 0%, #5CC2EF 37.72%, #886CEA 66.67%, #595BA7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	filter: drop-shadow(1.41px 1.41px 2px rgba(0, 0, 0, .6));
}

.legal-hero--swap .legal-hero__eyebrow {
	font-size: clamp(20px, 2.6vw, 28px);
	font-weight: 400;
	max-width: 640px;
	margin-inline: auto;
	background: none;
	-webkit-background-clip: initial;
	background-clip: initial;
	-webkit-text-fill-color: initial;
	color: var(--color-bg);
	filter: none;
}

/* Real Wix layout has the form on the left and the image on the right —
   the opposite of plain RTL source-order flow, so the row is reversed
   while keeping the form first in the DOM (better reading/tab order). */
.contact-layout {
	max-width: var(--container-width);
	margin-inline: auto;
	padding: 56px 24px 90px;
	display: flex;
	flex-direction: row-reverse;
	gap: 50px;
	align-items: start;
}

.contact-form-wrap {
	flex: 1.1 1 0;
	min-width: 0;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(20, 20, 60, .08);
	padding: 36px;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.contact-form__field {
	display: block;
	margin-block-end: 18px;
}

.contact-form__field span {
	display: block;
	margin-block-end: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
}

.contact-form__field input,
.contact-form__field textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1.5px solid #e2e2ea;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-text);
	background: var(--color-bg);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
	outline: none;
	border-color: var(--color-teal);
}

/* Consent is a real required checkbox now, not a passive sentence, so it
   needs a label layout that keeps the box on the first line of the text. */
.contact-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	line-height: 1.6;
	color: #8a8a99;
	margin-block-end: 18px;
	cursor: pointer;
}

.contact-form__consent input {
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	margin: 2px 0 0;
	accent-color: var(--color-purple);
	cursor: pointer;
}

.contact-form__consent a {
	color: var(--color-teal);
	text-decoration: underline;
}

.contact-form__honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	opacity: 0;
	pointer-events: none;
}

.contact-form__success {
	padding: 18px 20px;
	background: var(--color-teal-light);
	color: var(--color-teal);
	border-radius: 10px;
	font-weight: 600;
}

.contact-form__error {
	padding: 14px 18px;
	background: #fde8ee;
	color: var(--color-pink);
	border-radius: 10px;
	margin-block-end: 18px;
	font-size: 14px;
}

.contact-sidebar {
	flex: .9 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.contact-sidebar__image {
	border-radius: 16px;
	overflow: hidden;
}

.contact-sidebar__image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Full-bleed Google Maps embed between the contact form/image row and the
   "דרכים נוספות ליצירת קשר" band. */
.contact-map {
	width: 100%;
	height: 460px;
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
}

/* "דרכים נוספות ליצירת קשר" band: full-bleed photo + purple-to-sky tint,
   the shared dai-torn-top SVG-mask edge on top, and a smooth rounded
   "hill" curve at the bottom (same border-radius/scale trick as
   .intro__wave) transitioning into the footer. */
.contact-methods {
	position: relative;
	overflow: hidden;
	background-color: var(--color-purple);
	background-size: cover;
	background-position: center;
	padding: 64px 24px 170px;
}

/* Matches the newsletter and workshop bands: tear in the page background
   colour, and extra head room so the 50px torn edge clears the title.
   The white here beats the Elementor kit's .elementor-kit-570 h2 colour,
   which otherwise wins over the inherited white on __inner. */
.contact-links-band {
	--dai-torn-color: var(--color-bg);
	padding-top: 96px;
}

.contact-links-band .contact-methods__title {
	color: #fff;
}

/* Smooth bell-curve silhouette: a single cubic-bezier path, low at the
   sides and rising to one peak in the middle, filled to match the footer
   it blends into. */
.contact-methods__wave {
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	width: 100%;
	height: 150px;
	z-index: 2;
	display: block;
}

.contact-methods__wave path {
	fill: var(--color-ink);
}

.contact-methods__inner {
	position: relative;
	z-index: 1;
	max-width: var(--container-width);
	margin-inline: auto;
	text-align: center;
	color: #fff;
}

.contact-methods__title {
	font-family: var(--font-accent);
	font-size: clamp(24px, 3.2vw, 32px);
	font-weight: 700;
	margin: 0 0 8px;
}

.contact-methods__subtitle {
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 400;
	margin: 0 0 24px;
	color: #e8e8f5;
}

.contact-methods__divider {
	width: 60px;
	height: 2px;
	background: #fff;
	opacity: .6;
	margin: 0 auto 40px;
}

.contact-methods__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 48px;
}

.contact-methods__info {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Each link is dir="ltr" and stretches to the width of the widest one, so
   flex-end pushes both to the right edge and the two icons line up. */
.contact-methods__link {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	color: #fff;
	font-size: 16px;
}

.contact-methods__link:hover {
	color: var(--color-teal-light);
}

/* Same 44px circle and 99% artwork fill as the header, so both sets of icons
   read as one treatment. */
.contact-methods__info .social-icon,
.contact-methods__icons .social-icon {
	flex-shrink: 0;
}

/* Same fix as .tools__grid in front-page.css: this repeater is meant to
   read left-to-right (1st icon leftmost) regardless of the page's RTL
   direction, so the grid's auto-placement is forced to LTR. */
.contact-methods__icons {
	display: grid;
	grid-template-columns: repeat(3, auto);
	gap: 18px;
	direction: ltr;
}

@media (max-width: 900px) {
	.contact-layout {
		flex-direction: column;
	}

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

	.contact-map {
		height: 320px;
	}
}
