/* Landing page — no header/footer, matching lp.metapelet.co.il */

/* ===== BASE ===== */
body.mt-landing-page {
	margin: 0;
	padding: 0;
	background: #ffffff;
	direction: rtl;
	font-family: 'Open Sans', 'Assistant', Arial, sans-serif;
}

.mt-landing-page__wrapper {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
	overflow-x: hidden;
}

.mt-landing-page__wrapper .mt-main-content,
.mt-landing-page__wrapper .elementor {
	width: 100%;
	max-width: none;
}

.mt-landing-page .elementor-section.elementor-section-stretched {
	left: 0 !important;
	width: 100% !important;
}

/* ===== FORM SECTION — single row (flexbox) ===== */
/*
 * CF7 HTML structure (actual):
 * <form>
 *   <fieldset class="hidden-fields-container">…</fieldset>
 *   <p>
 *     <span class="wpcf7-form-control-wrap" data-name="your-name"><input …></span><br>
 *     <span class="wpcf7-form-control-wrap" data-name="your-tel"><input …></span><br>
 *     <span class="wpcf7-form-control-wrap" data-name="your-email"><input …></span><br>
 *     <span class="wpcf7-form-control-wrap" data-name="your-city"><input …></span><br>
 *     <input type="submit" value="חזרו אליי">
 *     <span class="wpcf7-spinner"></span>
 *   </p>
 * </form>
 */

/* Center wrapper */
body.mt-landing-page .wpcf7 {
	max-width: 900px;
	margin: 0 auto;
}

/* Reset form defaults */
body.mt-landing-page .wpcf7 form {
	margin: 0;
	padding: 0;
}

/* The single <p> holding all controls → flex row */
body.mt-landing-page .wpcf7 form > p {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 6px;
	margin: 0;
	padding: 0;
	direction: rtl;
}

/* Kill the <br> tags that force line breaks */
body.mt-landing-page .wpcf7 form > p > br {
	display: none;
}

/* Each field span: equal-width flex item */
body.mt-landing-page .wpcf7 form > p > .wpcf7-form-control-wrap {
	flex: 1 1 0;
	min-width: 0;
	display: block;
}

/* Inputs fill their parent span */
body.mt-landing-page .wpcf7 form > p > .wpcf7-form-control-wrap input[type="text"],
body.mt-landing-page .wpcf7 form > p > .wpcf7-form-control-wrap input[type="tel"],
body.mt-landing-page .wpcf7 form > p > .wpcf7-form-control-wrap input[type="email"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	height: 46px;
	padding: 0 14px;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	background: #ffffff;
	color: #333;
	text-align: right;
}

body.mt-landing-page .wpcf7 form > p > .wpcf7-form-control-wrap input::placeholder {
	color: #aaa;
	font-size: 14px;
}

/* Submit button — flex item, fixed width, yellow/orange */
body.mt-landing-page .wpcf7 form > p > input.wpcf7-submit {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 22px;
	background: #e8913a;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

body.mt-landing-page .wpcf7 form > p > input.wpcf7-submit:hover {
	background: #cf7e2e;
}

/* Hide spinner (inline after submit) */
body.mt-landing-page .wpcf7-spinner {
	display: none !important;
}

/* Response output below the form */
body.mt-landing-page .wpcf7-response-output {
	color: #fff;
	border-color: rgba(255,255,255,0.4);
	margin: 12px auto 0;
	max-width: 900px;
	text-align: center;
}

/* ===== TESTIMONIALS — circular image + consistent type ===== */
.mt-landing-page .elementor-testimonial-wrapper .elementor-testimonial-image img {
	border-radius: 50%;
	width: 180px !important;
	height: 180px !important;
	object-fit: cover;
}

.mt-landing-page .elementor-testimonial-content {
	font-size: 15px !important;
	line-height: 1.75 !important;
	color: #333;
}

.mt-landing-page .elementor-testimonial-name {
	font-size: 16px !important;
	line-height: 1.4 !important;
	font-weight: 700;
	color: #266698;
}

.mt-landing-page .elementor-testimonial-job {
	font-size: 13px !important;
	line-height: 1.4 !important;
}

/* ===== GALLERY ===== */
.mt-landing-page .gallery-item {
	border: 4px solid #fff;
	box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
	border-radius: 2px;
}

/* ===== BUTTONS ===== */
.mt-landing-page .elementor-button {
	font-size: 17px;
	font-weight: 700;
	min-width: 300px;
}

/* ===== ICON LIST (about contact) ===== */
.mt-landing-page .elementor-icon-list-item .elementor-icon-list-text {
	color: #ffffff;
}

/* ===== HIDE SITE-WIDE OVERLAYS ===== */
body.mt-landing-page .cky-consent-container,
body.mt-landing-page .cky-modal,
body.mt-landing-page #cookie-law-info-bar,
body.mt-landing-page .cli-bar-container,
body.mt-landing-page .pojo-a11y-toolbar-wrap {
	display: none !important;
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
	/* Form: 2-column grid */
	body.mt-landing-page .wpcf7 form > p {
		flex-wrap: wrap;
		gap: 8px;
	}

	/* Each field span: 2 per row */
	body.mt-landing-page .wpcf7 form > p > .wpcf7-form-control-wrap {
		flex: 0 0 calc(50% - 4px);
	}

	/* Submit: full width */
	body.mt-landing-page .wpcf7 form > p > input.wpcf7-submit {
		flex: 0 0 100%;
		width: 100%;
		height: 50px;
		font-size: 17px;
	}

	body.mt-landing-page .elementor-button {
		min-width: unset;
		width: 100%;
	}

	body.mt-landing-page .elementor-heading-title {
		font-size: 1.3rem;
	}

	/* Same type size for all testimonials (fixes Genet vs Rosa mismatch) */
	body.mt-landing-page .elementor-testimonial-content {
		font-size: 14px !important;
		line-height: 1.7 !important;
	}

	body.mt-landing-page .elementor-testimonial-name {
		font-size: 15px !important;
	}

	body.mt-landing-page .elementor-testimonial-job {
		font-size: 12px !important;
	}

	body.mt-landing-page .elementor-testimonial-wrapper .elementor-testimonial-image img {
		width: 140px !important;
		height: 140px !important;
	}
}
